/*
 *             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(_0x3a1758,_0x3057bd){'object'==typeof exports&&'undefined'!=typeof module?_0x3057bd(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x3057bd):_0x3057bd((_0x3a1758='undefined'!=typeof globalThis?globalThis:_0x3a1758||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x3a1758['CKEDITOR']);}(this,function(exports,ckeditor5){'use strict';const _0x31ef8f='_ungrouppedCommands';function _0x4ea9bc(_0xc39d64,_0x1bce43){const _0xe3aad8=(0x0,_0x1bce43['t'])('Other');return _0xc39d64['length']?'groupId'in _0xc39d64[0x0]?_0xc39d64:[{'groupId':_0x31ef8f,'groupLabel':_0xe3aad8,'order':0x1/0x0,'commands':_0xc39d64}]:[{'groupId':_0x31ef8f,'groupLabel':_0xe3aad8,'order':0x1/0x0,'commands':[]}];}const DomDataTransfer$1=globalThis['DataTransfer'],_0xa8aa7d='ai-ui';class AIAssistantEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41a515}=this,_0x11801a=['ck-fake-ai-selection'];_0x41a515['config']['get']('ai.assistant.useTheme')&&_0x11801a['push']('ck-ai-assistant-ui_theme'),_0x41a515['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xa8aa7d,'view':{'classes':_0x11801a,'priority':0xc}}),_0x41a515['conversion']['for']('editingDowncast')['markerToElement']({'model':_0xa8aa7d,'view':(_0x16fbe0,{writer:_0x1f95f5})=>{if(!_0x16fbe0['markerRange']['isCollapsed'])return null;const _0x269b2f=_0x1f95f5['createUIElement']('span');return _0x1f95f5['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x269b2f),_0x269b2f;}});}['afterInit'](){_0x1e9edf(this);}['showFakeVisualSelection'](){const _0x4fd501=this['editor']['model'];_0x4fd501['change'](_0x461cb2=>{const _0x58e553=_0x4fd501['document']['selection']['getRanges']();let _0x1743cc=0x0;for(const _0x4bfb69 of _0x58e553){const _0x1ab771=_0xa8aa7d+':'+_0x1743cc;if(_0x4fd501['markers']['has'](_0x1ab771))_0x461cb2['updateMarker'](_0x1ab771,{'range':_0x4bfb69});else{if(_0x4bfb69['start']['isAtEnd']){const _0x473cb4=_0x4bfb69['start']['getLastMatchingPosition'](({item:_0x608605})=>!_0x4fd501['schema']['isContent'](_0x608605),{'boundaries':_0x4bfb69});_0x461cb2['addMarker'](_0x1ab771,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x461cb2['createRange'](_0x473cb4,_0x4bfb69['end'])});}else _0x461cb2['addMarker'](_0x1ab771,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4bfb69});}_0x1743cc++;}});}['hideFakeVisualSelection'](){const _0x2457bd=this['editor']['model'],_0x433554=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0xa8aa7d));_0x433554['length']&&_0x2457bd['change'](_0x34e04f=>{_0x433554['forEach'](_0x3684ef=>{_0x34e04f['removeMarker'](_0x3684ef);});});}['insertContent'](_0x51e3f5,_0x134264){const _0xaddfd9=this['_getAISelection'](),_0x3efd12=_0x134264||_0xaddfd9['getFirstRange']();this['editor']['model']['canEditAt'](_0x3efd12)&&this['editor']['model']['change'](_0xc080c4=>{this['hideFakeVisualSelection'](),_0x134264||this['_resetContentOfSelectedTableCells'](_0xc080c4,_0xaddfd9),this['_pasteHTMLUsingClipboard']({'insertAt':_0x3efd12,'writer':_0xc080c4,'html':_0x51e3f5});});}['insertContentBelow'](_0x3b8c8a){const {model:_0xbe5ec9}=this['editor'],_0x434ffd=this['_getAISelection']();_0xbe5ec9['change'](()=>{const _0x43b106=this['_prepareTableInsertBelowPosition'](_0x3b8c8a,_0x434ffd)||this['_getDefaultInsertBelowPosition'](_0x434ffd);this['insertContent'](_0x3b8c8a,_0x43b106);});}['_getAISelection'](){const _0x2ea607=this['editor']['model'],_0x45489a=Array['from'](_0x2ea607['markers']['getMarkersGroup'](_0xa8aa7d))['map'](_0x26b04b=>_0x26b04b['getRange']());return _0x2ea607['createSelection'](_0x45489a);}['_pasteHTMLUsingClipboard']({writer:_0x33499c,html:_0x2dc772,insertAt:_0x12e7f3}){const {view:_0x1bf7c7}=this['editor']['editing'],_0x57714c=this['editor']['plugins']['get'](ckeditor5['ClipboardPipeline']),_0x4950e4=new DomDataTransfer$1();_0x4950e4['setData']('text/html',_0x2dc772);const _0x683e58=new ClipboardEvent('paste',{'clipboardData':_0x4950e4}),_0x462dd6=new ckeditor5['ViewDocumentDomEventData'](_0x1bf7c7,_0x683e58,{'dataTransfer':new ckeditor5['ViewDataTransfer'](_0x4950e4)});_0x33499c['setSelection'](_0x12e7f3);const _0xbbb0bb=(_0x4c458c,_0x136421)=>{_0x136421['resultRange']&&_0x33499c['setSelection'](_0x136421['resultRange']);};_0x57714c['once']('contentInsertion',_0xbbb0bb,{'priority':'lowest'}),_0x1bf7c7['document']['fire']('paste',_0x462dd6),_0x57714c['off']('contentInsertion',_0xbbb0bb);}['_getDefaultInsertBelowPosition'](_0x2bbc75){const {model:_0x1d8bee}=this['editor'],_0x5f10d9=Array['from'](_0x2bbc75['getSelectedBlocks']());return _0x5f10d9['length']?_0x1d8bee['createPositionAfter'](_0x5f10d9['pop']()):_0x2bbc75['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x4827c8,_0x2030ae){const {model:_0x17cfaf,plugins:_0xd1255f}=this['editor'];if(_0xd1255f['has']('TableUtils')){const _0x5acf08=_0xd1255f['get']('TableUtils')['getSelectedTableCells'](_0x2030ae);if(_0x5acf08['length']){const _0x4ff223=this['_getTableRowCountFromContent'](_0x4827c8),_0x424eb8=this['_createEmptyTableRows'](_0x5acf08,_0x4ff223);return _0x17cfaf['createPositionAt'](_0x424eb8,0x0);}}return null;}['_getTableRowCountFromContent'](_0xc3bafd){const _0x27c6be=this['editor']['plugins']['get']('TableUtils'),_0x546a53=this['editor']['data']['parse'](_0xc3bafd),_0x203042=Array['from'](_0x546a53['getChildren']())['filter'](_0x3b6c31=>_0x3b6c31['is']('element','table'));let _0x273721=0x0;return _0x203042['forEach'](_0x5ebc82=>{_0x273721+=_0x27c6be['getRows'](_0x5ebc82);}),_0x273721;}['_createEmptyTableRows'](_0x38bbfc,_0x3b28c3){const _0x3177b0=this['editor']['plugins']['get']('TableUtils'),_0x48e17b=_0x3177b0['getRowIndexes'](_0x38bbfc),_0x4fe2bc=_0x3177b0['getColumnIndexes'](_0x38bbfc),_0x1375c3=_0x48e17b['last']+0x1,_0xc210a7=_0x4fe2bc['first'],_0xdcf3e1=_0x38bbfc[0x0]['findAncestor']('table');for(let _0x3e53c8=0x0;_0x3e53c8<_0x3b28c3;_0x3e53c8++)_0x3177b0['insertRows'](_0xdcf3e1,{'at':_0x1375c3});return _0xdcf3e1['getChild'](_0x1375c3)['getChild'](_0xc210a7);}['_resetContentOfSelectedTableCells'](_0x45c60f,_0x58f399){const {plugins:_0x3ac47c}=this['editor'],{model:_0x540c27}=_0x45c60f;if(!_0x3ac47c['has']('TableUtils'))return;_0x3ac47c['get']('TableUtils')['getSelectedTableCells'](_0x58f399)['length']&&_0x540c27['deleteContent'](_0x58f399);}}async function _0x1e9edf(_0x35e930){const _0x3c4ea8=_0x15f682([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x3ac294=window[_0x15f682([0x44,0x61,0x74,0x65])][_0x15f682([0x6e,0x6f,0x77])](),_0xd2722e=_0x35e930[_0x15f682([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5f0f80=new window[(_0x15f682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b59c=>{_0xd2722e[_0x15f682([0x6f,0x6e,0x63,0x65])](_0x15f682([0x72,0x65,0x61,0x64,0x79]),_0x33b59c);}),_0x47f5c1={[_0x15f682([0x6b,0x74,0x79])]:_0x15f682([0x45,0x43]),[_0x15f682([0x75,0x73,0x65])]:_0x15f682([0x73,0x69,0x67]),[_0x15f682([0x63,0x72,0x76])]:_0x15f682([0x50,0x2d,0x32,0x35,0x36]),[_0x15f682([0x78])]:_0x15f682([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x15f682([0x79])]:_0x15f682([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x15f682([0x61,0x6c,0x67])]:_0x15f682([0x45,0x53,0x32,0x35,0x36])},_0x5563df=_0xd2722e[_0x15f682([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15f682([0x67,0x65,0x74])](_0x15f682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x53f232=await(async function(){let _0x1e93ad,_0x2bd5a5=null,_0x650588=null;try{if(_0x5563df==_0x15f682([0x47,0x50,0x4c]))return _0x15f682([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e93ad=(function(){const _0x14ab61=_0x5563df[_0x15f682([0x73,0x70,0x6c,0x69,0x74])](_0x15f682([0x2e]));if(0x3!=_0x14ab61[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4b955d=_0x14ab61[0x1];return _0x198ea9(_0x4b955d);function _0x198ea9(_0xb66bf5){const _0x243ee7=_0x443e92(_0xb66bf5);return _0x243ee7&&_0x3f2253()?_0x243ee7:null;function _0x3f2253(){const _0x57e01b=_0x243ee7[_0x15f682([0x6a,0x74,0x69])],_0x3f5380=window[_0x15f682([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57e01b[_0x15f682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57e01b[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x190ae1={..._0x243ee7,[_0x15f682([0x6a,0x74,0x69])]:_0x57e01b[_0x15f682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x57e01b[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x190ae1[_0x15f682([0x76,0x63])],_0x288e91(_0x190ae1)==_0x3f5380;}}}()),!_0x1e93ad)return _0x15f682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1e93ad[_0x15f682([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x650588=function(_0x491350,_0x42c3b6){return new window[(_0x15f682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ec658=>{if(_0xe110cb())return _0x3ec658(_0x15f682([0x56,0x61,0x6c,0x69,0x64]));_0x3fe0b0(),_0xd2722e[_0x15f682([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15f682([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58e2e8=!0x1;const _0x3dd8c2=ckeditor5['uid']();function _0x2adb2(_0x184a73){return!!_0x184a73&&(typeof _0x184a73===_0x15f682([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x184a73===_0x15f682([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x184a73[_0x15f682([0x74,0x68,0x65,0x6e])]===_0x15f682([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x184a73[_0x15f682([0x63,0x61,0x74,0x63,0x68])]===_0x15f682([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d86b3(_0x1b60a9){_0x3e7e74(_0x1b60a9)[_0x15f682([0x74,0x68,0x65,0x6e])](_0x3ac038=>{if(!_0x3ac038||_0x3ac038[_0x15f682([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15f682([0x6f,0x6b]))return _0x15f682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ae89b(_0x288e91(_0x3dd8c2+_0x42c3b6))!=_0x3ac038[_0x15f682([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15f682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15f682([0x56,0x61,0x6c,0x69,0x64]);})[_0x15f682([0x74,0x68,0x65,0x6e])](_0x5c23a4=>(_0x276383(),_0x5c23a4),()=>{const _0x499466=_0x25a126();return null==_0x499466?(_0x276383(),_0x15f682([0x56,0x61,0x6c,0x69,0x64])):_0x15f682(_0x3ac294-_0x499466>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15f682([0x74,0x68,0x65,0x6e])](_0x3ec658)[_0x15f682([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ec658(_0x15f682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x547059=0x36ee80;function _0x276383(){const _0x11a076=_0x15f682([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae89b(_0x288e91(_0x491350)),_0x458d32=_0x7f63ce(_0x5ae89b(window[_0x15f682([0x4d,0x61,0x74,0x68])][_0x15f682([0x63,0x65,0x69,0x6c])](_0x3ac294/_0x547059)));window[_0x15f682([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15f682([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11a076,_0x458d32);}function _0x25a126(){const _0x4e7372=_0x15f682([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae89b(_0x288e91(_0x491350)),_0x3fecbf=window[_0x15f682([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15f682([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e7372);return _0x3fecbf?window[_0x15f682([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7f63ce(_0x3fecbf),0x10)*_0x547059:null;}function _0x3e7e74(_0x4f3b24){return new window[(_0x15f682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9db084,_0x5c4809)=>{_0x4f3b24[_0x15f682([0x74,0x68,0x65,0x6e])](_0x9db084,_0x5c4809),window[_0x15f682([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c4809,0x1d4c0);});}}_0xd2722e[_0x15f682([0x6f,0x6e])](_0x15f682([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x560249,_0x298065)=>{if(_0x298065[0x0]!=_0x491350)return _0x3ec658(_0x15f682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x298065[0x1]={..._0x298065[0x1],[_0x15f682([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3dd8c2};},{[_0x15f682([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15f682([0x68,0x69,0x67,0x68])}),_0xd2722e[_0x15f682([0x6f,0x6e])](_0x15f682([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f1506=>{_0x2adb2(_0x4f1506[_0x15f682([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58e2e8=!0x0,_0x1d86b3(_0x4f1506[_0x15f682([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15f682([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15f682([0x6c,0x6f,0x77])}),_0x5f0f80[_0x15f682([0x74,0x68,0x65,0x6e])](()=>{_0x58e2e8||_0x3ec658(_0x15f682([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe110cb(){return _0xd2722e[_0x15f682([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15f682([0x76,0x69,0x65,0x77])][_0x15f682([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15f682([0x61,0x75,0x74,0x6f]);}function _0x3fe0b0(){_0xd2722e[_0x15f682([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15f682([0x76,0x69,0x65,0x77])][_0x15f682([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15f682([0x61,0x75,0x74,0x6f]);}}(_0x1e93ad[_0x15f682([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e93ad[_0x15f682([0x6a,0x74,0x69])]));const _0x35fd64=await(async function(){let _0x50ed1e=!0x0;try{const _0xf386f4=_0x5563df[_0x15f682([0x73,0x70,0x6c,0x69,0x74])](_0x15f682([0x2e])),[_0x3bfd9e,_0x283a4f,_0x3625f5]=_0xf386f4;return _0x3a8259(_0x3bfd9e),await _0x16d275(_0x3bfd9e,_0x283a4f,_0x3625f5),_0x50ed1e;}catch{return!0x1;}function _0x3a8259(_0x4c0b9d){const _0x9fbc70=_0x443e92(_0x4c0b9d);_0x9fbc70&&_0x9fbc70[_0x15f682([0x61,0x6c,0x67])]==_0x15f682([0x45,0x53,0x32,0x35,0x36])||(_0x50ed1e=!0x1);}async function _0x16d275(_0x2ec97b,_0x20e748,_0x471be4){const _0x5ca3f2=window[_0x15f682([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15f682([0x66,0x72,0x6f,0x6d])](_0x214065(_0x471be4),_0x444f72=>_0x444f72[_0x15f682([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x185bda=new window[(_0x15f682([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15f682([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ec97b+_0x15f682([0x2e])+_0x20e748),_0x35e71c=window[_0x15f682([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15f682([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35e71c)return;const _0x73eab5=await _0x35e71c[_0x15f682([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15f682([0x6a,0x77,0x6b]),_0x47f5c1,{[_0x15f682([0x6e,0x61,0x6d,0x65])]:_0x15f682([0x45,0x43,0x44,0x53,0x41]),[_0x15f682([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15f682([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15f682([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35e71c[_0x15f682([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15f682([0x6e,0x61,0x6d,0x65])]:_0x15f682([0x45,0x43,0x44,0x53,0x41]),[_0x15f682([0x68,0x61,0x73,0x68])]:{[_0x15f682([0x6e,0x61,0x6d,0x65])]:_0x15f682([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x73eab5,_0x5ca3f2,_0x185bda)||(_0x50ed1e=!0x1);}}());return _0x35fd64?(function(){const _0x82a99a=_0x1e93ad[_0x15f682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x82a99a)return!0x1;if(_0x82a99a[_0x15f682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15f682([0x2a])))return!0x0;if(_0x82a99a[_0x15f682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15f682([0x41,0x49])))return!0x0;return!0x1;}())?(function(){const _0x3a03d1=[_0x15f682([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15f682([0x74,0x72,0x69,0x61,0x6c])][_0x15f682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e93ad[_0x15f682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ac294/0x3e8:0x69b0b080;return _0x1e93ad[_0x15f682([0x65,0x78,0x70])]<_0x3a03d1;}())?_0x15f682([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0xcb6e9d=_0x1e93ad[_0x15f682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcb6e9d||0x0==_0xcb6e9d[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3248db}=new URL(window[_0x15f682([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xcb6e9d[_0x15f682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3248db))return!0x0;const _0x5df0f3=_0x3248db[_0x15f682([0x73,0x70,0x6c,0x69,0x74])](_0x15f682([0x2e]));return _0xcb6e9d[_0x15f682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x112861=>_0x112861[_0x15f682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15f682([0x2a])))[_0x15f682([0x6d,0x61,0x70])](_0x20f397=>_0x20f397[_0x15f682([0x73,0x70,0x6c,0x69,0x74])](_0x15f682([0x2e])))[_0x15f682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb5c709=>_0xb5c709[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5df0f3[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x15f682([0x6d,0x61,0x70])](_0xb32335=>Array(_0x5df0f3[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb32335[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x15f682([0x66,0x69,0x6c,0x6c])](_0xb32335[0x0]===_0x15f682([0x2a])?_0x15f682([0x2a]):'')[_0x15f682([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb32335))[_0x15f682([0x73,0x6f,0x6d,0x65])](_0x4cbd2a=>_0x5df0f3[_0x15f682([0x65,0x76,0x65,0x72,0x79])]((_0x54dacd,_0xfc7ded)=>_0x4cbd2a[_0xfc7ded]===_0x54dacd||_0x4cbd2a[_0xfc7ded]===_0x15f682([0x2a])));}())?(_0x1e93ad[_0x15f682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15f682([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bd5a5=function(_0x2211fb){const _0x489238=new window[(_0x15f682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcf0f3e=>setTimeout(_0xcf0f3e,0x93ecc)),_0x450ff2=_0x5f0f80[_0x15f682([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15f682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x314eea=>{let _0x4193f3=0x0;_0xd2722e[_0x15f682([0x6d,0x6f,0x64,0x65,0x6c])][_0x15f682([0x6f,0x6e])](_0x15f682([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x421d3f,_0x3f1230)=>{_0x3f1230[0x0][_0x15f682([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4193f3++,0x5e8==_0x4193f3&&(_0x314eea(),_0x421d3f[_0x15f682([0x6f,0x66,0x66])]());});})),_0x51b354=[_0x489238,_0x450ff2];return window[_0x15f682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15f682([0x72,0x61,0x63,0x65])](_0x51b354)[_0x15f682([0x74,0x68,0x65,0x6e])](()=>_0x2211fb);}(_0x15f682([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2bd5a5&&_0x650588)return new window[(_0x15f682([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4211b8,_0x18aa63)=>{_0x2bd5a5[_0x15f682([0x74,0x68,0x65,0x6e])](_0x4211b8,_0x18aa63),_0x650588[_0x15f682([0x74,0x68,0x65,0x6e])](_0x2b01be=>{_0x2b01be!=_0x15f682([0x56,0x61,0x6c,0x69,0x64])&&_0x4211b8(_0x2b01be);},_0x18aa63);});return _0x2bd5a5||_0x650588||_0x15f682([0x56,0x61,0x6c,0x69,0x64]);}())):_0x15f682([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15f682([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15f682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x15f682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x443e92(_0x4389f7){return _0x4389f7[_0x15f682([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15f682([0x65,0x79]))?JSON[_0x15f682([0x70,0x61,0x72,0x73,0x65])](_0x214065(_0x4389f7)):null;}function _0x214065(_0x1dce79){return window[_0x15f682([0x61,0x74,0x6f,0x62])](_0x1dce79[_0x15f682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15f682([0x2b]))[_0x15f682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15f682([0x2f])));}function _0x288e91(_0x1eccb8){let _0x24a9ea=0x1505;function _0x58ab78(_0x44d70a){for(let _0x48acaa=0x0;_0x48acaa<_0x44d70a[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48acaa++){const _0x28c0c2=_0x44d70a[_0x15f682([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48acaa);_0x24a9ea=(_0x24a9ea<<0x5)+_0x24a9ea+_0x28c0c2,_0x24a9ea&=_0x24a9ea;}}return function _0x10269f(_0x300277){Array[_0x15f682([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x300277)?_0x300277[_0x15f682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10269f):_0x300277&&typeof _0x300277==_0x15f682([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15f682([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x300277)[_0x15f682([0x73,0x6f,0x72,0x74])]()[_0x15f682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x467f65,_0x819bb0])=>{_0x58ab78(_0x467f65),_0x10269f(_0x819bb0);}):_0x58ab78(window[_0x15f682([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x300277));}(_0x1eccb8),_0x24a9ea>>>0x0;}function _0x5ae89b(_0x3dd34d){return _0x3dd34d[_0x15f682([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15f682([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15f682([0x30]));}function _0x7f63ce(_0x340028){return _0x340028[_0x15f682([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15f682([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15f682([0x6a,0x6f,0x69,0x6e])]('');}function _0x3354ef(){}function _0x15f682(_0x3be97f){return _0x3be97f['map'](_0x365b80=>String['fromCharCode'](_0x365b80))['join']('');}!function(_0xd29c99){const _0x3862ba=(function(){const _0x355006=window[_0x15f682([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15f682([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15f682([0x6e,0x6f,0x77])]())[_0x15f682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15f682([0x2e]),'');let _0x11962c=_0x15f682([0x6e]);for(let _0x18ae48=0x0;_0x18ae48<_0x355006[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18ae48+=0x2){let _0x4f67fd=window[_0x15f682([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x355006[_0x15f682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18ae48,_0x18ae48+0x2));_0x4f67fd>=_0x3c4ea8[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f67fd-=_0x3c4ea8[_0x15f682([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11962c+=_0x3c4ea8[_0x4f67fd];}return _0x11962c;}());_0xd2722e[_0x3862ba]=_0x15f682([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd29c99,_0xd29c99!=_0x15f682([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5f0f80,_0xd2722e[_0x15f682([0x6d,0x6f,0x64,0x65,0x6c])][_0x15f682([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3354ef,_0xd2722e[_0x15f682([0x6d,0x6f,0x64,0x65,0x6c])][_0x15f682([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3354ef,_0xd2722e[_0x15f682([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15f682([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x53f232);}class AIAdapter extends ckeditor5['Plugin']{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new ckeditor5['CKEditorError']('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x248ab9){super(_0x248ab9),this['name']='AIRequestError';}}function getTranslation$j(_0xee1bda,_0x4ba30a,_0x1a586a){const t=_0xee1bda['t'];switch(_0x4ba30a){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',_0x1a586a);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1a586a);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'},_0x1a586a);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_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x4ba30a;}}class ShowAIAssistantCommand extends ckeditor5['Command']{['_commandDefinitions'];constructor(_0x336a7e,_0xbe1727){super(_0x336a7e),this['_commandDefinitions']=_0xbe1727,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x3a2ebf,_0x23753b,_0x58fa06)=>{this['isEnabled']&&(this['enabledCommandsIds']=_getEnabledCommands(this['_commandDefinitions'],_0x58fa06));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0xfb228c,_0x4980ad,_0x59992a)=>{this['enabledCommandsIds']=_0x59992a?_getEnabledCommands(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x2a0d42=this['editor']['model'];this['_hasContext']=_isContextAvailable(_0x2a0d42);const _0x41e877=_0x2a0d42['document']['selection'],_0x555ef3=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x865e92 of _0x41e877['getRanges']())for(const _0x187da8 of _0x865e92['getItems']())if(_0x187da8['is']('element')&&_0x555ef3['includes'](_0x187da8['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x447448='',_0x581592='',_0x38988c='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x447448,_0x581592,_0x38988c);}}function _isContextAvailable(_0x28a9af){const _0x3d0375=_0x28a9af['document']['selection'];return _0x3d0375['isCollapsed']?0x0!==[..._0x3d0375['getSelectedBlocks']()]['length']&&![..._0x3d0375['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x28a9af['hasContent'](_0x3d0375['getFirstRange']());}function _getEnabledCommands(_0x74b7a3,_0x35a28c){const _0x152f80=new Set();for(const _0x21c729 of _0x74b7a3['values']())(_0x35a28c||!0x1===_0x21c729['requiresContent'])&&_0x152f80['add'](_0x21c729['id']);return Array['from'](_0x152f80);}const _0x79db78=0x64,_0x2a1e10=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x54085e,_0x37cab4,_0x712b08){super(),this['editor']=_0x54085e,this['textAdapter']=_0x37cab4,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x712b08,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x271758,_0x1fe270,_0x1e22ef)=>{this['view']['value']=this['_sanitizeHTML'](_0x1e22ef);}),this['listenTo'](this['view'],'submitPrompt',(_0x38d01c,_0x53de44)=>{const _0xab2560=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x53de44,_0xab2560,'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:_0x29693e,query:_0x4e90b5,htmlContent:_0x474418,label:_0x21f3a4,mainActionLabel:_0xa82d0c}){this['view']['prompt']=_0x21f3a4,this['view']['mainAction']=_0xa82d0c,this['initialContext']=_0x474418,_0x4e90b5&&(this['view']['isRendered']?this['_handleQuery'](_0x4e90b5,_0x474418,_0x29693e,_0x21f3a4):this['view']['once']('render',()=>{this['_handleQuery'](_0x4e90b5,_0x474418,_0x29693e,_0x21f3a4);}));}['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'](_0x5e9797,_0x5a20b5,_0x5a3a57,_0x139702){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x5a20b5,this['previousQuery']=_0x5e9797,this['previousLabel']=_0x139702||_0x5e9797,this['previousActionId']=_0x5a3a57,new Promise(_0x1eacd3=>{this['textAdapter']['makeRequest']({'query':_0x5e9797,'context':_0x5a20b5,'onData':_0x38b013=>{this['currentResponse']=_0x38b013,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x5a3a57})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x20c4dd=>{_0x20c4dd instanceof AIRequestError?this['view']['handleError'](_0x20c4dd['message']):this['view']['handleError'](),_0x1eacd3();})['finally'](()=>{this['stopProcessing'](),_0x1eacd3();});});}['_parseAndNormalizeContent'](_0x1a5041,_0x400ddd=!0x1){const _0x54f654=_0x2a1e10['exec'](_0x1a5041);_0x1a5041=_0x54f654?_0x1a5041['substring'](_0x54f654[0x1]['length']):_0x1a5041['length']<_0x79db78&&!_0x400ddd?'':this['_stripMarkdownSyntax'](_0x1a5041);const _0x4b93b3=this['_domParser']['parseFromString'](_0x1a5041,'text/html');if(_0x54f654){const _0x1725bc=Array['from'](_0x4b93b3['body']['childNodes']);_0x1725bc['reverse']();for(const _0x49bc94 of _0x1725bc){if(_0x49bc94['nodeType']==Node['ELEMENT_NODE'])break;_0x49bc94['remove']();}}const _0x36120c=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x4b93b3['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x36120c);const _0x380fc7=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x482c16=this['editor']['data']['toModel'](_0x36120c);return _0x380fc7||_0x482c16['markers']['clear'](),this['editor']['data']['stringify'](_0x482c16);}['_normalizeResponseHeadings'](_0x5cc0c9){const _0x1df30f=new ckeditor5['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x37f1eb=new ckeditor5['Matcher']({'name':/^h[1-5]$/}),_0x10e363=[];let _0x462937=!0x1;for(const _0x872352 of _0x5cc0c9)_0x872352['is']('element')&&_0x37f1eb['match'](_0x872352)&&(_0x10e363['push'](_0x872352),'h1'==_0x872352['name']&&(_0x462937=!0x0));if(_0x462937){for(const _0x167839 of _0x10e363)_0x1df30f['rename']('h'+(parseInt(_0x167839['name'][0x1])+0x1),_0x167839);}}['_isH1TagSupportEnabled'](){const {data:_0xaff56d,editing:_0x120af8}=this['editor'],_0xe398de=_0xaff56d['htmlProcessor']['toView']('<h1></h1>'),_0x315cc7=_0xaff56d['toView'](_0xaff56d['toModel'](_0xe398de));return!!_0x120af8['view']['domConverter']['viewToDom'](_0x315cc7)['querySelector']('h1');}['_sanitizeHTML'](_0x5e2461){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x5e2461),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x1d05e5){const _0xab9646=_0x1d05e5['trim']();return _0xab9646['startsWith']('```html')?_0xab9646['endsWith']('```')?_0xab9646['substring'](0x7,_0xab9646['length']-0x3):_0xab9646['substring'](0x7):_0x1d05e5;}}const AIFormToolbarViewMainActionLabel={'REPLACE':'replace','INSERT':'insert'};class _0x542eb5 extends ckeditor5['ToolbarView']{constructor(_0x4b88bd){super(_0x4b88bd),this['set']('isVisible',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x223c62=>getTranslation$j(_0x4b88bd,'AI_'+_0x223c62['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](getTranslation$j(_0x4b88bd,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](getTranslation$j(_0x4b88bd,'Try\x20again')),this['stopButton']=this['_createButton'](getTranslation$j(_0x4b88bd,'Stop'));const _0x247f0c=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x247f0c['if']('isVisible','ck-hidden',_0x190e08=>!_0x190e08)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x2e79a3,_0x9539d){const _0x2f0d8a=new ckeditor5['ButtonView'](this['locale']);return _0x2f0d8a['set']({'label':_0x2e79a3,'class':_0x9539d||'','isVisible':!0x0,'withText':!0x0}),_0x2f0d8a;}}class AIFormContentArea extends ckeditor5['View']{['contentFieldView'];['copyButtonView'];constructor(_0x1446ef,_0x1d353d=''){super(_0x1446ef),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x23fc0e=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x1446ef,_0x1d353d),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x23fc0e['if']('isVisible','ck-hidden',_0x9f0114=>!_0x9f0114)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x23fc0e['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 _0x154458=!0x1;this['on']('change:value',(_0x3d48a8,_0xb565ff,_0x4a90e2)=>{const _0xbd4ae7=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x4a90e2),this['isProcessing']&&_0xbd4ae7&&!_0x154458&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x402773,_0x2ff1b9,_0x49079c)=>{_0x154458=!0x1,_0x49079c?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x154458=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x154458=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x533922=this['locale'],_0x2d23b1=new ckeditor5['ButtonView'](this['locale']),_0xc24bc4='ck-ai-form__copy-button';return _0x2d23b1['set']({'label':getTranslation$j(_0x533922,'Copy'),'icon':ckeditor5['IconCopy'],'class':_0xc24bc4,'tooltip':!0x0}),_0x2d23b1['bind']('isVisible')['to'](this,'value',_0x296443=>!!_0x296443),_0x2d23b1['bind']('isEnabled')['to'](this,'isProcessing',_0x5d1c2b=>!_0x5d1c2b),_0x2d23b1['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x2d23b1['icon']=ckeditor5['IconCheck'],_0x2d23b1['class']=_0xc24bc4+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x2d23b1['icon']=ckeditor5['IconCopy'],_0x2d23b1['class']=_0xc24bc4;},0x3e8);}),_0x2d23b1;}['_copyHTMLToClipboard'](_0x5e08da){const {window:_0x4d49de,document:_0x223355}=ckeditor5['global'];if(_0x4d49de['ClipboardItem']){const {Blob:_0x3ff174,ClipboardItem:_0x1bbdae}=_0x4d49de,_0x58c31d=[new _0x1bbdae({'text/html':new _0x3ff174([_0x5e08da['innerHTML']],{'type':'text/html'}),'text/plain':new _0x3ff174([_0x5e08da['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x58c31d);}else{const _0x2dd7b2=_0x223355['createElement']('div');_0x2dd7b2['style']['position']='absolute',_0x2dd7b2['style']['left']='-9999px',_0x2dd7b2['innerHTML']='<span>[</span>'+_0x5e08da['innerHTML']+'<span>]</span>',_0x223355['body']['appendChild'](_0x2dd7b2);const _0x23d805=_0x223355['createRange']();_0x23d805['setStartAfter'](_0x2dd7b2['firstElementChild']),_0x23d805['setEndBefore'](_0x2dd7b2['lastElementChild']);const _0x7bdd3e=_0x4d49de['getSelection']();_0x7bdd3e['removeAllRanges'](),_0x7bdd3e['addRange'](_0x23d805),_0x223355['execCommand']('copy'),_0x2dd7b2['remove']();}}}class ContentFieldView extends ckeditor5['View']{constructor(_0x479e27,_0xf26d36=''){super(_0x479e27),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0xf26d36,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x5f2c75){this['element']['innerHTML']=_0x5f2c75;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x445062=new ckeditor5['View'](),_0x58f412=this['locale'],_0x4f2b9c=new ckeditor5['SpinnerView']();return _0x4f2b9c['isVisible']=!0x0,_0x445062['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x4f2b9c,{'text':getTranslation$j(_0x58f412,'AI\x20is\x20writing...')}]}),_0x445062['render'](),_0x445062;}}class _0x21919c extends ckeditor5['View']{constructor(_0xf05bba,_0x43176a=''){super(_0xf05bba);const _0x1ded5f=new ckeditor5['IconView'](),_0x24ee56=this['bindTemplate'];this['set']('text',_0x43176a),_0x1ded5f['content']=ckeditor5['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x1ded5f,{'text':_0x24ee56['to']('text')}]});}}class AIFormPromptView extends ckeditor5['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0xe5be28,_0x45d8eb){super(_0xe5be28,_0x45d8eb),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',(_0x575e34,_0x3a38fa)=>{_0x575e34['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x3a38fa());});}['_createSubmitButton'](){const _0xe0c1ce=new ckeditor5['ButtonView'](this['locale']),_0x153c95=this['locale'];return _0xe0c1ce['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$j(_0x153c95,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0xe0c1ce['on']('execute',()=>{this['submit']();}),_0xe0c1ce['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x5de254,_0x3db295)=>!_0x5de254&&_0x3db295),_0xe0c1ce;}['_createShowHistoryButton'](){const _0x97347d=new ckeditor5['ButtonView'](this['locale']),_0x2e448f=this['resultsView'],_0x169d46=this['locale'];_0x97347d['set']({'label':getTranslation$j(_0x169d46,'History'),'withText':!0x1,'icon':ckeditor5['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x97347d['bind']('isOn')['to'](_0x2e448f,'isVisible'),_0x97347d['bind']('isEnabled')['to'](this,'isEnabled'),_0x97347d['on']('execute',()=>{_0x2e448f['isVisible']=!_0x2e448f['isVisible'],_0x2e448f['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x5b342f=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x473e54=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0x3887b7=_0x473e54['width'],_0x386994='rtl'===_0x169d46['uiLanguageDirection']?'left':'right';_0x473e54['excludeScrollbarsAndBorders'](),_0x97347d['element']['style'][_0x386994]=_0x3887b7-_0x473e54['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x5b342f),this['on']('render',_0x5b342f),_0x97347d;}['submit'](){const _0x461d54=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x461d54);}['focus'](_0x34e6f3){-0x1===_0x34e6f3?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends ckeditor5['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x2baf7d){super(_0x2baf7d),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new ckeditor5['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=getTranslation$j(_0x2baf7d,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x21273a=0x0;for(const _0x15d1bd of this['items'])_0x21273a+=_0x15d1bd['items']['length'];return{'resultsCount':_0x21273a,'totalItemsCount':_0x21273a};}['_createClearHistoryButton'](){const _0x14cbcb=this['locale'],_0x19e45c=new ckeditor5['ButtonView'](this['locale']);return _0x19e45c['set']({'label':'('+getTranslation$j(_0x14cbcb,'Clear')+')','withText':!0x0}),_0x19e45c['on']('execute',()=>this['fire']('clearHistory')),_0x19e45c;}}function isUnsafeProperty(_0x2a390c){return'__proto__'===_0x2a390c;}function _0x2b5c8a(_0xa79a03){switch(typeof _0xa79a03){case'number':case'symbol':return!0x1;case'string':return _0xa79a03['includes']('.')||_0xa79a03['includes']('[')||_0xa79a03['includes'](']');}}function toKey(_0x57e99d){return'string'==typeof _0x57e99d||'symbol'==typeof _0x57e99d?_0x57e99d:Object['is'](_0x57e99d?.['valueOf']?.(),-0x0)?'-0':String(_0x57e99d);}function toPath(_0x11b7f3){const _0x37224f=[],_0x529c22=_0x11b7f3['length'];if(0x0===_0x529c22)return _0x37224f;let _0x15437c=0x0,_0x23ed00='',_0x4bfcaf='',_0x1b0db3=!0x1;for(0x2e===_0x11b7f3['charCodeAt'](0x0)&&(_0x37224f['push'](''),_0x15437c++);_0x15437c<_0x529c22;){const _0xbd3da1=_0x11b7f3[_0x15437c];_0x4bfcaf?'\x5c'===_0xbd3da1&&_0x15437c+0x1<_0x529c22?(_0x15437c++,_0x23ed00+=_0x11b7f3[_0x15437c]):_0xbd3da1===_0x4bfcaf?_0x4bfcaf='':_0x23ed00+=_0xbd3da1:_0x1b0db3?'\x22'===_0xbd3da1||'\x27'===_0xbd3da1?_0x4bfcaf=_0xbd3da1:']'===_0xbd3da1?(_0x1b0db3=!0x1,_0x37224f['push'](_0x23ed00),_0x23ed00=''):_0x23ed00+=_0xbd3da1:'['===_0xbd3da1?(_0x1b0db3=!0x0,_0x23ed00&&(_0x37224f['push'](_0x23ed00),_0x23ed00='')):'.'===_0xbd3da1?_0x23ed00&&(_0x37224f['push'](_0x23ed00),_0x23ed00=''):_0x23ed00+=_0xbd3da1,_0x15437c++;}return _0x23ed00&&_0x37224f['push'](_0x23ed00),_0x37224f;}function get(_0x26d8e8,_0x41a80e,_0x3b709c){if(null==_0x26d8e8)return _0x3b709c;switch(typeof _0x41a80e){case'string':{if(isUnsafeProperty(_0x41a80e))return _0x3b709c;const _0x356f2f=_0x26d8e8[_0x41a80e];return void 0x0===_0x356f2f?_0x2b5c8a(_0x41a80e)?get(_0x26d8e8,toPath(_0x41a80e),_0x3b709c):_0x3b709c:_0x356f2f;}case'number':case'symbol':{'number'==typeof _0x41a80e&&(_0x41a80e=toKey(_0x41a80e));const _0x5cfabd=_0x26d8e8[_0x41a80e];return void 0x0===_0x5cfabd?_0x3b709c:_0x5cfabd;}default:{if(Array['isArray'](_0x41a80e))return getWithPath(_0x26d8e8,_0x41a80e,_0x3b709c);if(isUnsafeProperty(_0x41a80e=Object['is'](_0x41a80e?.['valueOf'](),-0x0)?'-0':String(_0x41a80e)))return _0x3b709c;const _0x30a93f=_0x26d8e8[_0x41a80e];return void 0x0===_0x30a93f?_0x3b709c:_0x30a93f;}}}function getWithPath(_0x186dd,_0x20fd5a,_0x3bd163){if(0x0===_0x20fd5a['length'])return _0x3bd163;let _0x27900c=_0x186dd;for(let _0x187f3b=0x0;_0x187f3b<_0x20fd5a['length'];_0x187f3b++){if(null==_0x27900c)return _0x3bd163;if(isUnsafeProperty(_0x20fd5a[_0x187f3b]))return _0x3bd163;_0x27900c=_0x27900c[_0x20fd5a[_0x187f3b]];}return void 0x0===_0x27900c?_0x3bd163:_0x27900c;}function isObject$3(_0x28e5eb){return null!==_0x28e5eb&&('object'==typeof _0x28e5eb||'function'==typeof _0x28e5eb);}function isPrimitive(_0x5881ad){return null==_0x5881ad||'object'!=typeof _0x5881ad&&'function'!=typeof _0x5881ad;}function _0x2814d9(_0x4bfb32,_0x533b53){return _0x4bfb32===_0x533b53||Number['isNaN'](_0x4bfb32)&&Number['isNaN'](_0x533b53);}function getSymbols(_0x51099a){return Object['getOwnPropertySymbols'](_0x51099a)['filter'](_0x5be976=>Object['prototype']['propertyIsEnumerable']['call'](_0x51099a,_0x5be976));}function getTag(_0x3f1b99){return null==_0x3f1b99?void 0x0===_0x3f1b99?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x3f1b99);}const _0x4a0473='[object\x20RegExp]',stringTag='[object\x20String]',_0x213009='[object\x20Number]',_0x4de513='[object\x20Boolean]',argumentsTag='[object\x20Arguments]',_0x26c78e='[object\x20Symbol]',dateTag='[object\x20Date]',_0x2a3638='[object\x20Map]',setTag='[object\x20Set]',_0x2213bc='[object\x20Array]',functionTag='[object\x20Function]',_0x1a8dd6='[object\x20ArrayBuffer]',objectTag='[object\x20Object]',_0x42f7a6='[object\x20Error]',dataViewTag='[object\x20DataView]',uint8ArrayTag='[object\x20Uint8Array]',uint8ClampedArrayTag='[object\x20Uint8ClampedArray]',uint16ArrayTag='[object\x20Uint16Array]',uint32ArrayTag='[object\x20Uint32Array]',bigUint64ArrayTag='[object\x20BigUint64Array]',int8ArrayTag='[object\x20Int8Array]',int16ArrayTag='[object\x20Int16Array]',int32ArrayTag='[object\x20Int32Array]',bigInt64ArrayTag='[object\x20BigInt64Array]',float32ArrayTag='[object\x20Float32Array]',float64ArrayTag='[object\x20Float64Array]';function _0x42688b(_0x3a5fbb){return ArrayBuffer['isView'](_0x3a5fbb)&&!(_0x3a5fbb instanceof DataView);}function cloneDeepWith$1(_0x45cd70,_0x2aeaf6){return cloneDeepWithImpl(_0x45cd70,void 0x0,_0x45cd70,new Map(),_0x2aeaf6);}function cloneDeepWithImpl(_0x2ebdb9,_0x1a6668,_0x1bd150,_0x199f68=new Map(),_0x302be0=void 0x0){const _0x1ad0e2=_0x302be0?.(_0x2ebdb9,_0x1a6668,_0x1bd150,_0x199f68);if(null!=_0x1ad0e2)return _0x1ad0e2;if(isPrimitive(_0x2ebdb9))return _0x2ebdb9;if(_0x199f68['has'](_0x2ebdb9))return _0x199f68['get'](_0x2ebdb9);if(Array['isArray'](_0x2ebdb9)){const _0x1d31f7=new Array(_0x2ebdb9['length']);_0x199f68['set'](_0x2ebdb9,_0x1d31f7);for(let _0x116e36=0x0;_0x116e36<_0x2ebdb9['length'];_0x116e36++)_0x1d31f7[_0x116e36]=cloneDeepWithImpl(_0x2ebdb9[_0x116e36],_0x116e36,_0x1bd150,_0x199f68,_0x302be0);return Object['hasOwn'](_0x2ebdb9,'index')&&(_0x1d31f7['index']=_0x2ebdb9['index']),Object['hasOwn'](_0x2ebdb9,'input')&&(_0x1d31f7['input']=_0x2ebdb9['input']),_0x1d31f7;}if(_0x2ebdb9 instanceof Date)return new Date(_0x2ebdb9['getTime']());if(_0x2ebdb9 instanceof RegExp){const _0x368b8e=new RegExp(_0x2ebdb9['source'],_0x2ebdb9['flags']);return _0x368b8e['lastIndex']=_0x2ebdb9['lastIndex'],_0x368b8e;}if(_0x2ebdb9 instanceof Map){const _0x3646c9=new Map();_0x199f68['set'](_0x2ebdb9,_0x3646c9);for(const [_0x5ee421,_0x719f96]of _0x2ebdb9)_0x3646c9['set'](_0x5ee421,cloneDeepWithImpl(_0x719f96,_0x5ee421,_0x1bd150,_0x199f68,_0x302be0));return _0x3646c9;}if(_0x2ebdb9 instanceof Set){const _0x1df5fd=new Set();_0x199f68['set'](_0x2ebdb9,_0x1df5fd);for(const _0x1ffe20 of _0x2ebdb9)_0x1df5fd['add'](cloneDeepWithImpl(_0x1ffe20,void 0x0,_0x1bd150,_0x199f68,_0x302be0));return _0x1df5fd;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x2ebdb9))return _0x2ebdb9['subarray']();if(_0x42688b(_0x2ebdb9)){const _0x4b2909=new(Object['getPrototypeOf'](_0x2ebdb9))['constructor'](_0x2ebdb9['length']);_0x199f68['set'](_0x2ebdb9,_0x4b2909);for(let _0x1e1899=0x0;_0x1e1899<_0x2ebdb9['length'];_0x1e1899++)_0x4b2909[_0x1e1899]=cloneDeepWithImpl(_0x2ebdb9[_0x1e1899],_0x1e1899,_0x1bd150,_0x199f68,_0x302be0);return _0x4b2909;}if(_0x2ebdb9 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x2ebdb9 instanceof SharedArrayBuffer)return _0x2ebdb9['slice'](0x0);if(_0x2ebdb9 instanceof DataView){const _0x5e8185=new DataView(_0x2ebdb9['buffer']['slice'](0x0),_0x2ebdb9['byteOffset'],_0x2ebdb9['byteLength']);return _0x199f68['set'](_0x2ebdb9,_0x5e8185),copyProperties(_0x5e8185,_0x2ebdb9,_0x1bd150,_0x199f68,_0x302be0),_0x5e8185;}if('undefined'!=typeof File&&_0x2ebdb9 instanceof File){const _0x4574f9=new File([_0x2ebdb9],_0x2ebdb9['name'],{'type':_0x2ebdb9['type']});return _0x199f68['set'](_0x2ebdb9,_0x4574f9),copyProperties(_0x4574f9,_0x2ebdb9,_0x1bd150,_0x199f68,_0x302be0),_0x4574f9;}if(_0x2ebdb9 instanceof Blob){const _0x5c6881=new Blob([_0x2ebdb9],{'type':_0x2ebdb9['type']});return _0x199f68['set'](_0x2ebdb9,_0x5c6881),copyProperties(_0x5c6881,_0x2ebdb9,_0x1bd150,_0x199f68,_0x302be0),_0x5c6881;}if(_0x2ebdb9 instanceof Error){const _0x5b23b2=new _0x2ebdb9['constructor']();return _0x199f68['set'](_0x2ebdb9,_0x5b23b2),_0x5b23b2['message']=_0x2ebdb9['message'],_0x5b23b2['name']=_0x2ebdb9['name'],_0x5b23b2['stack']=_0x2ebdb9['stack'],_0x5b23b2['cause']=_0x2ebdb9['cause'],copyProperties(_0x5b23b2,_0x2ebdb9,_0x1bd150,_0x199f68,_0x302be0),_0x5b23b2;}if('object'==typeof _0x2ebdb9&&isCloneableObject(_0x2ebdb9)){const _0x50e34c=Object['create'](Object['getPrototypeOf'](_0x2ebdb9));return _0x199f68['set'](_0x2ebdb9,_0x50e34c),copyProperties(_0x50e34c,_0x2ebdb9,_0x1bd150,_0x199f68,_0x302be0),_0x50e34c;}return _0x2ebdb9;}function copyProperties(_0x4fae32,_0x3da7ca,_0x114e45=_0x4fae32,_0x4dbc87,_0x976722){const _0x431a15=[...Object['keys'](_0x3da7ca),...getSymbols(_0x3da7ca)];for(let _0xf12a94=0x0;_0xf12a94<_0x431a15['length'];_0xf12a94++){const _0x1d5a84=_0x431a15[_0xf12a94],_0x5bd1b7=Object['getOwnPropertyDescriptor'](_0x4fae32,_0x1d5a84);(null==_0x5bd1b7||_0x5bd1b7['writable'])&&(_0x4fae32[_0x1d5a84]=cloneDeepWithImpl(_0x3da7ca[_0x1d5a84],_0x1d5a84,_0x114e45,_0x4dbc87,_0x976722));}}function isCloneableObject(_0x5dd317){switch(getTag(_0x5dd317)){case argumentsTag:case _0x2213bc:case _0x1a8dd6:case dataViewTag:case _0x4de513:case dateTag:case float32ArrayTag:case float64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case _0x2a3638:case _0x213009:case objectTag:case _0x4a0473:case setTag:case stringTag:case _0x26c78e:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:return!0x0;default:return!0x1;}}function _0x58d4e9(_0x2f7bb4){return cloneDeepWithImpl(_0x2f7bb4,void 0x0,_0x2f7bb4,new Map(),void 0x0);}function cloneDeepWith(_0x382ffe,_0x5912a9){return cloneDeepWith$1(_0x382ffe,(_0x2e2424,_0xf52487,_0xdc7fa1,_0x3eb153)=>{if('object'==typeof _0x382ffe)switch(Object['prototype']['toString']['call'](_0x382ffe)){case _0x213009:case stringTag:case _0x4de513:{const _0x5ca2d7=new _0x382ffe['constructor'](_0x382ffe?.['valueOf']());return copyProperties(_0x5ca2d7,_0x382ffe),_0x5ca2d7;}case argumentsTag:{const _0x5424dd={};return copyProperties(_0x5424dd,_0x382ffe),_0x5424dd['length']=_0x382ffe['length'],_0x5424dd[Symbol['iterator']]=_0x382ffe[Symbol['iterator']],_0x5424dd;}default:return;}});}function _0xedd9f2(_0x19909a){return cloneDeepWith(_0x19909a);}const _0x286d0e=/^(?:0|[1-9]\d*)$/;function _0x582efe(_0x554aa8,_0x34587d=Number['MAX_SAFE_INTEGER']){switch(typeof _0x554aa8){case'number':return Number['isInteger'](_0x554aa8)&&_0x554aa8>=0x0&&_0x554aa8<_0x34587d;case'symbol':return!0x1;case'string':return _0x286d0e['test'](_0x554aa8);}}function isObjectLike(_0x3cd403){return'object'==typeof _0x3cd403&&null!==_0x3cd403;}function _0x5d3be1(_0x398857){return'symbol'==typeof _0x398857||_0x398857 instanceof Symbol;}const _0x2dd17b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_0x110365=/^\w*$/;function _0x391c74(_0x5146bc,_0x3f124f){return!Array['isArray'](_0x5146bc)&&(!('number'!=typeof _0x5146bc&&'boolean'!=typeof _0x5146bc&&null!=_0x5146bc&&!_0x5d3be1(_0x5146bc))||('string'==typeof _0x5146bc&&(_0x110365['test'](_0x5146bc)||!_0x2dd17b['test'](_0x5146bc))||null!=_0x3f124f&&Object['hasOwn'](_0x3f124f,_0x5146bc)));}function unset(_0x95e8ed,_0x48fcb9){if(null==_0x95e8ed)return!0x0;switch(typeof _0x48fcb9){case'symbol':case'number':case'object':if(Array['isArray'](_0x48fcb9))return unsetWithPath(_0x95e8ed,_0x48fcb9);if('number'==typeof _0x48fcb9?_0x48fcb9=toKey(_0x48fcb9):'object'==typeof _0x48fcb9&&(_0x48fcb9=Object['is'](_0x48fcb9?.['valueOf'](),-0x0)?'-0':String(_0x48fcb9)),isUnsafeProperty(_0x48fcb9))return!0x1;if(void 0x0===_0x95e8ed?.[_0x48fcb9])return!0x0;try{return delete _0x95e8ed[_0x48fcb9],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x95e8ed?.[_0x48fcb9]&&_0x2b5c8a(_0x48fcb9))return unsetWithPath(_0x95e8ed,toPath(_0x48fcb9));if(isUnsafeProperty(_0x48fcb9))return!0x1;try{return delete _0x95e8ed[_0x48fcb9],!0x0;}catch{return!0x1;}}}function unsetWithPath(_0x544c00,_0x1fcbe7){const _0x8c4dfa=get(_0x544c00,_0x1fcbe7['slice'](0x0,-0x1),_0x544c00),_0x5b56a6=_0x1fcbe7[_0x1fcbe7['length']-0x1];if(void 0x0===_0x8c4dfa?.[_0x5b56a6])return!0x0;if(isUnsafeProperty(_0x5b56a6))return!0x1;try{return delete _0x8c4dfa[_0x5b56a6],!0x0;}catch{return!0x1;}}const _0x4cc5ba=(_0x131489,_0x120157,_0x56a16e)=>{const _0x497e28=_0x131489[_0x120157];Object['hasOwn'](_0x131489,_0x120157)&&_0x2814d9(_0x497e28,_0x56a16e)&&(void 0x0!==_0x56a16e||_0x120157 in _0x131489)||(_0x131489[_0x120157]=_0x56a16e);};function updateWith(_0x4c6107,_0x6b5d7a,_0x2f5099,_0x515a86){if(null==_0x4c6107&&!isObject$3(_0x4c6107))return _0x4c6107;const _0x5c8d77=_0x391c74(_0x6b5d7a,_0x4c6107)?[_0x6b5d7a]:Array['isArray'](_0x6b5d7a)?_0x6b5d7a:'string'==typeof _0x6b5d7a?toPath(_0x6b5d7a):[_0x6b5d7a];let _0x3ccf98=_0x4c6107;for(let _0x5dd696=0x0;_0x5dd696<_0x5c8d77['length']&&null!=_0x3ccf98;_0x5dd696++){const _0x503214=toKey(_0x5c8d77[_0x5dd696]);if(isUnsafeProperty(_0x503214))continue;let _0x46fd9b;if(_0x5dd696===_0x5c8d77['length']-0x1)_0x46fd9b=_0x2f5099(_0x3ccf98[_0x503214]);else{const _0x2f1c90=_0x3ccf98[_0x503214],_0x2bcdc7=_0x515a86?.(_0x2f1c90,_0x503214,_0x4c6107);_0x46fd9b=void 0x0!==_0x2bcdc7?_0x2bcdc7:isObject$3(_0x2f1c90)?_0x2f1c90:_0x582efe(_0x5c8d77[_0x5dd696+0x1])?[]:{};}_0x4cc5ba(_0x3ccf98,_0x503214,_0x46fd9b),_0x3ccf98=_0x3ccf98[_0x503214];}return _0x4c6107;}function set(_0x412f67,_0x1175d6,_0x41a558){return updateWith(_0x412f67,_0x1175d6,()=>_0x41a558,()=>{});}function _0x48fbc8(_0x4ef22c,_0x200ad2,{signal:_0x5ae9a8,edges:_0x4c3df3}={}){let _0x2f5156,_0x1ebdb6=null;const _0x3df3f6=null!=_0x4c3df3&&_0x4c3df3['includes']('leading'),_0x1e7d01=null==_0x4c3df3||_0x4c3df3['includes']('trailing'),_0x65abf8=()=>{null!==_0x1ebdb6&&(_0x4ef22c['apply'](_0x2f5156,_0x1ebdb6),_0x2f5156=void 0x0,_0x1ebdb6=null);};let _0x1d3505=null;const _0x239d46=()=>{null!=_0x1d3505&&clearTimeout(_0x1d3505),_0x1d3505=setTimeout(()=>{_0x1d3505=null,_0x1e7d01&&_0x65abf8(),_0x2231ba();},_0x200ad2);},_0x15149e=()=>{null!==_0x1d3505&&(clearTimeout(_0x1d3505),_0x1d3505=null);},_0x2231ba=()=>{_0x15149e(),_0x2f5156=void 0x0,_0x1ebdb6=null;},_0x37a72b=function(..._0x3d0806){if(_0x5ae9a8?.['aborted'])return;_0x2f5156=this,_0x1ebdb6=_0x3d0806;const _0x21c9da=null==_0x1d3505;_0x239d46(),_0x3df3f6&&_0x21c9da&&_0x65abf8();};return _0x37a72b['schedule']=_0x239d46,_0x37a72b['cancel']=_0x2231ba,_0x37a72b['flush']=()=>{_0x15149e(),_0x65abf8();},_0x5ae9a8?.['addEventListener']('abort',_0x2231ba,{'once':!0x0}),_0x37a72b;}function _0x53dcc6(_0x1b8751,_0x16b3b3=0x0,_0x5ec6ff={}){'object'!=typeof _0x5ec6ff&&(_0x5ec6ff={});const {leading:_0x3a6d1b=!0x1,trailing:_0x3bfc8c=!0x0,maxWait:_0x2c95cd}=_0x5ec6ff,_0x3fc29b=Array(0x2);let _0x1ca4dd;_0x3a6d1b&&(_0x3fc29b[0x0]='leading'),_0x3bfc8c&&(_0x3fc29b[0x1]='trailing');let _0x32a9f8=null;const _0x243289=_0x48fbc8(function(..._0x2b883e){_0x1ca4dd=_0x1b8751['apply'](this,_0x2b883e),_0x32a9f8=null;},_0x16b3b3,{'edges':_0x3fc29b}),_0x133387=function(..._0x4c7d52){return null!=_0x2c95cd&&(null===_0x32a9f8&&(_0x32a9f8=Date['now']()),Date['now']()-_0x32a9f8>=_0x2c95cd)?(_0x1ca4dd=_0x1b8751['apply'](this,_0x4c7d52),_0x32a9f8=Date['now'](),_0x243289['cancel'](),_0x243289['schedule'](),_0x1ca4dd):(_0x243289['apply'](this,_0x4c7d52),_0x1ca4dd);};return _0x133387['cancel']=_0x243289['cancel'],_0x133387['flush']=()=>(_0x243289['flush'](),_0x1ca4dd),_0x133387;}function throttle$1(_0x5de417,_0x2e9182=0x0,_0x3b2f5a={}){'object'!=typeof _0x3b2f5a&&(_0x3b2f5a={});const {leading:_0x363e14=!0x0,trailing:_0x4fd8cf=!0x0}=_0x3b2f5a;return _0x53dcc6(_0x5de417,_0x2e9182,{'leading':_0x363e14,'trailing':_0x4fd8cf,'maxWait':_0x2e9182});}function toString$2(_0x34a6cf){if(null==_0x34a6cf)return'';if('string'==typeof _0x34a6cf)return _0x34a6cf;if(Array['isArray'](_0x34a6cf))return _0x34a6cf['map'](toString$2)['join'](',');const _0x15c5a6=String(_0x34a6cf);return'0'===_0x15c5a6&&Object['is'](Number(_0x34a6cf),-0x0)?'-0':_0x15c5a6;}function isPlainObject$1(_0x38d85c){if(!_0x38d85c||'object'!=typeof _0x38d85c)return!0x1;const _0x54d7bf=Object['getPrototypeOf'](_0x38d85c);return!(null!==_0x54d7bf&&_0x54d7bf!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x54d7bf))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x38d85c);}function isEqualWith(_0x5d490e,_0x1a8da1,_0x283b35){return isEqualWithImpl(_0x5d490e,_0x1a8da1,void 0x0,void 0x0,void 0x0,void 0x0,_0x283b35);}function isEqualWithImpl(_0x9fbc7d,_0x525f27,_0x59e7ba,_0x46c212,_0x343277,_0x20e897,_0x84136d){const _0x5784e3=_0x84136d(_0x9fbc7d,_0x525f27,_0x59e7ba,_0x46c212,_0x343277,_0x20e897);if(void 0x0!==_0x5784e3)return _0x5784e3;if(typeof _0x9fbc7d==typeof _0x525f27)switch(typeof _0x9fbc7d){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x9fbc7d===_0x525f27;case'number':return _0x9fbc7d===_0x525f27||Object['is'](_0x9fbc7d,_0x525f27);case'object':return areObjectsEqual(_0x9fbc7d,_0x525f27,_0x20e897,_0x84136d);}return areObjectsEqual(_0x9fbc7d,_0x525f27,_0x20e897,_0x84136d);}function areObjectsEqual(_0x598070,_0xe3e1ec,_0x25ba62,_0x153769){if(Object['is'](_0x598070,_0xe3e1ec))return!0x0;let _0x5c2e61=getTag(_0x598070),_0x4d5a9f=getTag(_0xe3e1ec);if(_0x5c2e61===argumentsTag&&(_0x5c2e61=objectTag),_0x4d5a9f===argumentsTag&&(_0x4d5a9f=objectTag),_0x5c2e61!==_0x4d5a9f)return!0x1;switch(_0x5c2e61){case stringTag:return _0x598070['toString']()===_0xe3e1ec['toString']();case _0x213009:return _0x2814d9(_0x598070['valueOf'](),_0xe3e1ec['valueOf']());case _0x4de513:case dateTag:case _0x26c78e:return Object['is'](_0x598070['valueOf'](),_0xe3e1ec['valueOf']());case _0x4a0473:return _0x598070['source']===_0xe3e1ec['source']&&_0x598070['flags']===_0xe3e1ec['flags'];case functionTag:return _0x598070===_0xe3e1ec;}const _0x31e659=(_0x25ba62=_0x25ba62??new Map())['get'](_0x598070),_0x10d4e4=_0x25ba62['get'](_0xe3e1ec);if(null!=_0x31e659&&null!=_0x10d4e4)return _0x31e659===_0xe3e1ec;_0x25ba62['set'](_0x598070,_0xe3e1ec),_0x25ba62['set'](_0xe3e1ec,_0x598070);try{switch(_0x5c2e61){case _0x2a3638:if(_0x598070['size']!==_0xe3e1ec['size'])return!0x1;for(const [_0x461050,_0x35fc33]of _0x598070['entries']())if(!_0xe3e1ec['has'](_0x461050)||!isEqualWithImpl(_0x35fc33,_0xe3e1ec['get'](_0x461050),_0x461050,_0x598070,_0xe3e1ec,_0x25ba62,_0x153769))return!0x1;return!0x0;case setTag:{if(_0x598070['size']!==_0xe3e1ec['size'])return!0x1;const _0x2f6e14=Array['from'](_0x598070['values']()),_0x2a233d=Array['from'](_0xe3e1ec['values']());for(let _0x54a128=0x0;_0x54a128<_0x2f6e14['length'];_0x54a128++){const _0xf86171=_0x2f6e14[_0x54a128],_0x4bbf08=_0x2a233d['findIndex'](_0x4c7842=>isEqualWithImpl(_0xf86171,_0x4c7842,void 0x0,_0x598070,_0xe3e1ec,_0x25ba62,_0x153769));if(-0x1===_0x4bbf08)return!0x1;_0x2a233d['splice'](_0x4bbf08,0x1);}return!0x0;}case _0x2213bc:case uint8ArrayTag:case uint8ClampedArrayTag:case uint16ArrayTag:case uint32ArrayTag:case bigUint64ArrayTag:case int8ArrayTag:case int16ArrayTag:case int32ArrayTag:case bigInt64ArrayTag:case float32ArrayTag:case float64ArrayTag:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x598070)!==Buffer['isBuffer'](_0xe3e1ec))return!0x1;if(_0x598070['length']!==_0xe3e1ec['length'])return!0x1;for(let _0x4c64d5=0x0;_0x4c64d5<_0x598070['length'];_0x4c64d5++)if(!isEqualWithImpl(_0x598070[_0x4c64d5],_0xe3e1ec[_0x4c64d5],_0x4c64d5,_0x598070,_0xe3e1ec,_0x25ba62,_0x153769))return!0x1;return!0x0;case _0x1a8dd6:return _0x598070['byteLength']===_0xe3e1ec['byteLength']&&areObjectsEqual(new Uint8Array(_0x598070),new Uint8Array(_0xe3e1ec),_0x25ba62,_0x153769);case dataViewTag:return _0x598070['byteLength']===_0xe3e1ec['byteLength']&&_0x598070['byteOffset']===_0xe3e1ec['byteOffset']&&areObjectsEqual(new Uint8Array(_0x598070),new Uint8Array(_0xe3e1ec),_0x25ba62,_0x153769);case _0x42f7a6:return _0x598070['name']===_0xe3e1ec['name']&&_0x598070['message']===_0xe3e1ec['message'];case objectTag:{if(!(areObjectsEqual(_0x598070['constructor'],_0xe3e1ec['constructor'],_0x25ba62,_0x153769)||isPlainObject$1(_0x598070)&&isPlainObject$1(_0xe3e1ec)))return!0x1;const _0x19024b=[...Object['keys'](_0x598070),...getSymbols(_0x598070)],_0xa03ca3=[...Object['keys'](_0xe3e1ec),...getSymbols(_0xe3e1ec)];if(_0x19024b['length']!==_0xa03ca3['length'])return!0x1;for(let _0x50c49c=0x0;_0x50c49c<_0x19024b['length'];_0x50c49c++){const _0x539fa1=_0x19024b[_0x50c49c],_0x24a465=_0x598070[_0x539fa1];if(!Object['hasOwn'](_0xe3e1ec,_0x539fa1))return!0x1;if(!isEqualWithImpl(_0x24a465,_0xe3e1ec[_0x539fa1],_0x539fa1,_0x598070,_0xe3e1ec,_0x25ba62,_0x153769))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x25ba62['delete'](_0x598070),_0x25ba62['delete'](_0xe3e1ec);}}function _0x3f9c66(){}function _0x140510(_0x37417d,_0x2f11eb){return isEqualWith(_0x37417d,_0x2f11eb,_0x3f9c66);}function isPlainObject(_0x2d99e7){if('object'!=typeof _0x2d99e7)return!0x1;if(null==_0x2d99e7)return!0x1;if(null===Object['getPrototypeOf'](_0x2d99e7))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x2d99e7)){const _0x193405=_0x2d99e7[Symbol['toStringTag']];if(null==_0x193405)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x2d99e7,Symbol['toStringTag'])?.['writable']&&_0x2d99e7['toString']()==='[object\x20'+_0x193405+']';}let _0xe9357f=_0x2d99e7;for(;null!==Object['getPrototypeOf'](_0xe9357f);)_0xe9357f=Object['getPrototypeOf'](_0xe9357f);return Object['getPrototypeOf'](_0x2d99e7)===_0xe9357f;}function omit(_0x51360a,..._0x1a6b7e){if(null==_0x51360a)return{};const _0x5a4e57=_0x58d4e9(_0x51360a);for(let _0x3b5a91=0x0;_0x3b5a91<_0x1a6b7e['length'];_0x3b5a91++){let _0x2cd75c=_0x1a6b7e[_0x3b5a91];switch(typeof _0x2cd75c){case'object':Array['isArray'](_0x2cd75c)||(_0x2cd75c=Array['from'](_0x2cd75c));for(let _0x2dd790=0x0;_0x2dd790<_0x2cd75c['length'];_0x2dd790++){unset(_0x5a4e57,_0x2cd75c[_0x2dd790]);}break;case'string':case'symbol':case'number':unset(_0x5a4e57,_0x2cd75c);}}return _0x5a4e57;}function isElement$2(_0x1563dc){return isObjectLike(_0x1563dc)&&0x1===_0x1563dc['nodeType']&&!isPlainObject(_0x1563dc);}const htmlEscapes={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function _0x3e8c11(_0x2ee5b5){return _0x2ee5b5['replace'](/[&<>"']/g,_0x384a8b=>htmlEscapes[_0x384a8b]);}function _0x1b3765(_0x38c52e){return _0x3e8c11(toString$2(_0x38c52e));}function _0x434a04(_0x409ce9){return _0x409ce9['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}function _0x25991c(_0x3de8fa){return _0x434a04(toString$2(_0x3de8fa));}const htmlUnescapes={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function _0x2646cd(_0x31c237){return _0x31c237['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x5beb88=>htmlUnescapes[_0x5beb88]||'\x27');}function _0x50e25f(_0x4f2f76){return _0x2646cd(toString$2(_0x4f2f76));}class AIHistoryListItemView extends ckeditor5['ListItemView']{constructor(_0x889d83){super();const _0x1f57a5=new ckeditor5['ButtonLabelView'](),_0x13d321=new ckeditor5['ButtonView'](this['locale'],_0x1f57a5);this['children']['add'](_0x13d321),_0x13d321['set']({'label':_0x889d83['prompt'],'withText':!0x0}),_0x13d321['on']('execute',()=>{this['fire']('execute',{'value':_0x50e25f(_0x889d83['prompt'])});});}}const _0x2ab2cb='CKEditor/AIFormView/PromptHistory',_0x55eeba=0x14;class PromptHistory extends ckeditor5['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x273eca,_0x2aefda)=>{const _0x4fcc32=normalizePromptText(_0x2aefda['prompt']);for(const _0x83a49a of this)if(_0x83a49a!=_0x2aefda&&normalizePromptText(_0x83a49a['prompt'])===_0x4fcc32){this['remove'](_0x83a49a);break;}this['length']>_0x55eeba&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x3636ff=sessionStorage['getItem'](_0x2ab2cb)||'[]';this['addMany'](JSON['parse'](_0x3636ff));}['_saveToSessionStorage'](){sessionStorage['setItem'](_0x2ab2cb,JSON['stringify'](this['map'](_0x277e80=>_0x277e80)));}}function normalizePromptText(_0x38d629){return _0x38d629['toLowerCase']()['trim']();}class _0x21196c extends ckeditor5['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0xe64b75,_0x4d963c,_0x1fec47=''){super(_0xe64b75),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',AIFormToolbarViewMainActionLabel['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new _0x21919c(_0xe64b75),this['contentArea']=new AIFormContentArea(_0xe64b75,_0x1fec47),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 ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new ckeditor5['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 _0x3482f7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x4d963c],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x3482f7['if']('isError','ck-hidden',_0x4a14aa=>!_0x4a14aa)]},'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'](_0x240013=0x1){-0x1===_0x240013?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 _0x445e9f=this['locale'],_0x59f48c=new AIFormPromptView(_0x445e9f,{'queryView':{'label':getTranslation$j(_0x445e9f,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':getTranslation$j(_0x445e9f,'Empty\x20history'),'secondary':getTranslation$j(_0x445e9f,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x59f48c['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x78274e,_0x4c7226)=>_0x78274e&&!_0x4c7226),this['listenTo'](_0x59f48c,'submit',(_0x3c9617,_0x40d6cf)=>{this['prompt']=_0x40d6cf;const _0x564b99=_0x1b3765(_0x40d6cf);this['fire']('submitPrompt',_0x564b99),_0x40d6cf['trim']()&&this['_promptHistory']['add']({'prompt':_0x564b99},0x0);},{'priority':'high'}),_0x59f48c;}['_createHistoryView'](){const _0x1710df=new AIHistoryListView(this['locale']);return _0x1710df['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x1710df['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x1710df;}['_createToolbar'](){const _0x304c0d=new _0x542eb5(this['locale']);return _0x304c0d['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x14e7e7,_0x172df5,_0x2b6798)=>_0x14e7e7&&!_0x172df5&&!!_0x2b6798),_0x304c0d['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x304c0d['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x5293a6,_0x15fc1f,_0x4e2df7)=>_0x5293a6&&!_0x15fc1f&&!!_0x4e2df7),_0x304c0d['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x304c0d['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x57413a,_0x3ea68c)=>_0x57413a&&!_0x3ea68c),_0x304c0d['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x304c0d['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x304c0d['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x304c0d;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x5c75f8=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=getTranslation$j(_0x5c75f8,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x1178d2){const _0x2aaa34=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x1178d2||getTranslation$j(_0x2aaa34,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const DomDataTransfer=globalThis['DataTransfer'];class AIAssistantUI extends ckeditor5['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[ckeditor5['ClipboardMarkersUtils'],AIAssistantEditing,AIAdapter,ckeditor5['Dialog']];}constructor(_0x3f7032){super(_0x3f7032),_0x3f7032['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x3f7032['config']['define']('ai.assistant.contentAreaCssClass',''),_0x3f7032['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x3f7032['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x427ac9}=this;this['_aiAdapter']=_0x427ac9['plugins']['get'](AIAdapter),this['_dialog']=_0x427ac9['plugins']['get'](ckeditor5['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x43c978=new ShowAIAssistantCommand(_0x427ac9,Array['from'](this['_commandDefinitions']['values']()));_0x427ac9['commands']['add']('showAIAssistant',_0x43c978),_0x427ac9['ui']['componentFactory']['add']('aiCommands',_0x491c09=>{const _0x19c6c6=ckeditor5['createDropdown'](_0x491c09);return _0x19c6c6['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x19c6c6['buttonView']['set']({'label':getTranslation$j(_0x491c09,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand'],'tooltip':!0x0}),_0x19c6c6['on']('execute',_0x122045=>this['_onExecute'](_0x122045['source']['id'])),ckeditor5['addMenuToDropdown'](_0x19c6c6,_0x427ac9['ui']['view']['body'],getMenuDropdownDefinition(_0x427ac9),{'ariaLabel':getTranslation$j(_0x491c09,'AI\x20Commands')}),_0x19c6c6['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x43c978['on']('change:enabledCommandsIds',_0x1aae75),_0x19c6c6['menuView']['once']('render',_0x1aae75),_0x19c6c6;function _0x1aae75(){_0x19c6c6['isEnabled']=_0x43c978['enabledCommandsIds']['length']>0x0;for(const _0x409e71 of _0x19c6c6['menuView']['buttons'])_0x409e71['isEnabled']=_0x43c978['enabledCommandsIds']['includes'](_0x409e71['id']);}}),_0x427ac9['ui']['componentFactory']['add']('menuBar:aiCommands',_0x48e602=>{const _0x308d11=new ckeditor5['MenuBarMenuView'](_0x48e602);_0x308d11['buttonView']['set']({'label':getTranslation$j(_0x48e602,'AI\x20Commands'),'icon':ckeditor5['IconMagicWand']}),_0x308d11['bind']('isEnabled')['to'](_0x43c978,'enabledCommandsIds',_0x5979a1=>_0x5979a1['length']>0x0);const _0x5a0cd1=_0x4ea9bc(_0x427ac9['config']['get']('ai.assistant.commands'),_0x48e602);return this['_populateMenuBarMenu'](_0x43c978,_0x308d11,_0x5a0cd1,_0x5820ff=>this['_onExecute'](_0x5820ff)),_0x308d11;}),_0x427ac9['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x3a6b8c=this['_createAIAssistantUIButton'](ckeditor5['ButtonView']);return _0x3a6b8c['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x3a6b8c;}),_0x427ac9['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0xbcd1ed=this['_createAIAssistantUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0xbcd1ed['set']({'role':'menuitemcheckbox'}),_0xbcd1ed;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x599c27=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4af2b4;for(const _0x4255b8 in _0x599c27){const _0x45011f=_0x4255b8,_0x14b1b3=_0x599c27[_0x45011f];if('aiLicenseKeyValid'==_0x14b1b3||'aiLicenseKeyInvalid'==_0x14b1b3||'aiLicenseKeyExpired'==_0x14b1b3||'aiLicenseKeyDomainLimit'==_0x14b1b3||'aiLicenseKeyNotAllowed'==_0x14b1b3||'aiLicenseKeyEvaluationLimit'==_0x14b1b3||'aiLicenseKeyUsageLimit'==_0x14b1b3){delete _0x599c27[_0x45011f],_0x4af2b4=_0x14b1b3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x4af2b4&&_0x599c27['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x4af2b4&&_0x599c27['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x4af2b4&&_0x599c27['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x4af2b4&&_0x599c27['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x4af2b4&&_0x599c27['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x4af2b4&&_0x599c27['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0xf2493d='',_0x1a56c6='',_0x2401e1='custom'){const _0x1935e5=this['editor'],_0x3a384a=_0x1935e5['editing']['view'],_0x388fe8=_0x1935e5['plugins']['get'](AIAssistantEditing),_0x81fa8=_0x1935e5['plugins']['get'](ckeditor5['ClipboardMarkersUtils']);_0x388fe8['showFakeVisualSelection']();const _0x42c542=new DomDataTransfer(),_0x1c13c4=new ClipboardEvent('copy',{'clipboardData':_0x42c542}),_0x2afcde=new ckeditor5['ViewDataTransfer'](_0x42c542),_0x41a3c2=new ckeditor5['ViewDocumentDomEventData'](_0x3a384a,_0x1c13c4,{'dataTransfer':_0x2afcde});_0x81fa8['_forceMarkersCopy']('comment',()=>{_0x3a384a['document']['fire']('copy',_0x41a3c2);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x1935e5,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x5ea68a=_0x2afcde['getData']('text/html');const _0x253231=_0x1935e5['model']['document']['selection'],_0x5d8708=Array['from'](_0x253231['getRanges']());0x1===_0x5d8708['length']&&_0x5d8708[0x0]['isFlat']&&!_0x253231['getSelectedElement']()&&''!==_0x5ea68a['replace'](/&nbsp;/g,'')['trim']()&&(_0x5ea68a='<p>'+_0x5ea68a+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x2401e1,'query':_0xf2493d,'htmlContent':_0x5ea68a,'label':_0x1a56c6,'mainActionLabel':AIFormToolbarViewMainActionLabel[_0x1935e5['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':ckeditor5['IconRobotPencil'],'title':getTranslation$j(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x388fe8['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x14a71f=new Map(),_0x1f4e0a=_0x4ea9bc(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x2a47f6 of _0x1f4e0a)for(const _0x73f547 of _0x2a47f6['commands'])_0x14a71f['set'](_0x73f547['id'],{..._0x73f547,'groupId':_0x2a47f6['groupId'],'groupLabel':_0x2a47f6['groupLabel']||_0x2a47f6['groupId']});return _0x14a71f;}['_createAIAssistantUIButton'](_0x1bcff0){const _0x36b62b=this['editor'],_0x2c8bc4=_0x36b62b['commands']['get']('showAIAssistant'),_0x557a5e=new _0x1bcff0(_0x36b62b['locale']);return _0x557a5e['set']({'label':getTranslation$j(_0x36b62b['locale'],'AI\x20Assistant'),'icon':ckeditor5['IconRobotPencil'],'isToggleable':!0x0}),_0x557a5e['bind']('isEnabled')['to'](_0x2c8bc4),_0x557a5e['bind']('isOn')['to'](this['_dialog'],'id',_0x4fecf7=>'aiAssistant'===_0x4fecf7),this['listenTo'](_0x557a5e,'execute',()=>{_0x557a5e['isOn']?this['hideUI']():_0x2c8bc4['execute']();}),_0x557a5e;}['_initView'](){const _0x4b4930=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x21196c(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',()=>{_0x4b4930['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x4b4930['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x50ee25,ui:{ariaLiveAnnouncer:_0x5ac9b3}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x348f05,_0x44f233,_0x70afdd)=>{const _0x2c2152=this['_aiAssistantController']['currentContext'];_0x70afdd?_0x5ac9b3['announce'](getTranslation$j(_0x50ee25,'AI\x20is\x20writing')):_0x2c2152&&_0x5ac9b3['announce'](getTranslation$j(_0x50ee25,'Generated\x20content:\x20%0',_0x2c2152),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x5f16db,_0x3dc756,_0x246ec6)=>{if(_0x246ec6){const _0x291142=this['_formView']['errorView']['text'];_0x5ac9b3['announce'](getTranslation$j(_0x50ee25,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x291142));}});}['_onExecute'](_0x189a2d){const _0x480737=this['_commandDefinitions']['get'](_0x189a2d),_0xe601ba=this['editor'],_0x18b48c=_0xe601ba['model']['document']['selection'],_0x3cb830=_0xe601ba['commands']['get']('showAIAssistant'),_0xecf268=_0xe601ba['plugins']['get'](AIAssistantEditing),_0x307de7=''+(_0x480737['groupId']!==_0x31ef8f?_0x480737['groupLabel']+':\x20':'')+_0x480737['label'];if(!0x1!==_0x480737['requiresContent']&&_0x18b48c['isCollapsed']){const _0x585c4c=ckeditor5['first'](_0x18b48c['getSelectedBlocks']())||_0xe601ba['model']['schema']['getLimitElement'](_0x18b48c);_0xe601ba['model']['change'](_0x4dd612=>{_0x4dd612['setSelection'](_0x585c4c,'in');});}_0xecf268['showFakeVisualSelection'](),_0x3cb830['execute'](_0x480737['prompt'],_0x307de7,'command:'+_0x189a2d);}['_populateMenuBarMenu'](_0x4dca5c,_0xc7bbae,_0x267bf7,_0x5eaedc){const _0x213023=this['editor'],_0x554ff1=_0x213023['locale'],_0x439c99=new ckeditor5['MenuBarMenuListView'](_0x554ff1),_0x4b082e=sortDefinitionsByOrder(_0x213023,_0x267bf7)['filter'](_0x31a2a4=>_0x31a2a4['commands']['length']);0x1===_0x4b082e['length']?this['_getMenuBarGroupButtons']({'command':_0x4dca5c,'commands':_0x4b082e[0x0]['commands'],'parentMenuView':_0xc7bbae,'onExecute':_0x5eaedc})['forEach'](_0x53aa63=>_0x439c99['items']['add'](_0x53aa63)):_0x4b082e['forEach'](({groupId:_0x1e25ca,groupLabel:_0x5804a7,commands:_0xfdb12})=>{const _0x1031b3=new ckeditor5['MenuBarMenuListItemView'](_0x554ff1,_0xc7bbae),_0x28c554=new ckeditor5['MenuBarMenuView'](_0x554ff1),_0x85a9b1=new ckeditor5['MenuBarMenuListView'](_0x554ff1),_0x137b15=this['_getMenuBarGroupButtons']({'command':_0x4dca5c,'commands':_0xfdb12,'parentMenuView':_0x28c554,'onExecute':_0x5eaedc});_0x28c554['buttonView']['set']({'label':_0x5804a7||_0x1e25ca}),_0x28c554['delegate']('execute')['to'](_0xc7bbae),_0x85a9b1['items']['addMany'](_0x137b15),_0x28c554['panelView']['children']['add'](_0x85a9b1),_0x1031b3['children']['add'](_0x28c554),_0x439c99['items']['add'](_0x1031b3);}),_0xc7bbae['panelView']['children']['add'](_0x439c99);}['_getMenuBarGroupButtons']({command:_0x37bc3c,commands:_0x28faae,parentMenuView:_0x402802,onExecute:_0x1f57f4}){const _0x3ec677=this['editor'],_0x5581e1=_0x3ec677['locale'];return sortDefinitionsByOrder(_0x3ec677,_0x28faae)['map'](_0x7025a=>{const _0x214992=new ckeditor5['MenuBarMenuListItemView'](_0x5581e1,_0x402802),_0x5b360f=new ckeditor5['MenuBarMenuListItemButtonView'](_0x5581e1);return _0x5b360f['set']({'label':_0x7025a['label']}),_0x5b360f['delegate']('execute')['to'](_0x402802),_0x5b360f['on']('execute',()=>_0x1f57f4(_0x7025a['id'])),_0x5b360f['bind']('isEnabled')['to'](_0x37bc3c,'enabledCommandsIds',_0x5c74ca=>_0x5c74ca['includes'](_0x7025a['id'])),_0x214992['children']['add'](_0x5b360f),_0x214992;});}}function getMenuDropdownDefinition(_0x3b7c1f){const _0x5949f0=_0x4ea9bc(_0x3b7c1f['config']['get']('ai.assistant.commands'),_0x3b7c1f['locale']),_0x212bee=sortDefinitionsByOrder(_0x3b7c1f,_0x5949f0)['filter'](_0x190a87=>_0x190a87['commands']['length']);return 0x1===_0x212bee['length']?sortDefinitionsByOrder(_0x3b7c1f,_0x212bee[0x0]['commands'])['map'](_0x32bbe2=>({'id':_0x32bbe2['id'],'label':_0x32bbe2['label']})):_0x212bee['map'](_0x27938a=>{const {groupId:_0x445d0c,groupLabel:_0x20051e,commands:_0x3b38ec}=_0x27938a,_0x58aa30=sortDefinitionsByOrder(_0x3b7c1f,_0x3b38ec)['map'](_0x161b65=>({'id':_0x161b65['id'],'label':_0x161b65['label']}));return{'id':_0x445d0c,'menu':_0x20051e||_0x445d0c,'children':_0x58aa30};});}function sortDefinitionsCallback(_0x165f78,_0x14fd94){return void 0x0!==_0x165f78['order']&&void 0x0===_0x14fd94['order']?0x1:void 0x0===_0x165f78['order']&&void 0x0!==_0x14fd94['order']?-0x1:void 0x0!==_0x165f78['order']&&void 0x0!==_0x14fd94['order']?_0x165f78['order']-_0x14fd94['order']:0x0;}function sortDefinitionsByOrder(_0x13d6f8,_0x48fc3b){_0x48fc3b['sort'](sortDefinitionsCallback);const _0x371a86={},_0x1cca24=[];for(const _0x3b146a of _0x48fc3b)if(void 0x0!==_0x3b146a['order']){if(_0x3b146a['order']in _0x371a86)throw new ckeditor5['CKEditorError']('ai-commands-config-order-collision',_0x13d6f8,{'conflictingDefinitions':[_0x3b146a,_0x371a86[_0x3b146a['order']]]});_0x371a86[_0x3b146a['order']]=_0x3b146a,_0x1cca24['splice'](_0x3b146a['order'],0x0,_0x3b146a);}else _0x1cca24['push'](_0x3b146a);return _0x1cca24;}class AIAssistant extends ckeditor5['Plugin']{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e971d){super(_0x4e971d);const _0x4df69e=_0x4e971d['config'],_0x4ab9a5=_0x4e971d['locale'];_0x4df69e['define']('ai.assistant.preserveComments',!0x0),_0x4df69e['define']('ai.assistant.commands',getDefaultAICommands(_0x4ab9a5)),_0x4df69e['define']('ai.assistant.extraCommandGroups',[]),_0x4df69e['define']('ai.assistant.removeCommands',[]);let _0x91f7ac=_0x4ea9bc(_0x4df69e['get']('ai.assistant.commands'),_0x4ab9a5);const _0x28cd79=_0x4df69e['get']('ai.assistant.extraCommandGroups'),_0x956bf3=_0x4df69e['get']('ai.assistant.removeCommands');_0x28cd79['forEach'](_0x172316=>{const _0x4f8fb3=_0x91f7ac['find'](_0x4c0b42=>_0x4c0b42['groupId']===_0x172316['groupId']);_0x4f8fb3?_0x4f8fb3['commands']=_0x4f8fb3['commands']['concat'](_0x172316['commands']):_0x91f7ac['push'](_0x172316);}),_0x91f7ac=_0x91f7ac['filter'](_0x264e23=>!_0x956bf3['includes'](_0x264e23['groupId'])),_0x91f7ac['forEach'](_0x4141c6=>{_0x4141c6['commands']=_0x4141c6['commands']['filter'](_0x4729dc=>!_0x956bf3['includes'](_0x4729dc['id']));}),_0x4df69e['set']('ai.assistant.commands',_0x91f7ac);}}function getDefaultAICommands(_0x38fbaf){return[{'groupId':'editOrReview','groupLabel':getTranslation$j(_0x38fbaf,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':getTranslation$j(_0x38fbaf,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':getTranslation$j(_0x38fbaf,'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':getTranslation$j(_0x38fbaf,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':getTranslation$j(_0x38fbaf,'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':getTranslation$j(_0x38fbaf,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':getTranslation$j(_0x38fbaf,'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':getTranslation$j(_0x38fbaf,'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':getTranslation$j(_0x38fbaf,'Change\x20tone'),'commands':[{'id':'professional','label':getTranslation$j(_0x38fbaf,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':getTranslation$j(_0x38fbaf,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':getTranslation$j(_0x38fbaf,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':getTranslation$j(_0x38fbaf,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':getTranslation$j(_0x38fbaf,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':getTranslation$j(_0x38fbaf,'Change\x20style'),'commands':[{'id':'business','label':getTranslation$j(_0x38fbaf,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':getTranslation$j(_0x38fbaf,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':getTranslation$j(_0x38fbaf,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':getTranslation$j(_0x38fbaf,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':getTranslation$j(_0x38fbaf,'Translate'),'commands':[{'id':'translateEnglish','label':getTranslation$j(_0x38fbaf,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':getTranslation$j(_0x38fbaf,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':getTranslation$j(_0x38fbaf,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':getTranslation$j(_0x38fbaf,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':getTranslation$j(_0x38fbaf,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':getTranslation$j(_0x38fbaf,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':getTranslation$j(_0x38fbaf,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':getTranslation$j(_0x38fbaf,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends ckeditor5['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x778cd3){super(_0x778cd3),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](AIAdapter)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x1ffae9){return this['sendRequest'](_0x1ffae9)['catch'](_0xb6c9b3=>{if(_0xb6c9b3 instanceof AIRequestError)return Promise['reject'](_0xb6c9b3);if('AbortError'==_0xb6c9b3['name'])return Promise['resolve']();throw console['error'](_0xb6c9b3),new ckeditor5['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x2eb464,_0x5eb84d){const _0x508f3d=this['editor']['locale'],_0x342fdd={'Content-Type':'application/json'};if('object'==typeof _0x2eb464)Object['assign'](_0x342fdd,_0x2eb464);else{if(_0x2eb464)try{const _0x2abfb6=await _0x2eb464(_0x5eb84d);Object['assign'](_0x342fdd,_0x2abfb6);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x508f3d,'AI_ERROR_GET_HEADERS')));}}return _0x342fdd;}async['_prepareRequestParameters'](_0x24caff,_0x128eb0){const _0x560aea=this['editor']['locale'];if('object'==typeof _0x24caff)return _0x24caff;try{return await _0x24caff(_0x128eb0);}catch{return Promise['reject'](new AIRequestError(getTranslation$j(_0x560aea,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x2d4c1b){super(_0x2d4c1b),_0x2d4c1b['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x2d4c1b['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x2d4c1b['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x2d4c1b['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x2d4c1b['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x2d4c1b['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x54d736,context:_0x1f19c5,onData:_0x48cf21,actionId:_0x3699fa}){const _0xd00214=this['editor']['locale'],_0x2ef86f=await this['prepareMessages'](_0x54d736,_0x1f19c5,_0x3699fa),_0x7b9fb9=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x3699fa),_0x4f04d1=await this['_prepareRequestParameters'](this['_requestParameters'],_0x3699fa),_0x99e726={'messages':_0x2ef86f,..._0x4f04d1},_0xddba8c={'method':'POST','headers':_0x7b9fb9,'body':JSON['stringify'](_0x99e726),'signal':this['abortController']['signal']},_0x120a81=await fetch(this['_apiUrl'],_0xddba8c);if(_0x120a81['ok'])return _0x4f04d1['stream']?await this['_readStreamableResponse'](_0x120a81,_0x48cf21):await this['_readStaticResponse'](_0x120a81,_0x48cf21),Promise['resolve']();{const _0x1d0b5e=await _0x120a81['text']();return _0x1d0b5e['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(getTranslation$j(_0xd00214,'AI_ERROR_CONTEXT_LENGTH'))):_0x1d0b5e['includes']('Moderation')?Promise['reject'](new AIRequestError(getTranslation$j(_0xd00214,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x1d0b5e));}}async['prepareMessages'](_0x36fd14,_0x479b31,_0x338849){let _0x34579d,_0x3aad49;return _0x479b31?(_0x34579d='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.',_0x3aad49='Instruction:\x0a'+_0x36fd14+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x479b31):(_0x34579d='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.',_0x3aad49=_0x36fd14),[{'role':'system','content':_0x34579d},{'role':'user','content':_0x3aad49}];}async['_readStreamableResponse'](_0x4f51e7,_0x1f8206){const _0x1a45c9=_0x4f51e7['body']['getReader'](),_0x33c631=new TextDecoder();let _0x1c9e6a='',_0x4f1149='',_0x44062d='',_0x4d1e1d=!0x1;for(;!_0x4d1e1d;){const {done:_0x4909b1,value:_0x1d1553}=await _0x1a45c9['read'](),_0x137343=_0x1c9e6a+_0x33c631['decode'](_0x1d1553);let _0x162b9='';_0x4d1e1d=_0x4909b1;try{_0x162b9=this['_cleanUpData'](_0x137343),_0x1c9e6a='';}catch{_0x1c9e6a=_0x137343;continue;}_0x4f1149+=_0x162b9,!_0x4d1e1d&&this['_isBufferIncomplete'](_0x4f1149)||_0x4f1149&&(_0x44062d+=_0x4f1149,_0x4f1149='',_0x1f8206(_0x44062d));}return Promise['resolve']();}async['_readStaticResponse'](_0x557883,_0x791676){return _0x791676((await _0x557883['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x20b09e){const _0x28786e=_0x20b09e['split']('<')['length']!==_0x20b09e['split']('>')['length'],_0x3b47d4=_0x20b09e['length']<0x1e;return _0x28786e&&_0x3b47d4;}['_cleanUpData'](_0x108100){return _0x108100['split'](/\n(?![^{]*\})/g)['map'](_0x2de5e7=>_0x2de5e7['replace']('data:\x20',''))['filter'](_0x48f550=>_0x48f550&&_0x48f550['length']>0x0&&'[DONE]'!==_0x48f550)['map'](_0xfc5c9a=>{const {choices:_0x5c84d5}=JSON['parse'](_0xfc5c9a);if(_0x5c84d5[0x0]?.['delta']?.['content'])return _0x5c84d5[0x0]['delta']['content'];})['filter'](_0x2c62ca=>_0x2c62ca)['join']('');}}function resolveEventStreamConfig(_0x10f919){const _0x390a38=_0x10f919['signer'],_0x496a4f=_0x10f919['signer'],_0x48fa42=Object['assign'](_0x10f919,{'eventSigner':_0x390a38,'messageSigner':_0x496a4f}),_0x3d5458=_0x48fa42['eventStreamPayloadHandlerProvider'](_0x48fa42);return Object['assign'](_0x48fa42,{'eventStreamPayloadHandler':_0x3d5458});}const getHttpHandlerExtensionConfiguration=_0x4c0de3=>({'setHttpHandler'(_0x1336c1){_0x4c0de3['httpHandler']=_0x1336c1;},'httpHandler':()=>_0x4c0de3['httpHandler'],'updateHttpClientConfig'(_0x3e114a,_0x386356){_0x4c0de3['httpHandler']?.['updateHttpClientConfig'](_0x3e114a,_0x386356);},'httpHandlerConfigs':()=>_0x4c0de3['httpHandler']['httpHandlerConfigs']()}),resolveHttpHandlerRuntimeConfig=_0x44536c=>({'httpHandler':_0x44536c['httpHandler']()});var EndpointURLScheme,AlgorithmId;!function(_0x3bfc16){_0x3bfc16['HTTP']='http',_0x3bfc16['HTTPS']='https';}(EndpointURLScheme||(EndpointURLScheme={})),function(_0x1b867c){_0x1b867c['MD5']='md5',_0x1b867c['CRC32']='crc32',_0x1b867c['CRC32C']='crc32c',_0x1b867c['SHA1']='sha1',_0x1b867c['SHA256']='sha256';}(AlgorithmId||(AlgorithmId={}));const _0x486ee7='__smithy_context';class HttpRequest{['method'];['protocol'];['hostname'];['port'];['path'];['query'];['headers'];['username'];['password'];['fragment'];['body'];constructor(_0x136f47){this['method']=_0x136f47['method']||'GET',this['hostname']=_0x136f47['hostname']||'localhost',this['port']=_0x136f47['port'],this['query']=_0x136f47['query']||{},this['headers']=_0x136f47['headers']||{},this['body']=_0x136f47['body'],this['protocol']=_0x136f47['protocol']?':'!==_0x136f47['protocol']['slice'](-0x1)?_0x136f47['protocol']+':':_0x136f47['protocol']:'https:',this['path']=_0x136f47['path']?'/'!==_0x136f47['path']['charAt'](0x0)?'/'+_0x136f47['path']:_0x136f47['path']:'/',this['username']=_0x136f47['username'],this['password']=_0x136f47['password'],this['fragment']=_0x136f47['fragment'];}static['clone'](_0x17792b){const _0xbfa4bb=new HttpRequest({..._0x17792b,'headers':{..._0x17792b['headers']}});return _0xbfa4bb['query']&&(_0xbfa4bb['query']=_0x423954(_0xbfa4bb['query'])),_0xbfa4bb;}static['isInstance'](_0x32d429){if(!_0x32d429)return!0x1;const _0x49987e=_0x32d429;return'method'in _0x49987e&&'protocol'in _0x49987e&&'hostname'in _0x49987e&&'path'in _0x49987e&&'object'==typeof _0x49987e['query']&&'object'==typeof _0x49987e['headers'];}['clone'](){return HttpRequest['clone'](this);}}function _0x423954(_0x5b8951){return Object['keys'](_0x5b8951)['reduce']((_0x37d737,_0x5d7046)=>{const _0x286a81=_0x5b8951[_0x5d7046];return{..._0x37d737,[_0x5d7046]:Array['isArray'](_0x286a81)?[..._0x286a81]:_0x286a81};},{});}class HttpResponse{['statusCode'];['reason'];['headers'];['body'];constructor(_0x370961){this['statusCode']=_0x370961['statusCode'],this['reason']=_0x370961['reason'],this['headers']=_0x370961['headers']||{},this['body']=_0x370961['body'];}static['isInstance'](_0x578ad1){if(!_0x578ad1)return!0x1;const _0x3eed60=_0x578ad1;return'number'==typeof _0x3eed60['statusCode']&&'object'==typeof _0x3eed60['headers'];}}function resolveHostHeaderConfig(_0x58a15c){return _0x58a15c;}const hostHeaderMiddleware=_0x190ef2=>_0x51a11e=>async _0x2abedd=>{if(!HttpRequest['isInstance'](_0x2abedd['request']))return _0x51a11e(_0x2abedd);const {request:_0x3a4f16}=_0x2abedd,{handlerProtocol:_0x399b0a=''}=_0x190ef2['requestHandler']['metadata']||{};if(_0x399b0a['indexOf']('h2')>=0x0&&!_0x3a4f16['headers'][':authority'])delete _0x3a4f16['headers']['host'],_0x3a4f16['headers'][':authority']=_0x3a4f16['hostname']+(_0x3a4f16['port']?':'+_0x3a4f16['port']:'');else{if(!_0x3a4f16['headers']['host']){let _0x3214d3=_0x3a4f16['hostname'];null!=_0x3a4f16['port']&&(_0x3214d3+=':'+_0x3a4f16['port']),_0x3a4f16['headers']['host']=_0x3214d3;}}return _0x51a11e(_0x2abedd);},hostHeaderMiddlewareOptions={'name':'hostHeaderMiddleware','step':'build','priority':'low','tags':['HOST'],'override':!0x0},getHostHeaderPlugin=_0x24dad8=>({'applyToStack':_0x2996f6=>{_0x2996f6['add'](hostHeaderMiddleware(_0x24dad8),hostHeaderMiddlewareOptions);}}),_0x14a89d=()=>(_0x1ab925,_0x2a1790)=>async _0x103771=>{try{const _0x5b4c94=await _0x1ab925(_0x103771),{clientName:_0xa69f55,commandName:_0x32ba78,logger:_0x57bc5e,dynamoDbDocumentClientOptions:_0xe009d8={}}=_0x2a1790,{overrideInputFilterSensitiveLog:_0x3b609f,overrideOutputFilterSensitiveLog:_0x209e7b}=_0xe009d8,_0x4ce549=_0x3b609f??_0x2a1790['inputFilterSensitiveLog'],_0x2ff2d3=_0x209e7b??_0x2a1790['outputFilterSensitiveLog'],{$metadata:_0xe5e5a4,..._0xedeb0f}=_0x5b4c94['output'];return _0x57bc5e?.['info']?.({'clientName':_0xa69f55,'commandName':_0x32ba78,'input':_0x4ce549(_0x103771['input']),'output':_0x2ff2d3(_0xedeb0f),'metadata':_0xe5e5a4}),_0x5b4c94;}catch(_0x39f5f6){const {clientName:_0x5bb767,commandName:_0x152fa5,logger:_0x769fca,dynamoDbDocumentClientOptions:_0x2c7ddb={}}=_0x2a1790,{overrideInputFilterSensitiveLog:_0x15ec28}=_0x2c7ddb,_0x44a654=_0x15ec28??_0x2a1790['inputFilterSensitiveLog'];throw _0x769fca?.['error']?.({'clientName':_0x5bb767,'commandName':_0x152fa5,'input':_0x44a654(_0x103771['input']),'error':_0x39f5f6,'metadata':_0x39f5f6['$metadata']}),_0x39f5f6;}},loggerMiddlewareOptions={'name':'loggerMiddleware','tags':['LOGGER'],'step':'initialize','override':!0x0},getLoggerPlugin=_0xd4baa7=>({'applyToStack':_0xcd735d=>{_0xcd735d['add'](_0x14a89d(),loggerMiddlewareOptions);}}),recursionDetectionMiddlewareOptions={'step':'build','tags':['RECURSION_DETECTION'],'name':'recursionDetectionMiddleware','override':!0x0,'priority':'low'},recursionDetectionMiddleware=()=>_0xcc2315=>async _0x44d5a2=>_0xcc2315(_0x44d5a2),getRecursionDetectionPlugin=_0x28cd24=>({'applyToStack':_0x5625f4=>{_0x5625f4['add'](recursionDetectionMiddleware(),recursionDetectionMiddlewareOptions);}}),getSmithyContext=_0x4d609f=>_0x4d609f[_0x486ee7]||(_0x4d609f[_0x486ee7]={}),_0x453897=_0x22b1e1=>{if('function'==typeof _0x22b1e1)return _0x22b1e1;const _0x5525dd=Promise['resolve'](_0x22b1e1);return()=>_0x5525dd;},resolveAuthOptions=(_0x4afeeb,_0x434a9b)=>{if(!_0x434a9b||0x0===_0x434a9b['length'])return _0x4afeeb;const _0x2da133=[];for(const _0x4205ad of _0x434a9b)for(const _0x52dc7b of _0x4afeeb){_0x52dc7b['schemeId']['split']('#')[0x1]===_0x4205ad&&_0x2da133['push'](_0x52dc7b);}for(const _0x30cc1d of _0x4afeeb)_0x2da133['find'](({schemeId:_0x49541e})=>_0x49541e===_0x30cc1d['schemeId'])||_0x2da133['push'](_0x30cc1d);return _0x2da133;};function convertHttpAuthSchemesToMap(_0x3d59a2){const _0x38fbe2=new Map();for(const _0x464872 of _0x3d59a2)_0x38fbe2['set'](_0x464872['schemeId'],_0x464872);return _0x38fbe2;}const httpAuthSchemeMiddleware=(_0x3eba79,_0x4b23b9)=>(_0x35eb87,_0x55bcd0)=>async _0x124359=>{const _0x55b576=_0x3eba79['httpAuthSchemeProvider'](await _0x4b23b9['httpAuthSchemeParametersProvider'](_0x3eba79,_0x55bcd0,_0x124359['input'])),_0x42e242=_0x3eba79['authSchemePreference']?await _0x3eba79['authSchemePreference']():[],_0x4ba69a=resolveAuthOptions(_0x55b576,_0x42e242),_0x157ea6=convertHttpAuthSchemesToMap(_0x3eba79['httpAuthSchemes']),_0x43801e=getSmithyContext(_0x55bcd0),_0x3935ad=[];for(const _0x4f5b9f of _0x4ba69a){const _0x2bacc0=_0x157ea6['get'](_0x4f5b9f['schemeId']);if(!_0x2bacc0){_0x3935ad['push']('HttpAuthScheme\x20`'+_0x4f5b9f['schemeId']+'`\x20was\x20not\x20enabled\x20for\x20this\x20service.');continue;}const _0x274e6d=_0x2bacc0['identityProvider'](await _0x4b23b9['identityProviderConfigProvider'](_0x3eba79));if(!_0x274e6d){_0x3935ad['push']('HttpAuthScheme\x20`'+_0x4f5b9f['schemeId']+'`\x20did\x20not\x20have\x20an\x20IdentityProvider\x20configured.');continue;}const {identityProperties:_0x1a243a={},signingProperties:_0x3ba175={}}=_0x4f5b9f['propertiesExtractor']?.(_0x3eba79,_0x55bcd0)||{};_0x4f5b9f['identityProperties']=Object['assign'](_0x4f5b9f['identityProperties']||{},_0x1a243a),_0x4f5b9f['signingProperties']=Object['assign'](_0x4f5b9f['signingProperties']||{},_0x3ba175),_0x43801e['selectedHttpAuthScheme']={'httpAuthOption':_0x4f5b9f,'identity':await _0x274e6d(_0x4f5b9f['identityProperties']),'signer':_0x2bacc0['signer']};break;}if(!_0x43801e['selectedHttpAuthScheme'])throw new Error(_0x3935ad['join']('\x0a'));return _0x35eb87(_0x124359);},httpAuthSchemeEndpointRuleSetMiddlewareOptions={'step':'serialize','tags':['HTTP_AUTH_SCHEME'],'name':'httpAuthSchemeMiddleware','override':!0x0,'relation':'before','toMiddleware':'endpointV2Middleware'},getHttpAuthSchemeEndpointRuleSetPlugin=(_0x2fdaa1,{httpAuthSchemeParametersProvider:_0x22e61f,identityProviderConfigProvider:_0x496d25})=>({'applyToStack':_0x5e2222=>{_0x5e2222['addRelativeTo'](httpAuthSchemeMiddleware(_0x2fdaa1,{'httpAuthSchemeParametersProvider':_0x22e61f,'identityProviderConfigProvider':_0x496d25}),httpAuthSchemeEndpointRuleSetMiddlewareOptions);}}),serializerMiddlewareOption$1={'name':'serializerMiddleware'},defaultErrorHandler=_0x5e0c64=>_0x162fa2=>{throw _0x162fa2;},defaultSuccessHandler=(_0x309903,_0x5282b7)=>{},httpSigningMiddleware=_0x117bf4=>(_0x597384,_0x485e3d)=>async _0x2643b7=>{if(!HttpRequest['isInstance'](_0x2643b7['request']))return _0x597384(_0x2643b7);const _0x50b12d=getSmithyContext(_0x485e3d)['selectedHttpAuthScheme'];if(!_0x50b12d)throw new Error('No\x20HttpAuthScheme\x20was\x20selected:\x20unable\x20to\x20sign\x20request');const {httpAuthOption:{signingProperties:_0x2a1523={}},identity:_0x13c830,signer:_0x51bdeb}=_0x50b12d,_0x430a67=await _0x597384({..._0x2643b7,'request':await _0x51bdeb['sign'](_0x2643b7['request'],_0x13c830,_0x2a1523)})['catch']((_0x51bdeb['errorHandler']||defaultErrorHandler)(_0x2a1523));return(_0x51bdeb['successHandler']||defaultSuccessHandler)(_0x430a67['response'],_0x2a1523),_0x430a67;},httpSigningMiddlewareOptions={'step':'finalizeRequest','tags':['HTTP_SIGNING'],'name':'httpSigningMiddleware','aliases':['apiKeyMiddleware','tokenMiddleware','awsAuthMiddleware'],'override':!0x0,'relation':'after','toMiddleware':'retryMiddleware'},getHttpSigningPlugin=_0x4c6f2b=>({'applyToStack':_0x16bb12=>{_0x16bb12['addRelativeTo'](httpSigningMiddleware(),httpSigningMiddlewareOptions);}}),_0x593c07=_0xfa9298=>{if('function'==typeof _0xfa9298)return _0xfa9298;const _0x4981c7=Promise['resolve'](_0xfa9298);return()=>_0x4981c7;},_0x375b80='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',alphabetByEncoding=Object['entries'](_0x375b80)['reduce']((_0x5a4e5b,[_0x37e27f,_0x274bbc])=>(_0x5a4e5b[_0x274bbc]=Number(_0x37e27f),_0x5a4e5b),{}),alphabetByValue=_0x375b80['split'](''),bitsPerLetter=0x6,bitsPerByte=0x8,maxLetterValue=0x3f,_0x2714ba=_0x26bfcb=>{let _0x59b2b2=_0x26bfcb['length']/0x4*0x3;'=='===_0x26bfcb['slice'](-0x2)?_0x59b2b2-=0x2:'='===_0x26bfcb['slice'](-0x1)&&_0x59b2b2--;const _0x480461=new ArrayBuffer(_0x59b2b2),_0x2e7280=new DataView(_0x480461);for(let _0x53fc66=0x0;_0x53fc66<_0x26bfcb['length'];_0x53fc66+=0x4){let _0x2cb50d=0x0,_0x3c6f47=0x0;for(let _0x2a99e7=_0x53fc66,_0x3546ae=_0x53fc66+0x3;_0x2a99e7<=_0x3546ae;_0x2a99e7++)if('='!==_0x26bfcb[_0x2a99e7]){if(!(_0x26bfcb[_0x2a99e7]in alphabetByEncoding))throw new TypeError('Invalid\x20character\x20'+_0x26bfcb[_0x2a99e7]+'\x20in\x20base64\x20string.');_0x2cb50d|=alphabetByEncoding[_0x26bfcb[_0x2a99e7]]<<(_0x3546ae-_0x2a99e7)*bitsPerLetter,_0x3c6f47+=bitsPerLetter;}else _0x2cb50d>>=bitsPerLetter;const _0x347fd7=_0x53fc66/0x4*0x3;_0x2cb50d>>=_0x3c6f47%bitsPerByte;const _0x5daed3=Math['floor'](_0x3c6f47/bitsPerByte);for(let _0x564d94=0x0;_0x564d94<_0x5daed3;_0x564d94++){const _0x222194=(_0x5daed3-_0x564d94-0x1)*bitsPerByte;_0x2e7280['setUint8'](_0x347fd7+_0x564d94,(_0x2cb50d&0xff<<_0x222194)>>_0x222194);}}return new Uint8Array(_0x480461);},fromUtf8$2=_0x527b68=>new TextEncoder()['encode'](_0x527b68),toUint8Array=_0xa7d395=>'string'==typeof _0xa7d395?fromUtf8$2(_0xa7d395):ArrayBuffer['isView'](_0xa7d395)?new Uint8Array(_0xa7d395['buffer'],_0xa7d395['byteOffset'],_0xa7d395['byteLength']/Uint8Array['BYTES_PER_ELEMENT']):new Uint8Array(_0xa7d395),toUtf8=_0x22f875=>{if('string'==typeof _0x22f875)return _0x22f875;if('object'!=typeof _0x22f875||'number'!=typeof _0x22f875['byteOffset']||'number'!=typeof _0x22f875['byteLength'])throw new Error('@smithy/util-utf8:\x20toUtf8\x20encoder\x20function\x20only\x20accepts\x20string\x20|\x20Uint8Array.');return new TextDecoder('utf-8')['decode'](_0x22f875);};function toBase64(_0x582716){let _0x142b7d;_0x142b7d='string'==typeof _0x582716?fromUtf8$2(_0x582716):_0x582716;const _0x474fbb='object'==typeof _0x142b7d&&'number'==typeof _0x142b7d['length'],_0x34d61c='object'==typeof _0x142b7d&&'number'==typeof _0x142b7d['byteOffset']&&'number'==typeof _0x142b7d['byteLength'];if(!_0x474fbb&&!_0x34d61c)throw new Error('@smithy/util-base64:\x20toBase64\x20encoder\x20function\x20only\x20accepts\x20string\x20|\x20Uint8Array.');let _0x1bb904='';for(let _0x178149=0x0;_0x178149<_0x142b7d['length'];_0x178149+=0x3){let _0x2c8ce5=0x0,_0x21305d=0x0;for(let _0x5aa1ce=_0x178149,_0x2bbfdd=Math['min'](_0x178149+0x3,_0x142b7d['length']);_0x5aa1ce<_0x2bbfdd;_0x5aa1ce++)_0x2c8ce5|=_0x142b7d[_0x5aa1ce]<<(_0x2bbfdd-_0x5aa1ce-0x1)*bitsPerByte,_0x21305d+=bitsPerByte;const _0x3e5d46=Math['ceil'](_0x21305d/bitsPerLetter);_0x2c8ce5<<=_0x3e5d46*bitsPerLetter-_0x21305d;for(let _0x5726c3=0x1;_0x5726c3<=_0x3e5d46;_0x5726c3++){const _0x58005d=(_0x3e5d46-_0x5726c3)*bitsPerLetter;_0x1bb904+=alphabetByValue[(_0x2c8ce5&maxLetterValue<<_0x58005d)>>_0x58005d];}_0x1bb904+='=='['slice'](0x0,0x4-_0x3e5d46);}return _0x1bb904;}class Uint8ArrayBlobAdapter extends Uint8Array{static['fromString'](_0x37a056,_0x50ffae='utf-8'){if('string'==typeof _0x37a056)return'base64'===_0x50ffae?Uint8ArrayBlobAdapter['mutate'](_0x2714ba(_0x37a056)):Uint8ArrayBlobAdapter['mutate'](fromUtf8$2(_0x37a056));throw new Error('Unsupported\x20conversion\x20from\x20'+typeof _0x37a056+'\x20to\x20Uint8ArrayBlobAdapter.');}static['mutate'](_0x5aa98e){return Object['setPrototypeOf'](_0x5aa98e,Uint8ArrayBlobAdapter['prototype']),_0x5aa98e;}['transformToString'](_0x57711f='utf-8'){return'base64'===_0x57711f?toBase64(this):toUtf8(this);}}const isReadableStream$2=_0x558bdf=>'function'==typeof ReadableStream&&(_0x558bdf?.['constructor']?.['name']===ReadableStream['name']||_0x558bdf instanceof ReadableStream),_0x595436=_0x4575ed=>encodeURIComponent(_0x4575ed)['replace'](/[!'()*]/g,_0x4ff830),_0x4ff830=_0x4a6160=>'%'+_0x4a6160['charCodeAt'](0x0)['toString'](0x10)['toUpperCase']();function buildQueryString(_0x3f7a3b){const _0x35e315=[];for(let _0x25d45f of Object['keys'](_0x3f7a3b)['sort']()){const _0x5d52b7=_0x3f7a3b[_0x25d45f];if(_0x25d45f=_0x595436(_0x25d45f),Array['isArray'](_0x5d52b7)){for(let _0x117a19=0x0,_0x380b6d=_0x5d52b7['length'];_0x117a19<_0x380b6d;_0x117a19++)_0x35e315['push'](_0x25d45f+'='+_0x595436(_0x5d52b7[_0x117a19]));}else{let _0xa2429b=_0x25d45f;(_0x5d52b7||'string'==typeof _0x5d52b7)&&(_0xa2429b+='='+_0x595436(_0x5d52b7)),_0x35e315['push'](_0xa2429b);}}return _0x35e315['join']('&');}function createRequest(_0x48bd26,_0x442c40){return new Request(_0x48bd26,_0x442c40);}function requestTimeout(_0x1ec7f1=0x0){return new Promise((_0xf237a0,_0x5a5134)=>{_0x1ec7f1&&setTimeout(()=>{const _0x2a3f40=new Error('Request\x20did\x20not\x20complete\x20within\x20'+_0x1ec7f1+'\x20ms');_0x2a3f40['name']='TimeoutError',_0x5a5134(_0x2a3f40);},_0x1ec7f1);});}const keepAliveSupport={'supported':void 0x0};class FetchHttpHandler{['config'];['configProvider'];static['create'](_0x396bb3){return'function'==typeof _0x396bb3?.['handle']?_0x396bb3:new FetchHttpHandler(_0x396bb3);}constructor(_0x471140){'function'==typeof _0x471140?this['configProvider']=_0x471140()['then'](_0xcc4615=>_0xcc4615||{}):(this['config']=_0x471140??{},this['configProvider']=Promise['resolve'](this['config'])),void 0x0===keepAliveSupport['supported']&&(keepAliveSupport['supported']=Boolean('undefined'!=typeof Request&&'keepalive'in createRequest('https://[::1]')));}['destroy'](){}async['handle'](_0x1ca79e,{abortSignal:_0x3cbe4e,requestTimeout:_0x8e504d}={}){this['config']||(this['config']=await this['configProvider']);const _0x58f6ff=_0x8e504d??this['config']['requestTimeout'],_0x5b63ff=!0x0===this['config']['keepAlive'],_0x2274d1=this['config']['credentials'];if(_0x3cbe4e?.['aborted']){const _0x5b22b2=new Error('Request\x20aborted');return _0x5b22b2['name']='AbortError',Promise['reject'](_0x5b22b2);}let _0x18334d=_0x1ca79e['path'];const _0x1e16d5=buildQueryString(_0x1ca79e['query']||{});_0x1e16d5&&(_0x18334d+='?'+_0x1e16d5),_0x1ca79e['fragment']&&(_0x18334d+='#'+_0x1ca79e['fragment']);let _0x259333='';(null!=_0x1ca79e['username']||null!=_0x1ca79e['password'])&&(_0x259333=(_0x1ca79e['username']??'')+':'+(_0x1ca79e['password']??'')+'@');const {port:_0x15e430,method:_0x14249e}=_0x1ca79e,_0x252846=_0x1ca79e['protocol']+'//'+_0x259333+_0x1ca79e['hostname']+(_0x15e430?':'+_0x15e430:'')+_0x18334d,_0xdae2f8='GET'===_0x14249e||'HEAD'===_0x14249e?void 0x0:_0x1ca79e['body'],_0x428087={'body':_0xdae2f8,'headers':new Headers(_0x1ca79e['headers']),'method':_0x14249e,'credentials':_0x2274d1};this['config']?.['cache']&&(_0x428087['cache']=this['config']['cache']),_0xdae2f8&&(_0x428087['duplex']='half'),'undefined'!=typeof AbortController&&(_0x428087['signal']=_0x3cbe4e),keepAliveSupport['supported']&&(_0x428087['keepalive']=_0x5b63ff),'function'==typeof this['config']['requestInit']&&Object['assign'](_0x428087,this['config']['requestInit'](_0x1ca79e));let _0x353a66=()=>{};const _0x111a7a=createRequest(_0x252846,_0x428087),_0x4d5947=[fetch(_0x111a7a)['then'](_0x3082fb=>{const _0x5332eb=_0x3082fb['headers'],_0x238cab={};for(const _0x2a19e2 of _0x5332eb['entries']())_0x238cab[_0x2a19e2[0x0]]=_0x2a19e2[0x1];return null!=_0x3082fb['body']?{'response':new HttpResponse({'headers':_0x238cab,'reason':_0x3082fb['statusText'],'statusCode':_0x3082fb['status'],'body':_0x3082fb['body']})}:_0x3082fb['blob']()['then'](_0x316a62=>({'response':new HttpResponse({'headers':_0x238cab,'reason':_0x3082fb['statusText'],'statusCode':_0x3082fb['status'],'body':_0x316a62})}));}),requestTimeout(_0x58f6ff)];return _0x3cbe4e&&_0x4d5947['push'](new Promise((_0x14fe95,_0x1b5729)=>{const _0xf59f41=()=>{const _0x370b88=new Error('Request\x20aborted');_0x370b88['name']='AbortError',_0x1b5729(_0x370b88);};if('function'==typeof _0x3cbe4e['addEventListener']){const _0x368564=_0x3cbe4e;_0x368564['addEventListener']('abort',_0xf59f41,{'once':!0x0}),_0x353a66=()=>_0x368564['removeEventListener']('abort',_0xf59f41);}else _0x3cbe4e['onabort']=_0xf59f41;})),Promise['race'](_0x4d5947)['finally'](_0x353a66);}['updateHttpClientConfig'](_0x439f95,_0x29a009){this['config']=void 0x0,this['configProvider']=this['configProvider']['then'](_0xd6b5f9=>(_0xd6b5f9[_0x439f95]=_0x29a009,_0xd6b5f9));}['httpHandlerConfigs'](){return this['config']??{};}}const streamCollector=async _0xa4c876=>'function'==typeof Blob&&_0xa4c876 instanceof Blob||'Blob'===_0xa4c876['constructor']?.['name']?void 0x0!==Blob['prototype']['arrayBuffer']?new Uint8Array(await _0xa4c876['arrayBuffer']()):collectBlob(_0xa4c876):collectStream(_0xa4c876);async function collectBlob(_0x46e3c4){const _0x437411=await _0x319aac(_0x46e3c4),_0x3267cd=_0x2714ba(_0x437411);return new Uint8Array(_0x3267cd);}async function collectStream(_0x27a187){const _0x4968a5=[],_0x20ebaa=_0x27a187['getReader']();let _0xaab5ab=!0x1,_0x16062f=0x0;for(;!_0xaab5ab;){const {done:_0x21aab8,value:_0x4a691b}=await _0x20ebaa['read']();_0x4a691b&&(_0x4968a5['push'](_0x4a691b),_0x16062f+=_0x4a691b['length']),_0xaab5ab=_0x21aab8;}const _0x2db31d=new Uint8Array(_0x16062f);let _0x28ca8e=0x0;for(const _0x1599cb of _0x4968a5)_0x2db31d['set'](_0x1599cb,_0x28ca8e),_0x28ca8e+=_0x1599cb['length'];return _0x2db31d;}function _0x319aac(_0x43ef02){return new Promise((_0x228f8a,_0x54c157)=>{const _0x26a16c=new FileReader();_0x26a16c['onloadend']=()=>{if(0x2!==_0x26a16c['readyState'])return _0x54c157(new Error('Reader\x20aborted\x20too\x20early'));const _0x1f7352=_0x26a16c['result']??'',_0x50da8d=_0x1f7352['indexOf'](','),_0x734632=_0x50da8d>-0x1?_0x50da8d+0x1:_0x1f7352['length'];_0x228f8a(_0x1f7352['substring'](_0x734632));},_0x26a16c['onabort']=()=>_0x54c157(new Error('Read\x20aborted')),_0x26a16c['onerror']=()=>_0x54c157(_0x26a16c['error']),_0x26a16c['readAsDataURL'](_0x43ef02);});}const _0x3a835c={},_0x2e0f07={};for(let _0x558d8f=0x0;_0x558d8f<0x100;_0x558d8f++){let _0x182514=_0x558d8f['toString'](0x10)['toLowerCase']();0x1===_0x182514['length']&&(_0x182514='0'+_0x182514),_0x3a835c[_0x558d8f]=_0x182514,_0x2e0f07[_0x182514]=_0x558d8f;}function _0x2d7fdc(_0x341fec){if(_0x341fec['length']%0x2!=0x0)throw new Error('Hex\x20encoded\x20strings\x20must\x20have\x20an\x20even\x20number\x20length');const _0x5d6115=new Uint8Array(_0x341fec['length']/0x2);for(let _0x512c0e=0x0;_0x512c0e<_0x341fec['length'];_0x512c0e+=0x2){const _0x5c6999=_0x341fec['slice'](_0x512c0e,_0x512c0e+0x2)['toLowerCase']();if(!(_0x5c6999 in _0x2e0f07))throw new Error('Cannot\x20decode\x20unrecognized\x20sequence\x20'+_0x5c6999+'\x20as\x20hexadecimal');_0x5d6115[_0x512c0e/0x2]=_0x2e0f07[_0x5c6999];}return _0x5d6115;}function toHex(_0x477a1b){let _0x42b1e4='';for(let _0x468e88=0x0;_0x468e88<_0x477a1b['byteLength'];_0x468e88++)_0x42b1e4+=_0x3a835c[_0x477a1b[_0x468e88]];return _0x42b1e4;}const _0x11e3d6='The\x20stream\x20has\x20already\x20been\x20transformed.',sdkStreamMixin=_0x81634b=>{if(!isBlobInstance(_0x81634b)&&!isReadableStream$2(_0x81634b))throw new Error('Unexpected\x20stream\x20implementation,\x20expect\x20Blob\x20or\x20ReadableStream,\x20got\x20'+(_0x81634b?.['__proto__']?.['constructor']?.['name']||_0x81634b));let _0x256559=!0x1;const _0x28d2de=async()=>{if(_0x256559)throw new Error(_0x11e3d6);return _0x256559=!0x0,await streamCollector(_0x81634b);};return Object['assign'](_0x81634b,{'transformToByteArray':_0x28d2de,'transformToString':async _0x4c7ecf=>{const _0x5b1ec8=await _0x28d2de();if('base64'===_0x4c7ecf)return toBase64(_0x5b1ec8);if('hex'===_0x4c7ecf)return toHex(_0x5b1ec8);if(void 0x0===_0x4c7ecf||'utf8'===_0x4c7ecf||'utf-8'===_0x4c7ecf)return toUtf8(_0x5b1ec8);if('function'==typeof TextDecoder)return new TextDecoder(_0x4c7ecf)['decode'](_0x5b1ec8);throw new Error('TextDecoder\x20is\x20not\x20available,\x20please\x20make\x20sure\x20polyfill\x20is\x20provided.');},'transformToWebStream':()=>{if(_0x256559)throw new Error(_0x11e3d6);if(_0x256559=!0x0,isBlobInstance(_0x81634b))return(_0x54558d=>{if('function'!=typeof _0x54558d['stream'])throw new Error('Cannot\x20transform\x20payload\x20Blob\x20to\x20web\x20stream.\x20Please\x20make\x20sure\x20the\x20Blob.stream()\x20is\x20polyfilled.\x0aIf\x20you\x20are\x20using\x20React\x20Native,\x20this\x20API\x20is\x20not\x20yet\x20supported,\x20see:\x20https://react-native.canny.io/feature-requests/p/fetch-streaming-body');return _0x54558d['stream']();})(_0x81634b);if(isReadableStream$2(_0x81634b))return _0x81634b;throw new Error('Cannot\x20transform\x20payload\x20to\x20web\x20stream,\x20got\x20'+_0x81634b);}});},isBlobInstance=_0x7451d=>'function'==typeof Blob&&_0x7451d instanceof Blob,collectBody=async(_0x194b74=new Uint8Array(),_0x57c9b0)=>{if(_0x194b74 instanceof Uint8Array)return Uint8ArrayBlobAdapter['mutate'](_0x194b74);if(!_0x194b74)return Uint8ArrayBlobAdapter['mutate'](new Uint8Array());const _0x4227f4=_0x57c9b0['streamCollector'](_0x194b74);return Uint8ArrayBlobAdapter['mutate'](await _0x4227f4);};function extendedEncodeURIComponent(_0x4dd799){return encodeURIComponent(_0x4dd799)['replace'](/[!'()*]/g,function(_0x2bb866){return'%'+_0x2bb866['charCodeAt'](0x0)['toString'](0x10)['toUpperCase']();});}const _0x38d091=_0x1b1401=>'function'==typeof _0x1b1401?_0x1b1401():_0x1b1401,operation=(_0x2766b9,_0x3d83b2,_0x1dbb4e,_0x77e487,_0x4bf281)=>({'name':_0x3d83b2,'namespace':_0x2766b9,'traits':_0x1dbb4e,'input':_0x77e487,'output':_0x4bf281}),schemaDeserializationMiddleware=_0x4b0e98=>(_0x2a9d51,_0x175e08)=>async _0x457f08=>{const {response:_0x479583}=await _0x2a9d51(_0x457f08),{operationSchema:_0x1f0177}=getSmithyContext(_0x175e08),[,_0x4183b8,_0x4fb933,t,_0x47b411,_0x25f47c]=_0x1f0177??[];try{return{'response':_0x479583,'output':await _0x4b0e98['protocol']['deserializeResponse'](operation(_0x4183b8,_0x4fb933,t,_0x47b411,_0x25f47c),{..._0x4b0e98,..._0x175e08},_0x479583)};}catch(_0x3e013b){if(Object['defineProperty'](_0x3e013b,'$response',{'value':_0x479583,'enumerable':!0x1,'writable':!0x1,'configurable':!0x1}),!('$metadata'in _0x3e013b)){const _0x3460fd='Deserialization\x20error:\x20to\x20see\x20the\x20raw\x20response,\x20inspect\x20the\x20hidden\x20field\x20{error}.$response\x20on\x20this\x20object.';try{_0x3e013b['message']+='\x0a\x20\x20'+_0x3460fd;}catch(_0x293f9e){_0x175e08['logger']&&'NoOpLogger'!==_0x175e08['logger']?.['constructor']?.['name']?_0x175e08['logger']?.['warn']?.(_0x3460fd):console['warn'](_0x3460fd);}void 0x0!==_0x3e013b['$responseBodyText']&&_0x3e013b['$response']&&(_0x3e013b['$response']['body']=_0x3e013b['$responseBodyText']);try{if(HttpResponse['isInstance'](_0x479583)){const {headers:_0x18e46c={}}=_0x479583,_0x4eb5e4=Object['entries'](_0x18e46c);_0x3e013b['$metadata']={'httpStatusCode':_0x479583['statusCode'],'requestId':_0x3f366d(/^x-[\w-]+-request-?id$/,_0x4eb5e4),'extendedRequestId':_0x3f366d(/^x-[\w-]+-id-2$/,_0x4eb5e4),'cfId':_0x3f366d(/^x-[\w-]+-cf-id$/,_0x4eb5e4)};}}catch(_0x1a001a){}}throw _0x3e013b;}},_0x3f366d=(_0x14f690,_0x6dfd4c)=>(_0x6dfd4c['find'](([_0x505747])=>_0x505747['match'](_0x14f690))||[void 0x0,void 0x0])[0x1],schemaSerializationMiddleware=_0x4eda3d=>(_0xa9579e,_0x1612d2)=>async _0x3107eb=>{const {operationSchema:_0x22365e}=getSmithyContext(_0x1612d2),[,_0x5d1ae4,_0x2dc1b6,t,_0x54dad2,_0x404712]=_0x22365e??[],_0x21a5bc=_0x1612d2['endpointV2']?.['url']&&_0x4eda3d['urlParser']?async()=>_0x4eda3d['urlParser'](_0x1612d2['endpointV2']['url']):_0x4eda3d['endpoint'],_0x13cfd4=await _0x4eda3d['protocol']['serializeRequest'](operation(_0x5d1ae4,_0x2dc1b6,t,_0x54dad2,_0x404712),_0x3107eb['input'],{..._0x4eda3d,..._0x1612d2,'endpoint':_0x21a5bc});return _0xa9579e({..._0x3107eb,'request':_0x13cfd4});},deserializerMiddlewareOption={'name':'deserializerMiddleware','step':'deserialize','tags':['DESERIALIZER'],'override':!0x0},serializerMiddlewareOption={'name':'serializerMiddleware','step':'serialize','tags':['SERIALIZER'],'override':!0x0};function getSchemaSerdePlugin(_0x2af5c4){return{'applyToStack':_0x3e316c=>{_0x3e316c['add'](schemaSerializationMiddleware(_0x2af5c4),serializerMiddlewareOption),_0x3e316c['add'](schemaDeserializationMiddleware(_0x2af5c4),deserializerMiddlewareOption),_0x2af5c4['protocol']['setSerdeContext'](_0x2af5c4);}};}function translateTraits(_0x2e735d){if('object'==typeof _0x2e735d)return _0x2e735d;_0x2e735d|=0x0;const _0x19729d={};let _0x4739cc=0x0;for(const _0x169560 of['httpLabel','idempotent','idempotencyToken','sensitive','httpPayload','httpResponseCode','httpQueryParams'])0x1==(_0x2e735d>>_0x4739cc++&0x1)&&(_0x19729d[_0x169560]=0x1);return _0x19729d;}const _0x5686b2={'it':Symbol['for']('@smithy/nor-struct-it')};class _0x52c856{['ref'];['memberName'];static ['symbol']=Symbol['for']('@smithy/nor');['symbol']=_0x52c856['symbol'];['name'];['schema'];['_isMemberSchema'];['traits'];['memberTraits'];['normalizedTraits'];constructor(_0x3f1d8d,_0xbbccad){this['ref']=_0x3f1d8d,this['memberName']=_0xbbccad;const _0x61101f=[];let _0x3440fc=_0x3f1d8d,_0x17c6d7=_0x3f1d8d;for(this['_isMemberSchema']=!0x1;_0x1be025(_0x3440fc);)_0x61101f['push'](_0x3440fc[0x1]),_0x3440fc=_0x3440fc[0x0],_0x17c6d7=_0x38d091(_0x3440fc),this['_isMemberSchema']=!0x0;if(_0x61101f['length']>0x0){this['memberTraits']={};for(let _0xb4dd5f=_0x61101f['length']-0x1;_0xb4dd5f>=0x0;--_0xb4dd5f){const _0x4aafc0=_0x61101f[_0xb4dd5f];Object['assign'](this['memberTraits'],translateTraits(_0x4aafc0));}}else this['memberTraits']=0x0;if(_0x17c6d7 instanceof _0x52c856){const _0x150320=this['memberTraits'];return Object['assign'](this,_0x17c6d7),this['memberTraits']=Object['assign']({},_0x150320,_0x17c6d7['getMemberTraits'](),this['getMemberTraits']()),this['normalizedTraits']=void 0x0,void(this['memberName']=_0xbbccad??_0x17c6d7['memberName']);}if(this['schema']=_0x38d091(_0x17c6d7),isStaticSchema(this['schema'])?(this['name']=this['schema'][0x1]+'#'+this['schema'][0x2],this['traits']=this['schema'][0x3]):(this['name']=this['memberName']??String(_0x17c6d7),this['traits']=0x0),this['_isMemberSchema']&&!_0xbbccad)throw new Error('@smithy/core/schema\x20-\x20NormalizedSchema\x20member\x20init\x20'+this['getName'](!0x0)+'\x20missing\x20member\x20name.');}static[Symbol['hasInstance']](_0x1cc378){const _0x376045=this['prototype']['isPrototypeOf'](_0x1cc378);if(!_0x376045&&'object'==typeof _0x1cc378&&null!==_0x1cc378)return _0x1cc378['symbol']===this['symbol'];return _0x376045;}static['of'](_0x4dc54a){const _0x21f2a5=_0x38d091(_0x4dc54a);if(_0x21f2a5 instanceof _0x52c856)return _0x21f2a5;if(_0x1be025(_0x21f2a5)){const [_0x472852,_0x2e4a8b]=_0x21f2a5;if(_0x472852 instanceof _0x52c856)return Object['assign'](_0x472852['getMergedTraits'](),translateTraits(_0x2e4a8b)),_0x472852;throw new Error('@smithy/core/schema\x20-\x20may\x20not\x20init\x20unwrapped\x20member\x20schema='+JSON['stringify'](_0x4dc54a,null,0x2)+'.');}return new _0x52c856(_0x21f2a5);}['getSchema'](){const _0x2a3383=this['schema'];return Array['isArray'](_0x2a3383)&&0x0===_0x2a3383[0x0]?_0x2a3383[0x4]:_0x2a3383;}['getName'](_0x265adf=!0x1){const {name:_0xe5a827}=this;return!_0x265adf&&_0xe5a827&&_0xe5a827['includes']('#')?_0xe5a827['split']('#')[0x1]:_0xe5a827||void 0x0;}['getMemberName'](){return this['memberName'];}['isMemberSchema'](){return this['_isMemberSchema'];}['isListSchema'](){const _0x588cfb=this['getSchema']();return'number'==typeof _0x588cfb?_0x588cfb>=0x40&&_0x588cfb<0x80:0x1===_0x588cfb[0x0];}['isMapSchema'](){const _0x83d64c=this['getSchema']();return'number'==typeof _0x83d64c?_0x83d64c>=0x80&&_0x83d64c<=0xff:0x2===_0x83d64c[0x0];}['isStructSchema'](){const _0xc97f0f=this['getSchema']();if('object'!=typeof _0xc97f0f)return!0x1;const _0x4b756d=_0xc97f0f[0x0];return 0x3===_0x4b756d||-0x3===_0x4b756d||0x4===_0x4b756d;}['isUnionSchema'](){const _0x49f3bc=this['getSchema']();return'object'==typeof _0x49f3bc&&0x4===_0x49f3bc[0x0];}['isBlobSchema'](){const _0x403d0b=this['getSchema']();return 0x15===_0x403d0b||0x2a===_0x403d0b;}['isTimestampSchema'](){const _0x373271=this['getSchema']();return'number'==typeof _0x373271&&_0x373271>=0x4&&_0x373271<=0x7;}['isUnitSchema'](){return'unit'===this['getSchema']();}['isDocumentSchema'](){return 0xf===this['getSchema']();}['isStringSchema'](){return 0x0===this['getSchema']();}['isBooleanSchema'](){return 0x2===this['getSchema']();}['isNumericSchema'](){return 0x1===this['getSchema']();}['isBigIntegerSchema'](){return 0x11===this['getSchema']();}['isBigDecimalSchema'](){return 0x13===this['getSchema']();}['isStreaming'](){const {streaming:_0x32cbc6}=this['getMergedTraits']();return!!_0x32cbc6||0x2a===this['getSchema']();}['isIdempotencyToken'](){return!!this['getMergedTraits']()['idempotencyToken'];}['getMergedTraits'](){return this['normalizedTraits']??(this['normalizedTraits']={...this['getOwnTraits'](),...this['getMemberTraits']()});}['getMemberTraits'](){return translateTraits(this['memberTraits']);}['getOwnTraits'](){return translateTraits(this['traits']);}['getKeySchema'](){const [_0x2f675b,_0x46fa0b]=[this['isDocumentSchema'](),this['isMapSchema']()];if(!_0x2f675b&&!_0x46fa0b)throw new Error('@smithy/core/schema\x20-\x20cannot\x20get\x20key\x20for\x20non-map:\x20'+this['getName'](!0x0));const _0x33768f=this['getSchema']();return _0x3d053c([_0x2f675b?0xf:_0x33768f[0x4]??0x0,0x0],'key');}['getValueSchema'](){const _0x1ab6bb=this['getSchema'](),[_0x1af81e,_0x349443,_0x759fbe]=[this['isDocumentSchema'](),this['isMapSchema'](),this['isListSchema']()],_0x138caf='number'==typeof _0x1ab6bb?0x3f&_0x1ab6bb:_0x1ab6bb&&'object'==typeof _0x1ab6bb&&(_0x349443||_0x759fbe)?_0x1ab6bb[0x3+_0x1ab6bb[0x0]]:_0x1af81e?0xf:void 0x0;if(null!=_0x138caf)return _0x3d053c([_0x138caf,0x0],_0x349443?'value':'member');throw new Error('@smithy/core/schema\x20-\x20'+this['getName'](!0x0)+'\x20has\x20no\x20value\x20member.');}['getMemberSchema'](_0x43d36f){const _0x33ef1c=this['getSchema']();if(this['isStructSchema']()&&_0x33ef1c[0x4]['includes'](_0x43d36f)){const _0x353cde=_0x33ef1c[0x4]['indexOf'](_0x43d36f),_0x4e7076=_0x33ef1c[0x5][_0x353cde];return _0x3d053c(_0x1be025(_0x4e7076)?_0x4e7076:[_0x4e7076,0x0],_0x43d36f);}if(this['isDocumentSchema']())return _0x3d053c([0xf,0x0],_0x43d36f);throw new Error('@smithy/core/schema\x20-\x20'+this['getName'](!0x0)+'\x20has\x20no\x20no\x20member='+_0x43d36f+'.');}['getMemberSchemas'](){const _0x555449={};try{for(const [_0x600d4f,_0x5a14a3]of this['structIterator']())_0x555449[_0x600d4f]=_0x5a14a3;}catch(_0xedb921){}return _0x555449;}['getEventStreamMember'](){if(this['isStructSchema']()){for(const [_0x4ec7bf,_0x1f09f0]of this['structIterator']())if(_0x1f09f0['isStreaming']()&&_0x1f09f0['isStructSchema']())return _0x4ec7bf;}return'';}*['structIterator'](){if(this['isUnitSchema']())return;if(!this['isStructSchema']())throw new Error('@smithy/core/schema\x20-\x20cannot\x20iterate\x20non-struct\x20schema.');const _0x16938b=this['getSchema'](),_0x2c87c2=_0x16938b[0x4]['length'];let _0x115355=_0x16938b[_0x5686b2['it']];if(_0x115355&&_0x2c87c2===_0x115355['length'])yield*_0x115355;else{_0x115355=Array(_0x2c87c2);for(let _0x4b56d6=0x0;_0x4b56d6<_0x2c87c2;++_0x4b56d6){const _0x1dc8d8=_0x16938b[0x4][_0x4b56d6],_0x487590=_0x3d053c([_0x16938b[0x5][_0x4b56d6],0x0],_0x1dc8d8);yield _0x115355[_0x4b56d6]=[_0x1dc8d8,_0x487590];}_0x16938b[_0x5686b2['it']]=_0x115355;}}}function _0x3d053c(_0xde63e9,_0x15f7d1){if(_0xde63e9 instanceof _0x52c856)return Object['assign'](_0xde63e9,{'memberName':_0x15f7d1,'_isMemberSchema':!0x0});return new _0x52c856(_0xde63e9,_0x15f7d1);}const _0x1be025=_0x201d66=>Array['isArray'](_0x201d66)&&0x2===_0x201d66['length'],isStaticSchema=_0x2dbad8=>Array['isArray'](_0x2dbad8)&&_0x2dbad8['length']>=0x5;class TypeRegistry{['namespace'];['schemas'];['exceptions'];static ['registries']=new Map();constructor(_0x48c599,_0x4cd25c=new Map(),_0x2af8da=new Map()){this['namespace']=_0x48c599,this['schemas']=_0x4cd25c,this['exceptions']=_0x2af8da;}static['for'](_0xaa5b00){return TypeRegistry['registries']['has'](_0xaa5b00)||TypeRegistry['registries']['set'](_0xaa5b00,new TypeRegistry(_0xaa5b00)),TypeRegistry['registries']['get'](_0xaa5b00);}['copyFrom'](_0x30e3ec){const {schemas:_0x2f1b27,exceptions:_0x536157}=this;for(const [_0x3ffcc3,_0x331879]of _0x30e3ec['schemas'])_0x2f1b27['has'](_0x3ffcc3)||_0x2f1b27['set'](_0x3ffcc3,_0x331879);for(const [_0x1dad22,_0x45f8a7]of _0x30e3ec['exceptions'])_0x536157['has'](_0x1dad22)||_0x536157['set'](_0x1dad22,_0x45f8a7);}['register'](_0x4b4a84,_0x226883){const _0x1ef9d9=this['normalizeShapeId'](_0x4b4a84);for(const _0x29a4e5 of[this,TypeRegistry['for'](_0x1ef9d9['split']('#')[0x0])])_0x29a4e5['schemas']['set'](_0x1ef9d9,_0x226883);}['getSchema'](_0x48c014){const _0x5259f5=this['normalizeShapeId'](_0x48c014);if(!this['schemas']['has'](_0x5259f5))throw new Error('@smithy/core/schema\x20-\x20schema\x20not\x20found\x20for\x20'+_0x5259f5);return this['schemas']['get'](_0x5259f5);}['registerError'](_0x2133ba,_0x58bd4c){const _0x546f29=_0x2133ba,_0x1cd496=_0x546f29[0x1];for(const _0x56a33d of[this,TypeRegistry['for'](_0x1cd496)])_0x56a33d['schemas']['set'](_0x1cd496+'#'+_0x546f29[0x2],_0x546f29),_0x56a33d['exceptions']['set'](_0x546f29,_0x58bd4c);}['getErrorCtor'](_0x46cafc){const _0xaafdcb=_0x46cafc;if(this['exceptions']['has'](_0xaafdcb))return this['exceptions']['get'](_0xaafdcb);return TypeRegistry['for'](_0xaafdcb[0x1])['exceptions']['get'](_0xaafdcb);}['getBaseException'](){for(const _0x48cc1e of this['exceptions']['keys']())if(Array['isArray'](_0x48cc1e)){const [,_0x8c186c,_0x5a07c5]=_0x48cc1e,_0x590395=_0x8c186c+'#'+_0x5a07c5;if(_0x590395['startsWith']('smithy.ts.sdk.synthetic.')&&_0x590395['endsWith']('ServiceException'))return _0x48cc1e;}}['find'](_0x4f5295){return[...this['schemas']['values']()]['find'](_0x4f5295);}['clear'](){this['schemas']['clear'](),this['exceptions']['clear']();}['normalizeShapeId'](_0x3d6301){return _0x3d6301['includes']('#')?_0x3d6301:this['namespace']+'#'+_0x3d6301;}}const expectNumber=_0xdd13aa=>{if(null!=_0xdd13aa){if('string'==typeof _0xdd13aa){const _0x39e81f=parseFloat(_0xdd13aa);if(!Number['isNaN'](_0x39e81f))return String(_0x39e81f)!==String(_0xdd13aa)&&_0x33c4fc['warn'](stackTraceWarning('Expected\x20number\x20but\x20observed\x20string:\x20'+_0xdd13aa)),_0x39e81f;}if('number'==typeof _0xdd13aa)return _0xdd13aa;throw new TypeError('Expected\x20number,\x20got\x20'+typeof _0xdd13aa+':\x20'+_0xdd13aa);}},_0x35738a=Math['ceil'](0x2**0x7f*(0x2-0x2**-0x17)),expectFloat32=_0x5ca822=>{const _0x30d365=expectNumber(_0x5ca822);if(void 0x0!==_0x30d365&&!Number['isNaN'](_0x30d365)&&_0x30d365!==0x1/0x0&&_0x30d365!==-0x1/0x0&&Math['abs'](_0x30d365)>_0x35738a)throw new TypeError('Expected\x2032-bit\x20float,\x20got\x20'+_0x5ca822);return _0x30d365;},expectLong=_0x6c260f=>{if(null!=_0x6c260f){if(Number['isInteger'](_0x6c260f)&&!Number['isNaN'](_0x6c260f))return _0x6c260f;throw new TypeError('Expected\x20integer,\x20got\x20'+typeof _0x6c260f+':\x20'+_0x6c260f);}},expectShort=_0x519e78=>expectSizedInt(_0x519e78,0x10),expectByte=_0x115124=>expectSizedInt(_0x115124,0x8),expectSizedInt=(_0x2aa8b2,_0xdd849c)=>{const _0x29ce1d=expectLong(_0x2aa8b2);if(void 0x0!==_0x29ce1d&&castInt(_0x29ce1d,_0xdd849c)!==_0x29ce1d)throw new TypeError('Expected\x20'+_0xdd849c+'-bit\x20integer,\x20got\x20'+_0x2aa8b2);return _0x29ce1d;},castInt=(_0x1e3661,_0x12cf0b)=>{switch(_0x12cf0b){case 0x20:return Int32Array['of'](_0x1e3661)[0x0];case 0x10:return Int16Array['of'](_0x1e3661)[0x0];case 0x8:return Int8Array['of'](_0x1e3661)[0x0];}},strictParseDouble=_0x5b98dd=>expectNumber('string'==typeof _0x5b98dd?_0x4d2cdb(_0x5b98dd):_0x5b98dd),strictParseFloat32=_0x39afd9=>expectFloat32('string'==typeof _0x39afd9?_0x4d2cdb(_0x39afd9):_0x39afd9),_0x595b2f=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,_0x4d2cdb=_0x109c9a=>{const _0xf140b5=_0x109c9a['match'](_0x595b2f);if(null===_0xf140b5||_0xf140b5[0x0]['length']!==_0x109c9a['length'])throw new TypeError('Expected\x20real\x20number,\x20got\x20implicit\x20NaN');return parseFloat(_0x109c9a);},strictParseShort=_0x46b4bb=>expectShort('string'==typeof _0x46b4bb?_0x4d2cdb(_0x46b4bb):_0x46b4bb),strictParseByte=_0x209d73=>expectByte('string'==typeof _0x209d73?_0x4d2cdb(_0x209d73):_0x209d73),stackTraceWarning=_0x6dc712=>String(new TypeError(_0x6dc712)['stack']||_0x6dc712)['split']('\x0a')['slice'](0x0,0x5)['filter'](_0x3d15a7=>!_0x3d15a7['includes']('stackTraceWarning'))['join']('\x0a'),_0x33c4fc={'warn':console['warn']},_0x42c77b=['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],_0x520a13=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];function dateToUtcString(_0x4f5a9a){const _0x28ab76=_0x4f5a9a['getUTCFullYear'](),_0x44d5da=_0x4f5a9a['getUTCMonth'](),_0x5860f7=_0x4f5a9a['getUTCDay'](),_0x4227b9=_0x4f5a9a['getUTCDate'](),_0x32c1d1=_0x4f5a9a['getUTCHours'](),_0x5dbdff=_0x4f5a9a['getUTCMinutes'](),_0x32db38=_0x4f5a9a['getUTCSeconds'](),_0x27512e=_0x4227b9<0xa?'0'+_0x4227b9:''+_0x4227b9,_0xfb334=_0x32c1d1<0xa?'0'+_0x32c1d1:''+_0x32c1d1,_0x10e919=_0x5dbdff<0xa?'0'+_0x5dbdff:''+_0x5dbdff,_0x301754=_0x32db38<0xa?'0'+_0x32db38:''+_0x32db38;return _0x42c77b[_0x5860f7]+',\x20'+_0x27512e+'\x20'+_0x520a13[_0x44d5da]+'\x20'+_0x28ab76+'\x20'+_0xfb334+':'+_0x10e919+':'+_0x301754+'\x20GMT';}const _0x3c5511=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),parseRfc3339DateTimeWithOffset=_0x17758b=>{if(null==_0x17758b)return;if('string'!=typeof _0x17758b)throw new TypeError('RFC-3339\x20date-times\x20must\x20be\x20expressed\x20as\x20strings');const _0x4ccd36=_0x3c5511['exec'](_0x17758b);if(!_0x4ccd36)throw new TypeError('Invalid\x20RFC-3339\x20date-time\x20value');const [_0x419d5c,_0x441b05,_0x3300b1,_0x3aed07,_0x27528a,_0x8ab43b,_0xa4b000,_0x5c20ef,_0x383ec6]=_0x4ccd36,_0x4b2259=strictParseShort(stripLeadingZeroes(_0x441b05)),_0x5df5de=parseDateValue(_0x3300b1,'month',0x1,0xc),_0x261653=parseDateValue(_0x3aed07,'day',0x1,0x1f),_0x243acf=buildDate(_0x4b2259,_0x5df5de,_0x261653,{'hours':_0x27528a,'minutes':_0x8ab43b,'seconds':_0xa4b000,'fractionalMilliseconds':_0x5c20ef});return'Z'!=_0x383ec6['toUpperCase']()&&_0x243acf['setTime'](_0x243acf['getTime']()-parseOffsetToMilliseconds(_0x383ec6)),_0x243acf;},_0x2cfd84=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),_0x507b96=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),_0x151360=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),parseRfc7231DateTime=_0x465be8=>{if(null==_0x465be8)return;if('string'!=typeof _0x465be8)throw new TypeError('RFC-7231\x20date-times\x20must\x20be\x20expressed\x20as\x20strings');let _0x2d686b=_0x2cfd84['exec'](_0x465be8);if(_0x2d686b){const [_0x28eab5,_0x3683f3,_0x1663ba,_0x2df29d,_0xe698c8,_0x3cb638,_0x558850,_0x50ff3e]=_0x2d686b;return buildDate(strictParseShort(stripLeadingZeroes(_0x2df29d)),parseMonthByShortName(_0x1663ba),parseDateValue(_0x3683f3,'day',0x1,0x1f),{'hours':_0xe698c8,'minutes':_0x3cb638,'seconds':_0x558850,'fractionalMilliseconds':_0x50ff3e});}if(_0x2d686b=_0x507b96['exec'](_0x465be8),_0x2d686b){const [_0x22220e,_0x1e4c10,_0x4f08e0,_0x2bf22f,_0x177955,_0x18630d,_0x5e2651,_0x5842e6]=_0x2d686b;return adjustRfc850Year(buildDate(parseTwoDigitYear(_0x2bf22f),parseMonthByShortName(_0x4f08e0),parseDateValue(_0x1e4c10,'day',0x1,0x1f),{'hours':_0x177955,'minutes':_0x18630d,'seconds':_0x5e2651,'fractionalMilliseconds':_0x5842e6}));}if(_0x2d686b=_0x151360['exec'](_0x465be8),_0x2d686b){const [_0x387cac,_0x1a2339,_0x1d60e4,_0x1a0d38,_0xda3e50,_0x428cc6,_0x247a71,_0x13ceb5]=_0x2d686b;return buildDate(strictParseShort(stripLeadingZeroes(_0x13ceb5)),parseMonthByShortName(_0x1a2339),parseDateValue(_0x1d60e4['trimLeft'](),'day',0x1,0x1f),{'hours':_0x1a0d38,'minutes':_0xda3e50,'seconds':_0x428cc6,'fractionalMilliseconds':_0x247a71});}throw new TypeError('Invalid\x20RFC-7231\x20date-time\x20value');},parseEpochTimestamp=_0x5bcb4f=>{if(null==_0x5bcb4f)return;let _0x3b4189;if('number'==typeof _0x5bcb4f)_0x3b4189=_0x5bcb4f;else{if('string'==typeof _0x5bcb4f)_0x3b4189=strictParseDouble(_0x5bcb4f);else{if('object'!=typeof _0x5bcb4f||0x1!==_0x5bcb4f['tag'])throw new TypeError('Epoch\x20timestamps\x20must\x20be\x20expressed\x20as\x20floating\x20point\x20numbers\x20or\x20their\x20string\x20representation');_0x3b4189=_0x5bcb4f['value'];}}if(Number['isNaN'](_0x3b4189)||_0x3b4189===0x1/0x0||_0x3b4189===-0x1/0x0)throw new TypeError('Epoch\x20timestamps\x20must\x20be\x20valid,\x20non-Infinite,\x20non-NaN\x20numerics');return new Date(Math['round'](0x3e8*_0x3b4189));},buildDate=(_0x487939,_0x5036ec,_0x11c8ae,_0xf24a3d)=>{const _0x32d6be=_0x5036ec-0x1;return validateDayOfMonth(_0x487939,_0x32d6be,_0x11c8ae),new Date(Date['UTC'](_0x487939,_0x32d6be,_0x11c8ae,parseDateValue(_0xf24a3d['hours'],'hour',0x0,0x17),parseDateValue(_0xf24a3d['minutes'],'minute',0x0,0x3b),parseDateValue(_0xf24a3d['seconds'],'seconds',0x0,0x3c),_0x821e14(_0xf24a3d['fractionalMilliseconds'])));},parseTwoDigitYear=_0xee9725=>{const _0x70d066=new Date()['getUTCFullYear'](),_0x34d092=0x64*Math['floor'](_0x70d066/0x64)+strictParseShort(stripLeadingZeroes(_0xee9725));return _0x34d092<_0x70d066?_0x34d092+0x64:_0x34d092;},_0x12a49f=0x16f209a9800,adjustRfc850Year=_0x57f833=>_0x57f833['getTime']()-new Date()['getTime']()>_0x12a49f?new Date(Date['UTC'](_0x57f833['getUTCFullYear']()-0x64,_0x57f833['getUTCMonth'](),_0x57f833['getUTCDate'](),_0x57f833['getUTCHours'](),_0x57f833['getUTCMinutes'](),_0x57f833['getUTCSeconds'](),_0x57f833['getUTCMilliseconds']())):_0x57f833,parseMonthByShortName=_0x1d0d62=>{const _0x3feafa=_0x520a13['indexOf'](_0x1d0d62);if(_0x3feafa<0x0)throw new TypeError('Invalid\x20month:\x20'+_0x1d0d62);return _0x3feafa+0x1;},_0x160418=[0x1f,0x1c,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f],validateDayOfMonth=(_0x4bd9c0,_0x91850e,_0xba4062)=>{let _0x2a0a96=_0x160418[_0x91850e];if(0x1===_0x91850e&&_0x46db3a(_0x4bd9c0)&&(_0x2a0a96=0x1d),_0xba4062>_0x2a0a96)throw new TypeError('Invalid\x20day\x20for\x20'+_0x520a13[_0x91850e]+'\x20in\x20'+_0x4bd9c0+':\x20'+_0xba4062);},_0x46db3a=_0x422df4=>_0x422df4%0x4==0x0&&(_0x422df4%0x64!=0x0||_0x422df4%0x190==0x0),parseDateValue=(_0x22be48,_0x20ea48,_0x4fd1ec,_0x7c0535)=>{const _0x301be4=strictParseByte(stripLeadingZeroes(_0x22be48));if(_0x301be4<_0x4fd1ec||_0x301be4>_0x7c0535)throw new TypeError(_0x20ea48+'\x20must\x20be\x20between\x20'+_0x4fd1ec+'\x20and\x20'+_0x7c0535+',\x20inclusive');return _0x301be4;},_0x821e14=_0x1648b0=>null==_0x1648b0?0x0:0x3e8*strictParseFloat32('0.'+_0x1648b0),parseOffsetToMilliseconds=_0x19b1a6=>{const _0x5a770f=_0x19b1a6[0x0];let _0x167ded=0x1;if('+'==_0x5a770f)_0x167ded=0x1;else{if('-'!=_0x5a770f)throw new TypeError('Offset\x20direction,\x20'+_0x5a770f+',\x20must\x20be\x20\x22+\x22\x20or\x20\x22-\x22');_0x167ded=-0x1;}return _0x167ded*(0x3c*Number(_0x19b1a6['substring'](0x1,0x3))+Number(_0x19b1a6['substring'](0x4,0x6)))*0x3c*0x3e8;},stripLeadingZeroes=_0x5db581=>{let _0x187212=0x0;for(;_0x187212<_0x5db581['length']-0x1&&'0'===_0x5db581['charAt'](_0x187212);)_0x187212++;return 0x0===_0x187212?_0x5db581:_0x5db581['slice'](_0x187212);},_0x4fe4bd='undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),_0xac8265=Array['from']({'length':0x100},(_0x2ed5df,_0x28840a)=>_0x28840a['toString'](0x10)['padStart'](0x2,'0')),_0x4b2b0a=()=>{if(_0x4fe4bd)return _0x4fe4bd();const _0x536693=new Uint8Array(0x10);return crypto['getRandomValues'](_0x536693),_0x536693[0x6]=0xf&_0x536693[0x6]|0x40,_0x536693[0x8]=0x3f&_0x536693[0x8]|0x80,_0xac8265[_0x536693[0x0]]+_0xac8265[_0x536693[0x1]]+_0xac8265[_0x536693[0x2]]+_0xac8265[_0x536693[0x3]]+'-'+_0xac8265[_0x536693[0x4]]+_0xac8265[_0x536693[0x5]]+'-'+_0xac8265[_0x536693[0x6]]+_0xac8265[_0x536693[0x7]]+'-'+_0xac8265[_0x536693[0x8]]+_0xac8265[_0x536693[0x9]]+'-'+_0xac8265[_0x536693[0xa]]+_0xac8265[_0x536693[0xb]]+_0xac8265[_0x536693[0xc]]+_0xac8265[_0x536693[0xd]]+_0xac8265[_0x536693[0xe]]+_0xac8265[_0x536693[0xf]];},LazyJsonString=function(_0xff3f7){return Object['assign'](new String(_0xff3f7),{'deserializeJSON':()=>JSON['parse'](String(_0xff3f7)),'toString':()=>String(_0xff3f7),'toJSON':()=>String(_0xff3f7)});};function quoteHeader(_0x258570){return(_0x258570['includes'](',')||_0x258570['includes']('\x22'))&&(_0x258570='\x22'+_0x258570['replace'](/"/g,'\x5c\x22')+'\x22'),_0x258570;}LazyJsonString['from']=_0x209bb8=>_0x209bb8&&'object'==typeof _0x209bb8&&(_0x209bb8 instanceof LazyJsonString||'deserializeJSON'in _0x209bb8)?_0x209bb8:'string'==typeof _0x209bb8||Object['getPrototypeOf'](_0x209bb8)===String['prototype']?LazyJsonString(String(_0x209bb8)):LazyJsonString(JSON['stringify'](_0x209bb8)),LazyJsonString['fromObject']=LazyJsonString['from'];const _0xd32c44='(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?',_0xe5bd40='(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)',time='(\x5cd?\x5cd):(\x5cd{2}):(\x5cd{2})(?:\x5c.(\x5cd+))?',date='(\x5cd?\x5cd)',_0x3e5fc7='(\x5cd{4})',_0x1dc89b=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),_0x3a5b31=new RegExp('^'+_0xd32c44+',\x20'+date+'\x20'+_0xe5bd40+'\x20'+_0x3e5fc7+'\x20'+time+'\x20GMT$'),_0x1b341a=new RegExp('^'+_0xd32c44+',\x20'+date+'-'+_0xe5bd40+'-(\x5cd\x5cd)\x20'+time+'\x20GMT$'),_0x5aa9d5=new RegExp('^'+_0xd32c44+'\x20'+_0xe5bd40+'\x20(\x20[1-9]|\x5cd\x5cd)\x20'+time+'\x20'+_0x3e5fc7+'$'),months$1=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],_parseEpochTimestamp=_0x571cd6=>{if(null==_0x571cd6)return;let _0x2315ea=NaN;if('number'==typeof _0x571cd6)_0x2315ea=_0x571cd6;else{if('string'==typeof _0x571cd6){if(!/^-?\d*\.?\d+$/['test'](_0x571cd6))throw new TypeError('parseEpochTimestamp\x20-\x20numeric\x20string\x20invalid.');_0x2315ea=Number['parseFloat'](_0x571cd6);}else'object'==typeof _0x571cd6&&0x1===_0x571cd6['tag']&&(_0x2315ea=_0x571cd6['value']);}if(isNaN(_0x2315ea)||Math['abs'](_0x2315ea)===0x1/0x0)throw new TypeError('Epoch\x20timestamps\x20must\x20be\x20valid\x20finite\x20numbers.');return new Date(Math['round'](0x3e8*_0x2315ea));},_parseRfc3339DateTimeWithOffset=_0x461ca7=>{if(null==_0x461ca7)return;if('string'!=typeof _0x461ca7)throw new TypeError('RFC3339\x20timestamps\x20must\x20be\x20strings');const _0x405969=_0x1dc89b['exec'](_0x461ca7);if(!_0x405969)throw new TypeError('Invalid\x20RFC3339\x20timestamp\x20format\x20'+_0x461ca7);const [,_0x238e62,_0x22e91c,_0x32720f,_0x4d11f0,_0x20fcc4,_0x439c45,,_0x15c1d3,_0x47abe6]=_0x405969;_0x2fd530(_0x22e91c,0x1,0xc),_0x2fd530(_0x32720f,0x1,0x1f),_0x2fd530(_0x4d11f0,0x0,0x17),_0x2fd530(_0x20fcc4,0x0,0x3b),_0x2fd530(_0x439c45,0x0,0x3c);const _0x413b1c=new Date(Date['UTC'](Number(_0x238e62),Number(_0x22e91c)-0x1,Number(_0x32720f),Number(_0x4d11f0),Number(_0x20fcc4),Number(_0x439c45),Number(_0x15c1d3)?Math['round'](0x3e8*parseFloat('0.'+_0x15c1d3)):0x0));if(_0x413b1c['setUTCFullYear'](Number(_0x238e62)),'Z'!=_0x47abe6['toUpperCase']()){const [,_0x53a1c8,_0x4786b5,_0x1055e4]=/([+-])(\d\d):(\d\d)/['exec'](_0x47abe6)||[void 0x0,'+',0x0,0x0],_0x46d4a3='-'===_0x53a1c8?0x1:-0x1;_0x413b1c['setTime'](_0x413b1c['getTime']()+_0x46d4a3*(0x3c*Number(_0x4786b5)*0x3c*0x3e8+0x3c*Number(_0x1055e4)*0x3e8));}return _0x413b1c;},_parseRfc7231DateTime=_0x2fae74=>{if(null==_0x2fae74)return;if('string'!=typeof _0x2fae74)throw new TypeError('RFC7231\x20timestamps\x20must\x20be\x20strings.');let _0x563465,_0x14594f,_0x3c3e35,_0x1e04d8,_0x2d93c2,_0x5752cf,_0x1f956e,_0x5902f7;if((_0x5902f7=_0x3a5b31['exec'](_0x2fae74))?[,_0x563465,_0x14594f,_0x3c3e35,_0x1e04d8,_0x2d93c2,_0x5752cf,_0x1f956e]=_0x5902f7:(_0x5902f7=_0x1b341a['exec'](_0x2fae74))?([,_0x563465,_0x14594f,_0x3c3e35,_0x1e04d8,_0x2d93c2,_0x5752cf,_0x1f956e]=_0x5902f7,_0x3c3e35=(Number(_0x3c3e35)+0x76c)['toString']()):(_0x5902f7=_0x5aa9d5['exec'](_0x2fae74))&&([,_0x14594f,_0x563465,_0x1e04d8,_0x2d93c2,_0x5752cf,_0x1f956e,_0x3c3e35]=_0x5902f7),_0x3c3e35&&_0x5752cf){const _0x2584b4=Date['UTC'](Number(_0x3c3e35),months$1['indexOf'](_0x14594f),Number(_0x563465),Number(_0x1e04d8),Number(_0x2d93c2),Number(_0x5752cf),_0x1f956e?Math['round'](0x3e8*parseFloat('0.'+_0x1f956e)):0x0);_0x2fd530(_0x563465,0x1,0x1f),_0x2fd530(_0x1e04d8,0x0,0x17),_0x2fd530(_0x2d93c2,0x0,0x3b),_0x2fd530(_0x5752cf,0x0,0x3c);const _0x5d6198=new Date(_0x2584b4);return _0x5d6198['setUTCFullYear'](Number(_0x3c3e35)),_0x5d6198;}throw new TypeError('Invalid\x20RFC7231\x20date-time\x20value\x20'+_0x2fae74+'.');};function _0x2fd530(_0x3030b1,_0x1bc2e6,_0x113ac3){const _0x573bdc=Number(_0x3030b1);if(_0x573bdc<_0x1bc2e6||_0x573bdc>_0x113ac3)throw new Error('Value\x20'+_0x573bdc+'\x20out\x20of\x20range\x20['+_0x1bc2e6+',\x20'+_0x113ac3+']');}function splitEvery(_0x4162cd,_0x26994a,_0x2336f3){if(!Number['isInteger'](_0x2336f3))throw new Error('Invalid\x20number\x20of\x20delimiters\x20('+_0x2336f3+')\x20for\x20splitEvery.');const _0x4eb6f6=_0x4162cd['split'](_0x26994a),_0x39b237=[];let _0x419a09='';for(let _0xc3fc40=0x0;_0xc3fc40<_0x4eb6f6['length'];_0xc3fc40++)''===_0x419a09?_0x419a09=_0x4eb6f6[_0xc3fc40]:_0x419a09+=_0x26994a+_0x4eb6f6[_0xc3fc40],(_0xc3fc40+0x1)%_0x2336f3===0x0&&(_0x39b237['push'](_0x419a09),_0x419a09='');return''!==_0x419a09&&_0x39b237['push'](_0x419a09),_0x39b237;}const splitHeader=_0x300219=>{const _0x3b1bef=_0x300219['length'],_0x8839b=[];let _0x10276a,_0x48a714=!0x1,_0x575dce=0x0;for(let _0x4c0c4b=0x0;_0x4c0c4b<_0x3b1bef;++_0x4c0c4b){const _0x365d4e=_0x300219[_0x4c0c4b];switch(_0x365d4e){case'\x22':'\x5c'!==_0x10276a&&(_0x48a714=!_0x48a714);break;case',':_0x48a714||(_0x8839b['push'](_0x300219['slice'](_0x575dce,_0x4c0c4b)),_0x575dce=_0x4c0c4b+0x1);}_0x10276a=_0x365d4e;}return _0x8839b['push'](_0x300219['slice'](_0x575dce)),_0x8839b['map'](_0x132c06=>{const _0x4fd06f=(_0x132c06=_0x132c06['trim']())['length'];return _0x4fd06f<0x2?_0x132c06:('\x22'===_0x132c06[0x0]&&'\x22'===_0x132c06[_0x4fd06f-0x1]&&(_0x132c06=_0x132c06['slice'](0x1,_0x4fd06f-0x1)),_0x132c06['replace'](/\\"/g,'\x22'));});},format=/^-?\d*(\.\d+)?$/;class _0x12d9b1{['string'];['type'];constructor(_0x446bd3,_0x4ed2fa){if(this['string']=_0x446bd3,this['type']=_0x4ed2fa,!format['test'](_0x446bd3))throw new Error('@smithy/core/serde\x20-\x20NumericValue\x20must\x20only\x20contain\x20[0-9],\x20at\x20most\x20one\x20decimal\x20point\x20\x22.\x22,\x20and\x20an\x20optional\x20negation\x20prefix\x20\x22-\x22.');}['toString'](){return this['string'];}static[Symbol['hasInstance']](_0x406ecc){if(!_0x406ecc||'object'!=typeof _0x406ecc)return!0x1;const _0x58f482=_0x406ecc;return _0x12d9b1['prototype']['isPrototypeOf'](_0x406ecc)||'bigDecimal'===_0x58f482['type']&&format['test'](_0x58f482['string']);}}class SerdeContext{['serdeContext'];['setSerdeContext'](_0x30a8ea){this['serdeContext']=_0x30a8ea;}}class HttpProtocol extends SerdeContext{['options'];['compositeErrorRegistry'];constructor(_0x27c663){super(),this['options']=_0x27c663,this['compositeErrorRegistry']=TypeRegistry['for'](_0x27c663['defaultNamespace']);for(const _0x55a978 of _0x27c663['errorTypeRegistries']??[])this['compositeErrorRegistry']['copyFrom'](_0x55a978);}['getRequestType'](){return HttpRequest;}['getResponseType'](){return HttpResponse;}['setSerdeContext'](_0x44c563){this['serdeContext']=_0x44c563,this['serializer']['setSerdeContext'](_0x44c563),this['deserializer']['setSerdeContext'](_0x44c563),this['getPayloadCodec']()&&this['getPayloadCodec']()['setSerdeContext'](_0x44c563);}['updateServiceEndpoint'](_0x2fb2a5,_0x50add8){if('url'in _0x50add8){_0x2fb2a5['protocol']=_0x50add8['url']['protocol'],_0x2fb2a5['hostname']=_0x50add8['url']['hostname'],_0x2fb2a5['port']=_0x50add8['url']['port']?Number(_0x50add8['url']['port']):void 0x0,_0x2fb2a5['path']=_0x50add8['url']['pathname'],_0x2fb2a5['fragment']=_0x50add8['url']['hash']||void 0x0,_0x2fb2a5['username']=_0x50add8['url']['username']||void 0x0,_0x2fb2a5['password']=_0x50add8['url']['password']||void 0x0,_0x2fb2a5['query']||(_0x2fb2a5['query']={});for(const [_0x410951,_0x925e34]of _0x50add8['url']['searchParams']['entries']())_0x2fb2a5['query'][_0x410951]=_0x925e34;return _0x2fb2a5;}return _0x2fb2a5['protocol']=_0x50add8['protocol'],_0x2fb2a5['hostname']=_0x50add8['hostname'],_0x2fb2a5['port']=_0x50add8['port']?Number(_0x50add8['port']):void 0x0,_0x2fb2a5['path']=_0x50add8['path'],_0x2fb2a5['query']={..._0x50add8['query']},_0x2fb2a5;}['setHostPrefix'](_0x3d6cf3,_0x2f674b,_0x25ee2f){if(this['serdeContext']?.['disableHostPrefix'])return;const _0x21f6d5=_0x52c856['of'](_0x2f674b['input']),_0x583147=translateTraits(_0x2f674b['traits']??{});if(_0x583147['endpoint']){let _0x227b66=_0x583147['endpoint']?.[0x0];if('string'==typeof _0x227b66){const _0x4d744a=[..._0x21f6d5['structIterator']()]['filter'](([,_0x27bf8f])=>_0x27bf8f['getMergedTraits']()['hostLabel']);for(const [_0x461081]of _0x4d744a){const _0x3a9bfe=_0x25ee2f[_0x461081];if('string'!=typeof _0x3a9bfe)throw new Error('@smithy/core/schema\x20-\x20'+_0x461081+'\x20in\x20input\x20must\x20be\x20a\x20string\x20as\x20hostLabel.');_0x227b66=_0x227b66['replace']('{'+_0x461081+'}',_0x3a9bfe);}_0x3d6cf3['hostname']=_0x227b66+_0x3d6cf3['hostname'];}}}['deserializeMetadata'](_0x5228fb){return{'httpStatusCode':_0x5228fb['statusCode'],'requestId':_0x5228fb['headers']['x-amzn-requestid']??_0x5228fb['headers']['x-amzn-request-id']??_0x5228fb['headers']['x-amz-request-id'],'extendedRequestId':_0x5228fb['headers']['x-amz-id-2'],'cfId':_0x5228fb['headers']['x-amz-cf-id']};}async['serializeEventStream']({eventStream:_0x4a7b0c,requestSchema:_0x32b39e,initialRequest:_0x30e6ae}){return(await this['loadEventStreamCapability']())['serializeEventStream']({'eventStream':_0x4a7b0c,'requestSchema':_0x32b39e,'initialRequest':_0x30e6ae});}async['deserializeEventStream']({response:_0x9e167,responseSchema:_0x4a604c,initialResponseContainer:_0x43b1c8}){return(await this['loadEventStreamCapability']())['deserializeEventStream']({'response':_0x9e167,'responseSchema':_0x4a604c,'initialResponseContainer':_0x43b1c8});}async['loadEventStreamCapability'](){const {EventStreamSerde:_0x44ae06}=await Promise['resolve']()['then'](function(){return _0x76cbda;});return new _0x44ae06({'marshaller':this['getEventStreamMarshaller'](),'serializer':this['serializer'],'deserializer':this['deserializer'],'serdeContext':this['serdeContext'],'defaultContentType':this['getDefaultContentType']()});}['getDefaultContentType'](){throw new Error('@smithy/core/protocols\x20-\x20'+this['constructor']['name']+'\x20getDefaultContentType()\x20implementation\x20missing.');}async['deserializeHttpMessage'](_0xfbab7d,_0x322b0b,_0x508c31,_0x5d74c5,_0x48a6a7){return[];}['getEventStreamMarshaller'](){const _0x13e8bf=this['serdeContext'];if(!_0x13e8bf['eventStreamMarshaller'])throw new Error('@smithy/core\x20-\x20HttpProtocol:\x20eventStreamMarshaller\x20missing\x20in\x20serdeContext.');return _0x13e8bf['eventStreamMarshaller'];}}class HttpBindingProtocol extends HttpProtocol{async['serializeRequest'](_0x1df0b6,_0x4492d7,_0x163e05){const _0x2558af={..._0x4492d7??{}},_0x37fbdb=this['serializer'],_0x17e910={},_0x54678e={},_0x2ab91d=await _0x163e05['endpoint'](),_0x2d481b=_0x52c856['of'](_0x1df0b6?.['input']),_0x559d3d=_0x2d481b['getSchema']();let _0x2800dd,_0x3e6e54=!0x1;const _0x56c5da=new HttpRequest({'protocol':'','hostname':'','port':void 0x0,'path':'','fragment':void 0x0,'query':_0x17e910,'headers':_0x54678e,'body':void 0x0});if(_0x2ab91d){this['updateServiceEndpoint'](_0x56c5da,_0x2ab91d),this['setHostPrefix'](_0x56c5da,_0x1df0b6,_0x2558af);const _0x37777d=translateTraits(_0x1df0b6['traits']);if(_0x37777d['http']){_0x56c5da['method']=_0x37777d['http'][0x0];const [_0x13ff22,_0x5de2a9]=_0x37777d['http'][0x1]['split']('?');'/'==_0x56c5da['path']?_0x56c5da['path']=_0x13ff22:_0x56c5da['path']+=_0x13ff22;const _0x4b10b7=new URLSearchParams(_0x5de2a9??'');Object['assign'](_0x17e910,Object['fromEntries'](_0x4b10b7));}}for(const [_0xa26cff,_0x19f346]of _0x2d481b['structIterator']()){const _0x132afd=_0x19f346['getMergedTraits']()??{},_0xd07969=_0x2558af[_0xa26cff];if(null!=_0xd07969||_0x19f346['isIdempotencyToken']()){if(_0x132afd['httpPayload']){if(_0x19f346['isStreaming']())_0x19f346['isStructSchema']()?_0x2558af[_0xa26cff]&&(_0x2800dd=await this['serializeEventStream']({'eventStream':_0x2558af[_0xa26cff],'requestSchema':_0x2d481b})):_0x2800dd=_0xd07969;else _0x37fbdb['write'](_0x19f346,_0xd07969),_0x2800dd=_0x37fbdb['flush']();delete _0x2558af[_0xa26cff];}else{if(_0x132afd['httpLabel']){_0x37fbdb['write'](_0x19f346,_0xd07969);const _0x38484d=_0x37fbdb['flush']();_0x56c5da['path']['includes']('{'+_0xa26cff+'+}')?_0x56c5da['path']=_0x56c5da['path']['replace']('{'+_0xa26cff+'+}',_0x38484d['split']('/')['map'](extendedEncodeURIComponent)['join']('/')):_0x56c5da['path']['includes']('{'+_0xa26cff+'}')&&(_0x56c5da['path']=_0x56c5da['path']['replace']('{'+_0xa26cff+'}',extendedEncodeURIComponent(_0x38484d))),delete _0x2558af[_0xa26cff];}else{if(_0x132afd['httpHeader'])_0x37fbdb['write'](_0x19f346,_0xd07969),_0x54678e[_0x132afd['httpHeader']['toLowerCase']()]=String(_0x37fbdb['flush']()),delete _0x2558af[_0xa26cff];else{if('string'==typeof _0x132afd['httpPrefixHeaders']){for(const [_0x4d7175,_0x1d1949]of Object['entries'](_0xd07969)){const _0x7485ff=_0x132afd['httpPrefixHeaders']+_0x4d7175;_0x37fbdb['write']([_0x19f346['getValueSchema'](),{'httpHeader':_0x7485ff}],_0x1d1949),_0x54678e[_0x7485ff['toLowerCase']()]=_0x37fbdb['flush']();}delete _0x2558af[_0xa26cff];}else _0x132afd['httpQuery']||_0x132afd['httpQueryParams']?(this['serializeQuery'](_0x19f346,_0xd07969,_0x17e910),delete _0x2558af[_0xa26cff]):_0x3e6e54=!0x0;}}}}else{if(_0x132afd['httpLabel']&&(_0x56c5da['path']['includes']('{'+_0xa26cff+'+}')||_0x56c5da['path']['includes']('{'+_0xa26cff+'}')))throw new Error('No\x20value\x20provided\x20for\x20input\x20HTTP\x20label:\x20'+_0xa26cff+'.');}}return _0x3e6e54&&_0x2558af&&(_0x37fbdb['write'](_0x559d3d,_0x2558af),_0x2800dd=_0x37fbdb['flush']()),_0x56c5da['headers']=_0x54678e,_0x56c5da['query']=_0x17e910,_0x56c5da['body']=_0x2800dd,_0x56c5da;}['serializeQuery'](_0x4e10e8,_0x201843,_0x2f4201){const _0x2b3b33=this['serializer'],_0x453d9a=_0x4e10e8['getMergedTraits']();if(_0x453d9a['httpQueryParams']){for(const [_0x5e527c,_0x175cc5]of Object['entries'](_0x201843))if(!(_0x5e527c in _0x2f4201)){const _0xa48596=_0x4e10e8['getValueSchema']();Object['assign'](_0xa48596['getMergedTraits'](),{..._0x453d9a,'httpQuery':_0x5e527c,'httpQueryParams':void 0x0}),this['serializeQuery'](_0xa48596,_0x175cc5,_0x2f4201);}}else{if(_0x4e10e8['isListSchema']()){const _0xab4c14=!!_0x4e10e8['getMergedTraits']()['sparse'],_0x1182f3=[];for(const _0x5e1d48 of _0x201843){_0x2b3b33['write']([_0x4e10e8['getValueSchema'](),_0x453d9a],_0x5e1d48);const _0x209fe5=_0x2b3b33['flush']();(_0xab4c14||void 0x0!==_0x209fe5)&&_0x1182f3['push'](_0x209fe5);}_0x2f4201[_0x453d9a['httpQuery']]=_0x1182f3;}else _0x2b3b33['write']([_0x4e10e8,_0x453d9a],_0x201843),_0x2f4201[_0x453d9a['httpQuery']]=_0x2b3b33['flush']();}}async['deserializeResponse'](_0x4e26c8,_0x3584ee,_0x336e00){const _0x58d324=this['deserializer'],_0x13ae8e=_0x52c856['of'](_0x4e26c8['output']),_0x4a4bd1={};if(_0x336e00['statusCode']>=0x12c){const _0x271cc6=await collectBody(_0x336e00['body'],_0x3584ee);throw _0x271cc6['byteLength']>0x0&&Object['assign'](_0x4a4bd1,await _0x58d324['read'](0xf,_0x271cc6)),await this['handleError'](_0x4e26c8,_0x3584ee,_0x336e00,_0x4a4bd1,this['deserializeMetadata'](_0x336e00)),new Error('@smithy/core/protocols\x20-\x20HTTP\x20Protocol\x20error\x20handler\x20failed\x20to\x20throw.');}for(const _0x356604 in _0x336e00['headers']){const _0x4c7c21=_0x336e00['headers'][_0x356604];delete _0x336e00['headers'][_0x356604],_0x336e00['headers'][_0x356604['toLowerCase']()]=_0x4c7c21;}const _0x3833f6=await this['deserializeHttpMessage'](_0x13ae8e,_0x3584ee,_0x336e00,_0x4a4bd1);if(_0x3833f6['length']){const _0x404804=await collectBody(_0x336e00['body'],_0x3584ee);if(_0x404804['byteLength']>0x0){const _0x5a5e80=await _0x58d324['read'](_0x13ae8e,_0x404804);for(const _0x1ebb25 of _0x3833f6)null!=_0x5a5e80[_0x1ebb25]&&(_0x4a4bd1[_0x1ebb25]=_0x5a5e80[_0x1ebb25]);}}else _0x3833f6['discardResponseBody']&&await collectBody(_0x336e00['body'],_0x3584ee);return _0x4a4bd1['$metadata']=this['deserializeMetadata'](_0x336e00),_0x4a4bd1;}async['deserializeHttpMessage'](_0x410ed6,_0x598da9,_0x98e561,_0x2b2e15,_0xd667ec){let _0x110f24;_0x110f24=_0x2b2e15 instanceof Set?_0xd667ec:_0x2b2e15;let _0x5a7373=!0x0;const _0x2db4c9=this['deserializer'],_0xfe052f=_0x52c856['of'](_0x410ed6),_0x1cc906=[];for(const [_0x4fc1ce,_0xc9db12]of _0xfe052f['structIterator']()){const _0xdcdb00=_0xc9db12['getMemberTraits']();if(_0xdcdb00['httpPayload']){_0x5a7373=!0x1;if(_0xc9db12['isStreaming']()){const _0x8d23f3=_0xc9db12['isStructSchema']();_0x110f24[_0x4fc1ce]=_0x8d23f3?await this['deserializeEventStream']({'response':_0x98e561,'responseSchema':_0xfe052f}):sdkStreamMixin(_0x98e561['body']);}else{if(_0x98e561['body']){const _0x5909ad=await collectBody(_0x98e561['body'],_0x598da9);_0x5909ad['byteLength']>0x0&&(_0x110f24[_0x4fc1ce]=await _0x2db4c9['read'](_0xc9db12,_0x5909ad));}}}else{if(_0xdcdb00['httpHeader']){const _0x4ef92d=String(_0xdcdb00['httpHeader'])['toLowerCase'](),_0x48cc8c=_0x98e561['headers'][_0x4ef92d];if(null!=_0x48cc8c){if(_0xc9db12['isListSchema']()){const _0x7d74de=_0xc9db12['getValueSchema']();let _0x56eacd;_0x7d74de['getMergedTraits']()['httpHeader']=_0x4ef92d,_0x56eacd=_0x7d74de['isTimestampSchema']()&&0x4===_0x7d74de['getSchema']()?splitEvery(_0x48cc8c,',',0x2):splitHeader(_0x48cc8c);const _0x1bebf4=[];for(const _0x1cbc79 of _0x56eacd)_0x1bebf4['push'](await _0x2db4c9['read'](_0x7d74de,_0x1cbc79['trim']()));_0x110f24[_0x4fc1ce]=_0x1bebf4;}else _0x110f24[_0x4fc1ce]=await _0x2db4c9['read'](_0xc9db12,_0x48cc8c);}}else{if(void 0x0!==_0xdcdb00['httpPrefixHeaders']){_0x110f24[_0x4fc1ce]={};for(const [_0x1cef01,_0x1b2d17]of Object['entries'](_0x98e561['headers']))if(_0x1cef01['startsWith'](_0xdcdb00['httpPrefixHeaders'])){const _0x4ed0ea=_0xc9db12['getValueSchema']();_0x4ed0ea['getMergedTraits']()['httpHeader']=_0x1cef01,_0x110f24[_0x4fc1ce][_0x1cef01['slice'](_0xdcdb00['httpPrefixHeaders']['length'])]=await _0x2db4c9['read'](_0x4ed0ea,_0x1b2d17);}}else _0xdcdb00['httpResponseCode']?_0x110f24[_0x4fc1ce]=_0x98e561['statusCode']:_0x1cc906['push'](_0x4fc1ce);}}}return _0x1cc906['discardResponseBody']=_0x5a7373,_0x1cc906;}}function determineTimestampFormat(_0x55a6bf,_0x136552){if(_0x136552['timestampFormat']['useTrait']&&_0x55a6bf['isTimestampSchema']()&&(0x5===_0x55a6bf['getSchema']()||0x6===_0x55a6bf['getSchema']()||0x7===_0x55a6bf['getSchema']()))return _0x55a6bf['getSchema']();const {httpLabel:_0x222cfa,httpPrefixHeaders:_0x5ac1f7,httpHeader:_0x20aeb0,httpQuery:_0x5802ab}=_0x55a6bf['getMergedTraits']();return(_0x136552['httpBindings']?'string'==typeof _0x5ac1f7||Boolean(_0x20aeb0)?0x6:Boolean(_0x5802ab)||Boolean(_0x222cfa)?0x5:void 0x0:void 0x0)??_0x136552['timestampFormat']['default'];}class FromStringShapeDeserializer extends SerdeContext{['settings'];constructor(_0xb3f4c6){super(),this['settings']=_0xb3f4c6;}['read'](_0x8ccd98,_0x3a8c82){const _0x6d98dc=_0x52c856['of'](_0x8ccd98);if(_0x6d98dc['isListSchema']())return splitHeader(_0x3a8c82)['map'](_0x50a6b4=>this['read'](_0x6d98dc['getValueSchema'](),_0x50a6b4));if(_0x6d98dc['isBlobSchema']())return(this['serdeContext']?.['base64Decoder']??_0x2714ba)(_0x3a8c82);if(_0x6d98dc['isTimestampSchema']())switch(determineTimestampFormat(_0x6d98dc,this['settings'])){case 0x5:return _parseRfc3339DateTimeWithOffset(_0x3a8c82);case 0x6:return _parseRfc7231DateTime(_0x3a8c82);case 0x7:return _parseEpochTimestamp(_0x3a8c82);default:return console['warn']('Missing\x20timestamp\x20format,\x20parsing\x20value\x20with\x20Date\x20constructor:',_0x3a8c82),new Date(_0x3a8c82);}if(_0x6d98dc['isStringSchema']()){const _0x2901fb=_0x6d98dc['getMergedTraits']()['mediaType'];let _0xdaf782=_0x3a8c82;if(_0x2901fb)return _0x6d98dc['getMergedTraits']()['httpHeader']&&(_0xdaf782=this['base64ToUtf8'](_0xdaf782)),(('application/json'===_0x2901fb||_0x2901fb['endsWith']('+json'))&&(_0xdaf782=LazyJsonString['from'](_0xdaf782)),_0xdaf782);}return _0x6d98dc['isNumericSchema']()?Number(_0x3a8c82):_0x6d98dc['isBigIntegerSchema']()?BigInt(_0x3a8c82):_0x6d98dc['isBigDecimalSchema']()?new _0x12d9b1(_0x3a8c82,'bigDecimal'):_0x6d98dc['isBooleanSchema']()?'true'===String(_0x3a8c82)['toLowerCase']():_0x3a8c82;}['base64ToUtf8'](_0xdbce4b){return(this['serdeContext']?.['utf8Encoder']??toUtf8)((this['serdeContext']?.['base64Decoder']??_0x2714ba)(_0xdbce4b));}}class HttpInterceptingShapeDeserializer extends SerdeContext{['codecDeserializer'];['stringDeserializer'];constructor(_0x743e01,_0x55de50){super(),this['codecDeserializer']=_0x743e01,this['stringDeserializer']=new FromStringShapeDeserializer(_0x55de50);}['setSerdeContext'](_0x11944d){this['stringDeserializer']['setSerdeContext'](_0x11944d),this['codecDeserializer']['setSerdeContext'](_0x11944d),this['serdeContext']=_0x11944d;}['read'](_0x4f7021,_0x59766){const _0x19e4cd=_0x52c856['of'](_0x4f7021),_0x1f2f21=_0x19e4cd['getMergedTraits'](),_0x59a98d=this['serdeContext']?.['utf8Encoder']??toUtf8;if(_0x1f2f21['httpHeader']||_0x1f2f21['httpResponseCode'])return this['stringDeserializer']['read'](_0x19e4cd,_0x59a98d(_0x59766));if(_0x1f2f21['httpPayload']){if(_0x19e4cd['isBlobSchema']()){const _0x5efb05=this['serdeContext']?.['utf8Decoder']??fromUtf8$2;return'string'==typeof _0x59766?_0x5efb05(_0x59766):_0x59766;}if(_0x19e4cd['isStringSchema']())return'byteLength'in _0x59766?_0x59a98d(_0x59766):_0x59766;}return this['codecDeserializer']['read'](_0x19e4cd,_0x59766);}}class ToStringShapeSerializer extends SerdeContext{['settings'];['stringBuffer']='';constructor(_0x4b3b3a){super(),this['settings']=_0x4b3b3a;}['write'](_0x42efee,_0x109ff7){const _0x1859e2=_0x52c856['of'](_0x42efee);switch(typeof _0x109ff7){case'object':if(null===_0x109ff7)return void(this['stringBuffer']='null');if(_0x1859e2['isTimestampSchema']()){if(!(_0x109ff7 instanceof Date))throw new Error('@smithy/core/protocols\x20-\x20received\x20non-Date\x20value\x20'+_0x109ff7+'\x20when\x20schema\x20expected\x20Date\x20in\x20'+_0x1859e2['getName'](!0x0));switch(determineTimestampFormat(_0x1859e2,this['settings'])){case 0x5:this['stringBuffer']=_0x109ff7['toISOString']()['replace']('.000Z','Z');break;case 0x6:this['stringBuffer']=dateToUtcString(_0x109ff7);break;case 0x7:this['stringBuffer']=String(_0x109ff7['getTime']()/0x3e8);break;default:console['warn']('Missing\x20timestamp\x20format,\x20using\x20epoch\x20seconds',_0x109ff7),this['stringBuffer']=String(_0x109ff7['getTime']()/0x3e8);}return;}if(_0x1859e2['isBlobSchema']()&&'byteLength'in _0x109ff7)return void(this['stringBuffer']=(this['serdeContext']?.['base64Encoder']??toBase64)(_0x109ff7));if(_0x1859e2['isListSchema']()&&Array['isArray'](_0x109ff7)){let _0x3b1c1d='';for(const _0x47936c of _0x109ff7){this['write']([_0x1859e2['getValueSchema'](),_0x1859e2['getMergedTraits']()],_0x47936c);const _0x548e24=this['flush']();''!==_0x3b1c1d&&(_0x3b1c1d+=',\x20'),_0x3b1c1d+=_0x1859e2['getValueSchema']()['isTimestampSchema']()?_0x548e24:quoteHeader(_0x548e24);}return void(this['stringBuffer']=_0x3b1c1d);}this['stringBuffer']=JSON['stringify'](_0x109ff7,null,0x2);break;case'string':const _0x43dff0=_0x1859e2['getMergedTraits']()['mediaType'];let _0x52e28b=_0x109ff7;if(_0x43dff0){if(('application/json'===_0x43dff0||_0x43dff0['endsWith']('+json'))&&(_0x52e28b=LazyJsonString['from'](_0x52e28b)),_0x1859e2['getMergedTraits']()['httpHeader'])return void(this['stringBuffer']=(this['serdeContext']?.['base64Encoder']??toBase64)(_0x52e28b['toString']()));}this['stringBuffer']=_0x109ff7;break;default:_0x1859e2['isIdempotencyToken']()?this['stringBuffer']=_0x4b2b0a():this['stringBuffer']=String(_0x109ff7);}}['flush'](){const _0x1e1109=this['stringBuffer'];return this['stringBuffer']='',_0x1e1109;}}class HttpInterceptingShapeSerializer{['codecSerializer'];['stringSerializer'];['buffer'];constructor(_0x1d0186,_0xff6da7,_0x3e1c90=new ToStringShapeSerializer(_0xff6da7)){this['codecSerializer']=_0x1d0186,this['stringSerializer']=_0x3e1c90;}['setSerdeContext'](_0xe9fe5d){this['codecSerializer']['setSerdeContext'](_0xe9fe5d),this['stringSerializer']['setSerdeContext'](_0xe9fe5d);}['write'](_0x8bf794,_0x39157a){const _0x27c88a=_0x52c856['of'](_0x8bf794),_0x191560=_0x27c88a['getMergedTraits']();return _0x191560['httpHeader']||_0x191560['httpLabel']||_0x191560['httpQuery']?(this['stringSerializer']['write'](_0x27c88a,_0x39157a),void(this['buffer']=this['stringSerializer']['flush']())):this['codecSerializer']['write'](_0x27c88a,_0x39157a);}['flush'](){if(void 0x0!==this['buffer']){const _0x2c94d0=this['buffer'];return this['buffer']=void 0x0,_0x2c94d0;}return this['codecSerializer']['flush']();}}function setFeature$1(_0x1a372d,_0x438685,_0x34707f){_0x1a372d['__smithy_context']?_0x1a372d['__smithy_context']['features']||(_0x1a372d['__smithy_context']['features']={}):_0x1a372d['__smithy_context']={'features':{}},_0x1a372d['__smithy_context']['features'][_0x438685]=_0x34707f;}class DefaultIdentityProviderConfig{['authSchemes']=new Map();constructor(_0x3dc917){for(const [_0x333190,_0x1825c0]of Object['entries'](_0x3dc917))void 0x0!==_0x1825c0&&this['authSchemes']['set'](_0x333190,_0x1825c0);}['getIdentityProvider'](_0x50d7ed){return this['authSchemes']['get'](_0x50d7ed);}}class HttpBearerAuthSigner{async['sign'](_0x339c9f,_0x35d22e,_0x483e40){const _0x5823e3=HttpRequest['clone'](_0x339c9f);if(!_0x35d22e['token'])throw new Error('request\x20could\x20not\x20be\x20signed\x20with\x20`token`\x20since\x20the\x20`token`\x20is\x20not\x20defined');return _0x5823e3['headers']['Authorization']='Bearer\x20'+_0x35d22e['token'],_0x5823e3;}}const createIsIdentityExpiredFunction=_0x3d7fbb=>function(_0xc7cb3b){return doesIdentityRequireRefresh(_0xc7cb3b)&&_0xc7cb3b['expiration']['getTime']()-Date['now']()<_0x3d7fbb;},_0x30c483=0x493e0,isIdentityExpired=createIsIdentityExpiredFunction(_0x30c483),doesIdentityRequireRefresh=_0x2088a0=>void 0x0!==_0x2088a0['expiration'],memoizeIdentityProvider=(_0x5c6c41,_0x555031,_0x472a4d)=>{if(void 0x0===_0x5c6c41)return;const _0x3365cd='function'!=typeof _0x5c6c41?async()=>Promise['resolve'](_0x5c6c41):_0x5c6c41;let _0x4d03f8,_0x5325e9,_0x160d91,_0x4aaec1=!0x1;const _0x2dd1ed=async _0x373a8f=>{_0x5325e9||(_0x5325e9=_0x3365cd(_0x373a8f));try{_0x4d03f8=await _0x5325e9,_0x160d91=!0x0,_0x4aaec1=!0x1;}finally{_0x5325e9=void 0x0;}return _0x4d03f8;};return void 0x0===_0x555031?async _0x367d96=>(_0x160d91&&!_0x367d96?.['forceRefresh']||(_0x4d03f8=await _0x2dd1ed(_0x367d96)),_0x4d03f8):async _0x548579=>(_0x160d91&&!_0x548579?.['forceRefresh']||(_0x4d03f8=await _0x2dd1ed(_0x548579)),_0x4aaec1?_0x4d03f8:_0x472a4d(_0x4d03f8)?_0x555031(_0x4d03f8)?(await _0x2dd1ed(_0x548579),_0x4d03f8):_0x4d03f8:(_0x4aaec1=!0x0,_0x4d03f8));},_0x4aa153=void 0x0;function isValidUserAgentAppId(_0x832423){return void 0x0===_0x832423||'string'==typeof _0x832423&&_0x832423['length']<=0x32;}function resolveUserAgentConfig(_0x1db3bf){const _0x104700=_0x593c07(_0x1db3bf['userAgentAppId']??_0x4aa153),{customUserAgent:_0x4738a3}=_0x1db3bf;return Object['assign'](_0x1db3bf,{'customUserAgent':'string'==typeof _0x4738a3?[[_0x4738a3]]:_0x4738a3,'userAgentAppId':async()=>{const _0x5774ac=await _0x104700();if(!isValidUserAgentAppId(_0x5774ac)){const _0x493e1b='NoOpLogger'!==_0x1db3bf['logger']?.['constructor']?.['name']&&_0x1db3bf['logger']?_0x1db3bf['logger']:console;'string'!=typeof _0x5774ac?_0x493e1b?.['warn']('userAgentAppId\x20must\x20be\x20a\x20string\x20or\x20undefined.'):_0x5774ac['length']>0x32&&_0x493e1b?.['warn']('The\x20provided\x20userAgentAppId\x20exceeds\x20the\x20maximum\x20length\x20of\x2050\x20characters.');}return _0x5774ac;}});}class EndpointCache{['capacity'];['data']=new Map();['parameters']=[];constructor({size:_0x5b3b3d,params:_0x44420e}){this['capacity']=_0x5b3b3d??0x32,_0x44420e&&(this['parameters']=_0x44420e);}['get'](_0x5dfd16,_0x50d7be){const _0x34a4fe=this['hash'](_0x5dfd16);if(!0x1===_0x34a4fe)return _0x50d7be();if(!this['data']['has'](_0x34a4fe)){if(this['data']['size']>this['capacity']+0xa){const _0x165cba=this['data']['keys']();let _0x580b14=0x0;for(;;){const {value:_0x33c422,done:_0x479549}=_0x165cba['next']();if(this['data']['delete'](_0x33c422),_0x479549||++_0x580b14>0xa)break;}}this['data']['set'](_0x34a4fe,_0x50d7be());}return this['data']['get'](_0x34a4fe);}['size'](){return this['data']['size'];}['hash'](_0x2083e7){let _0x289eeb='';const {parameters:_0x5f42ea}=this;if(0x0===_0x5f42ea['length'])return!0x1;for(const _0x4fb8a6 of _0x5f42ea){const _0x5c8929=String(_0x2083e7[_0x4fb8a6]??'');if(_0x5c8929['includes']('|;'))return!0x1;_0x289eeb+=_0x5c8929+'|;';}return _0x289eeb;}}const _0x169d80=new RegExp('^(?:25[0-5]|2[0-4]\x5cd|1\x5cd\x5cd|[1-9]\x5cd|\x5cd)(?:\x5c.(?:25[0-5]|2[0-4]\x5cd|1\x5cd\x5cd|[1-9]\x5cd|\x5cd)){3}$'),_0x55c208=_0x168d28=>_0x169d80['test'](_0x168d28)||_0x168d28['startsWith']('[')&&_0x168d28['endsWith'](']'),_0x4c930d=new RegExp('^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$'),isValidHostLabel=(_0x9dd6c4,_0x3c1f99=!0x1)=>{if(!_0x3c1f99)return _0x4c930d['test'](_0x9dd6c4);const _0x67b25d=_0x9dd6c4['split']('.');for(const _0x33baae of _0x67b25d)if(!isValidHostLabel(_0x33baae))return!0x1;return!0x0;},customEndpointFunctions={},_0x1b4bdd='endpoints';function toDebugString(_0x46c4f7){return'object'!=typeof _0x46c4f7||null==_0x46c4f7?_0x46c4f7:'ref'in _0x46c4f7?'$'+toDebugString(_0x46c4f7['ref']):'fn'in _0x46c4f7?_0x46c4f7['fn']+'('+(_0x46c4f7['argv']||[])['map'](toDebugString)['join'](',\x20')+')':JSON['stringify'](_0x46c4f7,null,0x2);}class EndpointError extends Error{constructor(_0x199f64){super(_0x199f64),this['name']='EndpointError';}}const _0x28e8dc=(_0x53c8e9,_0x3ef0a2)=>_0x53c8e9===_0x3ef0a2,getAttrPathList=_0x491ac8=>{const _0x589733=_0x491ac8['split']('.'),_0x21a72c=[];for(const _0x4595cf of _0x589733){const _0x2eb4d7=_0x4595cf['indexOf']('[');if(-0x1!==_0x2eb4d7){if(_0x4595cf['indexOf'](']')!==_0x4595cf['length']-0x1)throw new EndpointError('Path:\x20\x27'+_0x491ac8+'\x27\x20does\x20not\x20end\x20with\x20\x27]\x27');const _0x3da361=_0x4595cf['slice'](_0x2eb4d7+0x1,-0x1);if(Number['isNaN'](parseInt(_0x3da361)))throw new EndpointError('Invalid\x20array\x20index:\x20\x27'+_0x3da361+'\x27\x20in\x20path:\x20\x27'+_0x491ac8+'\x27');0x0!==_0x2eb4d7&&_0x21a72c['push'](_0x4595cf['slice'](0x0,_0x2eb4d7)),_0x21a72c['push'](_0x3da361);}else _0x21a72c['push'](_0x4595cf);}return _0x21a72c;},getAttr=(_0x15e00b,_0x330807)=>getAttrPathList(_0x330807)['reduce']((_0x58d703,_0x13a100)=>{if('object'!=typeof _0x58d703)throw new EndpointError('Index\x20\x27'+_0x13a100+'\x27\x20in\x20\x27'+_0x330807+'\x27\x20not\x20found\x20in\x20\x27'+JSON['stringify'](_0x15e00b)+'\x27');return Array['isArray'](_0x58d703)?_0x58d703[parseInt(_0x13a100)]:_0x58d703[_0x13a100];},_0x15e00b),isSet=_0x77a558=>null!=_0x77a558,not=_0x33d74a=>!_0x33d74a,_0x2396b7={[EndpointURLScheme['HTTP']]:0x50,[EndpointURLScheme['HTTPS']]:0x1bb},_0x1a9940=_0x5f08c1=>{const _0x1c70de=((()=>{try{if(_0x5f08c1 instanceof URL)return _0x5f08c1;if('object'==typeof _0x5f08c1&&'hostname'in _0x5f08c1){const {hostname:_0x291a2b,port:_0x18c0c2,protocol:_0x4b7ce2='',path:_0x27a2a5='',query:_0x5aa1cc={}}=_0x5f08c1,_0x4d2b5c=new URL(_0x4b7ce2+'//'+_0x291a2b+(_0x18c0c2?':'+_0x18c0c2:'')+_0x27a2a5);return _0x4d2b5c['search']=Object['entries'](_0x5aa1cc)['map'](([_0x200519,_0x14ca45])=>_0x200519+'='+_0x14ca45)['join']('&'),_0x4d2b5c;}return new URL(_0x5f08c1);}catch(_0x268dad){return null;}})());if(!_0x1c70de)return console['error']('Unable\x20to\x20parse\x20'+JSON['stringify'](_0x5f08c1)+'\x20as\x20a\x20whatwg\x20URL.'),null;const _0x1fc8c1=_0x1c70de['href'],{host:_0x5b6b23,hostname:_0x38fd63,pathname:_0x22a43d,protocol:_0x286597,search:_0x5d169c}=_0x1c70de;if(_0x5d169c)return null;const _0x216d6f=_0x286597['slice'](0x0,-0x1);if(!Object['values'](EndpointURLScheme)['includes'](_0x216d6f))return null;const _0x10ebc0=_0x55c208(_0x38fd63);return{'scheme':_0x216d6f,'authority':''+_0x5b6b23+(_0x1fc8c1['includes'](_0x5b6b23+':'+_0x2396b7[_0x216d6f])||'string'==typeof _0x5f08c1&&_0x5f08c1['includes'](_0x5b6b23+':'+_0x2396b7[_0x216d6f])?':'+_0x2396b7[_0x216d6f]:''),'path':_0x22a43d,'normalizedPath':_0x22a43d['endsWith']('/')?_0x22a43d:_0x22a43d+'/','isIp':_0x10ebc0};},stringEquals=(_0x3a5762,_0x543668)=>_0x3a5762===_0x543668,substring=(_0x343792,_0x1aec39,_0x1d92e4,_0x3fda57)=>_0x1aec39>=_0x1d92e4||_0x343792['length']<_0x1d92e4?null:_0x3fda57?_0x343792['substring'](_0x343792['length']-_0x1d92e4,_0x343792['length']-_0x1aec39):_0x343792['substring'](_0x1aec39,_0x1d92e4),_0x17b29b=_0x510469=>encodeURIComponent(_0x510469)['replace'](/[!*'()]/g,_0x579810=>'%'+_0x579810['charCodeAt'](0x0)['toString'](0x10)['toUpperCase']()),endpointFunctions={'booleanEquals':_0x28e8dc,'getAttr':getAttr,'isSet':isSet,'isValidHostLabel':isValidHostLabel,'not':not,'parseURL':_0x1a9940,'stringEquals':stringEquals,'substring':substring,'uriEncode':_0x17b29b},evaluateTemplate=(_0x4b7248,_0xcbefe7)=>{const _0x5d9578=[],_0x449bc1={..._0xcbefe7['endpointParams'],..._0xcbefe7['referenceRecord']};let _0x4296b2=0x0;for(;_0x4296b2<_0x4b7248['length'];){const _0x5bb150=_0x4b7248['indexOf']('{',_0x4296b2);if(-0x1===_0x5bb150){_0x5d9578['push'](_0x4b7248['slice'](_0x4296b2));break;}_0x5d9578['push'](_0x4b7248['slice'](_0x4296b2,_0x5bb150));const _0x5dac7c=_0x4b7248['indexOf']('}',_0x5bb150);if(-0x1===_0x5dac7c){_0x5d9578['push'](_0x4b7248['slice'](_0x5bb150));break;}'{'===_0x4b7248[_0x5bb150+0x1]&&'}'===_0x4b7248[_0x5dac7c+0x1]&&(_0x5d9578['push'](_0x4b7248['slice'](_0x5bb150+0x1,_0x5dac7c)),_0x4296b2=_0x5dac7c+0x2);const _0x316440=_0x4b7248['substring'](_0x5bb150+0x1,_0x5dac7c);if(_0x316440['includes']('#')){const [_0x30ed97,_0x13ff65]=_0x316440['split']('#');_0x5d9578['push'](getAttr(_0x449bc1[_0x30ed97],_0x13ff65));}else _0x5d9578['push'](_0x449bc1[_0x316440]);_0x4296b2=_0x5dac7c+0x1;}return _0x5d9578['join']('');},getReferenceValue=({ref:_0x3d9d4e},_0x2ff085)=>({..._0x2ff085['endpointParams'],..._0x2ff085['referenceRecord']}[_0x3d9d4e]),evaluateExpression=(_0x549550,_0x3aade6,_0x295b1b)=>{if('string'==typeof _0x549550)return evaluateTemplate(_0x549550,_0x295b1b);if(_0x549550['fn'])return _0x45eca7['callFunction'](_0x549550,_0x295b1b);if(_0x549550['ref'])return getReferenceValue(_0x549550,_0x295b1b);throw new EndpointError('\x27'+_0x3aade6+'\x27:\x20'+String(_0x549550)+'\x20is\x20not\x20a\x20string,\x20function\x20or\x20reference.');},callFunction=({fn:_0x768a59,argv:_0x1f18b8},_0x26c834)=>{const _0x5006c0=_0x1f18b8['map'](_0x429baf=>['boolean','number']['includes'](typeof _0x429baf)?_0x429baf:_0x45eca7['evaluateExpression'](_0x429baf,'arg',_0x26c834)),_0x1e7afd=_0x768a59['split']('.');return _0x1e7afd[0x0]in customEndpointFunctions&&null!=_0x1e7afd[0x1]?customEndpointFunctions[_0x1e7afd[0x0]][_0x1e7afd[0x1]](..._0x5006c0):endpointFunctions[_0x768a59](..._0x5006c0);},_0x45eca7={'evaluateExpression':evaluateExpression,'callFunction':callFunction},evaluateCondition=({assign:_0x415c96,..._0x5e0d4c},_0x45a5fa)=>{if(_0x415c96&&_0x415c96 in _0x45a5fa['referenceRecord'])throw new EndpointError('\x27'+_0x415c96+'\x27\x20is\x20already\x20defined\x20in\x20Reference\x20Record.');const _0x1386fa=callFunction(_0x5e0d4c,_0x45a5fa);return _0x45a5fa['logger']?.['debug']?.(_0x1b4bdd+'\x20evaluateCondition:\x20'+toDebugString(_0x5e0d4c)+'\x20=\x20'+toDebugString(_0x1386fa)),{'result':''===_0x1386fa||!!_0x1386fa,...null!=_0x415c96&&{'toAssign':{'name':_0x415c96,'value':_0x1386fa}}};},evaluateConditions=(_0x4dfcbb=[],_0x5c34ef)=>{const _0x286a03={};for(const _0x533f1e of _0x4dfcbb){const {result:_0x546a76,toAssign:_0x316490}=evaluateCondition(_0x533f1e,{..._0x5c34ef,'referenceRecord':{..._0x5c34ef['referenceRecord'],..._0x286a03}});if(!_0x546a76)return{'result':_0x546a76};_0x316490&&(_0x286a03[_0x316490['name']]=_0x316490['value'],_0x5c34ef['logger']?.['debug']?.(_0x1b4bdd+'\x20assign:\x20'+_0x316490['name']+'\x20:=\x20'+toDebugString(_0x316490['value'])));}return{'result':!0x0,'referenceRecord':_0x286a03};},getEndpointHeaders=(_0x30641b,_0x1961d7)=>Object['entries'](_0x30641b)['reduce']((_0x4fbaa0,[_0x196bc0,_0x2b97b8])=>({..._0x4fbaa0,[_0x196bc0]:_0x2b97b8['map'](_0x3d2d9e=>{const _0x38ad3d=evaluateExpression(_0x3d2d9e,'Header\x20value\x20entry',_0x1961d7);if('string'!=typeof _0x38ad3d)throw new EndpointError('Header\x20\x27'+_0x196bc0+'\x27\x20value\x20\x27'+_0x38ad3d+'\x27\x20is\x20not\x20a\x20string');return _0x38ad3d;})}),{}),getEndpointProperties=(_0x5ba5f6,_0x37dd98)=>Object['entries'](_0x5ba5f6)['reduce']((_0x4b584a,[_0x1b272f,_0x44b297])=>({..._0x4b584a,[_0x1b272f]:_0x56132d['getEndpointProperty'](_0x44b297,_0x37dd98)}),{}),getEndpointProperty=(_0x2725eb,_0x19a894)=>{if(Array['isArray'](_0x2725eb))return _0x2725eb['map'](_0x2ef796=>getEndpointProperty(_0x2ef796,_0x19a894));switch(typeof _0x2725eb){case'string':return evaluateTemplate(_0x2725eb,_0x19a894);case'object':if(null===_0x2725eb)throw new EndpointError('Unexpected\x20endpoint\x20property:\x20'+_0x2725eb);return _0x56132d['getEndpointProperties'](_0x2725eb,_0x19a894);case'boolean':return _0x2725eb;default:throw new EndpointError('Unexpected\x20endpoint\x20property\x20type:\x20'+typeof _0x2725eb);}},_0x56132d={'getEndpointProperty':getEndpointProperty,'getEndpointProperties':getEndpointProperties},getEndpointUrl=(_0x26f70e,_0x34b097)=>{const _0x4fb8ac=evaluateExpression(_0x26f70e,'Endpoint\x20URL',_0x34b097);if('string'==typeof _0x4fb8ac)try{return new URL(_0x4fb8ac);}catch(_0x4c0eec){throw console['error']('Failed\x20to\x20construct\x20URL\x20with\x20'+_0x4fb8ac,_0x4c0eec),_0x4c0eec;}throw new EndpointError('Endpoint\x20URL\x20must\x20be\x20a\x20string,\x20got\x20'+typeof _0x4fb8ac);},evaluateEndpointRule=(_0x502986,_0x4ce8a3)=>{const {conditions:_0x2178dc,endpoint:_0x4a5ddf}=_0x502986,{result:_0x5c7480,referenceRecord:_0x5d4eba}=evaluateConditions(_0x2178dc,_0x4ce8a3);if(!_0x5c7480)return;const _0x1f6c6f={..._0x4ce8a3,'referenceRecord':{..._0x4ce8a3['referenceRecord'],..._0x5d4eba}},{url:_0x2ce517,properties:_0x20fb09,headers:_0x4c25c2}=_0x4a5ddf;return _0x4ce8a3['logger']?.['debug']?.(_0x1b4bdd+'\x20Resolving\x20endpoint\x20from\x20template:\x20'+toDebugString(_0x4a5ddf)),{...null!=_0x4c25c2&&{'headers':getEndpointHeaders(_0x4c25c2,_0x1f6c6f)},...null!=_0x20fb09&&{'properties':getEndpointProperties(_0x20fb09,_0x1f6c6f)},'url':getEndpointUrl(_0x2ce517,_0x1f6c6f)};},evaluateErrorRule=(_0x2af665,_0x599bf6)=>{const {conditions:_0x28d23d,error:_0x14216e}=_0x2af665,{result:_0x532edf,referenceRecord:_0x6196d9}=evaluateConditions(_0x28d23d,_0x599bf6);if(_0x532edf)throw new EndpointError(evaluateExpression(_0x14216e,'Error',{..._0x599bf6,'referenceRecord':{..._0x599bf6['referenceRecord'],..._0x6196d9}}));},evaluateRules=(_0xb92da3,_0x4cf6b5)=>{for(const _0xd622e7 of _0xb92da3)if('endpoint'===_0xd622e7['type']){const _0x1d9e74=evaluateEndpointRule(_0xd622e7,_0x4cf6b5);if(_0x1d9e74)return _0x1d9e74;}else{if('error'===_0xd622e7['type'])evaluateErrorRule(_0xd622e7,_0x4cf6b5);else{if('tree'!==_0xd622e7['type'])throw new EndpointError('Unknown\x20endpoint\x20rule:\x20'+_0xd622e7);{const _0x15d304=_0x275434['evaluateTreeRule'](_0xd622e7,_0x4cf6b5);if(_0x15d304)return _0x15d304;}}}throw new EndpointError('Rules\x20evaluation\x20failed');},evaluateTreeRule=(_0x1dcbcb,_0x5d8c34)=>{const {conditions:_0x551aaa,rules:_0x53d8c2}=_0x1dcbcb,{result:_0x336f08,referenceRecord:_0x325ad0}=evaluateConditions(_0x551aaa,_0x5d8c34);if(_0x336f08)return _0x275434['evaluateRules'](_0x53d8c2,{..._0x5d8c34,'referenceRecord':{..._0x5d8c34['referenceRecord'],..._0x325ad0}});},_0x275434={'evaluateRules':evaluateRules,'evaluateTreeRule':evaluateTreeRule},resolveEndpoint=(_0x396a13,_0x112ac4)=>{const {endpointParams:_0x5b02d0,logger:_0x5afdee}=_0x112ac4,{parameters:_0x297a10,rules:_0x37d529}=_0x396a13;_0x112ac4['logger']?.['debug']?.(_0x1b4bdd+'\x20Initial\x20EndpointParams:\x20'+toDebugString(_0x5b02d0));const _0x4ce675=Object['entries'](_0x297a10)['filter'](([,_0x5ba030])=>null!=_0x5ba030['default'])['map'](([_0x5f54ba,_0x1a0d22])=>[_0x5f54ba,_0x1a0d22['default']]);if(_0x4ce675['length']>0x0){for(const [_0x185230,_0x4c3eba]of _0x4ce675)_0x5b02d0[_0x185230]=_0x5b02d0[_0x185230]??_0x4c3eba;}const _0x4a10a2=Object['entries'](_0x297a10)['filter'](([,_0x5e02fd])=>_0x5e02fd['required'])['map'](([_0x1c5ffe])=>_0x1c5ffe);for(const _0x176e2d of _0x4a10a2)if(null==_0x5b02d0[_0x176e2d])throw new EndpointError('Missing\x20required\x20parameter:\x20\x27'+_0x176e2d+'\x27');const _0x250bae=evaluateRules(_0x37d529,{'endpointParams':_0x5b02d0,'logger':_0x5afdee,'referenceRecord':{}});return _0x112ac4['logger']?.['debug']?.(_0x1b4bdd+'\x20Resolved\x20endpoint:\x20'+toDebugString(_0x250bae)),_0x250bae;},isVirtualHostableS3Bucket$1=(_0x31caf1,_0x3ec2a7=!0x1)=>{if(_0x3ec2a7){for(const _0x669e3a of _0x31caf1['split']('.'))if(!isVirtualHostableS3Bucket$1(_0x669e3a))return!0x1;return!0x0;}return!!isValidHostLabel(_0x31caf1)&&(!(_0x31caf1['length']<0x3||_0x31caf1['length']>0x3f)&&(_0x31caf1===_0x31caf1['toLowerCase']()&&!_0x55c208(_0x31caf1)));},_0x3e7760=':',_0x258ec4='/',_0x36d9cb=_0x50d1df=>{const _0x20b4cf=_0x50d1df['split'](_0x3e7760);if(_0x20b4cf['length']<0x6)return null;const [_0x23de5c,_0x25f3c8,_0x417199,_0x3e00b5,_0x18a715,..._0xbf622e]=_0x20b4cf;if('arn'!==_0x23de5c||''===_0x25f3c8||''===_0x417199||''===_0xbf622e['join'](_0x3e7760))return null;return{'partition':_0x25f3c8,'service':_0x417199,'region':_0x3e00b5,'accountId':_0x18a715,'resourceId':_0xbf622e['map'](_0x4c6533=>_0x4c6533['split'](_0x258ec4))['flat']()};};var partitions$1=[{'id':'aws','outputs':{'dnsSuffix':'amazonaws.com','dualStackDnsSuffix':'api.aws','implicitGlobalRegion':'us-east-1','name':'aws','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^(us|eu|ap|sa|ca|me|af|il|mx)\x5c-\x5cw+\x5c-\x5cd+$','regions':{'af-south-1':{'description':'Africa\x20(Cape\x20Town)'},'ap-east-1':{'description':'Asia\x20Pacific\x20(Hong\x20Kong)'},'ap-east-2':{'description':'Asia\x20Pacific\x20(Taipei)'},'ap-northeast-1':{'description':'Asia\x20Pacific\x20(Tokyo)'},'ap-northeast-2':{'description':'Asia\x20Pacific\x20(Seoul)'},'ap-northeast-3':{'description':'Asia\x20Pacific\x20(Osaka)'},'ap-south-1':{'description':'Asia\x20Pacific\x20(Mumbai)'},'ap-south-2':{'description':'Asia\x20Pacific\x20(Hyderabad)'},'ap-southeast-1':{'description':'Asia\x20Pacific\x20(Singapore)'},'ap-southeast-2':{'description':'Asia\x20Pacific\x20(Sydney)'},'ap-southeast-3':{'description':'Asia\x20Pacific\x20(Jakarta)'},'ap-southeast-4':{'description':'Asia\x20Pacific\x20(Melbourne)'},'ap-southeast-5':{'description':'Asia\x20Pacific\x20(Malaysia)'},'ap-southeast-6':{'description':'Asia\x20Pacific\x20(New\x20Zealand)'},'ap-southeast-7':{'description':'Asia\x20Pacific\x20(Thailand)'},'aws-global':{'description':'aws\x20global\x20region'},'ca-central-1':{'description':'Canada\x20(Central)'},'ca-west-1':{'description':'Canada\x20West\x20(Calgary)'},'eu-central-1':{'description':'Europe\x20(Frankfurt)'},'eu-central-2':{'description':'Europe\x20(Zurich)'},'eu-north-1':{'description':'Europe\x20(Stockholm)'},'eu-south-1':{'description':'Europe\x20(Milan)'},'eu-south-2':{'description':'Europe\x20(Spain)'},'eu-west-1':{'description':'Europe\x20(Ireland)'},'eu-west-2':{'description':'Europe\x20(London)'},'eu-west-3':{'description':'Europe\x20(Paris)'},'il-central-1':{'description':'Israel\x20(Tel\x20Aviv)'},'me-central-1':{'description':'Middle\x20East\x20(UAE)'},'me-south-1':{'description':'Middle\x20East\x20(Bahrain)'},'mx-central-1':{'description':'Mexico\x20(Central)'},'sa-east-1':{'description':'South\x20America\x20(Sao\x20Paulo)'},'us-east-1':{'description':'US\x20East\x20(N.\x20Virginia)'},'us-east-2':{'description':'US\x20East\x20(Ohio)'},'us-west-1':{'description':'US\x20West\x20(N.\x20California)'},'us-west-2':{'description':'US\x20West\x20(Oregon)'}}},{'id':'aws-cn','outputs':{'dnsSuffix':'amazonaws.com.cn','dualStackDnsSuffix':'api.amazonwebservices.com.cn','implicitGlobalRegion':'cn-northwest-1','name':'aws-cn','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^cn\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-cn-global':{'description':'aws-cn\x20global\x20region'},'cn-north-1':{'description':'China\x20(Beijing)'},'cn-northwest-1':{'description':'China\x20(Ningxia)'}}},{'id':'aws-eusc','outputs':{'dnsSuffix':'amazonaws.eu','dualStackDnsSuffix':'api.amazonwebservices.eu','implicitGlobalRegion':'eusc-de-east-1','name':'aws-eusc','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^eusc\x5c-(de)\x5c-\x5cw+\x5c-\x5cd+$','regions':{'eusc-de-east-1':{'description':'AWS\x20European\x20Sovereign\x20Cloud\x20(Germany)'}}},{'id':'aws-iso','outputs':{'dnsSuffix':'c2s.ic.gov','dualStackDnsSuffix':'api.aws.ic.gov','implicitGlobalRegion':'us-iso-east-1','name':'aws-iso','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-iso\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-global':{'description':'aws-iso\x20global\x20region'},'us-iso-east-1':{'description':'US\x20ISO\x20East'},'us-iso-west-1':{'description':'US\x20ISO\x20WEST'}}},{'id':'aws-iso-b','outputs':{'dnsSuffix':'sc2s.sgov.gov','dualStackDnsSuffix':'api.aws.scloud','implicitGlobalRegion':'us-isob-east-1','name':'aws-iso-b','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-isob\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-b-global':{'description':'aws-iso-b\x20global\x20region'},'us-isob-east-1':{'description':'US\x20ISOB\x20East\x20(Ohio)'},'us-isob-west-1':{'description':'US\x20ISOB\x20West'}}},{'id':'aws-iso-e','outputs':{'dnsSuffix':'cloud.adc-e.uk','dualStackDnsSuffix':'api.cloud-aws.adc-e.uk','implicitGlobalRegion':'eu-isoe-west-1','name':'aws-iso-e','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^eu\x5c-isoe\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-e-global':{'description':'aws-iso-e\x20global\x20region'},'eu-isoe-west-1':{'description':'EU\x20ISOE\x20West'}}},{'id':'aws-iso-f','outputs':{'dnsSuffix':'csp.hci.ic.gov','dualStackDnsSuffix':'api.aws.hci.ic.gov','implicitGlobalRegion':'us-isof-south-1','name':'aws-iso-f','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-isof\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-f-global':{'description':'aws-iso-f\x20global\x20region'},'us-isof-east-1':{'description':'US\x20ISOF\x20EAST'},'us-isof-south-1':{'description':'US\x20ISOF\x20SOUTH'}}},{'id':'aws-us-gov','outputs':{'dnsSuffix':'amazonaws.com','dualStackDnsSuffix':'api.aws','implicitGlobalRegion':'us-gov-west-1','name':'aws-us-gov','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-gov\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-us-gov-global':{'description':'aws-us-gov\x20global\x20region'},'us-gov-east-1':{'description':'AWS\x20GovCloud\x20(US-East)'},'us-gov-west-1':{'description':'AWS\x20GovCloud\x20(US-West)'}}}],partitionsInfo$1={'partitions':partitions$1};let selectedPartitionsInfo$1=partitionsInfo$1;const partition$1=_0x3dba1d=>{const {partitions:_0xcebfef}=selectedPartitionsInfo$1;for(const _0xa4d50d of _0xcebfef){const {regions:_0x319bb2,outputs:_0x224afb}=_0xa4d50d;for(const [_0x227505,_0x15f4a7]of Object['entries'](_0x319bb2))if(_0x227505===_0x3dba1d)return{..._0x224afb,..._0x15f4a7};}for(const _0x5061c7 of _0xcebfef){const {regionRegex:_0x27a432,outputs:_0x5aba97}=_0x5061c7;if(new RegExp(_0x27a432)['test'](_0x3dba1d))return{..._0x5aba97};}const _0x408152=_0xcebfef['find'](_0x55b755=>'aws'===_0x55b755['id']);if(!_0x408152)throw new Error('Provided\x20region\x20was\x20not\x20found\x20in\x20the\x20partition\x20array\x20or\x20regex,\x20and\x20default\x20partition\x20with\x20id\x20\x27aws\x27\x20doesn\x27t\x20exist.');return{..._0x408152['outputs']};},awsEndpointFunctions$1={'isVirtualHostableS3Bucket':isVirtualHostableS3Bucket$1,'parseArn':_0x36d9cb,'partition':partition$1};function parseQueryString(_0x508cf7){const _0x194855={};if(_0x508cf7=_0x508cf7['replace'](/^\?/,''))for(const _0x4a4ceb of _0x508cf7['split']('&')){let [_0xac266b,_0x4c233b=null]=_0x4a4ceb['split']('=');_0xac266b=decodeURIComponent(_0xac266b),_0x4c233b&&(_0x4c233b=decodeURIComponent(_0x4c233b)),_0xac266b in _0x194855?Array['isArray'](_0x194855[_0xac266b])?_0x194855[_0xac266b]['push'](_0x4c233b):_0x194855[_0xac266b]=[_0x194855[_0xac266b],_0x4c233b]:_0x194855[_0xac266b]=_0x4c233b;}return _0x194855;}customEndpointFunctions['aws']=awsEndpointFunctions$1;const _0x1c11f7=_0x67bf27=>{if('string'==typeof _0x67bf27)return _0x1c11f7(new URL(_0x67bf27));const {hostname:_0x57e2cb,pathname:_0x264b39,port:_0x24e1ca,protocol:_0x3b8c9e,search:_0x300388}=_0x67bf27;let _0xac6af0;return _0x300388&&(_0xac6af0=parseQueryString(_0x300388)),{'hostname':_0x57e2cb,'port':_0x24e1ca?parseInt(_0x24e1ca):void 0x0,'protocol':_0x3b8c9e,'path':_0x264b39,'query':_0xac6af0};};function setCredentialFeature(_0x100687,_0x3b4f02,_0x2e4ab2){return _0x100687['$source']||(_0x100687['$source']={}),_0x100687['$source'][_0x3b4f02]=_0x2e4ab2,_0x100687;}function setFeature(_0x1918c9,_0xcd39ef,_0x4ec8dc){_0x1918c9['__aws_sdk_context']?_0x1918c9['__aws_sdk_context']['features']||(_0x1918c9['__aws_sdk_context']['features']={}):_0x1918c9['__aws_sdk_context']={'features':{}},_0x1918c9['__aws_sdk_context']['features'][_0xcd39ef]=_0x4ec8dc;}const getDateHeader=_0x554b97=>HttpResponse['isInstance'](_0x554b97)?_0x554b97['headers']?.['date']??_0x554b97['headers']?.['Date']:void 0x0,getSkewCorrectedDate=_0x19a346=>new Date(Date['now']()+_0x19a346),_0x2d1198=(_0x585244,_0x1533d0)=>Math['abs'](getSkewCorrectedDate(_0x1533d0)['getTime']()-_0x585244)>=0x493e0,getUpdatedSystemClockOffset=(_0x3e3a59,_0x3c9632)=>{const _0x30ef5b=Date['parse'](_0x3e3a59);return _0x2d1198(_0x30ef5b,_0x3c9632)?_0x30ef5b-Date['now']():_0x3c9632;},throwSigningPropertyError=(_0x457c96,_0x15a081)=>{if(!_0x15a081)throw new Error('Property\x20`'+_0x457c96+'`\x20is\x20not\x20resolved\x20for\x20AWS\x20SDK\x20SigV4Auth');return _0x15a081;},validateSigningProperties=async _0x2fa866=>{const _0x8c820=throwSigningPropertyError('context',_0x2fa866['context']),_0x46743f=throwSigningPropertyError('config',_0x2fa866['config']),_0x4b4765=_0x8c820['endpointV2']?.['properties']?.['authSchemes']?.[0x0],_0x1a7321=throwSigningPropertyError('signer',_0x46743f['signer']),_0x45bcf9=await _0x1a7321(_0x4b4765),_0x86e083=_0x2fa866?.['signingRegion'],_0x269ee7=_0x2fa866?.['signingRegionSet'],_0x425fe1=_0x2fa866?.['signingName'];return{'config':_0x46743f,'signer':_0x45bcf9,'signingRegion':_0x86e083,'signingRegionSet':_0x269ee7,'signingName':_0x425fe1};};class _0xf6d3ca{async['sign'](_0x322dc1,_0x1a7b91,_0x2f4e4c){if(!HttpRequest['isInstance'](_0x322dc1))throw new Error('The\x20request\x20is\x20not\x20an\x20instance\x20of\x20`HttpRequest`\x20and\x20cannot\x20be\x20signed');const _0x362f24=await validateSigningProperties(_0x2f4e4c),{config:_0x177ea7,signer:_0x2b9c96}=_0x362f24;let {signingRegion:_0x1d1e8d,signingName:_0x3b84b4}=_0x362f24;const _0x1cd557=_0x2f4e4c['context'];if(_0x1cd557?.['authSchemes']?.['length']){const [_0x555364,_0xd8e0c9]=_0x1cd557['authSchemes'];'sigv4a'===_0x555364?.['name']&&'sigv4'===_0xd8e0c9?.['name']&&(_0x1d1e8d=_0xd8e0c9?.['signingRegion']??_0x1d1e8d,_0x3b84b4=_0xd8e0c9?.['signingName']??_0x3b84b4);}return await _0x2b9c96['sign'](_0x322dc1,{'signingDate':getSkewCorrectedDate(_0x177ea7['systemClockOffset']),'signingRegion':_0x1d1e8d,'signingService':_0x3b84b4});}['errorHandler'](_0x4b3e54){return _0x4f6212=>{const _0x5caf1a=_0x4f6212['ServerTime']??getDateHeader(_0x4f6212['$response']);if(_0x5caf1a){const _0x2e22d3=throwSigningPropertyError('config',_0x4b3e54['config']),_0x263097=_0x2e22d3['systemClockOffset'];_0x2e22d3['systemClockOffset']=getUpdatedSystemClockOffset(_0x5caf1a,_0x2e22d3['systemClockOffset']),_0x2e22d3['systemClockOffset']!==_0x263097&&_0x4f6212['$metadata']&&(_0x4f6212['$metadata']['clockSkewCorrected']=!0x0);}throw _0x4f6212;};}['successHandler'](_0x15c4cf,_0x264fbf){const _0x546da4=getDateHeader(_0x15c4cf);if(_0x546da4){const _0x2b9a56=throwSigningPropertyError('config',_0x264fbf['config']);_0x2b9a56['systemClockOffset']=getUpdatedSystemClockOffset(_0x546da4,_0x2b9a56['systemClockOffset']);}}}const _0x164a23=(_0x3ed45a,_0x397575,_0x88efc9)=>{let _0x45dfce,_0x5e0b7e,_0x5e3077,_0x4c57e2=!0x1;return async _0xb08628=>(_0x5e3077&&!_0xb08628?.['forceRefresh']||(_0x45dfce=await((async()=>{_0x5e0b7e||(_0x5e0b7e=_0x3ed45a());try{_0x45dfce=await _0x5e0b7e,_0x5e3077=!0x0,_0x4c57e2=!0x1;}finally{_0x5e0b7e=void 0x0;}return _0x45dfce;})())),_0x45dfce);},_0x11d9e7='X-Amz-Algorithm',_0x1c9abc='X-Amz-Credential',_0x176380='X-Amz-Date',_0x456a43='X-Amz-SignedHeaders',_0x477df0='X-Amz-Expires',_0x1bb205='X-Amz-Signature',_0x3a63d3='X-Amz-Security-Token',_0x12fa88='authorization',_0x43409a=_0x176380['toLowerCase'](),_0x189c8e='date',_0x4ceae6=[_0x12fa88,_0x43409a,_0x189c8e],_0x504eef=_0x1bb205['toLowerCase'](),_0x453ae4='x-amz-content-sha256',_0x167e37=_0x3a63d3['toLowerCase'](),_0x54c0c2={'authorization':!0x0,'cache-control':!0x0,'connection':!0x0,'expect':!0x0,'from':!0x0,'keep-alive':!0x0,'max-forwards':!0x0,'pragma':!0x0,'referer':!0x0,'te':!0x0,'trailer':!0x0,'transfer-encoding':!0x0,'upgrade':!0x0,'user-agent':!0x0,'x-amzn-trace-id':!0x0},_0x47fc33=/^proxy-/,_0x322704=/^sec-/,_0xcd5575='AWS4-HMAC-SHA256',_0x12b1f4='AWS4-HMAC-SHA256-PAYLOAD',_0x3057a0='UNSIGNED-PAYLOAD',_0x37331f=0x32,_0x28ee5a='aws4_request',_0x401783=0x93a80,_0x2e0ca7={},_0x35ec94=[],createScope=(_0x14bc9a,_0x46c699,_0x5ed7ba)=>_0x14bc9a+'/'+_0x46c699+'/'+_0x5ed7ba+'/'+_0x28ee5a,getSigningKey=async(_0x3ea77c,_0xd6f852,_0x4e5d35,_0x2769b3,_0x3e5006)=>{const _0x3896c=_0x4e5d35+':'+_0x2769b3+':'+_0x3e5006+':'+toHex(await _0x2aac1b(_0x3ea77c,_0xd6f852['secretAccessKey'],_0xd6f852['accessKeyId']))+':'+_0xd6f852['sessionToken'];if(_0x3896c in _0x2e0ca7)return _0x2e0ca7[_0x3896c];for(_0x35ec94['push'](_0x3896c);_0x35ec94['length']>_0x37331f;)delete _0x2e0ca7[_0x35ec94['shift']()];let _0x4b0f20='AWS4'+_0xd6f852['secretAccessKey'];for(const _0x159358 of[_0x4e5d35,_0x2769b3,_0x3e5006,_0x28ee5a])_0x4b0f20=await _0x2aac1b(_0x3ea77c,_0x4b0f20,_0x159358);return _0x2e0ca7[_0x3896c]=_0x4b0f20;},_0x2aac1b=(_0x20f088,_0x5e73d4,_0x555bda)=>{const _0x9a75ca=new _0x20f088(_0x5e73d4);return _0x9a75ca['update'](toUint8Array(_0x555bda)),_0x9a75ca['digest']();},getCanonicalHeaders=({headers:_0xaa83c3},_0xb38c64,_0x458b63)=>{const _0x9821b4={};for(const _0x16696b of Object['keys'](_0xaa83c3)['sort']()){if(null==_0xaa83c3[_0x16696b])continue;const _0x43fbeb=_0x16696b['toLowerCase']();(_0x43fbeb in _0x54c0c2||_0xb38c64?.['has'](_0x43fbeb)||_0x47fc33['test'](_0x43fbeb)||_0x322704['test'](_0x43fbeb))&&(!_0x458b63||_0x458b63&&!_0x458b63['has'](_0x43fbeb))||(_0x9821b4[_0x43fbeb]=_0xaa83c3[_0x16696b]['trim']()['replace'](/\s+/g,'\x20'));}return _0x9821b4;},_0x573268=_0x50faed=>'function'==typeof ArrayBuffer&&_0x50faed instanceof ArrayBuffer||'[object\x20ArrayBuffer]'===Object['prototype']['toString']['call'](_0x50faed),getPayloadHash=async({headers:_0x1bffab,body:_0x5264f5},_0x332a7e)=>{for(const _0xd6cc18 of Object['keys'](_0x1bffab))if(_0xd6cc18['toLowerCase']()===_0x453ae4)return _0x1bffab[_0xd6cc18];if(null==_0x5264f5)return'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855';if('string'==typeof _0x5264f5||ArrayBuffer['isView'](_0x5264f5)||_0x573268(_0x5264f5)){const _0x37a833=new _0x332a7e();return _0x37a833['update'](toUint8Array(_0x5264f5)),toHex(await _0x37a833['digest']());}return _0x3057a0;};class HeaderFormatter{['format'](_0x23d2b4){const _0x134913=[];for(const _0x1ab84e of Object['keys'](_0x23d2b4)){const _0x4ced8c=fromUtf8$2(_0x1ab84e);_0x134913['push'](Uint8Array['from']([_0x4ced8c['byteLength']]),_0x4ced8c,this['formatHeaderValue'](_0x23d2b4[_0x1ab84e]));}const _0x2ac0af=new Uint8Array(_0x134913['reduce']((_0x47f9c1,_0x14d2fa)=>_0x47f9c1+_0x14d2fa['byteLength'],0x0));let _0x5db3d8=0x0;for(const _0x47ce09 of _0x134913)_0x2ac0af['set'](_0x47ce09,_0x5db3d8),_0x5db3d8+=_0x47ce09['byteLength'];return _0x2ac0af;}['formatHeaderValue'](_0x5d2a09){switch(_0x5d2a09['type']){case'boolean':return Uint8Array['from']([_0x5d2a09['value']?0x0:0x1]);case'byte':return Uint8Array['from']([0x2,_0x5d2a09['value']]);case'short':const _0x4709d7=new DataView(new ArrayBuffer(0x3));return _0x4709d7['setUint8'](0x0,0x3),_0x4709d7['setInt16'](0x1,_0x5d2a09['value'],!0x1),new Uint8Array(_0x4709d7['buffer']);case'integer':const _0x2a3af4=new DataView(new ArrayBuffer(0x5));return _0x2a3af4['setUint8'](0x0,0x4),_0x2a3af4['setInt32'](0x1,_0x5d2a09['value'],!0x1),new Uint8Array(_0x2a3af4['buffer']);case'long':const _0x358e01=new Uint8Array(0x9);return _0x358e01[0x0]=0x5,_0x358e01['set'](_0x5d2a09['value']['bytes'],0x1),_0x358e01;case'binary':const _0x4e0142=new DataView(new ArrayBuffer(0x3+_0x5d2a09['value']['byteLength']));_0x4e0142['setUint8'](0x0,0x6),_0x4e0142['setUint16'](0x1,_0x5d2a09['value']['byteLength'],!0x1);const _0xdcadd9=new Uint8Array(_0x4e0142['buffer']);return _0xdcadd9['set'](_0x5d2a09['value'],0x3),_0xdcadd9;case'string':const _0x962a89=fromUtf8$2(_0x5d2a09['value']),_0x334785=new DataView(new ArrayBuffer(0x3+_0x962a89['byteLength']));_0x334785['setUint8'](0x0,0x7),_0x334785['setUint16'](0x1,_0x962a89['byteLength'],!0x1);const _0x98e8c0=new Uint8Array(_0x334785['buffer']);return _0x98e8c0['set'](_0x962a89,0x3),_0x98e8c0;case'timestamp':const _0x33259e=new Uint8Array(0x9);return _0x33259e[0x0]=0x8,_0x33259e['set'](Int64$1['fromNumber'](_0x5d2a09['value']['valueOf']())['bytes'],0x1),_0x33259e;case'uuid':if(!_0x5582f9['test'](_0x5d2a09['value']))throw new Error('Invalid\x20UUID\x20received:\x20'+_0x5d2a09['value']);const _0x3d7fd8=new Uint8Array(0x11);return _0x3d7fd8[0x0]=0x9,_0x3d7fd8['set'](_0x2d7fdc(_0x5d2a09['value']['replace'](/\-/g,'')),0x1),_0x3d7fd8;}}}var _0x1bb350;!function(_0x24c8a5){_0x24c8a5[_0x24c8a5['boolTrue']=0x0]='boolTrue',_0x24c8a5[_0x24c8a5['boolFalse']=0x1]='boolFalse',_0x24c8a5[_0x24c8a5['byte']=0x2]='byte',_0x24c8a5[_0x24c8a5['short']=0x3]='short',_0x24c8a5[_0x24c8a5['integer']=0x4]='integer',_0x24c8a5[_0x24c8a5['long']=0x5]='long',_0x24c8a5[_0x24c8a5['byteArray']=0x6]='byteArray',_0x24c8a5[_0x24c8a5['string']=0x7]='string',_0x24c8a5[_0x24c8a5['timestamp']=0x8]='timestamp',_0x24c8a5[_0x24c8a5['uuid']=0x9]='uuid';}(_0x1bb350||(_0x1bb350={}));const _0x5582f9=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;let Int64$1=class _0x153150{['bytes'];constructor(_0x45340e){if(this['bytes']=_0x45340e,0x8!==_0x45340e['byteLength'])throw new Error('Int64\x20buffers\x20must\x20be\x20exactly\x208\x20bytes');}static['fromNumber'](_0x4f9495){if(_0x4f9495>0x8000000000000000||_0x4f9495<-0x8000000000000000)throw new Error(_0x4f9495+'\x20is\x20too\x20large\x20(or,\x20if\x20negative,\x20too\x20small)\x20to\x20represent\x20as\x20an\x20Int64');const _0x47eda7=new Uint8Array(0x8);for(let _0x54db0f=0x7,_0x4d8e1b=Math['abs'](Math['round'](_0x4f9495));_0x54db0f>-0x1&&_0x4d8e1b>0x0;_0x54db0f--,_0x4d8e1b/=0x100)_0x47eda7[_0x54db0f]=_0x4d8e1b;return _0x4f9495<0x0&&negate$1(_0x47eda7),new _0x153150(_0x47eda7);}['valueOf'](){const _0x423949=this['bytes']['slice'](0x0),_0x142339=0x80&_0x423949[0x0];return _0x142339&&negate$1(_0x423949),parseInt(toHex(_0x423949),0x10)*(_0x142339?-0x1:0x1);}['toString'](){return String(this['valueOf']());}};function negate$1(_0x57f147){for(let _0x2aec5c=0x0;_0x2aec5c<0x8;_0x2aec5c++)_0x57f147[_0x2aec5c]^=0xff;for(let _0x573d7f=0x7;_0x573d7f>-0x1&&(_0x57f147[_0x573d7f]++,0x0===_0x57f147[_0x573d7f]);_0x573d7f--);}const _0x59103d=(_0x1465d6,_0x2b13cd)=>{_0x1465d6=_0x1465d6['toLowerCase']();for(const _0x4455f8 of Object['keys'](_0x2b13cd))if(_0x1465d6===_0x4455f8['toLowerCase']())return!0x0;return!0x1;},_0x4cfbc7=(_0x1609b4,_0x158e2e={})=>{const {headers:_0x32dd88,query:_0x178ab1={}}=HttpRequest['clone'](_0x1609b4);for(const _0x4c9701 of Object['keys'](_0x32dd88)){const _0x3af6b0=_0x4c9701['toLowerCase']();('x-amz-'===_0x3af6b0['slice'](0x0,0x6)&&!_0x158e2e['unhoistableHeaders']?.['has'](_0x3af6b0)||_0x158e2e['hoistableHeaders']?.['has'](_0x3af6b0))&&(_0x178ab1[_0x4c9701]=_0x32dd88[_0x4c9701],delete _0x32dd88[_0x4c9701]);}return{..._0x1609b4,'headers':_0x32dd88,'query':_0x178ab1};},prepareRequest=_0x2cab9b=>{_0x2cab9b=HttpRequest['clone'](_0x2cab9b);for(const _0x5c78e3 of Object['keys'](_0x2cab9b['headers']))_0x4ceae6['indexOf'](_0x5c78e3['toLowerCase']())>-0x1&&delete _0x2cab9b['headers'][_0x5c78e3];return _0x2cab9b;},getCanonicalQuery=({query:_0x5b0ac9={}})=>{const _0x135618=[],_0x131905={};for(const _0x3bbbce of Object['keys'](_0x5b0ac9)){if(_0x3bbbce['toLowerCase']()===_0x504eef)continue;const _0x1ca8be=_0x595436(_0x3bbbce);_0x135618['push'](_0x1ca8be);const _0x2fa287=_0x5b0ac9[_0x3bbbce];'string'==typeof _0x2fa287?_0x131905[_0x1ca8be]=_0x1ca8be+'='+_0x595436(_0x2fa287):Array['isArray'](_0x2fa287)&&(_0x131905[_0x1ca8be]=_0x2fa287['slice'](0x0)['reduce']((_0x2998fd,_0x1e4cfa)=>_0x2998fd['concat']([_0x1ca8be+'='+_0x595436(_0x1e4cfa)]),[])['sort']()['join']('&'));}return _0x135618['sort']()['map'](_0x283f95=>_0x131905[_0x283f95])['filter'](_0x3f3240=>_0x3f3240)['join']('&');},_0x43bf39=_0x5c3b42=>toDate(_0x5c3b42)['toISOString']()['replace'](/\.\d{3}Z$/,'Z'),toDate=_0x211e9e=>'number'==typeof _0x211e9e?new Date(0x3e8*_0x211e9e):'string'==typeof _0x211e9e?Number(_0x211e9e)?new Date(0x3e8*Number(_0x211e9e)):new Date(_0x211e9e):_0x211e9e;class SignatureV4Base{['service'];['regionProvider'];['credentialProvider'];['sha256'];['uriEscapePath'];['applyChecksum'];constructor({applyChecksum:_0x5dd828,credentials:_0x36e55c,region:_0x417b86,service:_0x1eae50,sha256:_0x6ead56,uriEscapePath:_0x1c195c=!0x0}){this['service']=_0x1eae50,this['sha256']=_0x6ead56,this['uriEscapePath']=_0x1c195c,this['applyChecksum']='boolean'!=typeof _0x5dd828||_0x5dd828,this['regionProvider']=_0x453897(_0x417b86),this['credentialProvider']=_0x453897(_0x36e55c);}['createCanonicalRequest'](_0x2589e3,_0x47de3a,_0x57d976){const _0x3c571b=Object['keys'](_0x47de3a)['sort']();return _0x2589e3['method']+'\x0a'+this['getCanonicalPath'](_0x2589e3)+'\x0a'+getCanonicalQuery(_0x2589e3)+'\x0a'+_0x3c571b['map'](_0x42d753=>_0x42d753+':'+_0x47de3a[_0x42d753])['join']('\x0a')+'\x0a\x0a'+_0x3c571b['join'](';')+'\x0a'+_0x57d976;}async['createStringToSign'](_0x284e5b,_0x22a398,_0x55cae0,_0x2c4e77){const _0x4e3000=new this['sha256']();return _0x4e3000['update'](toUint8Array(_0x55cae0)),_0x2c4e77+'\x0a'+_0x284e5b+'\x0a'+_0x22a398+'\x0a'+toHex(await _0x4e3000['digest']());}['getCanonicalPath']({path:_0x2763a2}){if(this['uriEscapePath']){const _0x28fcd9=[];for(const _0x256c8e of _0x2763a2['split']('/'))0x0!==_0x256c8e?.['length']&&'.'!==_0x256c8e&&('..'===_0x256c8e?_0x28fcd9['pop']():_0x28fcd9['push'](_0x256c8e));const _0x2a90e0=''+(_0x2763a2?.['startsWith']('/')?'/':'')+_0x28fcd9['join']('/')+(_0x28fcd9['length']>0x0&&_0x2763a2?.['endsWith']('/')?'/':'');return _0x595436(_0x2a90e0)['replace'](/%2F/g,'/');}return _0x2763a2;}['validateResolvedCredentials'](_0x4d6632){if('object'!=typeof _0x4d6632||'string'!=typeof _0x4d6632['accessKeyId']||'string'!=typeof _0x4d6632['secretAccessKey'])throw new Error('Resolved\x20credential\x20object\x20is\x20not\x20valid');}['formatDate'](_0x5cabca){const _0x188b22=_0x43bf39(_0x5cabca)['replace'](/[\-:]/g,'');return{'longDate':_0x188b22,'shortDate':_0x188b22['slice'](0x0,0x8)};}['getCanonicalHeaderList'](_0x230ef1){return Object['keys'](_0x230ef1)['sort']()['join'](';');}}class SignatureV4 extends SignatureV4Base{['headerFormatter']=new HeaderFormatter();constructor({applyChecksum:_0xa51274,credentials:_0x5b60f6,region:_0x53c553,service:_0x2958d9,sha256:_0x3ee6bd,uriEscapePath:_0x10fc1=!0x0}){super({'applyChecksum':_0xa51274,'credentials':_0x5b60f6,'region':_0x53c553,'service':_0x2958d9,'sha256':_0x3ee6bd,'uriEscapePath':_0x10fc1});}async['presign'](_0x31f413,_0x5f2363={}){const {signingDate:_0x2b5c2e=new Date(),expiresIn:_0x2fd6d6=0xe10,unsignableHeaders:_0x25eb06,unhoistableHeaders:_0x3086b3,signableHeaders:_0xca58f3,hoistableHeaders:_0x5cd0bd,signingRegion:_0x2ecf01,signingService:_0x4d6fc4}=_0x5f2363,_0x5eeeb3=await this['credentialProvider']();this['validateResolvedCredentials'](_0x5eeeb3);const _0x213d49=_0x2ecf01??await this['regionProvider'](),{longDate:_0xe03b0b,shortDate:_0x11eb6c}=this['formatDate'](_0x2b5c2e);if(_0x2fd6d6>_0x401783)return Promise['reject']('Signature\x20version\x204\x20presigned\x20URLs\x20must\x20have\x20an\x20expiration\x20date\x20less\x20than\x20one\x20week\x20in\x20the\x20future');const _0x289860=createScope(_0x11eb6c,_0x213d49,_0x4d6fc4??this['service']),_0x49c650=_0x4cfbc7(prepareRequest(_0x31f413),{'unhoistableHeaders':_0x3086b3,'hoistableHeaders':_0x5cd0bd});_0x5eeeb3['sessionToken']&&(_0x49c650['query'][_0x3a63d3]=_0x5eeeb3['sessionToken']),_0x49c650['query'][_0x11d9e7]=_0xcd5575,_0x49c650['query'][_0x1c9abc]=_0x5eeeb3['accessKeyId']+'/'+_0x289860,_0x49c650['query'][_0x176380]=_0xe03b0b,_0x49c650['query'][_0x477df0]=_0x2fd6d6['toString'](0xa);const _0x399fa3=getCanonicalHeaders(_0x49c650,_0x25eb06,_0xca58f3);return _0x49c650['query'][_0x456a43]=this['getCanonicalHeaderList'](_0x399fa3),_0x49c650['query'][_0x1bb205]=await this['getSignature'](_0xe03b0b,_0x289860,this['getSigningKey'](_0x5eeeb3,_0x213d49,_0x11eb6c,_0x4d6fc4),this['createCanonicalRequest'](_0x49c650,_0x399fa3,await getPayloadHash(_0x31f413,this['sha256']))),_0x49c650;}async['sign'](_0x3199a5,_0x419d5e){return'string'==typeof _0x3199a5?this['signString'](_0x3199a5,_0x419d5e):_0x3199a5['headers']&&_0x3199a5['payload']?this['signEvent'](_0x3199a5,_0x419d5e):_0x3199a5['message']?this['signMessage'](_0x3199a5,_0x419d5e):this['signRequest'](_0x3199a5,_0x419d5e);}async['signEvent']({headers:_0x23e7ed,payload:_0xf6127e},{signingDate:_0x1ae902=new Date(),priorSignature:_0x1a4053,signingRegion:_0x71cac4,signingService:_0x20d397}){const _0x24e068=_0x71cac4??await this['regionProvider'](),{shortDate:_0x165340,longDate:_0x3408b2}=this['formatDate'](_0x1ae902),_0x1743b7=createScope(_0x165340,_0x24e068,_0x20d397??this['service']),_0x53bf25=await getPayloadHash({'headers':{},'body':_0xf6127e},this['sha256']),_0x985f88=new this['sha256']();_0x985f88['update'](_0x23e7ed);const _0x534067=toHex(await _0x985f88['digest']()),_0x7a8b77=[_0x12b1f4,_0x3408b2,_0x1743b7,_0x1a4053,_0x534067,_0x53bf25]['join']('\x0a');return this['signString'](_0x7a8b77,{'signingDate':_0x1ae902,'signingRegion':_0x24e068,'signingService':_0x20d397});}async['signMessage'](_0x52b1c3,{signingDate:_0x69558a=new Date(),signingRegion:_0x136ace,signingService:_0xd5ab03}){return this['signEvent']({'headers':this['headerFormatter']['format'](_0x52b1c3['message']['headers']),'payload':_0x52b1c3['message']['body']},{'signingDate':_0x69558a,'signingRegion':_0x136ace,'signingService':_0xd5ab03,'priorSignature':_0x52b1c3['priorSignature']})['then'](_0x13457d=>({'message':_0x52b1c3['message'],'signature':_0x13457d}));}async['signString'](_0x3e28fc,{signingDate:_0x2a3088=new Date(),signingRegion:_0x349238,signingService:_0x3d4361}={}){const _0x3d5aef=await this['credentialProvider']();this['validateResolvedCredentials'](_0x3d5aef);const _0x2873f3=_0x349238??await this['regionProvider'](),{shortDate:_0x362c13}=this['formatDate'](_0x2a3088),_0x21c3c5=new this['sha256'](await this['getSigningKey'](_0x3d5aef,_0x2873f3,_0x362c13,_0x3d4361));return _0x21c3c5['update'](toUint8Array(_0x3e28fc)),toHex(await _0x21c3c5['digest']());}async['signRequest'](_0x56abcd,{signingDate:_0x2c989e=new Date(),signableHeaders:_0x2de845,unsignableHeaders:_0x8326dc,signingRegion:_0x1c53e2,signingService:_0x2b1fb0}={}){const _0x174a4b=await this['credentialProvider']();this['validateResolvedCredentials'](_0x174a4b);const _0x49df37=_0x1c53e2??await this['regionProvider'](),_0xa2b8b8=prepareRequest(_0x56abcd),{longDate:_0x1bcf34,shortDate:_0x511333}=this['formatDate'](_0x2c989e),_0x5adaa9=createScope(_0x511333,_0x49df37,_0x2b1fb0??this['service']);_0xa2b8b8['headers'][_0x43409a]=_0x1bcf34,_0x174a4b['sessionToken']&&(_0xa2b8b8['headers'][_0x167e37]=_0x174a4b['sessionToken']);const _0x21f9c5=await getPayloadHash(_0xa2b8b8,this['sha256']);!_0x59103d(_0x453ae4,_0xa2b8b8['headers'])&&this['applyChecksum']&&(_0xa2b8b8['headers'][_0x453ae4]=_0x21f9c5);const _0x40d3ba=getCanonicalHeaders(_0xa2b8b8,_0x8326dc,_0x2de845),_0x5fd06a=await this['getSignature'](_0x1bcf34,_0x5adaa9,this['getSigningKey'](_0x174a4b,_0x49df37,_0x511333,_0x2b1fb0),this['createCanonicalRequest'](_0xa2b8b8,_0x40d3ba,_0x21f9c5));return _0xa2b8b8['headers'][_0x12fa88]=_0xcd5575+'\x20Credential='+_0x174a4b['accessKeyId']+'/'+_0x5adaa9+',\x20SignedHeaders='+this['getCanonicalHeaderList'](_0x40d3ba)+',\x20Signature='+_0x5fd06a,_0xa2b8b8;}async['getSignature'](_0x272d26,_0xd1387b,_0xe84fc1,_0x442ea8){const _0x29245b=await this['createStringToSign'](_0x272d26,_0xd1387b,_0x442ea8,_0xcd5575),_0xb958e8=new this['sha256'](await _0xe84fc1);return _0xb958e8['update'](toUint8Array(_0x29245b)),toHex(await _0xb958e8['digest']());}['getSigningKey'](_0x387466,_0x177325,_0x172d19,_0xc60616){return getSigningKey(this['sha256'],_0x387466,_0x172d19,_0x177325,_0xc60616||this['service']);}}const _0x29c11d=_0x1259da=>{let _0x4a2edb,_0x4b4430=_0x1259da['credentials'],_0x4d0576=!!_0x1259da['credentials'];Object['defineProperty'](_0x1259da,'credentials',{'set'(_0x2b9818){_0x2b9818&&_0x2b9818!==_0x4b4430&&_0x2b9818!==_0x4a2edb&&(_0x4d0576=!0x0),_0x4b4430=_0x2b9818;const _0x49c40d=normalizeCredentialProvider(_0x1259da,{'credentials':_0x4b4430,'credentialDefaultProvider':_0x1259da['credentialDefaultProvider']}),_0x5dbdcb=_0x227fa9(_0x1259da,_0x49c40d);if(_0x4d0576&&!_0x5dbdcb['attributed']){const _0x5ee3b8='object'==typeof _0x4b4430&&null!==_0x4b4430;_0x4a2edb=async _0x29c9d8=>{const _0x2568c6=await _0x5dbdcb(_0x29c9d8);return!_0x5ee3b8||_0x2568c6['$source']&&0x0!==Object['keys'](_0x2568c6['$source'])['length']?_0x2568c6:setCredentialFeature(_0x2568c6,'CREDENTIALS_CODE','e');},_0x4a2edb['memoized']=_0x5dbdcb['memoized'],_0x4a2edb['configBound']=_0x5dbdcb['configBound'],_0x4a2edb['attributed']=!0x0;}else _0x4a2edb=_0x5dbdcb;},'get':()=>_0x4a2edb,'enumerable':!0x0,'configurable':!0x0}),_0x1259da['credentials']=_0x4b4430;const {signingEscapePath:_0x44621f=!0x0,systemClockOffset:_0x554455=_0x1259da['systemClockOffset']||0x0,sha256:_0x4754f7}=_0x1259da;let _0x9c45b6;return _0x9c45b6=_0x1259da['signer']?_0x593c07(_0x1259da['signer']):_0x1259da['regionInfoProvider']?()=>_0x593c07(_0x1259da['region'])()['then'](async _0x22d7ee=>[await _0x1259da['regionInfoProvider'](_0x22d7ee,{'useFipsEndpoint':await _0x1259da['useFipsEndpoint'](),'useDualstackEndpoint':await _0x1259da['useDualstackEndpoint']()})||{},_0x22d7ee])['then'](([_0x20667d,_0x2232f7])=>{const {signingRegion:_0x3c9855,signingService:_0x16b74c}=_0x20667d;_0x1259da['signingRegion']=_0x1259da['signingRegion']||_0x3c9855||_0x2232f7,_0x1259da['signingName']=_0x1259da['signingName']||_0x16b74c||_0x1259da['serviceId'];const _0x1af64f={..._0x1259da,'credentials':_0x1259da['credentials'],'region':_0x1259da['signingRegion'],'service':_0x1259da['signingName'],'sha256':_0x4754f7,'uriEscapePath':_0x44621f};return new(_0x1259da['signerConstructor']||SignatureV4)(_0x1af64f);}):async _0xc15d31=>{const _0x4c75c8=(_0xc15d31=Object['assign']({},{'name':'sigv4','signingName':_0x1259da['signingName']||_0x1259da['defaultSigningName'],'signingRegion':await _0x593c07(_0x1259da['region'])(),'properties':{}},_0xc15d31))['signingRegion'],_0x29b91f=_0xc15d31['signingName'];_0x1259da['signingRegion']=_0x1259da['signingRegion']||_0x4c75c8,_0x1259da['signingName']=_0x1259da['signingName']||_0x29b91f||_0x1259da['serviceId'];const _0xfbd71b={..._0x1259da,'credentials':_0x1259da['credentials'],'region':_0x1259da['signingRegion'],'service':_0x1259da['signingName'],'sha256':_0x4754f7,'uriEscapePath':_0x44621f};return new(_0x1259da['signerConstructor']||SignatureV4)(_0xfbd71b);},Object['assign'](_0x1259da,{'systemClockOffset':_0x554455,'signingEscapePath':_0x44621f,'signer':_0x9c45b6});};function normalizeCredentialProvider(_0x536151,{credentials:_0x2e4237,credentialDefaultProvider:_0x40054c}){let _0x39abf0;return _0x39abf0=_0x2e4237?_0x2e4237?.['memoized']?_0x2e4237:memoizeIdentityProvider(_0x2e4237,isIdentityExpired,doesIdentityRequireRefresh):_0x40054c?_0x593c07(_0x40054c(Object['assign']({},_0x536151,{'parentClientConfig':_0x536151}))):async()=>{throw new Error('@aws-sdk/core::resolveAwsSdkSigV4Config\x20-\x20`credentials`\x20not\x20provided\x20and\x20no\x20credentialDefaultProvider\x20was\x20configured.');},_0x39abf0['memoized']=!0x0,_0x39abf0;}function _0x227fa9(_0x13b3ed,_0x55f1b6){if(_0x55f1b6['configBound'])return _0x55f1b6;const _0x593670=async _0x20d412=>_0x55f1b6({..._0x20d412,'callerClientConfig':_0x13b3ed});return _0x593670['memoized']=_0x55f1b6['memoized'],_0x593670['configBound']=!0x0,_0x593670;}const _0x40c136='function'==typeof TextEncoder?new TextEncoder():null,calculateBodyLength=_0x37bb6a=>{if('string'==typeof _0x37bb6a){if(_0x40c136)return _0x40c136['encode'](_0x37bb6a)['byteLength'];let _0x236b15=_0x37bb6a['length'];for(let _0x3d85f5=_0x236b15-0x1;_0x3d85f5>=0x0;_0x3d85f5--){const _0x1612ab=_0x37bb6a['charCodeAt'](_0x3d85f5);_0x1612ab>0x7f&&_0x1612ab<=0x7ff?_0x236b15++:_0x1612ab>0x7ff&&_0x1612ab<=0xffff&&(_0x236b15+=0x2),_0x1612ab>=0xdc00&&_0x1612ab<=0xdfff&&_0x3d85f5--;}return _0x236b15;}if('number'==typeof _0x37bb6a['byteLength'])return _0x37bb6a['byteLength'];if('number'==typeof _0x37bb6a['size'])return _0x37bb6a['size'];throw new Error('Body\x20Length\x20computation\x20failed\x20for\x20'+_0x37bb6a);},getAllAliases=(_0x3995df,_0x22bd66)=>{const _0x41c052=[];if(_0x3995df&&_0x41c052['push'](_0x3995df),_0x22bd66){for(const _0x55ad4c of _0x22bd66)_0x41c052['push'](_0x55ad4c);}return _0x41c052;},getMiddlewareNameWithAliases=(_0x2f3178,_0x1a4d95)=>''+(_0x2f3178||'anonymous')+(_0x1a4d95&&_0x1a4d95['length']>0x0?'\x20(a.k.a.\x20'+_0x1a4d95['join'](',')+')':''),constructStack=()=>{let _0x14c36e=[],_0x5afb73=[],_0x562b8f=!0x1;const _0xc0fbc=new Set(),_0x4a25a9=_0x21889e=>(_0x14c36e['forEach'](_0x542be5=>{_0x21889e['add'](_0x542be5['middleware'],{..._0x542be5});}),_0x5afb73['forEach'](_0x7b7226=>{_0x21889e['addRelativeTo'](_0x7b7226['middleware'],{..._0x7b7226});}),_0x21889e['identifyOnResolve']?.(_0x26aa14['identifyOnResolve']()),_0x21889e),_0x567830=_0x5ed9e2=>{const _0x57b21f=[];return _0x5ed9e2['before']['forEach'](_0x5e972b=>{0x0===_0x5e972b['before']['length']&&0x0===_0x5e972b['after']['length']?_0x57b21f['push'](_0x5e972b):_0x57b21f['push'](..._0x567830(_0x5e972b));}),_0x57b21f['push'](_0x5ed9e2),_0x5ed9e2['after']['reverse']()['forEach'](_0x289d0c=>{0x0===_0x289d0c['before']['length']&&0x0===_0x289d0c['after']['length']?_0x57b21f['push'](_0x289d0c):_0x57b21f['push'](..._0x567830(_0x289d0c));}),_0x57b21f;},_0x273fa7=(_0x7564f8=!0x1)=>{const _0x54c30f=[],_0x1d2011=[],_0x23eeaa={};_0x14c36e['forEach'](_0x25e2db=>{const _0x92d467={..._0x25e2db,'before':[],'after':[]};for(const _0x4dead of getAllAliases(_0x92d467['name'],_0x92d467['aliases']))_0x23eeaa[_0x4dead]=_0x92d467;_0x54c30f['push'](_0x92d467);}),_0x5afb73['forEach'](_0x39d60e=>{const _0x4873d3={..._0x39d60e,'before':[],'after':[]};for(const _0x362901 of getAllAliases(_0x4873d3['name'],_0x4873d3['aliases']))_0x23eeaa[_0x362901]=_0x4873d3;_0x1d2011['push'](_0x4873d3);}),_0x1d2011['forEach'](_0x3590c7=>{if(_0x3590c7['toMiddleware']){const _0x49ed08=_0x23eeaa[_0x3590c7['toMiddleware']];if(void 0x0===_0x49ed08){if(_0x7564f8)return;throw new Error(_0x3590c7['toMiddleware']+'\x20is\x20not\x20found\x20when\x20adding\x20'+getMiddlewareNameWithAliases(_0x3590c7['name'],_0x3590c7['aliases'])+'\x20middleware\x20'+_0x3590c7['relation']+'\x20'+_0x3590c7['toMiddleware']);}'after'===_0x3590c7['relation']&&_0x49ed08['after']['push'](_0x3590c7),'before'===_0x3590c7['relation']&&_0x49ed08['before']['push'](_0x3590c7);}});const _0x40d948=(_0x416b5a=_0x54c30f,_0x416b5a['sort']((_0x37ef29,_0x13f15f)=>stepWeights[_0x13f15f['step']]-stepWeights[_0x37ef29['step']]||priorityWeights[_0x13f15f['priority']||'normal']-priorityWeights[_0x37ef29['priority']||'normal']))['map'](_0x567830)['reduce']((_0x228879,_0x16c563)=>(_0x228879['push'](..._0x16c563),_0x228879),[]);var _0x416b5a;return _0x40d948;},_0x26aa14={'add':(_0x452fe1,_0x364546={})=>{const {name:_0x4355fa,override:_0x5d96be,aliases:_0x2bc253}=_0x364546,_0x4b916b={'step':'initialize','priority':'normal','middleware':_0x452fe1,..._0x364546},_0x53fa9f=getAllAliases(_0x4355fa,_0x2bc253);if(_0x53fa9f['length']>0x0){if(_0x53fa9f['some'](_0x3e5c13=>_0xc0fbc['has'](_0x3e5c13))){if(!_0x5d96be)throw new Error('Duplicate\x20middleware\x20name\x20\x27'+getMiddlewareNameWithAliases(_0x4355fa,_0x2bc253)+'\x27');for(const _0x27d492 of _0x53fa9f){const _0x142ef8=_0x14c36e['findIndex'](_0x177104=>_0x177104['name']===_0x27d492||_0x177104['aliases']?.['some'](_0x1845d7=>_0x1845d7===_0x27d492));if(-0x1===_0x142ef8)continue;const _0x50dabf=_0x14c36e[_0x142ef8];if(_0x50dabf['step']!==_0x4b916b['step']||_0x4b916b['priority']!==_0x50dabf['priority'])throw new Error('\x22'+getMiddlewareNameWithAliases(_0x50dabf['name'],_0x50dabf['aliases'])+'\x22\x20middleware\x20with\x20'+_0x50dabf['priority']+'\x20priority\x20in\x20'+_0x50dabf['step']+'\x20step\x20cannot\x20be\x20overridden\x20by\x20\x22'+getMiddlewareNameWithAliases(_0x4355fa,_0x2bc253)+'\x22\x20middleware\x20with\x20'+_0x4b916b['priority']+'\x20priority\x20in\x20'+_0x4b916b['step']+'\x20step.');_0x14c36e['splice'](_0x142ef8,0x1);}}for(const _0x359ca2 of _0x53fa9f)_0xc0fbc['add'](_0x359ca2);}_0x14c36e['push'](_0x4b916b);},'addRelativeTo':(_0x356bdb,_0x18cdb6)=>{const {name:_0x431ae8,override:_0x4142f6,aliases:_0x36da12}=_0x18cdb6,_0x145e84={'middleware':_0x356bdb,..._0x18cdb6},_0x43e7bc=getAllAliases(_0x431ae8,_0x36da12);if(_0x43e7bc['length']>0x0){if(_0x43e7bc['some'](_0x24ee76=>_0xc0fbc['has'](_0x24ee76))){if(!_0x4142f6)throw new Error('Duplicate\x20middleware\x20name\x20\x27'+getMiddlewareNameWithAliases(_0x431ae8,_0x36da12)+'\x27');for(const _0x52a091 of _0x43e7bc){const _0x1f6456=_0x5afb73['findIndex'](_0x5059a6=>_0x5059a6['name']===_0x52a091||_0x5059a6['aliases']?.['some'](_0x559867=>_0x559867===_0x52a091));if(-0x1===_0x1f6456)continue;const _0x2f070f=_0x5afb73[_0x1f6456];if(_0x2f070f['toMiddleware']!==_0x145e84['toMiddleware']||_0x2f070f['relation']!==_0x145e84['relation'])throw new Error('\x22'+getMiddlewareNameWithAliases(_0x2f070f['name'],_0x2f070f['aliases'])+'\x22\x20middleware\x20'+_0x2f070f['relation']+'\x20\x22'+_0x2f070f['toMiddleware']+'\x22\x20middleware\x20cannot\x20be\x20overridden\x20by\x20\x22'+getMiddlewareNameWithAliases(_0x431ae8,_0x36da12)+'\x22\x20middleware\x20'+_0x145e84['relation']+'\x20\x22'+_0x145e84['toMiddleware']+'\x22\x20middleware.');_0x5afb73['splice'](_0x1f6456,0x1);}}for(const _0x1a6be9 of _0x43e7bc)_0xc0fbc['add'](_0x1a6be9);}_0x5afb73['push'](_0x145e84);},'clone':()=>_0x4a25a9(constructStack()),'use':_0x1cf65e=>{_0x1cf65e['applyToStack'](_0x26aa14);},'remove':_0xc5d2a0=>'string'==typeof _0xc5d2a0?(_0x3406cc=>{let _0x599b2e=!0x1;const _0x42d740=_0x21cc40=>{const _0x9d431b=getAllAliases(_0x21cc40['name'],_0x21cc40['aliases']);if(_0x9d431b['includes'](_0x3406cc)){_0x599b2e=!0x0;for(const _0x234477 of _0x9d431b)_0xc0fbc['delete'](_0x234477);return!0x1;}return!0x0;};return _0x14c36e=_0x14c36e['filter'](_0x42d740),_0x5afb73=_0x5afb73['filter'](_0x42d740),_0x599b2e;})(_0xc5d2a0):(_0x5357a1=>{let _0x27683c=!0x1;const _0x57d49f=_0x170d85=>{if(_0x170d85['middleware']===_0x5357a1){_0x27683c=!0x0;for(const _0x515f2d of getAllAliases(_0x170d85['name'],_0x170d85['aliases']))_0xc0fbc['delete'](_0x515f2d);return!0x1;}return!0x0;};return _0x14c36e=_0x14c36e['filter'](_0x57d49f),_0x5afb73=_0x5afb73['filter'](_0x57d49f),_0x27683c;})(_0xc5d2a0),'removeByTag':_0x325ce8=>{let _0x153a31=!0x1;const _0x46f8bc=_0x45459a=>{const {tags:_0x4b3ef4,name:_0x172f1b,aliases:_0x23e5d8}=_0x45459a;if(_0x4b3ef4&&_0x4b3ef4['includes'](_0x325ce8)){const _0x3b7884=getAllAliases(_0x172f1b,_0x23e5d8);for(const _0x4649b1 of _0x3b7884)_0xc0fbc['delete'](_0x4649b1);return _0x153a31=!0x0,!0x1;}return!0x0;};return _0x14c36e=_0x14c36e['filter'](_0x46f8bc),_0x5afb73=_0x5afb73['filter'](_0x46f8bc),_0x153a31;},'concat':_0x17db64=>{const _0x4d85af=_0x4a25a9(constructStack());return _0x4d85af['use'](_0x17db64),_0x4d85af['identifyOnResolve'](_0x562b8f||_0x4d85af['identifyOnResolve']()||(_0x17db64['identifyOnResolve']?.()??!0x1)),_0x4d85af;},'applyToStack':_0x4a25a9,'identify':()=>_0x273fa7(!0x0)['map'](_0x1f5471=>{const _0xd9d9fa=_0x1f5471['step']??_0x1f5471['relation']+'\x20'+_0x1f5471['toMiddleware'];return getMiddlewareNameWithAliases(_0x1f5471['name'],_0x1f5471['aliases'])+'\x20-\x20'+_0xd9d9fa;}),'identifyOnResolve':_0x771724=>('boolean'==typeof _0x771724&&(_0x562b8f=_0x771724),_0x562b8f),'resolve':(_0x552c60,_0x5aee65)=>{for(const _0x45ba18 of _0x273fa7()['map'](_0x37f5a1=>_0x37f5a1['middleware'])['reverse']())_0x552c60=_0x45ba18(_0x552c60,_0x5aee65);return _0x562b8f&&console['log'](_0x26aa14['identify']()),_0x552c60;}};return _0x26aa14;},stepWeights={'initialize':0x5,'serialize':0x4,'build':0x3,'finalizeRequest':0x2,'deserialize':0x1},priorityWeights={'high':0x3,'normal':0x2,'low':0x1};class Client{['config'];['middlewareStack']=constructStack();['initConfig'];['handlers'];constructor(_0x11cce0){this['config']=_0x11cce0;const {protocol:_0x2b70e0,protocolSettings:_0x3b7819}=_0x11cce0;_0x3b7819&&'function'==typeof _0x2b70e0&&(_0x11cce0['protocol']=new _0x2b70e0(_0x3b7819));}['send'](_0x19f552,_0x16f111,_0x44bcf3){const _0x2959d4='function'!=typeof _0x16f111?_0x16f111:void 0x0,_0x3a6370='function'==typeof _0x16f111?_0x16f111:_0x44bcf3;let _0x54fdc4;if(void 0x0===_0x2959d4&&!0x0===this['config']['cacheMiddleware']){this['handlers']||(this['handlers']=new WeakMap());const _0x1b6448=this['handlers'];_0x1b6448['has'](_0x19f552['constructor'])?_0x54fdc4=_0x1b6448['get'](_0x19f552['constructor']):(_0x54fdc4=_0x19f552['resolveMiddleware'](this['middlewareStack'],this['config'],_0x2959d4),_0x1b6448['set'](_0x19f552['constructor'],_0x54fdc4));}else delete this['handlers'],_0x54fdc4=_0x19f552['resolveMiddleware'](this['middlewareStack'],this['config'],_0x2959d4);if(!_0x3a6370)return _0x54fdc4(_0x19f552)['then'](_0x5c9c47=>_0x5c9c47['output']);_0x54fdc4(_0x19f552)['then'](_0x29afe8=>_0x3a6370(null,_0x29afe8['output']),_0x34022b=>_0x3a6370(_0x34022b))['catch'](()=>{});}['destroy'](){this['config']?.['requestHandler']?.['destroy']?.(),delete this['handlers'];}}const _0xe526ca='***SensitiveInformation***';function schemaLogFilter(_0x2fedeb,_0x402c81){if(null==_0x402c81)return _0x402c81;const _0x18ce5d=_0x52c856['of'](_0x2fedeb);if(_0x18ce5d['getMergedTraits']()['sensitive'])return _0xe526ca;if(_0x18ce5d['isListSchema']()){if(!!_0x18ce5d['getValueSchema']()['getMergedTraits']()['sensitive'])return _0xe526ca;}else{if(_0x18ce5d['isMapSchema']()){if(!!_0x18ce5d['getKeySchema']()['getMergedTraits']()['sensitive']||!!_0x18ce5d['getValueSchema']()['getMergedTraits']()['sensitive'])return _0xe526ca;}else{if(_0x18ce5d['isStructSchema']()&&'object'==typeof _0x402c81){const _0x3e61a8=_0x402c81,_0x5b9684={};for(const [_0x50ff42,_0x1369cf]of _0x18ce5d['structIterator']())null!=_0x3e61a8[_0x50ff42]&&(_0x5b9684[_0x50ff42]=schemaLogFilter(_0x1369cf,_0x3e61a8[_0x50ff42]));return _0x5b9684;}}}return _0x402c81;}class _0x3a3ec1{['middlewareStack']=constructStack();['schema'];static['classBuilder'](){return new _0x574ebe();}['resolveMiddlewareWithContext'](_0x1357ac,_0x598eee,_0x2e947c,{middlewareFn:_0x362bbd,clientName:_0x1d4683,commandName:_0x2fb4cb,inputFilterSensitiveLog:_0x729f23,outputFilterSensitiveLog:_0x22651c,smithyContext:_0x545057,additionalContext:_0x28ef35,CommandCtor:_0x1947d4}){for(const _0x4dfba5 of _0x362bbd['bind'](this)(_0x1947d4,_0x1357ac,_0x598eee,_0x2e947c))this['middlewareStack']['use'](_0x4dfba5);const _0x3821c3=_0x1357ac['concat'](this['middlewareStack']),{logger:_0x18dab9}=_0x598eee,_0x52b3e7={'logger':_0x18dab9,'clientName':_0x1d4683,'commandName':_0x2fb4cb,'inputFilterSensitiveLog':_0x729f23,'outputFilterSensitiveLog':_0x22651c,[_0x486ee7]:{'commandInstance':this,..._0x545057},..._0x28ef35},{requestHandler:_0x4c4077}=_0x598eee;return _0x3821c3['resolve'](_0xe90d70=>_0x4c4077['handle'](_0xe90d70['request'],_0x2e947c||{}),_0x52b3e7);}}class _0x574ebe{['_init']=()=>{};['_ep']={};['_middlewareFn']=()=>[];['_commandName']='';['_clientName']='';['_additionalContext']={};['_smithyContext']={};['_inputFilterSensitiveLog']=void 0x0;['_outputFilterSensitiveLog']=void 0x0;['_serializer']=null;['_deserializer']=null;['_operationSchema'];['init'](_0x2c7341){this['_init']=_0x2c7341;}['ep'](_0x26edea){return this['_ep']=_0x26edea,this;}['m'](_0x139866){return this['_middlewareFn']=_0x139866,this;}['s'](_0x19c886,_0x2dc0f5,_0x21d527={}){return this['_smithyContext']={'service':_0x19c886,'operation':_0x2dc0f5,..._0x21d527},this;}['c'](_0x501624={}){return this['_additionalContext']=_0x501624,this;}['n'](_0x59ec3a,_0x3124fe){return this['_clientName']=_0x59ec3a,this['_commandName']=_0x3124fe,this;}['f'](_0x231970=_0x2168da=>_0x2168da,_0x75ebbe=_0x490a0c=>_0x490a0c){return this['_inputFilterSensitiveLog']=_0x231970,this['_outputFilterSensitiveLog']=_0x75ebbe,this;}['ser'](_0x1b8154){return this['_serializer']=_0x1b8154,this;}['de'](_0x28737d){return this['_deserializer']=_0x28737d,this;}['sc'](_0x67d161){return this['_operationSchema']=_0x67d161,this['_smithyContext']['operationSchema']=_0x67d161,this;}['build'](){const _0x218076=this;let _0x4cd8d;return _0x4cd8d=class extends _0x3a3ec1{['input'];static['getEndpointParameterInstructions'](){return _0x218076['_ep'];}constructor(...[_0x443f90]){super(),this['input']=_0x443f90??{},_0x218076['_init'](this),this['schema']=_0x218076['_operationSchema'];}['resolveMiddleware'](_0x3f3464,_0xa99397,_0x435d37){const _0x58d5ce=_0x218076['_operationSchema'],_0x4daa7d=_0x58d5ce?.[0x4]??_0x58d5ce?.['input'],_0x1951dc=_0x58d5ce?.[0x5]??_0x58d5ce?.['output'];return this['resolveMiddlewareWithContext'](_0x3f3464,_0xa99397,_0x435d37,{'CommandCtor':_0x4cd8d,'middlewareFn':_0x218076['_middlewareFn'],'clientName':_0x218076['_clientName'],'commandName':_0x218076['_commandName'],'inputFilterSensitiveLog':_0x218076['_inputFilterSensitiveLog']??(_0x58d5ce?schemaLogFilter['bind'](null,_0x4daa7d):_0x43a778=>_0x43a778),'outputFilterSensitiveLog':_0x218076['_outputFilterSensitiveLog']??(_0x58d5ce?schemaLogFilter['bind'](null,_0x1951dc):_0x568ee1=>_0x568ee1),'smithyContext':_0x218076['_smithyContext'],'additionalContext':_0x218076['_additionalContext']});}['serialize']=_0x218076['_serializer'];['deserialize']=_0x218076['_deserializer'];};}}class ServiceException extends Error{['$fault'];['$response'];['$retryable'];['$metadata'];constructor(_0x2975be){super(_0x2975be['message']),Object['setPrototypeOf'](this,Object['getPrototypeOf'](this)['constructor']['prototype']),this['name']=_0x2975be['name'],this['$fault']=_0x2975be['$fault'],this['$metadata']=_0x2975be['$metadata'];}static['isInstance'](_0x583cfb){if(!_0x583cfb)return!0x1;const _0x140fb8=_0x583cfb;return ServiceException['prototype']['isPrototypeOf'](_0x140fb8)||Boolean(_0x140fb8['$fault'])&&Boolean(_0x140fb8['$metadata'])&&('client'===_0x140fb8['$fault']||'server'===_0x140fb8['$fault']);}static[Symbol['hasInstance']](_0x505174){if(!_0x505174)return!0x1;const _0x4c2358=_0x505174;return this===ServiceException?ServiceException['isInstance'](_0x505174):!!ServiceException['isInstance'](_0x505174)&&(_0x4c2358['name']&&this['name']?this['prototype']['isPrototypeOf'](_0x505174)||_0x4c2358['name']===this['name']:this['prototype']['isPrototypeOf'](_0x505174));}}const decorateServiceException=(_0x1fcce1,_0x1bd1c7={})=>{Object['entries'](_0x1bd1c7)['filter'](([,_0x10608a])=>void 0x0!==_0x10608a)['forEach'](([_0x59ebe0,_0x10057e])=>{null!=_0x1fcce1[_0x59ebe0]&&''!==_0x1fcce1[_0x59ebe0]||(_0x1fcce1[_0x59ebe0]=_0x10057e);});const _0x1968a0=_0x1fcce1['message']||_0x1fcce1['Message']||'UnknownError';return _0x1fcce1['message']=_0x1968a0,delete _0x1fcce1['Message'],_0x1fcce1;},loadConfigsForDefaultMode=_0x3573e0=>{switch(_0x3573e0){case'standard':case'cross-region':return{'retryMode':'standard','connectionTimeout':0xc1c};case'in-region':return{'retryMode':'standard','connectionTimeout':0x44c};case'mobile':return{'retryMode':'standard','connectionTimeout':0x7530};default:return{};}},getChecksumConfiguration=_0x558aac=>{const _0x5c610e=[];for(const _0x318971 in AlgorithmId){const _0x6a6bbd=AlgorithmId[_0x318971];void 0x0!==_0x558aac[_0x6a6bbd]&&_0x5c610e['push']({'algorithmId':()=>_0x6a6bbd,'checksumConstructor':()=>_0x558aac[_0x6a6bbd]});}return{'addChecksumAlgorithm'(_0x3c755a){_0x5c610e['push'](_0x3c755a);},'checksumAlgorithms':()=>_0x5c610e};},resolveChecksumRuntimeConfig=_0x2c86ee=>{const _0x38cfab={};return _0x2c86ee['checksumAlgorithms']()['forEach'](_0x3ffaca=>{_0x38cfab[_0x3ffaca['algorithmId']()]=_0x3ffaca['checksumConstructor']();}),_0x38cfab;},getRetryConfiguration=_0x732d52=>({'setRetryStrategy'(_0x432856){_0x732d52['retryStrategy']=_0x432856;},'retryStrategy':()=>_0x732d52['retryStrategy']}),resolveRetryRuntimeConfig=_0x5a4aab=>{const _0x1773a6={};return _0x1773a6['retryStrategy']=_0x5a4aab['retryStrategy'](),_0x1773a6;},getDefaultExtensionConfiguration=_0x1c12e8=>Object['assign'](getChecksumConfiguration(_0x1c12e8),getRetryConfiguration(_0x1c12e8)),resolveDefaultRuntimeConfig=_0x51d388=>Object['assign'](resolveChecksumRuntimeConfig(_0x51d388),resolveRetryRuntimeConfig(_0x51d388));class _0x50fadd{['trace'](){}['debug'](){}['info'](){}['warn'](){}['error'](){}}class ProtocolLib{['queryCompat'];constructor(_0x2c0a9f=!0x1){this['queryCompat']=_0x2c0a9f;}['resolveRestContentType'](_0x3d0579,_0x2c1d57){const _0x52ad41=_0x2c1d57['getMemberSchemas'](),_0x2f43e2=Object['values'](_0x52ad41)['find'](_0x10eeaa=>!!_0x10eeaa['getMergedTraits']()['httpPayload']);if(_0x2f43e2){const _0x1027d2=_0x2f43e2['getMergedTraits']()['mediaType'];return _0x1027d2||(_0x2f43e2['isStringSchema']()?'text/plain':_0x2f43e2['isBlobSchema']()?'application/octet-stream':_0x3d0579);}if(!_0x2c1d57['isUnitSchema']()){const _0x107b91=Object['values'](_0x52ad41)['find'](_0x1f9ff6=>{const {httpQuery:_0x1161ef,httpQueryParams:_0x18ce22,httpHeader:_0x25d83d,httpLabel:_0x4f9d46,httpPrefixHeaders:_0x5c23ce}=_0x1f9ff6['getMergedTraits']();return!_0x1161ef&&!_0x18ce22&&!_0x25d83d&&!_0x4f9d46&&void 0x0===_0x5c23ce;});if(_0x107b91)return _0x3d0579;}}async['getErrorSchemaOrThrowBaseException'](_0x552ee2,_0x4c1b8c,_0x430c20,_0x2ca36d,_0x5a5995,_0x2e3258){let _0x20e0bb=_0x4c1b8c,_0x1de1e3=_0x552ee2;_0x552ee2['includes']('#')&&([_0x20e0bb,_0x1de1e3]=_0x552ee2['split']('#'));const _0x1ecb5e={'$metadata':_0x5a5995,'$fault':_0x430c20['statusCode']<0x1f4?'client':'server'},_0x457bd5=TypeRegistry['for'](_0x20e0bb);try{return{'errorSchema':_0x2e3258?.(_0x457bd5,_0x1de1e3)??_0x457bd5['getSchema'](_0x552ee2),'errorMetadata':_0x1ecb5e};}catch(_0x2c8624){_0x2ca36d['message']=_0x2ca36d['message']??_0x2ca36d['Message']??'UnknownError';const _0x4a264c=TypeRegistry['for']('smithy.ts.sdk.synthetic.'+_0x20e0bb),_0xdc27a3=_0x4a264c['getBaseException']();if(_0xdc27a3){const _0x283fb0=_0x4a264c['getErrorCtor'](_0xdc27a3)??Error;throw this['decorateServiceException'](Object['assign'](new _0x283fb0({'name':_0x1de1e3}),_0x1ecb5e),_0x2ca36d);}throw this['decorateServiceException'](Object['assign'](new Error(_0x1de1e3),_0x1ecb5e),_0x2ca36d);}}['decorateServiceException'](_0x9a9bdc,_0xaf4021={}){if(this['queryCompat']){const _0x1796de=_0x9a9bdc['Message']??_0xaf4021['Message'],_0x148da2=decorateServiceException(_0x9a9bdc,_0xaf4021);_0x1796de&&(_0x148da2['message']=_0x1796de),_0x148da2['Error']={..._0x148da2['Error'],'Type':_0x148da2['Error']['Type'],'Code':_0x148da2['Error']['Code'],'Message':_0x148da2['Error']['message']??_0x148da2['Error']['Message']??_0x1796de};const _0x3f73ff=_0x148da2['$metadata']['requestId'];return _0x3f73ff&&(_0x148da2['RequestId']=_0x3f73ff),_0x148da2;}return decorateServiceException(_0x9a9bdc,_0xaf4021);}['setQueryCompatError'](_0x31a864,_0x4fb870){const _0x3acd38=_0x4fb870['headers']?.['x-amzn-query-error'];if(void 0x0!==_0x31a864&&null!=_0x3acd38){const [_0x2e6e44,_0x335564]=_0x3acd38['split'](';'),_0x4c1d24=Object['entries'](_0x31a864),_0x4b0af4={'Code':_0x2e6e44,'Type':_0x335564};Object['assign'](_0x31a864,_0x4b0af4);for(const [_0x3aa525,_0x3eefe9]of _0x4c1d24)_0x4b0af4['message'===_0x3aa525?'Message':_0x3aa525]=_0x3eefe9;delete _0x4b0af4['__type'],_0x31a864['Error']=_0x4b0af4;}}['queryCompatOutput'](_0x9725eb,_0x5c2441){_0x9725eb['Error']&&(_0x5c2441['Error']=_0x9725eb['Error']),_0x9725eb['Type']&&(_0x5c2441['Type']=_0x9725eb['Type']),_0x9725eb['Code']&&(_0x5c2441['Code']=_0x9725eb['Code']);}['findQueryCompatibleError'](_0x4b37a9,_0x3c02b7){try{return _0x4b37a9['getSchema'](_0x3c02b7);}catch(_0x373f38){return _0x4b37a9['find'](_0x41da5a=>_0x52c856['of'](_0x41da5a)['getMergedTraits']()['awsQueryError']?.[0x0]===_0x3c02b7);}}}class SerdeContextConfig{['serdeContext'];['setSerdeContext'](_0x53dbc7){this['serdeContext']=_0x53dbc7;}}class _0x13436b{['from'];['to'];['keys'];constructor(_0x4878c2,_0x2131f3){this['from']=_0x4878c2,this['to']=_0x2131f3,this['keys']=new Set(Object['keys'](this['from'])['filter'](_0xa1f5e9=>'__type'!==_0xa1f5e9));}['mark'](_0x40f244){this['keys']['delete'](_0x40f244);}['hasUnknown'](){return 0x1===this['keys']['size']&&0x0===Object['keys'](this['to'])['length'];}['writeUnknown'](){if(this['hasUnknown']()){const _0x830292=this['keys']['values']()['next']()['value'],_0x423f97=this['from'][_0x830292];this['to']['$unknown']=[_0x830292,_0x423f97];}}}function _0x35159a(_0x21d971,_0x157782,_0x112252){if(_0x112252?.['source']){const _0x475d67=_0x112252['source'];if('number'==typeof _0x157782&&(_0x157782>Number['MAX_SAFE_INTEGER']||_0x157782<Number['MIN_SAFE_INTEGER']||_0x475d67!==String(_0x157782)))return _0x475d67['includes']('.')?new _0x12d9b1(_0x475d67,'bigDecimal'):BigInt(_0x475d67);}return _0x157782;}const collectBodyString=(_0x5b16e2,_0x4287f4)=>collectBody(_0x5b16e2,_0x4287f4)['then'](_0x317fc7=>(_0x4287f4?.['utf8Encoder']??toUtf8)(_0x317fc7)),_0x15f56d=(_0x4d5f4e,_0x1785c6)=>collectBodyString(_0x4d5f4e,_0x1785c6)['then'](_0x1ec0f8=>{if(_0x1ec0f8['length'])try{return JSON['parse'](_0x1ec0f8);}catch(_0x1664ec){throw'SyntaxError'===_0x1664ec?.['name']&&Object['defineProperty'](_0x1664ec,'$responseBodyText',{'value':_0x1ec0f8}),_0x1664ec;}return{};}),loadRestJsonErrorCode=(_0x491647,_0x3a18bd)=>{const _0x1b7ac0=(_0x512138,_0x33222e)=>Object['keys'](_0x512138)['find'](_0xba71c8=>_0xba71c8['toLowerCase']()===_0x33222e['toLowerCase']()),_0x24a0f7=_0x835f77=>{let _0xf05d3=_0x835f77;return'number'==typeof _0xf05d3&&(_0xf05d3=_0xf05d3['toString']()),_0xf05d3['indexOf'](',')>=0x0&&(_0xf05d3=_0xf05d3['split'](',')[0x0]),_0xf05d3['indexOf'](':')>=0x0&&(_0xf05d3=_0xf05d3['split'](':')[0x0]),_0xf05d3['indexOf']('#')>=0x0&&(_0xf05d3=_0xf05d3['split']('#')[0x1]),_0xf05d3;},_0x56210f=_0x1b7ac0(_0x491647['headers'],'x-amzn-errortype');if(void 0x0!==_0x56210f)return _0x24a0f7(_0x491647['headers'][_0x56210f]);if(_0x3a18bd&&'object'==typeof _0x3a18bd){const _0x26f2d4=_0x1b7ac0(_0x3a18bd,'code');if(_0x26f2d4&&void 0x0!==_0x3a18bd[_0x26f2d4])return _0x24a0f7(_0x3a18bd[_0x26f2d4]);if(void 0x0!==_0x3a18bd['__type'])return _0x24a0f7(_0x3a18bd['__type']);}};class _0x304fb3 extends SerdeContextConfig{['settings'];constructor(_0x2454d3){super(),this['settings']=_0x2454d3;}async['read'](_0x436ae5,_0x2891e1){return this['_read'](_0x436ae5,'string'==typeof _0x2891e1?JSON['parse'](_0x2891e1,_0x35159a):await _0x15f56d(_0x2891e1,this['serdeContext']));}['readObject'](_0xac7e60,_0x1d8131){return this['_read'](_0xac7e60,_0x1d8131);}['_read'](_0x2f3916,_0x3b731a){const _0x2f5aaf=null!==_0x3b731a&&'object'==typeof _0x3b731a,_0x450fda=_0x52c856['of'](_0x2f3916);if(_0x2f5aaf){if(_0x450fda['isStructSchema']()){const _0x1686be=_0x3b731a,_0x3de08c=_0x450fda['isUnionSchema'](),_0x32bd8a={};let _0x26db6a;const {jsonName:_0x2d34e3}=this['settings'];let _0x2bea73;_0x2d34e3&&(_0x26db6a={}),_0x3de08c&&(_0x2bea73=new _0x13436b(_0x1686be,_0x32bd8a));for(const [_0x1c925a,_0x529091]of _0x450fda['structIterator']()){let _0x473b82=_0x1c925a;_0x2d34e3&&(_0x473b82=_0x529091['getMergedTraits']()['jsonName']??_0x473b82,_0x26db6a[_0x473b82]=_0x1c925a),_0x3de08c&&_0x2bea73['mark'](_0x473b82),null!=_0x1686be[_0x473b82]&&(_0x32bd8a[_0x1c925a]=this['_read'](_0x529091,_0x1686be[_0x473b82]));}if(_0x3de08c)_0x2bea73['writeUnknown']();else{if('string'==typeof _0x1686be['__type'])for(const [_0x155cf2,_0x298834]of Object['entries'](_0x1686be)){const t=_0x2d34e3?_0x26db6a[_0x155cf2]??_0x155cf2:_0x155cf2;t in _0x32bd8a||(_0x32bd8a[t]=_0x298834);}}return _0x32bd8a;}if(Array['isArray'](_0x3b731a)&&_0x450fda['isListSchema']()){const _0x41ed09=_0x450fda['getValueSchema'](),_0x1ccbec=[],_0x23086d=!!_0x450fda['getMergedTraits']()['sparse'];for(const _0x259207 of _0x3b731a)(_0x23086d||null!=_0x259207)&&_0x1ccbec['push'](this['_read'](_0x41ed09,_0x259207));return _0x1ccbec;}if(_0x450fda['isMapSchema']()){const _0x350870=_0x450fda['getValueSchema'](),_0x39faaf={},_0x5ee3d5=!!_0x450fda['getMergedTraits']()['sparse'];for(const [_0x51a365,_0x4bc908]of Object['entries'](_0x3b731a))(_0x5ee3d5||null!=_0x4bc908)&&(_0x39faaf[_0x51a365]=this['_read'](_0x350870,_0x4bc908));return _0x39faaf;}}if(_0x450fda['isBlobSchema']()&&'string'==typeof _0x3b731a)return _0x2714ba(_0x3b731a);const _0x17c319=_0x450fda['getMergedTraits']()['mediaType'];if(_0x450fda['isStringSchema']()&&'string'==typeof _0x3b731a&&_0x17c319)return'application/json'===_0x17c319||_0x17c319['endsWith']('+json')?LazyJsonString['from'](_0x3b731a):_0x3b731a;if(_0x450fda['isTimestampSchema']()&&null!=_0x3b731a)switch(determineTimestampFormat(_0x450fda,this['settings'])){case 0x5:return parseRfc3339DateTimeWithOffset(_0x3b731a);case 0x6:return parseRfc7231DateTime(_0x3b731a);case 0x7:return parseEpochTimestamp(_0x3b731a);default:return console['warn']('Missing\x20timestamp\x20format,\x20parsing\x20value\x20with\x20Date\x20constructor:',_0x3b731a),new Date(_0x3b731a);}if(_0x450fda['isBigIntegerSchema']()&&('number'==typeof _0x3b731a||'string'==typeof _0x3b731a))return BigInt(_0x3b731a);if(_0x450fda['isBigDecimalSchema']()&&null!=_0x3b731a){if(_0x3b731a instanceof _0x12d9b1)return _0x3b731a;const _0xbf7576=_0x3b731a;return'bigDecimal'===_0xbf7576['type']&&'string'in _0xbf7576?new _0x12d9b1(_0xbf7576['string'],_0xbf7576['type']):new _0x12d9b1(String(_0x3b731a),'bigDecimal');}if(_0x450fda['isNumericSchema']()&&'string'==typeof _0x3b731a){switch(_0x3b731a){case'Infinity':return 0x1/0x0;case'-Infinity':return-0x1/0x0;case'NaN':return NaN;}return _0x3b731a;}if(_0x450fda['isDocumentSchema']()){if(_0x2f5aaf){const _0x298006=Array['isArray'](_0x3b731a)?[]:{};for(const [_0x11f9e6,_0x576e65]of Object['entries'](_0x3b731a))_0x298006[_0x11f9e6]=_0x576e65 instanceof _0x12d9b1?_0x576e65:this['_read'](_0x450fda,_0x576e65);return _0x298006;}return structuredClone(_0x3b731a);}return _0x3b731a;}}const _0x18c41d=String['fromCharCode'](0x39d);class _0x1babc5{['values']=new Map();['counter']=0x0;['stage']=0x0;['createReplacer'](){if(0x1===this['stage'])throw new Error('@aws-sdk/core/protocols\x20-\x20JsonReplacer\x20already\x20created.');if(0x2===this['stage'])throw new Error('@aws-sdk/core/protocols\x20-\x20JsonReplacer\x20exhausted.');return this['stage']=0x1,(_0x4e31b4,_0x1f1863)=>{if(_0x1f1863 instanceof _0x12d9b1){const _0x2f394a=_0x18c41d+'nv'+this['counter']++ +'_'+_0x1f1863['string'];return this['values']['set']('\x22'+_0x2f394a+'\x22',_0x1f1863['string']),_0x2f394a;}if('bigint'==typeof _0x1f1863){const _0x3acc75=_0x1f1863['toString'](),_0x25fc61=_0x18c41d+'b'+this['counter']++ +'_'+_0x3acc75;return this['values']['set']('\x22'+_0x25fc61+'\x22',_0x3acc75),_0x25fc61;}return _0x1f1863;};}['replaceInJson'](_0x36d75a){if(0x0===this['stage'])throw new Error('@aws-sdk/core/protocols\x20-\x20JsonReplacer\x20not\x20created\x20yet.');if(0x2===this['stage'])throw new Error('@aws-sdk/core/protocols\x20-\x20JsonReplacer\x20exhausted.');if(this['stage']=0x2,0x0===this['counter'])return _0x36d75a;for(const [_0x483a4a,_0x74b183]of this['values'])_0x36d75a=_0x36d75a['replace'](_0x483a4a,_0x74b183);return _0x36d75a;}}class _0x45d6b3 extends SerdeContextConfig{['settings'];['buffer'];['useReplacer']=!0x1;['rootSchema'];constructor(_0xa5db12){super(),this['settings']=_0xa5db12;}['write'](_0x7bff15,_0x551500){this['rootSchema']=_0x52c856['of'](_0x7bff15),this['buffer']=this['_write'](this['rootSchema'],_0x551500);}['writeDiscriminatedDocument'](_0xf1bf5c,_0x2d60f6){this['write'](_0xf1bf5c,_0x2d60f6),'object'==typeof this['buffer']&&(this['buffer']['__type']=_0x52c856['of'](_0xf1bf5c)['getName'](!0x0));}['flush'](){const {rootSchema:_0x306c91,useReplacer:_0x444641}=this;if(this['rootSchema']=void 0x0,this['useReplacer']=!0x1,_0x306c91?.['isStructSchema']()||_0x306c91?.['isDocumentSchema']()){if(!_0x444641)return JSON['stringify'](this['buffer']);const _0x3b2315=new _0x1babc5();return _0x3b2315['replaceInJson'](JSON['stringify'](this['buffer'],_0x3b2315['createReplacer'](),0x0));}return this['buffer'];}['_write'](_0x3e8615,_0x24dc6c,_0xa98042){const _0x4e7cc1=null!==_0x24dc6c&&'object'==typeof _0x24dc6c,_0x455671=_0x52c856['of'](_0x3e8615);if(_0x4e7cc1){if(_0x455671['isStructSchema']()){const _0x986a04=_0x24dc6c,_0xd27ade={},{jsonName:_0x4803e7}=this['settings'];let _0x3f9a21;_0x4803e7&&(_0x3f9a21={});for(const [_0x19002f,_0x1c0f1b]of _0x455671['structIterator']()){const _0x195014=this['_write'](_0x1c0f1b,_0x986a04[_0x19002f],_0x455671);if(void 0x0!==_0x195014){let _0x331160=_0x19002f;_0x4803e7&&(_0x331160=_0x1c0f1b['getMergedTraits']()['jsonName']??_0x19002f,_0x3f9a21[_0x19002f]=_0x331160),_0xd27ade[_0x331160]=_0x195014;}}if(_0x455671['isUnionSchema']()&&0x0===Object['keys'](_0xd27ade)['length']){const {$unknown:_0x266b71}=_0x986a04;if(Array['isArray'](_0x266b71)){const [_0x117cb9,_0x2454c9]=_0x266b71;_0xd27ade[_0x117cb9]=this['_write'](0xf,_0x2454c9);}}else{if('string'==typeof _0x986a04['__type'])for(const [_0x8ddec9,_0x40af7e]of Object['entries'](_0x986a04)){const _0x584a64=_0x4803e7?_0x3f9a21[_0x8ddec9]??_0x8ddec9:_0x8ddec9;_0x584a64 in _0xd27ade||(_0xd27ade[_0x584a64]=this['_write'](0xf,_0x40af7e));}}return _0xd27ade;}if(Array['isArray'](_0x24dc6c)&&_0x455671['isListSchema']()){const _0x513784=_0x455671['getValueSchema'](),_0x24047d=[],_0x2dcc66=!!_0x455671['getMergedTraits']()['sparse'];for(const _0x5602bb of _0x24dc6c)(_0x2dcc66||null!=_0x5602bb)&&_0x24047d['push'](this['_write'](_0x513784,_0x5602bb));return _0x24047d;}if(_0x455671['isMapSchema']()){const _0x1233c6=_0x455671['getValueSchema'](),_0x4fcfad={},_0x8b0204=!!_0x455671['getMergedTraits']()['sparse'];for(const [_0x49605f,_0x599a36]of Object['entries'](_0x24dc6c))(_0x8b0204||null!=_0x599a36)&&(_0x4fcfad[_0x49605f]=this['_write'](_0x1233c6,_0x599a36));return _0x4fcfad;}if(_0x24dc6c instanceof Uint8Array&&(_0x455671['isBlobSchema']()||_0x455671['isDocumentSchema']()))return _0x455671===this['rootSchema']?_0x24dc6c:(this['serdeContext']?.['base64Encoder']??toBase64)(_0x24dc6c);if(_0x24dc6c instanceof Date&&(_0x455671['isTimestampSchema']()||_0x455671['isDocumentSchema']()))switch(determineTimestampFormat(_0x455671,this['settings'])){case 0x5:return _0x24dc6c['toISOString']()['replace']('.000Z','Z');case 0x6:return dateToUtcString(_0x24dc6c);case 0x7:return _0x24dc6c['getTime']()/0x3e8;default:return console['warn']('Missing\x20timestamp\x20format,\x20using\x20epoch\x20seconds',_0x24dc6c),_0x24dc6c['getTime']()/0x3e8;}_0x24dc6c instanceof _0x12d9b1&&(this['useReplacer']=!0x0);}if(null!==_0x24dc6c||!_0xa98042?.['isStructSchema']()){if(_0x455671['isStringSchema']()){if(void 0x0===_0x24dc6c&&_0x455671['isIdempotencyToken']())return _0x4b2b0a();const _0x5337df=_0x455671['getMergedTraits']()['mediaType'];if(null!=_0x24dc6c&&_0x5337df){if('application/json'===_0x5337df||_0x5337df['endsWith']('+json'))return LazyJsonString['from'](_0x24dc6c);}return _0x24dc6c;}if('number'==typeof _0x24dc6c&&_0x455671['isNumericSchema']())return Math['abs'](_0x24dc6c)===0x1/0x0||isNaN(_0x24dc6c)?String(_0x24dc6c):_0x24dc6c;if('string'==typeof _0x24dc6c&&_0x455671['isBlobSchema']())return _0x455671===this['rootSchema']?_0x24dc6c:(this['serdeContext']?.['base64Encoder']??toBase64)(_0x24dc6c);if('bigint'==typeof _0x24dc6c&&(this['useReplacer']=!0x0),_0x455671['isDocumentSchema']()){if(_0x4e7cc1){const _0x5f5659=Array['isArray'](_0x24dc6c)?[]:{};for(const [_0x40b9fc,_0x851f15]of Object['entries'](_0x24dc6c))_0x851f15 instanceof _0x12d9b1?(this['useReplacer']=!0x0,_0x5f5659[_0x40b9fc]=_0x851f15):_0x5f5659[_0x40b9fc]=this['_write'](_0x455671,_0x851f15);return _0x5f5659;}return structuredClone(_0x24dc6c);}return _0x24dc6c;}}}class _0x17ff6c extends SerdeContextConfig{['settings'];constructor(_0x2d214c){super(),this['settings']=_0x2d214c;}['createSerializer'](){const _0x15230a=new _0x45d6b3(this['settings']);return _0x15230a['setSerdeContext'](this['serdeContext']),_0x15230a;}['createDeserializer'](){const _0x2f179f=new _0x304fb3(this['settings']);return _0x2f179f['setSerdeContext'](this['serdeContext']),_0x2f179f;}}class AwsRestJsonProtocol extends HttpBindingProtocol{['serializer'];['deserializer'];['codec'];['mixin']=new ProtocolLib();constructor({defaultNamespace:_0x27875b}){super({'defaultNamespace':_0x27875b});const _0x5104df={'timestampFormat':{'useTrait':!0x0,'default':0x7},'httpBindings':!0x0,'jsonName':!0x0};this['codec']=new _0x17ff6c(_0x5104df),this['serializer']=new HttpInterceptingShapeSerializer(this['codec']['createSerializer'](),_0x5104df),this['deserializer']=new HttpInterceptingShapeDeserializer(this['codec']['createDeserializer'](),_0x5104df);}['getShapeId'](){return'aws.protocols#restJson1';}['getPayloadCodec'](){return this['codec'];}['setSerdeContext'](_0x4c4e36){this['codec']['setSerdeContext'](_0x4c4e36),super['setSerdeContext'](_0x4c4e36);}async['serializeRequest'](_0x23cae1,_0x3d1c70,_0x26a80c){const _0x4f9b1a=await super['serializeRequest'](_0x23cae1,_0x3d1c70,_0x26a80c),_0x39f07a=_0x52c856['of'](_0x23cae1['input']);if(!_0x4f9b1a['headers']['content-type']){const _0x46527d=this['mixin']['resolveRestContentType'](this['getDefaultContentType'](),_0x39f07a);_0x46527d&&(_0x4f9b1a['headers']['content-type']=_0x46527d);}return null==_0x4f9b1a['body']&&_0x4f9b1a['headers']['content-type']===this['getDefaultContentType']()&&(_0x4f9b1a['body']='{}'),_0x4f9b1a;}async['deserializeResponse'](_0x28d5d3,_0x3983b1,_0x1eefd7){const _0x2162aa=await super['deserializeResponse'](_0x28d5d3,_0x3983b1,_0x1eefd7),_0x17d4c7=_0x52c856['of'](_0x28d5d3['output']);for(const [_0x4d72bb,_0x2e1894]of _0x17d4c7['structIterator']())_0x2e1894['getMemberTraits']()['httpPayload']&&!(_0x4d72bb in _0x2162aa)&&(_0x2162aa[_0x4d72bb]=null);return _0x2162aa;}async['handleError'](_0x243591,_0x13e10b,_0x19f72d,_0x2445d7,_0x5b205f){const _0x575e81=loadRestJsonErrorCode(_0x19f72d,_0x2445d7)??'Unknown',{errorSchema:_0x279dae,errorMetadata:_0xf69d4c}=await this['mixin']['getErrorSchemaOrThrowBaseException'](_0x575e81,this['options']['defaultNamespace'],_0x19f72d,_0x2445d7,_0x5b205f),_0x57f68c=_0x52c856['of'](_0x279dae),_0x6b7922=_0x2445d7['message']??_0x2445d7['Message']??'Unknown',_0x442c9d=new((TypeRegistry['for'](_0x279dae[0x1])['getErrorCtor'](_0x279dae))??Error)(_0x6b7922);await this['deserializeHttpMessage'](_0x279dae,_0x13e10b,_0x19f72d,_0x2445d7);const _0x28f0d2={};for(const [_0x57e053,_0x11cb77]of _0x57f68c['structIterator']()){const _0x70fa2=_0x11cb77['getMergedTraits']()['jsonName']??_0x57e053;_0x28f0d2[_0x57e053]=this['codec']['createDeserializer']()['readObject'](_0x11cb77,_0x2445d7[_0x70fa2]);}throw this['mixin']['decorateServiceException'](Object['assign'](_0x442c9d,_0xf69d4c,{'$fault':_0x57f68c['getMergedTraits']()['error'],'message':_0x6b7922},_0x28f0d2),_0x2445d7);}['getDefaultContentType'](){return'application/json';}}const _0x3ed820=/\d{12}\.ddb/;async function checkFeatures(_0x30a8eb,_0x51394b,_0x349ed0){const _0x5190c6=_0x349ed0['request'];if('rpc-v2-cbor'===_0x5190c6?.['headers']?.['smithy-protocol']&&setFeature(_0x30a8eb,'PROTOCOL_RPC_V2_CBOR','M'),'function'==typeof _0x51394b['retryStrategy']){const _0x9105ec=await _0x51394b['retryStrategy']();'function'==typeof _0x9105ec['acquireInitialRetryToken']?_0x9105ec['constructor']?.['name']?.['includes']('Adaptive')?setFeature(_0x30a8eb,'RETRY_MODE_ADAPTIVE','F'):setFeature(_0x30a8eb,'RETRY_MODE_STANDARD','E'):setFeature(_0x30a8eb,'RETRY_MODE_LEGACY','D');}if('function'==typeof _0x51394b['accountIdEndpointMode']){const _0xede956=_0x30a8eb['endpointV2'];switch(String(_0xede956?.['url']?.['hostname'])['match'](_0x3ed820)&&setFeature(_0x30a8eb,'ACCOUNT_ID_ENDPOINT','O'),await _0x51394b['accountIdEndpointMode']?.()){case'disabled':setFeature(_0x30a8eb,'ACCOUNT_ID_MODE_DISABLED','Q');break;case'preferred':setFeature(_0x30a8eb,'ACCOUNT_ID_MODE_PREFERRED','P');break;case'required':setFeature(_0x30a8eb,'ACCOUNT_ID_MODE_REQUIRED','R');}}const _0x75ef28=_0x30a8eb['__smithy_context']?.['selectedHttpAuthScheme']?.['identity'];if(_0x75ef28?.['$source']){const _0x2fa574=_0x75ef28;_0x2fa574['accountId']&&setFeature(_0x30a8eb,'RESOLVED_ACCOUNT_ID','T');for(const [_0x55b89d,_0x2b3096]of Object['entries'](_0x2fa574['$source']??{}))setFeature(_0x30a8eb,_0x55b89d,_0x2b3096);}}const _0xda9d43='user-agent',_0x441591='x-amz-user-agent',_0x412335='\x20',_0x161370='/',_0x304a6f=/[^!$%&'*+\-.^_`|~\w]/g,_0x1fbe2c=/[^!$%&'*+\-.^_`|~\w#]/g,_0x373ee1='-',_0x1a1347=0x400;function encodeFeatures(_0x461800){let _0x32ba73='';for(const _0x4ed26b in _0x461800){const _0x205e26=_0x461800[_0x4ed26b];if(!(_0x32ba73['length']+_0x205e26['length']+0x1<=_0x1a1347))break;_0x32ba73['length']?_0x32ba73+=','+_0x205e26:_0x32ba73+=_0x205e26;}return _0x32ba73;}const userAgentMiddleware=_0x1e5409=>(_0x5cbffd,_0x3a8095)=>async _0xea298b=>{const {request:_0x2b65e7}=_0xea298b;if(!HttpRequest['isInstance'](_0x2b65e7))return _0x5cbffd(_0xea298b);const {headers:_0x35e594}=_0x2b65e7,_0x27b21f=_0x3a8095?.['userAgent']?.['map'](escapeUserAgent)||[],_0x15f4cd=(await _0x1e5409['defaultUserAgentProvider']())['map'](escapeUserAgent);await checkFeatures(_0x3a8095,_0x1e5409,_0xea298b);const _0x3b51a7=_0x3a8095;_0x15f4cd['push']('m/'+encodeFeatures(Object['assign']({},_0x3a8095['__smithy_context']?.['features'],_0x3b51a7['__aws_sdk_context']?.['features'])));const _0x1d8cd7=_0x1e5409?.['customUserAgent']?.['map'](escapeUserAgent)||[],_0x287287=await _0x1e5409['userAgentAppId']();_0x287287&&_0x15f4cd['push'](escapeUserAgent(['app',''+_0x287287]));const _0x12276b=[]['concat']([..._0x15f4cd,..._0x27b21f,..._0x1d8cd7])['join'](_0x412335),_0x58a758=[..._0x15f4cd['filter'](_0x58fa3a=>_0x58fa3a['startsWith']('aws-sdk-')),..._0x1d8cd7]['join'](_0x412335);return'browser'!==_0x1e5409['runtime']?(_0x58a758&&(_0x35e594[_0x441591]=_0x35e594[_0x441591]?_0x35e594[_0xda9d43]+'\x20'+_0x58a758:_0x58a758),_0x35e594[_0xda9d43]=_0x12276b):_0x35e594[_0x441591]=_0x12276b,_0x5cbffd({..._0xea298b,'request':_0x2b65e7});},escapeUserAgent=_0x4a7bee=>{const _0x116503=_0x4a7bee[0x0]['split'](_0x161370)['map'](_0x359a3c=>_0x359a3c['replace'](_0x304a6f,_0x373ee1))['join'](_0x161370),_0x46a52c=_0x4a7bee[0x1]?.['replace'](_0x1fbe2c,_0x373ee1),_0x233634=_0x116503['indexOf'](_0x161370),_0x543268=_0x116503['substring'](0x0,_0x233634);let _0x5cf2df=_0x116503['substring'](_0x233634+0x1);return'api'===_0x543268&&(_0x5cf2df=_0x5cf2df['toLowerCase']()),[_0x543268,_0x5cf2df,_0x46a52c]['filter'](_0x3263f8=>_0x3263f8&&_0x3263f8['length']>0x0)['reduce']((_0x3099bc,_0x36db38,_0x1b1d79)=>{switch(_0x1b1d79){case 0x0:return _0x36db38;case 0x1:return _0x3099bc+'/'+_0x36db38;default:return _0x3099bc+'#'+_0x36db38;}},'');},getUserAgentMiddlewareOptions={'name':'getUserAgentMiddleware','step':'build','priority':'low','tags':['SET_USER_AGENT','USER_AGENT'],'override':!0x0},getUserAgentPlugin=_0x243b79=>({'applyToStack':_0x22aeb4=>{_0x22aeb4['add'](userAgentMiddleware(_0x243b79),getUserAgentMiddlewareOptions);}});function formatUrl(_0x1d894c){const {port:_0x5800ce,query:_0x1c15be}=_0x1d894c;let {protocol:_0x2a41d2,path:_0x3d4489,hostname:_0x2259b3}=_0x1d894c;_0x2a41d2&&':'!==_0x2a41d2['slice'](-0x1)&&(_0x2a41d2+=':'),_0x5800ce&&(_0x2259b3+=':'+_0x5800ce),_0x3d4489&&'/'!==_0x3d4489['charAt'](0x0)&&(_0x3d4489='/'+_0x3d4489);let _0x56506c=_0x1c15be?buildQueryString(_0x1c15be):'';_0x56506c&&'?'!==_0x56506c[0x0]&&(_0x56506c='?'+_0x56506c);let _0x5acef8='';(null!=_0x1d894c['username']||null!=_0x1d894c['password'])&&(_0x5acef8=(_0x1d894c['username']??'')+':'+(_0x1d894c['password']??'')+'@');let _0x100704='';return _0x1d894c['fragment']&&(_0x100704='#'+_0x1d894c['fragment']),_0x2a41d2+'//'+_0x5acef8+_0x2259b3+_0x3d4489+_0x56506c+_0x100704;}function __awaiter(_0x1c5e8c,_0x38edb3,_0x1e1afe,_0x221265){return new(_0x1e1afe||(_0x1e1afe=Promise))(function(_0x25ade5,_0x1ba937){function _0x1fbcc3(_0x27a93c){try{_0x2bc60a(_0x221265['next'](_0x27a93c));}catch(_0xb6f3b7){_0x1ba937(_0xb6f3b7);}}function _0x44bbfa(_0x21506d){try{_0x2bc60a(_0x221265['throw'](_0x21506d));}catch(_0x5a3e55){_0x1ba937(_0x5a3e55);}}function _0x2bc60a(_0x23243a){_0x23243a['done']?_0x25ade5(_0x23243a['value']):function(_0x484e99){return _0x484e99 instanceof _0x1e1afe?_0x484e99:new _0x1e1afe(function(_0x1d35b7){_0x1d35b7(_0x484e99);});}(_0x23243a['value'])['then'](_0x1fbcc3,_0x44bbfa);}_0x2bc60a((_0x221265=_0x221265['apply'](_0x1c5e8c,[]))['next']());});}function __generator(_0x863f50,_0x4f4c80){var _0x70500f,_0x465741,t,_0x2276fe={'label':0x0,'sent':function(){if(0x1&t[0x0])throw t[0x1];return t[0x1];},'trys':[],'ops':[]},_0x4d8e7b=Object['create'](('function'==typeof Iterator?Iterator:Object)['prototype']);return _0x4d8e7b['next']=_0x312885(0x0),_0x4d8e7b['throw']=_0x312885(0x1),_0x4d8e7b['return']=_0x312885(0x2),'function'==typeof Symbol&&(_0x4d8e7b[Symbol['iterator']]=function(){return this;}),_0x4d8e7b;function _0x312885(_0x5e3837){return function(_0x3a711a){return function(_0x27425f){if(_0x70500f)throw new TypeError('Generator\x20is\x20already\x20executing.');for(;_0x4d8e7b&&(_0x4d8e7b=0x0,_0x27425f[0x0]&&(_0x2276fe=0x0)),_0x2276fe;)try{if(_0x70500f=0x1,_0x465741&&(t=0x2&_0x27425f[0x0]?_0x465741['return']:_0x27425f[0x0]?_0x465741['throw']||((t=_0x465741['return'])&&t['call'](_0x465741),0x0):_0x465741['next'])&&!(t=t['call'](_0x465741,_0x27425f[0x1]))['done'])return t;switch(_0x465741=0x0,t&&(_0x27425f=[0x2&_0x27425f[0x0],t['value']]),_0x27425f[0x0]){case 0x0:case 0x1:t=_0x27425f;break;case 0x4:return _0x2276fe['label']++,{'value':_0x27425f[0x1],'done':!0x1};case 0x5:_0x2276fe['label']++,_0x465741=_0x27425f[0x1],_0x27425f=[0x0];continue;case 0x7:_0x27425f=_0x2276fe['ops']['pop'](),_0x2276fe['trys']['pop']();continue;default:if(!(t=_0x2276fe['trys'],(t=t['length']>0x0&&t[t['length']-0x1])||0x6!==_0x27425f[0x0]&&0x2!==_0x27425f[0x0])){_0x2276fe=0x0;continue;}if(0x3===_0x27425f[0x0]&&(!t||_0x27425f[0x1]>t[0x0]&&_0x27425f[0x1]<t[0x3])){_0x2276fe['label']=_0x27425f[0x1];break;}if(0x6===_0x27425f[0x0]&&_0x2276fe['label']<t[0x1]){_0x2276fe['label']=t[0x1],t=_0x27425f;break;}if(t&&_0x2276fe['label']<t[0x2]){_0x2276fe['label']=t[0x2],_0x2276fe['ops']['push'](_0x27425f);break;}t[0x2]&&_0x2276fe['ops']['pop'](),_0x2276fe['trys']['pop']();continue;}_0x27425f=_0x4f4c80['call'](_0x863f50,_0x2276fe);}catch(_0x161657){_0x27425f=[0x6,_0x161657],_0x465741=0x0;}finally{_0x70500f=t=0x0;}if(0x5&_0x27425f[0x0])throw _0x27425f[0x1];return{'value':_0x27425f[0x0]?_0x27425f[0x1]:void 0x0,'done':!0x0};}([_0x5e3837,_0x3a711a]);};}}function _0x17e584(_0x1ae801){var _0x4da314='function'==typeof Symbol&&Symbol['iterator'],_0x58b5ae=_0x4da314&&_0x1ae801[_0x4da314],_0x3ae5db=0x0;if(_0x58b5ae)return _0x58b5ae['call'](_0x1ae801);if(_0x1ae801&&'number'==typeof _0x1ae801['length'])return{'next':function(){return _0x1ae801&&_0x3ae5db>=_0x1ae801['length']&&(_0x1ae801=void 0x0),{'value':_0x1ae801&&_0x1ae801[_0x3ae5db++],'done':!_0x1ae801};}};throw new TypeError(_0x4da314?'Object\x20is\x20not\x20iterable.':'Symbol.iterator\x20is\x20not\x20defined.');}'function'==typeof SuppressedError&&SuppressedError;const fromUtf8$1=_0x2770fc=>new TextEncoder()['encode'](_0x2770fc);var fromUtf8='undefined'!=typeof Buffer&&Buffer['from']?function(_0x48325e){return Buffer['from'](_0x48325e,'utf8');}:fromUtf8$1;function convertToBuffer(_0x589f7e){return _0x589f7e instanceof Uint8Array?_0x589f7e:'string'==typeof _0x589f7e?fromUtf8(_0x589f7e):ArrayBuffer['isView'](_0x589f7e)?new Uint8Array(_0x589f7e['buffer'],_0x589f7e['byteOffset'],_0x589f7e['byteLength']/Uint8Array['BYTES_PER_ELEMENT']):new Uint8Array(_0x589f7e);}function isEmptyData(_0x320a40){return'string'==typeof _0x320a40?0x0===_0x320a40['length']:0x0===_0x320a40['byteLength'];}function uint32ArrayFrom(_0x5d6c7b){if(!Uint32Array['from']){for(var _0x4ded61=new Uint32Array(_0x5d6c7b['length']),_0x54c921=0x0;_0x54c921<_0x5d6c7b['length'];)_0x4ded61[_0x54c921]=_0x5d6c7b[_0x54c921],_0x54c921+=0x1;return _0x4ded61;}return Uint32Array['from'](_0x5d6c7b);}var _0x4b2b63=(function(){function _0x1be844(){this['checksum']=0xffffffff;}return _0x1be844['prototype']['update']=function(_0x824fe){var _0x300c16,_0x3a9fd0;try{for(var _0x144f43=_0x17e584(_0x824fe),_0x5a8679=_0x144f43['next']();!_0x5a8679['done'];_0x5a8679=_0x144f43['next']()){var _0x3263bf=_0x5a8679['value'];this['checksum']=this['checksum']>>>0x8^_0x21ca3b[0xff&(this['checksum']^_0x3263bf)];}}catch(_0x77fe32){_0x300c16={'error':_0x77fe32};}finally{try{_0x5a8679&&!_0x5a8679['done']&&(_0x3a9fd0=_0x144f43['return'])&&_0x3a9fd0['call'](_0x144f43);}finally{if(_0x300c16)throw _0x300c16['error'];}}return this;},_0x1be844['prototype']['digest']=function(){return(0xffffffff^this['checksum'])>>>0x0;},_0x1be844;}()),_0x4daba8=[0x0,0x77073096,0xee0e612c,0x990951ba,0x76dc419,0x706af48f,0xe963a535,0x9e6495a3,0xedb8832,0x79dcb8a4,0xe0d5e91e,0x97d2d988,0x9b64c2b,0x7eb17cbd,0xe7b82d07,0x90bf1d91,0x1db71064,0x6ab020f2,0xf3b97148,0x84be41de,0x1adad47d,0x6ddde4eb,0xf4d4b551,0x83d385c7,0x136c9856,0x646ba8c0,0xfd62f97a,0x8a65c9ec,0x14015c4f,0x63066cd9,0xfa0f3d63,0x8d080df5,0x3b6e20c8,0x4c69105e,0xd56041e4,0xa2677172,0x3c03e4d1,0x4b04d447,0xd20d85fd,0xa50ab56b,0x35b5a8fa,0x42b2986c,0xdbbbc9d6,0xacbcf940,0x32d86ce3,0x45df5c75,0xdcd60dcf,0xabd13d59,0x26d930ac,0x51de003a,0xc8d75180,0xbfd06116,0x21b4f4b5,0x56b3c423,0xcfba9599,0xb8bda50f,0x2802b89e,0x5f058808,0xc60cd9b2,0xb10be924,0x2f6f7c87,0x58684c11,0xc1611dab,0xb6662d3d,0x76dc4190,0x1db7106,0x98d220bc,0xefd5102a,0x71b18589,0x6b6b51f,0x9fbfe4a5,0xe8b8d433,0x7807c9a2,0xf00f934,0x9609a88e,0xe10e9818,0x7f6a0dbb,0x86d3d2d,0x91646c97,0xe6635c01,0x6b6b51f4,0x1c6c6162,0x856530d8,0xf262004e,0x6c0695ed,0x1b01a57b,0x8208f4c1,0xf50fc457,0x65b0d9c6,0x12b7e950,0x8bbeb8ea,0xfcb9887c,0x62dd1ddf,0x15da2d49,0x8cd37cf3,0xfbd44c65,0x4db26158,0x3ab551ce,0xa3bc0074,0xd4bb30e2,0x4adfa541,0x3dd895d7,0xa4d1c46d,0xd3d6f4fb,0x4369e96a,0x346ed9fc,0xad678846,0xda60b8d0,0x44042d73,0x33031de5,0xaa0a4c5f,0xdd0d7cc9,0x5005713c,0x270241aa,0xbe0b1010,0xc90c2086,0x5768b525,0x206f85b3,0xb966d409,0xce61e49f,0x5edef90e,0x29d9c998,0xb0d09822,0xc7d7a8b4,0x59b33d17,0x2eb40d81,0xb7bd5c3b,0xc0ba6cad,0xedb88320,0x9abfb3b6,0x3b6e20c,0x74b1d29a,0xead54739,0x9dd277af,0x4db2615,0x73dc1683,0xe3630b12,0x94643b84,0xd6d6a3e,0x7a6a5aa8,0xe40ecf0b,0x9309ff9d,0xa00ae27,0x7d079eb1,0xf00f9344,0x8708a3d2,0x1e01f268,0x6906c2fe,0xf762575d,0x806567cb,0x196c3671,0x6e6b06e7,0xfed41b76,0x89d32be0,0x10da7a5a,0x67dd4acc,0xf9b9df6f,0x8ebeeff9,0x17b7be43,0x60b08ed5,0xd6d6a3e8,0xa1d1937e,0x38d8c2c4,0x4fdff252,0xd1bb67f1,0xa6bc5767,0x3fb506dd,0x48b2364b,0xd80d2bda,0xaf0a1b4c,0x36034af6,0x41047a60,0xdf60efc3,0xa867df55,0x316e8eef,0x4669be79,0xcb61b38c,0xbc66831a,0x256fd2a0,0x5268e236,0xcc0c7795,0xbb0b4703,0x220216b9,0x5505262f,0xc5ba3bbe,0xb2bd0b28,0x2bb45a92,0x5cb36a04,0xc2d7ffa7,0xb5d0cf31,0x2cd99e8b,0x5bdeae1d,0x9b64c2b0,0xec63f226,0x756aa39c,0x26d930a,0x9c0906a9,0xeb0e363f,0x72076785,0x5005713,0x95bf4a82,0xe2b87a14,0x7bb12bae,0xcb61b38,0x92d28e9b,0xe5d5be0d,0x7cdcefb7,0xbdbdf21,0x86d3d2d4,0xf1d4e242,0x68ddb3f8,0x1fda836e,0x81be16cd,0xf6b9265b,0x6fb077e1,0x18b74777,0x88085ae6,0xff0f6a70,0x66063bca,0x11010b5c,0x8f659eff,0xf862ae69,0x616bffd3,0x166ccf45,0xa00ae278,0xd70dd2ee,0x4e048354,0x3903b3c2,0xa7672661,0xd06016f7,0x4969474d,0x3e6e77db,0xaed16a4a,0xd9d65adc,0x40df0b66,0x37d83bf0,0xa9bcae53,0xdebb9ec5,0x47b2cf7f,0x30b5ffe9,0xbdbdf21c,0xcabac28a,0x53b39330,0x24b4a3a6,0xbad03605,0xcdd70693,0x54de5729,0x23d967bf,0xb3667a2e,0xc4614ab8,0x5d681b02,0x2a6f2b94,0xb40bbe37,0xc30c8ea1,0x5a05df1b,0x2d02ef8d],_0x21ca3b=uint32ArrayFrom(_0x4daba8),_0x3b2179;class Int64{['bytes'];constructor(_0x3984ab){if(this['bytes']=_0x3984ab,0x8!==_0x3984ab['byteLength'])throw new Error('Int64\x20buffers\x20must\x20be\x20exactly\x208\x20bytes');}static['fromNumber'](_0x56b71e){if(_0x56b71e>0x8000000000000000||_0x56b71e<-0x8000000000000000)throw new Error(_0x56b71e+'\x20is\x20too\x20large\x20(or,\x20if\x20negative,\x20too\x20small)\x20to\x20represent\x20as\x20an\x20Int64');const _0x404e75=new Uint8Array(0x8);for(let _0x23a2e5=0x7,_0x51fbea=Math['abs'](Math['round'](_0x56b71e));_0x23a2e5>-0x1&&_0x51fbea>0x0;_0x23a2e5--,_0x51fbea/=0x100)_0x404e75[_0x23a2e5]=_0x51fbea;return _0x56b71e<0x0&&negate(_0x404e75),new Int64(_0x404e75);}['valueOf'](){const _0x98036b=this['bytes']['slice'](0x0),_0x3efb01=0x80&_0x98036b[0x0];return _0x3efb01&&negate(_0x98036b),parseInt(toHex(_0x98036b),0x10)*(_0x3efb01?-0x1:0x1);}['toString'](){return String(this['valueOf']());}}function negate(_0x2f4271){for(let _0x58b5d1=0x0;_0x58b5d1<0x8;_0x58b5d1++)_0x2f4271[_0x58b5d1]^=0xff;for(let _0x3ce0a1=0x7;_0x3ce0a1>-0x1&&(_0x2f4271[_0x3ce0a1]++,0x0===_0x2f4271[_0x3ce0a1]);_0x3ce0a1--);}class _0x3d7436{['toUtf8'];['fromUtf8'];constructor(_0x5b9910,_0x228d22){this['toUtf8']=_0x5b9910,this['fromUtf8']=_0x228d22;}['format'](_0x5ea2e1){const _0x1dec03=[];for(const _0x2342ca of Object['keys'](_0x5ea2e1)){const _0x4df35b=this['fromUtf8'](_0x2342ca);_0x1dec03['push'](Uint8Array['from']([_0x4df35b['byteLength']]),_0x4df35b,this['formatHeaderValue'](_0x5ea2e1[_0x2342ca]));}const _0x58c795=new Uint8Array(_0x1dec03['reduce']((_0x435b61,_0x457217)=>_0x435b61+_0x457217['byteLength'],0x0));let _0x2ed887=0x0;for(const _0x26ab1a of _0x1dec03)_0x58c795['set'](_0x26ab1a,_0x2ed887),_0x2ed887+=_0x26ab1a['byteLength'];return _0x58c795;}['formatHeaderValue'](_0x3b1376){switch(_0x3b1376['type']){case'boolean':return Uint8Array['from']([_0x3b1376['value']?0x0:0x1]);case'byte':return Uint8Array['from']([0x2,_0x3b1376['value']]);case'short':const _0x34251=new DataView(new ArrayBuffer(0x3));return _0x34251['setUint8'](0x0,0x3),_0x34251['setInt16'](0x1,_0x3b1376['value'],!0x1),new Uint8Array(_0x34251['buffer']);case'integer':const _0x533305=new DataView(new ArrayBuffer(0x5));return _0x533305['setUint8'](0x0,0x4),_0x533305['setInt32'](0x1,_0x3b1376['value'],!0x1),new Uint8Array(_0x533305['buffer']);case'long':const _0x3ea3b9=new Uint8Array(0x9);return _0x3ea3b9[0x0]=0x5,_0x3ea3b9['set'](_0x3b1376['value']['bytes'],0x1),_0x3ea3b9;case'binary':const _0x862493=new DataView(new ArrayBuffer(0x3+_0x3b1376['value']['byteLength']));_0x862493['setUint8'](0x0,0x6),_0x862493['setUint16'](0x1,_0x3b1376['value']['byteLength'],!0x1);const _0x2a85df=new Uint8Array(_0x862493['buffer']);return _0x2a85df['set'](_0x3b1376['value'],0x3),_0x2a85df;case'string':const _0x57e135=this['fromUtf8'](_0x3b1376['value']),_0x787935=new DataView(new ArrayBuffer(0x3+_0x57e135['byteLength']));_0x787935['setUint8'](0x0,0x7),_0x787935['setUint16'](0x1,_0x57e135['byteLength'],!0x1);const _0x53198c=new Uint8Array(_0x787935['buffer']);return _0x53198c['set'](_0x57e135,0x3),_0x53198c;case'timestamp':const _0x4186da=new Uint8Array(0x9);return _0x4186da[0x0]=0x8,_0x4186da['set'](Int64['fromNumber'](_0x3b1376['value']['valueOf']())['bytes'],0x1),_0x4186da;case'uuid':if(!_0x52d423['test'](_0x3b1376['value']))throw new Error('Invalid\x20UUID\x20received:\x20'+_0x3b1376['value']);const _0xd69b99=new Uint8Array(0x11);return _0xd69b99[0x0]=0x9,_0xd69b99['set'](_0x2d7fdc(_0x3b1376['value']['replace'](/\-/g,'')),0x1),_0xd69b99;}}['parse'](_0x1f7ff6){const _0x1dabf8={};let _0x5b234d=0x0;for(;_0x5b234d<_0x1f7ff6['byteLength'];){const _0x43d4b9=_0x1f7ff6['getUint8'](_0x5b234d++),_0x52092c=this['toUtf8'](new Uint8Array(_0x1f7ff6['buffer'],_0x1f7ff6['byteOffset']+_0x5b234d,_0x43d4b9));switch(_0x5b234d+=_0x43d4b9,_0x1f7ff6['getUint8'](_0x5b234d++)){case 0x0:_0x1dabf8[_0x52092c]={'type':_0x202efc,'value':!0x0};break;case 0x1:_0x1dabf8[_0x52092c]={'type':_0x202efc,'value':!0x1};break;case 0x2:_0x1dabf8[_0x52092c]={'type':_0x542839,'value':_0x1f7ff6['getInt8'](_0x5b234d++)};break;case 0x3:_0x1dabf8[_0x52092c]={'type':_0x2d54fe,'value':_0x1f7ff6['getInt16'](_0x5b234d,!0x1)},_0x5b234d+=0x2;break;case 0x4:_0x1dabf8[_0x52092c]={'type':_0x784f4c,'value':_0x1f7ff6['getInt32'](_0x5b234d,!0x1)},_0x5b234d+=0x4;break;case 0x5:_0x1dabf8[_0x52092c]={'type':_0x36ecc5,'value':new Int64(new Uint8Array(_0x1f7ff6['buffer'],_0x1f7ff6['byteOffset']+_0x5b234d,0x8))},_0x5b234d+=0x8;break;case 0x6:const _0x4488a7=_0x1f7ff6['getUint16'](_0x5b234d,!0x1);_0x5b234d+=0x2,_0x1dabf8[_0x52092c]={'type':_0x553f03,'value':new Uint8Array(_0x1f7ff6['buffer'],_0x1f7ff6['byteOffset']+_0x5b234d,_0x4488a7)},_0x5b234d+=_0x4488a7;break;case 0x7:const _0x157008=_0x1f7ff6['getUint16'](_0x5b234d,!0x1);_0x5b234d+=0x2,_0x1dabf8[_0x52092c]={'type':_0x7d21be,'value':this['toUtf8'](new Uint8Array(_0x1f7ff6['buffer'],_0x1f7ff6['byteOffset']+_0x5b234d,_0x157008))},_0x5b234d+=_0x157008;break;case 0x8:_0x1dabf8[_0x52092c]={'type':_0x466937,'value':new Date(new Int64(new Uint8Array(_0x1f7ff6['buffer'],_0x1f7ff6['byteOffset']+_0x5b234d,0x8))['valueOf']())},_0x5b234d+=0x8;break;case 0x9:const _0x414c69=new Uint8Array(_0x1f7ff6['buffer'],_0x1f7ff6['byteOffset']+_0x5b234d,0x10);_0x5b234d+=0x10,_0x1dabf8[_0x52092c]={'type':_0x4adb9f,'value':toHex(_0x414c69['subarray'](0x0,0x4))+'-'+toHex(_0x414c69['subarray'](0x4,0x6))+'-'+toHex(_0x414c69['subarray'](0x6,0x8))+'-'+toHex(_0x414c69['subarray'](0x8,0xa))+'-'+toHex(_0x414c69['subarray'](0xa))};break;default:throw new Error('Unrecognized\x20header\x20type\x20tag');}}return _0x1dabf8;}}!function(_0x3c7725){_0x3c7725[_0x3c7725['boolTrue']=0x0]='boolTrue',_0x3c7725[_0x3c7725['boolFalse']=0x1]='boolFalse',_0x3c7725[_0x3c7725['byte']=0x2]='byte',_0x3c7725[_0x3c7725['short']=0x3]='short',_0x3c7725[_0x3c7725['integer']=0x4]='integer',_0x3c7725[_0x3c7725['long']=0x5]='long',_0x3c7725[_0x3c7725['byteArray']=0x6]='byteArray',_0x3c7725[_0x3c7725['string']=0x7]='string',_0x3c7725[_0x3c7725['timestamp']=0x8]='timestamp',_0x3c7725[_0x3c7725['uuid']=0x9]='uuid';}(_0x3b2179||(_0x3b2179={}));const _0x202efc='boolean',_0x542839='byte',_0x2d54fe='short',_0x784f4c='integer',_0x36ecc5='long',_0x553f03='binary',_0x7d21be='string',_0x466937='timestamp',_0x4adb9f='uuid',_0x52d423=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,_0x539379=0x4,_0x4e7d44=0x2*_0x539379,_0x64b347=0x4,_0x4f33a7=_0x4e7d44+0x2*_0x64b347;function splitMessage({byteLength:_0x2b20d3,byteOffset:_0x5143e7,buffer:_0x91c0eb}){if(_0x2b20d3<_0x4f33a7)throw new Error('Provided\x20message\x20too\x20short\x20to\x20accommodate\x20event\x20stream\x20message\x20overhead');const _0x101a8f=new DataView(_0x91c0eb,_0x5143e7,_0x2b20d3),_0x16a714=_0x101a8f['getUint32'](0x0,!0x1);if(_0x2b20d3!==_0x16a714)throw new Error('Reported\x20message\x20length\x20does\x20not\x20match\x20received\x20message\x20length');const _0x3a2ccb=_0x101a8f['getUint32'](_0x539379,!0x1),_0x21fca5=_0x101a8f['getUint32'](_0x4e7d44,!0x1),_0x258ae3=_0x101a8f['getUint32'](_0x2b20d3-_0x64b347,!0x1),_0x5ed66a=new _0x4b2b63()['update'](new Uint8Array(_0x91c0eb,_0x5143e7,_0x4e7d44));if(_0x21fca5!==_0x5ed66a['digest']())throw new Error('The\x20prelude\x20checksum\x20specified\x20in\x20the\x20message\x20('+_0x21fca5+')\x20does\x20not\x20match\x20the\x20calculated\x20CRC32\x20checksum\x20('+_0x5ed66a['digest']()+')');if(_0x5ed66a['update'](new Uint8Array(_0x91c0eb,_0x5143e7+_0x4e7d44,_0x2b20d3-(_0x4e7d44+_0x64b347))),_0x258ae3!==_0x5ed66a['digest']())throw new Error('The\x20message\x20checksum\x20('+_0x5ed66a['digest']()+')\x20did\x20not\x20match\x20the\x20expected\x20value\x20of\x20'+_0x258ae3);return{'headers':new DataView(_0x91c0eb,_0x5143e7+_0x4e7d44+_0x64b347,_0x3a2ccb),'body':new Uint8Array(_0x91c0eb,_0x5143e7+_0x4e7d44+_0x64b347+_0x3a2ccb,_0x16a714-_0x3a2ccb-(_0x4e7d44+_0x64b347+_0x64b347))};}class EventStreamCodec{['headerMarshaller'];['messageBuffer'];['isEndOfStream'];constructor(_0x1435de,_0x5827db){this['headerMarshaller']=new _0x3d7436(_0x1435de,_0x5827db),this['messageBuffer']=[],this['isEndOfStream']=!0x1;}['feed'](_0x50bf34){this['messageBuffer']['push'](this['decode'](_0x50bf34));}['endOfStream'](){this['isEndOfStream']=!0x0;}['getMessage'](){const _0x55de5e=this['messageBuffer']['pop'](),_0x32b3e3=this['isEndOfStream'];return{'getMessage':()=>_0x55de5e,'isEndOfStream':()=>_0x32b3e3};}['getAvailableMessages'](){const _0x237412=this['messageBuffer'];this['messageBuffer']=[];const _0xb0c6ef=this['isEndOfStream'];return{'getMessages':()=>_0x237412,'isEndOfStream':()=>_0xb0c6ef};}['encode']({headers:_0x412089,body:_0x51dba6}){const _0x4e0bdd=this['headerMarshaller']['format'](_0x412089),_0x1993ef=_0x4e0bdd['byteLength']+_0x51dba6['byteLength']+0x10,_0x1c2513=new Uint8Array(_0x1993ef),_0x30cfe6=new DataView(_0x1c2513['buffer'],_0x1c2513['byteOffset'],_0x1c2513['byteLength']),_0x3cc8d6=new _0x4b2b63();return _0x30cfe6['setUint32'](0x0,_0x1993ef,!0x1),_0x30cfe6['setUint32'](0x4,_0x4e0bdd['byteLength'],!0x1),_0x30cfe6['setUint32'](0x8,_0x3cc8d6['update'](_0x1c2513['subarray'](0x0,0x8))['digest'](),!0x1),_0x1c2513['set'](_0x4e0bdd,0xc),_0x1c2513['set'](_0x51dba6,_0x4e0bdd['byteLength']+0xc),_0x30cfe6['setUint32'](_0x1993ef-0x4,_0x3cc8d6['update'](_0x1c2513['subarray'](0x8,_0x1993ef-0x4))['digest'](),!0x1),_0x1c2513;}['decode'](_0x21276c){const {headers:_0x28f94b,body:_0x27105c}=splitMessage(_0x21276c);return{'headers':this['headerMarshaller']['parse'](_0x28f94b),'body':_0x27105c};}['formatHeaders'](_0x17d869){return this['headerMarshaller']['format'](_0x17d869);}}class MessageDecoderStream{['options'];constructor(_0x579fa3){this['options']=_0x579fa3;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x172d56 of this['options']['inputStream']){const _0x4acee0=this['options']['decoder']['decode'](_0x172d56);yield _0x4acee0;}}}class MessageEncoderStream{['options'];constructor(_0x25652a){this['options']=_0x25652a;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x52f65 of this['options']['messageStream']){const _0x58e274=this['options']['encoder']['encode'](_0x52f65);yield _0x58e274;}this['options']['includeEndFrame']&&(yield new Uint8Array(0x0));}}class SmithyMessageDecoderStream{['options'];constructor(_0x3562a1){this['options']=_0x3562a1;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0x5df382 of this['options']['messageStream']){const _0x5380bf=await this['options']['deserializer'](_0x5df382);void 0x0!==_0x5380bf&&(yield _0x5380bf);}}}class SmithyMessageEncoderStream{['options'];constructor(_0x4bed83){this['options']=_0x4bed83;}[Symbol['asyncIterator']](){return this['asyncIterator']();}async*['asyncIterator'](){for await(const _0xa3b445 of this['options']['inputStream']){const _0x4e7815=this['options']['serializer'](_0xa3b445);yield _0x4e7815;}}}function getChunkedStream(_0x201303){let _0x2b0ce3=0x0,_0x5e94ed=0x0,_0xf0f1ab=null,_0xaade82=null;const _0x31c65b=_0x14f3f4=>{if('number'!=typeof _0x14f3f4)throw new Error('Attempted\x20to\x20allocate\x20an\x20event\x20message\x20where\x20size\x20was\x20not\x20a\x20number:\x20'+_0x14f3f4);_0x2b0ce3=_0x14f3f4,_0x5e94ed=0x4,_0xf0f1ab=new Uint8Array(_0x14f3f4),new DataView(_0xf0f1ab['buffer'])['setUint32'](0x0,_0x14f3f4,!0x1);};return{[Symbol['asyncIterator']]:async function*(){const _0x29b418=_0x201303[Symbol['asyncIterator']]();for(;;){const {value:_0x684161,done:_0x172218}=await _0x29b418['next']();if(_0x172218){if(!_0x2b0ce3)return;if(_0x2b0ce3!==_0x5e94ed)throw new Error('Truncated\x20event\x20message\x20received.');return void(yield _0xf0f1ab);}const _0x3d95fe=_0x684161['length'];let _0x2f6558=0x0;for(;_0x2f6558<_0x3d95fe;){if(!_0xf0f1ab){const _0x143459=_0x3d95fe-_0x2f6558;_0xaade82||(_0xaade82=new Uint8Array(0x4));const _0x10b0a2=Math['min'](0x4-_0x5e94ed,_0x143459);if(_0xaade82['set'](_0x684161['slice'](_0x2f6558,_0x2f6558+_0x10b0a2),_0x5e94ed),_0x5e94ed+=_0x10b0a2,_0x2f6558+=_0x10b0a2,_0x5e94ed<0x4)break;_0x31c65b(new DataView(_0xaade82['buffer'])['getUint32'](0x0,!0x1)),_0xaade82=null;}const _0x4ecf86=Math['min'](_0x2b0ce3-_0x5e94ed,_0x3d95fe-_0x2f6558);_0xf0f1ab['set'](_0x684161['slice'](_0x2f6558,_0x2f6558+_0x4ecf86),_0x5e94ed),_0x5e94ed+=_0x4ecf86,_0x2f6558+=_0x4ecf86,_0x2b0ce3&&_0x2b0ce3===_0x5e94ed&&(yield _0xf0f1ab,_0xf0f1ab=null,_0x2b0ce3=0x0,_0x5e94ed=0x0);}}}};}function getMessageUnmarshaller(_0x2ca90d,_0x271320){return async function(_0x4fd2eb){const {value:_0x2338f5}=_0x4fd2eb['headers'][':message-type'];if('error'===_0x2338f5){const _0x4e167c=new Error(_0x4fd2eb['headers'][':error-message']['value']||'UnknownError');throw _0x4e167c['name']=_0x4fd2eb['headers'][':error-code']['value'],_0x4e167c;}if('exception'===_0x2338f5){const _0x187d34=_0x4fd2eb['headers'][':exception-type']['value'],_0x3f86b1={[_0x187d34]:_0x4fd2eb},_0x4a85b2=await _0x2ca90d(_0x3f86b1);if(_0x4a85b2['$unknown']){const _0xc7671f=new Error(_0x271320(_0x4fd2eb['body']));throw _0xc7671f['name']=_0x187d34,_0xc7671f;}throw _0x4a85b2[_0x187d34];}if('event'===_0x2338f5){const _0x481604={[_0x4fd2eb['headers'][':event-type']['value']]:_0x4fd2eb},_0x23ebb1=await _0x2ca90d(_0x481604);if(_0x23ebb1['$unknown'])return;return _0x23ebb1;}throw Error('Unrecognizable\x20event\x20type:\x20'+_0x4fd2eb['headers'][':event-type']['value']);};}let EventStreamMarshaller$1=class{['eventStreamCodec'];['utfEncoder'];constructor({utf8Encoder:_0x64b752,utf8Decoder:_0x1c63ea}){this['eventStreamCodec']=new EventStreamCodec(_0x64b752,_0x1c63ea),this['utfEncoder']=_0x64b752;}['deserialize'](_0x57464a,_0x1e93dd){const _0xeb2268=getChunkedStream(_0x57464a);return new SmithyMessageDecoderStream({'messageStream':new MessageDecoderStream({'inputStream':_0xeb2268,'decoder':this['eventStreamCodec']}),'deserializer':getMessageUnmarshaller(_0x1e93dd,this['utfEncoder'])});}['serialize'](_0x129982,_0x5a8b57){return new MessageEncoderStream({'messageStream':new SmithyMessageEncoderStream({'inputStream':_0x129982,'serializer':_0x5a8b57}),'encoder':this['eventStreamCodec'],'includeEndFrame':!0x0});}};const readableStreamtoIterable=_0x349cd5=>({[Symbol['asyncIterator']]:async function*(){const _0x29a7e8=_0x349cd5['getReader']();try{for(;;){const {done:_0x1d1269,value:_0x5ec5f0}=await _0x29a7e8['read']();if(_0x1d1269)return;yield _0x5ec5f0;}}finally{_0x29a7e8['releaseLock']();}}}),iterableToReadableStream=_0x4553b4=>{const _0x39592d=_0x4553b4[Symbol['asyncIterator']]();return new ReadableStream({async 'pull'(_0x17d490){const {done:_0x4eca8d,value:_0x47a6c5}=await _0x39592d['next']();if(_0x4eca8d)return _0x17d490['close']();_0x17d490['enqueue'](_0x47a6c5);}});};class EventStreamMarshaller{['universalMarshaller'];constructor({utf8Encoder:_0x1a8819,utf8Decoder:_0x3a2115}){this['universalMarshaller']=new EventStreamMarshaller$1({'utf8Decoder':_0x3a2115,'utf8Encoder':_0x1a8819});}['deserialize'](_0x4025d3,_0x345d54){const _0x470248=isReadableStream$1(_0x4025d3)?readableStreamtoIterable(_0x4025d3):_0x4025d3;return this['universalMarshaller']['deserialize'](_0x470248,_0x345d54);}['serialize'](_0x15078d,_0x52d7f3){const _0x4e12c8=this['universalMarshaller']['serialize'](_0x15078d,_0x52d7f3);return'function'==typeof ReadableStream?iterableToReadableStream(_0x4e12c8):_0x4e12c8;}}const isReadableStream$1=_0x360204=>'function'==typeof ReadableStream&&_0x360204 instanceof ReadableStream,eventStreamSerdeProvider=_0xc7cadb=>new EventStreamMarshaller(_0xc7cadb),isWebSocketRequest=_0x20c2c6=>'ws:'===_0x20c2c6['protocol']||'wss:'===_0x20c2c6['protocol'],_0x20df12=0xbb8;class WebSocketFetchHandler{['metadata']={'handlerProtocol':'websocket/h1.1'};['config']={};['configPromise'];['httpHandler'];['sockets']={};static['create'](_0x10aee5,_0x11aae7=new FetchHttpHandler()){return'function'==typeof _0x10aee5?.['handle']?_0x10aee5:new WebSocketFetchHandler(_0x10aee5,_0x11aae7);}constructor(_0x44fe5c,_0x4861d0=new FetchHttpHandler()){this['httpHandler']=_0x4861d0;const _0x523cce=_0x1b2a9d=>(this['config']={..._0x1b2a9d??{}},this['config']);'function'==typeof _0x44fe5c?(this['config']={},this['configPromise']=_0x44fe5c()['then'](_0x97b6f0=>_0x523cce(_0x97b6f0))):this['configPromise']=Promise['resolve'](_0x523cce(_0x44fe5c));}['destroy'](){for(const [_0x140b05,_0x19dd58]of Object['entries'](this['sockets'])){for(const _0xe673c9 of _0x19dd58)_0xe673c9['close'](0x3e8,'Socket\x20closed\x20through\x20destroy()\x20call');delete this['sockets'][_0x140b05];}}async['handle'](_0x553463){this['config']=await this['configPromise'];const {logger:_0xe709bb}=this['config'];if(!isWebSocketRequest(_0x553463))return _0xe709bb?.['debug']?.('@aws-sdk\x20-\x20ws\x20fetching\x20'+_0x553463['protocol']+_0x553463['hostname']+_0x553463['path']),this['httpHandler']['handle'](_0x553463);const _0x3b00e5=formatUrl(_0x553463);_0xe709bb?.['debug']?.('@aws-sdk\x20-\x20ws\x20connecting\x20'+_0x3b00e5['split']('?')[0x0]);const _0x5c5afd=new WebSocket(_0x3b00e5);this['sockets'][_0x3b00e5]||(this['sockets'][_0x3b00e5]=[]),this['sockets'][_0x3b00e5]['push'](_0x5c5afd),_0x5c5afd['binaryType']='arraybuffer';const {connectionTimeout:_0x5ed954=_0x20df12}=this['config'];await this['waitForReady'](_0x5c5afd,_0x5ed954);const {body:_0x37d525}=_0x553463,_0x24fc75=getIterator(_0x37d525),_0xfe719b=this['connect'](_0x5c5afd,_0x24fc75),_0x1a2a10=toReadableStream(_0xfe719b);return{'response':new HttpResponse({'statusCode':0xc8,'body':_0x1a2a10})};}['updateHttpClientConfig'](_0xafc026,_0x26a42a){this['configPromise']=this['configPromise']['then'](_0x186433=>(_0x186433[_0xafc026]=_0x26a42a,_0x186433));}['httpHandlerConfigs'](){return this['config']??{};}['removeNotUsableSockets'](_0x242407){this['sockets'][_0x242407]=(this['sockets'][_0x242407]??[])['filter'](_0x41a24e=>![WebSocket['CLOSING'],WebSocket['CLOSED']]['includes'](_0x41a24e['readyState']));}['waitForReady'](_0x2069af,_0x3e69ca){return new Promise((_0x1a634c,_0x411a80)=>{const _0x2f0584=setTimeout(()=>{this['removeNotUsableSockets'](_0x2069af['url']),_0x411a80({'$metadata':{'httpStatusCode':0x1f4,'websocketSynthetic500Error':!0x0}});},_0x3e69ca);_0x2069af['onopen']=()=>{clearTimeout(_0x2f0584),_0x1a634c();};});}['connect'](_0x1eadca,_0x113ba3){const _0x28a3cb=[];let _0x3d3dff=null,_0x2f31f1=null;const _0x517e43=_0x8a21f4=>{_0x3d3dff?(_0x8a21f4['error']?_0x2f31f1(_0x8a21f4['error']):_0x3d3dff({'done':_0x8a21f4['done'],'value':_0x8a21f4['value']}),_0x3d3dff=null,_0x2f31f1=null):_0x28a3cb['push'](_0x8a21f4);};_0x1eadca['onmessage']=_0x4b52cd=>{const {data:_0x5f05d2}=_0x4b52cd;_0x517e43('string'==typeof _0x5f05d2?{'done':!0x1,'value':_0x2714ba(_0x5f05d2)}:{'done':!0x1,'value':new Uint8Array(_0x5f05d2)});},_0x1eadca['onerror']=_0x58e951=>{_0x1eadca['close'](),_0x517e43({'done':!0x0,'error':_0x58e951});},_0x1eadca['onclose']=()=>{this['removeNotUsableSockets'](_0x1eadca['url']),_0x517e43({'done':!0x0});};const _0x1094f2={[Symbol['asyncIterator']]:()=>({async 'next'(){if(_0x28a3cb['length']>0x0){const _0x4d5d2d=_0x28a3cb['shift']();if(_0x4d5d2d['error'])throw _0x4d5d2d['error'];return{'done':_0x4d5d2d['done'],'value':_0x4d5d2d['value']};}return new Promise((_0x4a71e3,_0xa5a30f)=>{_0x3d3dff=_0x4a71e3,_0x2f31f1=_0xa5a30f;});}})};return((async()=>{try{for await(const _0x45acce of _0x113ba3){if(_0x1eadca['readyState']>=WebSocket['CLOSING'])break;_0x1eadca['send'](_0x45acce);}}catch(_0x45bdbf){_0x517e43({'done':!0x0,'error':_0x45bdbf});}finally{_0x1eadca['close'](0x3e8);}})()),_0x1094f2;}}const getIterator=_0x1b91b0=>_0x1b91b0[Symbol['asyncIterator']]?_0x1b91b0:isReadableStream(_0x1b91b0)?readableStreamtoIterable(_0x1b91b0):{[Symbol['asyncIterator']]:async function*(){yield _0x1b91b0;}},toReadableStream=_0x4e4fe8=>'function'==typeof ReadableStream?iterableToReadableStream(_0x4e4fe8):_0x4e4fe8,isReadableStream=_0x1baf83=>'function'==typeof ReadableStream&&_0x1baf83 instanceof ReadableStream;class WebsocketSignatureV4{['signer'];constructor(_0x43bcef){this['signer']=_0x43bcef['signer'];}['presign'](_0xf0851e,_0x3a8806={}){return this['signer']['presign'](_0xf0851e,_0x3a8806);}async['sign'](_0x460811,_0x2b70aa){if(HttpRequest['isInstance'](_0x460811)&&isWebSocketRequest(_0x460811))return{...await this['signer']['presign']({..._0x460811,'body':''},{..._0x2b70aa,'expiresIn':0x3c,'unsignableHeaders':new Set(Object['keys'](_0x460811['headers'])['filter'](_0x354cfb=>'host'!==_0x354cfb))}),'body':_0x460811['body']};return this['signer']['sign'](_0x460811,_0x2b70aa);}['signMessage'](_0x2f023b,_0x1e4a4f){return this['signer']['signMessage'](_0x2f023b,_0x1e4a4f);}}const resolveWebSocketConfig=_0x42dd31=>{const {signer:_0x38d966}=_0x42dd31;return Object['assign'](_0x42dd31,{'signer':async _0x4d485e=>{const _0x50bf30=await _0x38d966(_0x4d485e);if(validateSigner(_0x50bf30))return new WebsocketSignatureV4({'signer':_0x50bf30});throw new Error('Expected\x20WebsocketSignatureV4\x20signer,\x20please\x20check\x20the\x20client\x20constructor.');}});},validateSigner=_0x397d8b=>!!_0x397d8b;class EventSigningTransformStream extends TransformStream{constructor(_0x566cd3,_0x1759c5,_0x2f71d8,_0x5879b6){let _0xbf4a26=_0x566cd3;super({'start'(){},async 'transform'(_0x49c5e1,_0x5e921d){try{const _0x5bee43=new Date(Date['now']()+await _0x5879b6()),_0xfb989c={':date':{'type':'timestamp','value':_0x5bee43}},_0x2bc1df=await _0x1759c5['sign']({'message':{'body':_0x49c5e1,'headers':_0xfb989c},'priorSignature':_0xbf4a26},{'signingDate':_0x5bee43});_0xbf4a26=_0x2bc1df['signature'];const _0x7bc22d=_0x2f71d8['encode']({'headers':{..._0xfb989c,':chunk-signature':{'type':'binary','value':_0x2d7fdc(_0x2bc1df['signature'])}},'body':_0x49c5e1});_0x5e921d['enqueue'](_0x7bc22d);}catch(_0xbf147d){_0x5e921d['error'](_0xbf147d);}}});}}class EventStreamPayloadHandler{['messageSigner'];['eventStreamCodec'];['systemClockOffsetProvider'];constructor(_0x5efa1d){this['messageSigner']=_0x5efa1d['messageSigner'],this['eventStreamCodec']=new EventStreamCodec(_0x5efa1d['utf8Encoder'],_0x5efa1d['utf8Decoder']),this['systemClockOffsetProvider']=async()=>_0x5efa1d['systemClockOffset']??0x0;}async['handle'](_0x78fdaa,_0xe099f8,_0x4a91bb={}){const _0x17ee1d=_0xe099f8['request'],{body:_0x187de7,headers:_0x5b89cc,query:_0x2c292a}=_0x17ee1d;if(!(_0x187de7 instanceof ReadableStream))throw new Error('Eventstream\x20payload\x20must\x20be\x20a\x20ReadableStream.');const _0x5c7103=new TransformStream();_0x17ee1d['body']=_0x5c7103['readable'];const _0x3bb9a4=((_0x5b89cc?.['authorization']??'')['match'](/Signature=(\w+)$/)??[])[0x1]??(_0x2c292a&&_0x2c292a['X-Amz-Signature'])??'',_0x2d082a=new EventSigningTransformStream(_0x3bb9a4,await this['messageSigner'](),this['eventStreamCodec'],this['systemClockOffsetProvider']);let _0x44b906;_0x187de7['pipeThrough'](_0x2d082a)['pipeThrough'](_0x5c7103);try{_0x44b906=await _0x78fdaa(_0xe099f8);}catch(_0x56c39e){const _0x57a2fa=_0x187de7['cancel']?.();throw _0x57a2fa instanceof Promise&&_0x57a2fa['catch'](()=>{}),_0x56c39e;}return _0x44b906;}}const eventStreamPayloadHandlerProvider=_0x3f71b1=>new EventStreamPayloadHandler(_0x3f71b1),_0x25ab0b=!0x1,_0x2f4f27=!0x1,_0x2968ca=new Set(),_0x1d536a=(_0x4b3e76,_0x5219ce=isValidHostLabel)=>{if(_0x2968ca['has'](_0x4b3e76)||_0x5219ce(_0x4b3e76))_0x2968ca['add'](_0x4b3e76);else{if('*'!==_0x4b3e76)throw new Error('Region\x20not\x20accepted:\x20region=\x22'+_0x4b3e76+'\x22\x20is\x20not\x20a\x20valid\x20hostname\x20component.');console['warn']('@smithy/config-resolver\x20WARN\x20-\x20Please\x20use\x20the\x20caller\x20region\x20instead\x20of\x20\x22*\x22.\x20See\x20\x22sigv4a\x22\x20in\x20https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.');}},_0x1f7d42=_0x2edd62=>'string'==typeof _0x2edd62&&(_0x2edd62['startsWith']('fips-')||_0x2edd62['endsWith']('-fips')),getRealRegion=_0xc2340e=>_0x1f7d42(_0xc2340e)?['fips-aws-global','aws-fips']['includes'](_0xc2340e)?'us-east-1':_0xc2340e['replace'](/fips-(dkr-|prod-)?|-fips/,''):_0xc2340e,_0x53cbd7=_0xef681c=>{const {region:_0x56a525,useFipsEndpoint:_0x50a1db}=_0xef681c;if(!_0x56a525)throw new Error('Region\x20is\x20missing');return Object['assign'](_0xef681c,{'region':async()=>{const _0x226c40='function'==typeof _0x56a525?await _0x56a525():_0x56a525,_0x134a4f=getRealRegion(_0x226c40);return _0x1d536a(_0x134a4f),_0x134a4f;},'useFipsEndpoint':async()=>{const _0x1ae651='string'==typeof _0x56a525?_0x56a525:await _0x56a525();return!!_0x1f7d42(_0x1ae651)||('function'!=typeof _0x50a1db?Promise['resolve'](!!_0x50a1db):_0x50a1db());}});},resolveEventStreamSerdeConfig=_0x2eb156=>Object['assign'](_0x2eb156,{'eventStreamMarshaller':_0x2eb156['eventStreamSerdeProvider'](_0x2eb156)}),_0x43c1fb='content-length';function contentLengthMiddleware(_0x2d814e){return _0x4738eb=>async _0x35fd95=>{const _0x48c1fb=_0x35fd95['request'];if(HttpRequest['isInstance'](_0x48c1fb)){const {body:_0x39fd54,headers:_0x37f897}=_0x48c1fb;if(_0x39fd54&&-0x1===Object['keys'](_0x37f897)['map'](_0x77264e=>_0x77264e['toLowerCase']())['indexOf'](_0x43c1fb))try{const _0x4fec30=_0x2d814e(_0x39fd54);_0x48c1fb['headers']={..._0x48c1fb['headers'],[_0x43c1fb]:String(_0x4fec30)};}catch(_0x2ddfda){}}return _0x4738eb({..._0x35fd95,'request':_0x48c1fb});};}const contentLengthMiddlewareOptions={'step':'build','tags':['SET_CONTENT_LENGTH','CONTENT_LENGTH'],'name':'contentLengthMiddleware','override':!0x0},getContentLengthPlugin=_0x441f68=>({'applyToStack':_0x14310b=>{_0x14310b['add'](contentLengthMiddleware(_0x441f68['bodyLengthChecker']),contentLengthMiddlewareOptions);}}),_0x594f17=async _0x336ff4=>{const _0x3c2d94=_0x336ff4?.['Bucket']||'';if('string'==typeof _0x336ff4['Bucket']&&(_0x336ff4['Bucket']=_0x3c2d94['replace'](/#/g,encodeURIComponent('#'))['replace'](/\?/g,encodeURIComponent('?'))),isArnBucketName(_0x3c2d94)){if(!0x0===_0x336ff4['ForcePathStyle'])throw new Error('Path-style\x20addressing\x20cannot\x20be\x20used\x20with\x20ARN\x20buckets');}else(!isDnsCompatibleBucketName(_0x3c2d94)||-0x1!==_0x3c2d94['indexOf']('.')&&!String(_0x336ff4['Endpoint'])['startsWith']('http:')||_0x3c2d94['toLowerCase']()!==_0x3c2d94||_0x3c2d94['length']<0x3)&&(_0x336ff4['ForcePathStyle']=!0x0);return _0x336ff4['DisableMultiRegionAccessPoints']&&(_0x336ff4['disableMultiRegionAccessPoints']=!0x0,_0x336ff4['DisableMRAP']=!0x0),_0x336ff4;},_0x251d2e=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,_0x38e3fe=/(\d+\.){3}\d+/,_0x20f83c=/\.\./,isDnsCompatibleBucketName=_0x5ccb7a=>_0x251d2e['test'](_0x5ccb7a)&&!_0x38e3fe['test'](_0x5ccb7a)&&!_0x20f83c['test'](_0x5ccb7a),isArnBucketName=_0x3774d9=>{const [_0x216d5c,_0x518f02,_0x1c71b7,,,_0x3557c7]=_0x3774d9['split'](':'),_0x13540e='arn'===_0x216d5c&&_0x3774d9['split'](':')['length']>=0x6,_0x57c39b=Boolean(_0x13540e&&_0x518f02&&_0x1c71b7&&_0x3557c7);if(_0x13540e&&!_0x57c39b)throw new Error('Invalid\x20ARN:\x20'+_0x3774d9+'\x20was\x20an\x20invalid\x20ARN.');return _0x57c39b;},createConfigValueProvider=(_0x2b029d,_0x9333ac,_0x205b9f,_0x5a543e=!0x1)=>{const _0x537ed7=async()=>{let _0x19a570;if(_0x5a543e){const _0x266481=_0x205b9f['clientContextParams'],_0x27fb50=_0x266481?.[_0x2b029d];_0x19a570=_0x27fb50??_0x205b9f[_0x2b029d]??_0x205b9f[_0x9333ac];}else _0x19a570=_0x205b9f[_0x2b029d]??_0x205b9f[_0x9333ac];return'function'==typeof _0x19a570?_0x19a570():_0x19a570;};return'credentialScope'===_0x2b029d||'CredentialScope'===_0x9333ac?async()=>{const _0x3dc256='function'==typeof _0x205b9f['credentials']?await _0x205b9f['credentials']():_0x205b9f['credentials'];return _0x3dc256?.['credentialScope']??_0x3dc256?.['CredentialScope'];}:'accountId'===_0x2b029d||'AccountId'===_0x9333ac?async()=>{const _0x275a59='function'==typeof _0x205b9f['credentials']?await _0x205b9f['credentials']():_0x205b9f['credentials'];return _0x275a59?.['accountId']??_0x275a59?.['AccountId'];}:'endpoint'===_0x2b029d||'endpoint'===_0x9333ac?async()=>{if(!0x1===_0x205b9f['isCustomEndpoint'])return;const _0x6d4a02=await _0x537ed7();if(_0x6d4a02&&'object'==typeof _0x6d4a02){if('url'in _0x6d4a02)return _0x6d4a02['url']['href'];if('hostname'in _0x6d4a02){const {protocol:_0x17302a,hostname:_0x5751e2,port:_0x4400fd,path:_0x3018d5}=_0x6d4a02;return _0x17302a+'//'+_0x5751e2+(_0x4400fd?':'+_0x4400fd:'')+_0x3018d5;}}return _0x6d4a02;}:_0x537ed7;},getEndpointFromConfig=async _0x40c43c=>{},toEndpointV1=_0x1e1ba1=>'object'==typeof _0x1e1ba1?'url'in _0x1e1ba1?_0x1c11f7(_0x1e1ba1['url']):_0x1e1ba1:_0x1c11f7(_0x1e1ba1),getEndpointFromInstructions=async(_0xaae0c5,_0x388d8b,_0x830294,_0x3ac300)=>{if(!_0x830294['isCustomEndpoint']){let _0x492574;_0x492574=_0x830294['serviceConfiguredEndpoint']?await _0x830294['serviceConfiguredEndpoint']():await getEndpointFromConfig(_0x830294['serviceId']),_0x492574&&(_0x830294['endpoint']=()=>Promise['resolve'](toEndpointV1(_0x492574)),_0x830294['isCustomEndpoint']=!0x0);}const _0xb9edff=await _0xb4aee6(_0xaae0c5,_0x388d8b,_0x830294);if('function'!=typeof _0x830294['endpointProvider'])throw new Error('config.endpointProvider\x20is\x20not\x20set.');return _0x830294['endpointProvider'](_0xb9edff,_0x3ac300);},_0xb4aee6=async(_0x5f0a9e,_0x4cdebc,_0x27131d)=>{const _0x3e2450={},_0x21b90b=_0x4cdebc?.['getEndpointParameterInstructions']?.()||{};for(const [_0x41722b,_0x672c5a]of Object['entries'](_0x21b90b))switch(_0x672c5a['type']){case'staticContextParams':_0x3e2450[_0x41722b]=_0x672c5a['value'];break;case'contextParams':_0x3e2450[_0x41722b]=_0x5f0a9e[_0x672c5a['name']];break;case'clientContextParams':case'builtInParams':_0x3e2450[_0x41722b]=await createConfigValueProvider(_0x672c5a['name'],_0x41722b,_0x27131d,'builtInParams'!==_0x672c5a['type'])();break;case'operationContextParams':_0x3e2450[_0x41722b]=_0x672c5a['get'](_0x5f0a9e);break;default:throw new Error('Unrecognized\x20endpoint\x20parameter\x20instruction:\x20'+JSON['stringify'](_0x672c5a));}return 0x0===Object['keys'](_0x21b90b)['length']&&Object['assign'](_0x3e2450,_0x27131d),'s3'===String(_0x27131d['serviceId'])['toLowerCase']()&&await _0x594f17(_0x3e2450),_0x3e2450;},endpointMiddleware=({config:_0xf7eb2d,instructions:_0x5a055a})=>(_0x4533e8,_0x13a6a7)=>async _0x32ffe9=>{_0xf7eb2d['isCustomEndpoint']&&setFeature$1(_0x13a6a7,'ENDPOINT_OVERRIDE','N');const _0x36fade=await getEndpointFromInstructions(_0x32ffe9['input'],{'getEndpointParameterInstructions':()=>_0x5a055a},{..._0xf7eb2d},_0x13a6a7);_0x13a6a7['endpointV2']=_0x36fade,_0x13a6a7['authSchemes']=_0x36fade['properties']?.['authSchemes'];const _0x11464f=_0x13a6a7['authSchemes']?.[0x0];if(_0x11464f){_0x13a6a7['signing_region']=_0x11464f['signingRegion'],_0x13a6a7['signing_service']=_0x11464f['signingName'];const _0x100b19=getSmithyContext(_0x13a6a7),_0x4b0178=_0x100b19?.['selectedHttpAuthScheme']?.['httpAuthOption'];_0x4b0178&&(_0x4b0178['signingProperties']=Object['assign'](_0x4b0178['signingProperties']||{},{'signing_region':_0x11464f['signingRegion'],'signingRegion':_0x11464f['signingRegion'],'signing_service':_0x11464f['signingName'],'signingName':_0x11464f['signingName'],'signingRegionSet':_0x11464f['signingRegionSet']},_0x11464f['properties']));}return _0x4533e8({..._0x32ffe9});},endpointMiddlewareOptions={'step':'serialize','tags':['ENDPOINT_PARAMETERS','ENDPOINT_V2','ENDPOINT'],'name':'endpointV2Middleware','override':!0x0,'relation':'before','toMiddleware':serializerMiddlewareOption$1['name']},getEndpointPlugin=(_0x2769a4,_0xb399b5)=>({'applyToStack':_0x4c09c8=>{_0x4c09c8['addRelativeTo'](endpointMiddleware({'config':_0x2769a4,'instructions':_0xb399b5}),endpointMiddlewareOptions);}}),resolveEndpointConfig=_0x56bb99=>{const _0x5e7c13=_0x56bb99['tls']??!0x0,{endpoint:_0x2f6a8f,useDualstackEndpoint:_0x3fa806,useFipsEndpoint:_0x1add6a}=_0x56bb99,_0x5818ac=null!=_0x2f6a8f?async()=>toEndpointV1(await _0x453897(_0x2f6a8f)()):void 0x0,_0x56dea6=!!_0x2f6a8f,_0x24243d=Object['assign'](_0x56bb99,{'endpoint':_0x5818ac,'tls':_0x5e7c13,'isCustomEndpoint':_0x56dea6,'useDualstackEndpoint':_0x453897(_0x3fa806??!0x1),'useFipsEndpoint':_0x453897(_0x1add6a??!0x1)});let _0x1cb27f;return _0x24243d['serviceConfiguredEndpoint']=async()=>(_0x56bb99['serviceId']&&!_0x1cb27f&&(_0x1cb27f=getEndpointFromConfig(_0x56bb99['serviceId'])),_0x1cb27f),_0x24243d;};var _0x2f831f;!function(_0xbca54d){_0xbca54d['STANDARD']='standard',_0xbca54d['ADAPTIVE']='adaptive';}(_0x2f831f||(_0x2f831f={}));const _0x55299e=0x3,_0x1db32e=_0x2f831f['STANDARD'],_0x50a255=['BandwidthLimitExceeded','EC2ThrottledException','LimitExceededException','PriorRequestNotComplete','ProvisionedThroughputExceededException','RequestLimitExceeded','RequestThrottled','RequestThrottledException','SlowDown','ThrottledException','Throttling','ThrottlingException','TooManyRequestsException','TransactionInProgressException'],_0x5c13fd=['TimeoutError','RequestTimeout','RequestTimeoutException'],_0x15badb=[0x1f4,0x1f6,0x1f7,0x1f8],_0x10ddd4=['ECONNRESET','ECONNREFUSED','EPIPE','ETIMEDOUT'],_0x5bb678=['EHOSTUNREACH','ENETUNREACH','ENOTFOUND'],isRetryableByTrait=_0x25877d=>void 0x0!==_0x25877d?.['$retryable'],isClockSkewCorrectedError=_0x58a4ef=>_0x58a4ef['$metadata']?.['clockSkewCorrected'],isBrowserNetworkError=_0x4f78b1=>{const _0x51458c=new Set(['Failed\x20to\x20fetch','NetworkError\x20when\x20attempting\x20to\x20fetch\x20resource','The\x20Internet\x20connection\x20appears\x20to\x20be\x20offline','Load\x20failed','Network\x20request\x20failed']);return!!(_0x4f78b1&&_0x4f78b1 instanceof TypeError)&&_0x51458c['has'](_0x4f78b1['message']);},isThrottlingError=_0x2cf6bb=>0x1ad===_0x2cf6bb['$metadata']?.['httpStatusCode']||_0x50a255['includes'](_0x2cf6bb['name'])||0x1==_0x2cf6bb['$retryable']?.['throttling'],isTransientError=(_0x5cbb56,_0x1971a5=0x0)=>isRetryableByTrait(_0x5cbb56)||isClockSkewCorrectedError(_0x5cbb56)||_0x5c13fd['includes'](_0x5cbb56['name'])||_0x10ddd4['includes'](_0x5cbb56?.['code']||'')||_0x5bb678['includes'](_0x5cbb56?.['code']||'')||_0x15badb['includes'](_0x5cbb56['$metadata']?.['httpStatusCode']||0x0)||isBrowserNetworkError(_0x5cbb56)||void 0x0!==_0x5cbb56['cause']&&_0x1971a5<=0xa&&isTransientError(_0x5cbb56['cause'],_0x1971a5+0x1),_0x5adcb6=_0x29ad82=>{if(void 0x0!==_0x29ad82['$metadata']?.['httpStatusCode']){const _0x4ceda7=_0x29ad82['$metadata']['httpStatusCode'];return 0x1f4<=_0x4ceda7&&_0x4ceda7<=0x257&&!isTransientError(_0x29ad82);}return!0x1;};class DefaultRateLimiter{static ['setTimeoutFn']=setTimeout;['beta'];['minCapacity'];['minFillRate'];['scaleConstant'];['smooth'];['currentCapacity']=0x0;['enabled']=!0x1;['lastMaxRate']=0x0;['measuredTxRate']=0x0;['requestCount']=0x0;['fillRate'];['lastThrottleTime'];['lastTimestamp']=0x0;['lastTxRateBucket'];['maxCapacity'];['timeWindow']=0x0;constructor(_0x3f2a4f){this['beta']=_0x3f2a4f?.['beta']??0.7,this['minCapacity']=_0x3f2a4f?.['minCapacity']??0x1,this['minFillRate']=_0x3f2a4f?.['minFillRate']??0.5,this['scaleConstant']=_0x3f2a4f?.['scaleConstant']??0.4,this['smooth']=_0x3f2a4f?.['smooth']??0.8;const _0x3a3ada=this['getCurrentTimeInSeconds']();this['lastThrottleTime']=_0x3a3ada,this['lastTxRateBucket']=Math['floor'](this['getCurrentTimeInSeconds']()),this['fillRate']=this['minFillRate'],this['maxCapacity']=this['minCapacity'];}['getCurrentTimeInSeconds'](){return Date['now']()/0x3e8;}async['getSendToken'](){return this['acquireTokenBucket'](0x1);}async['acquireTokenBucket'](_0x5c0c01){if(this['enabled']){if(this['refillTokenBucket'](),_0x5c0c01>this['currentCapacity']){const _0x524192=(_0x5c0c01-this['currentCapacity'])/this['fillRate']*0x3e8;await new Promise(_0x232a75=>DefaultRateLimiter['setTimeoutFn'](_0x232a75,_0x524192));}this['currentCapacity']=this['currentCapacity']-_0x5c0c01;}}['refillTokenBucket'](){const _0x432f94=this['getCurrentTimeInSeconds']();if(!this['lastTimestamp'])return void(this['lastTimestamp']=_0x432f94);const _0xdfc767=(_0x432f94-this['lastTimestamp'])*this['fillRate'];this['currentCapacity']=Math['min'](this['maxCapacity'],this['currentCapacity']+_0xdfc767),this['lastTimestamp']=_0x432f94;}['updateClientSendingRate'](_0x3ff30e){let _0x2407fd;if(this['updateMeasuredRate'](),isThrottlingError(_0x3ff30e)){const _0x28263f=this['enabled']?Math['min'](this['measuredTxRate'],this['fillRate']):this['measuredTxRate'];this['lastMaxRate']=_0x28263f,this['calculateTimeWindow'](),this['lastThrottleTime']=this['getCurrentTimeInSeconds'](),_0x2407fd=this['cubicThrottle'](_0x28263f),this['enableTokenBucket']();}else this['calculateTimeWindow'](),_0x2407fd=this['cubicSuccess'](this['getCurrentTimeInSeconds']());const _0x278838=Math['min'](_0x2407fd,0x2*this['measuredTxRate']);this['updateTokenBucketRate'](_0x278838);}['calculateTimeWindow'](){this['timeWindow']=this['getPrecise'](Math['pow'](this['lastMaxRate']*(0x1-this['beta'])/this['scaleConstant'],0x1/0x3));}['cubicThrottle'](_0x36fa2c){return this['getPrecise'](_0x36fa2c*this['beta']);}['cubicSuccess'](_0x4e399b){return this['getPrecise'](this['scaleConstant']*Math['pow'](_0x4e399b-this['lastThrottleTime']-this['timeWindow'],0x3)+this['lastMaxRate']);}['enableTokenBucket'](){this['enabled']=!0x0;}['updateTokenBucketRate'](_0x1d3831){this['refillTokenBucket'](),this['fillRate']=Math['max'](_0x1d3831,this['minFillRate']),this['maxCapacity']=Math['max'](_0x1d3831,this['minCapacity']),this['currentCapacity']=Math['min'](this['currentCapacity'],this['maxCapacity']);}['updateMeasuredRate'](){const t=this['getCurrentTimeInSeconds'](),_0x4c791f=Math['floor'](0x2*t)/0x2;if(this['requestCount']++,_0x4c791f>this['lastTxRateBucket']){const _0x289bc3=this['requestCount']/(_0x4c791f-this['lastTxRateBucket']);this['measuredTxRate']=this['getPrecise'](_0x289bc3*this['smooth']+this['measuredTxRate']*(0x1-this['smooth'])),this['requestCount']=0x0,this['lastTxRateBucket']=_0x4c791f;}}['getPrecise'](_0x464261){return parseFloat(_0x464261['toFixed'](0x8));}}const _0x445ae1=0x64,_0x41e116=0x4e20,_0x40f212=0x1f4,_0x1cb89e=0x1f4,_0x21f85d=0x5,_0xf0a26e=0xa,_0x4ed654=0x1,_0x5cfd24='amz-sdk-invocation-id',_0xe29b0a='amz-sdk-request',getDefaultRetryBackoffStrategy=()=>{let _0x1e9380=_0x445ae1;return{'computeNextBackoffDelay':_0x541877=>Math['floor'](Math['min'](_0x41e116,Math['random']()*0x2**_0x541877*_0x1e9380)),'setDelayBase':_0x55f3a6=>{_0x1e9380=_0x55f3a6;}};},createDefaultRetryToken=({retryDelay:_0x3bf465,retryCount:_0x37fbc5,retryCost:_0x30ff1d})=>({'getRetryCount':()=>_0x37fbc5,'getRetryDelay':()=>Math['min'](_0x41e116,_0x3bf465),'getRetryCost':()=>_0x30ff1d});class StandardRetryStrategy{['maxAttempts'];['mode']=_0x2f831f['STANDARD'];['capacity']=_0x1cb89e;['retryBackoffStrategy']=getDefaultRetryBackoffStrategy();['maxAttemptsProvider'];constructor(_0x293743){this['maxAttempts']=_0x293743,this['maxAttemptsProvider']='function'==typeof _0x293743?_0x293743:async()=>_0x293743;}async['acquireInitialRetryToken'](_0x58fd54){return createDefaultRetryToken({'retryDelay':_0x445ae1,'retryCount':0x0});}async['refreshRetryTokenForRetry'](_0x49ebaa,_0x17909b){const _0x22edee=await this['getMaxAttempts']();if(this['shouldRetry'](_0x49ebaa,_0x17909b,_0x22edee)){const _0x21001f=_0x17909b['errorType'];this['retryBackoffStrategy']['setDelayBase']('THROTTLING'===_0x21001f?_0x40f212:_0x445ae1);const _0x4a76e5=this['retryBackoffStrategy']['computeNextBackoffDelay'](_0x49ebaa['getRetryCount']()),_0x3d29c6=_0x17909b['retryAfterHint']?Math['max'](_0x17909b['retryAfterHint']['getTime']()-Date['now']()||0x0,_0x4a76e5):_0x4a76e5,_0x383826=this['getCapacityCost'](_0x21001f);return this['capacity']-=_0x383826,createDefaultRetryToken({'retryDelay':_0x3d29c6,'retryCount':_0x49ebaa['getRetryCount']()+0x1,'retryCost':_0x383826});}throw new Error('No\x20retry\x20token\x20available');}['recordSuccess'](_0x3436ed){this['capacity']=Math['max'](_0x1cb89e,this['capacity']+(_0x3436ed['getRetryCost']()??_0x4ed654));}['getCapacity'](){return this['capacity'];}async['getMaxAttempts'](){try{return await this['maxAttemptsProvider']();}catch(_0x534288){return console['warn']('Max\x20attempts\x20provider\x20could\x20not\x20resolve.\x20Using\x20default\x20of\x20'+_0x55299e),_0x55299e;}}['shouldRetry'](_0x351e93,_0x313e06,_0x140e82){return _0x351e93['getRetryCount']()+0x1<_0x140e82&&this['capacity']>=this['getCapacityCost'](_0x313e06['errorType'])&&this['isRetryableError'](_0x313e06['errorType']);}['getCapacityCost'](_0x2be6fc){return'TRANSIENT'===_0x2be6fc?_0xf0a26e:_0x21f85d;}['isRetryableError'](_0x5b5549){return'THROTTLING'===_0x5b5549||'TRANSIENT'===_0x5b5549;}}class AdaptiveRetryStrategy{['maxAttemptsProvider'];['rateLimiter'];['standardRetryStrategy'];['mode']=_0x2f831f['ADAPTIVE'];constructor(_0x3cfd58,_0x2d5007){this['maxAttemptsProvider']=_0x3cfd58;const {rateLimiter:_0x4d3f3b}=_0x2d5007??{};this['rateLimiter']=_0x4d3f3b??new DefaultRateLimiter(),this['standardRetryStrategy']=new StandardRetryStrategy(_0x3cfd58);}async['acquireInitialRetryToken'](_0x2e2f0c){return await this['rateLimiter']['getSendToken'](),this['standardRetryStrategy']['acquireInitialRetryToken'](_0x2e2f0c);}async['refreshRetryTokenForRetry'](_0x438842,_0x5f5a94){return this['rateLimiter']['updateClientSendingRate'](_0x5f5a94),this['standardRetryStrategy']['refreshRetryTokenForRetry'](_0x438842,_0x5f5a94);}['recordSuccess'](_0x595063){this['rateLimiter']['updateClientSendingRate']({}),this['standardRetryStrategy']['recordSuccess'](_0x595063);}}const _0xa98ba1=_0x86fc88=>_0x86fc88 instanceof Error?_0x86fc88:_0x86fc88 instanceof Object?Object['assign'](new Error(),_0x86fc88):'string'==typeof _0x86fc88?new Error(_0x86fc88):new Error('AWS\x20SDK\x20error\x20wrapper\x20for\x20'+_0x86fc88),resolveRetryConfig=_0x35afc6=>{const {retryStrategy:_0x296f76,retryMode:_0x286dcf,maxAttempts:_0x39463e}=_0x35afc6,_0x95a40b=_0x453897(_0x39463e??_0x55299e);return Object['assign'](_0x35afc6,{'maxAttempts':_0x95a40b,'retryStrategy':async()=>{if(_0x296f76)return _0x296f76;return await _0x453897(_0x286dcf)()===_0x2f831f['ADAPTIVE']?new AdaptiveRetryStrategy(_0x95a40b):new StandardRetryStrategy(_0x95a40b);}});},isStreamingPayload=_0x71eafc=>_0x71eafc?.['body']instanceof ReadableStream,retryMiddleware=_0x2b280f=>(_0x1b4e72,_0x326870)=>async _0xc995d0=>{let _0x37e55e=await _0x2b280f['retryStrategy']();const _0x766508=await _0x2b280f['maxAttempts']();if(!isRetryStrategyV2(_0x37e55e))return _0x37e55e?.['mode']&&(_0x326870['userAgent']=[..._0x326870['userAgent']||[],['cfg/retry-mode',_0x37e55e['mode']]]),_0x37e55e['retry'](_0x1b4e72,_0xc995d0);{let _0x3c7ac1=await _0x37e55e['acquireInitialRetryToken'](_0x326870['partition_id']),_0x2da0d5=new Error(),_0x388c76=0x0,_0x4e1f56=0x0;const {request:_0x5dd706}=_0xc995d0,_0x291b66=HttpRequest['isInstance'](_0x5dd706);for(_0x291b66&&(_0x5dd706['headers'][_0x5cfd24]=_0x4b2b0a());;)try{_0x291b66&&(_0x5dd706['headers'][_0xe29b0a]='attempt='+(_0x388c76+0x1)+';\x20max='+_0x766508);const {response:_0x583b93,output:_0x3d739b}=await _0x1b4e72(_0xc995d0);return _0x37e55e['recordSuccess'](_0x3c7ac1),_0x3d739b['$metadata']['attempts']=_0x388c76+0x1,_0x3d739b['$metadata']['totalRetryDelay']=_0x4e1f56,{'response':_0x583b93,'output':_0x3d739b};}catch(_0x2f52ac){const _0x4bbf18=getRetryErrorInfo(_0x2f52ac);if(_0x2da0d5=_0xa98ba1(_0x2f52ac),_0x291b66&&isStreamingPayload(_0x5dd706))throw(_0x326870['logger']instanceof _0x50fadd?console:_0x326870['logger'])?.['warn']('An\x20error\x20was\x20encountered\x20in\x20a\x20non-retryable\x20streaming\x20request.'),_0x2da0d5;try{_0x3c7ac1=await _0x37e55e['refreshRetryTokenForRetry'](_0x3c7ac1,_0x4bbf18);}catch(_0x4481e5){throw _0x2da0d5['$metadata']||(_0x2da0d5['$metadata']={}),_0x2da0d5['$metadata']['attempts']=_0x388c76+0x1,_0x2da0d5['$metadata']['totalRetryDelay']=_0x4e1f56,_0x2da0d5;}_0x388c76=_0x3c7ac1['getRetryCount']();const _0x14afcd=_0x3c7ac1['getRetryDelay']();_0x4e1f56+=_0x14afcd,await new Promise(_0x4feffe=>setTimeout(_0x4feffe,_0x14afcd));}}},isRetryStrategyV2=_0xacb9a0=>void 0x0!==_0xacb9a0['acquireInitialRetryToken']&&void 0x0!==_0xacb9a0['refreshRetryTokenForRetry']&&void 0x0!==_0xacb9a0['recordSuccess'],getRetryErrorInfo=_0x1b640e=>{const _0x17dcb8={'error':_0x1b640e,'errorType':getRetryErrorType(_0x1b640e)},_0x219072=getRetryAfterHint(_0x1b640e['$response']);return _0x219072&&(_0x17dcb8['retryAfterHint']=_0x219072),_0x17dcb8;},getRetryErrorType=_0x1896d6=>isThrottlingError(_0x1896d6)?'THROTTLING':isTransientError(_0x1896d6)?'TRANSIENT':_0x5adcb6(_0x1896d6)?'SERVER_ERROR':'CLIENT_ERROR',retryMiddlewareOptions={'name':'retryMiddleware','tags':['RETRY'],'step':'finalizeRequest','priority':'high','override':!0x0},getRetryPlugin=_0x605827=>({'applyToStack':_0x8c3b18=>{_0x8c3b18['add'](retryMiddleware(_0x605827),retryMiddlewareOptions);}}),getRetryAfterHint=_0x59412a=>{if(!HttpResponse['isInstance'](_0x59412a))return;const _0x1860c3=Object['keys'](_0x59412a['headers'])['find'](_0x732abd=>'retry-after'===_0x732abd['toLowerCase']());if(!_0x1860c3)return;const _0x11207e=_0x59412a['headers'][_0x1860c3],_0x2a5379=Number(_0x11207e);if(!Number['isNaN'](_0x2a5379))return new Date(0x3e8*_0x2a5379);return new Date(_0x11207e);},defaultBedrockRuntimeHttpAuthSchemeParametersProvider=async(_0xd0509d,_0x5871a3,_0x4a8926)=>({'operation':getSmithyContext(_0x5871a3)['operation'],'region':await _0x453897(_0xd0509d['region'])()||((()=>{throw new Error('expected\x20`region`\x20to\x20be\x20configured\x20for\x20`aws.auth#sigv4`');})())});function createAwsAuthSigv4HttpAuthOption(_0x965d3c){return{'schemeId':'aws.auth#sigv4','signingProperties':{'name':'bedrock','region':_0x965d3c['region']},'propertiesExtractor':(_0x54f134,_0x188106)=>({'signingProperties':{'config':_0x54f134,'context':_0x188106}})};}function createSmithyApiHttpBearerAuthHttpAuthOption(_0x438c1a){return{'schemeId':'smithy.api#httpBearerAuth','propertiesExtractor':({profile:_0x4e2c87,filepath:_0x33b745,configFilepath:_0x142a73,ignoreCache:_0x436d92},_0x5803a3)=>({'identityProperties':{'profile':_0x4e2c87,'filepath':_0x33b745,'configFilepath':_0x142a73,'ignoreCache':_0x436d92}})};}const defaultBedrockRuntimeHttpAuthSchemeProvider=_0x5918c1=>{const _0x3c4e5c=[];return _0x5918c1['operation'],_0x3c4e5c['push'](createAwsAuthSigv4HttpAuthOption(_0x5918c1)),_0x3c4e5c['push'](createSmithyApiHttpBearerAuthHttpAuthOption()),_0x3c4e5c;},resolveHttpAuthSchemeConfig=_0x49673a=>{const _0x14c156=memoizeIdentityProvider(_0x49673a['token'],isIdentityExpired,doesIdentityRequireRefresh),_0x17e2d3=_0x29c11d(_0x49673a);return Object['assign'](_0x17e2d3,{'authSchemePreference':_0x453897(_0x49673a['authSchemePreference']??[]),'token':_0x14c156});},resolveClientEndpointParameters=_0x217ffb=>Object['assign'](_0x217ffb,{'useDualstackEndpoint':_0x217ffb['useDualstackEndpoint']??!0x1,'useFipsEndpoint':_0x217ffb['useFipsEndpoint']??!0x1,'defaultSigningName':'bedrock'}),_0x1bec47={'UseFIPS':{'type':'builtInParams','name':'useFipsEndpoint'},'Endpoint':{'type':'builtInParams','name':'endpoint'},'Region':{'type':'builtInParams','name':'region'},'UseDualStack':{'type':'builtInParams','name':'useDualstackEndpoint'}};var _0x45315a='3.994.0',_0x5bfcb9={'version':_0x45315a},_0x4f76be={'name':'SHA-256'},_0x332a9d={'name':'HMAC','hash':_0x4f76be},_0x116373=new Uint8Array([0xe3,0xb0,0xc4,0x42,0x98,0xfc,0x1c,0x14,0x9a,0xfb,0xf4,0xc8,0x99,0x6f,0xb9,0x24,0x27,0xae,0x41,0xe4,0x64,0x9b,0x93,0x4c,0xa4,0x95,0x99,0x1b,0x78,0x52,0xb8,0x55]);const _0x854c45={};function locateWindow(){return'undefined'!=typeof window?window:'undefined'!=typeof self?self:_0x854c45;}var _0x3f7c2f=(function(){function _0xe1d8e3(_0x3e1552){this['toHash']=new Uint8Array(0x0),this['secret']=_0x3e1552,this['reset']();}return _0xe1d8e3['prototype']['update']=function(_0x3f27a7){if(!isEmptyData(_0x3f27a7)){var _0x2a7ff3=convertToBuffer(_0x3f27a7),_0x3a4e96=new Uint8Array(this['toHash']['byteLength']+_0x2a7ff3['byteLength']);_0x3a4e96['set'](this['toHash'],0x0),_0x3a4e96['set'](_0x2a7ff3,this['toHash']['byteLength']),this['toHash']=_0x3a4e96;}},_0xe1d8e3['prototype']['digest']=function(){var _0x41c630=this;return this['key']?this['key']['then'](function(_0x16ac8f){return locateWindow()['crypto']['subtle']['sign'](_0x332a9d,_0x16ac8f,_0x41c630['toHash'])['then'](function(_0x921cac){return new Uint8Array(_0x921cac);});}):isEmptyData(this['toHash'])?Promise['resolve'](_0x116373):Promise['resolve']()['then'](function(){return locateWindow()['crypto']['subtle']['digest'](_0x4f76be,_0x41c630['toHash']);})['then'](function(_0x127a35){return Promise['resolve'](new Uint8Array(_0x127a35));});},_0xe1d8e3['prototype']['reset']=function(){var _0x463814=this;this['toHash']=new Uint8Array(0x0),this['secret']&&void 0x0!==this['secret']&&(this['key']=new Promise(function(_0x188c00,_0x2db960){locateWindow()['crypto']['subtle']['importKey']('raw',convertToBuffer(_0x463814['secret']),_0x332a9d,!0x1,['sign'])['then'](_0x188c00,_0x2db960);}),this['key']['catch'](function(){}));},_0xe1d8e3;}()),_0x5703c9=0x40,_0x140f7d=0x20,_0x32c45b=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),_0x46eb70=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],_0x57689a=Math['pow'](0x2,0x35)-0x1,_0x3fc701=(function(){function _0x2768f0(){this['state']=Int32Array['from'](_0x46eb70),this['temp']=new Int32Array(0x40),this['buffer']=new Uint8Array(0x40),this['bufferLength']=0x0,this['bytesHashed']=0x0,this['finished']=!0x1;}return _0x2768f0['prototype']['update']=function(_0x51c5b0){if(this['finished'])throw new Error('Attempted\x20to\x20update\x20an\x20already\x20finished\x20hash.');var _0x56752c=0x0,_0x85afe=_0x51c5b0['byteLength'];if(this['bytesHashed']+=_0x85afe,0x8*this['bytesHashed']>_0x57689a)throw new Error('Cannot\x20hash\x20more\x20than\x202^53\x20-\x201\x20bits');for(;_0x85afe>0x0;)this['buffer'][this['bufferLength']++]=_0x51c5b0[_0x56752c++],_0x85afe--,this['bufferLength']===_0x5703c9&&(this['hashBuffer'](),this['bufferLength']=0x0);},_0x2768f0['prototype']['digest']=function(){if(!this['finished']){var _0x212540=0x8*this['bytesHashed'],_0x1363e5=new DataView(this['buffer']['buffer'],this['buffer']['byteOffset'],this['buffer']['byteLength']),_0x8abb30=this['bufferLength'];if(_0x1363e5['setUint8'](this['bufferLength']++,0x80),_0x8abb30%_0x5703c9>=_0x5703c9-0x8){for(var _0x2d4269=this['bufferLength'];_0x2d4269<_0x5703c9;_0x2d4269++)_0x1363e5['setUint8'](_0x2d4269,0x0);this['hashBuffer'](),this['bufferLength']=0x0;}for(_0x2d4269=this['bufferLength'];_0x2d4269<_0x5703c9-0x8;_0x2d4269++)_0x1363e5['setUint8'](_0x2d4269,0x0);_0x1363e5['setUint32'](_0x5703c9-0x8,Math['floor'](_0x212540/0x100000000),!0x0),_0x1363e5['setUint32'](_0x5703c9-0x4,_0x212540),this['hashBuffer'](),this['finished']=!0x0;}var _0x5af025=new Uint8Array(_0x140f7d);for(_0x2d4269=0x0;_0x2d4269<0x8;_0x2d4269++)_0x5af025[0x4*_0x2d4269]=this['state'][_0x2d4269]>>>0x18&0xff,_0x5af025[0x4*_0x2d4269+0x1]=this['state'][_0x2d4269]>>>0x10&0xff,_0x5af025[0x4*_0x2d4269+0x2]=this['state'][_0x2d4269]>>>0x8&0xff,_0x5af025[0x4*_0x2d4269+0x3]=this['state'][_0x2d4269]>>>0x0&0xff;return _0x5af025;},_0x2768f0['prototype']['hashBuffer']=function(){for(var _0x49795c=this['buffer'],_0x13d792=this['state'],_0x1cc41f=_0x13d792[0x0],_0x4c76d3=_0x13d792[0x1],_0x3b17ef=_0x13d792[0x2],_0x335d10=_0x13d792[0x3],_0x51a36e=_0x13d792[0x4],_0x41fe66=_0x13d792[0x5],_0x260905=_0x13d792[0x6],_0x39af31=_0x13d792[0x7],_0x4fc8b6=0x0;_0x4fc8b6<_0x5703c9;_0x4fc8b6++){if(_0x4fc8b6<0x10)this['temp'][_0x4fc8b6]=(0xff&_0x49795c[0x4*_0x4fc8b6])<<0x18|(0xff&_0x49795c[0x4*_0x4fc8b6+0x1])<<0x10|(0xff&_0x49795c[0x4*_0x4fc8b6+0x2])<<0x8|0xff&_0x49795c[0x4*_0x4fc8b6+0x3];else{var _0x58ef37=this['temp'][_0x4fc8b6-0x2],_0x475160=(_0x58ef37>>>0x11|_0x58ef37<<0xf)^(_0x58ef37>>>0x13|_0x58ef37<<0xd)^_0x58ef37>>>0xa,_0x21744d=((_0x58ef37=this['temp'][_0x4fc8b6-0xf])>>>0x7|_0x58ef37<<0x19)^(_0x58ef37>>>0x12|_0x58ef37<<0xe)^_0x58ef37>>>0x3;this['temp'][_0x4fc8b6]=(_0x475160+this['temp'][_0x4fc8b6-0x7]|0x0)+(_0x21744d+this['temp'][_0x4fc8b6-0x10]|0x0);}var _0x5677b0=(((_0x51a36e>>>0x6|_0x51a36e<<0x1a)^(_0x51a36e>>>0xb|_0x51a36e<<0x15)^(_0x51a36e>>>0x19|_0x51a36e<<0x7))+(_0x51a36e&_0x41fe66^~_0x51a36e&_0x260905)|0x0)+(_0x39af31+(_0x32c45b[_0x4fc8b6]+this['temp'][_0x4fc8b6]|0x0)|0x0)|0x0,_0x22d129=((_0x1cc41f>>>0x2|_0x1cc41f<<0x1e)^(_0x1cc41f>>>0xd|_0x1cc41f<<0x13)^(_0x1cc41f>>>0x16|_0x1cc41f<<0xa))+(_0x1cc41f&_0x4c76d3^_0x1cc41f&_0x3b17ef^_0x4c76d3&_0x3b17ef)|0x0;_0x39af31=_0x260905,_0x260905=_0x41fe66,_0x41fe66=_0x51a36e,_0x51a36e=_0x335d10+_0x5677b0|0x0,_0x335d10=_0x3b17ef,_0x3b17ef=_0x4c76d3,_0x4c76d3=_0x1cc41f,_0x1cc41f=_0x5677b0+_0x22d129|0x0;}_0x13d792[0x0]+=_0x1cc41f,_0x13d792[0x1]+=_0x4c76d3,_0x13d792[0x2]+=_0x3b17ef,_0x13d792[0x3]+=_0x335d10,_0x13d792[0x4]+=_0x51a36e,_0x13d792[0x5]+=_0x41fe66,_0x13d792[0x6]+=_0x260905,_0x13d792[0x7]+=_0x39af31;},_0x2768f0;}()),_0x3716d7=(function(){function _0x28d462(_0x371009){this['secret']=_0x371009,this['hash']=new _0x3fc701(),this['reset']();}return _0x28d462['prototype']['update']=function(_0x36c632){if(!isEmptyData(_0x36c632)&&!this['error'])try{this['hash']['update'](convertToBuffer(_0x36c632));}catch(_0x296f08){this['error']=_0x296f08;}},_0x28d462['prototype']['digestSync']=function(){if(this['error'])throw this['error'];return this['outer']?(this['outer']['finished']||this['outer']['update'](this['hash']['digest']()),this['outer']['digest']()):this['hash']['digest']();},_0x28d462['prototype']['digest']=function(){return __awaiter(this,void 0x0,void 0x0,function(){return __generator(this,function(_0xf286e6){return[0x2,this['digestSync']()];});});},_0x28d462['prototype']['reset']=function(){if(this['hash']=new _0x3fc701(),this['secret']){this['outer']=new _0x3fc701();var _0x1f0771=bufferFromSecret(this['secret']),_0x1d9fde=new Uint8Array(_0x5703c9);_0x1d9fde['set'](_0x1f0771);for(var _0x3aa194=0x0;_0x3aa194<_0x5703c9;_0x3aa194++)_0x1f0771[_0x3aa194]^=0x36,_0x1d9fde[_0x3aa194]^=0x5c;this['hash']['update'](_0x1f0771),this['outer']['update'](_0x1d9fde);for(_0x3aa194=0x0;_0x3aa194<_0x1f0771['byteLength'];_0x3aa194++)_0x1f0771[_0x3aa194]=0x0;}},_0x28d462;}());function bufferFromSecret(_0x2b35fc){var _0x14c5a5=convertToBuffer(_0x2b35fc);if(_0x14c5a5['byteLength']>_0x5703c9){var _0x367b9c=new _0x3fc701();_0x367b9c['update'](_0x14c5a5),_0x14c5a5=_0x367b9c['digest']();}var _0xc96501=new Uint8Array(_0x5703c9);return _0xc96501['set'](_0x14c5a5),_0xc96501;}var subtleCryptoMethods=['decrypt','digest','encrypt','exportKey','generateKey','importKey','sign','verify'];function supportsWebCrypto(_0x53df81){return!(!supportsSecureRandom(_0x53df81)||'object'!=typeof _0x53df81['crypto']['subtle'])&&supportsSubtleCrypto(_0x53df81['crypto']['subtle']);}function supportsSecureRandom(_0x192437){return'object'==typeof _0x192437&&'object'==typeof _0x192437['crypto']&&'function'==typeof _0x192437['crypto']['getRandomValues'];}function supportsSubtleCrypto(_0x5477b8){return _0x5477b8&&subtleCryptoMethods['every'](function(_0x71353e){return'function'==typeof _0x5477b8[_0x71353e];});}var _0x1a7f6f=(function(){function _0x4dfea1(_0xa8fb3d){supportsWebCrypto(locateWindow())?this['hash']=new _0x3f7c2f(_0xa8fb3d):this['hash']=new _0x3716d7(_0xa8fb3d);}return _0x4dfea1['prototype']['update']=function(_0x1d93ec,_0x20c6af){this['hash']['update'](convertToBuffer(_0x1d93ec));},_0x4dfea1['prototype']['digest']=function(){return this['hash']['digest']();},_0x4dfea1['prototype']['reset']=function(){this['hash']['reset']();},_0x4dfea1;}());const createDefaultUserAgentProvider=({serviceId:_0xf5530c,clientVersion:_0x19ed76})=>async _0x2e2a78=>{const _0x3c54c9='undefined'!=typeof window?window['navigator']:void 0x0,_0x32a1e3=_0x3c54c9?.['userAgent']??'',_0x512c26=_0x3c54c9?.['userAgentData']?.['platform']??_0x5d9988['os'](_0x32a1e3)??'other',_0x22118d=_0x3c54c9?.['userAgentData']?.['brands']??[],_0x5fdc39=_0x22118d[_0x22118d['length']-0x1],_0x77a996=_0x5fdc39?.['brand']??_0x5d9988['browser'](_0x32a1e3)??'unknown',_0x3bb329=[['aws-sdk-js',_0x19ed76],['ua','2.1'],['os/'+_0x512c26,undefined],['lang/js'],['md/browser',_0x77a996+'_'+(_0x5fdc39?.['version']??'unknown')]];_0xf5530c&&_0x3bb329['push'](['api/'+_0xf5530c,_0x19ed76]);const _0x352fd5=await _0x2e2a78?.['userAgentAppId']?.();return _0x352fd5&&_0x3bb329['push'](['app/'+_0x352fd5]),_0x3bb329;},_0x5d9988={'os':_0xd9fa80=>/iPhone|iPad|iPod/['test'](_0xd9fa80)?'iOS':/Macintosh|Mac OS X/['test'](_0xd9fa80)?'macOS':/Windows NT/['test'](_0xd9fa80)?'Windows':/Android/['test'](_0xd9fa80)?'Android':/Linux/['test'](_0xd9fa80)?'Linux':void 0x0,'browser':_0x44e0de=>/EdgiOS|EdgA|Edg\//['test'](_0x44e0de)?'Microsoft\x20Edge':/Firefox\//['test'](_0x44e0de)?'Firefox':/Chrome\//['test'](_0x44e0de)?'Chrome':/Safari\//['test'](_0x44e0de)?'Safari':void 0x0},_0x4989c9=_0x119751=>()=>Promise['reject'](_0x119751),_0x2bd4ea=['in-region','cross-region','mobile','standard','legacy'],resolveDefaultsModeConfig=({defaultsMode:_0x28dc26}={})=>_0x164a23(async()=>{const _0x3e176d='function'==typeof _0x28dc26?await _0x28dc26():_0x28dc26;switch(_0x3e176d?.['toLowerCase']()){case'auto':return Promise['resolve'](useMobileConfiguration()?'mobile':'standard');case'mobile':case'in-region':case'cross-region':case'standard':case'legacy':return Promise['resolve'](_0x3e176d?.['toLocaleLowerCase']());case void 0x0:return Promise['resolve']('legacy');default:throw new Error('Invalid\x20parameter\x20for\x20\x22defaultsMode\x22,\x20expect\x20'+_0x2bd4ea['join'](',\x20')+',\x20got\x20'+_0x3e176d);}}),useMobileConfiguration=()=>{const _0x40172a=window?.['navigator'];if(_0x40172a?.['connection']){const {effectiveType:_0x3a2989,rtt:_0x4741b7,downlink:_0x27007}=_0x40172a?.['connection'];if('string'==typeof _0x3a2989&&'4g'!==_0x3a2989||Number(_0x4741b7)>0x64||Number(_0x27007)<0xa)return!0x0;}return _0x40172a?.['userAgentData']?.['mobile']||'number'==typeof _0x40172a?.['maxTouchPoints']&&_0x40172a?.['maxTouchPoints']>0x1;},isVirtualHostableS3Bucket=(_0x136146,_0x5c64e7=!0x1)=>{if(_0x5c64e7){for(const _0x280d33 of _0x136146['split']('.'))if(!isVirtualHostableS3Bucket(_0x280d33))return!0x1;return!0x0;}return!!isValidHostLabel(_0x136146)&&(!(_0x136146['length']<0x3||_0x136146['length']>0x3f)&&(_0x136146===_0x136146['toLowerCase']()&&!_0x55c208(_0x136146)));},_0x530fef=':',_0x2707bc='/',_0x603807=_0x29302f=>{const _0x2f4927=_0x29302f['split'](_0x530fef);if(_0x2f4927['length']<0x6)return null;const [_0x34c5d6,_0xd5ae0a,_0xc2ed5,_0x45b4df,_0x4f0258,..._0x121908]=_0x2f4927;if('arn'!==_0x34c5d6||''===_0xd5ae0a||''===_0xc2ed5||''===_0x121908['join'](_0x530fef))return null;return{'partition':_0xd5ae0a,'service':_0xc2ed5,'region':_0x45b4df,'accountId':_0x4f0258,'resourceId':_0x121908['map'](_0x11ae66=>_0x11ae66['split'](_0x2707bc))['flat']()};};var partitions=[{'id':'aws','outputs':{'dnsSuffix':'amazonaws.com','dualStackDnsSuffix':'api.aws','implicitGlobalRegion':'us-east-1','name':'aws','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^(us|eu|ap|sa|ca|me|af|il|mx)\x5c-\x5cw+\x5c-\x5cd+$','regions':{'af-south-1':{'description':'Africa\x20(Cape\x20Town)'},'ap-east-1':{'description':'Asia\x20Pacific\x20(Hong\x20Kong)'},'ap-east-2':{'description':'Asia\x20Pacific\x20(Taipei)'},'ap-northeast-1':{'description':'Asia\x20Pacific\x20(Tokyo)'},'ap-northeast-2':{'description':'Asia\x20Pacific\x20(Seoul)'},'ap-northeast-3':{'description':'Asia\x20Pacific\x20(Osaka)'},'ap-south-1':{'description':'Asia\x20Pacific\x20(Mumbai)'},'ap-south-2':{'description':'Asia\x20Pacific\x20(Hyderabad)'},'ap-southeast-1':{'description':'Asia\x20Pacific\x20(Singapore)'},'ap-southeast-2':{'description':'Asia\x20Pacific\x20(Sydney)'},'ap-southeast-3':{'description':'Asia\x20Pacific\x20(Jakarta)'},'ap-southeast-4':{'description':'Asia\x20Pacific\x20(Melbourne)'},'ap-southeast-5':{'description':'Asia\x20Pacific\x20(Malaysia)'},'ap-southeast-6':{'description':'Asia\x20Pacific\x20(New\x20Zealand)'},'ap-southeast-7':{'description':'Asia\x20Pacific\x20(Thailand)'},'aws-global':{'description':'aws\x20global\x20region'},'ca-central-1':{'description':'Canada\x20(Central)'},'ca-west-1':{'description':'Canada\x20West\x20(Calgary)'},'eu-central-1':{'description':'Europe\x20(Frankfurt)'},'eu-central-2':{'description':'Europe\x20(Zurich)'},'eu-north-1':{'description':'Europe\x20(Stockholm)'},'eu-south-1':{'description':'Europe\x20(Milan)'},'eu-south-2':{'description':'Europe\x20(Spain)'},'eu-west-1':{'description':'Europe\x20(Ireland)'},'eu-west-2':{'description':'Europe\x20(London)'},'eu-west-3':{'description':'Europe\x20(Paris)'},'il-central-1':{'description':'Israel\x20(Tel\x20Aviv)'},'me-central-1':{'description':'Middle\x20East\x20(UAE)'},'me-south-1':{'description':'Middle\x20East\x20(Bahrain)'},'mx-central-1':{'description':'Mexico\x20(Central)'},'sa-east-1':{'description':'South\x20America\x20(Sao\x20Paulo)'},'us-east-1':{'description':'US\x20East\x20(N.\x20Virginia)'},'us-east-2':{'description':'US\x20East\x20(Ohio)'},'us-west-1':{'description':'US\x20West\x20(N.\x20California)'},'us-west-2':{'description':'US\x20West\x20(Oregon)'}}},{'id':'aws-cn','outputs':{'dnsSuffix':'amazonaws.com.cn','dualStackDnsSuffix':'api.amazonwebservices.com.cn','implicitGlobalRegion':'cn-northwest-1','name':'aws-cn','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^cn\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-cn-global':{'description':'aws-cn\x20global\x20region'},'cn-north-1':{'description':'China\x20(Beijing)'},'cn-northwest-1':{'description':'China\x20(Ningxia)'}}},{'id':'aws-eusc','outputs':{'dnsSuffix':'amazonaws.eu','dualStackDnsSuffix':'api.amazonwebservices.eu','implicitGlobalRegion':'eusc-de-east-1','name':'aws-eusc','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^eusc\x5c-(de)\x5c-\x5cw+\x5c-\x5cd+$','regions':{'eusc-de-east-1':{'description':'AWS\x20European\x20Sovereign\x20Cloud\x20(Germany)'}}},{'id':'aws-iso','outputs':{'dnsSuffix':'c2s.ic.gov','dualStackDnsSuffix':'api.aws.ic.gov','implicitGlobalRegion':'us-iso-east-1','name':'aws-iso','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-iso\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-global':{'description':'aws-iso\x20global\x20region'},'us-iso-east-1':{'description':'US\x20ISO\x20East'},'us-iso-west-1':{'description':'US\x20ISO\x20WEST'}}},{'id':'aws-iso-b','outputs':{'dnsSuffix':'sc2s.sgov.gov','dualStackDnsSuffix':'api.aws.scloud','implicitGlobalRegion':'us-isob-east-1','name':'aws-iso-b','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-isob\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-b-global':{'description':'aws-iso-b\x20global\x20region'},'us-isob-east-1':{'description':'US\x20ISOB\x20East\x20(Ohio)'},'us-isob-west-1':{'description':'US\x20ISOB\x20West'}}},{'id':'aws-iso-e','outputs':{'dnsSuffix':'cloud.adc-e.uk','dualStackDnsSuffix':'api.cloud-aws.adc-e.uk','implicitGlobalRegion':'eu-isoe-west-1','name':'aws-iso-e','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^eu\x5c-isoe\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-e-global':{'description':'aws-iso-e\x20global\x20region'},'eu-isoe-west-1':{'description':'EU\x20ISOE\x20West'}}},{'id':'aws-iso-f','outputs':{'dnsSuffix':'csp.hci.ic.gov','dualStackDnsSuffix':'api.aws.hci.ic.gov','implicitGlobalRegion':'us-isof-south-1','name':'aws-iso-f','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-isof\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-iso-f-global':{'description':'aws-iso-f\x20global\x20region'},'us-isof-east-1':{'description':'US\x20ISOF\x20EAST'},'us-isof-south-1':{'description':'US\x20ISOF\x20SOUTH'}}},{'id':'aws-us-gov','outputs':{'dnsSuffix':'amazonaws.com','dualStackDnsSuffix':'api.aws','implicitGlobalRegion':'us-gov-west-1','name':'aws-us-gov','supportsDualStack':!0x0,'supportsFIPS':!0x0},'regionRegex':'^us\x5c-gov\x5c-\x5cw+\x5c-\x5cd+$','regions':{'aws-us-gov-global':{'description':'aws-us-gov\x20global\x20region'},'us-gov-east-1':{'description':'AWS\x20GovCloud\x20(US-East)'},'us-gov-west-1':{'description':'AWS\x20GovCloud\x20(US-West)'}}}],partitionsInfo={'partitions':partitions};let selectedPartitionsInfo=partitionsInfo;const partition=_0x3c1040=>{const {partitions:_0x3ea6ad}=selectedPartitionsInfo;for(const _0x29b0a2 of _0x3ea6ad){const {regions:_0x37fecc,outputs:_0x13e318}=_0x29b0a2;for(const [_0x5e1744,_0x432254]of Object['entries'](_0x37fecc))if(_0x5e1744===_0x3c1040)return{..._0x13e318,..._0x432254};}for(const _0x899307 of _0x3ea6ad){const {regionRegex:_0x3c0726,outputs:_0x451894}=_0x899307;if(new RegExp(_0x3c0726)['test'](_0x3c1040))return{..._0x451894};}const _0x409707=_0x3ea6ad['find'](_0x2ce419=>'aws'===_0x2ce419['id']);if(!_0x409707)throw new Error('Provided\x20region\x20was\x20not\x20found\x20in\x20the\x20partition\x20array\x20or\x20regex,\x20and\x20default\x20partition\x20with\x20id\x20\x27aws\x27\x20doesn\x27t\x20exist.');return{..._0x409707['outputs']};},awsEndpointFunctions={'isVirtualHostableS3Bucket':isVirtualHostableS3Bucket,'parseArn':_0x603807,'partition':partition};customEndpointFunctions['aws']=awsEndpointFunctions;const _0x788a5e='required',t$1='fn',_0x23934a='argv',_0x591183='ref',_0x499763=!0x0,_0x444d41='isSet',_0x442ecb='booleanEquals',_0x363b7a='error',_0x344d2c='endpoint',_0x5d845f='tree',_0x2e75b6='PartitionResult',_0x309a25={[_0x788a5e]:!0x1,'type':'string'},_0x2aa5f7={[_0x788a5e]:!0x0,'default':!0x1,'type':'boolean'},_0x102521={[_0x591183]:'Endpoint'},_0x5aa362={[t$1]:_0x442ecb,[_0x23934a]:[{[_0x591183]:'UseFIPS'},!0x0]},_0x2e2fc7={[t$1]:_0x442ecb,[_0x23934a]:[{[_0x591183]:'UseDualStack'},!0x0]},_0x2fde68={},_0x3d9422={[t$1]:'getAttr',[_0x23934a]:[{[_0x591183]:_0x2e75b6},'supportsFIPS']},_0x2fe636={[t$1]:_0x442ecb,[_0x23934a]:[!0x0,{[t$1]:'getAttr',[_0x23934a]:[{[_0x591183]:_0x2e75b6},'supportsDualStack']}]},_0x236c45=[_0x5aa362],_0x29c710=[_0x2e2fc7],_0x49970b=[{[_0x591183]:'Region'}],_data={'parameters':{'Region':_0x309a25,'UseDualStack':_0x2aa5f7,'UseFIPS':_0x2aa5f7,'Endpoint':_0x309a25},'rules':[{'conditions':[{[t$1]:_0x444d41,[_0x23934a]:[_0x102521]}],'rules':[{'conditions':_0x236c45,'error':'Invalid\x20Configuration:\x20FIPS\x20and\x20custom\x20endpoint\x20are\x20not\x20supported','type':_0x363b7a},{'rules':[{'conditions':_0x29c710,'error':'Invalid\x20Configuration:\x20Dualstack\x20and\x20custom\x20endpoint\x20are\x20not\x20supported','type':_0x363b7a},{'endpoint':{'url':_0x102521,'properties':_0x2fde68,'headers':_0x2fde68},'type':_0x344d2c}],'type':_0x5d845f}],'type':_0x5d845f},{'rules':[{'conditions':[{[t$1]:_0x444d41,[_0x23934a]:_0x49970b}],'rules':[{'conditions':[{[t$1]:'aws.partition',[_0x23934a]:_0x49970b,'assign':_0x2e75b6}],'rules':[{'conditions':[_0x5aa362,_0x2e2fc7],'rules':[{'conditions':[{[t$1]:_0x442ecb,[_0x23934a]:[_0x499763,_0x3d9422]},_0x2fe636],'rules':[{'rules':[{'endpoint':{'url':'https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}','properties':_0x2fde68,'headers':_0x2fde68},'type':_0x344d2c}],'type':_0x5d845f}],'type':_0x5d845f},{'error':'FIPS\x20and\x20DualStack\x20are\x20enabled,\x20but\x20this\x20partition\x20does\x20not\x20support\x20one\x20or\x20both','type':_0x363b7a}],'type':_0x5d845f},{'conditions':_0x236c45,'rules':[{'conditions':[{[t$1]:_0x442ecb,[_0x23934a]:[_0x3d9422,_0x499763]}],'rules':[{'rules':[{'endpoint':{'url':'https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}','properties':_0x2fde68,'headers':_0x2fde68},'type':_0x344d2c}],'type':_0x5d845f}],'type':_0x5d845f},{'error':'FIPS\x20is\x20enabled\x20but\x20this\x20partition\x20does\x20not\x20support\x20FIPS','type':_0x363b7a}],'type':_0x5d845f},{'conditions':_0x29c710,'rules':[{'conditions':[_0x2fe636],'rules':[{'rules':[{'endpoint':{'url':'https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}','properties':_0x2fde68,'headers':_0x2fde68},'type':_0x344d2c}],'type':_0x5d845f}],'type':_0x5d845f},{'error':'DualStack\x20is\x20enabled\x20but\x20this\x20partition\x20does\x20not\x20support\x20DualStack','type':_0x363b7a}],'type':_0x5d845f},{'rules':[{'endpoint':{'url':'https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}','properties':_0x2fde68,'headers':_0x2fde68},'type':_0x344d2c}],'type':_0x5d845f}],'type':_0x5d845f}],'type':_0x5d845f},{'error':'Invalid\x20Configuration:\x20Missing\x20Region','type':_0x363b7a}],'type':_0x5d845f}]},ruleSet=_data,_0x3c9829=new EndpointCache({'size':0x32,'params':['Endpoint','Region','UseDualStack','UseFIPS']}),defaultEndpointResolver=(_0x4be439,_0x157d62={})=>_0x3c9829['get'](_0x4be439,()=>resolveEndpoint(ruleSet,{'endpointParams':_0x4be439,'logger':_0x157d62['logger']}));customEndpointFunctions['aws']=awsEndpointFunctions;class BedrockRuntimeServiceException extends ServiceException{constructor(_0x3c23e2){super(_0x3c23e2),Object['setPrototypeOf'](this,BedrockRuntimeServiceException['prototype']);}}class AccessDeniedException extends BedrockRuntimeServiceException{['name']='AccessDeniedException';['$fault']='client';constructor(_0x99a5e8){super({'name':'AccessDeniedException','$fault':'client',..._0x99a5e8}),Object['setPrototypeOf'](this,AccessDeniedException['prototype']);}}class InternalServerException extends BedrockRuntimeServiceException{['name']='InternalServerException';['$fault']='server';constructor(_0x2a8dfa){super({'name':'InternalServerException','$fault':'server',..._0x2a8dfa}),Object['setPrototypeOf'](this,InternalServerException['prototype']);}}class ThrottlingException extends BedrockRuntimeServiceException{['name']='ThrottlingException';['$fault']='client';constructor(_0xe85f5){super({'name':'ThrottlingException','$fault':'client',..._0xe85f5}),Object['setPrototypeOf'](this,ThrottlingException['prototype']);}}class ValidationException extends BedrockRuntimeServiceException{['name']='ValidationException';['$fault']='client';constructor(_0x50d5c0){super({'name':'ValidationException','$fault':'client',..._0x50d5c0}),Object['setPrototypeOf'](this,ValidationException['prototype']);}}class ConflictException extends BedrockRuntimeServiceException{['name']='ConflictException';['$fault']='client';constructor(_0x180ede){super({'name':'ConflictException','$fault':'client',..._0x180ede}),Object['setPrototypeOf'](this,ConflictException['prototype']);}}class ResourceNotFoundException extends BedrockRuntimeServiceException{['name']='ResourceNotFoundException';['$fault']='client';constructor(_0x3736f6){super({'name':'ResourceNotFoundException','$fault':'client',..._0x3736f6}),Object['setPrototypeOf'](this,ResourceNotFoundException['prototype']);}}class ServiceQuotaExceededException extends BedrockRuntimeServiceException{['name']='ServiceQuotaExceededException';['$fault']='client';constructor(_0x10a911){super({'name':'ServiceQuotaExceededException','$fault':'client',..._0x10a911}),Object['setPrototypeOf'](this,ServiceQuotaExceededException['prototype']);}}class ServiceUnavailableException extends BedrockRuntimeServiceException{['name']='ServiceUnavailableException';['$fault']='server';constructor(_0x49b244){super({'name':'ServiceUnavailableException','$fault':'server',..._0x49b244}),Object['setPrototypeOf'](this,ServiceUnavailableException['prototype']);}}class ModelErrorException extends BedrockRuntimeServiceException{['name']='ModelErrorException';['$fault']='client';['originalStatusCode'];['resourceName'];constructor(_0x377f7b){super({'name':'ModelErrorException','$fault':'client',..._0x377f7b}),Object['setPrototypeOf'](this,ModelErrorException['prototype']),this['originalStatusCode']=_0x377f7b['originalStatusCode'],this['resourceName']=_0x377f7b['resourceName'];}}class ModelNotReadyException extends BedrockRuntimeServiceException{['name']='ModelNotReadyException';['$fault']='client';['$retryable']={};constructor(_0x39e291){super({'name':'ModelNotReadyException','$fault':'client',..._0x39e291}),Object['setPrototypeOf'](this,ModelNotReadyException['prototype']);}}class ModelTimeoutException extends BedrockRuntimeServiceException{['name']='ModelTimeoutException';['$fault']='client';constructor(_0x55a33e){super({'name':'ModelTimeoutException','$fault':'client',..._0x55a33e}),Object['setPrototypeOf'](this,ModelTimeoutException['prototype']);}}class ModelStreamErrorException extends BedrockRuntimeServiceException{['name']='ModelStreamErrorException';['$fault']='client';['originalStatusCode'];['originalMessage'];constructor(_0x27f51e){super({'name':'ModelStreamErrorException','$fault':'client',..._0x27f51e}),Object['setPrototypeOf'](this,ModelStreamErrorException['prototype']),this['originalStatusCode']=_0x27f51e['originalStatusCode'],this['originalMessage']=_0x27f51e['originalMessage'];}}const _0x53dd95='Accept',_0x25ea35='AccessDeniedException',_0x49f32b='Body',_0x324fb7='ConflictException',_0xac0352='Content-Type',_0x135521='InvokeModel',_0x42a87d='InvokeModelRequest',_0x341e40='InvokeModelResponse',_0x1547aa='InvokeModelWithResponseStream',_0x391774='InvokeModelWithResponseStreamRequest',_0x4b8c15='InvokeModelWithResponseStreamResponse',_0x4cc189='InternalServerException',_0x4a3fc6='ModelErrorException',_0x5507ca='ModelNotReadyException',_0x140365='ModelStreamErrorException',_0x3f1a1b='ModelTimeoutException',_0xe522af='PartBody',_0x3fbfff='PayloadPart',_0x4143e2='ResourceNotFoundException',_0x43cede='ResponseStream',_0x235a6b='ServiceQuotaExceededException',_0x3a7733='ServiceUnavailableException',_0x54eb0f='ThrottlingException',_0x51adca='ValidationException',_0x2e7a15='X-Amzn-Bedrock-Accept',_0x45ca5a='X-Amzn-Bedrock-Content-Type',_0x3f26ee='X-Amzn-Bedrock-GuardrailIdentifier',_0x2a4949='X-Amzn-Bedrock-GuardrailVersion',_0x361c07='X-Amzn-Bedrock-PerformanceConfig-Latency',_0x1fcd9a='X-Amzn-Bedrock-Service-Tier',_0x2c48cf='X-Amzn-Bedrock-Trace',_0x51073f='accept',_0x2b804f='bytes',_0x3037af='body',_0x33cad3='client',_0xd6777d='contentType',_0x4fd689='chunk',_0x3b3698='error',_0x3c9762='guardrailIdentifier',_0x40252a='guardrailVersion',_0x4dd14e='http',_0x4a23cd='httpError',_0x1862ed='httpHeader',_0x12cfd8='internalServerException',_0x394f08='message',_0x432bd9='modelId',_0x4b4310='modelStreamErrorException',_0x44d1ca='modelTimeoutException',_0x47e8ae='originalMessage',_0x1c34f5='originalStatusCode',_0x41b606='performanceConfigLatency',_0x1d900b='resourceName',_0x56a05f='smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime',_0x409328='serviceTier',_0x53edc8='serviceUnavailableException',_0x507669='server',_stre='streaming',_tE='throttlingException',_tr='trace',_0x24ef03='validationException',_0xd64585='com.amazonaws.bedrockruntime',_s_registry=TypeRegistry['for'](_0x56a05f);var BedrockRuntimeServiceException$=[-0x3,_0x56a05f,'BedrockRuntimeServiceException',0x0,[],[]];_s_registry['registerError'](BedrockRuntimeServiceException$,BedrockRuntimeServiceException);const n0_registry=TypeRegistry['for'](_0xd64585);var AccessDeniedException$=[-0x3,_0xd64585,_0x25ea35,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x193},[_0x394f08],[0x0]];n0_registry['registerError'](AccessDeniedException$,AccessDeniedException);var ConflictException$=[-0x3,_0xd64585,_0x324fb7,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x190},[_0x394f08],[0x0]];n0_registry['registerError'](ConflictException$,ConflictException);var InternalServerException$=[-0x3,_0xd64585,_0x4cc189,{[_0x3b3698]:_0x507669,[_0x4a23cd]:0x1f4},[_0x394f08],[0x0]];n0_registry['registerError'](InternalServerException$,InternalServerException);var ModelErrorException$=[-0x3,_0xd64585,_0x4a3fc6,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x1a8},[_0x394f08,_0x1c34f5,_0x1d900b],[0x0,0x1,0x0]];n0_registry['registerError'](ModelErrorException$,ModelErrorException);var ModelNotReadyException$=[-0x3,_0xd64585,_0x5507ca,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x1ad},[_0x394f08],[0x0]];n0_registry['registerError'](ModelNotReadyException$,ModelNotReadyException);var ModelStreamErrorException$=[-0x3,_0xd64585,_0x140365,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x1a8},[_0x394f08,_0x1c34f5,_0x47e8ae],[0x0,0x1,0x0]];n0_registry['registerError'](ModelStreamErrorException$,ModelStreamErrorException);var ModelTimeoutException$=[-0x3,_0xd64585,_0x3f1a1b,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x198},[_0x394f08],[0x0]];n0_registry['registerError'](ModelTimeoutException$,ModelTimeoutException);var ResourceNotFoundException$=[-0x3,_0xd64585,_0x4143e2,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x194},[_0x394f08],[0x0]];n0_registry['registerError'](ResourceNotFoundException$,ResourceNotFoundException);var ServiceQuotaExceededException$=[-0x3,_0xd64585,_0x235a6b,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x190},[_0x394f08],[0x0]];n0_registry['registerError'](ServiceQuotaExceededException$,ServiceQuotaExceededException);var ServiceUnavailableException$=[-0x3,_0xd64585,_0x3a7733,{[_0x3b3698]:_0x507669,[_0x4a23cd]:0x1f7},[_0x394f08],[0x0]];n0_registry['registerError'](ServiceUnavailableException$,ServiceUnavailableException);var ThrottlingException$=[-0x3,_0xd64585,_0x54eb0f,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x1ad},[_0x394f08],[0x0]];n0_registry['registerError'](ThrottlingException$,ThrottlingException);var ValidationException$=[-0x3,_0xd64585,_0x51adca,{[_0x3b3698]:_0x33cad3,[_0x4a23cd]:0x190},[_0x394f08],[0x0]];n0_registry['registerError'](ValidationException$,ValidationException);const errorTypeRegistries=[_s_registry,n0_registry];var _0x2706c6=[0x0,_0xd64585,_0x49f32b,0x8,0x15],PartBody=[0x0,_0xd64585,_0xe522af,0x8,0x15],InvokeModelRequest$=[0x3,_0xd64585,_0x42a87d,0x0,[_0x432bd9,_0x3037af,_0xd6777d,_0x51073f,_tr,_0x3c9762,_0x40252a,_0x41b606,_0x409328],[[0x0,0x1],[()=>_0x2706c6,0x10],[0x0,{[_0x1862ed]:_0xac0352}],[0x0,{[_0x1862ed]:_0x53dd95}],[0x0,{[_0x1862ed]:_0x2c48cf}],[0x0,{[_0x1862ed]:_0x3f26ee}],[0x0,{[_0x1862ed]:_0x2a4949}],[0x0,{[_0x1862ed]:_0x361c07}],[0x0,{[_0x1862ed]:_0x1fcd9a}]],0x1],_0x527b19=[0x3,_0xd64585,_0x341e40,0x0,[_0x3037af,_0xd6777d,_0x41b606,_0x409328],[[()=>_0x2706c6,0x10],[0x0,{[_0x1862ed]:_0xac0352}],[0x0,{[_0x1862ed]:_0x361c07}],[0x0,{[_0x1862ed]:_0x1fcd9a}]],0x2],InvokeModelWithResponseStreamRequest$=[0x3,_0xd64585,_0x391774,0x0,[_0x432bd9,_0x3037af,_0xd6777d,_0x51073f,_tr,_0x3c9762,_0x40252a,_0x41b606,_0x409328],[[0x0,0x1],[()=>_0x2706c6,0x10],[0x0,{[_0x1862ed]:_0xac0352}],[0x0,{[_0x1862ed]:_0x2e7a15}],[0x0,{[_0x1862ed]:_0x2c48cf}],[0x0,{[_0x1862ed]:_0x3f26ee}],[0x0,{[_0x1862ed]:_0x2a4949}],[0x0,{[_0x1862ed]:_0x361c07}],[0x0,{[_0x1862ed]:_0x1fcd9a}]],0x1],InvokeModelWithResponseStreamResponse$=[0x3,_0xd64585,_0x4b8c15,0x0,[_0x3037af,_0xd6777d,_0x41b606,_0x409328],[[()=>ResponseStream$,0x10],[0x0,{[_0x1862ed]:_0x45ca5a}],[0x0,{[_0x1862ed]:_0x361c07}],[0x0,{[_0x1862ed]:_0x1fcd9a}]],0x2],PayloadPart$=[0x3,_0xd64585,_0x3fbfff,0x8,[_0x2b804f],[[()=>PartBody,0x0]]],ResponseStream$=[0x4,_0xd64585,_0x43cede,{[_stre]:0x1},[_0x4fd689,_0x12cfd8,_0x4b4310,_0x24ef03,_tE,_0x44d1ca,_0x53edc8],[[()=>PayloadPart$,0x0],[()=>InternalServerException$,0x0],[()=>ModelStreamErrorException$,0x0],[()=>ValidationException$,0x0],[()=>ThrottlingException$,0x0],[()=>ModelTimeoutException$,0x0],[()=>ServiceUnavailableException$,0x0]]],_0x11cbf3=[0x9,_0xd64585,_0x135521,{[_0x4dd14e]:['POST','/model/{modelId}/invoke',0xc8]},()=>InvokeModelRequest$,()=>_0x527b19],InvokeModelWithResponseStream$=[0x9,_0xd64585,_0x1547aa,{[_0x4dd14e]:['POST','/model/{modelId}/invoke-with-response-stream',0xc8]},()=>InvokeModelWithResponseStreamRequest$,()=>InvokeModelWithResponseStreamResponse$];const getRuntimeConfig$1=_0x856310=>({'apiVersion':'2023-09-30','base64Decoder':_0x856310?.['base64Decoder']??_0x2714ba,'base64Encoder':_0x856310?.['base64Encoder']??toBase64,'disableHostPrefix':_0x856310?.['disableHostPrefix']??!0x1,'endpointProvider':_0x856310?.['endpointProvider']??defaultEndpointResolver,'extensions':_0x856310?.['extensions']??[],'httpAuthSchemeProvider':_0x856310?.['httpAuthSchemeProvider']??defaultBedrockRuntimeHttpAuthSchemeProvider,'httpAuthSchemes':_0x856310?.['httpAuthSchemes']??[{'schemeId':'aws.auth#sigv4','identityProvider':_0x24b3d6=>_0x24b3d6['getIdentityProvider']('aws.auth#sigv4'),'signer':new _0xf6d3ca()},{'schemeId':'smithy.api#httpBearerAuth','identityProvider':_0x5960a7=>_0x5960a7['getIdentityProvider']('smithy.api#httpBearerAuth'),'signer':new HttpBearerAuthSigner()}],'logger':_0x856310?.['logger']??new _0x50fadd(),'protocol':_0x856310?.['protocol']??AwsRestJsonProtocol,'protocolSettings':_0x856310?.['protocolSettings']??{'defaultNamespace':'com.amazonaws.bedrockruntime','errorTypeRegistries':errorTypeRegistries,'version':'2023-09-30','serviceTarget':'AmazonBedrockFrontendService'},'serviceId':_0x856310?.['serviceId']??'Bedrock\x20Runtime','urlParser':_0x856310?.['urlParser']??_0x1c11f7,'utf8Decoder':_0x856310?.['utf8Decoder']??fromUtf8$2,'utf8Encoder':_0x856310?.['utf8Encoder']??toUtf8}),getRuntimeConfig=_0xa67299=>{const _0x4674a5=resolveDefaultsModeConfig(_0xa67299),_0x10c0bd=()=>_0x4674a5()['then'](loadConfigsForDefaultMode),_0x49a2e6=getRuntimeConfig$1(_0xa67299);return{..._0x49a2e6,..._0xa67299,'runtime':'browser','defaultsMode':_0x4674a5,'bodyLengthChecker':_0xa67299?.['bodyLengthChecker']??calculateBodyLength,'credentialDefaultProvider':_0xa67299?.['credentialDefaultProvider']??(_0x2a5adb=>()=>Promise['reject'](new Error('Credential\x20is\x20missing'))),'defaultUserAgentProvider':_0xa67299?.['defaultUserAgentProvider']??createDefaultUserAgentProvider({'serviceId':_0x49a2e6['serviceId'],'clientVersion':_0x5bfcb9['version']}),'eventStreamPayloadHandlerProvider':_0xa67299?.['eventStreamPayloadHandlerProvider']??eventStreamPayloadHandlerProvider,'eventStreamSerdeProvider':_0xa67299?.['eventStreamSerdeProvider']??eventStreamSerdeProvider,'maxAttempts':_0xa67299?.['maxAttempts']??_0x55299e,'region':_0xa67299?.['region']??_0x4989c9('Region\x20is\x20missing'),'requestHandler':WebSocketFetchHandler['create'](_0xa67299?.['requestHandler']??_0x10c0bd,FetchHttpHandler['create'](_0x10c0bd)),'retryMode':_0xa67299?.['retryMode']??(async()=>(await _0x10c0bd())['retryMode']||_0x1db32e),'sha256':_0xa67299?.['sha256']??_0x1a7f6f,'streamCollector':_0xa67299?.['streamCollector']??streamCollector,'useDualstackEndpoint':_0xa67299?.['useDualstackEndpoint']??(()=>Promise['resolve'](_0x25ab0b)),'useFipsEndpoint':_0xa67299?.['useFipsEndpoint']??(()=>Promise['resolve'](_0x2f4f27))};},getAwsRegionExtensionConfiguration=_0x2c8c0e=>({'setRegion'(_0x50ad7b){_0x2c8c0e['region']=_0x50ad7b;},'region':()=>_0x2c8c0e['region']}),resolveAwsRegionExtensionConfiguration=_0x509ba0=>({'region':_0x509ba0['region']()}),getHttpAuthExtensionConfiguration=_0x45a73a=>{const _0x445124=_0x45a73a['httpAuthSchemes'];let _0x1ff08b=_0x45a73a['httpAuthSchemeProvider'],_0x2fdb30=_0x45a73a['credentials'],_0x53333d=_0x45a73a['token'];return{'setHttpAuthScheme'(_0x35042e){const _0x40000f=_0x445124['findIndex'](_0x1250c4=>_0x1250c4['schemeId']===_0x35042e['schemeId']);-0x1===_0x40000f?_0x445124['push'](_0x35042e):_0x445124['splice'](_0x40000f,0x1,_0x35042e);},'httpAuthSchemes':()=>_0x445124,'setHttpAuthSchemeProvider'(_0x4772a7){_0x1ff08b=_0x4772a7;},'httpAuthSchemeProvider':()=>_0x1ff08b,'setCredentials'(_0x516235){_0x2fdb30=_0x516235;},'credentials':()=>_0x2fdb30,'setToken'(_0x4730da){_0x53333d=_0x4730da;},'token':()=>_0x53333d};},resolveHttpAuthRuntimeConfig=_0x1bcc5f=>({'httpAuthSchemes':_0x1bcc5f['httpAuthSchemes'](),'httpAuthSchemeProvider':_0x1bcc5f['httpAuthSchemeProvider'](),'credentials':_0x1bcc5f['credentials'](),'token':_0x1bcc5f['token']()}),resolveRuntimeExtensions=(_0x5f5633,_0xadeea)=>{const _0x349837=Object['assign'](getAwsRegionExtensionConfiguration(_0x5f5633),getDefaultExtensionConfiguration(_0x5f5633),getHttpHandlerExtensionConfiguration(_0x5f5633),getHttpAuthExtensionConfiguration(_0x5f5633));return _0xadeea['forEach'](_0x11eb6f=>_0x11eb6f['configure'](_0x349837)),Object['assign'](_0x5f5633,resolveAwsRegionExtensionConfiguration(_0x349837),resolveDefaultRuntimeConfig(_0x349837),resolveHttpHandlerRuntimeConfig(_0x349837),resolveHttpAuthRuntimeConfig(_0x349837));};class BedrockRuntimeClient extends Client{['config'];constructor(...[_0x34840d]){const _0x1845c9=getRuntimeConfig(_0x34840d||{});super(_0x1845c9),this['initConfig']=_0x1845c9;const _0x414d4f=resolveUserAgentConfig(resolveClientEndpointParameters(_0x1845c9)),_0x3c48d4=resolveRetryConfig(_0x414d4f),_0x52c729=resolveHostHeaderConfig(_0x53cbd7(_0x3c48d4)),_0x1fb1a1=resolveEndpointConfig(_0x52c729),_0x43d332=resolveEventStreamSerdeConfig(_0x1fb1a1),_0x4d3339=resolveEventStreamConfig(resolveHttpAuthSchemeConfig(_0x43d332)),_0x1d64df=resolveWebSocketConfig(_0x4d3339),_0x5b0555=resolveRuntimeExtensions(_0x1d64df,_0x34840d?.['extensions']||[]);this['config']=_0x5b0555,this['middlewareStack']['use'](getSchemaSerdePlugin(this['config'])),this['middlewareStack']['use'](getUserAgentPlugin(this['config'])),this['middlewareStack']['use'](getRetryPlugin(this['config'])),this['middlewareStack']['use'](getContentLengthPlugin(this['config'])),this['middlewareStack']['use'](getHostHeaderPlugin(this['config'])),this['middlewareStack']['use'](getLoggerPlugin(this['config'])),this['middlewareStack']['use'](getRecursionDetectionPlugin(this['config'])),this['middlewareStack']['use'](getHttpAuthSchemeEndpointRuleSetPlugin(this['config'],{'httpAuthSchemeParametersProvider':defaultBedrockRuntimeHttpAuthSchemeParametersProvider,'identityProviderConfigProvider':async _0x51a841=>new DefaultIdentityProviderConfig({'aws.auth#sigv4':_0x51a841['credentials'],'smithy.api#httpBearerAuth':_0x51a841['token']})})),this['middlewareStack']['use'](getHttpSigningPlugin(this['config']));}['destroy'](){super['destroy']();}}class _0x1b6acd extends _0x3a3ec1['classBuilder']()['ep'](_0x1bec47)['m'](function(_0xb1da3f,_0x17f141,_0x17ecc3,_0x3e0a59){return[getEndpointPlugin(_0x17ecc3,_0xb1da3f['getEndpointParameterInstructions']())];})['s']('AmazonBedrockFrontendService','InvokeModel',{})['n']('BedrockRuntimeClient','InvokeModelCommand')['sc'](_0x11cbf3)['build'](){}class InvokeModelWithResponseStreamCommand extends _0x3a3ec1['classBuilder']()['ep'](_0x1bec47)['m'](function(_0xcffc97,_0x3b2c1c,_0xcb6d8b,_0x597657){return[getEndpointPlugin(_0xcb6d8b,_0xcffc97['getEndpointParameterInstructions']())];})['s']('AmazonBedrockFrontendService','InvokeModelWithResponseStream',{'eventStream':{'output':!0x0}})['n']('BedrockRuntimeClient','InvokeModelWithResponseStreamCommand')['sc'](InvokeModelWithResponseStream$)['build'](){}class AWSTextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_bedrockClientConfig'];['_requestParameters'];static get['pluginName'](){return'AWSTextAdapter';}constructor(_0x1635aa){super(_0x1635aa),_0x1635aa['config']['get']('ai.assistant.adapter.aws.requestParameters')||_0x1635aa['config']['define']('ai.assistant.adapter.aws.requestParameters',{'model':'anthropic.claude-v2','max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':'bedrock-2023-05-31','stream':!0x0}),this['_apiUrl']=_0x1635aa['config']['get']('ai.assistant.adapter.aws.apiUrl'),this['_bedrockClientConfig']=_0x1635aa['config']['get']('ai.assistant.adapter.aws.bedrockClientConfig'),this['_requestHeaders']=_0x1635aa['config']['get']('ai.assistant.adapter.aws.requestHeaders'),this['_requestParameters']=_0x1635aa['config']['get']('ai.assistant.adapter.aws.requestParameters');}async['sendRequest']({query:_0x4efa5b,context:_0x26960e,onData:_0x1d4f51,actionId:_0x13a401}){const {model:_0x474124,stream:_0x156901,..._0x2210a3}=await this['_prepareRequestParameters'](this['_requestParameters'],_0x13a401),_0x3c1d14={'prompt':await this['preparePrompt'](_0x4efa5b,_0x26960e,_0x474124,_0x13a401),..._0x2210a3};this['_apiUrl']?await this['_processProxyRequest'](_0x3c1d14,_0x474124,_0x156901,_0x1d4f51,_0x13a401):await this['_processAWSRequest'](_0x3c1d14,_0x474124,_0x156901,_0x1d4f51);}async['preparePrompt'](_0x3516ba,_0x7fcdbb,_0x3da176,_0x577cf7){let _0x5ab68b,_0x3e7b3e;return _0x7fcdbb?(_0x5ab68b='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.',_0x3e7b3e='Instruction:\x0a'+_0x3516ba+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x7fcdbb):(_0x5ab68b='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.',_0x3e7b3e=_0x3516ba),'meta.llama'==this['getModelFamily'](_0x3da176)?'<<SYS>>\x0a'+_0x5ab68b+'\x0a<</SYS>>\x0a[INST]\x0a'+_0x3e7b3e+'\x0a[/INST]':'Human:\x0a'+_0x5ab68b+'\x0a'+_0x3e7b3e+'\x0a\x0aAssistant:';}['getModelFamily'](_0x4b5b2b){if(/^anthropic\.claude/['test'](_0x4b5b2b))return'anthropic.claude';if(/^ai21\.j2/['test'](_0x4b5b2b))return'ai21.j2';if(/^cohere\.command/['test'](_0x4b5b2b))return'cohere.command';if(/^meta\.llama/['test'](_0x4b5b2b))return'meta.llama';throw new AIRequestError(getTranslation$j(this['editor']['locale'],'AI_ERROR_UNSUPPORTED_MODEL',_0x4b5b2b));}async['_processProxyRequest'](_0x3d6189,_0x3e60c5,_0x52f40f,_0x125235,_0x5bd5ad){const _0x217954={'method':'POST','headers':await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x5bd5ad),'body':JSON['stringify']({..._0x3d6189,'model':_0x3e60c5,'stream':_0x52f40f}),'signal':this['abortController']['signal']},_0x3d1c04=await fetch(this['_apiUrl'],_0x217954);_0x52f40f?await this['_readStreamableResponse'](_0x3d1c04,_0x3e60c5,_0x125235):await this['_readStaticResponse'](_0x3d1c04,_0x3e60c5,_0x125235);}async['_processAWSRequest'](_0x3c1441,_0x506e8d,_0x408650,_0x1090cd){const _0x255cd2=new BedrockRuntimeClient(this['_bedrockClientConfig']),_0x6d03e6={'body':JSON['stringify'](_0x3c1441),'contentType':'application/json','accept':'application/json','modelId':_0x506e8d};let _0x228ac9;if(_0x408650){const _0x2f58b7=new InvokeModelWithResponseStreamCommand(_0x6d03e6);_0x228ac9=await _0x255cd2['send'](_0x2f58b7,{'abortSignal':this['abortController']['signal']}),await this['_readAsyncIterableResponse'](_0x228ac9,_0x506e8d,_0x1090cd);}else{const _0xd7b56d=new _0x1b6acd(_0x6d03e6);_0x228ac9=await _0x255cd2['send'](_0xd7b56d,{'abortSignal':this['abortController']['signal']}),await this['_readStaticResponse'](_0x228ac9,_0x506e8d,_0x1090cd);}}async['_readAsyncIterableResponse'](_0x120330,_0x46042f,_0x2f0cc7){const _0x491528=_0x120330['body'],_0x3ec561=new TextDecoder('utf-8');let _0x31acaf='';for await(const _0x4b5d94 of _0x491528)if(_0x4b5d94['chunk']){const _0x7ef468=_0x3ec561['decode'](_0x4b5d94['chunk']['bytes']),_0x1d2951=JSON['parse'](_0x7ef468);_0x31acaf+=this['_getGeneratedText'](_0x1d2951,_0x46042f),_0x2f0cc7(_0x31acaf);}return Promise['resolve']();}async['_readStreamableResponse'](_0x306175,_0x1cdd4a,_0x541f08){const _0x3fac32=_0x306175['body'],_0x56b140=new TextDecoder('utf-8'),_0x43109d=_0x3fac32['getReader']();let _0x4af711='',_0x412de0='',_0x3d6b4=!0x1;for(;!_0x3d6b4;){const {done:_0x3541d1,value:_0x2f9857}=await _0x43109d['read']();if(_0x3d6b4=_0x3541d1,_0x3d6b4)break;const _0x1a8f0e=(_0x4af711+_0x56b140['decode'](_0x2f9857))['split']('\x0a')['map'](_0x2516e6=>{try{return _0x4af711='',JSON['parse'](_0x2516e6);}catch{return _0x4af711=_0x2516e6,null;}})['filter'](_0x355851=>null!==_0x355851);if(_0x1a8f0e['length']){const _0x15c122=_0x1a8f0e['map'](_0x2d34bc=>this['_getGeneratedText'](_0x2d34bc,_0x1cdd4a))['join']('');_0x412de0+=_0x15c122,_0x541f08(_0x412de0);}}return Promise['resolve']();}async['_readStaticResponse'](_0x40216c,_0x519f59,_0x50bdb5){let _0x1e8d3a;return _0x1e8d3a=_0x40216c instanceof Response?await _0x40216c['json']():JSON['parse'](new TextDecoder('utf-8')['decode'](_0x40216c['body'])),(_0x50bdb5(this['_getGeneratedText'](_0x1e8d3a,_0x519f59)),Promise['resolve']());}['_getGeneratedText'](_0x202986,_0x1a4d52){switch(this['getModelFamily'](_0x1a4d52)){case'anthropic.claude':return _0x202986['completion'];case'ai21.j2':return _0x202986['completions'][0x0]['data']['text'];case'cohere.command':return _0x202986['generations'][0x0]['text'];case'meta.llama':return _0x202986['generation'];}}}class TabButtonView extends ckeditor5['ButtonView']{constructor(_0x393779,_0x45768d={}){super(_0x393779),this['isToggleable']=!0x0,this['set']('side',_0x45768d['side']||'top');const _0xf95e39=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',...ckeditor5['toArray'](_0x45768d['class']||[]),_0xf95e39['to']('side',_0x389193=>'ck-tab-button_'+_0x389193),_0xf95e39['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x4e576b extends ckeditor5['View']{['children'];constructor(_0x24894f,_0x1191c9={}){super(_0x24894f);const _0x4746e1=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',...ckeditor5['toArray'](_0x1191c9['class']||[]),_0x4746e1['to']('class'),_0x4746e1['if']('isVisible','ck-hidden',_0x196f85=>!_0x196f85)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x4e81d4 extends ckeditor5['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x115aa2,_0x5f279f={}){super(_0x115aa2),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x5f279f['side']||'top'),this['set']('isMaximized',!0x1);const _0x18e5f8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',...ckeditor5['toArray'](_0x5f279f['class']||[]),_0x18e5f8['to']('side',_0xe7a3ed=>'ck-tabs_'+_0xe7a3ed),_0x18e5f8['to']('class'),_0x18e5f8['to']('isMaximized',_0x2d479a=>_0x2d479a?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x18e5f8['to']('side',_0x1fae05=>'ck-tabs__buttons-container_'+_0x1fae05)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x18e5f8['to']('side',_0x504bc6=>'ck-tabs__panels-container_'+_0x504bc6)]},'children':this['panelViews']},...ckeditor5['toArray'](_0x5f279f['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x5515d3){const _0x20cff8=this['_tabs']['get'](_0x5515d3);return _0x20cff8||null;}['addTab'](_0x14d321){const _0x1960e3=this['_setupButton']({'id':_0x14d321['id'],'label':_0x14d321['buttonLabel'],'icon':_0x14d321['buttonIcon'],'order':_0x14d321['order']}),_0xfc4599=new _0x4e576b(this['locale']);return _0xfc4599['render'](),_0x14d321['content']&&_0xfc4599['children']['add'](_0x14d321['content']),this['panelViews']['add'](_0xfc4599),this['_tabs']['set'](_0x14d321['id'],{'button':_0x1960e3,'panel':_0xfc4599,'order':void 0x0!==_0x14d321['order']?_0x14d321['order']:null}),this['fire']('addTab:'+_0x14d321['id'],{'id':_0x14d321['id'],'button':_0x1960e3,'panel':_0xfc4599}),null===this['activeTab']?this['activateTab'](_0x14d321['id']):this['_hidePanel'](_0x14d321['id']),{'button':_0x1960e3,'panel':_0xfc4599};}['activateTab'](_0x53ba82){if(null!==_0x53ba82&&!this['getTab'](_0x53ba82))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x53ba82});this['activeTab']!==_0x53ba82&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x53ba82,_0x53ba82&&this['_showPanel'](_0x53ba82),this['fire']('activateTab:'+_0x53ba82,_0x53ba82));}['showTab'](_0x2f2a51){if(!this['getTab'](_0x2f2a51))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2f2a51});this['_showPanel'](_0x2f2a51),this['_showButton'](_0x2f2a51),this['fire']('show:'+_0x2f2a51,_0x2f2a51);}['hideTab'](_0x5bc8c8){if(!this['getTab'](_0x5bc8c8))throw new ckeditor5['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x5bc8c8});const _0x125e33=this['activeTab'];this['_hidePanel'](_0x5bc8c8),this['_hideButton'](_0x5bc8c8);const _0x2ede18=this['getTabIds']();_0x125e33===_0x5bc8c8&&_0x2ede18['length']>0x1&&this['activateTab'](_0x2ede18['find'](_0x3a6be1=>_0x3a6be1!==_0x5bc8c8)),this['fire']('hide:'+_0x5bc8c8,_0x5bc8c8);}['_getPanel'](_0x38b3ab){const _0x2e2f6e=this['_tabs']['get'](_0x38b3ab);return _0x2e2f6e?_0x2e2f6e['panel']:null;}['_showPanel'](_0x19bae4){null!==this['activeTab']&&this['activeTab']!==_0x19bae4||this['_getPanel'](_0x19bae4)['show']();}['_hidePanel'](_0xf1a2e6){const _0x10ac57=this['_getPanel'](_0xf1a2e6);_0x10ac57['isVisible']&&(this['activeTab']===_0xf1a2e6&&(this['activeTab']=null),_0x10ac57['hide']());}['_getButton'](_0x3487a7){const _0x4250e5=this['_tabs']['get'](_0x3487a7);return _0x4250e5?_0x4250e5['button']:null;}['_showButton'](_0x4e5436){this['_getButton'](_0x4e5436)['show']();}['_hideButton'](_0x5a8e0a){this['_getButton'](_0x5a8e0a)['hide']();}['_setupButton'](_0x4f4728){const _0x433ac3=new TabButtonView(this['locale'],{'side':this['side']}),_0x3a7891=this['buttonViews'];if(_0x433ac3['set']({'label':_0x4f4728['label'],'icon':_0x4f4728['icon'],'tooltip':!0x0,'withText':!0x0}),_0x433ac3['bind']('isOn')['to'](this,'activeTab',_0x20139b=>_0x20139b===_0x4f4728['id']),_0x433ac3['bind']('side')['to'](this,'side'),_0x4f4728['order']){const _0x4f8524=[...this['_tabs']]['reduce']((_0x9b3b50,_0x462054)=>{const _0x425dbe=_0x462054[0x0],{order:_0xf469c8}=_0x462054[0x1];return!_0xf469c8||_0xf469c8>_0x4f4728['order']?_0x9b3b50:_0xf469c8>=_0x9b3b50['order']?{'id':_0x425dbe,'order':_0xf469c8}:_0x9b3b50;},{'id':'','order':0x0}),_0x2f9707=_0x3a7891['getIndex'](this['_getButton'](_0x4f8524['id']));_0x3a7891['add'](_0x433ac3,_0x2f9707+0x1);}else _0x3a7891['add'](_0x433ac3);return _0x433ac3['on']('execute',()=>{this['activateTab'](_0x4f4728['id']);}),_0x433ac3;}}const _0x1a55f0=['overlay','sidebar','custom'],_0x592545=['left','right'];class _0x4cb62c extends _0x4e81d4{constructor(_0x4703d4,_0xc7dfa5={}){super(_0x4703d4,_0xc7dfa5),this['set']('type',_0xc7dfa5['type']||'sidebar'),this['set']('side',_0xc7dfa5['side']||'right'),this['set']('isVisible',_0xc7dfa5['visibleByDefault']??!0x0);const _0x1fe285=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x1fe285['if']('type','ck-ai-tabs__overlay',_0x1700a8=>'overlay'===_0x1700a8),_0x1fe285['if']('type','ck-ai-tabs__sidebar',_0x258dfc=>'sidebar'===_0x258dfc),_0x1fe285['if']('isVisible','ck-hidden',_0x4d4a86=>!_0x4d4a86)]}}),this['buttonViews']['on']('add',(_0x5a838b,_0x20eb5c)=>{_0x20eb5c['set']('withText',!0x1);});}}class _0x415310 extends ckeditor5['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1242b7){super(_0x1242b7);const _0x89b4fa=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0x89b4fa)throw new ckeditor5['CKEditorError']('ai-tabs-configuration-not-found');if(void 0x0!==_0x89b4fa['showResizeButton']&&(this['showResizeButton']=_0x89b4fa['showResizeButton']),'sidebar'!==_0x89b4fa['type']&&'overlay'!==_0x89b4fa['type']||_0x89b4fa['side']&&(this['side']=_0x89b4fa['side']),'sidebar'===_0x89b4fa['type']){if(this['container']=_0x89b4fa['element'],this['set']('type','sidebar'),!this['container'])throw new ckeditor5['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x89b4fa['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x4cb62c(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':void 0x0===_0x89b4fa['visibleByDefault']||_0x89b4fa['visibleByDefault']}),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 ckeditor5['Editor']&&this['context']['ui']['focusTracker']['add'](this['view']['element']);}['switchType'](_0x545941){if(_0x545941&&this['type']!==_0x545941){if(!_0x1a55f0['includes'](_0x545941))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x545941;}}['switchSide'](_0x103b34){if(_0x103b34&&this['side']!==_0x103b34){if(!_0x592545['includes'](_0x103b34))throw new ckeditor5['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x103b34;}}['resize'](){this['view']['isMaximized']=!this['view']['isMaximized'],this['fire']('resizedTabs',this['view']['isMaximized']);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}}class _0x1b1d50 extends Error{constructor(_0xe70991,_0x510b3c){super(_0xe70991),this['name']='ParseError',this['type']=_0x510b3c['type'],this['field']=_0x510b3c['field'],this['value']=_0x510b3c['value'],this['line']=_0x510b3c['line'];}}function _0x3c8183(_0x327dc4){}function createParser(_0x3d14a1){if('function'==typeof _0x3d14a1)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x32d098=_0x3c8183,onError:_0x1a370b=_0x3c8183,onRetry:_0x49eb54=_0x3c8183,onComment:_0x5dc6e2}=_0x3d14a1;let _0x388a0c,_0x56f515='',_0x5904d8=!0x0,_0x218ec0='',_0x24cfbc='';function _0x3e2dc4(_0xfb7a80){if(''===_0xfb7a80)return _0x218ec0['length']>0x0&&_0x32d098({'id':_0x388a0c,'event':_0x24cfbc||void 0x0,'data':_0x218ec0['endsWith']('\x0a')?_0x218ec0['slice'](0x0,-0x1):_0x218ec0}),_0x388a0c=void 0x0,_0x218ec0='',void(_0x24cfbc='');if(_0xfb7a80['startsWith'](':'))return void(_0x5dc6e2&&_0x5dc6e2(_0xfb7a80['slice'](_0xfb7a80['startsWith'](':\x20')?0x2:0x1)));const _0x4beedf=_0xfb7a80['indexOf'](':');if(-0x1!==_0x4beedf){const _0x257246=_0xfb7a80['slice'](0x0,_0x4beedf),_0x5e252f='\x20'===_0xfb7a80[_0x4beedf+0x1]?0x2:0x1;return void _0x16ef82(_0x257246,_0xfb7a80['slice'](_0x4beedf+_0x5e252f),_0xfb7a80);}_0x16ef82(_0xfb7a80,'',_0xfb7a80);}function _0x16ef82(_0x4d4995,_0x3f5bd9,_0x5dd19a){switch(_0x4d4995){case'event':_0x24cfbc=_0x3f5bd9;break;case'data':_0x218ec0=''+_0x218ec0+_0x3f5bd9+'\x0a';break;case'id':_0x388a0c=_0x3f5bd9['includes']('\x00')?void 0x0:_0x3f5bd9;break;case'retry':/^\d+$/['test'](_0x3f5bd9)?_0x49eb54(parseInt(_0x3f5bd9,0xa)):_0x1a370b(new _0x1b1d50('Invalid\x20`retry`\x20value:\x20\x22'+_0x3f5bd9+'\x22',{'type':'invalid-retry','value':_0x3f5bd9,'line':_0x5dd19a}));break;default:_0x1a370b(new _0x1b1d50('Unknown\x20field\x20\x22'+(_0x4d4995['length']>0x14?_0x4d4995['slice'](0x0,0x14)+'…':_0x4d4995)+'\x22',{'type':'unknown-field','field':_0x4d4995,'value':_0x3f5bd9,'line':_0x5dd19a}));}}return{'feed':function(_0x1182b8){const _0x2581f6=_0x5904d8?_0x1182b8['replace'](/^\xEF\xBB\xBF/,''):_0x1182b8,[_0x456a8b,_0x5dd9f8]=splitLines(''+_0x56f515+_0x2581f6);for(const _0x11d2f7 of _0x456a8b)_0x3e2dc4(_0x11d2f7);_0x56f515=_0x5dd9f8,_0x5904d8=!0x1;},'reset':function(_0x15047e={}){_0x56f515&&_0x15047e['consume']&&_0x3e2dc4(_0x56f515),_0x5904d8=!0x0,_0x388a0c=void 0x0,_0x218ec0='',_0x24cfbc='',_0x56f515='';}};}function splitLines(_0x131117){const _0x28667e=[];let _0x39b6ee='',_0x5a3280=0x0;for(;_0x5a3280<_0x131117['length'];){const _0x140f0d=_0x131117['indexOf']('\x0d',_0x5a3280),_0x4f3edb=_0x131117['indexOf']('\x0a',_0x5a3280);let _0x3e15c3=-0x1;if(-0x1!==_0x140f0d&&-0x1!==_0x4f3edb?_0x3e15c3=Math['min'](_0x140f0d,_0x4f3edb):-0x1!==_0x140f0d?_0x3e15c3=_0x140f0d:-0x1!==_0x4f3edb&&(_0x3e15c3=_0x4f3edb),-0x1===_0x3e15c3){_0x39b6ee=_0x131117['slice'](_0x5a3280);break;}{const _0x567271=_0x131117['slice'](_0x5a3280,_0x3e15c3);_0x28667e['push'](_0x567271),_0x5a3280=_0x3e15c3+0x1,'\x0d'===_0x131117[_0x5a3280-0x1]&&'\x0a'===_0x131117[_0x5a3280]&&_0x5a3280++;}}return[_0x28667e,_0x39b6ee];}const _0x5b2bfc='1';class AIConnector extends ckeditor5['ContextPlugin']{['_apiUrl'];['_token'];['_decoder'];static get['requires'](){return['CloudServices'];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ef1a1){super(_0x2ef1a1),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl'),this['_token']=null,this['_decoder']=new TextDecoder();}['init'](){const _0x273ad1=this['context']['plugins']['get']('CloudServices');if(!_0x273ad1['token'])throw new ckeditor5['CKEditorError']('ai-missing-token',this);this['_token']=_0x273ad1['token'];}['startConversation'](_0x27e95d,_0x41e175){const _0x5b5086=this['_sendApiRequest']('/conversations','POST',{'id':_0x27e95d,'group':_0x41e175});return{'getConversation':async()=>(await _0x5b5086['request'])['json'](),'abortController':_0x5b5086['abortController']};}['queryAssistant']({message:_0x17d7c9,conversationId:_0x5670aa,parts:_0x2dda2f,capabilities:_0xc1984b,model:_0x9016f5,attributes:_0x47a285}){const _0x44fd6c={'prompt':_0x17d7c9,'content':_0x2dda2f,'model':_0x9016f5,..._0xc1984b&&{'capabilities':_0xc1984b},..._0x47a285&&{'attributes':_0x47a285}},_0x2e157e=this['_sendApiRequest']('/conversations/'+_0x5670aa+'/messages','POST',_0x44fd6c);return{'getStream':async()=>{const _0x114c10=(await _0x2e157e['request'])['body'];return this['_getStreamReader'](_0x114c10);},'abortController':_0x2e157e['abortController']};}['executeCustomAction']({content:_0x3f4778,message:_0x508d85,model:_0x2f2827,outputFormat:_0x308022}){const _0xb72dc6={'content':[{'type':'text','content':_0x3f4778}],'prompt':_0x508d85,'model':_0x2f2827,'outputFormat':_0x308022},_0x23f36f=this['_sendApiRequest']('/actions/custom/calls','POST',_0xb72dc6);return{'getStream':async()=>{const _0x1ce80f=(await _0x23f36f['request'])['body'];return this['_getStreamReader'](_0x1ce80f);},'abortController':_0x23f36f['abortController']};}['executeAction']({actionName:_0x48e1c4,content:_0x2bdd79,args:_0x4e174b}){const _0x3e549f={'content':[{'type':'text','content':_0x2bdd79}],'args':_0x4e174b},_0x2b68db=this['_sendApiRequest']('/actions/system/'+_0x48e1c4+'/calls','POST',_0x3e549f);return{'getStream':async()=>{const _0x22f9a6=(await _0x2b68db['request'])['body'];return this['_getStreamReader'](_0x22f9a6);},'abortController':_0x2b68db['abortController']};}['uploadFile'](_0x294a8c,_0x35e4f1,_0x9a5448){const _0x44c093=new FormData();_0x44c093['append']('file',_0x35e4f1,_0x35e4f1['name']),_0x9a5448&&_0x44c093['append']('attributes',JSON['stringify'](_0x9a5448));const _0x54aa4c=this['_sendApiRequest']('/conversations/'+_0x294a8c+'/files','POST',_0x44c093);return{'getId':async()=>(await _0x54aa4c['request'])['json'](),'abortController':_0x54aa4c['abortController']};}['fetchDocument'](_0x2e7b8a,_0x42faa3){const _0x18607c=this['_sendApiRequest']('/conversations/'+_0x2e7b8a+'/documents/'+_0x42faa3,'GET');return{'getDocument':async()=>(await _0x18607c['request'])['json'](),'abortController':_0x18607c['abortController']};}['uploadDocument'](_0x4b5c08,_0x3d3b13,_0x50d709){const _0x156afa={'content':_0x3d3b13};_0x50d709&&(_0x156afa['attributes']=_0x50d709);const _0x2a9280=this['_sendApiRequest']('/conversations/'+_0x4b5c08+'/documents','POST',_0x156afa);return{'getId':async()=>(await _0x2a9280['request'])['json'](),'abortController':_0x2a9280['abortController']};}['fetchConversations'](_0x1a8e74,_0x8b7af={}){const _0x5dabef=new URLSearchParams();_0x5dabef['append']('group',_0x1a8e74),_0x5dabef['append']('excludeEmpty',!0x1!==_0x8b7af['excludeEmpty']?'true':'false'),_0x5dabef['append']('limit',_0x8b7af['limit']?_0x8b7af['limit']['toString']():'100'),_0x5dabef['append']('sortBy',_0x8b7af['sortBy']?_0x8b7af['sortBy']:'createdAt'),_0x5dabef['append']('order',_0x8b7af['order']?_0x8b7af['order']:'desc');const _0x120622=this['_sendApiRequest']('/conversations?'+_0x5dabef['toString'](),'GET');return{'getConversations':async()=>{const _0x43d888=await _0x120622['request'];return(await _0x43d888['json']())['items'];},'abortController':_0x120622['abortController']};}['deleteConversation'](_0x207f0d){const _0x2bc044=this['_sendApiRequest']('/conversations/'+_0x207f0d,'DELETE');return{'execute':async()=>{await _0x2bc044['request'];},'abortController':_0x2bc044['abortController']};}['updateConversation'](_0x542a20,_0x48ee20){const _0x57b5cc=this['_sendApiRequest']('/conversations/'+_0x542a20,'PATCH',_0x48ee20);return{'getResult':async()=>(await _0x57b5cc['request'],_0x48ee20),'abortController':_0x57b5cc['abortController']};}['fetchConversation'](_0x5d1632){const _0xdfb70c=this['_sendApiRequest']('/conversations/'+_0x5d1632,'GET');return{'getConversation':async()=>(await _0xdfb70c['request'])['json'](),'abortController':_0xdfb70c['abortController']};}['fetchConversationMessages'](_0xe9c584){const _0x3b3903=this['_sendApiRequest']('/conversations/'+_0xe9c584+'/messages','GET');return{'getMessages':async()=>{const _0x5ed2e2=await _0x3b3903['request'];return(await _0x5ed2e2['json']())['items'];},'abortController':_0x3b3903['abortController']};}['uploadUrl'](_0x262f59,_0x46f69b,_0x322572){const _0x24170e=this['_sendApiRequest']('/conversations/'+_0x262f59+'/web-resources','POST',{'url':_0x46f69b,'attributes':_0x322572});return{'getId':async()=>(await _0x24170e['request'])['json'](),'abortController':_0x24170e['abortController']};}['getModels'](_0x5ce8ef='en'){const _0x5488f6=new URLSearchParams();_0x5488f6['append']('language',_0x5ce8ef);const _0x466759='/models/'+_0x5b2bfc+'?'+_0x5488f6['toString'](),_0x256370=this['_sendApiRequest'](_0x466759,'GET');return{'list':async()=>await(await _0x256370['request'])['json'](),'abortController':_0x256370['abortController']};}['deleteFile'](_0x1a19e4,_0x1d3ab0){const _0x3a03ce=this['_sendApiRequest']('/conversations/'+_0x1a19e4+'/files/'+_0x1d3ab0,'DELETE');return{'execute':async()=>{await _0x3a03ce['request'];},'abortController':_0x3a03ce['abortController']};}['deleteDocument'](_0x1bdf72,_0x6935df){const _0x35cb04=this['_sendApiRequest']('/conversations/'+_0x1bdf72+'/documents/'+_0x6935df,'DELETE');return{'execute':async()=>{await _0x35cb04['request'];},'abortController':_0x35cb04['abortController']};}['deleteWebResource'](_0x3eadc6,_0x4288fa){const _0x3346f0=this['_sendApiRequest']('/conversations/'+_0x3eadc6+'/web-resources/'+_0x4288fa,'DELETE');return{'execute':async()=>{await _0x3346f0['request'];},'abortController':_0x3346f0['abortController']};}['callSystemReview']({reviewName:_0x53e3ab,content:_0x33f553,args:_0x212dc0}){const _0x545294=this['_sendApiRequest']('/reviews/system/'+_0x53e3ab+'/calls','POST',{'content':[{'type':'text','content':_0x33f553}],'args':_0x212dc0});return{'getStream':async()=>{const _0x54d63c=(await _0x545294['request'])['body'];return this['_getStreamReader'](_0x54d63c);},'abortController':_0x545294['abortController']};}['callCustomReview']({content:_0x3f871f,prompt:_0x13eddf,model:_0x13c431}){const _0x5da49a=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x3f871f}],'prompt':_0x13eddf,'model':_0x13c431});return{'getStream':async()=>{const _0x1d5ec5=(await _0x5da49a['request'])['body'];return this['_getStreamReader'](_0x1d5ec5);},'abortController':_0x5da49a['abortController']};}['upsertAIChatRating'](_0xaacf3c,_0x27f06f,_0x46636d){const _0x331876=this['_sendApiRequest']('/conversations/'+_0xaacf3c+'/messages/'+_0x27f06f+'/ratings','PUT',{'positiveCount':_0x46636d['positiveCount'],'totalCount':_0x46636d['totalCount'],'modificationId':_0x46636d['modificationId']});return{'execute':async()=>{await _0x331876['request'];},'abortController':_0x331876['abortController']};}['upsertAIActionRating'](_0x451042,_0x2d1905,_0x9799a1){const _0x1e16cc=this['_sendApiRequest']('/actions/system/'+_0x451042+'/calls/'+_0x2d1905+'/ratings','PUT',{'positiveCount':_0x9799a1['positiveCount'],'totalCount':_0x9799a1['totalCount']});return{'execute':async()=>{await _0x1e16cc['request'];},'abortController':_0x1e16cc['abortController']};}['upsertCustomAIActionRating'](_0x17274c,_0x3ab1f1){const _0x5b1d37=this['_sendApiRequest']('/actions/custom/calls/'+_0x17274c+'/ratings','PUT',{'positiveCount':_0x3ab1f1['positiveCount'],'totalCount':_0x3ab1f1['totalCount']});return{'execute':async()=>{await _0x5b1d37['request'];},'abortController':_0x5b1d37['abortController']};}['upsertAIReviewRating'](_0x4d6bac,_0xe65764,_0x16477f,_0x356dd2){const _0x419af9=this['_sendApiRequest']('/reviews/system/'+_0x4d6bac+'/calls/'+_0xe65764+'/ratings','PUT',{'positiveCount':_0x16477f['positiveCount'],'totalCount':_0x16477f['totalCount'],'dataId':_0x356dd2});return{'execute':async()=>{await _0x419af9['request'];},'abortController':_0x419af9['abortController']};}['upsertCustomAIReviewRating'](_0x5d9eee,_0x2c9e9f,_0x464050){const _0x3c61da=this['_sendApiRequest']('/reviews/custom/calls/'+_0x5d9eee+'/ratings','PUT',{'positiveCount':_0x2c9e9f['positiveCount'],'totalCount':_0x2c9e9f['totalCount'],'dataId':_0x464050});return{'execute':async()=>{await _0x3c61da['request'];},'abortController':_0x3c61da['abortController']};}['_sendApiRequest'](_0x217a2a,_0x521f63,_0x2454a4){const _0x287696=new AbortController(),_0x1a1fa8=_0x2454a4 instanceof FormData,_0x4171fe={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0x2454a4&&!_0x1a1fa8&&(_0x4171fe['Content-Type']='application/json');const _0x3c220f={'method':_0x521f63,'headers':_0x4171fe,'signal':_0x287696['signal']};_0x2454a4&&(_0x3c220f['body']=_0x1a1fa8?_0x2454a4:JSON['stringify'](_0x2454a4));const _0x58686f=fetch(''+this['_apiUrl']+_0x217a2a,_0x3c220f)['catch'](_0x168fa2=>{this['_handleError'](_0x168fa2);})['then'](_0x597edf=>_0x597edf['ok']?_0x597edf:_0x597edf['json']()['then'](_0x46e3c1=>{throw{'url':this['_apiUrl'],'path':_0x217a2a,'method':_0x521f63,'body':_0x2454a4,'status':(_0x597edf||{})['status'],'statusText':(_0x597edf||{})['statusText'],'code':_0x46e3c1['code'],'message':_0x46e3c1['message'],'traceId':_0x46e3c1['traceId']};}));return{'request':_0x58686f,'abortController':_0x287696};}async*['_getStreamReader'](_0x2b4a0d){const _0x3d9129=[],_0x2c2b76=_0x2b4a0d['getReader'](),_0x2523b9=createParser({'onError':_0x2371e8=>{this['_handleError'](_0x2371e8);},'onEvent':_0x4dee4f=>{_0x4dee4f['data']=JSON['parse'](_0x4dee4f['data']),_0x3d9129['push'](_0x4dee4f);}});try{let _0x207521=!0x1;for(;!_0x207521;){const {done:_0x30fabe,value:_0x5d6330}=await _0x2c2b76['read']();_0x30fabe&&(_0x207521=!0x0),_0x2523b9['feed'](this['_decoder']['decode'](_0x5d6330,{'stream':!0x0})),yield*_0x3d9129,_0x3d9129['length']=0x0;}}catch(_0x503477){this['_handleError'](_0x503477);}finally{_0x2c2b76['releaseLock'](),_0x2523b9['reset']();}}['_handleError'](_0x2bf0e6){if(_0x2bf0e6 instanceof ckeditor5['CKEditorError'])throw _0x2bf0e6;if(_0x2bf0e6 instanceof Error&&'AbortError'===_0x2bf0e6['name'])throw new ckeditor5['CKEditorError']('ai-request-aborted',this,{'originalError':_0x2bf0e6});throw new ckeditor5['CKEditorError']('ai-request-failed',this,{'originalError':_0x2bf0e6});}}function getTranslation$i(_0x10a56d,_0xb3c5a5,_0x4c110d){const t=_0x10a56d['t'];switch(_0xb3c5a5){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'},_0x4c110d);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_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':'The\x20request\x20was\x20aborted.'});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.'},_0x4c110d);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.'},_0x4c110d);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_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_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.'},_0x4c110d);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'},_0x4c110d);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x4c110d);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'},_0x4c110d);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.'},_0x4c110d);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.'},_0x4c110d);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.'},_0x4c110d);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.'},_0x4c110d);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'},_0x4c110d);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.'},_0x4c110d);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.'});case'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','string':'This\x20conversation\x20is\x20loaded\x20from\x20chat\x20history\x20from\x20a\x20previous\x20session,\x20so\x20you\x20can’t\x20apply,\x20reject,\x20or\x20suggest\x20changes.'});case'AI_SUGGESTION_DISABLED_FEED_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_FEED_MESSAGE','string':'Actions\x20aren’t\x20available\x20for\x20changes\x20from\x20a\x20previous\x20session.'});default:return _0xb3c5a5;}}function createResizeButton(_0x2dab91,_0x60eb71){const _0x2b83a5=new ckeditor5['ButtonView'](_0x2dab91),_0x3bf3e8=getTranslation$i(_0x2dab91,'AI_TABS_LABEL_MINIMIZE'),_0x5373bc=getTranslation$i(_0x2dab91,'AI_TABS_LABEL_MAXIMIZE');return _0x2b83a5['set']({'withText':!0x1,'icon':ckeditor5['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20ck-ai-button-tertiary'}),_0x2b83a5['bind']('label')['to'](_0x60eb71,'isMaximized',_0x490991=>_0x490991?_0x3bf3e8:_0x5373bc),_0x2b83a5['bind']('icon')['to'](_0x60eb71,'isMaximized',_0x4650f8=>_0x4650f8?ckeditor5['IconMinimize']:ckeditor5['IconMaximize']),_0x2b83a5['bind']('isOn')['to'](_0x60eb71,'isMaximized'),_0x2b83a5['on']('execute',()=>{_0x60eb71['fire']('resizeTabs');}),_0x2b83a5;}const htmlDecodeTree=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'](_0x2872ec=>_0x2872ec['charCodeAt'](0x0))),_0x159868=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x123691=>_0x123691['charCodeAt'](0x0)));var _0x292dc9;const _0x868b72=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]]),fromCodePoint$1=null!==(_0x292dc9=String['fromCodePoint'])&&void 0x0!==_0x292dc9?_0x292dc9:function(_0x9879){let _0x227c0c='';return _0x9879>0xffff&&(_0x9879-=0x10000,_0x227c0c+=String['fromCharCode'](_0x9879>>>0xa&0x3ff|0xd800),_0x9879=0xdc00|0x3ff&_0x9879),_0x227c0c+=String['fromCharCode'](_0x9879),_0x227c0c;};function replaceCodePoint(_0x4fb114){var _0x5c84e1;return _0x4fb114>=0xd800&&_0x4fb114<=0xdfff||_0x4fb114>0x10ffff?0xfffd:null!==(_0x5c84e1=_0x868b72['get'](_0x4fb114))&&void 0x0!==_0x5c84e1?_0x5c84e1:_0x4fb114;}var _0xe58a3e;!function(_0xf7cf81){_0xf7cf81[_0xf7cf81['NUM']=0x23]='NUM',_0xf7cf81[_0xf7cf81['SEMI']=0x3b]='SEMI',_0xf7cf81[_0xf7cf81['EQUALS']=0x3d]='EQUALS',_0xf7cf81[_0xf7cf81['ZERO']=0x30]='ZERO',_0xf7cf81[_0xf7cf81['NINE']=0x39]='NINE',_0xf7cf81[_0xf7cf81['LOWER_A']=0x61]='LOWER_A',_0xf7cf81[_0xf7cf81['LOWER_F']=0x66]='LOWER_F',_0xf7cf81[_0xf7cf81['LOWER_X']=0x78]='LOWER_X',_0xf7cf81[_0xf7cf81['LOWER_Z']=0x7a]='LOWER_Z',_0xf7cf81[_0xf7cf81['UPPER_A']=0x41]='UPPER_A',_0xf7cf81[_0xf7cf81['UPPER_F']=0x46]='UPPER_F',_0xf7cf81[_0xf7cf81['UPPER_Z']=0x5a]='UPPER_Z';}(_0xe58a3e||(_0xe58a3e={}));const _0x54983b=0x20;var _0x54579d,EntityDecoderState,_0x27607f,_0x10718b,State,QuoteType;function _0x114753(_0x5bf69f){return _0x5bf69f>=_0xe58a3e['ZERO']&&_0x5bf69f<=_0xe58a3e['NINE'];}function isHexadecimalCharacter(_0x4269e1){return _0x4269e1>=_0xe58a3e['UPPER_A']&&_0x4269e1<=_0xe58a3e['UPPER_F']||_0x4269e1>=_0xe58a3e['LOWER_A']&&_0x4269e1<=_0xe58a3e['LOWER_F'];}function _0x40469e(_0x5b8c10){return _0x5b8c10>=_0xe58a3e['UPPER_A']&&_0x5b8c10<=_0xe58a3e['UPPER_Z']||_0x5b8c10>=_0xe58a3e['LOWER_A']&&_0x5b8c10<=_0xe58a3e['LOWER_Z']||_0x114753(_0x5b8c10);}function isEntityInAttributeInvalidEnd(_0x515eed){return _0x515eed===_0xe58a3e['EQUALS']||_0x40469e(_0x515eed);}!function(_0x159960){_0x159960[_0x159960['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x159960[_0x159960['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x159960[_0x159960['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(_0x54579d||(_0x54579d={})),function(_0x215c7a){_0x215c7a[_0x215c7a['EntityStart']=0x0]='EntityStart',_0x215c7a[_0x215c7a['NumericStart']=0x1]='NumericStart',_0x215c7a[_0x215c7a['NumericDecimal']=0x2]='NumericDecimal',_0x215c7a[_0x215c7a['NumericHex']=0x3]='NumericHex',_0x215c7a[_0x215c7a['NamedEntity']=0x4]='NamedEntity';}(EntityDecoderState||(EntityDecoderState={})),function(_0x5945e0){_0x5945e0[_0x5945e0['Legacy']=0x0]='Legacy',_0x5945e0[_0x5945e0['Strict']=0x1]='Strict',_0x5945e0[_0x5945e0['Attribute']=0x2]='Attribute';}(_0x27607f||(_0x27607f={}));class EntityDecoder{constructor(_0x2ec2b7,_0x7ee331,_0x5e109c){this['decodeTree']=_0x2ec2b7,this['emitCodePoint']=_0x7ee331,this['errors']=_0x5e109c,this['state']=EntityDecoderState['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_0x27607f['Strict'];}['startEntity'](_0x206b99){this['decodeMode']=_0x206b99,this['state']=EntityDecoderState['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x3a71ce,_0x319fb7){switch(this['state']){case EntityDecoderState['EntityStart']:return _0x3a71ce['charCodeAt'](_0x319fb7)===_0xe58a3e['NUM']?(this['state']=EntityDecoderState['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x3a71ce,_0x319fb7+0x1)):(this['state']=EntityDecoderState['NamedEntity'],this['stateNamedEntity'](_0x3a71ce,_0x319fb7));case EntityDecoderState['NumericStart']:return this['stateNumericStart'](_0x3a71ce,_0x319fb7);case EntityDecoderState['NumericDecimal']:return this['stateNumericDecimal'](_0x3a71ce,_0x319fb7);case EntityDecoderState['NumericHex']:return this['stateNumericHex'](_0x3a71ce,_0x319fb7);case EntityDecoderState['NamedEntity']:return this['stateNamedEntity'](_0x3a71ce,_0x319fb7);}}['stateNumericStart'](_0x4f8f84,_0x30743e){return _0x30743e>=_0x4f8f84['length']?-0x1:(_0x4f8f84['charCodeAt'](_0x30743e)|_0x54983b)===_0xe58a3e['LOWER_X']?(this['state']=EntityDecoderState['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x4f8f84,_0x30743e+0x1)):(this['state']=EntityDecoderState['NumericDecimal'],this['stateNumericDecimal'](_0x4f8f84,_0x30743e));}['addToNumericResult'](_0x540c1b,_0x56f01b,_0x58124e,_0x10d7d9){if(_0x56f01b!==_0x58124e){const _0x4bc49c=_0x58124e-_0x56f01b;this['result']=this['result']*Math['pow'](_0x10d7d9,_0x4bc49c)+Number['parseInt'](_0x540c1b['substr'](_0x56f01b,_0x4bc49c),_0x10d7d9),this['consumed']+=_0x4bc49c;}}['stateNumericHex'](_0x32a9c0,_0xb5efeb){const _0x79870f=_0xb5efeb;for(;_0xb5efeb<_0x32a9c0['length'];){const _0x277c84=_0x32a9c0['charCodeAt'](_0xb5efeb);if(!_0x114753(_0x277c84)&&!isHexadecimalCharacter(_0x277c84))return this['addToNumericResult'](_0x32a9c0,_0x79870f,_0xb5efeb,0x10),this['emitNumericEntity'](_0x277c84,0x3);_0xb5efeb+=0x1;}return this['addToNumericResult'](_0x32a9c0,_0x79870f,_0xb5efeb,0x10),-0x1;}['stateNumericDecimal'](_0x57019d,_0x23244d){const _0x4fdf33=_0x23244d;for(;_0x23244d<_0x57019d['length'];){const _0xc125a3=_0x57019d['charCodeAt'](_0x23244d);if(!_0x114753(_0xc125a3))return this['addToNumericResult'](_0x57019d,_0x4fdf33,_0x23244d,0xa),this['emitNumericEntity'](_0xc125a3,0x2);_0x23244d+=0x1;}return this['addToNumericResult'](_0x57019d,_0x4fdf33,_0x23244d,0xa),-0x1;}['emitNumericEntity'](_0x19f3f5,_0x22f5eb){var _0x33c624;if(this['consumed']<=_0x22f5eb)return null===(_0x33c624=this['errors'])||void 0x0===_0x33c624||_0x33c624['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x19f3f5===_0xe58a3e['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_0x27607f['Strict'])return 0x0;}return this['emitCodePoint'](replaceCodePoint(this['result']),this['consumed']),this['errors']&&(_0x19f3f5!==_0xe58a3e['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x545c66,_0x1b6e1f){const {decodeTree:_0x1803b8}=this;let _0xe16d3e=_0x1803b8[this['treeIndex']],_0x4e5753=(_0xe16d3e&_0x54579d['VALUE_LENGTH'])>>0xe;for(;_0x1b6e1f<_0x545c66['length'];_0x1b6e1f++,this['excess']++){const _0x1750e4=_0x545c66['charCodeAt'](_0x1b6e1f);if(this['treeIndex']=determineBranch(_0x1803b8,_0xe16d3e,this['treeIndex']+Math['max'](0x1,_0x4e5753),_0x1750e4),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_0x27607f['Attribute']&&(0x0===_0x4e5753||isEntityInAttributeInvalidEnd(_0x1750e4))?0x0:this['emitNotTerminatedNamedEntity']();if(_0xe16d3e=_0x1803b8[this['treeIndex']],_0x4e5753=(_0xe16d3e&_0x54579d['VALUE_LENGTH'])>>0xe,0x0!==_0x4e5753){if(_0x1750e4===_0xe58a3e['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x4e5753,this['consumed']+this['excess']);this['decodeMode']!==_0x27607f['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x497f12;const {result:_0x17ae89,decodeTree:_0x366e87}=this,_0xfcece4=(_0x366e87[_0x17ae89]&_0x54579d['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x17ae89,_0xfcece4,this['consumed']),null===(_0x497f12=this['errors'])||void 0x0===_0x497f12||_0x497f12['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x306e55,_0x25f38a,_0x466fd0){const {decodeTree:_0x25217c}=this;return this['emitCodePoint'](0x1===_0x25f38a?_0x25217c[_0x306e55]&~_0x54579d['VALUE_LENGTH']:_0x25217c[_0x306e55+0x1],_0x466fd0),0x3===_0x25f38a&&this['emitCodePoint'](_0x25217c[_0x306e55+0x2],_0x466fd0),_0x466fd0;}['end'](){var _0x339a27;switch(this['state']){case EntityDecoderState['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_0x27607f['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case EntityDecoderState['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case EntityDecoderState['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case EntityDecoderState['NumericStart']:return null===(_0x339a27=this['errors'])||void 0x0===_0x339a27||_0x339a27['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case EntityDecoderState['EntityStart']:return 0x0;}}}function determineBranch(_0x41ecfd,_0x3f39d6,_0x11bf83,_0x3acb46){const _0x19bca3=(_0x3f39d6&_0x54579d['BRANCH_LENGTH'])>>0x7,_0x2b794b=_0x3f39d6&_0x54579d['JUMP_TABLE'];if(0x0===_0x19bca3)return 0x0!==_0x2b794b&&_0x3acb46===_0x2b794b?_0x11bf83:-0x1;if(_0x2b794b){const _0x50f6dc=_0x3acb46-_0x2b794b;return _0x50f6dc<0x0||_0x50f6dc>=_0x19bca3?-0x1:_0x41ecfd[_0x11bf83+_0x50f6dc]-0x1;}let _0x4de650=_0x11bf83,_0x33ee4a=_0x4de650+_0x19bca3-0x1;for(;_0x4de650<=_0x33ee4a;){const _0x140024=_0x4de650+_0x33ee4a>>>0x1,_0x319490=_0x41ecfd[_0x140024];if(_0x319490<_0x3acb46)_0x4de650=_0x140024+0x1;else{if(!(_0x319490>_0x3acb46))return _0x41ecfd[_0x140024+_0x19bca3];_0x33ee4a=_0x140024-0x1;}}return-0x1;}function isWhitespace(_0x178ee7){return _0x178ee7===_0x10718b['Space']||_0x178ee7===_0x10718b['NewLine']||_0x178ee7===_0x10718b['Tab']||_0x178ee7===_0x10718b['FormFeed']||_0x178ee7===_0x10718b['CarriageReturn'];}function isEndOfTagSection(_0x3ddb9c){return _0x3ddb9c===_0x10718b['Slash']||_0x3ddb9c===_0x10718b['Gt']||isWhitespace(_0x3ddb9c);}function _0x191c86(_0x35735e){return _0x35735e>=_0x10718b['LowerA']&&_0x35735e<=_0x10718b['LowerZ']||_0x35735e>=_0x10718b['UpperA']&&_0x35735e<=_0x10718b['UpperZ'];}!function(_0x49419d){_0x49419d[_0x49419d['Tab']=0x9]='Tab',_0x49419d[_0x49419d['NewLine']=0xa]='NewLine',_0x49419d[_0x49419d['FormFeed']=0xc]='FormFeed',_0x49419d[_0x49419d['CarriageReturn']=0xd]='CarriageReturn',_0x49419d[_0x49419d['Space']=0x20]='Space',_0x49419d[_0x49419d['ExclamationMark']=0x21]='ExclamationMark',_0x49419d[_0x49419d['Number']=0x23]='Number',_0x49419d[_0x49419d['Amp']=0x26]='Amp',_0x49419d[_0x49419d['SingleQuote']=0x27]='SingleQuote',_0x49419d[_0x49419d['DoubleQuote']=0x22]='DoubleQuote',_0x49419d[_0x49419d['Dash']=0x2d]='Dash',_0x49419d[_0x49419d['Slash']=0x2f]='Slash',_0x49419d[_0x49419d['Zero']=0x30]='Zero',_0x49419d[_0x49419d['Nine']=0x39]='Nine',_0x49419d[_0x49419d['Semi']=0x3b]='Semi',_0x49419d[_0x49419d['Lt']=0x3c]='Lt',_0x49419d[_0x49419d['Eq']=0x3d]='Eq',_0x49419d[_0x49419d['Gt']=0x3e]='Gt',_0x49419d[_0x49419d['Questionmark']=0x3f]='Questionmark',_0x49419d[_0x49419d['UpperA']=0x41]='UpperA',_0x49419d[_0x49419d['LowerA']=0x61]='LowerA',_0x49419d[_0x49419d['UpperF']=0x46]='UpperF',_0x49419d[_0x49419d['LowerF']=0x66]='LowerF',_0x49419d[_0x49419d['UpperZ']=0x5a]='UpperZ',_0x49419d[_0x49419d['LowerZ']=0x7a]='LowerZ',_0x49419d[_0x49419d['LowerX']=0x78]='LowerX',_0x49419d[_0x49419d['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(_0x10718b||(_0x10718b={})),function(_0xfce91e){_0xfce91e[_0xfce91e['Text']=0x1]='Text',_0xfce91e[_0xfce91e['BeforeTagName']=0x2]='BeforeTagName',_0xfce91e[_0xfce91e['InTagName']=0x3]='InTagName',_0xfce91e[_0xfce91e['InSelfClosingTag']=0x4]='InSelfClosingTag',_0xfce91e[_0xfce91e['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0xfce91e[_0xfce91e['InClosingTagName']=0x6]='InClosingTagName',_0xfce91e[_0xfce91e['AfterClosingTagName']=0x7]='AfterClosingTagName',_0xfce91e[_0xfce91e['BeforeAttributeName']=0x8]='BeforeAttributeName',_0xfce91e[_0xfce91e['InAttributeName']=0x9]='InAttributeName',_0xfce91e[_0xfce91e['AfterAttributeName']=0xa]='AfterAttributeName',_0xfce91e[_0xfce91e['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0xfce91e[_0xfce91e['InAttributeValueDq']=0xc]='InAttributeValueDq',_0xfce91e[_0xfce91e['InAttributeValueSq']=0xd]='InAttributeValueSq',_0xfce91e[_0xfce91e['InAttributeValueNq']=0xe]='InAttributeValueNq',_0xfce91e[_0xfce91e['BeforeDeclaration']=0xf]='BeforeDeclaration',_0xfce91e[_0xfce91e['InDeclaration']=0x10]='InDeclaration',_0xfce91e[_0xfce91e['InProcessingInstruction']=0x11]='InProcessingInstruction',_0xfce91e[_0xfce91e['BeforeComment']=0x12]='BeforeComment',_0xfce91e[_0xfce91e['CDATASequence']=0x13]='CDATASequence',_0xfce91e[_0xfce91e['InSpecialComment']=0x14]='InSpecialComment',_0xfce91e[_0xfce91e['InCommentLike']=0x15]='InCommentLike',_0xfce91e[_0xfce91e['BeforeSpecialS']=0x16]='BeforeSpecialS',_0xfce91e[_0xfce91e['BeforeSpecialT']=0x17]='BeforeSpecialT',_0xfce91e[_0xfce91e['SpecialStartSequence']=0x18]='SpecialStartSequence',_0xfce91e[_0xfce91e['InSpecialTag']=0x19]='InSpecialTag',_0xfce91e[_0xfce91e['InEntity']=0x1a]='InEntity';}(State||(State={})),function(_0x20bbd3){_0x20bbd3[_0x20bbd3['NoValue']=0x0]='NoValue',_0x20bbd3[_0x20bbd3['Unquoted']=0x1]='Unquoted',_0x20bbd3[_0x20bbd3['Single']=0x2]='Single',_0x20bbd3[_0x20bbd3['Double']=0x3]='Double';}(QuoteType||(QuoteType={}));const _0x318d49={'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])};class _0x1722fb{constructor({xmlMode:_0x1821cc=!0x1,decodeEntities:_0x403447=!0x0},_0x5ca587){this['cbs']=_0x5ca587,this['state']=State['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=State['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x1821cc,this['decodeEntities']=_0x403447,this['entityDecoder']=new EntityDecoder(_0x1821cc?_0x159868:htmlDecodeTree,(_0x39ebc7,_0x4d3171)=>this['emitCodePoint'](_0x39ebc7,_0x4d3171));}['reset'](){this['state']=State['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=State['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x5ccecf){this['offset']+=this['buffer']['length'],this['buffer']=_0x5ccecf,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'](_0x33b3ab){_0x33b3ab===_0x10718b['Lt']||!this['decodeEntities']&&this['fastForwardTo'](_0x10718b['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=State['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x33b3ab===_0x10718b['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x295324){const _0x49f60d=this['sequenceIndex']===this['currentSequence']['length'];if(_0x49f60d?isEndOfTagSection(_0x295324):(0x20|_0x295324)===this['currentSequence'][this['sequenceIndex']]){if(!_0x49f60d)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=State['InTagName'],this['stateInTagName'](_0x295324);}['stateInSpecialTag'](_0x5c88fa){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x5c88fa===_0x10718b['Gt']||isWhitespace(_0x5c88fa)){const _0x4825f1=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x4825f1){const _0x2fa0ff=this['index'];this['index']=_0x4825f1,this['cbs']['ontext'](this['sectionStart'],_0x4825f1),this['index']=_0x2fa0ff;}return this['isSpecial']=!0x1,this['sectionStart']=_0x4825f1+0x2,void this['stateInClosingTagName'](_0x5c88fa);}this['sequenceIndex']=0x0;}(0x20|_0x5c88fa)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x318d49['TitleEnd']?this['decodeEntities']&&_0x5c88fa===_0x10718b['Amp']&&this['startEntity']():this['fastForwardTo'](_0x10718b['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x5c88fa===_0x10718b['Lt']);}['stateCDATASequence'](_0x582d17){_0x582d17===_0x318d49['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x318d49['Cdata']['length']&&(this['state']=State['InCommentLike'],this['currentSequence']=_0x318d49['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=State['InDeclaration'],this['stateInDeclaration'](_0x582d17));}['fastForwardTo'](_0x40776c){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x40776c)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x273f0a){_0x273f0a===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x318d49['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']=State['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x273f0a!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x30e93e){return this['xmlMode']?!isEndOfTagSection(_0x30e93e):_0x191c86(_0x30e93e);}['startSpecial'](_0x261832,_0x26c7ea){this['isSpecial']=!0x0,this['currentSequence']=_0x261832,this['sequenceIndex']=_0x26c7ea,this['state']=State['SpecialStartSequence'];}['stateBeforeTagName'](_0x3ef7af){if(_0x3ef7af===_0x10718b['ExclamationMark'])this['state']=State['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x3ef7af===_0x10718b['Questionmark'])this['state']=State['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x3ef7af)){const _0x4eb17b=0x20|_0x3ef7af;this['sectionStart']=this['index'],this['xmlMode']?this['state']=State['InTagName']:_0x4eb17b===_0x318d49['ScriptEnd'][0x2]?this['state']=State['BeforeSpecialS']:_0x4eb17b===_0x318d49['TitleEnd'][0x2]||_0x4eb17b===_0x318d49['XmpEnd'][0x2]?this['state']=State['BeforeSpecialT']:this['state']=State['InTagName'];}else _0x3ef7af===_0x10718b['Slash']?this['state']=State['BeforeClosingTagName']:(this['state']=State['Text'],this['stateText'](_0x3ef7af));}}}['stateInTagName'](_0x2cb6bf){isEndOfTagSection(_0x2cb6bf)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x2cb6bf));}['stateBeforeClosingTagName'](_0x37304c){isWhitespace(_0x37304c)||(_0x37304c===_0x10718b['Gt']?this['state']=State['Text']:(this['state']=this['isTagStartChar'](_0x37304c)?State['InClosingTagName']:State['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x2d0b6d){(_0x2d0b6d===_0x10718b['Gt']||isWhitespace(_0x2d0b6d))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=State['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x2d0b6d));}['stateAfterClosingTagName'](_0x33ee79){(_0x33ee79===_0x10718b['Gt']||this['fastForwardTo'](_0x10718b['Gt']))&&(this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x26acd9){_0x26acd9===_0x10718b['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=State['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=State['Text'],this['sectionStart']=this['index']+0x1):_0x26acd9===_0x10718b['Slash']?this['state']=State['InSelfClosingTag']:isWhitespace(_0x26acd9)||(this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x2cf5fc){_0x2cf5fc===_0x10718b['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):isWhitespace(_0x2cf5fc)||(this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x2cf5fc));}['stateInAttributeName'](_0x2addd1){(_0x2addd1===_0x10718b['Eq']||isEndOfTagSection(_0x2addd1))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=State['AfterAttributeName'],this['stateAfterAttributeName'](_0x2addd1));}['stateAfterAttributeName'](_0x5c9d48){_0x5c9d48===_0x10718b['Eq']?this['state']=State['BeforeAttributeValue']:_0x5c9d48===_0x10718b['Slash']||_0x5c9d48===_0x10718b['Gt']?(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x5c9d48)):isWhitespace(_0x5c9d48)||(this['cbs']['onattribend'](QuoteType['NoValue'],this['sectionStart']),this['state']=State['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x5e005d){_0x5e005d===_0x10718b['DoubleQuote']?(this['state']=State['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x5e005d===_0x10718b['SingleQuote']?(this['state']=State['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):isWhitespace(_0x5e005d)||(this['sectionStart']=this['index'],this['state']=State['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x5e005d));}['handleInAttributeValue'](_0x5729c4,_0x2cda43){_0x5729c4===_0x2cda43||!this['decodeEntities']&&this['fastForwardTo'](_0x2cda43)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x2cda43===_0x10718b['DoubleQuote']?QuoteType['Double']:QuoteType['Single'],this['index']+0x1),this['state']=State['BeforeAttributeName']):this['decodeEntities']&&_0x5729c4===_0x10718b['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x536e8a){this['handleInAttributeValue'](_0x536e8a,_0x10718b['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x162635){this['handleInAttributeValue'](_0x162635,_0x10718b['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x49d2bd){isWhitespace(_0x49d2bd)||_0x49d2bd===_0x10718b['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](QuoteType['Unquoted'],this['index']),this['state']=State['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x49d2bd)):this['decodeEntities']&&_0x49d2bd===_0x10718b['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x128682){_0x128682===_0x10718b['OpeningSquareBracket']?(this['state']=State['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x128682===_0x10718b['Dash']?State['BeforeComment']:State['InDeclaration'];}['stateInDeclaration'](_0x40b43c){(_0x40b43c===_0x10718b['Gt']||this['fastForwardTo'](_0x10718b['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x21fa92){(_0x21fa92===_0x10718b['Gt']||this['fastForwardTo'](_0x10718b['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x1fea8f){_0x1fea8f===_0x10718b['Dash']?(this['state']=State['InCommentLike'],this['currentSequence']=_0x318d49['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=State['InDeclaration'];}['stateInSpecialComment'](_0xfb3d1b){(_0xfb3d1b===_0x10718b['Gt']||this['fastForwardTo'](_0x10718b['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=State['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x6f7b5){const _0x520a39=0x20|_0x6f7b5;_0x520a39===_0x318d49['ScriptEnd'][0x3]?this['startSpecial'](_0x318d49['ScriptEnd'],0x4):_0x520a39===_0x318d49['StyleEnd'][0x3]?this['startSpecial'](_0x318d49['StyleEnd'],0x4):(this['state']=State['InTagName'],this['stateInTagName'](_0x6f7b5));}['stateBeforeSpecialT'](_0x54ba8d){switch(0x20|_0x54ba8d){case _0x318d49['TitleEnd'][0x3]:this['startSpecial'](_0x318d49['TitleEnd'],0x4);break;case _0x318d49['TextareaEnd'][0x3]:this['startSpecial'](_0x318d49['TextareaEnd'],0x4);break;case _0x318d49['XmpEnd'][0x3]:this['startSpecial'](_0x318d49['XmpEnd'],0x4);break;default:this['state']=State['InTagName'],this['stateInTagName'](_0x54ba8d);}}['startEntity'](){this['baseState']=this['state'],this['state']=State['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_0x27607f['Strict']:this['baseState']===State['Text']||this['baseState']===State['InSpecialTag']?_0x27607f['Legacy']:_0x27607f['Attribute']);}['stateInEntity'](){const _0x29c094=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x29c094>=0x0?(this['state']=this['baseState'],0x0===_0x29c094&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===State['Text']||this['state']===State['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==State['InAttributeValueDq']&&this['state']!==State['InAttributeValueSq']&&this['state']!==State['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 _0x18bd7d=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case State['Text']:this['stateText'](_0x18bd7d);break;case State['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x18bd7d);break;case State['InSpecialTag']:this['stateInSpecialTag'](_0x18bd7d);break;case State['CDATASequence']:this['stateCDATASequence'](_0x18bd7d);break;case State['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x18bd7d);break;case State['InAttributeName']:this['stateInAttributeName'](_0x18bd7d);break;case State['InCommentLike']:this['stateInCommentLike'](_0x18bd7d);break;case State['InSpecialComment']:this['stateInSpecialComment'](_0x18bd7d);break;case State['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x18bd7d);break;case State['InTagName']:this['stateInTagName'](_0x18bd7d);break;case State['InClosingTagName']:this['stateInClosingTagName'](_0x18bd7d);break;case State['BeforeTagName']:this['stateBeforeTagName'](_0x18bd7d);break;case State['AfterAttributeName']:this['stateAfterAttributeName'](_0x18bd7d);break;case State['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x18bd7d);break;case State['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x18bd7d);break;case State['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x18bd7d);break;case State['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x18bd7d);break;case State['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x18bd7d);break;case State['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x18bd7d);break;case State['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x18bd7d);break;case State['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x18bd7d);break;case State['InDeclaration']:this['stateInDeclaration'](_0x18bd7d);break;case State['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x18bd7d);break;case State['BeforeComment']:this['stateBeforeComment'](_0x18bd7d);break;case State['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x18bd7d);break;case State['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===State['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x26d9b9=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x26d9b9||(this['state']===State['InCommentLike']?this['currentSequence']===_0x318d49['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x26d9b9,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x26d9b9,0x0):this['state']===State['InTagName']||this['state']===State['BeforeAttributeName']||this['state']===State['BeforeAttributeValue']||this['state']===State['AfterAttributeName']||this['state']===State['InAttributeName']||this['state']===State['InAttributeValueSq']||this['state']===State['InAttributeValueDq']||this['state']===State['InAttributeValueNq']||this['state']===State['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x26d9b9));}['emitCodePoint'](_0x436cc2,_0x29f2e4){this['baseState']!==State['Text']&&this['baseState']!==State['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x29f2e4,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x436cc2)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x29f2e4,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x436cc2,this['sectionStart']));}}const _0x5965d1=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x47e7d3=new Set(['p']),tableSectionTags=new Set(['thead','tbody']),ddtTags=new Set(['dd','dt']),rtpTags=new Set(['rt','rp']),_0x3e7837=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',_0x47e7d3],['h1',_0x47e7d3],['h2',_0x47e7d3],['h3',_0x47e7d3],['h4',_0x47e7d3],['h5',_0x47e7d3],['h6',_0x47e7d3],['select',_0x5965d1],['input',_0x5965d1],['output',_0x5965d1],['button',_0x5965d1],['datalist',_0x5965d1],['textarea',_0x5965d1],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',ddtTags],['dt',ddtTags],['address',_0x47e7d3],['article',_0x47e7d3],['aside',_0x47e7d3],['blockquote',_0x47e7d3],['details',_0x47e7d3],['div',_0x47e7d3],['dl',_0x47e7d3],['fieldset',_0x47e7d3],['figcaption',_0x47e7d3],['figure',_0x47e7d3],['footer',_0x47e7d3],['form',_0x47e7d3],['header',_0x47e7d3],['hr',_0x47e7d3],['main',_0x47e7d3],['nav',_0x47e7d3],['ol',_0x47e7d3],['pre',_0x47e7d3],['section',_0x47e7d3],['table',_0x47e7d3],['ul',_0x47e7d3],['rt',rtpTags],['rp',rtpTags],['tbody',tableSectionTags],['tfoot',tableSectionTags]]),voidElements=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),foreignContextElements=new Set(['math','svg']),htmlIntegrationElements=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),_0x442c6e=/\s|\//;let _0x4b0775=class{constructor(_0x3c1797,_0x556f89={}){var _0x77006d,_0x30ad96,_0x1dcc95,_0x5be08e,_0x1473c7,_0x11776e;this['options']=_0x556f89,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!=_0x3c1797?_0x3c1797:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x77006d=_0x556f89['lowerCaseTags'])&&void 0x0!==_0x77006d?_0x77006d:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x30ad96=_0x556f89['lowerCaseAttributeNames'])&&void 0x0!==_0x30ad96?_0x30ad96:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x1dcc95=_0x556f89['recognizeSelfClosing'])&&void 0x0!==_0x1dcc95?_0x1dcc95:!this['htmlMode'],this['tokenizer']=new(null!==(_0x5be08e=_0x556f89['Tokenizer'])&&void 0x0!==_0x5be08e?_0x5be08e:_0x1722fb)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x11776e=(_0x1473c7=this['cbs'])['onparserinit'])||void 0x0===_0x11776e||_0x11776e['call'](_0x1473c7,this);}['ontext'](_0x5aa85b,_0x2d557b){var _0x43700e,_0x1741af;const _0x3d3e7b=this['getSlice'](_0x5aa85b,_0x2d557b);this['endIndex']=_0x2d557b-0x1,null===(_0x1741af=(_0x43700e=this['cbs'])['ontext'])||void 0x0===_0x1741af||_0x1741af['call'](_0x43700e,_0x3d3e7b),this['startIndex']=_0x2d557b;}['ontextentity'](_0x499003,_0x57b184){var _0x33abdf,_0x1f0a76;this['endIndex']=_0x57b184-0x1,null===(_0x1f0a76=(_0x33abdf=this['cbs'])['ontext'])||void 0x0===_0x1f0a76||_0x1f0a76['call'](_0x33abdf,fromCodePoint$1(_0x499003)),this['startIndex']=_0x57b184;}['isVoidElement'](_0x3c0ba5){return this['htmlMode']&&voidElements['has'](_0x3c0ba5);}['onopentagname'](_0x3dfaf6,_0xd46b70){this['endIndex']=_0xd46b70;let _0x5e486d=this['getSlice'](_0x3dfaf6,_0xd46b70);this['lowerCaseTagNames']&&(_0x5e486d=_0x5e486d['toLowerCase']()),this['emitOpenTag'](_0x5e486d);}['emitOpenTag'](_0xaaac1a){var _0x4d6426,_0x22d2d7,_0x980bcb,_0x506dae;this['openTagStart']=this['startIndex'],this['tagname']=_0xaaac1a;const _0x10b48c=this['htmlMode']&&_0x3e7837['get'](_0xaaac1a);if(_0x10b48c)for(;this['stack']['length']>0x0&&_0x10b48c['has'](this['stack'][0x0]);){const _0x2d2d15=this['stack']['shift']();null===(_0x22d2d7=(_0x4d6426=this['cbs'])['onclosetag'])||void 0x0===_0x22d2d7||_0x22d2d7['call'](_0x4d6426,_0x2d2d15,!0x0);}this['isVoidElement'](_0xaaac1a)||(this['stack']['unshift'](_0xaaac1a),this['htmlMode']&&(foreignContextElements['has'](_0xaaac1a)?this['foreignContext']['unshift'](!0x0):htmlIntegrationElements['has'](_0xaaac1a)&&this['foreignContext']['unshift'](!0x1))),null===(_0x506dae=(_0x980bcb=this['cbs'])['onopentagname'])||void 0x0===_0x506dae||_0x506dae['call'](_0x980bcb,_0xaaac1a),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x389b1a){var _0x822f5f,_0x496ffc;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x496ffc=(_0x822f5f=this['cbs'])['onopentag'])||void 0x0===_0x496ffc||_0x496ffc['call'](_0x822f5f,this['tagname'],this['attribs'],_0x389b1a),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x20813b){this['endIndex']=_0x20813b,this['endOpenTag'](!0x1),this['startIndex']=_0x20813b+0x1;}['onclosetag'](_0x472047,_0x504a28){var _0x44e962,_0x32c766,_0x14f679,_0x2056dc,_0x387857,_0xc82c21,_0x4d1096,_0x18cafd;this['endIndex']=_0x504a28;let _0x55dd63=this['getSlice'](_0x472047,_0x504a28);if(this['lowerCaseTagNames']&&(_0x55dd63=_0x55dd63['toLowerCase']()),this['htmlMode']&&(foreignContextElements['has'](_0x55dd63)||htmlIntegrationElements['has'](_0x55dd63))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x55dd63))this['htmlMode']&&'br'===_0x55dd63&&(null===(_0x2056dc=(_0x14f679=this['cbs'])['onopentagname'])||void 0x0===_0x2056dc||_0x2056dc['call'](_0x14f679,'br'),null===(_0xc82c21=(_0x387857=this['cbs'])['onopentag'])||void 0x0===_0xc82c21||_0xc82c21['call'](_0x387857,'br',{},!0x0),null===(_0x18cafd=(_0x4d1096=this['cbs'])['onclosetag'])||void 0x0===_0x18cafd||_0x18cafd['call'](_0x4d1096,'br',!0x1));else{const _0x39ab8e=this['stack']['indexOf'](_0x55dd63);if(-0x1!==_0x39ab8e)for(let _0x8ad29=0x0;_0x8ad29<=_0x39ab8e;_0x8ad29++){const _0x170825=this['stack']['shift']();null===(_0x32c766=(_0x44e962=this['cbs'])['onclosetag'])||void 0x0===_0x32c766||_0x32c766['call'](_0x44e962,_0x170825,_0x8ad29!==_0x39ab8e);}else this['htmlMode']&&'p'===_0x55dd63&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x504a28+0x1;}['onselfclosingtag'](_0x5e3e21){this['endIndex']=_0x5e3e21,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x5e3e21+0x1):this['onopentagend'](_0x5e3e21);}['closeCurrentTag'](_0x2815f1){var _0x111090,_0x43275b;const _0x19b6fd=this['tagname'];this['endOpenTag'](_0x2815f1),this['stack'][0x0]===_0x19b6fd&&(null===(_0x43275b=(_0x111090=this['cbs'])['onclosetag'])||void 0x0===_0x43275b||_0x43275b['call'](_0x111090,_0x19b6fd,!_0x2815f1),this['stack']['shift']());}['onattribname'](_0x59d784,_0x2e37f6){this['startIndex']=_0x59d784;const _0x407bb8=this['getSlice'](_0x59d784,_0x2e37f6);this['attribname']=this['lowerCaseAttributeNames']?_0x407bb8['toLowerCase']():_0x407bb8;}['onattribdata'](_0x392a77,_0x4c9f5b){this['attribvalue']+=this['getSlice'](_0x392a77,_0x4c9f5b);}['onattribentity'](_0x104807){this['attribvalue']+=fromCodePoint$1(_0x104807);}['onattribend'](_0x50cf16,_0x471535){var _0x5e4171,_0x24d4f5;this['endIndex']=_0x471535,null===(_0x24d4f5=(_0x5e4171=this['cbs'])['onattribute'])||void 0x0===_0x24d4f5||_0x24d4f5['call'](_0x5e4171,this['attribname'],this['attribvalue'],_0x50cf16===QuoteType['Double']?'\x22':_0x50cf16===QuoteType['Single']?'\x27':_0x50cf16===QuoteType['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x496097){const _0x36432d=_0x496097['search'](_0x442c6e);let _0x534f69=_0x36432d<0x0?_0x496097:_0x496097['substr'](0x0,_0x36432d);return this['lowerCaseTagNames']&&(_0x534f69=_0x534f69['toLowerCase']()),_0x534f69;}['ondeclaration'](_0x4cac0d,_0x312115){this['endIndex']=_0x312115;const _0x4aa0f6=this['getSlice'](_0x4cac0d,_0x312115);if(this['cbs']['onprocessinginstruction']){const _0x194c4d=this['getInstructionName'](_0x4aa0f6);this['cbs']['onprocessinginstruction']('!'+_0x194c4d,'!'+_0x4aa0f6);}this['startIndex']=_0x312115+0x1;}['onprocessinginstruction'](_0x553305,_0x5a0e1f){this['endIndex']=_0x5a0e1f;const _0x2a18eb=this['getSlice'](_0x553305,_0x5a0e1f);if(this['cbs']['onprocessinginstruction']){const _0x3fa87a=this['getInstructionName'](_0x2a18eb);this['cbs']['onprocessinginstruction']('?'+_0x3fa87a,'?'+_0x2a18eb);}this['startIndex']=_0x5a0e1f+0x1;}['oncomment'](_0x39c652,_0x3f1e01,_0x8fad5b){var _0x4be73a,_0x1afaab,_0x33436f,_0x3e8ae7;this['endIndex']=_0x3f1e01,null===(_0x1afaab=(_0x4be73a=this['cbs'])['oncomment'])||void 0x0===_0x1afaab||_0x1afaab['call'](_0x4be73a,this['getSlice'](_0x39c652,_0x3f1e01-_0x8fad5b)),null===(_0x3e8ae7=(_0x33436f=this['cbs'])['oncommentend'])||void 0x0===_0x3e8ae7||_0x3e8ae7['call'](_0x33436f),this['startIndex']=_0x3f1e01+0x1;}['oncdata'](_0x4460c7,_0xf6e710,_0x57dcb6){var _0x39c042,_0x271623,_0x2327bd,_0x351605,_0x398b6a,_0x1a3244,_0x4f6019,_0x4915fb,_0x50709e,_0x6b29be;this['endIndex']=_0xf6e710;const _0x3f3c3b=this['getSlice'](_0x4460c7,_0xf6e710-_0x57dcb6);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x271623=(_0x39c042=this['cbs'])['oncdatastart'])||void 0x0===_0x271623||_0x271623['call'](_0x39c042),null===(_0x351605=(_0x2327bd=this['cbs'])['ontext'])||void 0x0===_0x351605||_0x351605['call'](_0x2327bd,_0x3f3c3b),null===(_0x1a3244=(_0x398b6a=this['cbs'])['oncdataend'])||void 0x0===_0x1a3244||_0x1a3244['call'](_0x398b6a)):(null===(_0x4915fb=(_0x4f6019=this['cbs'])['oncomment'])||void 0x0===_0x4915fb||_0x4915fb['call'](_0x4f6019,'[CDATA['+_0x3f3c3b+']]'),null===(_0x6b29be=(_0x50709e=this['cbs'])['oncommentend'])||void 0x0===_0x6b29be||_0x6b29be['call'](_0x50709e)),this['startIndex']=_0xf6e710+0x1;}['onend'](){var _0x1146e8,_0x1bef8f;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x153e34=0x0;_0x153e34<this['stack']['length'];_0x153e34++)this['cbs']['onclosetag'](this['stack'][_0x153e34],!0x0);}null===(_0x1bef8f=(_0x1146e8=this['cbs'])['onend'])||void 0x0===_0x1bef8f||_0x1bef8f['call'](_0x1146e8);}['reset'](){var _0x11f655,_0x2c9aac,_0xc154e6,_0x27a40d;null===(_0x2c9aac=(_0x11f655=this['cbs'])['onreset'])||void 0x0===_0x2c9aac||_0x2c9aac['call'](_0x11f655),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x27a40d=(_0xc154e6=this['cbs'])['onparserinit'])||void 0x0===_0x27a40d||_0x27a40d['call'](_0xc154e6,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x16324){this['reset'](),this['end'](_0x16324);}['getSlice'](_0x4edda5,_0x359366){for(;_0x4edda5-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x35e6ef=this['buffers'][0x0]['slice'](_0x4edda5-this['bufferOffset'],_0x359366-this['bufferOffset']);for(;_0x359366-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x35e6ef+=this['buffers'][0x0]['slice'](0x0,_0x359366-this['bufferOffset']);return _0x35e6ef;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x4c6421){var _0x2d1a94,_0x291b3a;this['ended']?null===(_0x291b3a=(_0x2d1a94=this['cbs'])['onerror'])||void 0x0===_0x291b3a||_0x291b3a['call'](_0x2d1a94,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x4c6421),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x4c6421),this['writeIndex']++));}['end'](_0x20334b){var _0x4e5b47,_0x3e3322;this['ended']?null===(_0x3e3322=(_0x4e5b47=this['cbs'])['onerror'])||void 0x0===_0x3e3322||_0x3e3322['call'](_0x4e5b47,new Error('.end()\x20after\x20done!')):(_0x20334b&&this['write'](_0x20334b),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'](_0x3008fe){this['write'](_0x3008fe);}['done'](_0x39c421){this['end'](_0x39c421);}};var ElementType;function _0x5471fd(_0x19015e){return _0x19015e['type']===ElementType['Tag']||_0x19015e['type']===ElementType['Script']||_0x19015e['type']===ElementType['Style'];}!function(_0x35c533){_0x35c533['Root']='root',_0x35c533['Text']='text',_0x35c533['Directive']='directive',_0x35c533['Comment']='comment',_0x35c533['Script']='script',_0x35c533['Style']='style',_0x35c533['Tag']='tag',_0x35c533['CDATA']='cdata',_0x35c533['Doctype']='doctype';}(ElementType||(ElementType={}));const Root=ElementType['Root'],Text$2=ElementType['Text'],Directive=ElementType['Directive'],Comment$2=ElementType['Comment'],Script=ElementType['Script'],Style=ElementType['Style'],_0x59b371=ElementType['Tag'],_0x5cb69d=ElementType['CDATA'],Doctype=ElementType['Doctype'];let _0x106bd7=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x1e87fb){this['parent']=_0x1e87fb;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x5494fe){this['prev']=_0x5494fe;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x5bffd3){this['next']=_0x5bffd3;}['cloneNode'](_0x208bb5=!0x1){return _0x3fe89e(this,_0x208bb5);}};class DataNode extends _0x106bd7{constructor(_0x13873c){super(),this['data']=_0x13873c;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x32f0a5){this['data']=_0x32f0a5;}}let Text$1=class extends DataNode{constructor(){super(...arguments),this['type']=ElementType['Text'];}get['nodeType'](){return 0x3;}},Comment$1=class extends DataNode{constructor(){super(...arguments),this['type']=ElementType['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x13f5ea,_0x319332){super(_0x319332),this['name']=_0x13f5ea,this['type']=ElementType['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x106bd7{constructor(_0x5732b5){super(),this['children']=_0x5732b5;}get['firstChild'](){var _0x243d18;return null!==(_0x243d18=this['children'][0x0])&&void 0x0!==_0x243d18?_0x243d18:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x33c49e){this['children']=_0x33c49e;}}class _0x324e43 extends NodeWithChildren{constructor(){super(...arguments),this['type']=ElementType['CDATA'];}get['nodeType'](){return 0x4;}}class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=ElementType['Root'];}get['nodeType'](){return 0x9;}}let Element$3=class extends NodeWithChildren{constructor(_0x3bf331,_0x1feea3,_0x39e1eb=[],_0x514ddf='script'===_0x3bf331?ElementType['Script']:'style'===_0x3bf331?ElementType['Style']:ElementType['Tag']){super(_0x39e1eb),this['name']=_0x3bf331,this['attribs']=_0x1feea3,this['type']=_0x514ddf;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x56d2d2){this['name']=_0x56d2d2;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x50e22a=>{var _0x318f8a,_0x2dca8c;return{'name':_0x50e22a,'value':this['attribs'][_0x50e22a],'namespace':null===(_0x318f8a=this['x-attribsNamespace'])||void 0x0===_0x318f8a?void 0x0:_0x318f8a[_0x50e22a],'prefix':null===(_0x2dca8c=this['x-attribsPrefix'])||void 0x0===_0x2dca8c?void 0x0:_0x2dca8c[_0x50e22a]};});}};function _0x773814(_0x430a93){return _0x5471fd(_0x430a93);}function _0x263b70(_0x3161e6){return _0x3161e6['type']===ElementType['CDATA'];}function isText$1(_0x27b7a7){return _0x27b7a7['type']===ElementType['Text'];}function isComment(_0x3637cf){return _0x3637cf['type']===ElementType['Comment'];}function isDirective(_0x4c0fe1){return _0x4c0fe1['type']===ElementType['Directive'];}function isDocument(_0x86f973){return _0x86f973['type']===ElementType['Root'];}function _0x3231a0(_0x313ee8){return Object['prototype']['hasOwnProperty']['call'](_0x313ee8,'children');}function _0x3fe89e(_0x3dad9a,_0x181a87=!0x1){let _0x5edc59;if(isText$1(_0x3dad9a))_0x5edc59=new Text$1(_0x3dad9a['data']);else{if(isComment(_0x3dad9a))_0x5edc59=new Comment$1(_0x3dad9a['data']);else{if(_0x773814(_0x3dad9a)){const _0x23cf34=_0x181a87?_0x105bfb(_0x3dad9a['children']):[],_0x1ea041=new Element$3(_0x3dad9a['name'],{..._0x3dad9a['attribs']},_0x23cf34);_0x23cf34['forEach'](_0x296f9c=>_0x296f9c['parent']=_0x1ea041),null!=_0x3dad9a['namespace']&&(_0x1ea041['namespace']=_0x3dad9a['namespace']),_0x3dad9a['x-attribsNamespace']&&(_0x1ea041['x-attribsNamespace']={..._0x3dad9a['x-attribsNamespace']}),_0x3dad9a['x-attribsPrefix']&&(_0x1ea041['x-attribsPrefix']={..._0x3dad9a['x-attribsPrefix']}),_0x5edc59=_0x1ea041;}else{if(_0x263b70(_0x3dad9a)){const _0xdf9561=_0x181a87?_0x105bfb(_0x3dad9a['children']):[],_0xd0b086=new _0x324e43(_0xdf9561);_0xdf9561['forEach'](_0x1cda43=>_0x1cda43['parent']=_0xd0b086),_0x5edc59=_0xd0b086;}else{if(isDocument(_0x3dad9a)){const _0x1cd0b9=_0x181a87?_0x105bfb(_0x3dad9a['children']):[],_0x3f2b3b=new Document(_0x1cd0b9);_0x1cd0b9['forEach'](_0x241136=>_0x241136['parent']=_0x3f2b3b),_0x3dad9a['x-mode']&&(_0x3f2b3b['x-mode']=_0x3dad9a['x-mode']),_0x5edc59=_0x3f2b3b;}else{if(!isDirective(_0x3dad9a))throw new Error('Not\x20implemented\x20yet:\x20'+_0x3dad9a['type']);{const _0x419547=new ProcessingInstruction(_0x3dad9a['name'],_0x3dad9a['data']);null!=_0x3dad9a['x-name']&&(_0x419547['x-name']=_0x3dad9a['x-name'],_0x419547['x-publicId']=_0x3dad9a['x-publicId'],_0x419547['x-systemId']=_0x3dad9a['x-systemId']),_0x5edc59=_0x419547;}}}}}}return _0x5edc59['startIndex']=_0x3dad9a['startIndex'],_0x5edc59['endIndex']=_0x3dad9a['endIndex'],null!=_0x3dad9a['sourceCodeLocation']&&(_0x5edc59['sourceCodeLocation']=_0x3dad9a['sourceCodeLocation']),_0x5edc59;}function _0x105bfb(_0x69d3f8){const _0x23afd3=_0x69d3f8['map'](_0x12b04e=>_0x3fe89e(_0x12b04e,!0x0));for(let _0x3bd3ee=0x1;_0x3bd3ee<_0x23afd3['length'];_0x3bd3ee++)_0x23afd3[_0x3bd3ee]['prev']=_0x23afd3[_0x3bd3ee-0x1],_0x23afd3[_0x3bd3ee-0x1]['next']=_0x23afd3[_0x3bd3ee];return _0x23afd3;}const defaultOpts={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x5cff66{constructor(_0x324efa,_0x1199bd,_0xea6a6d){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x1199bd&&(_0xea6a6d=_0x1199bd,_0x1199bd=defaultOpts),'object'==typeof _0x324efa&&(_0x1199bd=_0x324efa,_0x324efa=void 0x0),this['callback']=null!=_0x324efa?_0x324efa:null,this['options']=null!=_0x1199bd?_0x1199bd:defaultOpts,this['elementCB']=null!=_0xea6a6d?_0xea6a6d:null;}['onparserinit'](_0x2b29e1){this['parser']=_0x2b29e1;}['onreset'](){this['dom']=[],this['root']=new Document(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'](_0x18dfa6){this['handleCallback'](_0x18dfa6);}['onclosetag'](){this['lastNode']=null;const _0x173355=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x173355['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x173355);}['onopentag'](_0x478b4d,_0x4a8f5b){const _0x3fd73a=this['options']['xmlMode']?ElementType['Tag']:void 0x0,_0x23a6cd=new Element$3(_0x478b4d,_0x4a8f5b,void 0x0,_0x3fd73a);this['addNode'](_0x23a6cd),this['tagStack']['push'](_0x23a6cd);}['ontext'](_0x5c80f9){const {lastNode:_0x1916a3}=this;if(_0x1916a3&&_0x1916a3['type']===ElementType['Text'])_0x1916a3['data']+=_0x5c80f9,this['options']['withEndIndices']&&(_0x1916a3['endIndex']=this['parser']['endIndex']);else{const _0x1eb551=new Text$1(_0x5c80f9);this['addNode'](_0x1eb551),this['lastNode']=_0x1eb551;}}['oncomment'](_0x2f2535){if(this['lastNode']&&this['lastNode']['type']===ElementType['Comment'])return void(this['lastNode']['data']+=_0x2f2535);const _0x57c674=new Comment$1(_0x2f2535);this['addNode'](_0x57c674),this['lastNode']=_0x57c674;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x13c440=new Text$1(''),_0x1b359f=new _0x324e43([_0x13c440]);this['addNode'](_0x1b359f),_0x13c440['parent']=_0x1b359f,this['lastNode']=_0x13c440;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x7d0f63,_0x1cb488){const _0xeecebb=new ProcessingInstruction(_0x7d0f63,_0x1cb488);this['addNode'](_0xeecebb);}['handleCallback'](_0x550c15){if('function'==typeof this['callback'])this['callback'](_0x550c15,this['dom']);else{if(_0x550c15)throw _0x550c15;}}['addNode'](_0x18a7fe){const _0x2457fe=this['tagStack'][this['tagStack']['length']-0x1],_0x5a7709=_0x2457fe['children'][_0x2457fe['children']['length']-0x1];this['options']['withStartIndices']&&(_0x18a7fe['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x18a7fe['endIndex']=this['parser']['endIndex']),_0x2457fe['children']['push'](_0x18a7fe),_0x5a7709&&(_0x18a7fe['prev']=_0x5a7709,_0x5a7709['next']=_0x18a7fe),_0x18a7fe['parent']=_0x2457fe,this['lastNode']=null;}}const _0x4a098f=/["&'<>$\x80-\uFFFF]/g,_0x16141e=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),getCodePoint=null!=String['prototype']['codePointAt']?(_0x39b6cd,_0x2acd74)=>_0x39b6cd['codePointAt'](_0x2acd74):(_0x242ca3,_0x23f806)=>0xd800==(0xfc00&_0x242ca3['charCodeAt'](_0x23f806))?0x400*(_0x242ca3['charCodeAt'](_0x23f806)-0xd800)+_0x242ca3['charCodeAt'](_0x23f806+0x1)-0xdc00+0x10000:_0x242ca3['charCodeAt'](_0x23f806);function _0x71ce29(_0x11b527){let _0x52c9a8,_0x445588='',_0x2a13a5=0x0;for(;null!==(_0x52c9a8=_0x4a098f['exec'](_0x11b527));){const _0x2fd161=_0x52c9a8['index'],_0x443840=_0x11b527['charCodeAt'](_0x2fd161),_0x5de641=_0x16141e['get'](_0x443840);void 0x0!==_0x5de641?(_0x445588+=_0x11b527['substring'](_0x2a13a5,_0x2fd161)+_0x5de641,_0x2a13a5=_0x2fd161+0x1):(_0x445588+=_0x11b527['substring'](_0x2a13a5,_0x2fd161)+'&#x'+getCodePoint(_0x11b527,_0x2fd161)['toString'](0x10)+';',_0x2a13a5=_0x4a098f['lastIndex']+=Number(0xd800==(0xfc00&_0x443840)));}return _0x445588+_0x11b527['substr'](_0x2a13a5);}function getEscaper(_0x2075bd,_0x775da1){return function(_0x5ecabc){let _0x23cdba,_0x41731c=0x0,_0x1fa473='';for(;_0x23cdba=_0x2075bd['exec'](_0x5ecabc);)_0x41731c!==_0x23cdba['index']&&(_0x1fa473+=_0x5ecabc['substring'](_0x41731c,_0x23cdba['index'])),_0x1fa473+=_0x775da1['get'](_0x23cdba[0x0]['charCodeAt'](0x0)),_0x41731c=_0x23cdba['index']+0x1;return _0x1fa473+_0x5ecabc['substring'](_0x41731c);};}const escapeAttribute=getEscaper(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),escapeText=getEscaper(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),elementNames=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'](_0x46ff23=>[_0x46ff23['toLowerCase'](),_0x46ff23])),attributeNames=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'](_0x685de3=>[_0x685de3['toLowerCase'](),_0x685de3])),unencodedElements=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function replaceQuotes(_0x53f51e){return _0x53f51e['replace'](/"/g,'&quot;');}function formatAttributes(_0x4333aa,_0x29b0e6){var _0x737da4;if(!_0x4333aa)return;const _0x2462c4=!0x1===(null!==(_0x737da4=_0x29b0e6['encodeEntities'])&&void 0x0!==_0x737da4?_0x737da4:_0x29b0e6['decodeEntities'])?replaceQuotes:_0x29b0e6['xmlMode']||'utf8'!==_0x29b0e6['encodeEntities']?_0x71ce29:escapeAttribute;return Object['keys'](_0x4333aa)['map'](_0x2f2040=>{var _0x49b5df,_0x384f0c;const _0x4260df=null!==(_0x49b5df=_0x4333aa[_0x2f2040])&&void 0x0!==_0x49b5df?_0x49b5df:'';return'foreign'===_0x29b0e6['xmlMode']&&(_0x2f2040=null!==(_0x384f0c=attributeNames['get'](_0x2f2040))&&void 0x0!==_0x384f0c?_0x384f0c:_0x2f2040),_0x29b0e6['emptyAttrs']||_0x29b0e6['xmlMode']||''!==_0x4260df?_0x2f2040+'=\x22'+_0x2462c4(_0x4260df)+'\x22':_0x2f2040;})['join']('\x20');}const _0x38b52b=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0x2c344f(_0x5c8d25,_0xcb7506={}){const _0x407518='length'in _0x5c8d25?_0x5c8d25:[_0x5c8d25];let _0x4f5aa5='';for(let _0x18780a=0x0;_0x18780a<_0x407518['length'];_0x18780a++)_0x4f5aa5+=_0x4756ae(_0x407518[_0x18780a],_0xcb7506);return _0x4f5aa5;}function _0x4756ae(_0x30e9b4,_0xf5066c){switch(_0x30e9b4['type']){case Root:return _0x2c344f(_0x30e9b4['children'],_0xf5066c);case Doctype:case Directive:return renderDirective(_0x30e9b4);case Comment$2:return renderComment(_0x30e9b4);case _0x5cb69d:return renderCdata(_0x30e9b4);case Script:case Style:case _0x59b371:return _0x56e4f6(_0x30e9b4,_0xf5066c);case Text$2:return renderText(_0x30e9b4,_0xf5066c);}}const foreignModeIntegrationPoints=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),foreignElements=new Set(['svg','math']);function _0x56e4f6(_0x5ebed3,_0x341ac4){var _0x50ecef;'foreign'===_0x341ac4['xmlMode']&&(_0x5ebed3['name']=null!==(_0x50ecef=elementNames['get'](_0x5ebed3['name']))&&void 0x0!==_0x50ecef?_0x50ecef:_0x5ebed3['name'],_0x5ebed3['parent']&&foreignModeIntegrationPoints['has'](_0x5ebed3['parent']['name'])&&(_0x341ac4={..._0x341ac4,'xmlMode':!0x1})),!_0x341ac4['xmlMode']&&foreignElements['has'](_0x5ebed3['name'])&&(_0x341ac4={..._0x341ac4,'xmlMode':'foreign'});let _0x551ba4='<'+_0x5ebed3['name'];const _0x3e838b=formatAttributes(_0x5ebed3['attribs'],_0x341ac4);return _0x3e838b&&(_0x551ba4+='\x20'+_0x3e838b),0x0===_0x5ebed3['children']['length']&&(_0x341ac4['xmlMode']?!0x1!==_0x341ac4['selfClosingTags']:_0x341ac4['selfClosingTags']&&_0x38b52b['has'](_0x5ebed3['name']))?(_0x341ac4['xmlMode']||(_0x551ba4+='\x20'),_0x551ba4+='/>'):(_0x551ba4+='>',_0x5ebed3['children']['length']>0x0&&(_0x551ba4+=_0x2c344f(_0x5ebed3['children'],_0x341ac4)),!_0x341ac4['xmlMode']&&_0x38b52b['has'](_0x5ebed3['name'])||(_0x551ba4+='</'+_0x5ebed3['name']+'>')),_0x551ba4;}function renderDirective(_0x2ab91c){return'<'+_0x2ab91c['data']+'>';}function renderText(_0x34ab3a,_0x275ea6){var _0x18deb4;let _0x2c9a40=_0x34ab3a['data']||'';return!0x1===(null!==(_0x18deb4=_0x275ea6['encodeEntities'])&&void 0x0!==_0x18deb4?_0x18deb4:_0x275ea6['decodeEntities'])||!_0x275ea6['xmlMode']&&_0x34ab3a['parent']&&unencodedElements['has'](_0x34ab3a['parent']['name'])||(_0x2c9a40=_0x275ea6['xmlMode']||'utf8'!==_0x275ea6['encodeEntities']?_0x71ce29(_0x2c9a40):escapeText(_0x2c9a40)),_0x2c9a40;}function renderCdata(_0x40d392){return'<![CDATA['+_0x40d392['children'][0x0]['data']+']]>';}function renderComment(_0x5ce04b){return'<!--'+_0x5ce04b['data']+'-->';}function textContent(_0x332016){return Array['isArray'](_0x332016)?_0x332016['map'](textContent)['join'](''):_0x3231a0(_0x332016)&&!isComment(_0x332016)?textContent(_0x332016['children']):isText$1(_0x332016)?_0x332016['data']:'';}function getChildren$1(_0x537697){return _0x3231a0(_0x537697)?_0x537697['children']:[];}function getParent(_0xdd08c6){return _0xdd08c6['parent']||null;}function removeElement(_0x5eaa97){if(_0x5eaa97['prev']&&(_0x5eaa97['prev']['next']=_0x5eaa97['next']),_0x5eaa97['next']&&(_0x5eaa97['next']['prev']=_0x5eaa97['prev']),_0x5eaa97['parent']){const _0x6e9648=_0x5eaa97['parent']['children'],_0x832d8d=_0x6e9648['lastIndexOf'](_0x5eaa97);_0x832d8d>=0x0&&_0x6e9648['splice'](_0x832d8d,0x1);}_0x5eaa97['next']=null,_0x5eaa97['prev']=null,_0x5eaa97['parent']=null;}function replaceElement(_0x265b76,_0x40bb6d){const _0x5cee97=_0x40bb6d['prev']=_0x265b76['prev'];_0x5cee97&&(_0x5cee97['next']=_0x40bb6d);const _0x40a9e2=_0x40bb6d['next']=_0x265b76['next'];_0x40a9e2&&(_0x40a9e2['prev']=_0x40bb6d);const _0x313b62=_0x40bb6d['parent']=_0x265b76['parent'];if(_0x313b62){const _0x30ab0f=_0x313b62['children'];_0x30ab0f[_0x30ab0f['lastIndexOf'](_0x265b76)]=_0x40bb6d,_0x265b76['parent']=null;}}function _0x3bba2a(_0x2bbd4d,_0x34cb72){if(removeElement(_0x34cb72),_0x34cb72['next']=null,_0x34cb72['parent']=_0x2bbd4d,_0x2bbd4d['children']['push'](_0x34cb72)>0x1){const _0x527341=_0x2bbd4d['children'][_0x2bbd4d['children']['length']-0x2];_0x527341['next']=_0x34cb72,_0x34cb72['prev']=_0x527341;}else _0x34cb72['prev']=null;}function _0x47f8ed(_0x57cfc2,_0x12a0ea){removeElement(_0x12a0ea);const {parent:_0x3e8dfa}=_0x57cfc2,_0x48ef31=_0x57cfc2['next'];if(_0x12a0ea['next']=_0x48ef31,_0x12a0ea['prev']=_0x57cfc2,_0x57cfc2['next']=_0x12a0ea,_0x12a0ea['parent']=_0x3e8dfa,_0x48ef31){if(_0x48ef31['prev']=_0x12a0ea,_0x3e8dfa){const _0xd42b13=_0x3e8dfa['children'];_0xd42b13['splice'](_0xd42b13['lastIndexOf'](_0x48ef31),0x0,_0x12a0ea);}}else _0x3e8dfa&&_0x3e8dfa['children']['push'](_0x12a0ea);}function _0x31592a(_0x2ea56f,_0x2ae6ec){if(removeElement(_0x2ae6ec),_0x2ae6ec['parent']=_0x2ea56f,_0x2ae6ec['prev']=null,0x1!==_0x2ea56f['children']['unshift'](_0x2ae6ec)){const _0x3001eb=_0x2ea56f['children'][0x1];_0x3001eb['prev']=_0x2ae6ec,_0x2ae6ec['next']=_0x3001eb;}else _0x2ae6ec['next']=null;}function _0x4bb197(_0x440a48,_0x1b4fc1){removeElement(_0x1b4fc1);const {parent:_0x2b7375}=_0x440a48;if(_0x2b7375){const _0x964fc3=_0x2b7375['children'];_0x964fc3['splice'](_0x964fc3['indexOf'](_0x440a48),0x0,_0x1b4fc1);}_0x440a48['prev']&&(_0x440a48['prev']['next']=_0x1b4fc1),_0x1b4fc1['parent']=_0x2b7375,_0x1b4fc1['prev']=_0x440a48['prev'],_0x1b4fc1['next']=_0x440a48,_0x440a48['prev']=_0x1b4fc1;}function _0xd2bf34(_0xaa3107,_0x778c46,_0x142e7c,_0x94653c){const _0x8f0db1=[],_0x467907=[Array['isArray'](_0x778c46)?_0x778c46:[_0x778c46]],_0x11e244=[0x0];for(;;){if(_0x11e244[0x0]>=_0x467907[0x0]['length']){if(0x1===_0x11e244['length'])return _0x8f0db1;_0x467907['shift'](),_0x11e244['shift']();continue;}const _0x37f2be=_0x467907[0x0][_0x11e244[0x0]++];if(_0xaa3107(_0x37f2be)&&(_0x8f0db1['push'](_0x37f2be),--_0x94653c<=0x0))return _0x8f0db1;_0x3231a0(_0x37f2be)&&_0x37f2be['children']['length']>0x0&&(_0x11e244['unshift'](0x0),_0x467907['unshift'](_0x37f2be['children']));}}function _0x808f46(_0x20306a,_0x2db2dd,_0x1c95b8=!0x0){const _0x41cc8d=Array['isArray'](_0x2db2dd)?_0x2db2dd:[_0x2db2dd];for(let _0x369f21=0x0;_0x369f21<_0x41cc8d['length'];_0x369f21++){const _0x4c7466=_0x41cc8d[_0x369f21];if(_0x773814(_0x4c7466)&&_0x20306a(_0x4c7466))return _0x4c7466;if(_0x1c95b8&&_0x3231a0(_0x4c7466)&&_0x4c7466['children']['length']>0x0){const _0x4dd7b2=_0x808f46(_0x20306a,_0x4c7466['children'],!0x0);if(_0x4dd7b2)return _0x4dd7b2;}}return null;}function _0x283d8c(_0x4ddb5e,_0x36b8f8){const _0x4e703f=[],_0x1d0eef=[Array['isArray'](_0x36b8f8)?_0x36b8f8:[_0x36b8f8]],_0xf41985=[0x0];for(;;){if(_0xf41985[0x0]>=_0x1d0eef[0x0]['length']){if(0x1===_0x1d0eef['length'])return _0x4e703f;_0x1d0eef['shift'](),_0xf41985['shift']();continue;}const _0x2edc05=_0x1d0eef[0x0][_0xf41985[0x0]++];_0x773814(_0x2edc05)&&_0x4ddb5e(_0x2edc05)&&_0x4e703f['push'](_0x2edc05),_0x3231a0(_0x2edc05)&&_0x2edc05['children']['length']>0x0&&(_0xf41985['unshift'](0x0),_0x1d0eef['unshift'](_0x2edc05['children']));}}function parseDocument(_0x5601a1,_0x3508a1){const _0x41010c=new _0x5cff66(void 0x0,_0x3508a1);return new _0x4b0775(_0x41010c,_0x3508a1)['end'](_0x5601a1),_0x41010c['root'];}function _0x47350e(_0x29873a){return parseDocument(_0x29873a);}function _0xa72b4c(_0x514e22){return _0x2c344f(_0x514e22);}function findByAttribute(_0x1f4eea,_0xad943,_0x2846d1){const _0x907663=null!==_0xad943?_0x153cff=>_0x153cff['attribs'][_0x1f4eea]===_0xad943:_0x1eba95=>Boolean(_0x1eba95['attribs'][_0x1f4eea]);return _0x808f46(_0x2bbfef=>_0x773814(_0x2bbfef)&&_0x907663(_0x2bbfef),_0x2846d1);}function findAllByAttribute(_0x5b4b1d,_0x1ea488,_0x5f2a20){const _0x488df=null!==_0x1ea488?_0x468b4b=>_0x468b4b['attribs'][_0x5b4b1d]===_0x1ea488:_0x3fb967=>Boolean(_0x3fb967['attribs'][_0x5b4b1d]);return _0x283d8c(_0x50b2e7=>_0x773814(_0x50b2e7)&&_0x488df(_0x50b2e7),_0x5f2a20);}function findAllComments(_0x1d133e){return _0xd2bf34(_0x3076b8=>isComment(_0x3076b8),_0x1d133e,!0x0,0x1/0x0);}function getAttribute(_0x470fd1,_0x28fa4c){return _0x470fd1&&_0x773814(_0x470fd1)?_0x470fd1['attribs'][_0x28fa4c]:null;}function setAttribute(_0x3c43dd,_0xa0b63b,_0x683f6){_0x773814(_0x3c43dd)&&(null===_0x683f6?delete _0x3c43dd['attribs'][_0xa0b63b]:_0x3c43dd['attribs'][_0xa0b63b]=_0x683f6);}function insertElement(_0x527eef,_0x1f3ccd,_0x33ca89){const _0x20e6ed=_0x1f3ccd['cloneNode'](!0x0);'beforebegin'===_0x33ca89?_0x4bb197(_0x527eef,_0x20e6ed):'afterbegin'===_0x33ca89?_0x31592a(_0x527eef,_0x20e6ed):'beforeend'===_0x33ca89?_0x3bba2a(_0x527eef,_0x20e6ed):'afterend'===_0x33ca89&&_0x47f8ed(_0x527eef,_0x20e6ed);}function moveElement(_0x47193d,_0x39bb8c){removeElement(_0x47193d),replaceElement(_0x39bb8c,_0x47193d);}function _0x1fb718(_0x3a020c){return _0x3a020c['cloneNode'](!0x0);}function getParents(_0x56b26f){const _0x5eddb8=[];let _0xf3fc60=_0x56b26f;for(;_0xf3fc60;)_0xf3fc60=getParent(_0xf3fc60),_0xf3fc60&&_0x5eddb8['push'](_0xf3fc60);return _0x5eddb8;}function _0x5bc7c4(_0x50b7c2){return _0x50b7c2['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x2b73c3(_0x17699d,_0xa5ba16){return _0x5bc7c4(_0xa72b4c(_0x17699d))===_0x5bc7c4(_0xa72b4c(_0xa5ba16));}function getNodeNestingLevel(_0xa16530){let _0x30f385=0x0;for(;_0xa16530['parentNode'];)_0xa16530=_0xa16530['parentNode'],_0x30f385++;return _0x30f385;}function removeElementsAfter(_0x3049cd){const _0x27f3ea=[];let _0x9db4ba=_0x3049cd['nextSibling'];for(;_0x9db4ba;)_0x27f3ea['push'](_0x9db4ba),_0x9db4ba=_0x9db4ba['nextSibling'];_0x27f3ea['forEach'](_0x21d5b7=>{removeElement(_0x21d5b7);});}class _0x5f1cbc extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_m2html'];constructor(){super(),this['_m2html']=new ckeditor5['MarkdownGfmMdToHtml']();}['convertMarkdownToHTML'](_0x2f6a72){const _0x314c40=this['_m2html']['parse'](_0x2f6a72);return this['parseAndNormalizeHTML'](_0x314c40);}['parseAndNormalizeHTML'](_0x37d691){return this['_parseHTML'](_0x37d691);}['_parseHTML'](_0x2275e7){const _0x45c186=_0x47350e('<dummy>'+_0x2275e7['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x45c186['children']=_0x45c186['children'][0x0]['children'],_0x45c186;}}class _0xa86715 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x4e8f39){super(),this['_generateUid']=_0x4e8f39||ckeditor5['uid'];}['merge'](_0x480386,_0x497bcd,_0x2a8286){const _0x2fa814=_0x1fb718(_0x480386);if(0x0===_0x497bcd['childNodes']['length']){const _0x5b8049=[];return findAllByAttribute('data-id','new-element',_0x2fa814)['forEach'](_0x5bf685=>{const _0x10f750=this['_generateUid']();setAttribute(_0x5bf685,'data-id',_0x10f750),_0x5b8049['push'](_0x10f750);}),this['_removeSpecialComments'](_0x2fa814),{'parsedContent':_0x2fa814,'newNodeIds':_0x5b8049,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x2a8286&&_0x2a8286['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x2fa814),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(findAllByAttribute('data-id',null,_0x497bcd)['map'](_0x2ebbe0=>getAttribute(_0x2ebbe0,'data-id'))['filter'](_0x2658cf=>!!_0x2658cf));let _0x18a0ec=-0x1,_0x55c141=!0x1;const _0xee5cad=_0x2fa814['childNodes'],_0x2d500f=Array['from'](_0xee5cad)['filter'](_0x1b7dc0=>!(0x3===_0x1b7dc0['nodeType']&&''===_0xa72b4c(_0x1b7dc0)['trim']())),_0x10720e=_0x2d500f['length'];for(let _0x1325b8=0x0;_0x1325b8<_0x10720e;_0x1325b8++){const _0x130799=_0x2d500f[_0x1325b8],_0x4760f8=_0x2d500f[_0x1325b8+0x1];if(this['_isNewNode'](_0x130799)){if(-0x1===_0x18a0ec&&(_0x18a0ec=_0x1325b8),this['_markWrappedElements'](_0x130799),!this['_isNewNode'](_0x4760f8)){const [_0x3e70e3,_0x4a6604]=this['_findReferenceNode'](_0x130799,_0x55c141,_0x497bcd);if(_0x3e70e3){const _0x40d6ca=Array['from'](_0x2d500f)['slice'](_0x18a0ec,_0x1325b8+0x1);this['_insertNodes'](_0x3e70e3,_0x40d6ca,_0x4a6604),_0x18a0ec=-0x1;}}}else{if(this['_isExistingContentComment'](_0x130799))_0x55c141=!0x0;else{if(this['_isExistingNode'](_0x130799)){const _0x57b095=getAttribute(_0x130799,'data-id');if(_0x57b095&&this['_existingDataIds']['has'](_0x57b095)){const _0x4f7e3b=findByAttribute('data-id',_0x57b095,_0x497bcd);this['_replaceNode'](_0x4f7e3b,_0x130799);}if(this['_touchedNodesState']['removedIds']['includes'](_0x57b095)){const _0x1f663e=this['_touchedNodesState']['removedIds']['indexOf'](_0x57b095);this['_touchedNodesState']['removedIds']['splice'](_0x1f663e,0x1);}}else{if(this['_isDelNode'](_0x130799)){const _0x2763ec=getAttribute(_0x130799,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0x2763ec)||this['_storeDeletedElementIds'](_0x130799);}}}}}for(const _0x4afe0c of this['_touchedNodesState']['removedIds']){const _0x411224=findByAttribute('data-id',_0x4afe0c,_0x497bcd);if(_0x411224){if(_0x2a8286&&_0x2a8286['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x4afe0c;const _0x288ac2=_0x2a8286['replaceRemovedWith']['cloneNode'](!0x0);setAttribute(_0x288ac2,'data-id',_0x4afe0c),setAttribute(_0x288ac2,'data-removed','true'),replaceElement(_0x411224,_0x288ac2);}else removeElement(_0x411224);}}if(findAllByAttribute('data-wrapped-id',null,_0x497bcd)['forEach'](_0x18f009=>{const _0x2661f2=findByAttribute('data-id',getAttribute(_0x18f009,'data-wrapped-id'),_0x497bcd);_0x2661f2&&moveElement(_0x2661f2,_0x18f009);}),findAllByAttribute('data-id','new-element',_0x497bcd)['forEach'](_0x3a0d61=>{const _0x10afad=this['_getUid'](_0x3a0d61);setAttribute(_0x3a0d61,'data-id',_0x10afad),this['_touchedNodesState']['newIds']['push'](_0x10afad);}),this['_removeSpecialComments'](_0x497bcd),_0x2a8286&&_0x2a8286['markUnstableElements']&&this['_markUnstableElements'](_0x497bcd,_0x2a8286['markUnstableElementsDepth']||0x0),_0x2a8286&&_0x2a8286['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0x531513=findByAttribute('data-id',this['_touchedNodesState']['lastTouchedId'],_0x497bcd);for(;_0x531513;)removeElementsAfter(_0x531513),_0x531513=_0x531513['parentNode'];}return{'parsedContent':_0x497bcd,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x112993,_0x3e6eda,_0xfc1762){for(const _0xade533 of _0x3e6eda){const _0x11fd84=this['_getUid'](_0xade533);setAttribute(_0xade533,'data-id',_0x11fd84),this['_touchedNodesState']['newIds']['push'](_0x11fd84),this['_touchedNodesState']['lastTouchedId']=_0x11fd84;}const _0x1a02e3='afterbegin'===_0xfc1762||'afterend'===_0xfc1762?_0x3e6eda['reverse']():_0x3e6eda;for(const _0x1899e9 of _0x1a02e3)insertElement(_0x112993,_0x1899e9,_0xfc1762);}['_replaceNode'](_0x2e735a,_0x3990e){if(!_0x2e735a)return;if(_0x2b73c3(_0x2e735a,_0x3990e))return;const _0x4777e1=this['_getUid'](_0x2e735a);setAttribute(_0x3990e,'data-id',_0x4777e1),this['_touchedNodesState']['modifiedIds']['push'](_0x4777e1),this['_touchedNodesState']['lastTouchedId']=_0x4777e1,replaceElement(_0x2e735a,_0x3990e['cloneNode'](!0x0));}['_findReferenceNode'](_0x59feab,_0x130969,_0x3120a4){const _0x83be3b=this['_findPrevElementWithDataId'](_0x59feab,!0x1);if(_0x83be3b){const _0x510d64=this['_getNodeDataId'](_0x83be3b),_0x3edaa6=findByAttribute('data-id',_0x510d64,_0x3120a4);if(_0x3edaa6)return[_0x3edaa6,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x510d64);}const _0x1c7fdb=this['_findNextElementWithDataId'](_0x59feab,!0x1);if(_0x1c7fdb){const _0x4e5e28=this['_getNodeDataId'](_0x1c7fdb),_0x35cf6b=findByAttribute('data-id',_0x4e5e28,_0x3120a4);if(_0x35cf6b)return[_0x35cf6b,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x4e5e28);}return _0x130969?_0x59feab['nextSibling']?this['_findFallbackReferenceNode'](_0x59feab,_0x3120a4):[_0x3120a4['childNodes'][_0x3120a4['childNodes']['length']-0x1],'afterend']:[_0x3120a4['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x49cee5,_0x29e0bc){const _0x5cbb04=[],_0x263ac2=this['_findPrevElementWithDataId'](_0x49cee5,!0x0);if(_0x263ac2){const _0x590ff0=findByAttribute('data-id',this['_getNodeDataId'](_0x263ac2),_0x29e0bc);_0x590ff0&&_0x5cbb04['push']([_0x590ff0,'afterend']);}const _0x5b0422=this['_findNextElementWithDataId'](_0x49cee5,!0x0);if(_0x5b0422){const _0x17c92c=findByAttribute('data-id',this['_getNodeDataId'](_0x5b0422),_0x29e0bc);_0x17c92c&&_0x5cbb04['push']([_0x17c92c,'beforebegin']);}if(_0x5cbb04['length']>0x1)return getNodeNestingLevel(_0x5cbb04[0x0][0x0])<=getNodeNestingLevel(_0x5cbb04[0x1][0x0])?_0x5cbb04[0x0]:_0x5cbb04[0x1];return 0x1===_0x5cbb04['length']?_0x5cbb04[0x0]:[_0x29e0bc['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x5cfa5f,_0x3c06c4){let _0x2b036c=_0x5cfa5f['nextSibling'],_0x130100=null,_0x2318c2=!0x1;for(;_0x2b036c;){if(isComment(_0x2b036c)){if(this['_isDelNode'](_0x2b036c)&&(_0x130100=_0x2b036c),this['_isExistingContentComment'](_0x2b036c)&&_0x3c06c4&&!_0x2318c2){_0x2318c2=!0x0,_0x2b036c=_0x2b036c['nextSibling'];continue;}break;}const _0x455897=getAttribute(_0x2b036c,'data-id');if(_0x455897&&'new-element'!==_0x455897&&this['_existingDataIds']['has'](_0x455897)){_0x130100=_0x2b036c;break;}_0x2b036c=_0x2b036c['nextSibling'];}return _0x130100;}['_findPrevElementWithDataId'](_0xb82067,_0x1a6e23){let _0x4c8f03=_0xb82067['previousSibling'],_0x29abe3=null,_0x23079e=!0x1;for(;_0x4c8f03;){if(isComment(_0x4c8f03)){if(this['_isDelNode'](_0x4c8f03)&&(_0x29abe3=_0x4c8f03),this['_isExistingContentComment'](_0x4c8f03)&&_0x1a6e23&&!_0x23079e){_0x23079e=!0x0,_0x4c8f03=_0x4c8f03['previousSibling'];continue;}break;}const _0x45bc70=getAttribute(_0x4c8f03,'data-id');if(_0x45bc70&&'new-element'!==_0x45bc70&&this['_existingDataIds']['has'](_0x45bc70)){_0x29abe3=_0x4c8f03;break;}_0x4c8f03=_0x4c8f03['previousSibling'];}return _0x29abe3;}['_markWrappedElements'](_0x5e75db){_0x773814(_0x5e75db)&&findAllByAttribute('data-id',null,_0x5e75db)['forEach'](_0x170314=>{this['_isExistingNode'](_0x170314)&&!this['_hasWrappedParent'](_0x170314)&&(setAttribute(_0x170314,'data-wrapped-id',getAttribute(_0x170314,'data-id')),setAttribute(_0x170314,'data-id',null));});}['_getNodeDataId'](_0x11048d){if(!_0x11048d)return null;if(_0x773814(_0x11048d))return getAttribute(_0x11048d,'data-id');if(isComment(_0x11048d)){const _0x2f8728=_0xa72b4c(_0x11048d)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x2f8728&&_0x2f8728[0x1])return _0x2f8728[0x1];}return null;}['_storeDeletedElementIds'](_0x19fd64){if(isComment(_0x19fd64)){const _0x18b7e8=_0xa72b4c(_0x19fd64)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x18b7e8&&_0x18b7e8[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x18b7e8[0x1]);}}['_getUid'](_0x4da672){return this['_isExistingNode'](_0x4da672)?getAttribute(_0x4da672,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x4aca13){findAllComments(_0x4aca13)['filter'](_0x268eeb=>this['_isDelNode'](_0x268eeb)||this['_isExistingContentComment'](_0x268eeb))['forEach'](_0x557d85=>{removeElement(_0x557d85);});}['_markLastTagElementUnstable'](_0x2c4097){const _0xcac01a=_0x2c4097['childNodes'],_0x2559ca=_0xcac01a[_0xcac01a['length']-0x1];_0x2559ca&&_0x773814(_0x2559ca)&&setAttribute(_0x2559ca,'data-unstable','true');}['_markUnstableElements'](_0x4b66d1,_0x53458c){const _0x1b76ad=findByAttribute('data-unstable','true',_0x4b66d1);if(!_0x1b76ad)return;const _0x5381bb=getParents(_0x1b76ad)['slice'](0x0,-0x1),_0xd6c801=_0x5381bb['length'];let _0x2c161d=_0x1b76ad;if(_0xd6c801>_0x53458c){let _0x55217f=_0xd6c801,_0x3d768a=null;for(;_0x55217f>_0x53458c&&_0x55217f>=0x0;)_0x55217f--,_0x3d768a=_0x5381bb[_0x55217f];_0x3d768a&&(_0x2c161d=_0x3d768a,setAttribute(_0x1b76ad,'data-unstable',null),setAttribute(_0x3d768a,'data-unstable','true'));}else{if(_0xd6c801<_0x53458c){let _0x4dbd4c=_0xd6c801,_0x1466db=_0x1b76ad;for(;_0x4dbd4c<_0x53458c;){const _0x3f04a2=_0x1466db['childNodes']['filter'](_0x1645a3=>_0x773814(_0x1645a3));if(0x0===_0x3f04a2['length'])break;_0x4dbd4c++,_0x1466db=_0x3f04a2[_0x3f04a2['length']-0x1];}_0x1466db&&(_0x2c161d=_0x1466db,setAttribute(_0x1b76ad,'data-unstable',null),setAttribute(_0x1466db,'data-unstable','true'));}}let _0x2611cc=_0x2c161d;for(;_0x2611cc;){for(;_0x2611cc['nextSibling'];)_0x2611cc=_0x2611cc['nextSibling'],_0x773814(_0x2611cc)&&setAttribute(_0x2611cc,'data-unstable','true');_0x2611cc=_0x2611cc['parentNode'];}}['_isNewNode'](_0x385ef0){return Boolean('new-element'===getAttribute(_0x385ef0,'data-id'));}['_isExistingNode'](_0x49ecda){return Boolean((getAttribute(_0x49ecda,'data-id')||'')['length']>0x0&&'new-element'!==getAttribute(_0x49ecda,'data-id'));}['_isDelNode'](_0x24c3e7){return!!_0x24c3e7&&Boolean(isComment(_0x24c3e7)&&_0xa72b4c(_0x24c3e7)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0x4dae32){let _0x3e53f1=_0x4dae32['parentNode'];for(;_0x3e53f1;){if(getAttribute(_0x3e53f1,'data-wrapped-id'))return!0x0;_0x3e53f1=_0x3e53f1['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x2e57d4){return Boolean(isComment(_0x2e57d4)&&_0xa72b4c(_0x2e57d4)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class _0x459925 extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x5fb8ea,_0x3b9909){let _0x3b049d;if(_0x3b9909||(_0x3b9909=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x3b9909?_0x3b049d=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x3b049d=this['context']['editors']['find'](_0x4cd30d=>_0x4cd30d['config']['get']('collaboration.channelId')==_0x3b9909)),!_0x3b049d)throw new ckeditor5['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x7ca964=_0x3b049d['plugins'],_0x1497aa=_0x7ca964['has']('CommentsRepository')?_0x7ca964['get']('CommentsRepository'):void 0x0,_0x5276f8=_0x7ca964['has']('CommentsOnly')&&_0x7ca964['get']('CommentsOnly'),_0x3b8302=_0x5fb8ea['includes']('document:write'),_0x130835=_0x5fb8ea['includes']('comment:modify_all'),_0x49b573=_0x5fb8ea['includes']('comment:admin'),_0x41533f=_0x5fb8ea['includes']('comment:write'),_0x155638=_0x41533f||_0x49b573,_0x667f18=_0x155638||_0x130835,_0x5ad980=_0x3b8302||_0x155638;(_0x5276f8&&(_0x5276f8['isEnabled']=!_0x3b8302&&_0x667f18),_0x3b049d instanceof ckeditor5['Editor'])&&(!(_0x3b8302||_0x667f18&&_0x1497aa)?_0x3b049d['enableReadOnlyMode']('no-permissions'):_0x3b049d['disableReadOnlyMode']('no-permissions'));if(_0x1497aa){_0x1497aa['setPermissions']({'admin':_0x49b573,'modifyAll':_0x130835,'write':_0x41533f,'resolve':_0x5ad980},_0x3b9909);const _0x5e0282=_0x3b049d instanceof ckeditor5['Editor']&&_0x3b049d['commands']['get']('addCommentThread');_0x5e0282&&(_0x155638?_0x5e0282['clearForceDisabled']('noPermissions'):_0x5e0282['forceDisabled']('noPermissions'));}}}function getTranslation$h(_0x452b60,_0xd91102){const t=_0x452b60['t'];switch(_0xd91102){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'';}}class _0x59867e extends ckeditor5['ContextPlugin']{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x459925];}constructor(_0x1ca464){super(_0x1ca464),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new ckeditor5['Collection'](),this['_locale']=_0x1ca464['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:_0x5701ee,name:_0x173297,..._0x1d42d9}){if(!_0x5701ee||'string'!=typeof _0x5701ee)throw new ckeditor5['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x5701ee))throw new ckeditor5['CKEditorError']('users-add-duplicated-id',null,{'id':_0x5701ee});const _0x2b2985=this['context']['config']['get']('users.getInitialsCallback'),_0x6847d3={..._0x1d42d9,'id':_0x5701ee,'name':_0x5b1bc8(this['_locale'],_0x173297),'color':this['_getNextColor']()};_0x6847d3['name']=_0x5b1bc8(this['_locale'],_0x6847d3['name']);const _0xad3ff=new _0x1db742(_0x6847d3,_0x2b2985);return this['users']['add'](_0xad3ff),_0xad3ff;}['getUser'](_0x510f4b){return this['users']['get'](_0x510f4b);}['useAnonymousUser'](){const _0x657c93=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x657c93);}['defineMe'](_0x46d507){if(this['_myId'])throw new ckeditor5['CKEditorError']('users-me-already-defined',null);const _0xc26580=this['getUser'](_0x46d507);if(!_0xc26580)throw new ckeditor5['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x46d507,_0xc26580['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x548d5c=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x548d5c&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x1e24cf=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x1e24cf,'name':getTranslation$h(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x1db742=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x360c81,_0x47cf4b){this['id']=_0x360c81['id'],this['color']=_0x360c81['color'],this['name']=_0x360c81['name'],this['initials']=_0x47cf4b?_0x47cf4b(this['name']):this['_computeInitials'](),this['avatar']=_0x360c81['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x30140c=this['name']['split']('\x20')['filter'](_0x338785=>/^[\p{Letter}]/u['test'](_0x338785));return 0x1===_0x30140c['length']?this['_getInitial'](_0x30140c[0x0]):0x0===_0x30140c['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x30140c[0x0])+this['_getInitial'](_0x30140c[_0x30140c['length']-0x1]);}['_getInitial'](_0x5c53ff){return String['fromCodePoint'](_0x5c53ff['codePointAt'](0x0))['toUpperCase']();}};function _0x5b1bc8(_0xe4b883,_0x534fba=''){return''==(_0x534fba=_0x534fba['trim']())?getTranslation$h(_0xe4b883,'Anonymous'):_0x534fba;}class CollaborationUserColor{['_id'];constructor(_0x1d4499){this['_id']=_0x1d4499;}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'];}}class _0x515305 extends ckeditor5['View']{['name'];['notificationView'];constructor(_0x4258ac,_0x3d6fc4,_0x62bae9){super(_0x4258ac),this['name']=_0x3d6fc4['name'],this['notificationView']=null;const _0x5136cc=['ck','ck-user'],_0x367fa1=['ck','ck-user__img'];if(_0x3d6fc4['isAnonymous']&&_0x367fa1['push']('ck-user__anonymous'),!_0x3d6fc4['isAnonymous']&&_0x3d6fc4['isMe']&&_0x5136cc['push']('ck-user_me'),_0x3d6fc4['avatar']&&_0x367fa1['push']('ck-user__avatar'),_0x62bae9){const _0x5b7477=new ckeditor5['IconView']();_0x5b7477['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x5b7477['content']=ckeditor5['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x62bae9},'children':[_0x5b7477]};}const _0x3529e5=[{'tag':'div','attributes':{'class':_0x367fa1,'style':{'background-image':_0x3d6fc4['avatar']?'url(\x27'+_0x3d6fc4['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x3d6fc4['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x3d6fc4['name']},'children':[{'text':_0x3d6fc4['initials']}]}];this['notificationView']&&_0x3529e5['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x5136cc,'data-user-id':_0x3d6fc4['id']},'children':_0x3529e5});}}class AriaDescriptionView extends ckeditor5['View']{['id'];constructor(_0x34afe4,_0x51451b){super(_0x34afe4),this['id']='ck-aria-description-'+ckeditor5['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x51451b}]});}}class LateFocusButtonView extends ckeditor5['ButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}class LateFocusDropdownButtonView extends ckeditor5['DropdownButtonView']{['render'](){super['render'](),delayFocusUntilMouseup(this);}}function delayFocusUntilMouseup(_0x2d515c){_0x2d515c['listenTo'](_0x2d515c['element'],'mousedown',(_0x1896e3,_0x46c8c2)=>{_0x46c8c2['stopPropagation'](),_0x46c8c2['preventDefault']();}),_0x2d515c['listenTo'](_0x2d515c['element'],'mouseup',()=>{_0x2d515c['element']['focus']();});}function splitSuggestionMarkerName(_0x4515b5){const _0xccb85a=_0x4515b5['split'](':');return{'group':_0xccb85a[0x0],'type':_0xccb85a[0x1],'subType':_0xccb85a['length']>=0x5?_0xccb85a[0x2]:null,'id':_0xccb85a['length']<0x5?_0xccb85a[0x2]:_0xccb85a[0x3],'authorId':_0xccb85a['length']<0x5?_0xccb85a[0x3]:_0xccb85a[0x4],'markerCount':0x6==_0xccb85a['length']?_0xccb85a[0x5]:null};}function fixElementSuggestionRange(_0x39bf1c,_0x36f2b3){const _0x68cee4=_0x39bf1c['end']['nodeBefore'];if(_0x68cee4&&_0x68cee4['is']('element')&&_0x36f2b3['schema']['isBlock'](_0x68cee4)&&!_0x36f2b3['schema']['isObject'](_0x68cee4)){const _0x149215=_0x36f2b3['createPositionAt'](_0x68cee4,'end');return _0x36f2b3['createRange'](_0x39bf1c['start'],_0x149215);}return _0x39bf1c;}class SuggestionsConversionAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x3e2900=this['editor'];if(!_0x3e2900['plugins']['has']('AlignmentEditing'))return;_0x3e2900['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const basicStylesPlugins$1=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x2cf936=this['editor'],_0x2a0d9a=_0x2cf936['plugins']['get']('SuggestionsConversion');for(const _0x221574 of basicStylesPlugins$1){if(!_0x2cf936['plugins']['has'](_0x221574))continue;const _0x2e83a2=_0x221574['slice'](0x0,-0x7)['toLowerCase']();_0x2a0d9a['registerInlineAttribute'](_0x2e83a2);}}}class SuggestionsConversionBookmark extends ckeditor5['Plugin']{['afterInit'](){const _0xdc92c7=this['editor'],_0x1d51d1=_0xdc92c7['plugins']['get']('SuggestionsConversion');_0xdc92c7['plugins']['has']('BookmarkEditing')&&_0x1d51d1['registerBlockAttribute']('bookmarkId');}}const fontPlugins$1=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends ckeditor5['Plugin']{['afterInit'](){const _0x31c676=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x41ceef,commandName:_0x5f1002}of fontPlugins$1)this['editor']['plugins']['has'](_0x41ceef)&&_0x31c676['registerInlineAttribute'](_0x5f1002);}}class SuggestionsConversionFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {editor:_0x44f7ae}=this;if(!_0x44f7ae['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x401b74=_0x44f7ae['plugins']['get']('SuggestionsConversion');_0x401b74['registerBlockAttribute']('footnotesListStyle'),_0x401b74['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x3b6549=this['editor'];if(!_0x3b6549['plugins']['has']('HighlightEditing'))return;_0x3b6549['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0xcd6517=this['editor'];if(!_0xcd6517['plugins']['has']('HtmlEmbed'))return;_0xcd6517['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends ckeditor5['Plugin']{['afterInit'](){const _0x200a19=this['editor'];if(!_0x200a19['plugins']['has']('ImageEditing'))return;const _0x1ba930=_0x200a19['plugins']['get']('SuggestionsConversion');_0x1ba930['registerBlockAttribute']('src'),_0x200a19['plugins']['has']('ImageResize')&&_0x1ba930['registerBlockAttribute']('resizedWidth'),_0x200a19['plugins']['has']('ImageTextAlternativeEditing')&&_0x1ba930['registerBlockAttribute']('alt'),_0x200a19['plugins']['has']('PictureEditing')&&_0x1ba930['registerBlockAttribute']('sources'),_0x200a19['plugins']['has']('ImageSizeAttributes')&&(_0x1ba930['registerBlockAttribute']('width'),_0x1ba930['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends ckeditor5['Plugin']{['afterInit'](){const _0xa60bf=this['editor'],_0x9e9f1c=_0xa60bf['plugins']['get']('SuggestionsConversion');_0xa60bf['plugins']['has']('IndentBlock')&&(_0x9e9f1c['registerBlockAttribute']('blockIndent'),_0xa60bf['plugins']['has']('ListEditing')&&(_0x9e9f1c['registerBlockAttribute']('blockIndentList'),_0x9e9f1c['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x1cfd11=this['editor'];if(!_0x1cfd11['plugins']['has']('LineHeight'))return;_0x1cfd11['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends ckeditor5['Plugin']{['afterInit'](){const _0x2c75eb=this['editor'];if(!_0x2c75eb['plugins']['has']('LinkEditing'))return;const _0x376b6d=_0x2c75eb['plugins']['get']('SuggestionsConversion'),_0x57db5a=_0x2c75eb['commands']['get']('link');_0x376b6d['registerInlineAttribute']('linkHref');for(const _0xb61d94 of _0x57db5a['manualDecorators'])_0x376b6d['registerInlineAttribute'](_0xb61d94['id']);}}class SuggestionsConversionList extends ckeditor5['Plugin']{['afterInit'](){const _0x14a9cc=this['editor'];if(!_0x14a9cc['plugins']['has']('ListEditing'))return;const _0x2c99f5=_0x14a9cc['plugins']['get']('SuggestionsConversion'),_0x4be288=_0x14a9cc['plugins']['has']('TodoListEditing');_0x2c99f5['registerBlockAttribute']('listItemId'),_0x2c99f5['registerBlockAttribute']('listType'),_0x2c99f5['registerBlockAttribute']('listIndent'),_0x4be288&&_0x2c99f5['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x2d0f6e=this['editor']['config']['get']('list.properties'),_0x35752d=this['editor']['plugins']['get']('SuggestionsConversion');_0x2d0f6e['styles']&&_0x35752d['registerBlockAttribute']('listStyle'),_0x2d0f6e['reversed']&&_0x35752d['registerBlockAttribute']('listReversed'),_0x2d0f6e['startIndex']&&_0x35752d['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x30d92d=this['editor'],_0x4c81ff=_0x30d92d['plugins']['get']('SuggestionsConversion');_0x30d92d['plugins']['has']('MultiLevelList')&&_0x4c81ff['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x2e7a39=this['editor'];if(!_0x2e7a39['plugins']['has']('Style')||!_0x2e7a39['plugins']['has']('DataSchema')||!_0x2e7a39['config']['get']('style.definitions'))return;const _0x44ffc1=_0x2e7a39['plugins']['get']('SuggestionsConversion'),_0x4eec1d=_0x2e7a39['config']['get']('style.definitions'),_0x41ebcc=_0x2e7a39['plugins']['get']('GeneralHtmlSupport'),_0x33cacf=_0x2e7a39['plugins']['get']('StyleUtils')['normalizeConfig'](_0x2e7a39['plugins']['get']('DataSchema'),_0x4eec1d),_0x230074=new Set();for(const _0x3eaeee of _0x33cacf['block']){const _0x954014=_0x41ebcc['getGhsAttributeNameForElement'](_0x3eaeee['element']);_0x230074['add'](_0x954014);}const _0x458f50=new Set();for(const _0x3b64d7 of _0x33cacf['inline']){const _0x2f2101=_0x41ebcc['getGhsAttributeNameForElement'](_0x3b64d7['element']);_0x458f50['add'](_0x2f2101);for(const _0x35a7d5 of _0x3b64d7['ghsAttributes'])_0x458f50['add'](_0x35a7d5);}for(const _0x3a3aaa of _0x230074)_0x44ffc1['registerBlockAttribute'](_0x3a3aaa);for(const _0x3d08f6 of _0x458f50)_0x44ffc1['registerInlineAttribute'](_0x3d08f6);}}class SuggestionsConversionTableHeadings extends ckeditor5['Plugin']{['afterInit'](){const _0x289b89=this['editor'];if(!_0x289b89['plugins']['has']('TableEditing'))return;const _0x3939bb=_0x289b89['plugins']['get']('SuggestionsConversion');_0x3939bb['registerBlockAttribute']('headingRows'),_0x3939bb['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x521794}=this['editor'];if(!_0x521794['has']('TablePropertiesEditing'))return;const _0x43d581=_0x521794['get']('SuggestionsConversion'),_0x11a563=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x3a4526 of _0x11a563)_0x43d581['registerBlockAttribute'](_0x3a4526);}}class SuggestionsConversionTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x552504=this['editor'],_0x5506d7=_0x552504['plugins']['get']('SuggestionsConversion');_0x552504['plugins']['has']('TableLayout')&&_0x5506d7['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends ckeditor5['Plugin']{['afterInit'](){const _0x215228=this['editor'],_0x4d5991=this['editor']['plugins']['get']('SuggestionsConversion');_0x215228['plugins']['has']('Uploadcare')&&_0x215228['plugins']['has']('UploadcareImageEdit')&&_0x4d5991['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends ckeditor5['Plugin']{['afterInit'](){const _0x313ecb=this['editor'];if(!_0x313ecb['plugins']['has']('ShiftEnter'))return;const _0x42e396=_0x313ecb['plugins']['get']('SuggestionsConversion'),_0x1bfcee=(_0x375019,_0x51292f,_0x230bc7,_0x5ae81a)=>{if(_0x5ae81a&&!_0x230bc7['options']['showSuggestionHighlights'])return;if(!_0x230bc7['consumable']['test'](_0x51292f['markerRange'],_0x375019['name']))return;const _0x43e82b=_0x313ecb['model'];for(const _0x4c336e of _0x51292f['markerRange']['getItems']()){if(!_0x4c336e['is']('element','softBreak'))continue;const _0xf179d8='deletion'==_0x51292f['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x51f04d,authorId:_0x2f066b}=splitSuggestionMarkerName(_0x51292f['markerName']),_0x28bfd2=_0x230bc7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xf179d8,'data-suggestion':_0x51f04d,'data-author-id':_0x2f066b}),_0x44f8c8=_0x230bc7['mapper']['toViewPosition'](_0x43e82b['createPositionBefore'](_0x4c336e));!_0x5ae81a&&_0x42e396['_activeMarkers']['includes'](_0x51292f['markerName'])&&_0x230bc7['writer']['addClass']('ck-suggestion-marker--active',_0x28bfd2),_0x230bc7['writer']['insert'](_0x44f8c8,_0x28bfd2),_0x230bc7['mapper']['bindElementToMarker'](_0x28bfd2,_0x51292f['markerName']);}};_0x313ecb['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4d13ba,_0x40ccf2,_0x306306)=>{_0x1bfcee(_0x4d13ba,_0x40ccf2,_0x306306,!0x1);},{'priority':'high'}),_0x313ecb['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x15c9a1,_0x29fa92,_0x185560)=>{_0x1bfcee(_0x15c9a1,_0x29fa92,_0x185560,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0x35916f=this['editor'];_0x35916f['plugins']['has']('MediaEmbedEditing')&&(_0x35916f['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4025c2,{writer:_0x722fc1,options:_0xfbc582})=>{if(_0xfbc582['showSuggestionHighlights'])return _0x722fc1['createEmptyElement']('div');},'converterPriority':'high'}),_0x35916f['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5948fb,_0x163314,_0x232cfd)=>{_0x232cfd['options']['showSuggestionHighlights']&&_0x5948fb['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends ckeditor5['Plugin']{['afterInit'](){const _0x49533a=this['editor'];if(!_0x49533a['plugins']['has']('Table'))return;_0x49533a['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x1a23e6,_0x371120,_0x3e6dc2)=>{((_0x4ce067,_0x38eee4,_0x4620e0)=>{if(!_0x4620e0['options']['showSuggestionHighlights'])return;const _0x2b799a=_0x38eee4['item'];if(!_0x2b799a||!_0x2b799a['is']('element','tableCell'))return;const _0x331ffb=_0x4620e0['mapper']['toViewElement'](_0x2b799a);if(_0x331ffb){const {id:_0x32dc12,authorId:_0x37e2dc}=splitSuggestionMarkerName(_0x38eee4['markerName']);ckeditor5['setHighlightHandling'](_0x331ffb,_0x4620e0['writer'],(_0x3e47a0,_0x2215b9,_0x17e2bb)=>{_0x17e2bb['addClass'](ckeditor5['toArray'](_0x2215b9['classes']),_0x3e47a0),_0x17e2bb['setAttribute']('data-suggestion-id',_0x32dc12,_0x3e47a0),_0x17e2bb['setAttribute']('data-author-id',_0x37e2dc,_0x3e47a0);});}})(0x0,_0x371120,_0x3e6dc2);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x19b2fd=this['editor'];_0x19b2fd['plugins']['has']('HorizontalLineEditing')&&_0x19b2fd['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x4be84c,{writer:_0x1e4c5b,options:_0x3d7b4f})=>{if(!_0x3d7b4f['showSuggestionHighlights'])return null;const _0x36b496=_0x1e4c5b['createContainerElement']('div'),_0x4fe560=_0x1e4c5b['createEmptyElement']('hr');return _0x1e4c5b['addClass']('ck-horizontal-line',_0x36b496),_0x1e4c5b['insert'](_0x1e4c5b['createPositionAt'](_0x36b496,0x0),_0x4fe560),_0x36b496;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x1e5612,model:_0x25dd45}=this['editor'];if(!_0x1e5612['has']('TableCellPropertiesEditing'))return;const _0x424044=_0x1e5612['get']('SuggestionsConversion'),_0x1aa6a0=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x3a9ab9 of _0x1aa6a0)_0x424044['registerBlockAttribute'](_0x3a9ab9);_0x25dd45['schema']['checkAttribute']('tableCell','tableCellType')&&_0x424044['registerBlockAttribute']('tableCellType');}}class SuggestionsConversion extends ckeditor5['Plugin']{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionStylesDropdown,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x94ac7f=this['editor'],_0x5cc48f=(_0x100af0,_0x29f0e0,_0x234b03)=>{const {id:_0x90396f,authorId:_0x4bcf05,type:_0x25f2df,subType:_0x4c03cf}=splitSuggestionMarkerName(_0x100af0['markerName']),_0xba3af2=['ck-suggestion-marker',this['_getClassName'](_0x25f2df,_0x4c03cf)];let _0x1b92be=0xbb8;return!_0x234b03&&(this['_activeMarkers']['includes'](_0x100af0['markerName'])&&(_0xba3af2['push']('ck-suggestion-marker--active'),_0x1b92be=0xbc2)),('deletion'==_0x25f2df&&(_0x1b92be+=0x5),{'classes':_0xba3af2,'attributes':{'data-suggestion':_0x90396f,'data-author-id':_0x4bcf05},'priority':_0x1b92be});};_0x94ac7f['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1cfbb6,_0x1fde47)=>_0x5cc48f(_0x1cfbb6,0x0,!0x1)}),_0x94ac7f['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x18df59,_0x3fba0e)=>_0x5cc48f(_0x18df59,0x0,!0x0)}),_0x94ac7f['conversion']['for']('dataDowncast')['add'](_0x5bac93=>{_0x5bac93['on']('addMarker:suggestion',(_0x54504f,_0xf722c9,_0x86f537)=>{if(!_0x86f537['options']['showSuggestionHighlights'])return;const _0x5dc287=_0xf722c9['item'];if(!_0x5dc287)return;const _0x4227d3=_0x86f537['mapper']['toViewElement'](_0x5dc287);_0x94ac7f['model']['schema']['isObject'](_0x5dc287)&&_0x4227d3&&!_0x4227d3['getCustomProperty']('widget')&&_0x4227d3['is']('containerElement')&&ckeditor5['toWidget'](_0x4227d3,_0x86f537['writer']);},{'priority':'high'});});const _0x3158e5=(_0x21bfb7,_0x1cfc89,_0x4e7b3f,_0x323a32,_0x396eb5)=>{if(_0x323a32&&!_0x4e7b3f['options']['showSuggestionHighlights'])return;if(!_0x1cfc89['item'])return;const {id:_0x555a1c,authorId:_0xa933b6,subType:_0x12d1b4}=splitSuggestionMarkerName(_0x1cfc89['markerName']);if(_0x396eb5){const _0x8e59c2=_0x12d1b4['split']('|')[0x0];if(!this['isBlockAttribute'](_0x8e59c2))return;}if(_0x1cfc89['item']['is']('selection'))return void _0x4e7b3f['consumable']['consume'](_0x1cfc89['item'],_0x21bfb7['name']);const _0xb06dd1=_0x4e7b3f['mapper']['toViewElement'](_0x1cfc89['item']);if(_0x1cfc89['item']['is']('element')&&_0x94ac7f['model']['schema']['isBlock'](_0x1cfc89['item'])&&!_0xb06dd1['getCustomProperty']('addHighlight')){_0x4e7b3f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0xb06dd1),_0x4e7b3f['writer']['setAttribute']('data-suggestion',_0x555a1c,_0xb06dd1),_0x4e7b3f['writer']['setAttribute']('data-author-id',_0xa933b6,_0xb06dd1),_0x4e7b3f['mapper']['bindElementToMarker'](_0xb06dd1,_0x1cfc89['markerName']),_0x323a32||(this['_activeMarkers']['includes'](_0x1cfc89['markerName'])?_0x4e7b3f['writer']['addClass']('ck-suggestion-marker--active',_0xb06dd1):_0x4e7b3f['writer']['removeClass']('ck-suggestion-marker--active',_0xb06dd1));for(const _0x3aa94b of _0x94ac7f['model']['createRangeIn'](_0x1cfc89['item'])['getItems']())_0x4e7b3f['consumable']['consume'](_0x3aa94b,_0x21bfb7['name']);_0x4e7b3f['consumable']['consume'](_0x1cfc89['item'],_0x21bfb7['name']);}},_0x5b2a64=(_0x5c16c0,_0x572d1d,_0x136bfe,_0x2c6664)=>{const _0x40652e=_0x136bfe['mapper']['markerNameToElements'](_0x572d1d['markerName']);if(_0x40652e){if(_0x2c6664){const {subType:_0x1e9a6b}=splitSuggestionMarkerName(_0x572d1d['markerName']),_0x3969e3=_0x1e9a6b['split']('|')[0x0];if(!this['isBlockAttribute'](_0x3969e3))return;}for(const _0x4fae06 of _0x40652e)_0x4fae06['getCustomProperty']('addHighlight')||(_0x136bfe['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x4fae06),_0x136bfe['writer']['removeAttribute']('data-suggestion',_0x4fae06),_0x136bfe['writer']['removeAttribute']('data-author-id',_0x4fae06),_0x136bfe['mapper']['unbindElementFromMarkerName'](_0x4fae06,_0x572d1d['markerName']));}};_0x94ac7f['conversion']['for']('editingDowncast')['add'](_0x93e4cd=>{_0x93e4cd['on']('addMarker:suggestion:formatBlock',(_0x2895c2,_0x5d385b,_0x3fa17e)=>{_0x3158e5(_0x2895c2,_0x5d385b,_0x3fa17e,!0x1,!0x1);},{'priority':'high'});}),_0x94ac7f['conversion']['for']('editingDowncast')['add'](_0x40bbee=>{_0x40bbee['on']('addMarker:suggestion:attribute',(_0x19169b,_0x539432,_0x1f3b97)=>{_0x3158e5(_0x19169b,_0x539432,_0x1f3b97,!0x1,!0x0);},{'priority':'high'});}),_0x94ac7f['conversion']['for']('editingDowncast')['add'](_0x6733fa=>{_0x6733fa['on']('removeMarker:suggestion:formatBlock',(_0x47af2d,_0x398ebd,_0x42fad0)=>{_0x5b2a64(0x0,_0x398ebd,_0x42fad0,!0x1);},{'priority':'high'});}),_0x94ac7f['conversion']['for']('editingDowncast')['add'](_0x1f27b0=>{_0x1f27b0['on']('removeMarker:suggestion:attribute',(_0x2681d9,_0x1e6272,_0x3a0539)=>{_0x5b2a64(0x0,_0x1e6272,_0x3a0539,!0x0);},{'priority':'high'});}),_0x94ac7f['conversion']['for']('dataDowncast')['add'](_0x399e18=>{_0x399e18['on']('addMarker:suggestion:formatBlock',(_0x1f8b19,_0x48e3e4,_0x2fc9b1)=>{_0x3158e5(_0x1f8b19,_0x48e3e4,_0x2fc9b1,!0x0,!0x1);},{'priority':'highest'});}),_0x94ac7f['conversion']['for']('dataDowncast')['add'](_0x2eb560=>{_0x2eb560['on']('addMarker:suggestion:attribute',(_0x586cfc,_0x4837a4,_0x5355c3)=>{_0x3158e5(_0x586cfc,_0x4837a4,_0x5355c3,!0x0,!0x0);},{'priority':'highest'});}),_0x94ac7f['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x51a04d,_0x155ea8)=>{if(_0x155ea8['options']['showSuggestionHighlights']){const {id:_0x30c8c7,authorId:_0x23e7fc}=splitSuggestionMarkerName(_0x51a04d);return _0x51a04d['includes'](':split')||_0x51a04d['includes'](':merge')?{'group':'suggestion','name':_0x51a04d['substr'](0xb),'attributes':{'data-suggestion':_0x30c8c7,'data-author-id':_0x23e7fc}}:null;}return{'group':'suggestion','name':_0x51a04d['substr'](0xb)};}});const _0x2b26d7=(_0x398bd7,_0x500d33,_0x2116d,_0x2ee74f,_0x4e0615)=>{if(_0x2ee74f&&!_0x2116d['options']['showSuggestionHighlights'])return;if(!_0x2116d['consumable']['test'](_0x500d33['markerRange'],_0x398bd7['name']))return;const _0x1a66de=this['_activeMarkers'],_0x50870d=_0x500d33['markerRange']['getWalker'](),_0xb008ce=_0x500d33['markerRange']['start'],_0xf01a8e=_0x94ac7f['model']['schema'];let _0x409a7a=null,_0x85a630=null,_0x55dfc6=!0x1,_0x325c3a=!0x1;for(const _0xd1ae29 of _0x50870d){const _0x38b457=_0xd1ae29['item'];_0x55dfc6=_0x55dfc6||_0xf01a8e['isContent'](_0x38b457);const _0x7663f0=_0x2116d['mapper']['toViewElement'](_0x38b457);if(_0x7663f0&&_0x7663f0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xd1ae29['type']&&(_0xf01a8e['isBlock'](_0x38b457)&&!_0xf01a8e['isLimit'](_0x38b457)&&(_0x38b457['nextSibling']||_0xb008ce['isAtEnd']?_0x409a7a&&_0x409a7a['parent']==_0x38b457||(_0x409a7a=_0x38b457,_0x56bb27(_0xd1ae29['previousPosition']),_0x325c3a=!0x0):_0x85a630=_0x85a630||_0xd1ae29['previousPosition']));}function _0x56bb27(_0x39b744){const {id:_0x287e42,authorId:_0x442160}=splitSuggestionMarkerName(_0x500d33['markerName']),_0x1c3bfa=_0x2116d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4e0615,'data-suggestion':_0x287e42,'data-author-id':_0x442160}),_0x4ac125=_0x2116d['mapper']['toViewPosition'](_0x39b744);!_0x2ee74f&&_0x1a66de['includes'](_0x500d33['markerName'])&&_0x2116d['writer']['addClass']('ck-suggestion-marker--active',_0x1c3bfa),_0x2116d['writer']['insert'](_0x4ac125,_0x1c3bfa),_0x2116d['mapper']['bindElementToMarker'](_0x1c3bfa,_0x500d33['markerName']);}_0x55dfc6||_0x325c3a||!_0x85a630||_0x56bb27(_0x85a630);};_0x94ac7f['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x24e944,_0x5dffb8,_0x4bfc78)=>{_0x2b26d7(_0x24e944,_0x5dffb8,_0x4bfc78,!0x1,'merge');},{'priority':'high'}),_0x94ac7f['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3fb063,_0x121165,_0x34ab7c)=>{_0x2b26d7(_0x3fb063,_0x121165,_0x34ab7c,!0x0,'merge');},{'priority':'high'}),_0x94ac7f['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xfa9c13,_0x2bb804,_0x4c2ed8)=>{_0x2b26d7(_0xfa9c13,_0x2bb804,_0x4c2ed8,!0x1,'split');},{'priority':'high'}),_0x94ac7f['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xd7e610,_0x267fc3,_0x2fbaf7)=>{_0x2b26d7(_0xd7e610,_0x267fc3,_0x2fbaf7,!0x0,'split');},{'priority':'high'}),_0x94ac7f['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0xc3f90a,_0x1a69c2,_0x345dd4)=>{((_0x282b9f,_0x4ec10a,_0x374fdd)=>{const _0x5a5352=_0x374fdd['mapper']['markerNameToElements'](_0x4ec10a['markerName']);if(_0x5a5352){for(const _0x513f14 of _0x5a5352)(_0x513f14['hasClass']('ck-suggestion-marker-split')||_0x513f14['hasClass']('ck-suggestion-marker-merge'))&&(_0x374fdd['mapper']['unbindElementFromMarkerName'](_0x513f14,_0x4ec10a['markerName']),_0x374fdd['writer']['remove'](_0x513f14));}})(0x0,_0x1a69c2,_0x345dd4);},{'priority':'high'});const _0x2fcd3e=(_0x802df9,_0xfbc048,_0x3d9e81,_0x2d748f)=>{if(_0x2d748f&&!_0x3d9e81['options']['showSuggestionHighlights'])return;const _0x2a26f6=_0xfbc048['markerRange']['start'],_0x18acd1=_0xfbc048['markerRange']['end'],_0xcecda7=_0x94ac7f['model']['schema'];if(!_0x2a26f6['isTouching'](_0x18acd1)||!_0x2a26f6['nodeAfter'])return;const _0x4ccda9=_0x2a26f6['nodeAfter'];if(_0xcecda7['isBlock'](_0x4ccda9)&&!_0xcecda7['isLimit'](_0x4ccda9)&&_0xcecda7['checkChild'](_0x4ccda9,'$text')){if(!_0x3d9e81['consumable']['consume'](_0xfbc048['markerRange'],_0x802df9['name']))return;const {id:_0x2924e9,authorId:_0x4702a4}=splitSuggestionMarkerName(_0xfbc048['markerName']),_0x57fd9f=_0x3d9e81['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x2924e9,'data-author-id':_0x4702a4}),_0x1be921=_0x3d9e81['mapper']['toViewPosition'](_0x18acd1);!_0x2d748f&&this['_activeMarkers']['includes'](_0xfbc048['markerName'])&&_0x3d9e81['writer']['addClass']('ck-suggestion-marker--active',_0x57fd9f),_0x3d9e81['writer']['insert'](_0x1be921,_0x57fd9f),_0x3d9e81['mapper']['bindElementToMarker'](_0x57fd9f,_0xfbc048['markerName']);}};_0x94ac7f['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x51795c,_0x4d7f7d,_0x4512cf)=>{_0x2fcd3e(_0x51795c,_0x4d7f7d,_0x4512cf,!0x1);},{'priority':'high'}),_0x94ac7f['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5d5adb,_0x211652,_0x5d9d31)=>{_0x2fcd3e(_0x5d5adb,_0x211652,_0x5d9d31,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x17f209,_0x56ae7c,_0x2b022f)=>{this['_activeMarkers']=_0x2b022f['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x10b7d3){this['_blockAttributeKeys']['add'](_0x10b7d3);}['registerInlineAttribute'](_0x155a26){this['_inlineAttributeKeys']['add'](_0x155a26);}['isBlockAttribute'](_0x369f2f){return this['_blockAttributeKeys']['has'](_0x369f2f);}['isInlineAttribute'](_0x59f1b2){return this['_inlineAttributeKeys']['has'](_0x59f1b2);}['isRegisteredAttribute'](_0x2ecd05){return this['isInlineAttribute'](_0x2ecd05)||this['isBlockAttribute'](_0x2ecd05);}['_getClassName'](_0x9c6cfb,_0x223f90){if('attribute'!=_0x9c6cfb)return'ck-suggestion-marker-'+_0x9c6cfb;const _0x39d10f=_0x223f90['split']('|')[0x0];return this['isBlockAttribute'](_0x39d10f)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x48d101 extends Error{}class InvalidDateTimeError extends _0x48d101{constructor(_0x569177){super('Invalid\x20DateTime:\x20'+_0x569177['toMessage']());}}class InvalidIntervalError extends _0x48d101{constructor(_0x443fbc){super('Invalid\x20Interval:\x20'+_0x443fbc['toMessage']());}}class InvalidDurationError extends _0x48d101{constructor(_0x30391a){super('Invalid\x20Duration:\x20'+_0x30391a['toMessage']());}}class ConflictingSpecificationError extends _0x48d101{}class InvalidUnitError extends _0x48d101{constructor(_0x286b0f){super('Invalid\x20unit\x20'+_0x286b0f);}}class InvalidArgumentError extends _0x48d101{}class ZoneIsAbstractError extends _0x48d101{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0x223e4d='numeric',_0x2ee63b='short',_0x33a96d='long',_0x488b50={'year':_0x223e4d,'month':_0x223e4d,'day':_0x223e4d},_0x32a13c={'year':_0x223e4d,'month':_0x2ee63b,'day':_0x223e4d},_0x574812={'year':_0x223e4d,'month':_0x2ee63b,'day':_0x223e4d,'weekday':_0x2ee63b},_0x5e3018={'year':_0x223e4d,'month':_0x33a96d,'day':_0x223e4d},_0xfa0f9e={'year':_0x223e4d,'month':_0x33a96d,'day':_0x223e4d,'weekday':_0x33a96d},_0x12f490={'hour':_0x223e4d,'minute':_0x223e4d},_0x4497ad={'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d},_0x2ec226={'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d,'timeZoneName':_0x2ee63b},_0x1d7521={'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d,'timeZoneName':_0x33a96d},_0x2f3b84={'hour':_0x223e4d,'minute':_0x223e4d,'hourCycle':'h23'},_0x1f0ad5={'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d,'hourCycle':'h23'},_0x554596={'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d,'hourCycle':'h23','timeZoneName':_0x2ee63b},_0x126592={'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d,'hourCycle':'h23','timeZoneName':_0x33a96d},_0x40b465={'year':_0x223e4d,'month':_0x223e4d,'day':_0x223e4d,'hour':_0x223e4d,'minute':_0x223e4d},_0x2ca9af={'year':_0x223e4d,'month':_0x223e4d,'day':_0x223e4d,'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d},_0x3b2324={'year':_0x223e4d,'month':_0x2ee63b,'day':_0x223e4d,'hour':_0x223e4d,'minute':_0x223e4d},_0x417dda={'year':_0x223e4d,'month':_0x2ee63b,'day':_0x223e4d,'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d},_0x45e01d={'year':_0x223e4d,'month':_0x2ee63b,'day':_0x223e4d,'weekday':_0x2ee63b,'hour':_0x223e4d,'minute':_0x223e4d},_0x4b2a88={'year':_0x223e4d,'month':_0x33a96d,'day':_0x223e4d,'hour':_0x223e4d,'minute':_0x223e4d,'timeZoneName':_0x2ee63b},_0x166fa3={'year':_0x223e4d,'month':_0x33a96d,'day':_0x223e4d,'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d,'timeZoneName':_0x2ee63b},_0x347d31={'year':_0x223e4d,'month':_0x33a96d,'day':_0x223e4d,'weekday':_0x33a96d,'hour':_0x223e4d,'minute':_0x223e4d,'timeZoneName':_0x33a96d},_0x4200dd={'year':_0x223e4d,'month':_0x33a96d,'day':_0x223e4d,'weekday':_0x33a96d,'hour':_0x223e4d,'minute':_0x223e4d,'second':_0x223e4d,'timeZoneName':_0x33a96d};class _0x351e3b{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0xaaa547,_0x2abc80){throw new ZoneIsAbstractError();}['formatOffset'](_0x5ec9ac,_0x53cab0){throw new ZoneIsAbstractError();}['offset'](_0xd991fd){throw new ZoneIsAbstractError();}['equals'](_0xaf4c7d){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let singleton$1=null;class SystemZone extends _0x351e3b{static get['instance'](){return null===singleton$1&&(singleton$1=new SystemZone()),singleton$1;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x4424f9,{format:_0x169a07,locale:_0xe8b969}){return _0x2cba9a(_0x4424f9,_0x169a07,_0xe8b969);}['formatOffset'](_0x4f4b34,_0x13de01){return formatOffset(this['offset'](_0x4f4b34),_0x13de01);}['offset'](_0x120282){return-new Date(_0x120282)['getTimezoneOffset']();}['equals'](_0x20dfcc){return'system'===_0x20dfcc['type'];}get['isValid'](){return!0x0;}}const dtfCache=new Map();function _0x3c1b7b(_0x12b316){let _0x80e98=dtfCache['get'](_0x12b316);return void 0x0===_0x80e98&&(_0x80e98=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x12b316,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),dtfCache['set'](_0x12b316,_0x80e98)),_0x80e98;}const typeToPos={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6};function hackyOffset(_0x402cda,_0x26f10b){const _0x51f19b=_0x402cda['format'](_0x26f10b)['replace'](/\u200E/g,''),_0x19cd4b=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x51f19b),[,_0x410ae1,_0x2eca6b,_0x6b3045,_0x40d0cc,_0x1a9800,_0x2a7023,_0x5a70e8]=_0x19cd4b;return[_0x6b3045,_0x410ae1,_0x2eca6b,_0x40d0cc,_0x1a9800,_0x2a7023,_0x5a70e8];}function partsOffset(_0x1cc709,_0x59b98f){const _0x49dfad=_0x1cc709['formatToParts'](_0x59b98f),_0x1b130c=[];for(let _0x289339=0x0;_0x289339<_0x49dfad['length'];_0x289339++){const {type:_0x1722c9,value:_0x272116}=_0x49dfad[_0x289339],_0x5e06d8=typeToPos[_0x1722c9];'era'===_0x1722c9?_0x1b130c[_0x5e06d8]=_0x272116:_0x104604(_0x5e06d8)||(_0x1b130c[_0x5e06d8]=parseInt(_0x272116,0xa));}return _0x1b130c;}const _0xa9fae7=new Map();class _0x111c99 extends _0x351e3b{static['create'](_0x1efb8d){let _0xce141=_0xa9fae7['get'](_0x1efb8d);return void 0x0===_0xce141&&_0xa9fae7['set'](_0x1efb8d,_0xce141=new _0x111c99(_0x1efb8d)),_0xce141;}static['resetCache'](){_0xa9fae7['clear'](),dtfCache['clear']();}static['isValidSpecifier'](_0x49c591){return this['isValidZone'](_0x49c591);}static['isValidZone'](_0x3b8025){if(!_0x3b8025)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x3b8025})['format'](),!0x0;}catch(_0x181de3){return!0x1;}}constructor(_0x106cb9){super(),this['zoneName']=_0x106cb9,this['valid']=_0x111c99['isValidZone'](_0x106cb9);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x1fc913,{format:_0x5ad64f,locale:_0xffa840}){return _0x2cba9a(_0x1fc913,_0x5ad64f,_0xffa840,this['name']);}['formatOffset'](_0x1f1f09,_0x2287dd){return formatOffset(this['offset'](_0x1f1f09),_0x2287dd);}['offset'](_0x582b3a){if(!this['valid'])return NaN;const _0x55052b=new Date(_0x582b3a);if(isNaN(_0x55052b))return NaN;const _0x1772ac=_0x3c1b7b(this['name']);let [_0x2af5fb,_0x374d25,_0x3579cd,_0x5a1b8b,_0x6b2b11,_0x453238,_0x182a3c]=_0x1772ac['formatToParts']?partsOffset(_0x1772ac,_0x55052b):hackyOffset(_0x1772ac,_0x55052b);'BC'===_0x5a1b8b&&(_0x2af5fb=0x1-Math['abs'](_0x2af5fb));let _0x86cdb7=+_0x55052b;const _0x1ac925=_0x86cdb7%0x3e8;return _0x86cdb7-=_0x1ac925>=0x0?_0x1ac925:0x3e8+_0x1ac925,(_0x197d47({'year':_0x2af5fb,'month':_0x374d25,'day':_0x3579cd,'hour':0x18===_0x6b2b11?0x0:_0x6b2b11,'minute':_0x453238,'second':_0x182a3c,'millisecond':0x0})-_0x86cdb7)/0xea60;}['equals'](_0x1e2d3c){return'iana'===_0x1e2d3c['type']&&_0x1e2d3c['name']===this['name'];}get['isValid'](){return this['valid'];}}let intlLFCache={};function getCachedLF(_0x2d1e8c,_0x4a9167={}){const _0x20b1de=JSON['stringify']([_0x2d1e8c,_0x4a9167]);let _0x3dfc96=intlLFCache[_0x20b1de];return _0x3dfc96||(_0x3dfc96=new Intl['ListFormat'](_0x2d1e8c,_0x4a9167),intlLFCache[_0x20b1de]=_0x3dfc96),_0x3dfc96;}const intlDTCache=new Map();function getCachedDTF(_0x5c8a79,_0x709ecf={}){const _0x44740c=JSON['stringify']([_0x5c8a79,_0x709ecf]);let _0x214d3a=intlDTCache['get'](_0x44740c);return void 0x0===_0x214d3a&&(_0x214d3a=new Intl['DateTimeFormat'](_0x5c8a79,_0x709ecf),intlDTCache['set'](_0x44740c,_0x214d3a)),_0x214d3a;}const intlNumCache=new Map();function getCachedINF(_0x4c1bd8,_0xe0f52d={}){const _0x3629cf=JSON['stringify']([_0x4c1bd8,_0xe0f52d]);let _0x1e94c0=intlNumCache['get'](_0x3629cf);return void 0x0===_0x1e94c0&&(_0x1e94c0=new Intl['NumberFormat'](_0x4c1bd8,_0xe0f52d),intlNumCache['set'](_0x3629cf,_0x1e94c0)),_0x1e94c0;}const intlRelCache=new Map();function getCachedRTF(_0xee6801,_0x4cdbcb={}){const {base:_0x25fd9e,..._0x1cd47f}=_0x4cdbcb,_0x4fa0e0=JSON['stringify']([_0xee6801,_0x1cd47f]);let _0x1d9e2c=intlRelCache['get'](_0x4fa0e0);return void 0x0===_0x1d9e2c&&(_0x1d9e2c=new Intl['RelativeTimeFormat'](_0xee6801,_0x4cdbcb),intlRelCache['set'](_0x4fa0e0,_0x1d9e2c)),_0x1d9e2c;}let _0x55abc7=null;function systemLocale(){return _0x55abc7||(_0x55abc7=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x55abc7);}const intlResolvedOptionsCache=new Map();function getCachedIntResolvedOptions(_0x3925d1){let _0x613111=intlResolvedOptionsCache['get'](_0x3925d1);return void 0x0===_0x613111&&(_0x613111=new Intl['DateTimeFormat'](_0x3925d1)['resolvedOptions'](),intlResolvedOptionsCache['set'](_0x3925d1,_0x613111)),_0x613111;}const _0x3e7ebc=new Map();function getCachedWeekInfo(_0xbd1265){let _0x3fdec0=_0x3e7ebc['get'](_0xbd1265);if(!_0x3fdec0){const _0x4cae46=new Intl['Locale'](_0xbd1265);_0x3fdec0='getWeekInfo'in _0x4cae46?_0x4cae46['getWeekInfo']():_0x4cae46['weekInfo'],'minimalDays'in _0x3fdec0||(_0x3fdec0={...fallbackWeekSettings,..._0x3fdec0}),_0x3e7ebc['set'](_0xbd1265,_0x3fdec0);}return _0x3fdec0;}function parseLocaleString(_0x22662e){const _0x378453=_0x22662e['indexOf']('-x-');-0x1!==_0x378453&&(_0x22662e=_0x22662e['substring'](0x0,_0x378453));const _0x1a6933=_0x22662e['indexOf']('-u-');if(-0x1===_0x1a6933)return[_0x22662e];{let _0x282a47,_0x3c9874;try{_0x282a47=getCachedDTF(_0x22662e)['resolvedOptions'](),_0x3c9874=_0x22662e;}catch(_0x396f26){const _0x181791=_0x22662e['substring'](0x0,_0x1a6933);_0x282a47=getCachedDTF(_0x181791)['resolvedOptions'](),_0x3c9874=_0x181791;}const {numberingSystem:_0x1f7a3b,calendar:_0x955e57}=_0x282a47;return[_0x3c9874,_0x1f7a3b,_0x955e57];}}function intlConfigString(_0x324d85,_0x461716,_0x5dd3b7){return _0x5dd3b7||_0x461716?(_0x324d85['includes']('-u-')||(_0x324d85+='-u'),_0x5dd3b7&&(_0x324d85+='-ca-'+_0x5dd3b7),_0x461716&&(_0x324d85+='-nu-'+_0x461716),_0x324d85):_0x324d85;}function mapMonths(_0x162a4d){const _0x3074f9=[];for(let _0x171cc2=0x1;_0x171cc2<=0xc;_0x171cc2++){const _0x29ed57=DateTime['utc'](0x7d9,_0x171cc2,0x1);_0x3074f9['push'](_0x162a4d(_0x29ed57));}return _0x3074f9;}function _0x205da1(_0x3ca61d){const _0x7873c=[];for(let _0x53f621=0x1;_0x53f621<=0x7;_0x53f621++){const _0x30b205=DateTime['utc'](0x7e0,0xb,0xd+_0x53f621);_0x7873c['push'](_0x3ca61d(_0x30b205));}return _0x7873c;}function listStuff(_0xedc043,_0x149b91,_0x2d72e2,_0xbfe3e){const _0x4e8e48=_0xedc043['listingMode']();return'error'===_0x4e8e48?null:'en'===_0x4e8e48?_0x2d72e2(_0x149b91):_0xbfe3e(_0x149b91);}function supportsFastNumbers(_0x56197c){return(!_0x56197c['numberingSystem']||'latn'===_0x56197c['numberingSystem'])&&('latn'===_0x56197c['numberingSystem']||!_0x56197c['locale']||_0x56197c['locale']['startsWith']('en')||'latn'===getCachedIntResolvedOptions(_0x56197c['locale'])['numberingSystem']);}class PolyNumberFormatter{constructor(_0x401fdf,_0x3c6f14,_0x2c5807){this['padTo']=_0x2c5807['padTo']||0x0,this['floor']=_0x2c5807['floor']||!0x1;const {padTo:_0x4853d7,floor:_0x5eb5c3,..._0x446796}=_0x2c5807;if(!_0x3c6f14||Object['keys'](_0x446796)['length']>0x0){const _0x457f48={'useGrouping':!0x1,..._0x2c5807};_0x2c5807['padTo']>0x0&&(_0x457f48['minimumIntegerDigits']=_0x2c5807['padTo']),this['inf']=getCachedINF(_0x401fdf,_0x457f48);}}['format'](_0x564d42){if(this['inf']){const _0x2307f6=this['floor']?Math['floor'](_0x564d42):_0x564d42;return this['inf']['format'](_0x2307f6);}return padStart(this['floor']?Math['floor'](_0x564d42):_0x2ca537(_0x564d42,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x1833de,_0x4e338c,_0x4a3893){let _0x124d8e;if(this['opts']=_0x4a3893,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x1833de;else{if('fixed'===_0x1833de['zone']['type']){const _0x174490=_0x1833de['offset']/0x3c*-0x1,_0x1b866d=_0x174490>=0x0?'Etc/GMT+'+_0x174490:'Etc/GMT'+_0x174490;0x0!==_0x1833de['offset']&&_0x111c99['create'](_0x1b866d)['valid']?(_0x124d8e=_0x1b866d,this['dt']=_0x1833de):(_0x124d8e='UTC',this['dt']=0x0===_0x1833de['offset']?_0x1833de:_0x1833de['setZone']('UTC')['plus']({'minutes':_0x1833de['offset']}),this['originalZone']=_0x1833de['zone']);}else'system'===_0x1833de['zone']['type']?this['dt']=_0x1833de:'iana'===_0x1833de['zone']['type']?(this['dt']=_0x1833de,_0x124d8e=_0x1833de['zone']['name']):(_0x124d8e='UTC',this['dt']=_0x1833de['setZone']('UTC')['plus']({'minutes':_0x1833de['offset']}),this['originalZone']=_0x1833de['zone']);}const _0x4d83ce={...this['opts']};_0x4d83ce['timeZone']=_0x4d83ce['timeZone']||_0x124d8e,this['dtf']=getCachedDTF(_0x4e338c,_0x4d83ce);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x41c3e0})=>_0x41c3e0)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x165974=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x165974['map'](_0x17802b=>{if('timeZoneName'===_0x17802b['type']){const _0x13c81f=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x17802b,'value':_0x13c81f};}return _0x17802b;}):_0x165974;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x549d3e,_0x1b658c,_0x44cbd8){this['opts']={'style':'long',..._0x44cbd8},!_0x1b658c&&hasRelative()&&(this['rtf']=getCachedRTF(_0x549d3e,_0x44cbd8));}['format'](_0x2fe14a,_0x4f02e4){return this['rtf']?this['rtf']['format'](_0x2fe14a,_0x4f02e4):formatRelativeTime(_0x4f02e4,_0x2fe14a,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x3cbc09,_0x542f50){return this['rtf']?this['rtf']['formatToParts'](_0x3cbc09,_0x542f50):[];}}const fallbackWeekSettings={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x2fbc8f{static['fromOpts'](_0x48cb5d){return _0x2fbc8f['create'](_0x48cb5d['locale'],_0x48cb5d['numberingSystem'],_0x48cb5d['outputCalendar'],_0x48cb5d['weekSettings'],_0x48cb5d['defaultToEN']);}static['create'](_0x49d629,_0x3ecb74,_0x4be851,_0xfb2b6c,_0x5aa252=!0x1){const _0x13d108=_0x49d629||Settings['defaultLocale'],_0x56c1b2=_0x13d108||(_0x5aa252?'en-US':systemLocale()),_0x5bf3af=_0x3ecb74||Settings['defaultNumberingSystem'],_0x5674dc=_0x4be851||Settings['defaultOutputCalendar'],_0x3ebae6=validateWeekSettings(_0xfb2b6c)||Settings['defaultWeekSettings'];return new _0x2fbc8f(_0x56c1b2,_0x5bf3af,_0x5674dc,_0x3ebae6,_0x13d108);}static['resetCache'](){_0x55abc7=null,intlDTCache['clear'](),intlNumCache['clear'](),intlRelCache['clear'](),intlResolvedOptionsCache['clear'](),_0x3e7ebc['clear']();}static['fromObject']({locale:_0xfc68e2,numberingSystem:_0x217828,outputCalendar:_0x1cc787,weekSettings:_0x1bd9da}={}){return _0x2fbc8f['create'](_0xfc68e2,_0x217828,_0x1cc787,_0x1bd9da);}constructor(_0x36e729,_0x53ed3a,_0x2d32c3,_0x1ca6df,_0x1fb3a7){const [_0x47c27a,_0x5cc586,_0x2bc6bf]=parseLocaleString(_0x36e729);this['locale']=_0x47c27a,this['numberingSystem']=_0x53ed3a||_0x5cc586||null,this['outputCalendar']=_0x2d32c3||_0x2bc6bf||null,this['weekSettings']=_0x1ca6df,this['intl']=intlConfigString(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x1fb3a7,this['fastNumbersCached']=null;}get['fastNumbers'](){return null==this['fastNumbersCached']&&(this['fastNumbersCached']=supportsFastNumbers(this)),this['fastNumbersCached'];}['listingMode'](){const _0x5158fe=this['isEnglish'](),_0x2d973e=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x5158fe&&_0x2d973e?'en':'intl';}['clone'](_0x5d8208){return _0x5d8208&&0x0!==Object['getOwnPropertyNames'](_0x5d8208)['length']?_0x2fbc8f['create'](_0x5d8208['locale']||this['specifiedLocale'],_0x5d8208['numberingSystem']||this['numberingSystem'],_0x5d8208['outputCalendar']||this['outputCalendar'],validateWeekSettings(_0x5d8208['weekSettings'])||this['weekSettings'],_0x5d8208['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x1b7a6d={}){return this['clone']({..._0x1b7a6d,'defaultToEN':!0x0});}['redefaultToSystem'](_0xc450ac={}){return this['clone']({..._0xc450ac,'defaultToEN':!0x1});}['months'](_0x3d0a89,_0x43ad79=!0x1){return listStuff(this,_0x3d0a89,months,()=>{const _0x4e7e53=_0x43ad79?{'month':_0x3d0a89,'day':'numeric'}:{'month':_0x3d0a89},_0x2a3ddc=_0x43ad79?'format':'standalone';return this['monthsCache'][_0x2a3ddc][_0x3d0a89]||(this['monthsCache'][_0x2a3ddc][_0x3d0a89]=mapMonths(_0x38dafb=>this['extract'](_0x38dafb,_0x4e7e53,'month'))),this['monthsCache'][_0x2a3ddc][_0x3d0a89];});}['weekdays'](_0x24c82a,_0x1b6966=!0x1){return listStuff(this,_0x24c82a,_0x4fc0e0,()=>{const _0x49f4d6=_0x1b6966?{'weekday':_0x24c82a,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x24c82a},_0x186e5e=_0x1b6966?'format':'standalone';return this['weekdaysCache'][_0x186e5e][_0x24c82a]||(this['weekdaysCache'][_0x186e5e][_0x24c82a]=_0x205da1(_0x3a4cde=>this['extract'](_0x3a4cde,_0x49f4d6,'weekday'))),this['weekdaysCache'][_0x186e5e][_0x24c82a];});}['meridiems'](){return listStuff(this,void 0x0,()=>_0x25c396,()=>{if(!this['meridiemCache']){const _0x1e83ea={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x598bd4=>this['extract'](_0x598bd4,_0x1e83ea,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0xf5dad8){return listStuff(this,_0xf5dad8,_0x1b941c,()=>{const _0x474d09={'era':_0xf5dad8};return this['eraCache'][_0xf5dad8]||(this['eraCache'][_0xf5dad8]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x4b1154=>this['extract'](_0x4b1154,_0x474d09,'era'))),this['eraCache'][_0xf5dad8];});}['extract'](_0x78644a,_0x323365,_0x26d87f){const _0x5d5bd4=this['dtFormatter'](_0x78644a,_0x323365)['formatToParts']()['find'](_0x4fbddd=>_0x4fbddd['type']['toLowerCase']()===_0x26d87f);return _0x5d5bd4?_0x5d5bd4['value']:null;}['numberFormatter'](_0x3f7d28={}){return new PolyNumberFormatter(this['intl'],_0x3f7d28['forceSimple']||this['fastNumbers'],_0x3f7d28);}['dtFormatter'](_0x60a586,_0xd61145={}){return new PolyDateFormatter(_0x60a586,this['intl'],_0xd61145);}['relFormatter'](_0x485675={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x485675);}['listFormatter'](_0x1d320e={}){return getCachedLF(this['intl'],_0x1d320e);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||getCachedIntResolvedOptions(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x297ab4()?getCachedWeekInfo(this['locale']):fallbackWeekSettings;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x3f4941){return this['locale']===_0x3f4941['locale']&&this['numberingSystem']===_0x3f4941['numberingSystem']&&this['outputCalendar']===_0x3f4941['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let singleton=null;class FixedOffsetZone extends _0x351e3b{static get['utcInstance'](){return null===singleton&&(singleton=new FixedOffsetZone(0x0)),singleton;}static['instance'](_0x507a28){return 0x0===_0x507a28?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x507a28);}static['parseSpecifier'](_0x31b349){if(_0x31b349){const _0x915bd1=_0x31b349['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x915bd1)return new FixedOffsetZone(signedOffset(_0x915bd1[0x1],_0x915bd1[0x2]));}return null;}constructor(_0x187ffc){super(),this['fixed']=_0x187ffc;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+formatOffset(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+formatOffset(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x313e19,_0x1c7fb0){return formatOffset(this['fixed'],_0x1c7fb0);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x40b6fb){return'fixed'===_0x40b6fb['type']&&_0x40b6fb['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x2383ac extends _0x351e3b{constructor(_0xe24b58){super(),this['zoneName']=_0xe24b58;}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 _0x3ac019(_0x115bb6,_0x2ccce0){if(_0x104604(_0x115bb6)||null===_0x115bb6)return _0x2ccce0;if(_0x115bb6 instanceof _0x351e3b)return _0x115bb6;if(isString(_0x115bb6)){const _0x4a2324=_0x115bb6['toLowerCase']();return'default'===_0x4a2324?_0x2ccce0:'local'===_0x4a2324||'system'===_0x4a2324?SystemZone['instance']:'utc'===_0x4a2324||'gmt'===_0x4a2324?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x4a2324)||_0x111c99['create'](_0x115bb6);}return _0x5c21d5(_0x115bb6)?FixedOffsetZone['instance'](_0x115bb6):'object'==typeof _0x115bb6&&'offset'in _0x115bb6&&'function'==typeof _0x115bb6['offset']?_0x115bb6:new _0x2383ac(_0x115bb6);}const numberingSystems={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},numberingSystemsUTF16={'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]},_0x203fe5=numberingSystems['hanidec']['replace'](/[\[|\]]/g,'')['split']('');function parseDigits(_0x53212f){let _0x2438ef=parseInt(_0x53212f,0xa);if(isNaN(_0x2438ef)){_0x2438ef='';for(let _0x2954d8=0x0;_0x2954d8<_0x53212f['length'];_0x2954d8++){const _0x11d9d4=_0x53212f['charCodeAt'](_0x2954d8);if(-0x1!==_0x53212f[_0x2954d8]['search'](numberingSystems['hanidec']))_0x2438ef+=_0x203fe5['indexOf'](_0x53212f[_0x2954d8]);else for(const _0x36e382 in numberingSystemsUTF16){const [_0x335a76,_0x4cdbaf]=numberingSystemsUTF16[_0x36e382];_0x11d9d4>=_0x335a76&&_0x11d9d4<=_0x4cdbaf&&(_0x2438ef+=_0x11d9d4-_0x335a76);}}return parseInt(_0x2438ef,0xa);}return _0x2438ef;}const digitRegexCache=new Map();function resetDigitRegexCache(){digitRegexCache['clear']();}function digitRegex({numberingSystem:_0x1f81ba},_0xdd7147=''){const _0x6b8316=_0x1f81ba||'latn';let _0x31695c=digitRegexCache['get'](_0x6b8316);void 0x0===_0x31695c&&(_0x31695c=new Map(),digitRegexCache['set'](_0x6b8316,_0x31695c));let _0x6ae57d=_0x31695c['get'](_0xdd7147);return void 0x0===_0x6ae57d&&(_0x6ae57d=new RegExp(''+numberingSystems[_0x6b8316]+_0xdd7147),_0x31695c['set'](_0xdd7147,_0x6ae57d)),_0x6ae57d;}let _0xa751c3=()=>Date['now'](),defaultZone='system',defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=0x3c,throwOnInvalid,defaultWeekSettings=null;class Settings{static get['now'](){return _0xa751c3;}static set['now'](_0x111455){_0xa751c3=_0x111455;}static set['defaultZone'](_0x34bee9){defaultZone=_0x34bee9;}static get['defaultZone'](){return _0x3ac019(defaultZone,SystemZone['instance']);}static get['defaultLocale'](){return defaultLocale;}static set['defaultLocale'](_0x11482a){defaultLocale=_0x11482a;}static get['defaultNumberingSystem'](){return defaultNumberingSystem;}static set['defaultNumberingSystem'](_0x125b6d){defaultNumberingSystem=_0x125b6d;}static get['defaultOutputCalendar'](){return defaultOutputCalendar;}static set['defaultOutputCalendar'](_0xac0ce5){defaultOutputCalendar=_0xac0ce5;}static get['defaultWeekSettings'](){return defaultWeekSettings;}static set['defaultWeekSettings'](_0x5c2448){defaultWeekSettings=validateWeekSettings(_0x5c2448);}static get['twoDigitCutoffYear'](){return twoDigitCutoffYear;}static set['twoDigitCutoffYear'](_0x545638){twoDigitCutoffYear=_0x545638%0x64;}static get['throwOnInvalid'](){return throwOnInvalid;}static set['throwOnInvalid'](t){throwOnInvalid=t;}static['resetCaches'](){_0x2fbc8f['resetCache'](),_0x111c99['resetCache'](),DateTime['resetCache'](),resetDigitRegexCache();}}class _0x1316e8{constructor(_0x4cd3a2,_0x4775a9){this['reason']=_0x4cd3a2,this['explanation']=_0x4775a9;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x4faae4=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x122ad1=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function unitOutOfRange(_0x12fe5b,_0x5e50c7){return new _0x1316e8('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x5e50c7+'\x20(of\x20type\x20'+typeof _0x5e50c7+')\x20as\x20a\x20'+_0x12fe5b+',\x20which\x20is\x20invalid');}function _0x37029a(_0x4f6e39,_0x9f0149,_0x3b4cb2){const _0x5517ab=new Date(Date['UTC'](_0x4f6e39,_0x9f0149-0x1,_0x3b4cb2));_0x4f6e39<0x64&&_0x4f6e39>=0x0&&_0x5517ab['setUTCFullYear'](_0x5517ab['getUTCFullYear']()-0x76c);const _0x117b26=_0x5517ab['getUTCDay']();return 0x0===_0x117b26?0x7:_0x117b26;}function computeOrdinal(_0x39a184,_0x3a0fa2,_0x5c0a9a){return _0x5c0a9a+(_0x53d326(_0x39a184)?_0x122ad1:_0x4faae4)[_0x3a0fa2-0x1];}function uncomputeOrdinal(_0x3ba595,_0x31bdb3){const _0x2a9335=_0x53d326(_0x3ba595)?_0x122ad1:_0x4faae4,_0xa7209b=_0x2a9335['findIndex'](_0x76521=>_0x76521<_0x31bdb3);return{'month':_0xa7209b+0x1,'day':_0x31bdb3-_0x2a9335[_0xa7209b]};}function _0x190d02(_0x2a39fb,_0x23fc58){return(_0x2a39fb-_0x23fc58+0x7)%0x7+0x1;}function _0x2b9196(_0x257614,_0x37fabc=0x4,_0x235c3e=0x1){const {year:_0x1e5d06,month:_0x4929de,day:_0xcf071}=_0x257614,_0x41a4ac=computeOrdinal(_0x1e5d06,_0x4929de,_0xcf071),_0x213643=_0x190d02(_0x37029a(_0x1e5d06,_0x4929de,_0xcf071),_0x235c3e);let _0x416a86,_0x1146e1=Math['floor']((_0x41a4ac-_0x213643+0xe-_0x37fabc)/0x7);return _0x1146e1<0x1?(_0x416a86=_0x1e5d06-0x1,_0x1146e1=_0x14c264(_0x416a86,_0x37fabc,_0x235c3e)):_0x1146e1>_0x14c264(_0x1e5d06,_0x37fabc,_0x235c3e)?(_0x416a86=_0x1e5d06+0x1,_0x1146e1=0x1):_0x416a86=_0x1e5d06,{'weekYear':_0x416a86,'weekNumber':_0x1146e1,'weekday':_0x213643,...timeObject(_0x257614)};}function _0x34412e(_0x58209a,_0xca2d77=0x4,_0x119371=0x1){const {weekYear:_0x4cbe9d,weekNumber:_0x3c2b22,weekday:_0x43cdf1}=_0x58209a,_0x4a5acd=_0x190d02(_0x37029a(_0x4cbe9d,0x1,_0xca2d77),_0x119371),_0x12ae19=_0x34cf74(_0x4cbe9d);let _0x7b9f5e,_0x18b43e=0x7*_0x3c2b22+_0x43cdf1-_0x4a5acd-0x7+_0xca2d77;_0x18b43e<0x1?(_0x7b9f5e=_0x4cbe9d-0x1,_0x18b43e+=_0x34cf74(_0x7b9f5e)):_0x18b43e>_0x12ae19?(_0x7b9f5e=_0x4cbe9d+0x1,_0x18b43e-=_0x34cf74(_0x4cbe9d)):_0x7b9f5e=_0x4cbe9d;const {month:_0x1758f5,day:_0xef29b9}=uncomputeOrdinal(_0x7b9f5e,_0x18b43e);return{'year':_0x7b9f5e,'month':_0x1758f5,'day':_0xef29b9,...timeObject(_0x58209a)};}function _0x155d34(_0x22f096){const {year:_0x326f04,month:_0x5f12ab,day:_0x410c2c}=_0x22f096;return{'year':_0x326f04,'ordinal':computeOrdinal(_0x326f04,_0x5f12ab,_0x410c2c),...timeObject(_0x22f096)};}function _0x2aae0b(_0x4bcbea){const {year:_0x284114,ordinal:_0x365348}=_0x4bcbea,{month:_0x3c4b01,day:_0x17e240}=uncomputeOrdinal(_0x284114,_0x365348);return{'year':_0x284114,'month':_0x3c4b01,'day':_0x17e240,...timeObject(_0x4bcbea)};}function _0x4a4c58(_0x5cce3c,_0x811c17){if(!_0x104604(_0x5cce3c['localWeekday'])||!_0x104604(_0x5cce3c['localWeekNumber'])||!_0x104604(_0x5cce3c['localWeekYear'])){if(!_0x104604(_0x5cce3c['weekday'])||!_0x104604(_0x5cce3c['weekNumber'])||!_0x104604(_0x5cce3c['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x104604(_0x5cce3c['localWeekday'])||(_0x5cce3c['weekday']=_0x5cce3c['localWeekday']),_0x104604(_0x5cce3c['localWeekNumber'])||(_0x5cce3c['weekNumber']=_0x5cce3c['localWeekNumber']),_0x104604(_0x5cce3c['localWeekYear'])||(_0x5cce3c['weekYear']=_0x5cce3c['localWeekYear']),delete _0x5cce3c['localWeekday'],delete _0x5cce3c['localWeekNumber'],delete _0x5cce3c['localWeekYear'],{'minDaysInFirstWeek':_0x811c17['getMinDaysInFirstWeek'](),'startOfWeek':_0x811c17['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function hasInvalidWeekData(_0x2f522c,_0x338c72=0x4,_0x4b447c=0x1){const _0x59ae81=isInteger(_0x2f522c['weekYear']),_0x1d224b=integerBetween(_0x2f522c['weekNumber'],0x1,_0x14c264(_0x2f522c['weekYear'],_0x338c72,_0x4b447c)),_0x826371=integerBetween(_0x2f522c['weekday'],0x1,0x7);return _0x59ae81?_0x1d224b?!_0x826371&&unitOutOfRange('weekday',_0x2f522c['weekday']):unitOutOfRange('week',_0x2f522c['weekNumber']):unitOutOfRange('weekYear',_0x2f522c['weekYear']);}function hasInvalidOrdinalData(_0x59377b){const _0x75e0c5=isInteger(_0x59377b['year']),_0x2ae193=integerBetween(_0x59377b['ordinal'],0x1,_0x34cf74(_0x59377b['year']));return _0x75e0c5?!_0x2ae193&&unitOutOfRange('ordinal',_0x59377b['ordinal']):unitOutOfRange('year',_0x59377b['year']);}function hasInvalidGregorianData(_0x58eb72){const _0x3aabd9=isInteger(_0x58eb72['year']),_0x3f9345=integerBetween(_0x58eb72['month'],0x1,0xc),_0x393e4f=integerBetween(_0x58eb72['day'],0x1,daysInMonth(_0x58eb72['year'],_0x58eb72['month']));return _0x3aabd9?_0x3f9345?!_0x393e4f&&unitOutOfRange('day',_0x58eb72['day']):unitOutOfRange('month',_0x58eb72['month']):unitOutOfRange('year',_0x58eb72['year']);}function hasInvalidTimeData(_0x421c0f){const {hour:_0x39eeb7,minute:_0x523f58,second:_0x1ed221,millisecond:_0x7a6336}=_0x421c0f,_0x15610b=integerBetween(_0x39eeb7,0x0,0x17)||0x18===_0x39eeb7&&0x0===_0x523f58&&0x0===_0x1ed221&&0x0===_0x7a6336,_0x583bcc=integerBetween(_0x523f58,0x0,0x3b),_0x3d92ca=integerBetween(_0x1ed221,0x0,0x3b),_0x3a6baa=integerBetween(_0x7a6336,0x0,0x3e7);return _0x15610b?_0x583bcc?_0x3d92ca?!_0x3a6baa&&unitOutOfRange('millisecond',_0x7a6336):unitOutOfRange('second',_0x1ed221):unitOutOfRange('minute',_0x523f58):unitOutOfRange('hour',_0x39eeb7);}function _0x104604(_0x560dfb){return void 0x0===_0x560dfb;}function _0x5c21d5(_0x5d266f){return'number'==typeof _0x5d266f;}function isInteger(_0x5eea28){return'number'==typeof _0x5eea28&&_0x5eea28%0x1==0x0;}function isString(_0x3b74f5){return'string'==typeof _0x3b74f5;}function isDate(_0x209f56){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x209f56);}function hasRelative(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x24466a){return!0x1;}}function _0x297ab4(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x2080ca){return!0x1;}}function _0x349f8c(_0xbfd73e){return Array['isArray'](_0xbfd73e)?_0xbfd73e:[_0xbfd73e];}function bestBy(_0x289553,_0x53711c,_0x588c9c){if(0x0!==_0x289553['length'])return _0x289553['reduce']((_0x34bbdd,_0x1b0252)=>{const _0xf82510=[_0x53711c(_0x1b0252),_0x1b0252];return _0x34bbdd&&_0x588c9c(_0x34bbdd[0x0],_0xf82510[0x0])===_0x34bbdd[0x0]?_0x34bbdd:_0xf82510;},null)[0x1];}function _0x21125b(_0x395815,_0x35e259){return _0x35e259['reduce']((_0x244996,_0x9d18cf)=>(_0x244996[_0x9d18cf]=_0x395815[_0x9d18cf],_0x244996),{});}function hasOwnProperty(_0x37269e,_0x4b6d1a){return Object['prototype']['hasOwnProperty']['call'](_0x37269e,_0x4b6d1a);}function validateWeekSettings(_0x12b329){if(null==_0x12b329)return null;if('object'!=typeof _0x12b329)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!integerBetween(_0x12b329['firstDay'],0x1,0x7)||!integerBetween(_0x12b329['minimalDays'],0x1,0x7)||!Array['isArray'](_0x12b329['weekend'])||_0x12b329['weekend']['some'](_0x477a40=>!integerBetween(_0x477a40,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x12b329['firstDay'],'minimalDays':_0x12b329['minimalDays'],'weekend':Array['from'](_0x12b329['weekend'])};}function integerBetween(_0x348599,_0x3678a2,_0x23cb5a){return isInteger(_0x348599)&&_0x348599>=_0x3678a2&&_0x348599<=_0x23cb5a;}function _0x1b9e18(_0x10a560,_0x782f8d){return _0x10a560-_0x782f8d*Math['floor'](_0x10a560/_0x782f8d);}function padStart(_0x4a2126,_0x39cbfe=0x2){let _0x41acde;return _0x41acde=_0x4a2126<0x0?'-'+(''+-_0x4a2126)['padStart'](_0x39cbfe,'0'):(''+_0x4a2126)['padStart'](_0x39cbfe,'0'),_0x41acde;}function parseInteger(_0x3feee0){return _0x104604(_0x3feee0)||null===_0x3feee0||''===_0x3feee0?void 0x0:parseInt(_0x3feee0,0xa);}function parseFloating(_0x336ff7){return _0x104604(_0x336ff7)||null===_0x336ff7||''===_0x336ff7?void 0x0:parseFloat(_0x336ff7);}function _0x3b4957(_0x35bcc2){if(!_0x104604(_0x35bcc2)&&null!==_0x35bcc2&&''!==_0x35bcc2){const _0x57ac44=0x3e8*parseFloat('0.'+_0x35bcc2);return Math['floor'](_0x57ac44);}}function _0x2ca537(_0x5b7696,_0x5452cf,_0x2af7cf=!0x1){const _0x7e6b12=0xa**_0x5452cf;return(_0x2af7cf?Math['trunc']:Math['round'])(_0x5b7696*_0x7e6b12)/_0x7e6b12;}function _0x53d326(_0x52304d){return _0x52304d%0x4==0x0&&(_0x52304d%0x64!=0x0||_0x52304d%0x190==0x0);}function _0x34cf74(_0x3d78f5){return _0x53d326(_0x3d78f5)?0x16e:0x16d;}function daysInMonth(_0x2715bc,_0x53b081){const _0x19f127=_0x1b9e18(_0x53b081-0x1,0xc)+0x1;return 0x2===_0x19f127?_0x53d326(_0x2715bc+(_0x53b081-_0x19f127)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x19f127-0x1];}function _0x197d47(_0x3ac8ce){let _0xf55ea1=Date['UTC'](_0x3ac8ce['year'],_0x3ac8ce['month']-0x1,_0x3ac8ce['day'],_0x3ac8ce['hour'],_0x3ac8ce['minute'],_0x3ac8ce['second'],_0x3ac8ce['millisecond']);return _0x3ac8ce['year']<0x64&&_0x3ac8ce['year']>=0x0&&(_0xf55ea1=new Date(_0xf55ea1),_0xf55ea1['setUTCFullYear'](_0x3ac8ce['year'],_0x3ac8ce['month']-0x1,_0x3ac8ce['day'])),+_0xf55ea1;}function firstWeekOffset(_0x201f93,_0x39be1b,_0x208860){return-_0x190d02(_0x37029a(_0x201f93,0x1,_0x39be1b),_0x208860)+_0x39be1b-0x1;}function _0x14c264(_0x375d09,_0x23e810=0x4,_0x5782e4=0x1){const _0x26fa1e=firstWeekOffset(_0x375d09,_0x23e810,_0x5782e4),_0x4c115a=firstWeekOffset(_0x375d09+0x1,_0x23e810,_0x5782e4);return(_0x34cf74(_0x375d09)-_0x26fa1e+_0x4c115a)/0x7;}function untruncateYear(_0x3f619a){return _0x3f619a>0x63?_0x3f619a:_0x3f619a>Settings['twoDigitCutoffYear']?0x76c+_0x3f619a:0x7d0+_0x3f619a;}function _0x2cba9a(_0x46aea1,_0x122b1b,_0xd8d9ea,_0x24ae90=null){const _0x3e64b1=new Date(_0x46aea1),_0x30d2a7={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x24ae90&&(_0x30d2a7['timeZone']=_0x24ae90);const _0x2853d0={'timeZoneName':_0x122b1b,..._0x30d2a7},_0x577bfc=new Intl['DateTimeFormat'](_0xd8d9ea,_0x2853d0)['formatToParts'](_0x3e64b1)['find'](_0x412c41=>'timezonename'===_0x412c41['type']['toLowerCase']());return _0x577bfc?_0x577bfc['value']:null;}function signedOffset(_0x5e7378,_0x173fb6){let _0x560adf=parseInt(_0x5e7378,0xa);Number['isNaN'](_0x560adf)&&(_0x560adf=0x0);const _0x359ec5=parseInt(_0x173fb6,0xa)||0x0;return 0x3c*_0x560adf+(_0x560adf<0x0||Object['is'](_0x560adf,-0x0)?-_0x359ec5:_0x359ec5);}function _0x376383(_0x2c1eea){const _0x3eb31b=Number(_0x2c1eea);if('boolean'==typeof _0x2c1eea||''===_0x2c1eea||Number['isNaN'](_0x3eb31b))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x2c1eea);return _0x3eb31b;}function normalizeObject(_0x266614,_0xfd4bf5){const _0xa8a035={};for(const _0x32ac73 in _0x266614)if(hasOwnProperty(_0x266614,_0x32ac73)){const _0x1db265=_0x266614[_0x32ac73];if(null==_0x1db265)continue;_0xa8a035[_0xfd4bf5(_0x32ac73)]=_0x376383(_0x1db265);}return _0xa8a035;}function formatOffset(_0x5a959a,_0x147ab1){const _0x488067=Math['trunc'](Math['abs'](_0x5a959a/0x3c)),_0x4f9246=Math['trunc'](Math['abs'](_0x5a959a%0x3c)),_0x4cc576=_0x5a959a>=0x0?'+':'-';switch(_0x147ab1){case'short':return''+_0x4cc576+padStart(_0x488067,0x2)+':'+padStart(_0x4f9246,0x2);case'narrow':return''+_0x4cc576+_0x488067+(_0x4f9246>0x0?':'+_0x4f9246:'');case'techie':return''+_0x4cc576+padStart(_0x488067,0x2)+padStart(_0x4f9246,0x2);default:throw new RangeError('Value\x20format\x20'+_0x147ab1+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function timeObject(_0x597f7b){return _0x21125b(_0x597f7b,['hour','minute','second','millisecond']);}const monthsLong=['January','February','March','April','May','June','July','August','September','October','November','December'],monthsShort=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],monthsNarrow=['J','F','M','A','M','J','J','A','S','O','N','D'];function months(_0x25b343){switch(_0x25b343){case'narrow':return[...monthsNarrow];case'short':return[...monthsShort];case'long':return[...monthsLong];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 _0x51a211=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],weekdaysShort=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x21367b=['M','T','W','T','F','S','S'];function _0x4fc0e0(_0x46ac17){switch(_0x46ac17){case'narrow':return[..._0x21367b];case'short':return[...weekdaysShort];case'long':return[..._0x51a211];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x25c396=['AM','PM'],_0x3f6a05=['Before\x20Christ','Anno\x20Domini'],erasShort=['BC','AD'],_0x34ba08=['B','A'];function _0x1b941c(_0x201e29){switch(_0x201e29){case'narrow':return[..._0x34ba08];case'short':return[...erasShort];case'long':return[..._0x3f6a05];default:return null;}}function meridiemForDateTime(_0x5a91fd){return _0x25c396[_0x5a91fd['hour']<0xc?0x0:0x1];}function weekdayForDateTime(_0x35734c,_0x34b85b){return _0x4fc0e0(_0x34b85b)[_0x35734c['weekday']-0x1];}function monthForDateTime(_0x447a36,_0x1726c0){return months(_0x1726c0)[_0x447a36['month']-0x1];}function eraForDateTime(_0x346a81,_0xcfa7c0){return _0x1b941c(_0xcfa7c0)[_0x346a81['year']<0x0?0x0:0x1];}function formatRelativeTime(_0x16ff98,_0x50a574,_0x48cc36='always',_0x20f0e8=!0x1){const _0x337ceb={'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.']},_0x3930ad=-0x1===['hours','minutes','seconds']['indexOf'](_0x16ff98);if('auto'===_0x48cc36&&_0x3930ad){const _0x3784f0='days'===_0x16ff98;switch(_0x50a574){case 0x1:return _0x3784f0?'tomorrow':'next\x20'+_0x337ceb[_0x16ff98][0x0];case-0x1:return _0x3784f0?'yesterday':'last\x20'+_0x337ceb[_0x16ff98][0x0];case 0x0:return _0x3784f0?'today':'this\x20'+_0x337ceb[_0x16ff98][0x0];}}const _0x24a437=Object['is'](_0x50a574,-0x0)||_0x50a574<0x0,_0x2eef21=Math['abs'](_0x50a574),_0x2809a9=0x1===_0x2eef21,_0xd0faba=_0x337ceb[_0x16ff98],_0xe333f8=_0x20f0e8?_0x2809a9?_0xd0faba[0x1]:_0xd0faba[0x2]||_0xd0faba[0x1]:_0x2809a9?_0x337ceb[_0x16ff98][0x0]:_0x16ff98;return _0x24a437?_0x2eef21+'\x20'+_0xe333f8+'\x20ago':'in\x20'+_0x2eef21+'\x20'+_0xe333f8;}function stringifyTokens(_0x268a01,_0x39f7f0){let _0x4cc3e9='';for(const _0x49850c of _0x268a01)_0x49850c['literal']?_0x4cc3e9+=_0x49850c['val']:_0x4cc3e9+=_0x39f7f0(_0x49850c['val']);return _0x4cc3e9;}const macroTokenToFormatOpts={'D':_0x488b50,'DD':_0x32a13c,'DDD':_0x5e3018,'DDDD':_0xfa0f9e,'t':_0x12f490,'tt':_0x4497ad,'ttt':_0x2ec226,'tttt':_0x1d7521,'T':_0x2f3b84,'TT':_0x1f0ad5,'TTT':_0x554596,'TTTT':_0x126592,'f':_0x40b465,'ff':_0x3b2324,'fff':_0x4b2a88,'ffff':_0x347d31,'F':_0x2ca9af,'FF':_0x417dda,'FFF':_0x166fa3,'FFFF':_0x4200dd};class Formatter{static['create'](_0x2cd47a,_0x52f163={}){return new Formatter(_0x2cd47a,_0x52f163);}static['parseFormat'](_0x138ade){let _0x4eeaa9=null,_0x3289d8='',_0x398e60=!0x1;const _0x487ad7=[];for(let _0x43836e=0x0;_0x43836e<_0x138ade['length'];_0x43836e++){const _0x2422db=_0x138ade['charAt'](_0x43836e);'\x27'===_0x2422db?(_0x3289d8['length']>0x0&&_0x487ad7['push']({'literal':_0x398e60||/^\s+$/['test'](_0x3289d8),'val':_0x3289d8}),_0x4eeaa9=null,_0x3289d8='',_0x398e60=!_0x398e60):_0x398e60||_0x2422db===_0x4eeaa9?_0x3289d8+=_0x2422db:(_0x3289d8['length']>0x0&&_0x487ad7['push']({'literal':/^\s+$/['test'](_0x3289d8),'val':_0x3289d8}),_0x3289d8=_0x2422db,_0x4eeaa9=_0x2422db);}return _0x3289d8['length']>0x0&&_0x487ad7['push']({'literal':_0x398e60||/^\s+$/['test'](_0x3289d8),'val':_0x3289d8}),_0x487ad7;}static['macroTokenToFormatOpts'](_0x4031d6){return macroTokenToFormatOpts[_0x4031d6];}constructor(_0x4b843b,_0x2a1c4b){this['opts']=_0x2a1c4b,this['loc']=_0x4b843b,this['systemLoc']=null;}['formatWithSystemDefault'](_0x3d9b07,_0x19c70d){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x3d9b07,{...this['opts'],..._0x19c70d})['format']();}['dtFormatter'](_0x5cfed5,_0x47079a={}){return this['loc']['dtFormatter'](_0x5cfed5,{...this['opts'],..._0x47079a});}['formatDateTime'](_0x8b8f5f,_0x5d2aac){return this['dtFormatter'](_0x8b8f5f,_0x5d2aac)['format']();}['formatDateTimeParts'](_0x454494,_0x46ffe1){return this['dtFormatter'](_0x454494,_0x46ffe1)['formatToParts']();}['formatInterval'](_0x494a1a,_0xb54b7b){return this['dtFormatter'](_0x494a1a['start'],_0xb54b7b)['dtf']['formatRange'](_0x494a1a['start']['toJSDate'](),_0x494a1a['end']['toJSDate']());}['resolvedOptions'](_0x2db7ab,_0x4d6909){return this['dtFormatter'](_0x2db7ab,_0x4d6909)['resolvedOptions']();}['num'](_0x5a013b,_0x169366=0x0){if(this['opts']['forceSimple'])return padStart(_0x5a013b,_0x169366);const _0x1f2643={...this['opts']};return _0x169366>0x0&&(_0x1f2643['padTo']=_0x169366),this['loc']['numberFormatter'](_0x1f2643)['format'](_0x5a013b);}['formatDateTimeFromString'](_0x5f3c21,_0x28e00e){const _0x5c24d9='en'===this['loc']['listingMode'](),_0x1bc63b=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x596c0e=(_0x1e4dbb,_0x2ada31)=>this['loc']['extract'](_0x5f3c21,_0x1e4dbb,_0x2ada31),_0x5fba83=_0x393683=>_0x5f3c21['isOffsetFixed']&&0x0===_0x5f3c21['offset']&&_0x393683['allowZ']?'Z':_0x5f3c21['isValid']?_0x5f3c21['zone']['formatOffset'](_0x5f3c21['ts'],_0x393683['format']):'',_0x3a2e38=(_0x15a799,_0x201c2c)=>_0x5c24d9?monthForDateTime(_0x5f3c21,_0x15a799):_0x596c0e(_0x201c2c?{'month':_0x15a799}:{'month':_0x15a799,'day':'numeric'},'month'),_0x15e8c2=(_0xaf7fb0,_0x179188)=>_0x5c24d9?weekdayForDateTime(_0x5f3c21,_0xaf7fb0):_0x596c0e(_0x179188?{'weekday':_0xaf7fb0}:{'weekday':_0xaf7fb0,'month':'long','day':'numeric'},'weekday'),_0x51aecb=_0x12fb0c=>{const _0x5a81e3=Formatter['macroTokenToFormatOpts'](_0x12fb0c);return _0x5a81e3?this['formatWithSystemDefault'](_0x5f3c21,_0x5a81e3):_0x12fb0c;},_0xe10a3e=_0x5ea78b=>_0x5c24d9?eraForDateTime(_0x5f3c21,_0x5ea78b):_0x596c0e({'era':_0x5ea78b},'era');return stringifyTokens(Formatter['parseFormat'](_0x28e00e),_0x41bf75=>{switch(_0x41bf75){case'S':return this['num'](_0x5f3c21['millisecond']);case'u':case'SSS':return this['num'](_0x5f3c21['millisecond'],0x3);case's':return this['num'](_0x5f3c21['second']);case'ss':return this['num'](_0x5f3c21['second'],0x2);case'uu':return this['num'](Math['floor'](_0x5f3c21['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x5f3c21['millisecond']/0x64));case'm':return this['num'](_0x5f3c21['minute']);case'mm':return this['num'](_0x5f3c21['minute'],0x2);case'h':return this['num'](_0x5f3c21['hour']%0xc==0x0?0xc:_0x5f3c21['hour']%0xc);case'hh':return this['num'](_0x5f3c21['hour']%0xc==0x0?0xc:_0x5f3c21['hour']%0xc,0x2);case'H':return this['num'](_0x5f3c21['hour']);case'HH':return this['num'](_0x5f3c21['hour'],0x2);case'Z':return _0x5fba83({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x5fba83({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x5fba83({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x5f3c21['zone']['offsetName'](_0x5f3c21['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x5f3c21['zone']['offsetName'](_0x5f3c21['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x5f3c21['zoneName'];case'a':return _0x5c24d9?meridiemForDateTime(_0x5f3c21):_0x596c0e({'hour':'numeric','hourCycle':'h12'},'dayperiod');case'd':return _0x1bc63b?_0x596c0e({'day':'numeric'},'day'):this['num'](_0x5f3c21['day']);case'dd':return _0x1bc63b?_0x596c0e({'day':'2-digit'},'day'):this['num'](_0x5f3c21['day'],0x2);case'c':case'E':return this['num'](_0x5f3c21['weekday']);case'ccc':return _0x15e8c2('short',!0x0);case'cccc':return _0x15e8c2('long',!0x0);case'ccccc':return _0x15e8c2('narrow',!0x0);case'EEE':return _0x15e8c2('short',!0x1);case'EEEE':return _0x15e8c2('long',!0x1);case'EEEEE':return _0x15e8c2('narrow',!0x1);case'L':return _0x1bc63b?_0x596c0e({'month':'numeric','day':'numeric'},'month'):this['num'](_0x5f3c21['month']);case'LL':return _0x1bc63b?_0x596c0e({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x5f3c21['month'],0x2);case'LLL':return _0x3a2e38('short',!0x0);case'LLLL':return _0x3a2e38('long',!0x0);case'LLLLL':return _0x3a2e38('narrow',!0x0);case'M':return _0x1bc63b?_0x596c0e({'month':'numeric'},'month'):this['num'](_0x5f3c21['month']);case'MM':return _0x1bc63b?_0x596c0e({'month':'2-digit'},'month'):this['num'](_0x5f3c21['month'],0x2);case'MMM':return _0x3a2e38('short',!0x1);case'MMMM':return _0x3a2e38('long',!0x1);case'MMMMM':return _0x3a2e38('narrow',!0x1);case'y':return _0x1bc63b?_0x596c0e({'year':'numeric'},'year'):this['num'](_0x5f3c21['year']);case'yy':return _0x1bc63b?_0x596c0e({'year':'2-digit'},'year'):this['num'](_0x5f3c21['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x1bc63b?_0x596c0e({'year':'numeric'},'year'):this['num'](_0x5f3c21['year'],0x4);case'yyyyyy':return _0x1bc63b?_0x596c0e({'year':'numeric'},'year'):this['num'](_0x5f3c21['year'],0x6);case'G':return _0xe10a3e('short');case'GG':return _0xe10a3e('long');case'GGGGG':return _0xe10a3e('narrow');case'kk':return this['num'](_0x5f3c21['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x5f3c21['weekYear'],0x4);case'W':return this['num'](_0x5f3c21['weekNumber']);case'WW':return this['num'](_0x5f3c21['weekNumber'],0x2);case'n':return this['num'](_0x5f3c21['localWeekNumber']);case'nn':return this['num'](_0x5f3c21['localWeekNumber'],0x2);case'ii':return this['num'](_0x5f3c21['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x5f3c21['localWeekYear'],0x4);case'o':return this['num'](_0x5f3c21['ordinal']);case'ooo':return this['num'](_0x5f3c21['ordinal'],0x3);case'q':return this['num'](_0x5f3c21['quarter']);case'qq':return this['num'](_0x5f3c21['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x5f3c21['ts']/0x3e8));case'x':return this['num'](_0x5f3c21['ts']);default:return _0x51aecb(_0x41bf75);}});}['formatDurationFromString'](_0x4d464b,_0x4939f7){const _0x562d46=_0x9614ec=>{switch(_0x9614ec[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;}},_0x28ef00=Formatter['parseFormat'](_0x4939f7),_0x30ae10=_0x28ef00['reduce']((_0x56e714,{literal:_0x334d11,val:_0x24ee03})=>_0x334d11?_0x56e714:_0x56e714['concat'](_0x24ee03),[]),_0x30d598=_0x4d464b['shiftTo'](..._0x30ae10['map'](_0x562d46)['filter'](t=>t));return stringifyTokens(_0x28ef00,(_0x22da96=>_0x823efe=>{const _0x33d70b=_0x562d46(_0x823efe);return _0x33d70b?this['num'](_0x22da96['get'](_0x33d70b),_0x823efe['length']):_0x823efe;})(_0x30d598));}}const _0x58121e=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x7a96cf(..._0x140128){const _0x17e648=_0x140128['reduce']((_0x283f12,_0x5c2609)=>_0x283f12+_0x5c2609['source'],'');return RegExp('^'+_0x17e648+'$');}function combineExtractors(..._0x280e37){return _0x508ecd=>_0x280e37['reduce'](([_0x636854,_0x3d2944,_0x2f17d5],_0x3019d6)=>{const [_0x29edd2,_0x52d989,_0x5a1e92]=_0x3019d6(_0x508ecd,_0x2f17d5);return[{..._0x636854,..._0x29edd2},_0x52d989||_0x3d2944,_0x5a1e92];},[{},null,0x1])['slice'](0x0,0x2);}function _0x45e92b(_0x5d88bf,..._0x1e4310){if(null==_0x5d88bf)return[null,null];for(const [_0x17795c,_0x2f6bbd]of _0x1e4310){const _0xff3902=_0x17795c['exec'](_0x5d88bf);if(_0xff3902)return _0x2f6bbd(_0xff3902);}return[null,null];}function _0x46ba27(..._0x24dd40){return(_0x21d984,_0x15a0f2)=>{const _0x21713e={};let _0x5f4853;for(_0x5f4853=0x0;_0x5f4853<_0x24dd40['length'];_0x5f4853++)_0x21713e[_0x24dd40[_0x5f4853]]=parseInteger(_0x21d984[_0x15a0f2+_0x5f4853]);return[_0x21713e,null,_0x15a0f2+_0x5f4853];};}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone='(?:'+offsetRegex['source']+'?(?:\x5c[('+_0x58121e['source']+')\x5c])?)?',_0x3afcee=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x558a00=RegExp(''+_0x3afcee['source']+isoExtendedZone),isoTimeExtensionRegex=RegExp('(?:T'+_0x558a00['source']+')?'),_0x58ab61=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x37421d=/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x54784d=/(\d{4})-?(\d{3})/,extractISOWeekData=_0x46ba27('weekYear','weekNumber','weekDay'),extractISOOrdinalData=_0x46ba27('year','ordinal'),_0x5384f9=/(\d{4})-(\d\d)-(\d\d)/,_0x45c523=RegExp(_0x3afcee['source']+'\x20?(?:'+offsetRegex['source']+'|('+_0x58121e['source']+'))?'),sqlTimeExtensionRegex=RegExp('(?:\x20'+_0x45c523['source']+')?');function int(_0x4d109b,_0x3dac02,_0x5e4cb7){const _0x334430=_0x4d109b[_0x3dac02];return _0x104604(_0x334430)?_0x5e4cb7:parseInteger(_0x334430);}function extractISOYmd(_0x376fde,_0x1f6be6){return[{'year':int(_0x376fde,_0x1f6be6),'month':int(_0x376fde,_0x1f6be6+0x1,0x1),'day':int(_0x376fde,_0x1f6be6+0x2,0x1)},null,_0x1f6be6+0x3];}function extractISOTime(_0x50035d,_0x5c7f4d){return[{'hours':int(_0x50035d,_0x5c7f4d,0x0),'minutes':int(_0x50035d,_0x5c7f4d+0x1,0x0),'seconds':int(_0x50035d,_0x5c7f4d+0x2,0x0),'milliseconds':_0x3b4957(_0x50035d[_0x5c7f4d+0x3])},null,_0x5c7f4d+0x4];}function extractISOOffset(_0x16946a,_0x20b3fa){const _0xb09a29=!_0x16946a[_0x20b3fa]&&!_0x16946a[_0x20b3fa+0x1],_0x912423=signedOffset(_0x16946a[_0x20b3fa+0x1],_0x16946a[_0x20b3fa+0x2]);return[{},_0xb09a29?null:FixedOffsetZone['instance'](_0x912423),_0x20b3fa+0x3];}function extractIANAZone(_0x9bfc74,_0x22e340){return[{},_0x9bfc74[_0x22e340]?_0x111c99['create'](_0x9bfc74[_0x22e340]):null,_0x22e340+0x1];}const _0x47c927=RegExp('^T?'+_0x3afcee['source']+'$'),isoDuration=/^-?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 extractISODuration(_0x34b839){const [_0xf90a2b,_0x5d8cf8,_0xf37487,_0x3332f1,_0x5bf3fb,_0x1a78ef,_0x2d4263,_0x1608b1,_0x235538]=_0x34b839,_0x360629='-'===_0xf90a2b[0x0],_0x17add0=_0x1608b1&&'-'===_0x1608b1[0x0],_0x260b0b=(_0x3240b2,_0x446d9b=!0x1)=>void 0x0!==_0x3240b2&&(_0x446d9b||_0x3240b2&&_0x360629)?-_0x3240b2:_0x3240b2;return[{'years':_0x260b0b(parseFloating(_0x5d8cf8)),'months':_0x260b0b(parseFloating(_0xf37487)),'weeks':_0x260b0b(parseFloating(_0x3332f1)),'days':_0x260b0b(parseFloating(_0x5bf3fb)),'hours':_0x260b0b(parseFloating(_0x1a78ef)),'minutes':_0x260b0b(parseFloating(_0x2d4263)),'seconds':_0x260b0b(parseFloating(_0x1608b1),'-0'===_0x1608b1),'milliseconds':_0x260b0b(_0x3b4957(_0x235538),_0x17add0)}];}const obsOffsets={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function fromStrings(_0x2b92d4,_0x63cb31,_0x5f4bd9,_0x5d8b72,_0x3f82c1,_0x327255,_0x2caf8c){const _0x46152c={'year':0x2===_0x63cb31['length']?untruncateYear(parseInteger(_0x63cb31)):parseInteger(_0x63cb31),'month':monthsShort['indexOf'](_0x5f4bd9)+0x1,'day':parseInteger(_0x5d8b72),'hour':parseInteger(_0x3f82c1),'minute':parseInteger(_0x327255)};return _0x2caf8c&&(_0x46152c['second']=parseInteger(_0x2caf8c)),_0x2b92d4&&(_0x46152c['weekday']=_0x2b92d4['length']>0x3?_0x51a211['indexOf'](_0x2b92d4)+0x1:weekdaysShort['indexOf'](_0x2b92d4)+0x1),_0x46152c;}const _0x3ecf20=/^(?:(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 extractRFC2822(_0x369e83){const [,_0x383c7d,_0x492756,_0x36441b,_0x4e540f,_0x30659f,_0x3e23d7,_0x4c2135,_0x247a7b,_0x303faa,_0x3a814b,_0x1e636e]=_0x369e83,_0x4bb366=fromStrings(_0x383c7d,_0x4e540f,_0x36441b,_0x492756,_0x30659f,_0x3e23d7,_0x4c2135);let _0x2dfdf6;return _0x2dfdf6=_0x247a7b?obsOffsets[_0x247a7b]:_0x303faa?0x0:signedOffset(_0x3a814b,_0x1e636e),[_0x4bb366,new FixedOffsetZone(_0x2dfdf6)];}function _0x9ce2f1(_0x2a9582){return _0x2a9582['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}const _0x2b32c5=/^(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$/,_0x305f5b=/^(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$/,_0xfce37b=/^(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 extractRFC1123Or850(_0x3e7869){const [,_0x26effb,_0x26ba8b,_0x3d76c2,_0x41ee26,_0x1210d6,_0x18804b,_0x5972ca]=_0x3e7869;return[fromStrings(_0x26effb,_0x41ee26,_0x3d76c2,_0x26ba8b,_0x1210d6,_0x18804b,_0x5972ca),FixedOffsetZone['utcInstance']];}function extractASCII(_0x20ecb4){const [,_0x5c9673,_0x5a176b,_0x21cb2a,_0x4e75ab,_0x2f9405,_0x579cb1,_0x2ea846]=_0x20ecb4;return[fromStrings(_0x5c9673,_0x2ea846,_0x5a176b,_0x21cb2a,_0x4e75ab,_0x2f9405,_0x579cb1),FixedOffsetZone['utcInstance']];}const isoYmdWithTimeExtensionRegex=_0x7a96cf(_0x58ab61,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=_0x7a96cf(_0x37421d,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=_0x7a96cf(_0x54784d,isoTimeExtensionRegex),_0x1f0f6f=_0x7a96cf(_0x558a00),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(_0x4d7407){return _0x45e92b(_0x4d7407,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[_0x1f0f6f,extractISOTimeAndOffset]);}function parseRFC2822Date(_0x58b0e3){return _0x45e92b(_0x9ce2f1(_0x58b0e3),[_0x3ecf20,extractRFC2822]);}function parseHTTPDate(_0x17debf){return _0x45e92b(_0x17debf,[_0x2b32c5,extractRFC1123Or850],[_0x305f5b,extractRFC1123Or850],[_0xfce37b,extractASCII]);}function parseISODuration(_0x334fbb){return _0x45e92b(_0x334fbb,[isoDuration,extractISODuration]);}const extractISOTimeOnly=combineExtractors(extractISOTime);function _0x591652(_0x259d4e){return _0x45e92b(_0x259d4e,[_0x47c927,extractISOTimeOnly]);}const sqlYmdWithTimeExtensionRegex=_0x7a96cf(_0x5384f9,sqlTimeExtensionRegex),_0x3475fa=_0x7a96cf(_0x45c523),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function _0x42c7d4(_0x5f3f54){return _0x45e92b(_0x5f3f54,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[_0x3475fa,extractISOTimeOffsetAndIANAZone]);}const _0x4cff5d='Invalid\x20Duration',lowOrderMatrix={'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}},casualMatrix={'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},...lowOrderMatrix},daysInYearAccurate=365.2425,daysInMonthAccurate=30.436875,accurateMatrix={'years':{'quarters':0x4,'months':0xc,'weeks':daysInYearAccurate/0x7,'days':daysInYearAccurate,'hours':0x18*daysInYearAccurate,'minutes':0x18*daysInYearAccurate*0x3c,'seconds':0x18*daysInYearAccurate*0x3c*0x3c,'milliseconds':0x18*daysInYearAccurate*0x3c*0x3c*0x3e8},'quarters':{'months':0x3,'weeks':daysInYearAccurate/0x1c,'days':daysInYearAccurate/0x4,'hours':0x18*daysInYearAccurate/0x4,'minutes':0x18*daysInYearAccurate*0x3c/0x4,'seconds':0x18*daysInYearAccurate*0x3c*0x3c/0x4,'milliseconds':0x18*daysInYearAccurate*0x3c*0x3c*0x3e8/0x4},'months':{'weeks':daysInMonthAccurate/0x7,'days':daysInMonthAccurate,'hours':0x18*daysInMonthAccurate,'minutes':0x18*daysInMonthAccurate*0x3c,'seconds':0x18*daysInMonthAccurate*0x3c*0x3c,'milliseconds':0x18*daysInMonthAccurate*0x3c*0x3c*0x3e8},...lowOrderMatrix},orderedUnits$1=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],reverseUnits=orderedUnits$1['slice'](0x0)['reverse']();function _0xf3fc0c(_0xf6fb9f,_0x4ef0e1,_0xc852b3=!0x1){const _0x1f87e3={'values':_0xc852b3?_0x4ef0e1['values']:{..._0xf6fb9f['values'],..._0x4ef0e1['values']||{}},'loc':_0xf6fb9f['loc']['clone'](_0x4ef0e1['loc']),'conversionAccuracy':_0x4ef0e1['conversionAccuracy']||_0xf6fb9f['conversionAccuracy'],'matrix':_0x4ef0e1['matrix']||_0xf6fb9f['matrix']};return new Duration(_0x1f87e3);}function durationToMillis(_0x4f9297,_0x46d49e){let _0x168803=_0x46d49e['milliseconds']??0x0;for(const _0x5445d7 of reverseUnits['slice'](0x1))_0x46d49e[_0x5445d7]&&(_0x168803+=_0x46d49e[_0x5445d7]*_0x4f9297[_0x5445d7]['milliseconds']);return _0x168803;}function _0x523713(_0x3b1275,_0x3c79d5){const _0x19766d=durationToMillis(_0x3b1275,_0x3c79d5)<0x0?-0x1:0x1;orderedUnits$1['reduceRight']((_0x58761a,_0x19bfa8)=>{if(_0x104604(_0x3c79d5[_0x19bfa8]))return _0x58761a;if(_0x58761a){const _0x2b40be=_0x3c79d5[_0x58761a]*_0x19766d,_0x58e449=_0x3b1275[_0x19bfa8][_0x58761a],_0x44cd60=Math['floor'](_0x2b40be/_0x58e449);_0x3c79d5[_0x19bfa8]+=_0x44cd60*_0x19766d,_0x3c79d5[_0x58761a]-=_0x44cd60*_0x58e449*_0x19766d;}return _0x19bfa8;},null),orderedUnits$1['reduce']((_0x49b0bf,_0xae12f1)=>{if(_0x104604(_0x3c79d5[_0xae12f1]))return _0x49b0bf;if(_0x49b0bf){const _0x454f78=_0x3c79d5[_0x49b0bf]%0x1;_0x3c79d5[_0x49b0bf]-=_0x454f78,_0x3c79d5[_0xae12f1]+=_0x454f78*_0x3b1275[_0x49b0bf][_0xae12f1];}return _0xae12f1;},null);}function _0x4a299e(_0x5a6d1c){const _0x2b449b={};for(const [_0x3c4e61,_0xb65ec3]of Object['entries'](_0x5a6d1c))0x0!==_0xb65ec3&&(_0x2b449b[_0x3c4e61]=_0xb65ec3);return _0x2b449b;}class Duration{constructor(_0x5714b0){const _0x2be173='longterm'===_0x5714b0['conversionAccuracy']||!0x1;let _0x1af8da=_0x2be173?accurateMatrix:casualMatrix;_0x5714b0['matrix']&&(_0x1af8da=_0x5714b0['matrix']),this['values']=_0x5714b0['values'],this['loc']=_0x5714b0['loc']||_0x2fbc8f['create'](),this['conversionAccuracy']=_0x2be173?'longterm':'casual',this['invalid']=_0x5714b0['invalid']||null,this['matrix']=_0x1af8da,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x4f1e7c,_0x4773ef){return Duration['fromObject']({'milliseconds':_0x4f1e7c},_0x4773ef);}static['fromObject'](_0x1a758a,_0x583fcb={}){if(null==_0x1a758a||'object'!=typeof _0x1a758a)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x1a758a?'null':typeof _0x1a758a));return new Duration({'values':normalizeObject(_0x1a758a,Duration['normalizeUnit']),'loc':_0x2fbc8f['fromObject'](_0x583fcb),'conversionAccuracy':_0x583fcb['conversionAccuracy'],'matrix':_0x583fcb['matrix']});}static['fromDurationLike'](_0x1e0595){if(_0x5c21d5(_0x1e0595))return Duration['fromMillis'](_0x1e0595);if(Duration['isDuration'](_0x1e0595))return _0x1e0595;if('object'==typeof _0x1e0595)return Duration['fromObject'](_0x1e0595);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x1e0595+'\x20of\x20type\x20'+typeof _0x1e0595);}static['fromISO'](_0x1758fa,_0x1ddabf){const [_0x2005ca]=parseISODuration(_0x1758fa);return _0x2005ca?Duration['fromObject'](_0x2005ca,_0x1ddabf):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x1758fa+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x232fab,_0x3bc514){const [_0x1e6fe5]=_0x591652(_0x232fab);return _0x1e6fe5?Duration['fromObject'](_0x1e6fe5,_0x3bc514):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x232fab+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x27294b,_0x35c89d=null){if(!_0x27294b)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x4a43a1=_0x27294b instanceof _0x1316e8?_0x27294b:new _0x1316e8(_0x27294b,_0x35c89d);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x4a43a1);return new Duration({'invalid':_0x4a43a1});}static['normalizeUnit'](_0x381028){const _0x2b1cdd={'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'}[_0x381028?_0x381028['toLowerCase']():_0x381028];if(!_0x2b1cdd)throw new InvalidUnitError(_0x381028);return _0x2b1cdd;}static['isDuration'](_0x1f40f7){return _0x1f40f7&&_0x1f40f7['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x229db5,_0x2e6870={}){const _0x2539fe={..._0x2e6870,'floor':!0x1!==_0x2e6870['round']&&!0x1!==_0x2e6870['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x2539fe)['formatDurationFromString'](this,_0x229db5):_0x4cff5d;}['toHuman'](_0x4b795a={}){if(!this['isValid'])return _0x4cff5d;const _0xaa516b=orderedUnits$1['map'](_0x588387=>{const _0x1ac633=this['values'][_0x588387];return _0x104604(_0x1ac633)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x4b795a,'unit':_0x588387['slice'](0x0,-0x1)})['format'](_0x1ac633);})['filter'](_0x42a384=>_0x42a384);return this['loc']['listFormatter']({'type':'conjunction','style':_0x4b795a['listStyle']||'narrow',..._0x4b795a})['format'](_0xaa516b);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x5d9bd3='P';return 0x0!==this['years']&&(_0x5d9bd3+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x5d9bd3+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x5d9bd3+=this['weeks']+'W'),0x0!==this['days']&&(_0x5d9bd3+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x5d9bd3+='T'),0x0!==this['hours']&&(_0x5d9bd3+=this['hours']+'H'),0x0!==this['minutes']&&(_0x5d9bd3+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x5d9bd3+=_0x2ca537(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x5d9bd3&&(_0x5d9bd3+='T0S'),_0x5d9bd3;}['toISOTime'](_0x2fa606={}){if(!this['isValid'])return null;const _0x246f2f=this['toMillis']();if(_0x246f2f<0x0||_0x246f2f>=0x5265c00)return null;return _0x2fa606={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x2fa606,'includeOffset':!0x1},DateTime['fromMillis'](_0x246f2f,{'zone':'UTC'})['toISOTime'](_0x2fa606);}['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']?durationToMillis(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x7f6f31){if(!this['isValid'])return this;const _0x4bb1a=Duration['fromDurationLike'](_0x7f6f31),_0x27be0c={};for(const _0x3a39f5 of orderedUnits$1)(hasOwnProperty(_0x4bb1a['values'],_0x3a39f5)||hasOwnProperty(this['values'],_0x3a39f5))&&(_0x27be0c[_0x3a39f5]=_0x4bb1a['get'](_0x3a39f5)+this['get'](_0x3a39f5));return _0xf3fc0c(this,{'values':_0x27be0c},!0x0);}['minus'](_0x53a2b3){if(!this['isValid'])return this;const _0x172693=Duration['fromDurationLike'](_0x53a2b3);return this['plus'](_0x172693['negate']());}['mapUnits'](_0x563414){if(!this['isValid'])return this;const _0x4b5095={};for(const _0x1efe22 of Object['keys'](this['values']))_0x4b5095[_0x1efe22]=_0x376383(_0x563414(this['values'][_0x1efe22],_0x1efe22));return _0xf3fc0c(this,{'values':_0x4b5095},!0x0);}['get'](_0x88ce60){return this[Duration['normalizeUnit'](_0x88ce60)];}['set'](_0x54e501){if(!this['isValid'])return this;return _0xf3fc0c(this,{'values':{...this['values'],...normalizeObject(_0x54e501,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x5634d2,numberingSystem:_0x1dfe3f,conversionAccuracy:_0x44c60b,matrix:_0x112456}={}){return _0xf3fc0c(this,{'loc':this['loc']['clone']({'locale':_0x5634d2,'numberingSystem':_0x1dfe3f}),'matrix':_0x112456,'conversionAccuracy':_0x44c60b});}['as'](_0x5cbcb0){return this['isValid']?this['shiftTo'](_0x5cbcb0)['get'](_0x5cbcb0):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x5b053c=this['toObject']();return _0x523713(this['matrix'],_0x5b053c),_0xf3fc0c(this,{'values':_0x5b053c},!0x0);}['rescale'](){if(!this['isValid'])return this;return _0xf3fc0c(this,{'values':_0x4a299e(this['normalize']()['shiftToAll']()['toObject']())},!0x0);}['shiftTo'](..._0x3a41a0){if(!this['isValid'])return this;if(0x0===_0x3a41a0['length'])return this;_0x3a41a0=_0x3a41a0['map'](_0x129105=>Duration['normalizeUnit'](_0x129105));const _0x604abf={},_0x49425e={},_0x1ea261=this['toObject']();let _0x1e6ea1;for(const _0x20f950 of orderedUnits$1)if(_0x3a41a0['indexOf'](_0x20f950)>=0x0){_0x1e6ea1=_0x20f950;let _0x5e9b2f=0x0;for(const _0x33ab82 in _0x49425e)_0x5e9b2f+=this['matrix'][_0x33ab82][_0x20f950]*_0x49425e[_0x33ab82],_0x49425e[_0x33ab82]=0x0;_0x5c21d5(_0x1ea261[_0x20f950])&&(_0x5e9b2f+=_0x1ea261[_0x20f950]);const _0x38d7dd=Math['trunc'](_0x5e9b2f);_0x604abf[_0x20f950]=_0x38d7dd,_0x49425e[_0x20f950]=(0x3e8*_0x5e9b2f-0x3e8*_0x38d7dd)/0x3e8;}else _0x5c21d5(_0x1ea261[_0x20f950])&&(_0x49425e[_0x20f950]=_0x1ea261[_0x20f950]);for(const _0xe75e00 in _0x49425e)0x0!==_0x49425e[_0xe75e00]&&(_0x604abf[_0x1e6ea1]+=_0xe75e00===_0x1e6ea1?_0x49425e[_0xe75e00]:_0x49425e[_0xe75e00]/this['matrix'][_0x1e6ea1][_0xe75e00]);return _0x523713(this['matrix'],_0x604abf),_0xf3fc0c(this,{'values':_0x604abf},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x5898b5={};for(const _0x58a2cc of Object['keys'](this['values']))_0x5898b5[_0x58a2cc]=0x0===this['values'][_0x58a2cc]?0x0:-this['values'][_0x58a2cc];return _0xf3fc0c(this,{'values':_0x5898b5},!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'](_0x3c2e0e){if(!this['isValid']||!_0x3c2e0e['isValid'])return!0x1;if(!this['loc']['equals'](_0x3c2e0e['loc']))return!0x1;function _0x3813d6(_0x58c6f3,_0x5dea7c){return void 0x0===_0x58c6f3||0x0===_0x58c6f3?void 0x0===_0x5dea7c||0x0===_0x5dea7c:_0x58c6f3===_0x5dea7c;}for(const _0xa762df of orderedUnits$1)if(!_0x3813d6(this['values'][_0xa762df],_0x3c2e0e['values'][_0xa762df]))return!0x1;return!0x0;}}const _0x5a1052='Invalid\x20Interval';function validateStartEnd(_0x8f62cc,_0x5cf457){return _0x8f62cc&&_0x8f62cc['isValid']?_0x5cf457&&_0x5cf457['isValid']?_0x5cf457<_0x8f62cc?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x8f62cc['toISO']()+'\x20and\x20end='+_0x5cf457['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}class Interval{constructor(_0x5e757c){this['s']=_0x5e757c['start'],this['e']=_0x5e757c['end'],this['invalid']=_0x5e757c['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0xd1db1a,_0x48f901=null){if(!_0xd1db1a)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x37ba2f=_0xd1db1a instanceof _0x1316e8?_0xd1db1a:new _0x1316e8(_0xd1db1a,_0x48f901);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x37ba2f);return new Interval({'invalid':_0x37ba2f});}static['fromDateTimes'](_0x2f2d26,_0x26a9e8){const _0x419b8c=friendlyDateTime(_0x2f2d26),_0x4cdc4c=friendlyDateTime(_0x26a9e8),_0x223998=validateStartEnd(_0x419b8c,_0x4cdc4c);return null==_0x223998?new Interval({'start':_0x419b8c,'end':_0x4cdc4c}):_0x223998;}static['after'](_0x24e7ae,_0x18e58b){const _0x241127=Duration['fromDurationLike'](_0x18e58b),_0x22128f=friendlyDateTime(_0x24e7ae);return Interval['fromDateTimes'](_0x22128f,_0x22128f['plus'](_0x241127));}static['before'](_0x263b48,_0x21a78a){const _0x4d2276=Duration['fromDurationLike'](_0x21a78a),_0x332769=friendlyDateTime(_0x263b48);return Interval['fromDateTimes'](_0x332769['minus'](_0x4d2276),_0x332769);}static['fromISO'](_0x5263b6,_0x3ae334){const [_0x4ec892,_0x5eda93]=(_0x5263b6||'')['split']('/',0x2);if(_0x4ec892&&_0x5eda93){let _0x18ec30,_0x491c03,_0x35cb90,_0x536ac7;try{_0x18ec30=DateTime['fromISO'](_0x4ec892,_0x3ae334),_0x491c03=_0x18ec30['isValid'];}catch(_0x5c9a6d){_0x491c03=!0x1;}try{_0x35cb90=DateTime['fromISO'](_0x5eda93,_0x3ae334),_0x536ac7=_0x35cb90['isValid'];}catch(_0x13b4d4){_0x536ac7=!0x1;}if(_0x491c03&&_0x536ac7)return Interval['fromDateTimes'](_0x18ec30,_0x35cb90);if(_0x491c03){const _0x5e61fe=Duration['fromISO'](_0x5eda93,_0x3ae334);if(_0x5e61fe['isValid'])return Interval['after'](_0x18ec30,_0x5e61fe);}else{if(_0x536ac7){const _0x4ddc90=Duration['fromISO'](_0x4ec892,_0x3ae334);if(_0x4ddc90['isValid'])return Interval['before'](_0x35cb90,_0x4ddc90);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x5263b6+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x2c4299){return _0x2c4299&&_0x2c4299['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'](_0x1758a0='milliseconds'){return this['isValid']?this['toDuration'](_0x1758a0)['get'](_0x1758a0):NaN;}['count'](_0x1e2b37='milliseconds',_0x4a771a){if(!this['isValid'])return NaN;const _0x57d31b=this['start']['startOf'](_0x1e2b37,_0x4a771a);let _0xc78896;return _0xc78896=_0x4a771a?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x57d31b['locale']}):this['end'],_0xc78896=_0xc78896['startOf'](_0x1e2b37,_0x4a771a),Math['floor'](_0xc78896['diff'](_0x57d31b,_0x1e2b37)['get'](_0x1e2b37))+(_0xc78896['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x4b2985){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x4b2985));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x194bfc){return!!this['isValid']&&this['s']>_0x194bfc;}['isBefore'](_0x5c79a4){return!!this['isValid']&&this['e']<=_0x5c79a4;}['contains'](_0x2155f1){return!!this['isValid']&&(this['s']<=_0x2155f1&&this['e']>_0x2155f1);}['set']({start:_0x34c492,end:_0x246c3e}={}){return this['isValid']?Interval['fromDateTimes'](_0x34c492||this['s'],_0x246c3e||this['e']):this;}['splitAt'](..._0x2c8895){if(!this['isValid'])return[];const _0xd00c60=_0x2c8895['map'](friendlyDateTime)['filter'](_0x465c63=>this['contains'](_0x465c63))['sort']((_0x2d364e,_0xf0f762)=>_0x2d364e['toMillis']()-_0xf0f762['toMillis']()),_0x2f5e9f=[];let {s:_0x41c7b4}=this,_0x40a745=0x0;for(;_0x41c7b4<this['e'];){const _0x4f8b46=_0xd00c60[_0x40a745]||this['e'],_0x6f16b3=+_0x4f8b46>+this['e']?this['e']:_0x4f8b46;_0x2f5e9f['push'](Interval['fromDateTimes'](_0x41c7b4,_0x6f16b3)),_0x41c7b4=_0x6f16b3,_0x40a745+=0x1;}return _0x2f5e9f;}['splitBy'](_0x3e2cc2){const _0x46249d=Duration['fromDurationLike'](_0x3e2cc2);if(!this['isValid']||!_0x46249d['isValid']||0x0===_0x46249d['as']('milliseconds'))return[];let _0x3619e3,{s:_0xab3879}=this,_0x3e32fd=0x1;const _0x57b033=[];for(;_0xab3879<this['e'];){const _0x456003=this['start']['plus'](_0x46249d['mapUnits'](_0x38e213=>_0x38e213*_0x3e32fd));_0x3619e3=+_0x456003>+this['e']?this['e']:_0x456003,_0x57b033['push'](Interval['fromDateTimes'](_0xab3879,_0x3619e3)),_0xab3879=_0x3619e3,_0x3e32fd+=0x1;}return _0x57b033;}['divideEqually'](_0x4cb45d){return this['isValid']?this['splitBy'](this['length']()/_0x4cb45d)['slice'](0x0,_0x4cb45d):[];}['overlaps'](_0x2d857a){return this['e']>_0x2d857a['s']&&this['s']<_0x2d857a['e'];}['abutsStart'](_0x4af819){return!!this['isValid']&&+this['e']===+_0x4af819['s'];}['abutsEnd'](_0x2dba86){return!!this['isValid']&&+_0x2dba86['e']===+this['s'];}['engulfs'](_0x4c8b50){return!!this['isValid']&&(this['s']<=_0x4c8b50['s']&&this['e']>=_0x4c8b50['e']);}['equals'](_0xfd0366){return!(!this['isValid']||!_0xfd0366['isValid'])&&(this['s']['equals'](_0xfd0366['s'])&&this['e']['equals'](_0xfd0366['e']));}['intersection'](_0x2cf592){if(!this['isValid'])return this;const _0x69fdc5=this['s']>_0x2cf592['s']?this['s']:_0x2cf592['s'],_0xec8adc=this['e']<_0x2cf592['e']?this['e']:_0x2cf592['e'];return _0x69fdc5>=_0xec8adc?null:Interval['fromDateTimes'](_0x69fdc5,_0xec8adc);}['union'](_0x5972da){if(!this['isValid'])return this;const _0x3274d0=this['s']<_0x5972da['s']?this['s']:_0x5972da['s'],_0x2c4389=this['e']>_0x5972da['e']?this['e']:_0x5972da['e'];return Interval['fromDateTimes'](_0x3274d0,_0x2c4389);}static['merge'](_0xcb55ed){const [_0x31eb74,_0x401f56]=_0xcb55ed['sort']((_0x15f110,_0x1798bd)=>_0x15f110['s']-_0x1798bd['s'])['reduce'](([_0x411a75,_0x1d8cbf],_0x788d40)=>_0x1d8cbf?_0x1d8cbf['overlaps'](_0x788d40)||_0x1d8cbf['abutsStart'](_0x788d40)?[_0x411a75,_0x1d8cbf['union'](_0x788d40)]:[_0x411a75['concat']([_0x1d8cbf]),_0x788d40]:[_0x411a75,_0x788d40],[[],null]);return _0x401f56&&_0x31eb74['push'](_0x401f56),_0x31eb74;}static['xor'](_0x5198c4){let _0x4c1158=null,_0x143137=0x0;const _0x3fd7fa=[],_0x39c115=_0x5198c4['map'](_0x2f0a3d=>[{'time':_0x2f0a3d['s'],'type':'s'},{'time':_0x2f0a3d['e'],'type':'e'}]),_0x3d6a75=Array['prototype']['concat'](..._0x39c115)['sort']((_0x53ced7,_0x228312)=>_0x53ced7['time']-_0x228312['time']);for(const _0x15684f of _0x3d6a75)_0x143137+='s'===_0x15684f['type']?0x1:-0x1,0x1===_0x143137?_0x4c1158=_0x15684f['time']:(_0x4c1158&&+_0x4c1158!==+_0x15684f['time']&&_0x3fd7fa['push'](Interval['fromDateTimes'](_0x4c1158,_0x15684f['time'])),_0x4c1158=null);return Interval['merge'](_0x3fd7fa);}['difference'](..._0x1e106d){return Interval['xor']([this]['concat'](_0x1e106d))['map'](_0x3602cb=>this['intersection'](_0x3602cb))['filter'](_0x233224=>_0x233224&&!_0x233224['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x5a1052;}[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'](_0x3b5b13=_0x488b50,_0x4b8535={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x4b8535),_0x3b5b13)['formatInterval'](this):_0x5a1052;}['toISO'](_0x3c9eb1){return this['isValid']?this['s']['toISO'](_0x3c9eb1)+'/'+this['e']['toISO'](_0x3c9eb1):_0x5a1052;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x5a1052;}['toISOTime'](_0x11473e){return this['isValid']?this['s']['toISOTime'](_0x11473e)+'/'+this['e']['toISOTime'](_0x11473e):_0x5a1052;}['toFormat'](_0x230f5b,{separator:_0x14b703='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x230f5b)+_0x14b703+this['e']['toFormat'](_0x230f5b):_0x5a1052;}['toDuration'](_0x406bed,_0x55fd26){return this['isValid']?this['e']['diff'](this['s'],_0x406bed,_0x55fd26):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x4bf9a5){return Interval['fromDateTimes'](_0x4bf9a5(this['s']),_0x4bf9a5(this['e']));}}class _0x5101e7{static['hasDST'](_0x555e3f=Settings['defaultZone']){const _0xf88ea6=DateTime['now']()['setZone'](_0x555e3f)['set']({'month':0xc});return!_0x555e3f['isUniversal']&&_0xf88ea6['offset']!==_0xf88ea6['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x3f7575){return _0x111c99['isValidZone'](_0x3f7575);}static['normalizeZone'](_0x3070b1){return _0x3ac019(_0x3070b1,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x4e6c0e=null,locObj:_0x4ea67c=null}={}){return(_0x4ea67c||_0x2fbc8f['create'](_0x4e6c0e))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x142af8=null,locObj:_0x356eb4=null}={}){return(_0x356eb4||_0x2fbc8f['create'](_0x142af8))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x1f7440=null,locObj:_0x5e0b9a=null}={}){return(_0x5e0b9a||_0x2fbc8f['create'](_0x1f7440))['getWeekendDays']()['slice']();}static['months'](_0x4d6de6='long',{locale:_0x1b0de5=null,numberingSystem:_0x1b7d3a=null,locObj:_0x5d7622=null,outputCalendar:_0x5f232e='gregory'}={}){return(_0x5d7622||_0x2fbc8f['create'](_0x1b0de5,_0x1b7d3a,_0x5f232e))['months'](_0x4d6de6);}static['monthsFormat'](_0x1b8ec7='long',{locale:_0x465ce9=null,numberingSystem:_0x30fab4=null,locObj:_0x3713df=null,outputCalendar:_0x16e968='gregory'}={}){return(_0x3713df||_0x2fbc8f['create'](_0x465ce9,_0x30fab4,_0x16e968))['months'](_0x1b8ec7,!0x0);}static['weekdays'](_0x40b855='long',{locale:_0x25ae99=null,numberingSystem:_0x597d7d=null,locObj:_0xa92ac8=null}={}){return(_0xa92ac8||_0x2fbc8f['create'](_0x25ae99,_0x597d7d,null))['weekdays'](_0x40b855);}static['weekdaysFormat'](_0x3d60e8='long',{locale:_0x192df9=null,numberingSystem:_0x2dbcdd=null,locObj:_0x3186d5=null}={}){return(_0x3186d5||_0x2fbc8f['create'](_0x192df9,_0x2dbcdd,null))['weekdays'](_0x3d60e8,!0x0);}static['meridiems']({locale:_0x2b20bf=null}={}){return _0x2fbc8f['create'](_0x2b20bf)['meridiems']();}static['eras'](_0x28b235='short',{locale:_0x5ad902=null}={}){return _0x2fbc8f['create'](_0x5ad902,null,'gregory')['eras'](_0x28b235);}static['features'](){return{'relative':hasRelative(),'localeWeek':_0x297ab4()};}}function _0xa84455(_0x8d8329,_0x3fdd2a){const _0x4c86e8=_0x152ba1=>_0x152ba1['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x1bc79c=_0x4c86e8(_0x3fdd2a)-_0x4c86e8(_0x8d8329);return Math['floor'](Duration['fromMillis'](_0x1bc79c)['as']('days'));}function _0x3ddf14(_0x1195f6,_0x28cbb7,_0x23a16d){const _0x424742=[['years',(_0x47ee5a,_0x44887b)=>_0x44887b['year']-_0x47ee5a['year']],['quarters',(_0x8f6840,_0x107074)=>_0x107074['quarter']-_0x8f6840['quarter']+0x4*(_0x107074['year']-_0x8f6840['year'])],['months',(_0x3c7971,_0x18c152)=>_0x18c152['month']-_0x3c7971['month']+0xc*(_0x18c152['year']-_0x3c7971['year'])],['weeks',(_0x481f9,_0x25d8a5)=>{const _0x1a7ba5=_0xa84455(_0x481f9,_0x25d8a5);return(_0x1a7ba5-_0x1a7ba5%0x7)/0x7;}],['days',_0xa84455]],_0x558f80={},_0x2aa537=_0x1195f6;let _0x2e990d,_0x1465e3;for(const [_0x3a1e70,_0x4224c1]of _0x424742)_0x23a16d['indexOf'](_0x3a1e70)>=0x0&&(_0x2e990d=_0x3a1e70,_0x558f80[_0x3a1e70]=_0x4224c1(_0x1195f6,_0x28cbb7),_0x1465e3=_0x2aa537['plus'](_0x558f80),_0x1465e3>_0x28cbb7?(_0x558f80[_0x3a1e70]--,(_0x1195f6=_0x2aa537['plus'](_0x558f80))>_0x28cbb7&&(_0x1465e3=_0x1195f6,_0x558f80[_0x3a1e70]--,_0x1195f6=_0x2aa537['plus'](_0x558f80))):_0x1195f6=_0x1465e3);return[_0x1195f6,_0x558f80,_0x1465e3,_0x2e990d];}function _0x16d8c1(_0x3fc8f2,_0x2a3c34,_0x389120,_0xf99e51){let [_0x4d0e30,_0x1637a4,_0x4c0f81,_0x5b08fd]=_0x3ddf14(_0x3fc8f2,_0x2a3c34,_0x389120);const _0x7bd546=_0x2a3c34-_0x4d0e30,_0x2adf01=_0x389120['filter'](_0x1d0e7c=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x1d0e7c)>=0x0);0x0===_0x2adf01['length']&&(_0x4c0f81<_0x2a3c34&&(_0x4c0f81=_0x4d0e30['plus']({[_0x5b08fd]:0x1})),_0x4c0f81!==_0x4d0e30&&(_0x1637a4[_0x5b08fd]=(_0x1637a4[_0x5b08fd]||0x0)+_0x7bd546/(_0x4c0f81-_0x4d0e30)));const _0x295924=Duration['fromObject'](_0x1637a4,_0xf99e51);return _0x2adf01['length']>0x0?Duration['fromMillis'](_0x7bd546,_0xf99e51)['shiftTo'](..._0x2adf01)['plus'](_0x295924):_0x295924;}const _0x583dfb='missing\x20Intl.DateTimeFormat.formatToParts\x20support';function intUnit(_0x58728d,_0x52116b=_0x2c9c23=>_0x2c9c23){return{'regex':_0x58728d,'deser':([_0x1efafe])=>_0x52116b(parseDigits(_0x1efafe))};}const _0x49799e=String['fromCharCode'](0xa0),_0x3f2d96='[\x20'+_0x49799e+']',_0x1dc96d=new RegExp(_0x3f2d96,'g');function fixListRegex(_0x4b93c7){return _0x4b93c7['replace'](/\./g,'\x5c.?')['replace'](_0x1dc96d,_0x3f2d96);}function stripInsensitivities(_0x58c57a){return _0x58c57a['replace'](/\./g,'')['replace'](_0x1dc96d,'\x20')['toLowerCase']();}function _0x532dae(_0x48d27d,_0x526188){return null===_0x48d27d?null:{'regex':RegExp(_0x48d27d['map'](fixListRegex)['join']('|')),'deser':([_0x2daf4d])=>_0x48d27d['findIndex'](_0x37bffe=>stripInsensitivities(_0x2daf4d)===stripInsensitivities(_0x37bffe))+_0x526188};}function offset(_0x5c8ea5,_0x9b565d){return{'regex':_0x5c8ea5,'deser':([,_0x24a748,_0x68eea4])=>signedOffset(_0x24a748,_0x68eea4),'groups':_0x9b565d};}function _0xec9105(_0x38edc2){return{'regex':_0x38edc2,'deser':([_0x47b256])=>_0x47b256};}function _0xac0632(_0x596e79){return _0x596e79['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}function unitForToken(_0x1ec978,_0x2ae14a){const _0x345b43=digitRegex(_0x2ae14a),_0x282516=digitRegex(_0x2ae14a,'{2}'),_0x5224a7=digitRegex(_0x2ae14a,'{3}'),_0x9df418=digitRegex(_0x2ae14a,'{4}'),_0x89ae2e=digitRegex(_0x2ae14a,'{6}'),_0x12bc42=digitRegex(_0x2ae14a,'{1,2}'),_0x204c40=digitRegex(_0x2ae14a,'{1,3}'),_0x5db898=digitRegex(_0x2ae14a,'{1,6}'),_0x4575e8=digitRegex(_0x2ae14a,'{1,9}'),_0x5e59e2=digitRegex(_0x2ae14a,'{2,4}'),_0x1535a6=digitRegex(_0x2ae14a,'{4,6}'),_0x38eaf0=t=>({'regex':RegExp(_0xac0632(t['val'])),'deser':([_0x5da872])=>_0x5da872,'literal':!0x0}),_0x119100=(t=>{if(_0x1ec978['literal'])return _0x38eaf0(t);switch(t['val']){case'G':return _0x532dae(_0x2ae14a['eras']('short'),0x0);case'GG':return _0x532dae(_0x2ae14a['eras']('long'),0x0);case'y':return intUnit(_0x5db898);case'yy':case'kk':return intUnit(_0x5e59e2,untruncateYear);case'yyyy':case'kkkk':return intUnit(_0x9df418);case'yyyyy':return intUnit(_0x1535a6);case'yyyyyy':return intUnit(_0x89ae2e);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return intUnit(_0x12bc42);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return intUnit(_0x282516);case'MMM':return _0x532dae(_0x2ae14a['months']('short',!0x0),0x1);case'MMMM':return _0x532dae(_0x2ae14a['months']('long',!0x0),0x1);case'LLL':return _0x532dae(_0x2ae14a['months']('short',!0x1),0x1);case'LLLL':return _0x532dae(_0x2ae14a['months']('long',!0x1),0x1);case'o':case'S':return intUnit(_0x204c40);case'ooo':case'SSS':return intUnit(_0x5224a7);case'u':return _0xec9105(_0x4575e8);case'uu':return _0xec9105(_0x12bc42);case'uuu':case'E':case'c':return intUnit(_0x345b43);case'a':return _0x532dae(_0x2ae14a['meridiems'](),0x0);case'EEE':return _0x532dae(_0x2ae14a['weekdays']('short',!0x1),0x1);case'EEEE':return _0x532dae(_0x2ae14a['weekdays']('long',!0x1),0x1);case'ccc':return _0x532dae(_0x2ae14a['weekdays']('short',!0x0),0x1);case'cccc':return _0x532dae(_0x2ae14a['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return offset(new RegExp('([+-]'+_0x12bc42['source']+')(?::('+_0x282516['source']+'))?'),0x2);case'ZZZ':return offset(new RegExp('([+-]'+_0x12bc42['source']+')('+_0x282516['source']+')?'),0x2);case'z':return _0xec9105(/[a-z_+-/]{1,256}?/i);case'\x20':return _0xec9105(/[^\S\n\r]/);default:return _0x38eaf0(t);}})(_0x1ec978)||{'invalidReason':_0x583dfb};return _0x119100['token']=_0x1ec978,_0x119100;}const partTypeStyleToTokenVal={'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'}};function tokenForPart(_0x5ec44e,_0x130908,_0x1ed66a){const {type:_0x3aca46,value:_0x402e11}=_0x5ec44e;if('literal'===_0x3aca46){const _0x2dc52a=/^\s+$/['test'](_0x402e11);return{'literal':!_0x2dc52a,'val':_0x2dc52a?'\x20':_0x402e11};}const _0x145041=_0x130908[_0x3aca46];let _0x502fbb=_0x3aca46;'hour'===_0x3aca46&&(_0x502fbb=null!=_0x130908['hour12']?_0x130908['hour12']?'hour12':'hour24':null!=_0x130908['hourCycle']?'h11'===_0x130908['hourCycle']||'h12'===_0x130908['hourCycle']?'hour12':'hour24':_0x1ed66a['hour12']?'hour12':'hour24');let _0x53af9f=partTypeStyleToTokenVal[_0x502fbb];if('object'==typeof _0x53af9f&&(_0x53af9f=_0x53af9f[_0x145041]),_0x53af9f)return{'literal':!0x1,'val':_0x53af9f};}function _0xa85fd7(_0x4fece9){const _0x3c629d=_0x4fece9['map'](_0x46c3c4=>_0x46c3c4['regex'])['reduce']((_0x93fafe,_0x49b9a4)=>_0x93fafe+'('+_0x49b9a4['source']+')','');return['^'+_0x3c629d+'$',_0x4fece9];}function match(_0x3d166a,_0x48dae0,_0x39a033){const _0x54233c=_0x3d166a['match'](_0x48dae0);if(_0x54233c){const _0x3f2f91={};let _0x5a8c25=0x1;for(const _0x4a78f4 in _0x39a033)if(hasOwnProperty(_0x39a033,_0x4a78f4)){const _0x19b914=_0x39a033[_0x4a78f4],_0x4d0186=_0x19b914['groups']?_0x19b914['groups']+0x1:0x1;!_0x19b914['literal']&&_0x19b914['token']&&(_0x3f2f91[_0x19b914['token']['val'][0x0]]=_0x19b914['deser'](_0x54233c['slice'](_0x5a8c25,_0x5a8c25+_0x4d0186))),_0x5a8c25+=_0x4d0186;}return[_0x54233c,_0x3f2f91];}return[_0x54233c,{}];}function dateTimeFromMatches(_0x54b67b){let _0x996a19,_0xf616eb=null;_0x104604(_0x54b67b['z'])||(_0xf616eb=_0x111c99['create'](_0x54b67b['z'])),_0x104604(_0x54b67b['Z'])||(_0xf616eb||(_0xf616eb=new FixedOffsetZone(_0x54b67b['Z'])),_0x996a19=_0x54b67b['Z']),_0x104604(_0x54b67b['q'])||(_0x54b67b['M']=0x3*(_0x54b67b['q']-0x1)+0x1),_0x104604(_0x54b67b['h'])||(_0x54b67b['h']<0xc&&0x1===_0x54b67b['a']?_0x54b67b['h']+=0xc:0xc===_0x54b67b['h']&&0x0===_0x54b67b['a']&&(_0x54b67b['h']=0x0)),0x0===_0x54b67b['G']&&_0x54b67b['y']&&(_0x54b67b['y']=-_0x54b67b['y']),_0x104604(_0x54b67b['u'])||(_0x54b67b['S']=_0x3b4957(_0x54b67b['u']));const _0x174c5d=Object['keys'](_0x54b67b)['reduce']((_0x57aedc,_0x24aaae)=>{const _0x7193ff=(_0x1e4d29=>{switch(_0x1e4d29){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;}})(_0x24aaae);return _0x7193ff&&(_0x57aedc[_0x7193ff]=_0x54b67b[_0x24aaae]),_0x57aedc;},{});return[_0x174c5d,_0xf616eb,_0x996a19];}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime['fromMillis'](0x16a2e5618e3)),dummyDateTimeCache;}function _0x2ca8b(_0x30d13c,_0x2b240c){if(_0x30d13c['literal'])return _0x30d13c;const _0x2e7730=formatOptsToTokens(Formatter['macroTokenToFormatOpts'](_0x30d13c['val']),_0x2b240c);return null==_0x2e7730||_0x2e7730['includes'](void 0x0)?_0x30d13c:_0x2e7730;}function _0x5e1e3a(_0x16bcf4,_0x1f2cf0){return Array['prototype']['concat'](..._0x16bcf4['map'](t=>_0x2ca8b(t,_0x1f2cf0)));}class _0x5eb367{constructor(_0x73af3b,_0xd4c846){if(this['locale']=_0x73af3b,this['format']=_0xd4c846,this['tokens']=_0x5e1e3a(Formatter['parseFormat'](_0xd4c846),_0x73af3b),this['units']=this['tokens']['map'](t=>unitForToken(t,_0x73af3b)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x213d7f,_0x30e792]=_0xa85fd7(this['units']);this['regex']=RegExp(_0x213d7f,'i'),this['handlers']=_0x30e792;}}['explainFromTokens'](_0x5efc80){if(this['isValid']){const [_0xb65766,_0x3b4fcc]=match(_0x5efc80,this['regex'],this['handlers']),[_0x54d5df,_0x2439ef,_0x47f230]=_0x3b4fcc?dateTimeFromMatches(_0x3b4fcc):[null,null,void 0x0];if(hasOwnProperty(_0x3b4fcc,'a')&&hasOwnProperty(_0x3b4fcc,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x5efc80,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0xb65766,'matches':_0x3b4fcc,'result':_0x54d5df,'zone':_0x2439ef,'specificOffset':_0x47f230};}return{'input':_0x5efc80,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x41d8d7(_0x47dbcc,_0x381edb,_0x50d009){return new _0x5eb367(_0x47dbcc,_0x50d009)['explainFromTokens'](_0x381edb);}function _0x1ddc16(_0x57e0b2,_0x1138ad,_0x2e066a){const {result:_0xd28eaf,zone:_0x33a0b1,specificOffset:_0x488eff,invalidReason:_0x3b8477}=_0x41d8d7(_0x57e0b2,_0x1138ad,_0x2e066a);return[_0xd28eaf,_0x33a0b1,_0x488eff,_0x3b8477];}function formatOptsToTokens(_0x588b62,_0x6592d2){if(!_0x588b62)return null;const _0x5bcbe5=Formatter['create'](_0x6592d2,_0x588b62)['dtFormatter'](getDummyDateTime()),_0x5db69c=_0x5bcbe5['formatToParts'](),_0x4cbbc4=_0x5bcbe5['resolvedOptions']();return _0x5db69c['map'](_0x1dda40=>tokenForPart(_0x1dda40,_0x588b62,_0x4cbbc4));}const _0x53be65='Invalid\x20DateTime',_0x5432e3=0x1eb208c2dc0000;function unsupportedZone(_0x4c9bb7){return new _0x1316e8('unsupported\x20zone','the\x20zone\x20\x22'+_0x4c9bb7['name']+'\x22\x20is\x20not\x20supported');}function possiblyCachedWeekData(_0x2e1fd5){return null===_0x2e1fd5['weekData']&&(_0x2e1fd5['weekData']=_0x2b9196(_0x2e1fd5['c'])),_0x2e1fd5['weekData'];}function possiblyCachedLocalWeekData(_0x6bc2ee){return null===_0x6bc2ee['localWeekData']&&(_0x6bc2ee['localWeekData']=_0x2b9196(_0x6bc2ee['c'],_0x6bc2ee['loc']['getMinDaysInFirstWeek'](),_0x6bc2ee['loc']['getStartOfWeek']())),_0x6bc2ee['localWeekData'];}function _0xb49421(_0x317276,_0x20feb5){const _0x2361a3={'ts':_0x317276['ts'],'zone':_0x317276['zone'],'c':_0x317276['c'],'o':_0x317276['o'],'loc':_0x317276['loc'],'invalid':_0x317276['invalid']};return new DateTime({..._0x2361a3,..._0x20feb5,'old':_0x2361a3});}function fixOffset(_0x309b05,_0x5ff7f1,_0x276527){let _0xab02e4=_0x309b05-0x3c*_0x5ff7f1*0x3e8;const _0xf2a1fe=_0x276527['offset'](_0xab02e4);if(_0x5ff7f1===_0xf2a1fe)return[_0xab02e4,_0x5ff7f1];_0xab02e4-=0x3c*(_0xf2a1fe-_0x5ff7f1)*0x3e8;const _0x61ff38=_0x276527['offset'](_0xab02e4);return _0xf2a1fe===_0x61ff38?[_0xab02e4,_0xf2a1fe]:[_0x309b05-0x3c*Math['min'](_0xf2a1fe,_0x61ff38)*0x3e8,Math['max'](_0xf2a1fe,_0x61ff38)];}function tsToObj(_0x580850,_0x1b60ea){const _0x22df30=new Date(_0x580850+=0x3c*_0x1b60ea*0x3e8);return{'year':_0x22df30['getUTCFullYear'](),'month':_0x22df30['getUTCMonth']()+0x1,'day':_0x22df30['getUTCDate'](),'hour':_0x22df30['getUTCHours'](),'minute':_0x22df30['getUTCMinutes'](),'second':_0x22df30['getUTCSeconds'](),'millisecond':_0x22df30['getUTCMilliseconds']()};}function _0x4764bd(_0x527279,_0x2d3aef,_0x340269){return fixOffset(_0x197d47(_0x527279),_0x2d3aef,_0x340269);}function adjustTime(_0x5c2288,_0x4ffedb){const _0x23e2f2=_0x5c2288['o'],_0xdb815c=_0x5c2288['c']['year']+Math['trunc'](_0x4ffedb['years']),_0x14b215=_0x5c2288['c']['month']+Math['trunc'](_0x4ffedb['months'])+0x3*Math['trunc'](_0x4ffedb['quarters']),_0x50dd94={..._0x5c2288['c'],'year':_0xdb815c,'month':_0x14b215,'day':Math['min'](_0x5c2288['c']['day'],daysInMonth(_0xdb815c,_0x14b215))+Math['trunc'](_0x4ffedb['days'])+0x7*Math['trunc'](_0x4ffedb['weeks'])},_0xe6b914=Duration['fromObject']({'years':_0x4ffedb['years']-Math['trunc'](_0x4ffedb['years']),'quarters':_0x4ffedb['quarters']-Math['trunc'](_0x4ffedb['quarters']),'months':_0x4ffedb['months']-Math['trunc'](_0x4ffedb['months']),'weeks':_0x4ffedb['weeks']-Math['trunc'](_0x4ffedb['weeks']),'days':_0x4ffedb['days']-Math['trunc'](_0x4ffedb['days']),'hours':_0x4ffedb['hours'],'minutes':_0x4ffedb['minutes'],'seconds':_0x4ffedb['seconds'],'milliseconds':_0x4ffedb['milliseconds']})['as']('milliseconds'),_0x3fb5d6=_0x197d47(_0x50dd94);let [_0xf4f613,_0x525c33]=fixOffset(_0x3fb5d6,_0x23e2f2,_0x5c2288['zone']);return 0x0!==_0xe6b914&&(_0xf4f613+=_0xe6b914,_0x525c33=_0x5c2288['zone']['offset'](_0xf4f613)),{'ts':_0xf4f613,'o':_0x525c33};}function parseDataToDateTime(_0x227b43,_0x3a8045,_0x1f5b2e,_0x17bb69,_0x4652da,_0x21a0bb){const {setZone:_0xbcace,zone:_0x32bb51}=_0x1f5b2e;if(_0x227b43&&0x0!==Object['keys'](_0x227b43)['length']||_0x3a8045){const _0x343ebe=_0x3a8045||_0x32bb51,_0x3aa320=DateTime['fromObject'](_0x227b43,{..._0x1f5b2e,'zone':_0x343ebe,'specificOffset':_0x21a0bb});return _0xbcace?_0x3aa320:_0x3aa320['setZone'](_0x32bb51);}return DateTime['invalid'](new _0x1316e8('unparsable','the\x20input\x20\x22'+_0x4652da+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x17bb69));}function toTechFormat(_0x3528bb,_0x53deb8,_0x46b8e1=!0x0){return _0x3528bb['isValid']?Formatter['create'](_0x2fbc8f['create']('en-US'),{'allowZ':_0x46b8e1,'forceSimple':!0x0})['formatDateTimeFromString'](_0x3528bb,_0x53deb8):null;}function toISODate(_0x319a8e,_0xbed149){const _0xec1eb8=_0x319a8e['c']['year']>0x270f||_0x319a8e['c']['year']<0x0;let _0x214c51='';return _0xec1eb8&&_0x319a8e['c']['year']>=0x0&&(_0x214c51+='+'),_0x214c51+=padStart(_0x319a8e['c']['year'],_0xec1eb8?0x6:0x4),_0xbed149?(_0x214c51+='-',_0x214c51+=padStart(_0x319a8e['c']['month']),_0x214c51+='-',_0x214c51+=padStart(_0x319a8e['c']['day'])):(_0x214c51+=padStart(_0x319a8e['c']['month']),_0x214c51+=padStart(_0x319a8e['c']['day'])),_0x214c51;}function toISOTime(_0x59de9e,_0x576af5,_0x459a79,_0x36f0aa,_0x228d9f,_0x503ded){let _0x3520dc=padStart(_0x59de9e['c']['hour']);return _0x576af5?(_0x3520dc+=':',_0x3520dc+=padStart(_0x59de9e['c']['minute']),0x0===_0x59de9e['c']['millisecond']&&0x0===_0x59de9e['c']['second']&&_0x459a79||(_0x3520dc+=':')):_0x3520dc+=padStart(_0x59de9e['c']['minute']),0x0===_0x59de9e['c']['millisecond']&&0x0===_0x59de9e['c']['second']&&_0x459a79||(_0x3520dc+=padStart(_0x59de9e['c']['second']),0x0===_0x59de9e['c']['millisecond']&&_0x36f0aa||(_0x3520dc+='.',_0x3520dc+=padStart(_0x59de9e['c']['millisecond'],0x3))),_0x228d9f&&(_0x59de9e['isOffsetFixed']&&0x0===_0x59de9e['offset']&&!_0x503ded?_0x3520dc+='Z':_0x59de9e['o']<0x0?(_0x3520dc+='-',_0x3520dc+=padStart(Math['trunc'](-_0x59de9e['o']/0x3c)),_0x3520dc+=':',_0x3520dc+=padStart(Math['trunc'](-_0x59de9e['o']%0x3c))):(_0x3520dc+='+',_0x3520dc+=padStart(Math['trunc'](_0x59de9e['o']/0x3c)),_0x3520dc+=':',_0x3520dc+=padStart(Math['trunc'](_0x59de9e['o']%0x3c)))),_0x503ded&&(_0x3520dc+='['+_0x59de9e['zone']['ianaName']+']'),_0x3520dc;}const defaultUnitValues={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},defaultWeekUnitValues={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},defaultOrdinalUnitValues={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},orderedUnits=['year','month','day','hour','minute','second','millisecond'],orderedWeekUnits=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],orderedOrdinalUnits=['year','ordinal','hour','minute','second','millisecond'];function normalizeUnit(_0x43368b){const _0x40e275={'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'}[_0x43368b['toLowerCase']()];if(!_0x40e275)throw new InvalidUnitError(_0x43368b);return _0x40e275;}function normalizeUnitWithLocalWeeks(_0x13c221){switch(_0x13c221['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return normalizeUnit(_0x13c221);}}function guessOffsetForZone(_0x1a443d){if(void 0x0===zoneOffsetTs&&(zoneOffsetTs=Settings['now']()),'iana'!==_0x1a443d['type'])return _0x1a443d['offset'](zoneOffsetTs);const _0x4a6447=_0x1a443d['name'];let _0x401dc7=zoneOffsetGuessCache['get'](_0x4a6447);return void 0x0===_0x401dc7&&(_0x401dc7=_0x1a443d['offset'](zoneOffsetTs),zoneOffsetGuessCache['set'](_0x4a6447,_0x401dc7)),_0x401dc7;}function _0x1185d3(_0x395cd7,_0xca87e2){const _0x23fd26=_0x3ac019(_0xca87e2['zone'],Settings['defaultZone']);if(!_0x23fd26['isValid'])return DateTime['invalid'](unsupportedZone(_0x23fd26));const _0x42945c=_0x2fbc8f['fromObject'](_0xca87e2);let _0x4b1a8d,_0x411493;if(_0x104604(_0x395cd7['year']))_0x4b1a8d=Settings['now']();else{for(const _0x1c71fa of orderedUnits)_0x104604(_0x395cd7[_0x1c71fa])&&(_0x395cd7[_0x1c71fa]=defaultUnitValues[_0x1c71fa]);const _0x1f74c7=hasInvalidGregorianData(_0x395cd7)||hasInvalidTimeData(_0x395cd7);if(_0x1f74c7)return DateTime['invalid'](_0x1f74c7);const _0x3349bb=guessOffsetForZone(_0x23fd26);[_0x4b1a8d,_0x411493]=_0x4764bd(_0x395cd7,_0x3349bb,_0x23fd26);}return new DateTime({'ts':_0x4b1a8d,'zone':_0x23fd26,'loc':_0x42945c,'o':_0x411493});}function diffRelative(_0x351567,_0x3339af,_0x6e699f){const _0x31f22f=!!_0x104604(_0x6e699f['round'])||_0x6e699f['round'],_0xe3ff3a=(_0x318bb6,_0x1fd565)=>{return _0x318bb6=_0x2ca537(_0x318bb6,_0x31f22f||_0x6e699f['calendary']?0x0:0x2,!0x0),_0x3339af['loc']['clone'](_0x6e699f)['relFormatter'](_0x6e699f)['format'](_0x318bb6,_0x1fd565);},_0x1c6e41=_0x4d4773=>_0x6e699f['calendary']?_0x3339af['hasSame'](_0x351567,_0x4d4773)?0x0:_0x3339af['startOf'](_0x4d4773)['diff'](_0x351567['startOf'](_0x4d4773),_0x4d4773)['get'](_0x4d4773):_0x3339af['diff'](_0x351567,_0x4d4773)['get'](_0x4d4773);if(_0x6e699f['unit'])return _0xe3ff3a(_0x1c6e41(_0x6e699f['unit']),_0x6e699f['unit']);for(const _0x4b817e of _0x6e699f['units']){const _0x20c20a=_0x1c6e41(_0x4b817e);if(Math['abs'](_0x20c20a)>=0x1)return _0xe3ff3a(_0x20c20a,_0x4b817e);}return _0xe3ff3a(_0x351567>_0x3339af?-0x0:0x0,_0x6e699f['units'][_0x6e699f['units']['length']-0x1]);}function lastOpts(_0x16a308){let _0x589f1d,_0x2073a4={};return _0x16a308['length']>0x0&&'object'==typeof _0x16a308[_0x16a308['length']-0x1]?(_0x2073a4=_0x16a308[_0x16a308['length']-0x1],_0x589f1d=Array['from'](_0x16a308)['slice'](0x0,_0x16a308['length']-0x1)):_0x589f1d=Array['from'](_0x16a308),[_0x2073a4,_0x589f1d];}let zoneOffsetTs;const zoneOffsetGuessCache=new Map();class DateTime{constructor(_0x1adb64){const _0x48ed8b=_0x1adb64['zone']||Settings['defaultZone'];let _0x389862=_0x1adb64['invalid']||(Number['isNaN'](_0x1adb64['ts'])?new _0x1316e8('invalid\x20input'):null)||(_0x48ed8b['isValid']?null:unsupportedZone(_0x48ed8b));this['ts']=_0x104604(_0x1adb64['ts'])?Settings['now']():_0x1adb64['ts'];let _0x537ed3=null,_0xec9c69=null;if(!_0x389862){if(_0x1adb64['old']&&_0x1adb64['old']['ts']===this['ts']&&_0x1adb64['old']['zone']['equals'](_0x48ed8b))[_0x537ed3,_0xec9c69]=[_0x1adb64['old']['c'],_0x1adb64['old']['o']];else{const _0x13d553=_0x5c21d5(_0x1adb64['o'])&&!_0x1adb64['old']?_0x1adb64['o']:_0x48ed8b['offset'](this['ts']);_0x537ed3=tsToObj(this['ts'],_0x13d553),_0x389862=Number['isNaN'](_0x537ed3['year'])?new _0x1316e8('invalid\x20input'):null,_0x537ed3=_0x389862?null:_0x537ed3,_0xec9c69=_0x389862?null:_0x13d553;}}this['_zone']=_0x48ed8b,this['loc']=_0x1adb64['loc']||_0x2fbc8f['create'](),this['invalid']=_0x389862,this['weekData']=null,this['localWeekData']=null,this['c']=_0x537ed3,this['o']=_0xec9c69,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0xf54875,_0x4c7948]=lastOpts(arguments),[_0x31c851,_0x5e0089,_0x41e34c,_0x534d01,_0x5185ec,_0x53ed79,_0xa0477d]=_0x4c7948;return _0x1185d3({'year':_0x31c851,'month':_0x5e0089,'day':_0x41e34c,'hour':_0x534d01,'minute':_0x5185ec,'second':_0x53ed79,'millisecond':_0xa0477d},_0xf54875);}static['utc'](){const [_0x17236b,_0x48909f]=lastOpts(arguments),[_0x174009,_0x1c5f5e,_0x47008b,_0x133ecf,_0x217ae9,_0x48df5d,_0x11e7a1]=_0x48909f;return _0x17236b['zone']=FixedOffsetZone['utcInstance'],_0x1185d3({'year':_0x174009,'month':_0x1c5f5e,'day':_0x47008b,'hour':_0x133ecf,'minute':_0x217ae9,'second':_0x48df5d,'millisecond':_0x11e7a1},_0x17236b);}static['fromJSDate'](_0x2f4334,_0xe12e81={}){const _0x1add00=isDate(_0x2f4334)?_0x2f4334['valueOf']():NaN;if(Number['isNaN'](_0x1add00))return DateTime['invalid']('invalid\x20input');const _0x369fb1=_0x3ac019(_0xe12e81['zone'],Settings['defaultZone']);return _0x369fb1['isValid']?new DateTime({'ts':_0x1add00,'zone':_0x369fb1,'loc':_0x2fbc8f['fromObject'](_0xe12e81)}):DateTime['invalid'](unsupportedZone(_0x369fb1));}static['fromMillis'](_0x3dd576,_0x33a577={}){if(_0x5c21d5(_0x3dd576))return _0x3dd576<-_0x5432e3||_0x3dd576>_0x5432e3?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x3dd576,'zone':_0x3ac019(_0x33a577['zone'],Settings['defaultZone']),'loc':_0x2fbc8f['fromObject'](_0x33a577)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x3dd576+'\x20with\x20value\x20'+_0x3dd576);}static['fromSeconds'](_0x3bf627,_0x3dd059={}){if(_0x5c21d5(_0x3bf627))return new DateTime({'ts':0x3e8*_0x3bf627,'zone':_0x3ac019(_0x3dd059['zone'],Settings['defaultZone']),'loc':_0x2fbc8f['fromObject'](_0x3dd059)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x80d7a2,_0x3640ad={}){_0x80d7a2=_0x80d7a2||{};const _0x41f9fc=_0x3ac019(_0x3640ad['zone'],Settings['defaultZone']);if(!_0x41f9fc['isValid'])return DateTime['invalid'](unsupportedZone(_0x41f9fc));const _0x5dd042=_0x2fbc8f['fromObject'](_0x3640ad),_0x5a933c=normalizeObject(_0x80d7a2,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x299623,startOfWeek:_0x4a7efc}=_0x4a4c58(_0x5a933c,_0x5dd042),_0x2b49a8=Settings['now'](),_0xb96a8b=_0x104604(_0x3640ad['specificOffset'])?_0x41f9fc['offset'](_0x2b49a8):_0x3640ad['specificOffset'],_0x43b857=!_0x104604(_0x5a933c['ordinal']),_0x5bcfa8=!_0x104604(_0x5a933c['year']),_0x2eaccf=!_0x104604(_0x5a933c['month'])||!_0x104604(_0x5a933c['day']),_0x2c6562=_0x5bcfa8||_0x2eaccf,_0x7b216d=_0x5a933c['weekYear']||_0x5a933c['weekNumber'];if((_0x2c6562||_0x43b857)&&_0x7b216d)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x2eaccf&&_0x43b857)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x2e9ff7=_0x7b216d||_0x5a933c['weekday']&&!_0x2c6562;let _0xeb9043,_0x404ceb,_0x130020=tsToObj(_0x2b49a8,_0xb96a8b);_0x2e9ff7?(_0xeb9043=orderedWeekUnits,_0x404ceb=defaultWeekUnitValues,_0x130020=_0x2b9196(_0x130020,_0x299623,_0x4a7efc)):_0x43b857?(_0xeb9043=orderedOrdinalUnits,_0x404ceb=defaultOrdinalUnitValues,_0x130020=_0x155d34(_0x130020)):(_0xeb9043=orderedUnits,_0x404ceb=defaultUnitValues);let _0x4cbc0d=!0x1;for(const _0x56ee32 of _0xeb9043){_0x104604(_0x5a933c[_0x56ee32])?_0x5a933c[_0x56ee32]=_0x4cbc0d?_0x404ceb[_0x56ee32]:_0x130020[_0x56ee32]:_0x4cbc0d=!0x0;}const _0x46d2a4=(_0x2e9ff7?hasInvalidWeekData(_0x5a933c,_0x299623,_0x4a7efc):_0x43b857?hasInvalidOrdinalData(_0x5a933c):hasInvalidGregorianData(_0x5a933c))||hasInvalidTimeData(_0x5a933c);if(_0x46d2a4)return DateTime['invalid'](_0x46d2a4);const _0x9a9ba=_0x2e9ff7?_0x34412e(_0x5a933c,_0x299623,_0x4a7efc):_0x43b857?_0x2aae0b(_0x5a933c):_0x5a933c,[_0xdc760f,_0x139445]=_0x4764bd(_0x9a9ba,_0xb96a8b,_0x41f9fc),_0x361a37=new DateTime({'ts':_0xdc760f,'zone':_0x41f9fc,'o':_0x139445,'loc':_0x5dd042});return _0x5a933c['weekday']&&_0x2c6562&&_0x80d7a2['weekday']!==_0x361a37['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x5a933c['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x361a37['toISO']()):_0x361a37['isValid']?_0x361a37:DateTime['invalid'](_0x361a37['invalid']);}static['fromISO'](_0x32f1e6,_0x44cb5d={}){const [_0x3ea391,_0x276661]=parseISODate(_0x32f1e6);return parseDataToDateTime(_0x3ea391,_0x276661,_0x44cb5d,'ISO\x208601',_0x32f1e6);}static['fromRFC2822'](_0x488aac,_0x5e7158={}){const [_0x11f56b,_0x5a0302]=parseRFC2822Date(_0x488aac);return parseDataToDateTime(_0x11f56b,_0x5a0302,_0x5e7158,'RFC\x202822',_0x488aac);}static['fromHTTP'](_0x40c781,_0x5e0cb3={}){const [_0xa8185f,_0x20f2b6]=parseHTTPDate(_0x40c781);return parseDataToDateTime(_0xa8185f,_0x20f2b6,_0x5e0cb3,'HTTP',_0x5e0cb3);}static['fromFormat'](_0x4be67e,_0x3166c1,_0x240dd2={}){if(_0x104604(_0x4be67e)||_0x104604(_0x3166c1))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0xf498d4=null,numberingSystem:_0x5b884e=null}=_0x240dd2,_0x2e54ea=_0x2fbc8f['fromOpts']({'locale':_0xf498d4,'numberingSystem':_0x5b884e,'defaultToEN':!0x0}),[_0x23fef0,_0x4212e7,_0x242f23,_0x362e58]=_0x1ddc16(_0x2e54ea,_0x4be67e,_0x3166c1);return _0x362e58?DateTime['invalid'](_0x362e58):parseDataToDateTime(_0x23fef0,_0x4212e7,_0x240dd2,'format\x20'+_0x3166c1,_0x4be67e,_0x242f23);}static['fromString'](_0x2169d5,_0x264fc8,_0x44d0b5={}){return DateTime['fromFormat'](_0x2169d5,_0x264fc8,_0x44d0b5);}static['fromSQL'](_0x7fd181,_0x263365={}){const [_0x26897d,_0x1f8f2f]=_0x42c7d4(_0x7fd181);return parseDataToDateTime(_0x26897d,_0x1f8f2f,_0x263365,'SQL',_0x7fd181);}static['invalid'](_0x40f4c6,_0x4db44d=null){if(!_0x40f4c6)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x4d3dad=_0x40f4c6 instanceof _0x1316e8?_0x40f4c6:new _0x1316e8(_0x40f4c6,_0x4db44d);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x4d3dad);return new DateTime({'invalid':_0x4d3dad});}static['isDateTime'](_0xfc5e4){return _0xfc5e4&&_0xfc5e4['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x1aa906,_0x27e661={}){const _0x13eb80=formatOptsToTokens(_0x1aa906,_0x2fbc8f['fromObject'](_0x27e661));return _0x13eb80?_0x13eb80['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x8c0124,_0x1b6221={}){return _0x5e1e3a(Formatter['parseFormat'](_0x8c0124),_0x2fbc8f['fromObject'](_0x1b6221))['map'](t=>t['val'])['join']('');}static['resetCache'](){zoneOffsetTs=void 0x0,zoneOffsetGuessCache['clear']();}['get'](_0x57ca82){return this[_0x57ca82];}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']?possiblyCachedWeekData(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?possiblyCachedWeekData(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?possiblyCachedWeekData(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?possiblyCachedLocalWeekData(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?_0x155d34(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x5101e7['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x5101e7['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x5101e7['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x5101e7['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 _0x1fb9f7=0x5265c00,_0x429a05=0xea60,_0x4e5b5f=_0x197d47(this['c']),_0x95248e=this['zone']['offset'](_0x4e5b5f-_0x1fb9f7),_0x38d987=this['zone']['offset'](_0x4e5b5f+_0x1fb9f7),_0xc7d8dd=this['zone']['offset'](_0x4e5b5f-_0x95248e*_0x429a05),_0x13c397=this['zone']['offset'](_0x4e5b5f-_0x38d987*_0x429a05);if(_0xc7d8dd===_0x13c397)return[this];const _0x3552b5=_0x4e5b5f-_0xc7d8dd*_0x429a05,_0x21fc77=_0x4e5b5f-_0x13c397*_0x429a05,_0x3fc533=tsToObj(_0x3552b5,_0xc7d8dd),_0x7782bd=tsToObj(_0x21fc77,_0x13c397);return _0x3fc533['hour']===_0x7782bd['hour']&&_0x3fc533['minute']===_0x7782bd['minute']&&_0x3fc533['second']===_0x7782bd['second']&&_0x3fc533['millisecond']===_0x7782bd['millisecond']?[_0xb49421(this,{'ts':_0x3552b5}),_0xb49421(this,{'ts':_0x21fc77})]:[this];}get['isInLeapYear'](){return _0x53d326(this['year']);}get['daysInMonth'](){return daysInMonth(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x34cf74(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x14c264(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x14c264(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x18693e={}){const {locale:_0x20cc0a,numberingSystem:_0x14e225,calendar:_0x2b0012}=Formatter['create'](this['loc']['clone'](_0x18693e),_0x18693e)['resolvedOptions'](this);return{'locale':_0x20cc0a,'numberingSystem':_0x14e225,'outputCalendar':_0x2b0012};}['toUTC'](_0x3b1869=0x0,_0x5c532d={}){return this['setZone'](FixedOffsetZone['instance'](_0x3b1869),_0x5c532d);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x3e74a5,{keepLocalTime:_0xe30694=!0x1,keepCalendarTime:_0x5d66b4=!0x1}={}){if((_0x3e74a5=_0x3ac019(_0x3e74a5,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x3e74a5['isValid']){let _0x4fdb53=this['ts'];if(_0xe30694||_0x5d66b4){const _0x278dc4=_0x3e74a5['offset'](this['ts']),_0x5b7565=this['toObject']();[_0x4fdb53]=_0x4764bd(_0x5b7565,_0x278dc4,_0x3e74a5);}return _0xb49421(this,{'ts':_0x4fdb53,'zone':_0x3e74a5});}return DateTime['invalid'](unsupportedZone(_0x3e74a5));}['reconfigure']({locale:_0x33ea9c,numberingSystem:_0x21b187,outputCalendar:_0x1d5f72}={}){return _0xb49421(this,{'loc':this['loc']['clone']({'locale':_0x33ea9c,'numberingSystem':_0x21b187,'outputCalendar':_0x1d5f72})});}['setLocale'](_0x44cff1){return this['reconfigure']({'locale':_0x44cff1});}['set'](_0x9cd248){if(!this['isValid'])return this;const _0x36ca27=normalizeObject(_0x9cd248,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:_0x395f28,startOfWeek:_0x5ea704}=_0x4a4c58(_0x36ca27,this['loc']),_0x1f4f8a=!_0x104604(_0x36ca27['weekYear'])||!_0x104604(_0x36ca27['weekNumber'])||!_0x104604(_0x36ca27['weekday']),_0x1ba54a=!_0x104604(_0x36ca27['ordinal']),_0x2942e2=!_0x104604(_0x36ca27['year']),_0x3469b1=!_0x104604(_0x36ca27['month'])||!_0x104604(_0x36ca27['day']),_0x2f4beb=_0x2942e2||_0x3469b1,_0x4d0a74=_0x36ca27['weekYear']||_0x36ca27['weekNumber'];if((_0x2f4beb||_0x1ba54a)&&_0x4d0a74)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x3469b1&&_0x1ba54a)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x392499;_0x1f4f8a?_0x392499=_0x34412e({..._0x2b9196(this['c'],_0x395f28,_0x5ea704),..._0x36ca27},_0x395f28,_0x5ea704):_0x104604(_0x36ca27['ordinal'])?(_0x392499={...this['toObject'](),..._0x36ca27},_0x104604(_0x36ca27['day'])&&(_0x392499['day']=Math['min'](daysInMonth(_0x392499['year'],_0x392499['month']),_0x392499['day']))):_0x392499=_0x2aae0b({..._0x155d34(this['c']),..._0x36ca27});const [_0xb4a8cb,_0xc3cfa]=_0x4764bd(_0x392499,this['o'],this['zone']);return _0xb49421(this,{'ts':_0xb4a8cb,'o':_0xc3cfa});}['plus'](_0x15d9db){if(!this['isValid'])return this;return _0xb49421(this,adjustTime(this,Duration['fromDurationLike'](_0x15d9db)));}['minus'](_0x5cb422){if(!this['isValid'])return this;return _0xb49421(this,adjustTime(this,Duration['fromDurationLike'](_0x5cb422)['negate']()));}['startOf'](_0x43888f,{useLocaleWeeks:_0xaef585=!0x1}={}){if(!this['isValid'])return this;const _0x334ae0={},_0x3ec8f2=Duration['normalizeUnit'](_0x43888f);switch(_0x3ec8f2){case'years':_0x334ae0['month']=0x1;case'quarters':case'months':_0x334ae0['day']=0x1;case'weeks':case'days':_0x334ae0['hour']=0x0;case'hours':_0x334ae0['minute']=0x0;case'minutes':_0x334ae0['second']=0x0;case'seconds':_0x334ae0['millisecond']=0x0;}if('weeks'===_0x3ec8f2){if(_0xaef585){const _0x47d581=this['loc']['getStartOfWeek'](),{weekday:_0x354971}=this;_0x354971<_0x47d581&&(_0x334ae0['weekNumber']=this['weekNumber']-0x1),_0x334ae0['weekday']=_0x47d581;}else _0x334ae0['weekday']=0x1;}if('quarters'===_0x3ec8f2){const _0x345acb=Math['ceil'](this['month']/0x3);_0x334ae0['month']=0x3*(_0x345acb-0x1)+0x1;}return this['set'](_0x334ae0);}['endOf'](_0xfa191,_0x22d812){return this['isValid']?this['plus']({[_0xfa191]:0x1})['startOf'](_0xfa191,_0x22d812)['minus'](0x1):this;}['toFormat'](_0x2ae9b8,_0x3d0dfd={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x3d0dfd))['formatDateTimeFromString'](this,_0x2ae9b8):_0x53be65;}['toLocaleString'](_0xc7cd5f=_0x488b50,_0x487a8c={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x487a8c),_0xc7cd5f)['formatDateTime'](this):_0x53be65;}['toLocaleParts'](_0x15aec1={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x15aec1),_0x15aec1)['formatDateTimeParts'](this):[];}['toISO']({format:_0x55daa0='extended',suppressSeconds:_0x17920d=!0x1,suppressMilliseconds:_0x552f92=!0x1,includeOffset:_0x5e2d57=!0x0,extendedZone:_0x54955d=!0x1}={}){if(!this['isValid'])return null;const _0x1af6e7='extended'===_0x55daa0;let _0x1e7ead=toISODate(this,_0x1af6e7);return _0x1e7ead+='T',_0x1e7ead+=toISOTime(this,_0x1af6e7,_0x17920d,_0x552f92,_0x5e2d57,_0x54955d),_0x1e7ead;}['toISODate']({format:_0x42bec3='extended'}={}){return this['isValid']?toISODate(this,'extended'===_0x42bec3):null;}['toISOWeekDate'](){return toTechFormat(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x384a23=!0x1,suppressSeconds:_0x4b380a=!0x1,includeOffset:_0x4fb561=!0x0,includePrefix:_0x3fa351=!0x1,extendedZone:_0x1af7c1=!0x1,format:_0x5dc10f='extended'}={}){if(!this['isValid'])return null;return(_0x3fa351?'T':'')+toISOTime(this,'extended'===_0x5dc10f,_0x4b380a,_0x384a23,_0x4fb561,_0x1af7c1);}['toRFC2822'](){return toTechFormat(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return toTechFormat(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?toISODate(this,!0x0):null;}['toSQLTime']({includeOffset:_0x5d25c6=!0x0,includeZone:_0x135a94=!0x1,includeOffsetSpace:_0x5730b8=!0x0}={}){let _0x301733='HH:mm:ss.SSS';return(_0x135a94||_0x5d25c6)&&(_0x5730b8&&(_0x301733+='\x20'),_0x135a94?_0x301733+='z':_0x5d25c6&&(_0x301733+='ZZ')),toTechFormat(this,_0x301733,!0x0);}['toSQL'](_0x26f7cc={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x26f7cc):null;}['toString'](){return this['isValid']?this['toISO']():_0x53be65;}[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'](_0x1be8b8={}){if(!this['isValid'])return{};const _0x4dbae8={...this['c']};return _0x1be8b8['includeConfig']&&(_0x4dbae8['outputCalendar']=this['outputCalendar'],_0x4dbae8['numberingSystem']=this['loc']['numberingSystem'],_0x4dbae8['locale']=this['loc']['locale']),_0x4dbae8;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x8dd95b,_0x34b958='milliseconds',_0x365a56={}){if(!this['isValid']||!_0x8dd95b['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x1d4b75={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x365a56},_0x4acf39=_0x349f8c(_0x34b958)['map'](Duration['normalizeUnit']),_0x493b5b=_0x8dd95b['valueOf']()>this['valueOf'](),_0x164bb5=_0x16d8c1(_0x493b5b?this:_0x8dd95b,_0x493b5b?_0x8dd95b:this,_0x4acf39,_0x1d4b75);return _0x493b5b?_0x164bb5['negate']():_0x164bb5;}['diffNow'](_0x3842b1='milliseconds',_0x3359c8={}){return this['diff'](DateTime['now'](),_0x3842b1,_0x3359c8);}['until'](_0x3c97b2){return this['isValid']?Interval['fromDateTimes'](this,_0x3c97b2):this;}['hasSame'](_0x4c7451,_0x3488d7,_0x14c999){if(!this['isValid'])return!0x1;const _0x5b75a2=_0x4c7451['valueOf'](),_0x142d57=this['setZone'](_0x4c7451['zone'],{'keepLocalTime':!0x0});return _0x142d57['startOf'](_0x3488d7,_0x14c999)<=_0x5b75a2&&_0x5b75a2<=_0x142d57['endOf'](_0x3488d7,_0x14c999);}['equals'](_0x4f1d22){return this['isValid']&&_0x4f1d22['isValid']&&this['valueOf']()===_0x4f1d22['valueOf']()&&this['zone']['equals'](_0x4f1d22['zone'])&&this['loc']['equals'](_0x4f1d22['loc']);}['toRelative'](_0x100d38={}){if(!this['isValid'])return null;const _0x1b77fc=_0x100d38['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x4f3356=_0x100d38['padding']?this<_0x1b77fc?-_0x100d38['padding']:_0x100d38['padding']:0x0;let _0x101599=['years','months','days','hours','minutes','seconds'],_0x3ed230=_0x100d38['unit'];return Array['isArray'](_0x100d38['unit'])&&(_0x101599=_0x100d38['unit'],_0x3ed230=void 0x0),diffRelative(_0x1b77fc,this['plus'](_0x4f3356),{..._0x100d38,'numeric':'always','units':_0x101599,'unit':_0x3ed230});}['toRelativeCalendar'](_0xed8382={}){return this['isValid']?diffRelative(_0xed8382['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0xed8382,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x19476b){if(!_0x19476b['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x19476b,_0x4b8437=>_0x4b8437['valueOf'](),Math['min']);}static['max'](..._0x365e34){if(!_0x365e34['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return bestBy(_0x365e34,_0x3e529b=>_0x3e529b['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x1d6f9d,_0x45f832,_0x2669d5={}){const {locale:_0x209346=null,numberingSystem:_0x4d2de0=null}=_0x2669d5;return _0x41d8d7(_0x2fbc8f['fromOpts']({'locale':_0x209346,'numberingSystem':_0x4d2de0,'defaultToEN':!0x0}),_0x1d6f9d,_0x45f832);}static['fromStringExplain'](_0x10b3e1,_0x28d543,_0xad14ea={}){return DateTime['fromFormatExplain'](_0x10b3e1,_0x28d543,_0xad14ea);}static['buildFormatParser'](_0x941b15,_0x50a075={}){const {locale:_0x43578e=null,numberingSystem:_0x42571f=null}=_0x50a075,_0x3d0fe3=_0x2fbc8f['fromOpts']({'locale':_0x43578e,'numberingSystem':_0x42571f,'defaultToEN':!0x0});return new _0x5eb367(_0x3d0fe3,_0x941b15);}static['fromFormatParser'](_0x212517,_0x4bb746,_0x371821={}){if(_0x104604(_0x212517)||_0x104604(_0x4bb746))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x2e394b=null,numberingSystem:_0x2f0ac8=null}=_0x371821,_0x35c7c5=_0x2fbc8f['fromOpts']({'locale':_0x2e394b,'numberingSystem':_0x2f0ac8,'defaultToEN':!0x0});if(!_0x35c7c5['equals'](_0x4bb746['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x35c7c5+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x4bb746['locale']);const {result:_0x3b0ae0,zone:_0x442d35,specificOffset:_0x431fd3,invalidReason:_0x4ebde5}=_0x4bb746['explainFromTokens'](_0x212517);return _0x4ebde5?DateTime['invalid'](_0x4ebde5):parseDataToDateTime(_0x3b0ae0,_0x442d35,_0x371821,'format\x20'+_0x4bb746['format'],_0x212517,_0x431fd3);}static get['DATE_SHORT'](){return _0x488b50;}static get['DATE_MED'](){return _0x32a13c;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x574812;}static get['DATE_FULL'](){return _0x5e3018;}static get['DATE_HUGE'](){return _0xfa0f9e;}static get['TIME_SIMPLE'](){return _0x12f490;}static get['TIME_WITH_SECONDS'](){return _0x4497ad;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x2ec226;}static get['TIME_WITH_LONG_OFFSET'](){return _0x1d7521;}static get['TIME_24_SIMPLE'](){return _0x2f3b84;}static get['TIME_24_WITH_SECONDS'](){return _0x1f0ad5;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x554596;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x126592;}static get['DATETIME_SHORT'](){return _0x40b465;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x2ca9af;}static get['DATETIME_MED'](){return _0x3b2324;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x417dda;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x45e01d;}static get['DATETIME_FULL'](){return _0x4b2a88;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x166fa3;}static get['DATETIME_HUGE'](){return _0x347d31;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x4200dd;}}function friendlyDateTime(_0x4075c0){if(DateTime['isDateTime'](_0x4075c0))return _0x4075c0;if(_0x4075c0&&_0x4075c0['valueOf']&&_0x5c21d5(_0x4075c0['valueOf']()))return DateTime['fromJSDate'](_0x4075c0);if(_0x4075c0&&'object'==typeof _0x4075c0)return DateTime['fromObject'](_0x4075c0);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x4075c0+',\x20of\x20type\x20'+typeof _0x4075c0);}function getDateTimeFormatter(_0x21e3e4={},_0xf5e728){if(void 0x0!==_0x21e3e4['dateTimeFormat']&&'function'!=typeof _0x21e3e4['dateTimeFormat'])throw new ckeditor5['CKEditorError']('invalid-date-time-format');return _0x1c1cf6=>{const _0x229ec2='string'==typeof _0x1c1cf6?DateTime['fromISO'](_0x1c1cf6):DateTime['fromJSDate'](_0x1c1cf6),_0x19356f=DateTime['now'](),_0x258b41=Math['floor'](_0x19356f['diff'](_0x229ec2,'days')['days']);return _0x21e3e4['dateTimeFormat']?_0x21e3e4['dateTimeFormat'](_0x229ec2['toJSDate'](),_0xf5e728&&_0xf5e728['t']?_0xf5e728['t']:void 0x0):0x0===_0x258b41?_0xf5e728?getTranslation$h(_0xf5e728,'Today')+'\x20'+_0x229ec2['toFormat']('hh:mma'):_0x229ec2['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x258b41?_0xf5e728?getTranslation$h(_0xf5e728,'Yesterday')+'\x20'+_0x229ec2['toFormat']('hh:mma'):_0x229ec2['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x258b41<0x7?_0xf5e728?getTranslation$h(_0xf5e728,'Last')+'\x20'+getTranslation$h(_0xf5e728,_0x229ec2['toFormat']('EEEE'))+'\x20'+_0x229ec2['toFormat']('hh:mma'):_0x229ec2['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x229ec2['toFormat']('LL-dd-yyyy\x20hh:mma');};}function getMarkerDomElement(_0x288b4e,_0x184cdb){const _0x5b834f=_0x288b4e['mapper']['markerNameToElements'](_0x184cdb['name']);if(!_0x5b834f)return null;const _0x596592=ckeditor5['first'](_0x5b834f['values']());return _0x288b4e['view']['domConverter']['mapViewToDom'](_0x596592)||null;}function getAllMarkersDomElementsSorted(_0x2607c5,_0x466e14){if(0x0===_0x466e14['length'])return null;const _0x48c485=[],_0x5395da=_0x2607c5['view']['domConverter'];for(const _0x2c8742 of _0x466e14){const _0x42dcb9=_0x2607c5['mapper']['markerNameToElements'](_0x2c8742['name']);if(!_0x42dcb9)continue;const _0x5eb92a=Array['from'](_0x42dcb9)['map'](_0x32fd91=>_0x5395da['mapViewToDom'](_0x32fd91))['filter'](_0xef273a=>!!_0xef273a);_0x48c485['push'](..._0x5eb92a);}if(0x0===_0x48c485['length'])return null;const _0x39f777=[];for(const _0x3c58ca of _0x48c485){const _0x1b93f1=_0x3c58ca['getClientRects']()['item'](0x0);_0x1b93f1&&_0x39f777['push']({'x':_0x1b93f1['x'],'y':_0x1b93f1['y'],'domElement':_0x3c58ca});}return 0x0===_0x39f777['length']?null:(_0x39f777['sort']((_0x36a39b,_0x591803)=>_0x36a39b['y']-_0x591803['y']||_0x36a39b['x']-_0x591803['x']),_0x39f777['map'](_0x35475c=>_0x35475c['domElement']));}function trimHtml(_0x597673,{limit:_0x3a7c5e,suffix:_0x212984='...'}){const _0x5a9490=[];let _0x1929a8=0x0;const _0xeba30f=_0x597673['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x5395f5=0x0;_0x5395f5<_0xeba30f['length'];_0x5395f5++){let _0x594b87=_0xeba30f[_0x5395f5];const _0x170b8b=splitCharactersToArray(_0x594b87);if(_0x594b87['startsWith']('<')){if(_0x1929a8>=_0x3a7c5e){const _0x52178b=_0x594b87['match'](/[a-zA-Z]+/);if(!_0x52178b){_0xeba30f[_0x5395f5]='';continue;}const _0x4a2514=_0x52178b[0x0];_0x594b87['startsWith']('</')?(_0x5a9490['length']&&(_0x594b87=''),_0x5a9490['pop']()):(_0x5a9490['push'](_0x4a2514),_0x594b87='');}}else{if(_0x1929a8>=_0x3a7c5e)_0x594b87='';else{if(_0x1929a8+_0x170b8b['length']>=_0x3a7c5e){let _0x671e39=_0x3a7c5e-_0x1929a8;if('\x20'===_0x170b8b[_0x671e39-0x1])_0x671e39--;else{const _0xf34b8b=_0x170b8b['slice'](_0x671e39)['indexOf']('\x20');-0x1!==_0xf34b8b?_0x671e39+=_0xf34b8b:_0x671e39=_0x594b87['length'];}_0x594b87=_0x170b8b['slice'](0x0,_0x671e39)['join']('')+_0x212984,_0x1929a8=_0x3a7c5e;}else _0x1929a8+=_0x170b8b['length'];}}_0xeba30f[_0x5395f5]=_0x594b87;}return _0xeba30f['join']('\x0a')['replace'](/\n/g,'');}function splitCharactersToArray(_0x4997a2){const _0x570c55=[];for(let _0x57d2c0=0x0;_0x57d2c0<_0x4997a2['length'];_0x57d2c0++){const _0x152d28=_0x4997a2['substring'](_0x57d2c0)['match'](/^&[a-z0-9#]+;/);if(_0x152d28){const _0x2ddb67=_0x152d28[0x0];_0x570c55['push'](_0x2ddb67),_0x57d2c0+=_0x2ddb67['length']-0x1;}else _0x570c55['push'](_0x4997a2[_0x57d2c0]);}return _0x570c55;}class _0x2893cc extends ckeditor5['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x5e4ef1){super(_0x5e4ef1);const _0x2ce6c0=this['bindTemplate'];this['set']('message',getTranslation$h(_0x5e4ef1,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5e4ef1,getTranslation$h(_0x5e4ef1,'Yes'),ckeditor5['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x5e4ef1,getTranslation$h(_0x5e4ef1,'No'),ckeditor5['IconCancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['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':_0x2ce6c0['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'](_0x2188ad,_0x46ae0d,_0xddf49d,_0x137d69){const _0x2e335a=new ckeditor5['ButtonView'](_0x2188ad);return _0x2e335a['label']=_0x46ae0d,_0x2e335a['icon']=_0xddf49d,_0x2e335a['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x137d69}}),_0x2e335a['on']('execute',()=>this['fire'](_0x137d69)),_0x2e335a;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x158264=>{this['keystrokes']['listenTo'](_0x158264['element']),this['focusTracker']['add'](_0x158264['element']);}),this['keystrokes']['set']('esc',(_0xffd1cd,_0x41def5)=>{this['fire']('cancel'),_0x41def5();});}}function _0x3ef023(_0x1fa7a4){return class extends _0x1fa7a4{['showConfirm'](_0x130370,_0x25fa98){return this['confirmView']=new _0x2893cc(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x130370,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x25fa98['appendChild'](this['confirmView']['element']),_0x25fa98['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x9128fb,_0x2fbab2,_0x3d5282)=>{_0x3d5282||_0x25fa98['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x182214=>this['confirmView']['on']('submit',_0x182214));}['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 hashObject(_0x452a07){let _0x5d5839=0x0,_0x12482e=0x0;for(const _0x108c77 of objectToNumberGenerator(_0x452a07))_0x5d5839=(_0x5d5839<<0x5)-_0x5d5839+_0x108c77,_0x5d5839&=_0x5d5839,[_0x5d5839,_0x12482e]=[_0x12482e,_0x5d5839];return toString$1(_0x5d5839)+toString$1(_0x12482e);}function*toNumberGenerator(_0x342aaf){null==_0x342aaf||null==_0x342aaf?yield 0x12b9b0a1:0x0===_0x342aaf||!0x1===_0x342aaf?yield 0x0:0x1===_0x342aaf||0x1==_0x342aaf?yield 0x1:Array['isArray'](_0x342aaf)?yield*arrayToNumberGenerator(_0x342aaf):'object'==typeof _0x342aaf?yield*objectToNumberGenerator(_0x342aaf):'string'==typeof _0x342aaf?yield*stringToNumberGenerator(_0x342aaf):'number'==typeof _0x342aaf&&(yield _0x342aaf);}function*objectToNumberGenerator(_0x1c8d42){if(yield _0x29ac1b('{'),_0x1c8d42){const _0x26212a=Object['keys'](_0x1c8d42)['sort']();for(const _0x3bc14b of _0x26212a){yield*stringToNumberGenerator(_0x3bc14b),yield _0x29ac1b(':');const _0x32c8bc=_0x1c8d42[_0x3bc14b];yield*toNumberGenerator(_0x32c8bc);}}yield _0x29ac1b('}');}function*arrayToNumberGenerator(_0x3526d3){for(const _0x10d294 of _0x3526d3)yield*toNumberGenerator(_0x10d294);}function*stringToNumberGenerator(_0x11f5d0){yield _0x29ac1b('\x22');for(const _0x113d08 of _0x11f5d0)yield _0x29ac1b(_0x113d08);yield _0x29ac1b('\x22');}function _0x29ac1b(_0x5d510c){return _0x5d510c['charCodeAt'](0x0);}function toString$1(_0x5f2730){return(_0x5f2730*=Math['sign'](_0x5f2730))['toString'](0x24);}const blackListedConfigOptions=['initialData','context','toolbar','rootsAttributes'],blackListedPlugins$2=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function skipRtcPlugins(_0x38ee68,_0x2ca62a,_0x3721c8,_0x1cb9aa=[]){const _0x5b607f='string'==typeof _0x38ee68?_0x3721c8['get'](_0x38ee68)['constructor']:_0x38ee68['prototype']['constructor'];if(_0x2ca62a['has'](_0x5b607f))return _0x2ca62a['get'](_0x5b607f);_0x2ca62a['set'](_0x5b607f,!0x0);const _0x8fc485=[...blackListedPlugins$2,..._0x1cb9aa]['map'](_0x2b36ae=>{if(_0x3721c8['has'](_0x2b36ae))return _0x3721c8['get'](_0x2b36ae)['constructor'];})['filter'](_0x1bc2d4=>_0x1bc2d4);if(_0x5b607f&&_0x8fc485['includes'](_0x5b607f))return _0x2ca62a['set'](_0x5b607f,!0x1),!0x1;if(!_0x5b607f['requires'])return _0x2ca62a['set'](_0x5b607f,!0x0),!0x0;const _0x2e47c2=_0x5b607f['requires']['every'](_0x45fa2a=>skipRtcPlugins(_0x45fa2a,_0x2ca62a,_0x3721c8,_0x1cb9aa));return _0x2ca62a['set'](_0x5b607f,_0x2e47c2),_0x2e47c2;}function sanitizeEditorConfig(_0x5289b4,_0x5d9d4b){const _0x335514={};for(const _0x397620 of _0x5289b4['config']['names']())blackListedConfigOptions['includes'](_0x397620)||(_0x335514[_0x397620]=_0x5289b4['config']['get'](_0x397620));const _0xbb6c1f=_0x335514['plugins']||[],_0x6ba67f=_0x5289b4['constructor']['builtinPlugins']||[],_0x73a9ea=_0xbb6c1f['length']?_0xbb6c1f:_0x6ba67f,_0x27e291=_0x335514['extraPlugins']||[];delete _0x335514['extraPlugins'];const _0x486623=_0x335514['removePlugins']||[];delete _0x335514['removePlugins'];const _0x4d5caf=_0x5289b4['_context']['config']['get']('plugins')||[],_0xf18cb1=_0x73a9ea['concat'](_0x27e291)['concat'](_0x4d5caf)['map'](_0x3faf23=>'string'==typeof _0x3faf23?_0x6ba67f['find'](_0x203e39=>_0x203e39['pluginName']==_0x3faf23):_0x3faf23)['filter'](_0x557167=>!_0x486623['includes'](_0x557167)&&!_0x486623['includes'](_0x557167['pluginName'])),_0x18f8f5=Array['from'](new Set(_0xf18cb1)),_0x52d4a9=new Map();return _0x335514['plugins']=_0x18f8f5['filter'](_0x139abd=>skipRtcPlugins(_0x139abd,_0x52d4a9,_0x5289b4['plugins'],_0x5d9d4b)),_0x335514;}function surroundingMarkersDetector(_0x539232,_0x4e0372){const _0x2edd20=[];_0x539232['document']['selection']['on']('change:range',()=>{const _0x49c9af=getSurroundingMarkers(_0x539232,_0x539232['document']['selection']['focus']),_0x48cb5f=[],_0xd560f2=[],_0x2eefb7=[];for(const _0x88be0b of _0x2edd20)_0x49c9af['includes'](_0x88be0b)||_0x48cb5f['push'](_0x88be0b);for(const _0x3a752a of _0x49c9af)_0x2edd20['includes'](_0x3a752a)||_0xd560f2['push'](_0x3a752a),_0x2eefb7['push'](_0x3a752a);(_0x48cb5f['length']||_0xd560f2['length'])&&_0x4e0372({'left':_0x48cb5f,'entered':_0xd560f2}),_0x2edd20['length']=0x0,_0x2edd20['push'](..._0x2eefb7);});}function getSurroundingMarkers(_0x1a839c,_0x130778){const _0x2579e4=[];for(const _0x3bd416 of _0x1a839c['markers']){const _0x5ad9c3=_0x3bd416['getRange']();(_0x5ad9c3['containsPosition'](_0x130778)||_0x5ad9c3['start']['isEqual'](_0x130778)||_0x5ad9c3['end']['isEqual'](_0x130778))&&_0x2579e4['push'](_0x3bd416);}return _0x2579e4;}const _0x1b716d='Ctrl+Shift+E';function setupThreadKeyboardNavigation(_0x4b1135,_0x4d7099){const _0x5137d0=_0x4b1135['element'];_0x4b1135['keystrokes']['listenTo'](_0x5137d0);for(const _0x18362d of _0x4d7099)addViewToFocusCyclerNavigation(_0x4b1135,_0x18362d);_0x4d7099['on']('change',(_0x5be33a,_0x2028cc)=>{for(const _0x45d653 of _0x2028cc['removed'])removeViewFromFocusCyclerNavigation(_0x4b1135,_0x45d653);for(const _0x3346fe of Array['from'](_0x2028cc['added'])['reverse']())addViewToFocusCyclerNavigation(_0x4b1135,_0x3346fe);}),_0x4b1135['keystrokes']['set']('enter',(_0x44a9f1,_0x488d89)=>{_0x5137d0===_0x44a9f1['target']&&(_0x4b1135['focusCycler']['focusFirst'](),_0x488d89());},{'filter':_0x2b858c=>_0x2b858c['target']===_0x5137d0}),_0x4b1135['keystrokes']['set']('esc',(_0x495e16,_0x22cb1c)=>{_0x5137d0!==_0x495e16['target']?_0x4b1135['focus']():_0x4b1135['fire']('escape'),_0x22cb1c();}),_0x4b1135['keystrokes']['set']('arrowdown',(_0x9c8019,_0x4f0bf0)=>{_0x5137d0===_0x9c8019['target']&&(_0x4b1135['fire']('arrowdown'),_0x4f0bf0());}),_0x4b1135['keystrokes']['set']('arrowup',(_0x3ccbb8,_0x563f47)=>{_0x5137d0===_0x3ccbb8['target']&&(_0x4b1135['fire']('arrowup'),_0x563f47());});}function addViewToFocusCyclerNavigation(_0x50ba40,_0x1ad91c){_0x1ad91c['isRendered']&&(_0x50ba40['focusTracker']['add'](_0x1ad91c['element']),_0x50ba40['keystrokes']['listenTo'](_0x1ad91c['element']),ckeditor5['isViewWithFocusCycler'](_0x1ad91c)&&areFocusCyclerActionsCompatible(_0x50ba40['focusCycler'],_0x1ad91c['focusCycler'])&&_0x50ba40['focusCycler']['chain'](_0x1ad91c['focusCycler']));}function removeViewFromFocusCyclerNavigation(_0x310f88,_0x32f69f){_0x310f88['focusTracker']['remove'](_0x32f69f['element']),_0x310f88['keystrokes']['stopListening'](_0x32f69f['element']),ckeditor5['isViewWithFocusCycler'](_0x32f69f)&&_0x310f88['focusCycler']['unchain'](_0x32f69f['focusCycler']);}function areFocusCyclerActionsCompatible(_0x2237a9,_0x5f0e73){const _0x5e0236=_0x2237a9['actions'],_0x5437f9=_0x5f0e73['actions'];for(const _0x1feac5 of Object['keys'](_0x5e0236))if(_0x1feac5 in _0x5437f9&&_0x5e0236[_0x1feac5]!==_0x5437f9[_0x1feac5])return!0x1;return!0x0;}class _0x539026{['diff'](_0x469a43,_0x2b0238,_0x21a698={}){let _0x458c58;'function'==typeof _0x21a698?(_0x458c58=_0x21a698,_0x21a698={}):'callback'in _0x21a698&&(_0x458c58=_0x21a698['callback']);const _0xdb37e7=this['castInput'](_0x469a43,_0x21a698),_0x44d485=this['castInput'](_0x2b0238,_0x21a698),_0x3a4c8c=this['removeEmpty'](this['tokenize'](_0xdb37e7,_0x21a698)),_0x1de3b8=this['removeEmpty'](this['tokenize'](_0x44d485,_0x21a698));return this['diffWithOptionsObj'](_0x3a4c8c,_0x1de3b8,_0x21a698,_0x458c58);}['diffWithOptionsObj'](_0x12985a,_0x34f83b,_0x5b376a,_0x265e77){var _0x428394;const _0x2eed2a=_0x198ee0=>(_0x198ee0=this['postProcess'](_0x198ee0,_0x5b376a),_0x265e77?void setTimeout(function(){_0x265e77(_0x198ee0);},0x0):_0x198ee0),_0x46ae9a=_0x34f83b['length'],_0x129a26=_0x12985a['length'];let _0x307a8a=0x1,_0xca74d8=_0x46ae9a+_0x129a26;null!=_0x5b376a['maxEditLength']&&(_0xca74d8=Math['min'](_0xca74d8,_0x5b376a['maxEditLength']));const _0x4d061d=null!==(_0x428394=_0x5b376a['timeout'])&&void 0x0!==_0x428394?_0x428394:0x1/0x0,_0x446e53=Date['now']()+_0x4d061d,_0x3e13df=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x62f888=this['extractCommon'](_0x3e13df[0x0],_0x34f83b,_0x12985a,0x0,_0x5b376a);if(_0x3e13df[0x0]['oldPos']+0x1>=_0x129a26&&_0x62f888+0x1>=_0x46ae9a)return _0x2eed2a(this['buildValues'](_0x3e13df[0x0]['lastComponent'],_0x34f83b,_0x12985a));let _0x16a798=-0x1/0x0,_0x5e6bc6=0x1/0x0;const _0x1163e7=()=>{for(let _0x19ed72=Math['max'](_0x16a798,-_0x307a8a);_0x19ed72<=Math['min'](_0x5e6bc6,_0x307a8a);_0x19ed72+=0x2){let _0x4312d8;const _0x4b6be7=_0x3e13df[_0x19ed72-0x1],_0x487bd3=_0x3e13df[_0x19ed72+0x1];_0x4b6be7&&(_0x3e13df[_0x19ed72-0x1]=void 0x0);let _0x32b880=!0x1;if(_0x487bd3){const _0x1947fc=_0x487bd3['oldPos']-_0x19ed72;_0x32b880=_0x487bd3&&0x0<=_0x1947fc&&_0x1947fc<_0x46ae9a;}const _0x587d85=_0x4b6be7&&_0x4b6be7['oldPos']+0x1<_0x129a26;if(_0x32b880||_0x587d85){if(_0x4312d8=!_0x587d85||_0x32b880&&_0x4b6be7['oldPos']<_0x487bd3['oldPos']?this['addToPath'](_0x487bd3,!0x0,!0x1,0x0,_0x5b376a):this['addToPath'](_0x4b6be7,!0x1,!0x0,0x1,_0x5b376a),_0x62f888=this['extractCommon'](_0x4312d8,_0x34f83b,_0x12985a,_0x19ed72,_0x5b376a),_0x4312d8['oldPos']+0x1>=_0x129a26&&_0x62f888+0x1>=_0x46ae9a)return _0x2eed2a(this['buildValues'](_0x4312d8['lastComponent'],_0x34f83b,_0x12985a))||!0x0;_0x3e13df[_0x19ed72]=_0x4312d8,_0x4312d8['oldPos']+0x1>=_0x129a26&&(_0x5e6bc6=Math['min'](_0x5e6bc6,_0x19ed72-0x1)),_0x62f888+0x1>=_0x46ae9a&&(_0x16a798=Math['max'](_0x16a798,_0x19ed72+0x1));}else _0x3e13df[_0x19ed72]=void 0x0;}_0x307a8a++;};if(_0x265e77)!function _0xff8bf3(){setTimeout(function(){if(_0x307a8a>_0xca74d8||Date['now']()>_0x446e53)return _0x265e77(void 0x0);_0x1163e7()||_0xff8bf3();},0x0);}();else for(;_0x307a8a<=_0xca74d8&&Date['now']()<=_0x446e53;){const _0x4a45a7=_0x1163e7();if(_0x4a45a7)return _0x4a45a7;}}['addToPath'](_0x346a45,_0x100ab0,_0x517fdd,_0x381459,_0x5d4180){const _0x548a69=_0x346a45['lastComponent'];return _0x548a69&&!_0x5d4180['oneChangePerToken']&&_0x548a69['added']===_0x100ab0&&_0x548a69['removed']===_0x517fdd?{'oldPos':_0x346a45['oldPos']+_0x381459,'lastComponent':{'count':_0x548a69['count']+0x1,'added':_0x100ab0,'removed':_0x517fdd,'previousComponent':_0x548a69['previousComponent']}}:{'oldPos':_0x346a45['oldPos']+_0x381459,'lastComponent':{'count':0x1,'added':_0x100ab0,'removed':_0x517fdd,'previousComponent':_0x548a69}};}['extractCommon'](_0x49fe4d,_0x7cf97d,_0x1b377c,_0x2b1f80,_0xd0fec){const _0x119da0=_0x7cf97d['length'],_0x32aa84=_0x1b377c['length'];let _0x1dd541=_0x49fe4d['oldPos'],_0x34fc4e=_0x1dd541-_0x2b1f80,_0xb0c7e6=0x0;for(;_0x34fc4e+0x1<_0x119da0&&_0x1dd541+0x1<_0x32aa84&&this['equals'](_0x1b377c[_0x1dd541+0x1],_0x7cf97d[_0x34fc4e+0x1],_0xd0fec);)_0x34fc4e++,_0x1dd541++,_0xb0c7e6++,_0xd0fec['oneChangePerToken']&&(_0x49fe4d['lastComponent']={'count':0x1,'previousComponent':_0x49fe4d['lastComponent'],'added':!0x1,'removed':!0x1});return _0xb0c7e6&&!_0xd0fec['oneChangePerToken']&&(_0x49fe4d['lastComponent']={'count':_0xb0c7e6,'previousComponent':_0x49fe4d['lastComponent'],'added':!0x1,'removed':!0x1}),_0x49fe4d['oldPos']=_0x1dd541,_0x34fc4e;}['equals'](_0x7a904c,_0x4de3b7,_0x2fe665){return _0x2fe665['comparator']?_0x2fe665['comparator'](_0x7a904c,_0x4de3b7):_0x7a904c===_0x4de3b7||!!_0x2fe665['ignoreCase']&&_0x7a904c['toLowerCase']()===_0x4de3b7['toLowerCase']();}['removeEmpty'](_0x286c0c){const _0x2f2102=[];for(let _0x2868a5=0x0;_0x2868a5<_0x286c0c['length'];_0x2868a5++)_0x286c0c[_0x2868a5]&&_0x2f2102['push'](_0x286c0c[_0x2868a5]);return _0x2f2102;}['castInput'](_0x314054,_0x2b77c4){return _0x314054;}['tokenize'](_0x1d0c9e,_0x1e43c){return Array['from'](_0x1d0c9e);}['join'](_0x446efa){return _0x446efa['join']('');}['postProcess'](_0x36c4e5,_0x238453){return _0x36c4e5;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x58bbb7,_0x139771,_0x2ac431){const _0x3cb575=[];let _0x2a0b0c;for(;_0x58bbb7;)_0x3cb575['push'](_0x58bbb7),_0x2a0b0c=_0x58bbb7['previousComponent'],delete _0x58bbb7['previousComponent'],_0x58bbb7=_0x2a0b0c;_0x3cb575['reverse']();const _0x1a9216=_0x3cb575['length'];let _0xbb4313=0x0,_0x320986=0x0,_0x58ad4d=0x0;for(;_0xbb4313<_0x1a9216;_0xbb4313++){const _0x744d00=_0x3cb575[_0xbb4313];if(_0x744d00['removed'])_0x744d00['value']=this['join'](_0x2ac431['slice'](_0x58ad4d,_0x58ad4d+_0x744d00['count'])),_0x58ad4d+=_0x744d00['count'];else{if(!_0x744d00['added']&&this['useLongestToken']){let _0x64a879=_0x139771['slice'](_0x320986,_0x320986+_0x744d00['count']);_0x64a879=_0x64a879['map'](function(_0x2bee8,_0x257584){const _0xbf3189=_0x2ac431[_0x58ad4d+_0x257584];return _0xbf3189['length']>_0x2bee8['length']?_0xbf3189:_0x2bee8;}),_0x744d00['value']=this['join'](_0x64a879);}else _0x744d00['value']=this['join'](_0x139771['slice'](_0x320986,_0x320986+_0x744d00['count']));_0x320986+=_0x744d00['count'],_0x744d00['added']||(_0x58ad4d+=_0x744d00['count']);}}return _0x3cb575;}}class _0x4e4ed6 extends _0x539026{['tokenize'](_0x46f7ef){return _0x46f7ef['slice']();}['join'](_0x5d17df){return _0x5d17df;}['removeEmpty'](_0x1db7a0){return _0x1db7a0;}}const _0x4dd072=new _0x4e4ed6();function _0x128958(_0x44e146,_0x5c34fd,_0x2f7ee6){return _0x4dd072['diff'](_0x44e146,_0x5c34fd,_0x2f7ee6);}const _0x2f946d='$elementId',_0x5438d7='data-id';class DocumentCompare extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0xe8e13c,_0x4db4fd)=>{_0x4db4fd['on']('ready',()=>{this['_integrateEditor'](_0x4db4fd);});});}get['editor'](){if(this['context']instanceof ckeditor5['Editor'])return this['context'];{const _0x253ca3=this['context']['editors']['first'];if(!_0x253ca3)throw new ckeditor5['CKEditorError']('documentcompare-no-editor',this);return _0x253ca3;}}['getDiff'](_0x400175,_0x298b8b,_0x134a5d={'anchor':'main','markDeletions':!0x1}){let _0x3c86c0,_0xf593d2;const _0x3eb7d7=this['editor'];if('string'==typeof _0x134a5d['anchor']){const _0x1a5a83=_0x3eb7d7['model']['document']['getRoot'](_0x134a5d['anchor']);if(!_0x1a5a83)throw new ckeditor5['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x134a5d['anchor']});_0x3c86c0=_0x1a5a83,_0xf593d2=_0x3eb7d7['model']['createPositionAt'](_0x1a5a83,0x0);}else _0x3c86c0=_0x134a5d['anchor']['clone'](),_0xf593d2=_0x134a5d['anchor']['clone']();const _0x2061c0=_0x3eb7d7['data']['parse'](_0x400175,_0x3c86c0),_0x454fa3=_0x3eb7d7['data']['parse'](_0x298b8b,_0x3c86c0);return new DocumentDiff(_0x2061c0,_0x454fa3,_0x3eb7d7,{'anchor':_0xf593d2,'markDeletions':_0x134a5d['markDeletions']});}['isMarkedRemoveOperation'](_0x13c8e5){return'marker'==_0x13c8e5['type']&&_0x13c8e5['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x17d8e4){_0x17d8e4['conversion']['for']('upcast')['add'](_0x3bd7cb=>{_0x3bd7cb['on']('element',(_0x1de1be,_0x2a073d,_0x15c1a3)=>{if(_0x2a073d['modelRange'])for(const _0x45b339 of _0x2a073d['modelRange']['getItems']({'shallow':!0x0})){if(_0x45b339['is']('$textProxy'))continue;const _0x34acfb=_0x2a073d['viewItem']['getAttribute'](_0x5438d7);_0x34acfb&&_0x15c1a3['writer']['setAttribute'](_0x2f946d,_0x34acfb,_0x45b339);}},{'priority':'lowest'});}),_0x17d8e4['model']['schema']['addAttributeCheck'](()=>!0x0,_0x2f946d);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x32b993,_0x2931e1,_0x28977b,_0x40869b){this['_editor']=_0x28977b,this['_markDeletions']=!!_0x40869b['markDeletions'],this['_anchor']=_0x40869b['anchor'];const _0x4e51cb=this['_tokenizeModel'](_0x32b993),_0x2d80fb=this['_tokenizeModel'](_0x2931e1);this['_diffItems']=this['_diffModelTokens'](_0x4e51cb,_0x2d80fb),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x32b993['markers'],_0x2931e1['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x224300=this['_editor']['model']['document'],_0x3270dd=[];let _0x1d7684=_0x224300['version'];for(const _0x12f8cf of this['_operationsData'])switch(_0x12f8cf['type']){case'attribute':{const _0x82d159=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['path']),_0x27ebe7=_0x82d159['getShiftedBy'](_0x12f8cf['howMany']),_0x5487dc=new ckeditor5['ModelRange'](_0x82d159,_0x27ebe7),_0x236925=JSON['parse'](_0x12f8cf['oldValue']),_0x36482f=JSON['parse'](_0x12f8cf['newValue']);_0x3270dd['push'](new ckeditor5['AttributeOperation'](_0x5487dc,_0x12f8cf['key'],_0x236925,_0x36482f,_0x1d7684++));break;}case'insert':{const _0x1c73c6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['path']),_0x3b2734=this['_makeModelFromTokens'](_0x12f8cf['tokens']);_0x3270dd['push'](new ckeditor5['InsertOperation'](_0x1c73c6,_0x3b2734,_0x1d7684++));break;}case'remove':{const _0x4b94bb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['path']),_0x850474=new ckeditor5['ModelPosition'](_0x224300['graveyard'],[0x0]);_0x3270dd['push'](new ckeditor5['MoveOperation'](_0x4b94bb,_0x12f8cf['howMany'],_0x850474,_0x1d7684++));break;}case'rename':{const _0x4f9f7f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['path']);_0x3270dd['push'](new ckeditor5['RenameOperation'](_0x4f9f7f,_0x12f8cf['oldName'],_0x12f8cf['newName'],_0x1d7684++));break;}case'split':{const _0xb46a2e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['path']),_0x3fc4d5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['path']['slice'](0x0,-0x1));_0x3fc4d5['offset']++,_0x3270dd['push'](new ckeditor5['SplitOperation'](_0xb46a2e,Number['NEGATIVE_INFINITY'],_0x3fc4d5,null,_0x1d7684++));break;}case'merge':{const _0x56504a=_0x12f8cf['path']['slice'](),_0x4eb37a=_0x56504a['slice'](0x0,-0x1);_0x4eb37a[_0x4eb37a['length']-0x1]++,_0x4eb37a['push'](0x0);const _0x1fe09a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4eb37a),_0x2dc2e7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56504a),_0x35d635=new ckeditor5['ModelPosition'](_0x224300['graveyard'],[0x0]);_0x3270dd['push'](new ckeditor5['MergeOperation'](_0x1fe09a,Number['NEGATIVE_INFINITY'],_0x2dc2e7,_0x35d635,_0x1d7684++));break;}case'marker':case'markedRemove':{let _0x4da8ed=null;if(_0x12f8cf['range']){const _0x93c431=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['range']['start']),_0x245615=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['range']['end']);_0x4da8ed=new ckeditor5['ModelRange'](_0x93c431,_0x245615);}const _0x2d3dca='marker'==_0x12f8cf['type']?_0x12f8cf['name']:'$markedRemove:'+ckeditor5['uid']();_0x3270dd['push'](new ckeditor5['MarkerOperation'](_0x2d3dca,null,_0x4da8ed,_0x224300['model']['markers'],!0x0,_0x1d7684++));break;}case'unwrap':{const _0x79d9f0=_0x12f8cf['path']['slice']();_0x79d9f0['push'](0x0);const _0x2824a1=_0x12f8cf['path']['slice'](),_0x3e1a2a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x79d9f0),_0x2fb598=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2824a1),_0x1eebf2=new ckeditor5['ModelPosition'](_0x224300['graveyard'],[0x0]);_0x3270dd['push'](new ckeditor5['MoveOperation'](_0x3e1a2a,_0x12f8cf['howMany'],_0x2fb598,_0x1d7684++)),_0x3270dd['push'](new ckeditor5['MoveOperation'](_0x2fb598['getShiftedBy'](_0x12f8cf['howMany']),0x1,_0x1eebf2,_0x1d7684++));break;}case'wrap':{const _0x4b3d98=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['range']['start']),_0x1498d7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x12f8cf['range']['end']),_0x3ac3ee=_0x12f8cf['token']['element']['_clone'](!0x1),_0xc8e088=_0x12f8cf['range']['end']['slice']();_0xc8e088['push'](0x0);const _0x24e405=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xc8e088);_0x3270dd['push'](new ckeditor5['InsertOperation'](_0x1498d7,_0x3ac3ee,_0x1d7684++)),_0x3270dd['push'](new ckeditor5['MoveOperation'](_0x4b3d98,_0x1498d7['offset']-_0x4b3d98['offset'],_0x24e405,_0x1d7684++));break;}}return _0x3270dd;}['_tokenizeModel'](_0x5ec96a){const _0x368ea8=[],_0x159827=ckeditor5['ModelRange']['_createIn'](_0x5ec96a),_0x524433=new ckeditor5['ModelTreeWalker']({'boundaries':_0x159827});let _0xb98519='',_0x3fe661=null;const _0x3be43f=[''],_0x338548=new Map();for(const _0x3a6945 of _0x524433)if('elementStart'==_0x3a6945['type']||'elementEnd'==_0x3a6945['type']){let _0x29ca08=_0x3be43f[0x0];''!==_0xb98519&&(_0x368ea8['push'](...this['_makeTokensFromTextByWords'](_0xb98519,_0x3fe661,_0x29ca08)),_0xb98519='');const _0xf20813=_0x3a6945['item'];let _0x2bb472;_0xf20813['getAttribute'](_0x2f946d)?_0x2bb472=_0xf20813['getAttribute'](_0x2f946d):'elementStart'==_0x3a6945['type']?(_0x2bb472=makeUidForElement(_0xf20813),_0x338548['set'](_0xf20813,_0x2bb472)):_0x2bb472=_0x338548['get'](_0xf20813);const _0x3e08cd=this['_getElementCategory'](_0xf20813);'solid'==_0x3e08cd&&('elementStart'==_0x3a6945['type']?(_0x29ca08=_0x2bb472,_0x3be43f['unshift'](_0x29ca08)):_0x3be43f['shift']());const _0x51f9fd={'type':'element','element':_0xf20813,'elementId':_0x2bb472,'category':_0x3e08cd,'isStart':'elementStart'==_0x3a6945['type'],'limitId':_0x29ca08};_0x368ea8['push'](_0x51f9fd);}else''==_0xb98519&&(_0x3fe661=_0x3a6945['previousPosition']['clone']()),_0xb98519+=_0x3a6945['item']['data'];return''!==_0xb98519&&_0x368ea8['push'](...this['_makeTokensFromTextByWords'](_0xb98519,_0x3fe661,_0x3be43f[0x0])),_0x368ea8;}['_makeTokensFromTextByWords'](_0x445c96,_0x159c4e,_0x331812){const _0x189f91=_0x445c96['matchAll'](/(\s)/g),_0x5c3ed8=Array['from'](_0x189f91)['map'](_0x262a66=>_0x262a66['index']);_0x5c3ed8['push'](_0x445c96['length']),0x0==_0x5c3ed8[0x0]&&_0x5c3ed8['shift']();const _0x3ecaca=[],_0x320c2b=_0x159c4e['parent'];let _0x5a719=0x0,_0x35edbe=_0x159c4e['offset'];for(let _0x32fc05=0x0;_0x32fc05<_0x5c3ed8['length'];_0x32fc05++)_0x3ecaca['push']({'type':'text','data':_0x445c96['slice'](_0x5a719,_0x5c3ed8[_0x32fc05]),'parent':_0x320c2b,'offset':_0x35edbe,'limitId':_0x331812}),_0x5a719=_0x5c3ed8[_0x32fc05],_0x35edbe=_0x159c4e['offset']+_0x5c3ed8[_0x32fc05];return _0x3ecaca;}['_getElementCategory'](_0x437a91){const _0x480713=this['_editor']['model']['schema'];return _0x480713['isLimit'](_0x437a91)||_0x480713['isContent'](_0x437a91)||_0x480713['isInline'](_0x437a91)?'solid':_0x480713['isBlock'](_0x437a91)?'block':'container';}['_diffModelTokens'](_0x18f4de,_0x1ac41e){const _0x120f7e=_0x128958(_0x18f4de,_0x1ac41e,{'comparator':_0x4f24fd});this['_handleUnclosedBlockOpeningTags'](_0x120f7e);const _0x3e9ec0=_0x120f7e['flatMap'](_0x41e6ae=>{const _0x4ef03f=_0x41e6ae['added']?'added':_0x41e6ae['removed']?'removed':'unchanged';return _0x41e6ae['value']['map'](_0x5ab252=>({'token':_0x5ab252,'change':_0x4ef03f}));});let _0x5e3978=0x0;for(const _0xc3e364 of _0x3e9ec0)'added'!=_0xc3e364['change']&&('unchanged'==_0xc3e364['change']&&(_0xc3e364['before']=_0x18f4de[_0x5e3978]),_0x5e3978++);return _0x3e9ec0;}['_handleUnclosedBlockOpeningTags'](_0x176439){for(let _0x5cedf0=0x0;_0x5cedf0<_0x176439['length']-0x1;_0x5cedf0++)if(_0x176439[_0x5cedf0]['removed']&&_0x176439[_0x5cedf0+0x1]['added']){const _0xadc9f6=this['_findUnclosedBlockOpeningToken'](_0x176439[_0x5cedf0]['value']);if(null!==_0xadc9f6){const _0x3da9c1=this['_findUnclosedBlockOpeningToken'](_0x176439[_0x5cedf0+0x1]['value']),_0x128141=_0x176439[_0x5cedf0]['value']['splice'](_0xadc9f6),_0x1c8839=_0x176439[_0x5cedf0+0x1]['value']['splice'](_0x3da9c1),_0x1584ba=[_0x1c8839['shift']()];_0x128141['shift']();const _0x2572ca={'value':_0x128141,'removed':!0x0},_0x8b3088={'value':_0x1c8839,'added':!0x0},_0x52e614={'value':_0x1584ba};_0x176439['splice'](_0x5cedf0+0x2,0x0,_0x52e614,_0x2572ca,_0x8b3088);}}}['_findUnclosedBlockOpeningToken'](_0xd63912){let _0x2d7d46=0x0,_0x1a8d11=-0x1;for(let _0x25b414=0x0;_0x25b414<_0xd63912['length'];_0x25b414++){const _0x12021f=_0xd63912[_0x25b414];'element'==_0x12021f['type']&&'block'==_0x12021f['category']&&(_0x2d7d46+=_0x12021f['isStart']?0x1:-0x1,_0x12021f['isStart']&&(_0x1a8d11=_0x25b414));}return 0x0===_0x2d7d46?null:_0x1a8d11;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2ffaf1=0x0;_0x2ffaf1<this['_diffItems']['length'];_0x2ffaf1++){const _0x1bceaa=this['_diffItems'][_0x2ffaf1]['change'],_0x2d7290=[];_0x2d7290['push'](this['_diffItems'][_0x2ffaf1]);let _0x4f3ab4=_0x2ffaf1+0x1;for(;this['_diffItems'][_0x4f3ab4]&&this['_diffItems'][_0x4f3ab4]['change']==_0x1bceaa;)_0x2d7290['push'](this['_diffItems'][_0x4f3ab4]),_0x4f3ab4++,_0x2ffaf1++;const _0x2429c8=_0x2d7290['map'](_0x5f3c53=>_0x5f3c53['token']);if('unchanged'==_0x1bceaa)_0x2d7290['map'](_0x1d0620=>_0x1d0620['before'])['forEach'](_0x276d6f=>this['_traverseOverItem'](_0x276d6f));else{if('removed'==_0x1bceaa){if(this['_markDeletions']){const _0x3b08f6=this['_path']['slice']();_0x2429c8['forEach'](_0x2b51eb=>this['_traverseOverItem'](_0x2b51eb));const _0x25f152=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x3b08f6,'end':_0x25f152}});}else this['_handleChanged'](_0x2429c8,!0x0,this['_path']['slice']());}else{const _0x41e0b9=_0x2429c8['filter'](_0x4a7a07=>'element'!=_0x4a7a07['type']||'container'!=_0x4a7a07['category']);this['_handleChanged'](_0x41e0b9,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x4330a7=0x0;_0x4330a7<this['_diffItems']['length'];_0x4330a7++){const _0x532816=this['_diffItems'][_0x4330a7]['change'],_0x4119be=[];_0x4119be['push'](this['_diffItems'][_0x4330a7]);let _0x1e0356=_0x4330a7+0x1;for(;this['_diffItems'][_0x1e0356]&&this['_diffItems'][_0x1e0356]['change']==_0x532816;)_0x4119be['push'](this['_diffItems'][_0x1e0356]),_0x1e0356++,_0x4330a7++;const _0xc5724b=_0x4119be['map'](_0x3e2cbc=>_0x3e2cbc['token']);if('unchanged'==_0x532816){const _0x5dd6ea=_0x4119be['map'](_0x28b93f=>_0x28b93f['before']);this['_handleUnchanged'](_0x5dd6ea,_0xc5724b);}else('removed'!=_0x532816||this['_markDeletions'])&&_0xc5724b['forEach'](_0x547627=>{this['_traverseOverItem'](_0x547627);});}}['_calculateMarkersOperationsData'](_0x4ccf7f,_0x3c497f){const _0x5c8542={};for(const [_0x442f9a]of _0x4ccf7f)_0x5c8542[_0x442f9a]=null;for(const [_0x43bb9b,_0x377765]of _0x3c497f)_0x5c8542[_0x43bb9b]=_0x377765;const _0x2fbfa5=Object['entries'](_0x5c8542)['map'](([_0x10cb34,_0x578e27])=>({'type':'marker','name':_0x10cb34,'range':_0x578e27?{'start':_0x578e27['start']['path']['slice'](),'end':_0x578e27['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x2fbfa5);}['_handleUnwraps'](){const _0x230fe9=new Map(),_0x249ff3=[],_0x36347f=[0x0];let _0x20bae7=this['_diffItems']['length']+0x1;for(let _0x17bc1e=this['_diffItems']['length']-0x1;_0x17bc1e>=0x0;_0x17bc1e--){const {token:_0x694cb1,before:_0x65a764,change:_0x5b0786}=this['_diffItems'][_0x17bc1e];if('removed'!=_0x5b0786&&(_0x20bae7=_0x17bc1e),'element'!=_0x694cb1['type']||'container'!=_0x694cb1['category']||'added'==_0x5b0786)continue;const _0x55f8d4=_0x65a764?_0x65a764['element']:_0x694cb1['element'];if(_0x694cb1['isStart']){const _0x4d673d=_0x230fe9['get'](_0x55f8d4),_0x4bd0f1=this['_diffItems'][_0x4d673d];('removed'==_0x5b0786||'removed'==_0x4bd0f1['change'])&&_0x20bae7<_0x4d673d&&(this['_operationsData']['push']({'type':'unwrap','path':_0x55f8d4['getPath'](),'howMany':_0x55f8d4['maxOffset']+_0x36347f[0x0]}),_0x36347f['shift'](),_0x36347f[0x0]+=_0x55f8d4['maxOffset']-0x1,_0x249ff3['push'](_0x17bc1e),_0x249ff3['push'](_0x4d673d));}else _0x230fe9['set'](_0x55f8d4,_0x17bc1e),_0x36347f['unshift'](0x0);}_0x249ff3['sort']((_0x16d17f,_0x976636)=>_0x976636-_0x16d17f),_0x249ff3['forEach'](_0x342dac=>{const _0x5e399e=this['_diffItems'][_0x342dac];'removed'==_0x5e399e['change']?this['_diffItems']['splice'](_0x342dac,0x1):(_0x5e399e['change']='added',delete _0x5e399e['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x3d65d2=[];for(let _0xb47a1b=0x0;_0xb47a1b<this['_diffItems']['length'];_0xb47a1b++){const {change:_0xe5077,token:_0x420f27}=this['_diffItems'][_0xb47a1b];if('added'==_0xe5077&&'element'==_0x420f27['type']&&'container'==_0x420f27['category']){if(_0x420f27['isStart'])_0x3d65d2['push'](this['_path']['slice']());else{if(!_0x420f27['isStart']){const _0x4470a1=_0x3d65d2['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x4470a1,'end':this['_path']['slice']()},'token':_0x420f27}),this['_path'][this['_path']['length']-0x1]=_0x4470a1[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0xe5077||this['_markDeletions'])&&this['_traverseOverItem'](_0x420f27);}}['_handleUnchanged'](_0x3af38f,_0x550bd5){for(let _0x85aff5=0x0;_0x85aff5<_0x3af38f['length'];_0x85aff5++){const _0x9b00d7=_0x3af38f[_0x85aff5];if('element'==_0x9b00d7['type']&&_0x9b00d7['isStart']){const _0x11e827=_0x550bd5[_0x85aff5];'block'==_0x9b00d7['category']&&this['_handleElementRename'](_0x9b00d7['element'],_0x11e827['element'],this['_path']),this['_handleElementAttributeChanges'](_0x9b00d7['element'],_0x11e827['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x11e827);}else{if('element'!=_0x9b00d7['type']||_0x9b00d7['isStart']){if('text'==_0x9b00d7['type']){const _0x169b69=this['_path']['slice'](),_0x459a85=[],_0x167702=[];for(;_0x3af38f[_0x85aff5]&&'text'==_0x3af38f[_0x85aff5]['type'];)_0x459a85['push'](_0x3af38f[_0x85aff5]),_0x167702['push'](_0x550bd5[_0x85aff5]),this['_path'][this['_path']['length']-0x1]+=_0x3af38f[_0x85aff5]['data']['length'],_0x85aff5++;_0x85aff5--,this['_handleTextAttributeChanges'](_0x459a85,_0x167702,_0x169b69);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4dd974,_0x437cfc,_0x57fcf3){const _0x5c0cec=[],_0x313d95=[],_0x562514=_0x57fcf3['slice']();for(let _0x2dbfb1=0x0;_0x2dbfb1<_0x4dd974['length'];_0x2dbfb1++){const _0x5003eb=_0x4dd974[_0x2dbfb1],_0x5eab2d=_0x57fcf3['slice']();if('element'!=_0x5003eb['type']||_0x5003eb['isStart'])'element'==_0x5003eb['type']&&_0x5003eb['isStart']?(_0x57fcf3['push'](0x0),_0x437cfc||this['_parents']['push'](_0x5003eb),_0x313d95['push']({'before':_0x5eab2d,'after':_0x57fcf3['slice'](),'index':_0x2dbfb1})):_0x57fcf3[_0x57fcf3['length']-0x1]+=_0x5003eb['data']['length'];else{let _0x2fd080;_0x57fcf3['pop'](),_0x57fcf3[_0x57fcf3['length']-0x1]++,_0x2fd080=_0x437cfc?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x313d95['length']?_0x313d95['pop']():_0x5c0cec['push']({'before':_0x5eab2d,'after':_0x57fcf3['slice'](),'index':_0x2dbfb1,'related':_0x2fd080});}}if(_0x313d95['length']!==_0x5c0cec['length'])throw new ckeditor5['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4dd974,'isRemove':_0x437cfc});const _0x3ff14d=[{'after':_0x562514['slice'](),'index':-0x1},..._0x5c0cec,..._0x313d95,{'before':_0x57fcf3['slice'](),'index':_0x4dd974['length']}];if(_0x437cfc){for(let _0xc3d891=_0x3ff14d['length']-0x1;_0xc3d891>=0x1;_0xc3d891--){const _0x283ea7=_0x3ff14d[_0xc3d891-0x1]['after'],_0x251d89=_0x3ff14d[_0xc3d891]['before'],_0x333fdf=_0x251d89[_0x251d89['length']-0x1]-_0x283ea7[_0x283ea7['length']-0x1];_0x333fdf&&(this['_operationsData']['push']({'type':'remove','path':_0x283ea7,'howMany':_0x333fdf}),_0x251d89[_0x251d89['length']-0x1]-=_0x333fdf);}for(const {before:_0x4e7d12}of _0x5c0cec)this['_operationsData']['push']({'type':'merge','path':_0x4e7d12});}else for(let _0x26979b=0x0;_0x26979b<_0x3ff14d['length']-0x1;_0x26979b++){const _0x17e488=_0x3ff14d[_0x26979b]['after'],_0x3ecaaf=_0x3ff14d[_0x26979b+0x1]['before'],_0x4b1a23=_0x3ff14d[_0x26979b]['index']+0x1,_0x25160d=_0x3ff14d[_0x26979b+0x1]['index'];if(_0x4b1a23!==_0x25160d&&this['_operationsData']['push']({'type':'insert','path':_0x17e488,'tokens':_0x4dd974['slice'](_0x4b1a23,_0x25160d)}),_0x26979b<_0x5c0cec['length']){this['_operationsData']['push']({'type':'split','path':_0x3ecaaf});const _0x53ba24=_0x4dd974[_0x313d95[_0x313d95['length']-0x1-_0x26979b]['index']],_0x3d838e=_0x5c0cec[_0x26979b]['after'],_0x59191b=_0x5c0cec[_0x26979b]['related']['element'];this['_handleElementRename'](_0x59191b,_0x53ba24['element'],_0x3d838e),this['_handleElementAttributeChanges'](_0x59191b,_0x53ba24['element'],_0x3d838e);}}}['_traverseOverItem'](_0x7baa50){'element'==_0x7baa50['type']&&_0x7baa50['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x7baa50)):'element'!=_0x7baa50['type']||_0x7baa50['isStart']?'text'==_0x7baa50['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x7baa50['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x98a145,_0x347a8d,_0x5c578b){_0x98a145['name']!=_0x347a8d['name']&&this['_operationsData']['push']({'type':'rename','path':_0x5c578b['slice'](),'oldName':_0x98a145['name'],'newName':_0x347a8d['name']});}['_handleElementAttributeChanges'](_0xf6dff6,_0x3e002f,_0x40c36c){const _0x610d51=this['_getAttributeChanges'](_0xf6dff6['getAttributes'](),_0x3e002f['getAttributes']());for(const _0x3208f7 in _0x610d51){const {oldValue:_0xda2b58,newValue:_0x4d1a9a}=_0x610d51[_0x3208f7];this['_operationsData']['push']({'type':'attribute','path':_0x40c36c['slice'](),'howMany':0x1,'key':_0x3208f7,'oldValue':_0xda2b58,'newValue':_0x4d1a9a});}}['_handleTextAttributeChanges'](_0x2ae85b,_0x33e898,_0x40e039){const _0x4b8285=this['_operationsData'],_0x520b81=_0x2ae85b[0x0]['parent'],_0x52e01e=_0x2ae85b[0x0]['offset'],_0x5e09d9=_0x33e898[0x0]['parent'],_0x37c30d=_0x33e898[0x0]['offset'],_0x5ac7da=_0x2ae85b['reduce']((_0xb9dccc,_0x25a417)=>_0xb9dccc+_0x25a417['data']['length'],0x0),_0x43103e=this['_getAttrsForOffsets'](_0x520b81,_0x52e01e,_0x5ac7da),_0x44f9eb=this['_getAttrsForOffsets'](_0x5e09d9,_0x37c30d,_0x5ac7da),_0x49c124={};for(let _0x2511eb=0x0;_0x2511eb<_0x5ac7da;_0x2511eb++){const _0x2ec055=_0x43103e[_0x52e01e+_0x2511eb],_0x19ee8a=_0x44f9eb[_0x37c30d+_0x2511eb],_0xf5401e=this['_getAttributeChanges'](_0x2ec055,_0x19ee8a);for(const _0x3dff25 in _0x49c124)_0xf5401e[_0x3dff25]||_0x3bd267(_0x3dff25);for(const _0x39d0d6 in _0xf5401e){const {oldValue:_0xd15e82,newValue:_0x283e1a}=_0xf5401e[_0x39d0d6],_0x5b4c89=_0x49c124[_0x39d0d6];_0x5b4c89?_0x5b4c89['oldValue']==_0xd15e82&&_0x5b4c89['newValue']==_0x283e1a?_0x5b4c89['length']++:(_0x3bd267(_0x39d0d6),_0x49c124[_0x39d0d6]={'oldValue':_0xd15e82,'newValue':_0x283e1a,'start':_0x2511eb,'length':0x1}):_0x49c124[_0x39d0d6]={'oldValue':_0xd15e82,'newValue':_0x283e1a,'start':_0x2511eb,'length':0x1};}}for(const _0x3286dd in _0x49c124)_0x3bd267(_0x3286dd);function _0x3bd267(_0x1b194c){const _0x29d038=_0x49c124[_0x1b194c],_0x23a2f7=_0x40e039['slice']();_0x23a2f7[_0x23a2f7['length']-0x1]+=_0x29d038['start'],_0x4b8285['push']({'type':'attribute','path':_0x23a2f7,'howMany':_0x29d038['length'],'key':_0x1b194c,'oldValue':_0x29d038['oldValue'],'newValue':_0x29d038['newValue']}),delete _0x49c124[_0x1b194c];}}['_getAttributeChanges'](_0x42b124,_0x5456b3){const _0x29b5e3={};for(const [_0x538373,_0xa33d2f]of _0x42b124)_0x29b5e3[_0x538373]={'oldValue':JSON['stringify'](_0xa33d2f),'newValue':'null'};for(const [_0x2e70a8,_0x1d6d35]of _0x5456b3){const _0x2a6c16=JSON['stringify'](_0x1d6d35);_0x29b5e3[_0x2e70a8]?_0x29b5e3[_0x2e70a8]['oldValue']==_0x2a6c16?delete _0x29b5e3[_0x2e70a8]:_0x29b5e3[_0x2e70a8]['newValue']=_0x2a6c16:_0x29b5e3[_0x2e70a8]={'oldValue':'null','newValue':_0x2a6c16};}return delete _0x29b5e3[_0x2f946d],_0x29b5e3;}['_getAttrsForOffsets'](_0x36aad3,_0x2d5903,_0x343246){const _0x4cc065=new Array(_0x2d5903+_0x343246);let _0x118c77=_0x36aad3['getChildAtOffset'](_0x2d5903),_0x2f98b7=_0x118c77['startOffset'];for(;_0x118c77&&_0x2f98b7<_0x2d5903+_0x343246;){const _0x3cb37b=Array['from'](_0x118c77['getAttributes']());_0x4cc065['fill'](_0x3cb37b,_0x2f98b7,_0x2f98b7+_0x118c77['offsetSize']),_0x2f98b7+=_0x118c77['offsetSize'],_0x118c77=_0x118c77['nextSibling'];}return _0x4cc065;}['_getPositionFromAnchorAndPath'](_0x36ba9a,_0x18c4cd){const _0x1c250b=[..._0x36ba9a['path']['slice'](0x0,-0x1),_0x36ba9a['offset']+_0x18c4cd[0x0],..._0x18c4cd['slice'](0x1)];return new ckeditor5['ModelPosition'](_0x36ba9a['root'],_0x1c250b);}['_makeModelFromTokens'](_0x6cea37){const _0x50c85c=[];let _0x22cb75=null;for(const _0x65a34f of _0x6cea37)if('element'!=_0x65a34f['type']||_0x65a34f['isStart']||_0x22cb75!=_0x65a34f['element']){if(!_0x22cb75){if('text'==_0x65a34f['type']){const _0x32f95f=ckeditor5['ModelPosition']['_createAt'](_0x65a34f['parent'],_0x65a34f['offset']),_0x19ad2b=ckeditor5['ModelRange']['_createFromPositionAndShift'](_0x32f95f,_0x65a34f['data']['length']),_0x1c2a1f=Array['from'](_0x19ad2b['getItems']())['map'](_0x818dec=>new ckeditor5['ModelText'](_0x818dec['data'],_0x818dec['getAttributes']()));_0x50c85c['push'](..._0x1c2a1f);}else{_0x22cb75=_0x65a34f['element'];const _0x96498f=_0x65a34f['element']['_clone'](!0x0);_0x96498f['_removeAttribute'](_0x2f946d);for(const _0x1737e8 of this['_editor']['model']['createRangeIn'](_0x96498f)['getItems']())_0x1737e8['is']('element')&&_0x1737e8['_removeAttribute'](_0x2f946d);_0x50c85c['push'](_0x96498f);}}}else _0x22cb75=null;return _0x50c85c;}}function _0x4f24fd(_0x5d41c4,_0x5e8b5b){return _0x5d41c4['type']===_0x5e8b5b['type']&&(_0x5d41c4['limitId']===_0x5e8b5b['limitId']&&('text'==_0x5d41c4['type']?_0x5d41c4['data']==_0x5e8b5b['data']:compareModelElementTokens(_0x5d41c4,_0x5e8b5b)));}function compareModelElementTokens(_0x53562f,_0x1cab8b){return _0x53562f['isStart']==_0x1cab8b['isStart']&&((!_0x53562f['isStart']||_0x53562f['elementId']==_0x1cab8b['elementId'])&&(_0x53562f['category']==_0x1cab8b['category']&&('block'==_0x53562f['category']||('container'!=_0x53562f['category']||_0x53562f['elementId']==_0x1cab8b['elementId'])&&_0x53562f['element']['name']==_0x1cab8b['element']['name'])));}function makeUidForElement(_0x13ffab){return hashObject({'name':_0x13ffab['name'],...Object['fromEntries'](_0x13ffab['getAttributes']())});}function getSuggestionPartsFromReply({editor:_0x21fd02,changeGroups:_0x222fda,documentContextContent:_0x20faff,showDiff:_0x52ee80,trimUnchanged:_0xc88396=!0x0}){return _0x222fda['map'](_0x270818=>{const _0x578ae6=new Document([]),_0x13344e=new Document([]);for(const _0x12a504 of _0x270818['changes'])if(_0x52ee80&&'removed'==_0x12a504['type']||_0x13344e['children']['push'](_0x12a504['node']['cloneNode'](!0x0)),'new'!=_0x12a504['type']&&(_0x52ee80||'removed'!=_0x12a504['type'])){const _0x13f6a0=_0x808f46(_0x117138=>getAttribute(_0x117138,'data-id')==_0x12a504['id'],_0x20faff,!0x0);_0x13f6a0&&_0x578ae6['children']['push'](_0x13f6a0['cloneNode'](!0x0));}const {content:_0x258b34,hasChanges:_0x3e80fd}=passThroughEditorDataPipeline(_0x21fd02,_0x578ae6,_0x13344e,_0x52ee80,_0xc88396);return{'type':_0x270818['changes'][0x0]['type'],'index':_0x270818['index'],'content':_0x258b34,'hasChanges':_0x3e80fd};});}function passThroughEditorDataPipeline(_0xd92901,_0x3cde08,_0x41a55e,_0x32aaa1,_0x5756af=!0x0){const _0x1657b0=_0xd92901['plugins']['get']('DocumentCompare'),_0x5324fa=_0xa72b4c(_0x3cde08),_0x5ecf21=_0xa72b4c(_0x41a55e),_0xd35d33=_0xd92901['data']['parse'](_0x5324fa,'$root'),_0x38eaf9=_0xd92901['model']['createPositionAt'](_0xd35d33,0x0),_0x51b214=_0x1657b0['getDiff'](_0x5324fa,_0x5ecf21,{'anchor':_0x38eaf9,'markDeletions':_0x32aaa1})['getOperations']();if(0x0==_0x51b214['length'])return{'content':_0x3cde08['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x32aaa1?applyOperationsAndDiffMarkers(_0x51b214,_0xd35d33,_0xd92901):_0xd92901['model']['change'](_0x1e09e7=>{for(const _0x379db3 of _0x51b214)if('remove'==_0x379db3['type']){const _0x4b15ca=_0x379db3['sourcePosition'],_0x1c5427=_0x379db3['howMany'],_0x2e97f4=new ckeditor5['_DetachOperation'](_0x4b15ca,_0x1c5427);_0x1e09e7['batch']['addOperation'](_0x2e97f4),_0xd92901['model']['applyOperation'](_0x2e97f4);}else{if('marker'==_0x379db3['type']){const _0x16cd3f=_0x379db3['name'],_0x3415d2=_0x379db3['newRange'];null!==_0x3415d2?_0xd35d33['markers']['set'](_0x16cd3f,_0x3415d2):_0xd35d33['markers']['delete'](_0x16cd3f);}else _0x379db3['baseVersion']=null,_0x379db3['isDocumentOperation']=!0x1,_0x1e09e7['batch']['addOperation'](_0x379db3),_0xd92901['model']['applyOperation'](_0x379db3);}}),_0x5756af){const _0x11cff8=getMinimalSelection(_0xd92901,_0x51b214,_0xd35d33);expandSelectionWithContext(_0xd92901['model'],_0x11cff8),shrinkFragmentToSelection(_0xd92901['model'],_0x11cff8);}return{'content':_0x47350e(_0xd92901['data']['stringify'](_0xd35d33,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function applyOperationsAndDiffMarkers(_0x5955a8,_0x14405c,_0x305965){if(0x0==_0x5955a8['length'])return;const _0x411b90=_0x305965['plugins']['get']('DocumentCompare'),_0x4271db=_0x305965['plugins']['get']('SuggestionsConversion');_0x305965['model']['change'](_0x3c17c6=>{const _0x4edbd0=new Set();for(let _0x139382=0x0;_0x139382<_0x5955a8['length'];_0x139382++){const _0x57c1ac=_0x5955a8[_0x139382];if(_0x57c1ac['baseVersion']=null,_0x57c1ac['isDocumentOperation']=!0x1,_0x411b90['isMarkedRemoveOperation'](_0x57c1ac)){const _0xed0fe7=fixElementSuggestionRange(_0x57c1ac['newRange'],_0x305965['model']),_0x4ffbe0='suggestion:deletion:'+ckeditor5['uid']()+':$aiSuggestion';_0x14405c['markers']['set'](_0x4ffbe0,_0xed0fe7);}else switch(_0x57c1ac['type']){case'rename':{if(_0x57c1ac['oldName']==_0x57c1ac['newName'])break;_0x3c17c6['batch']['addOperation'](_0x57c1ac),_0x305965['model']['applyOperation'](_0x57c1ac);const _0x271c1c='$elementName',_0x37c536=_0x57c1ac['position'],_0xbd1b2e=_0x305965['model']['createRange'](_0x37c536,_0x305965['model']['createPositionAt'](_0x37c536['nodeAfter'],'end')),_0x482c33='suggestion:attribute:'+_0x271c1c+':'+ckeditor5['uid']()+':$aiSuggestion';_0x14405c['markers']['set'](_0x482c33,_0xbd1b2e);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x57c1ac['oldValue']==_0x57c1ac['newValue'])break;_0x3c17c6['batch']['addOperation'](_0x57c1ac),_0x305965['model']['applyOperation'](_0x57c1ac);const _0x4bcad3=_0x57c1ac['key'];if(!_0x4271db['isRegisteredAttribute'](_0x4bcad3))break;const _0xf1deb5=fixElementSuggestionRange(_0x57c1ac['range'],_0x305965['model']),_0x155dcb='suggestion:attribute:'+_0x4bcad3+':'+ckeditor5['uid']()+':$aiSuggestion';_0x14405c['markers']['set'](_0x155dcb,_0xf1deb5);break;}case'insert':{_0x3c17c6['batch']['addOperation'](_0x57c1ac),_0x305965['model']['applyOperation'](_0x57c1ac);if(_0x5955a8[_0x139382+0x1]&&'move'==_0x5955a8[_0x139382+0x1]['type']){transformMarkers(_0x14405c,_0x57c1ac);break;}const _0x5caced=_0x57c1ac['position'],_0x18dc2b=_0x57c1ac['howMany'],_0x274878=fixElementSuggestionRange(_0x305965['model']['createRange'](_0x5caced,_0x5caced['getShiftedBy'](_0x18dc2b)),_0x305965['model']),_0x55fa72='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x14405c['markers']['set'](_0x55fa72,_0x274878);break;}case'split':{_0x3c17c6['batch']['addOperation'](_0x57c1ac),_0x305965['model']['applyOperation'](_0x57c1ac);const _0x4c4fd9=_0x57c1ac['splitPosition'],_0xa8c9bc=_0x57c1ac['moveTargetPosition'],_0x446efe=_0x305965['model']['createRange'](_0x4c4fd9,_0xa8c9bc),_0x2d8d09='suggestion:insertion:'+ckeditor5['uid']()+':$aiSuggestion';_0x14405c['markers']['set'](_0x2d8d09,_0x446efe);break;}case'move':{_0x3c17c6['batch']['addOperation'](_0x57c1ac),_0x305965['model']['applyOperation'](_0x57c1ac),_0x5955a8[_0x139382-0x1]&&'insert'==_0x5955a8[_0x139382-0x1]['type']&&transformMarkers(_0x14405c,_0x57c1ac);const _0x21610c=_0x57c1ac['getMovedRangeStart'](),_0x53e237=_0x57c1ac['howMany'];for(let _0x5a878f=0x0;_0x5a878f<_0x53e237;_0x5a878f++){const _0x26a50d=_0x21610c['getShiftedBy'](_0x5a878f)['nodeAfter'];_0x4edbd0['add'](_0x26a50d);}break;}case'remove':{const _0x4f6cdc=_0x57c1ac['sourcePosition'],_0x295465=_0x57c1ac['howMany'],_0x314892=new ckeditor5['_DetachOperation'](_0x4f6cdc,_0x295465);_0x3c17c6['batch']['addOperation'](_0x314892),_0x305965['model']['applyOperation'](_0x314892);break;}}}for(const _0x5262aa of _0x4edbd0){const _0x29e8ef=_0x305965['model']['createRangeOn'](_0x5262aa),_0x334efa='suggestion:formatBlock:$fakeWrap:'+ckeditor5['uid']()+':$aiSuggestion';_0x14405c['markers']['set'](_0x334efa,fixElementSuggestionRange(_0x29e8ef,_0x305965['model']));}});}function transformMarkers(_0x1d8454,_0x24b655){for(const [_0x58b501,_0x480d2f]of _0x1d8454['markers']){const _0x37d3b8=ckeditor5['ModelRange']['_createFromRanges'](_0x480d2f['getTransformedByOperation'](_0x24b655));_0x1d8454['markers']['set'](_0x58b501,_0x37d3b8);}}function getMinimalSelection(_0x13e32f,_0x1ba5aa,_0x5b332e){const _0x5c9bd1=_0x13e32f['plugins']['get']('DocumentCompare');let _0xa9c219=_0x13e32f['model']['createPositionAt'](_0x5b332e,Number['POSITIVE_INFINITY']),_0x5abd95=_0x13e32f['model']['createPositionAt'](_0x5b332e,0x0);for(const _0x10d502 of _0x1ba5aa){let _0x31d81a,_0x2c4ac4;if(_0x5c9bd1['isMarkedRemoveOperation'](_0x10d502))_0x31d81a=_0x10d502['newRange']['start'],_0x2c4ac4=_0x10d502['newRange']['end'];else switch(_0xa9c219=_0xa9c219['getTransformedByOperation'](_0x10d502),_0x5abd95=_0x5abd95['getTransformedByOperation'](_0x10d502),_0x10d502['type']){case'rename':_0x31d81a=_0x10d502['position'],_0x2c4ac4=_0x31d81a['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x31d81a=_0x10d502['range']['start'],_0x2c4ac4=_0x10d502['range']['end'];break;case'insert':_0x31d81a=_0x10d502['position'],_0x2c4ac4=_0x31d81a['getShiftedBy'](_0x10d502['howMany']);break;case'split':_0x31d81a=_0x10d502['splitPosition'],_0x2c4ac4=_0x10d502['moveTargetPosition'];break;case'merge':{const _0x51b34d=_0x10d502['targetPosition']['path']['slice'](0x0,-0x1);_0x31d81a=_0x13e32f['model']['createPositionFromPath'](_0x5b332e,_0x51b34d),_0x2c4ac4=_0x31d81a['getShiftedBy'](0x1);break;}case'remove':{const _0x469082=_0x10d502['howMany'],_0x1b341c=_0x10d502['sourcePosition']['_getTransformedByInsertion'](_0x10d502['targetPosition'],_0x469082),_0x369d08=_0x10d502['getMovedRangeStart']();'remove'==_0x10d502['type']?(_0x31d81a=_0x1b341c,_0x2c4ac4=_0x1b341c):(_0x31d81a=_0x369d08,_0x2c4ac4=_0x369d08['getShiftedBy'](_0x469082));break;}}_0x31d81a&&_0x31d81a['isBefore'](_0xa9c219)&&(_0xa9c219=_0x31d81a['clone'](),_0xa9c219['stickiness']='toNone'),_0x2c4ac4&&_0x2c4ac4['isAfter'](_0x5abd95)&&(_0x5abd95=_0x2c4ac4['clone'](),_0x5abd95['stickiness']='toNone');}return _0x13e32f['model']['createSelection'](_0x13e32f['model']['createRange'](_0xa9c219,_0x5abd95));}function expandSelectionWithContext(_0x2db643,_0x3a94b5){expandSelection(_0x2db643,_0x3a94b5,'forward');const _0x27efdf=_0x3a94b5['getFirstRange']();_0x3a94b5['setTo']([]),_0x3a94b5['setTo'](_0x27efdf,{'backward':!0x0}),expandSelection(_0x2db643,_0x3a94b5,'backward');}function expandSelection(_0x1a088a,_0x2f18cf,_0x308986){let _0x46a80d=0x14;for(;_0x46a80d;){_0x1a088a['modifySelection'](_0x2f18cf,{'unit':'word','direction':_0x308986}),_0x46a80d--;const _0x499ebb=_0x2f18cf['focus']['forward'==_0x308986?'nodeBefore':'nodeAfter'];if(_0x499ebb&&_0x499ebb['is']('element')&&_0x1a088a['schema']['isBlock'](_0x499ebb)&&_0x1a088a['schema']['isObject'](_0x499ebb))break;}}function shrinkFragmentToSelection(_0x1a438d,_0x243f57){const _0x5610e9=_0x243f57['getFirstRange']()['start'];let _0x43375a=_0x243f57['getFirstRange']()['end'];const _0x137ceb=_0x5610e9['root'];(_0x43375a['textNode']||_0x43375a['nodeAfter']&&_0x43375a['nodeAfter']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x43375a,'...'),_0x43375a=_0x43375a['getShiftedBy'](0x3)),(_0x5610e9['textNode']||_0x5610e9['nodeBefore']&&_0x5610e9['nodeBefore']['is']('$text'))&&(ckeditor5['_insertIntoModelNodeList'](_0x5610e9,'...'),_transformMarkersByInsertion(_0x137ceb,_0x5610e9,0x3),_0x5610e9['parent']==_0x43375a['parent']&&(_0x43375a=_0x43375a['getShiftedBy'](0x3)));const _0x27bf35=_0x1a438d['createRange'](_0x1a438d['createPositionAt'](_0x137ceb,0x0),_0x5610e9),_0xca172=_0x1a438d['createRange'](_0x43375a,_0x1a438d['createPositionAt'](_0x137ceb,'end')),_0x10ac5d=[..._0x27bf35['getMinimalFlatRanges'](),..._0xca172['getMinimalFlatRanges']()];_0x10ac5d['reverse']();for(const _0xadd675 of _0x10ac5d)ckeditor5['_removeFromModelNodeList'](_0xadd675),_transformMarkersByDeletion(_0x137ceb,_0xadd675);}function _transformMarkersByDeletion(_0x36e5d0,_0xfd07f2){for(const [_0x5ac44b,_0xd6c3d8]of _0x36e5d0['markers']){const _0x59a41c=_0xd6c3d8['_getTransformedByDeletion'](_0xfd07f2['start'],_0xfd07f2['end']['offset']-_0xfd07f2['start']['offset']);null!=_0x59a41c?_0x36e5d0['markers']['set'](_0x5ac44b,_0x59a41c):_0x36e5d0['markers']['delete'](_0x5ac44b);}}function _transformMarkersByInsertion(_0x30da3d,_0x5b4f26,_0x224392){for(let [_0x155625,_0x4a7c39]of _0x30da3d['markers']){const _0x5a42ff=_0x4a7c39['_getTransformedByInsertion'](_0x5b4f26,_0x224392,!0x1);_0x4a7c39=_0x5a42ff[0x0],_0x30da3d['markers']['set'](_0x155625,_0x4a7c39);}}class _0x506b88 extends ckeditor5['ObservableMixin'](){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new Document([]);['parsedMergedContent']=new Document([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['documentContextContent'];['aiResponseParser'];['aiResponseApplier'];['editor'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x15bdd3,content:_0x395fbe='',isDone:_0x31e14f=!0x1,interactionId:_0x193688,areActionsDisabled:_0xf1b095,documentContextContent:_0x48fa34,editor:_0x569e3e,id:_0x395641}){super(),this['id']=_0x395641||ckeditor5['uid'](),this['interactionId']=_0x193688,this['type']=_0x15bdd3,this['areActionsDisabled']=!!_0xf1b095,this['editor']=_0x569e3e,this['aiResponseParser']=new _0x5f1cbc(),this['aiResponseApplier']=new _0xa86715(),this['documentContextContent']=_0x47350e(_0x48fa34||''),this['set']('isDone',_0x31e14f),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x395fbe);}['appendContent'](_0x1909ee){this['set']('content',this['content']+_0x1909ee);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x17f16e,_0xc4f9ca){this['changeGroups'][_0x17f16e]['state']=_0xc4f9ca,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x17f16e,'state':_0xc4f9ca});}['getContentParts']({showDiff:_0x1b6602,groupIndex:_0x556e0b}){if(!this['editor'])throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor',null,{'aiReply':this});const _0x5023c1=this['_getCachedContentParts'](_0x1b6602,_0x556e0b);if(_0x5023c1)return _0x5023c1;let _0x1373fd=[];if(void 0x0===_0x556e0b)_0x1373fd=this['changeGroups'];else{const _0x4ffb1e=this['changeGroups']['find'](({index:_0x4e8459})=>_0x4e8459===_0x556e0b);if(!_0x4ffb1e)throw new ckeditor5['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x556e0b});_0x1373fd=[_0x4ffb1e];}const _0x2e9ec3=getSuggestionPartsFromReply({'editor':this['editor'],'showDiff':_0x1b6602,'changeGroups':_0x1373fd,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x1b6602,_0x2e9ec3),_0x2e9ec3;}['_getCachedContentParts'](_0x51062f,_0x5a5606){const _0x2efddb=_0x51062f?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x2efddb]['length'])return null;const _0x31f309=this['cachedSuggestionContentParts'][_0x2efddb];if(void 0x0===_0x5a5606)return _0x31f309['length']>0x0&&_0x31f309['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x51062f,null),null):_0x58d4e9(_0x31f309);{const _0x381c2e=_0x31f309['find'](({index:_0x289356})=>_0x289356===_0x5a5606);if(_0x381c2e)return[_0x58d4e9(_0x381c2e)];}return null;}['_setCachedContentParts'](_0x58856c,_0x585d02){const _0x7aeeb2=_0x58856c?'withDiff':'withoutDiff';_0x585d02?_0x585d02['forEach'](_0x53a452=>{const _0xe2f7f7=this['cachedSuggestionContentParts'][_0x7aeeb2],_0x5bc3fe=_0xe2f7f7['find'](({index:_0x344de8})=>_0x344de8===_0x53a452['index']);if(_0x5bc3fe){const _0x42551d=_0xe2f7f7['indexOf'](_0x5bc3fe);_0xe2f7f7['splice'](_0x42551d,0x1,_0x53a452);}else _0xe2f7f7['push'](_0x53a452);}):this['cachedSuggestionContentParts'][_0x7aeeb2]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x4da0ce=this['changeGroups'];this['updateChangeGroups']();const _0x3c22f2=this['_getDifferentChangeGroups'](_0x4da0ce,this['changeGroups']);(_0x3c22f2['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x3c22f2),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x33f949,_0x1eeb4d){const _0x5acb9f=[];for(const _0x234ae6 of _0x1eeb4d){const _0x125d62=_0x33f949[_0x234ae6['index']];_0x125d62?_0x125d62['changes']['length']!==_0x234ae6['changes']['length']?_0x5acb9f['push'](_0x234ae6):_0x125d62['changes']['forEach']((_0xbe82d7,_0x56956b)=>{const _0x48f966=_0x234ae6['changes'][_0x56956b];_0xbe82d7['id']!==_0x48f966['id']&&_0x5acb9f['push'](_0x234ae6);}):_0x5acb9f['push'](_0x234ae6);}return _0x5acb9f;}['updateChangeGroups'](){const _0x216a08=new Element$3('p',{},[new Element$3('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new Text$1(getTranslation$i(this['editor']['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x43726a=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x216a08,'cutAfterLastChange':!this['isDone']});if(!_0x43726a['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x43726a['parsedContent'];let _0x125320=[];if(_0x283d8c(_0x5389d1=>{const _0x5f4afb=getAttribute(_0x5389d1,'data-id');if(!_0x5f4afb||!_0x33746f(_0x5f4afb))return!0x1;const _0x2e6e67=[_0x5389d1,...getParents(_0x5389d1)]['at'](-0x2);if(_0x5389d1!=_0x2e6e67){const _0x12651c=getAttribute(_0x2e6e67,'data-id');_0x33746f(_0x12651c)||(_0x125320['push']({'node':_0x2e6e67,'id':_0x12651c,'type':'modified'}),_0x43726a['modifiedNodeIds']['push'](_0x12651c));}else _0x43726a['modifiedNodeIds']['includes'](_0x5f4afb)?_0x125320['push']({'node':_0x5389d1,'type':'modified','id':_0x5f4afb}):_0x43726a['newNodeIds']['includes'](_0x5f4afb)?_0x125320['push']({'node':_0x5389d1,'type':'new','id':_0x5f4afb,'anchorId':getAttribute(_0x5389d1['previousSibling'],'data-id')}):_0x125320['push']({'node':_0x5389d1,'type':'removed','id':_0x5f4afb});return!0x0;},this['parsedMergedContent']),_0x125320=_0x125320['filter'](({node:_0x2664cd})=>[...getParents(_0x2664cd),_0x2664cd]['every'](_0xae6f48=>!getAttribute(_0xae6f48,'data-unstable'))),0x0==_0x125320['length'])return;const _0x474159=[[_0x125320[0x0]]];for(let _0x4a5c3c=0x1;_0x4a5c3c<_0x125320['length'];_0x4a5c3c++){const _0x332c78=_0x474159[_0x474159['length']-0x1],_0x12fd8c=_0x332c78[_0x332c78['length']-0x1];_0x125320[_0x4a5c3c]['node']['previousSibling']==_0x12fd8c['node']&&'modified'!=_0x125320[_0x4a5c3c]['type']&&'modified'!=_0x12fd8c['type']?_0x332c78['push'](_0x125320[_0x4a5c3c]):_0x474159['push']([_0x125320[_0x4a5c3c]]);}for(const _0x2d65ac of _0x474159){const _0x197e20=_0x2d65ac[0x0],_0x424737=_0x2d65ac[_0x2d65ac['length']-0x1],_0x1e2ef9=_0x40c616(_0x197e20['node']['previousSibling']);_0x1e2ef9&&_0x2d65ac['unshift'](_0x1e2ef9);const _0x21ea72=_0x40c616(_0x424737['node']['nextSibling']);_0x21ea72&&_0x2d65ac['push'](_0x21ea72);}function _0x33746f(_0xfa29ee){return _0x43726a['modifiedNodeIds']['includes'](_0xfa29ee)||_0x43726a['newNodeIds']['includes'](_0xfa29ee)||_0x43726a['removedNodeIds']['includes'](_0xfa29ee);}function _0x40c616(_0x48aa02){if(_0x48aa02&&getAttribute(_0x48aa02,'data-id')&&!getAttribute(_0x48aa02,'data-unstable')){const _0xde894a=getAttribute(_0x48aa02,'data-id');if(!_0x33746f(_0xde894a))return{'node':_0x48aa02,'type':'context','id':_0xde894a};}return null;}this['changeGroups']=_0x474159['map']((_0x557231,_0x550d7b)=>({'changes':_0x557231,'state':'pending','index':_0x550d7b}));}}const _0x337d5e=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends ckeditor5['EmitterMixin'](){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['editor'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x1aee3c,editor:_0x39dd4b}){super(),this['id']=ckeditor5['uid'](),this['connector']=_0x1aee3c,this['isStopped']=!0x0,this['editor']=_0x39dd4b;}async['start'](){const _0x4c0440=[];let _0x5bc7f2,_0x5df125,_0x1c8688;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x9e6142=await this['currentRequest']['getStream']();for await(const _0x12da11 of _0x9e6142){if(this['isStopped'])return;if('error'==_0x12da11['event'])return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x12da11['event']){case'message-metadata':this['messageId']=_0x12da11['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x12da11['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x12da11['data']['conversationTitle'],!0x0);break;case'source':_0x4c0440['push'](_0x12da11['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'](),_0x5bc7f2='modification-delta'==_0x12da11['event']?'modification':'text',_0x5df125='modification-delta'==_0x12da11['event']?_0x12da11['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x5bc7f2&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x5bc7f2,'interactionId':this['id'],'id':_0x5df125}),'modification'==_0x5bc7f2&&(this['currentReply']['sources']=_0x4c0440['splice'](0x0))),this['currentReply']['appendContent'](_0x12da11['data']['textDelta']);break;case'mcp-tool-result':_0x1c8688=JSON['parse'](_0x12da11['data']['result']),this['_handleToolResultData']({'toolName':_0x12da11['data']['toolName'],'data':_0x1c8688['data'],'attributes':_0x1c8688['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x12da11['data']['toolName'],'data':_0x12da11['data']['data']});}}}finally{this['isStopped']||(this['currentReply']&&_0x4c0440['length']>0x0&&(this['currentReply']['sources']=_0x4c0440['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x495651){return this['replies']['find'](_0x4024ae=>_0x4024ae['id']===_0x495651);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x5b60b9=>_0x5b60b9['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x11db57){const _0x4562ec=new _0x506b88({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x11db57});return this['replies']['push'](_0x4562ec),_0x4562ec['delegate'](..._0x337d5e)['to'](this),this['fire']('replyCreated',_0x4562ec),_0x4562ec;}['setConversationTitle'](_0x138f79,_0x4af00f=!0x1){this['fire']('setConversationTitle',_0x138f79,_0x4af00f);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x4ce99c){this['fire']('toolDataReceived',{'type':'result','toolName':_0x4ce99c['toolName'],'data':structuredClone(_0x4ce99c['data']||{}),'attributes':structuredClone(_0x4ce99c['attributes']||{})},this);}['_handleToolNotificationData'](_0x164a64){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x164a64['toolName'],'data':structuredClone(_0x164a64['data'])},this);}['_finalizeInteraction'](){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](),this['currentRequest']=this['currentReply']=void 0x0;}}var AIContextItemType=function(_0x44e299){return _0x44e299['TOOL']='mcp-tool-context',_0x44e299['FILE']='file',_0x44e299['DOCUMENT']='document',_0x44e299['URL']='web-resource',_0x44e299['TEXT']='text',_0x44e299['SELECTION']='selection',_0x44e299;}({}),AIContextTextResourceType=function(_0x52b2f8){return _0x52b2f8['TEXT']='text',_0x52b2f8['MARKDOWN']='markdown',_0x52b2f8['HTML']='html',_0x52b2f8;}({});const _0x3a9b47=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']]),_0x28c06a=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends ckeditor5['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x271047,config:_0x3ceddc,ownerId:_0x348147}){super(),this['_connector']=_0x271047,this['_config']=_0x3ceddc,this['_ownerId']=_0x348147;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_setAddContextOptionsDefaultState']();}['getPendingContextItems'](){return this['_pendingContextItems'];}async['populateFromMessage'](_0x4584b5){const _0x35ad45=await this['_createContextItemFromContent'](_0x4584b5);return this['_addToConversationContextItem'](_0x35ad45),'current-document'===_0x35ad45['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x35ad45;}async['_createContextItemFromContent'](_0x388af8){if(_0x388af8['type']===AIContextItemType['DOCUMENT']){const _0x577ba2=await this['_connector']['fetchDocument'](this['_ownerId'],_0x388af8['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x388af8['type'],'content':_0x577ba2['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x577ba2['attributes']?.['version'],'sessionId':_0x577ba2['attributes']?.['sessionId']};}if(_0x388af8['type']===AIContextItemType['TOOL'])return{'id':_0x388af8['id'],'uiId':_0x388af8['id'],'label':_0x388af8['data']?.['label']||_0x388af8['id'],'type':AIContextItemType['TOOL'],'mcpServerName':_0x388af8['mcpServerName'],'toolName':_0x388af8['toolName'],'data':_0x388af8['data']||{}};return{'id':_0x388af8['id'],'uiId':_0x388af8['id'],'label':_0x388af8['attributes']?.['label']||_0x388af8['name']||_0x388af8['url']||_0x388af8['id'],'type':_0x388af8['type'],..._0x388af8?.['attributes']?.['resourceId']?{'resourceId':_0x388af8['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x5c2189){const _0x34038b=this['_pendingContextItems']['get'](_0x5c2189);_0x34038b?.['isReadOnly']||this['_removeContextItem'](_0x5c2189);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x4e9fe5 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x4e9fe5['uiId']);const _0x17dd28=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x17dd28&&this['_addContextItem']({..._0x17dd28,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0xd634d9){for(const _0x3d88e8 of _0xd634d9['values']())this['_addToConversationContextItem'](_0x3d88e8);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'](_0x10225){return Array['from'](_0x10225['values']())['map'](_0x58f9db=>this['_mapContextItemToRequestData'](_0x58f9db))['filter'](_0x576f88=>null!==_0x576f88);}async['addFilesToContext'](_0x293a3b,_0x20e0f9,_0x2072a3=AIContextItemType['FILE']){const _0x5aaa41='files-'+ckeditor5['uid']();this['_startUploadOperation'](_0x5aaa41);try{await Promise['all'](_0x293a3b['map'](async _0x253bb5=>{const _0x3226ca='file-'+ckeditor5['uid'](),_0x55bdb1=_0x1b3765(_0x253bb5['name']);try{this['_addContextItem']({'type':_0x2072a3,'label':_0x20e0f9?.['label']||_0x55bdb1,'uiId':_0x3226ca,'resourceId':_0x20e0f9?.['resourceId']},!0x0);const _0x4c98d3=this['_connector']['uploadFile'](this['_ownerId'],_0x253bb5,_0x20e0f9);this['_ongoingUploads']['set'](_0x3226ca,_0x4c98d3['abortController']);const {id:_0x4a2df3}=await _0x4c98d3['getId']();this['_ongoingUploads']['delete'](_0x3226ca),this['_finishContextItemLoading']({'type':_0x2072a3,'id':_0x4a2df3,'label':_0x20e0f9?.['label']||_0x55bdb1,'uiId':_0x3226ca,'resourceId':_0x20e0f9?.['resourceId']},!0x1);}catch(_0x4b2f74){this['_ongoingUploads']['delete'](_0x3226ca);if(!(_0x4b2f74 instanceof ckeditor5['CKEditorError']&&_0x4b2f74['message']['startsWith']('ai-request-aborted'))){const _0x2e6187=_0x3a9b47['get'](_0x4b2f74['code'])||'ai-chat-file-upload-failed',_0x558684=new ckeditor5['CKEditorError'](_0x2e6187,null,{'fileName':_0x55bdb1,..._0x4b2f74});_0x558684['stack']=_0x4b2f74['stack'],this['fire']('error',{'error':_0x558684});}this['_removeContextItem'](_0x3226ca);}}));}finally{this['_finishUploadOperation'](_0x5aaa41);}}['addCurrentDocumentToContext'](_0x1dd20a){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x3c96af={'type':AIContextItemType['DOCUMENT'],'uiId':'current-document','label':_0x1dd20a,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x3c96af);}async['updateCurrentDocument'](_0x2038ac,_0x57774e,_0x318129,_0x40695d){const _0x488406=this['_pendingContextItems']['get']('current-document');if(_0x488406&&_0x2038ac){_0x488406['selection']=_0x40695d?_0x40695d['map'](_0x44c904=>({'start':_0x44c904['start'],'end':_0x44c904['end']})):[];try{if(_0x488406['version']===_0x57774e)return;const {id:_0x12cd7e}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x2038ac,{'version':_0x57774e,'sessionId':_0x318129})['getId']();_0x488406['id']=_0x12cd7e,_0x488406['content']=_0x2038ac,_0x488406['version']=_0x57774e,_0x488406['sessionId']=_0x318129;}catch(_0x5cd1f4){const _0xe03d90=new ckeditor5['CKEditorError']('ai-chat-document-upload-failed',null);_0xe03d90['stack']=_0x5cd1f4['stack'],this['fire']('error',{'error':_0xe03d90});}}}['addSelectionToContext'](_0x37f2ef){this['_addContextItem']({'type':AIContextItemType['SELECTION'],'label':_0x37f2ef,'uiId':'selection','content':_0x37f2ef});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x4dcb24,_0x21a036){const _0x5a37f8='url-'+ckeditor5['uid']();this['_startUploadOperation'](_0x5a37f8);const _0x1d12e8='url-'+ckeditor5['uid']();try{this['_addContextItem']({'type':AIContextItemType['URL'],'label':_0x21a036?.['label']||_0x4dcb24,'uiId':_0x1d12e8,'resourceId':_0x21a036?.['resourceId']},!0x0);const _0x42f92a=this['_connector']['uploadUrl'](this['_ownerId'],_0x4dcb24,_0x21a036);this['_ongoingUploads']['set'](_0x1d12e8,_0x42f92a['abortController']);const {id:_0x3806e9}=await _0x42f92a['getId']();this['_ongoingUploads']['delete'](_0x1d12e8),this['_finishContextItemLoading']({'type':AIContextItemType['URL'],'id':_0x3806e9,'label':_0x21a036?.['label']||_0x4dcb24,'uiId':_0x1d12e8,'resourceId':_0x21a036?.['resourceId']},!0x1);}catch(_0x61e4a9){this['_ongoingUploads']['delete'](_0x1d12e8),(_0x61e4a9['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x4dcb24,'originalError':_0x61e4a9}),'url':_0x4dcb24}),this['_removeContextItem'](_0x1d12e8));}finally{this['_finishUploadOperation'](_0x5a37f8);}}['addToolItemToContext'](_0x303ce0){_0x303ce0['id']=_0x303ce0['id']??ckeditor5['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x303ce0['uiId'],_0x303ce0),this['fire']('contextItemAdded',{'contextItem':_0x303ce0,'isLoading':!0x1});}async['loadSourceResources'](_0x389cff,_0x170894,_0x4992b9){const _0x3b0249=this['_addContextOptionsState']['sources']['find'](_0x313021=>_0x313021['id']===_0x389cff);if(!_0x3b0249)return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x389cff}),'sourceId':_0x389cff}),[];try{const _0x2ecac0=(await _0x3b0249['getResources'](_0x170894))['map'](_0x1b7c3b=>{const _0x3fb73e=this['_isResourceInContext'](_0x1b7c3b['id']);return{..._0x1b7c3b,'isInContext':_0x3fb73e};});return _0x3b0249['resources']=_0x2ecac0,this['fire']('sourceResourcesLoaded',{'sourceId':_0x389cff,'source':_0x3b0249,'resources':_0x2ecac0,'uid':_0x4992b9}),_0x2ecac0;}catch(_0x5cfc7d){return this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x389cff,'originalError':_0x5cfc7d}),'sourceId':_0x389cff,'sourceLabel':_0x3b0249['label']}),[];}}async['addResourceToContext'](_0x123328,_0x2eee35){if(this['_isResourceInContext'](_0x2eee35['id']))return;let _0x3a53da=_0x2eee35['data'];if(!_0x3a53da&&_0x123328['getData'])try{_0x3a53da=await _0x123328['getData'](_0x2eee35['id']);}catch(_0x4abb5a){return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id'],'originalError':_0x4abb5a}),'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id']});}if(_0x3a53da)switch(_0x2eee35['type']){case AIContextItemType['URL']:if('string'!=typeof _0x3a53da)return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id'],'expectedType':'string','actualType':typeof _0x3a53da}),'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id']});await this['addUrlToContext'](_0x3a53da,{'label':_0x2eee35['label'],'resourceId':_0x2eee35['id']});break;case AIContextItemType['FILE']:if(!(_0x3a53da instanceof File))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id'],'expectedType':'File','actualType':typeof _0x3a53da}),'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id']});await this['addFilesToContext']([_0x3a53da],{'label':_0x2eee35['label'],'resourceId':_0x2eee35['id']});break;case AIContextItemType['TEXT']:if('object'!=typeof _0x3a53da||!('content'in _0x3a53da)||!('type'in _0x3a53da))return void this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x3a53da}),'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id']});_0x3a53da=AIChatContext['_convertTextResourceToFile'](_0x3a53da,_0x2eee35['label']),await this['addFilesToContext']([_0x3a53da],{'label':_0x2eee35['label'],'resourceId':_0x2eee35['id']},AIContextItemType['TEXT']);break;case AIContextItemType['TOOL']:break;default:this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id'],'resourceType':_0x2eee35['type']}),'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id']});}else this['fire']('error',{'error':new ckeditor5['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id']}),'resourceId':_0x2eee35['id'],'sourceId':_0x123328['id']});}static['_convertTextResourceToFile'](_0x41617b,_0x150cf1){switch(_0x41617b['type']){case AIContextTextResourceType['MARKDOWN']:return new File([_0x41617b['content']],_0x150cf1,{'type':'text/markdown'});case AIContextTextResourceType['HTML']:return new File([_0x41617b['content']],_0x150cf1,{'type':'text/html'});default:return new File([_0x41617b['content']],_0x150cf1,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x1662af){switch(_0x1662af['type']){case AIContextItemType['FILE']:return{'type':AIContextItemType['FILE'],'id':_0x1662af['id']};case AIContextItemType['URL']:return{'type':AIContextItemType['URL'],'id':_0x1662af['id']};case AIContextItemType['DOCUMENT']:return{'type':AIContextItemType['DOCUMENT'],'id':_0x1662af['id'],..._0x1662af['selection']?.['length']&&{'selection':_0x1662af['selection']}};case AIContextItemType['TEXT']:return{'type':AIContextItemType['FILE'],'id':_0x1662af['id']};case AIContextItemType['TOOL']:{const _0x550e8d=_0x1662af;return{'type':AIContextItemType['TOOL'],'mcpServerName':_0x550e8d['mcpServerName'],'toolName':_0x550e8d['toolName'],'data':_0x550e8d['data'],'id':_0x550e8d['id']};}default:return null;}}['_addContextItem'](_0x14c64d,_0x8aae37=!0x1){if(this['_pendingContextItems']['set'](_0x14c64d['uiId'],_0x14c64d),_0x14c64d['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x14c64d,'isLoading':_0x8aae37}),'current-document'===_0x14c64d['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x14c64d['resourceId']){const _0x579288=this['_findSourceIdsByResourceId'](_0x14c64d['resourceId']);_0x579288&&_0x579288['forEach'](_0x280820=>{this['_updateResourceInContextState'](_0x280820,_0x14c64d['resourceId'],!0x0);});}}['_removeContextItem'](_0x2246e1){const _0x2e737b=this['_pendingContextItems']['get'](_0x2246e1),_0xa6a83=this['_ongoingUploads']['get'](_0x2246e1);if(_0xa6a83&&(_0xa6a83['abort'](),this['_ongoingUploads']['delete'](_0x2246e1)),_0x2e737b?.['resourceId']){const _0x4b67f4=this['_findSourceIdsByResourceId'](_0x2e737b['resourceId']);_0x4b67f4&&_0x4b67f4['forEach'](_0x518789=>{this['_updateResourceInContextState'](_0x518789,_0x2e737b['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x2246e1),this['fire']('contextItemRemoved',{'uiId':_0x2246e1,'type':_0x2e737b?.['type']}),'current-document'===_0x2246e1&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x3f60bc,_0x56d68c){if(this['_pendingContextItems']['has'](_0x3f60bc['uiId'])&&(this['_pendingContextItems']['set'](_0x3f60bc['uiId'],_0x3f60bc),this['fire']('contextItemLoadingEnded',{'contextItem':_0x3f60bc,'isLoading':_0x56d68c}),_0x3f60bc['resourceId'])){const _0x4587f8=this['_findSourceIdsByResourceId'](_0x3f60bc['resourceId']);_0x4587f8&&_0x4587f8['forEach'](_0xd2288f=>{this['_updateResourceInContextState'](_0xd2288f,_0x3f60bc['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x589d8c){this['_conversationContextItems']['set'](_0x589d8c['uiId'],_0x589d8c);}['_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'](_0x3cf4e6=>({..._0x3cf4e6,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x55e8e0=>({..._0x55e8e0,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x33e67b=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x33e67b,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x2e932c){for(const _0x29f7fe of this['_pendingContextItems']['values']())if(_0x29f7fe['resourceId']===_0x2e932c)return!0x0;for(const _0x4bd5fe of this['_conversationContextItems']['values']())if(_0x4bd5fe['resourceId']===_0x2e932c)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0xe18d23){const _0x4c0ea1=[];for(const _0x41be8c of this['_addContextOptionsState']['sources']){_0x41be8c['resources']['find'](_0x3610ad=>_0x3610ad['id']===_0xe18d23)&&_0x4c0ea1['push'](_0x41be8c['id']);}return 0x0===_0x4c0ea1['length']?null:_0x4c0ea1;}['_updateResourceInContextState'](_0x9e8f83,_0x518412,_0x3e8174){const _0x298b6b=this['_addContextOptionsState']['sources']['find'](_0x24bfb5=>_0x24bfb5['id']===_0x9e8f83);if(!_0x298b6b)return;const _0x56dfce=_0x298b6b['resources']['find'](_0x33f974=>_0x33f974['id']===_0x518412);_0x56dfce&&(_0x56dfce['isInContext']=_0x3e8174,this['fire']('resourceStateChanged',{'sourceId':_0x9e8f83,'resourceId':_0x518412,'isInContext':_0x3e8174}));}['_startUploadOperation'](_0x283f1f){this['_ongoingUploadOperations']['set'](_0x283f1f,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x529349){this['_ongoingUploadOperations']['delete'](_0x529349),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x3550d7=['capabilitiesUpdated'];class AICapabilities extends ckeditor5['EmitterMixin'](){['_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'](_0x50d8a7){const _0x1a3ee2={};return _0x50d8a7&&_0x50d8a7['isWebSearchEnabled']&&(_0x1a3ee2['webSearch']={}),_0x50d8a7&&_0x50d8a7['isReasoningEnabled']&&(_0x1a3ee2['reasoning']={}),_0x1a3ee2;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x261d0b){_0x261d0b!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x261d0b,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x5e4595){_0x5e4595!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x5e4595,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['model'];['attributes'];constructor(_0x59cbe1){super(_0x59cbe1),this['conversationId']=_0x59cbe1['conversationId'],this['contextItems']=_0x59cbe1['contextItems'],this['capabilities']=_0x59cbe1['capabilities'],this['userMessage']=_0x59cbe1['userMessage'],this['model']=_0x59cbe1['model'],this['attributes']=_0x59cbe1['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':AIChatContext['mapContextItemsToRequestData'](this['contextItems']),'capabilities':AICapabilities['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}}class AIChatConversation extends ckeditor5['EmitterMixin'](){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x12fc7c){super(),this['options']=_0x12fc7c,this['connector']=_0x12fc7c['connector'],this['chatModels']=_0x12fc7c['chatModels'],this['id']=_0x12fc7c['conversationId'],this['isFromHistory']=_0x12fc7c['isFromHistory'];}async['init'](_0x4c5721){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x4c5721,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x28c06a)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x3550d7)['to'](this),this['chatCapabilities']['init']();const _0x4a0713=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x4a0713});const _0x51bebb=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x51bebb&&await this['setModel'](_0x51bebb);}catch(_0x2de049){const _0x1c29ad=new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x2de049['message']||_0x2de049});_0x1c29ad['stack']=_0x2de049['stack'],this['fire']('error',{'error':_0x1c29ad});}}async['start'](){if(this['isStarted'])throw new ckeditor5['CKEditorError']('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new ckeditor5['CKEditorError']('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x4bddf9}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x4bddf9,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x545c8d){const _0x1697bc=new ckeditor5['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x545c8d['message'],'conversationId':this['id']});throw _0x1697bc['stack']=_0x545c8d['stack'],this['fire']('error',{'error':_0x1697bc}),_0x1697bc;}}async['load'](_0x3c3d70,_0x150435){try{const _0x1afd9a=await this['connector']['fetchConversation'](_0x3c3d70)['getConversation'](),_0x4205df=await this['connector']['fetchConversationMessages'](_0x3c3d70)['getMessages'](),_0x2c9152=_0x4205df[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x1afd9a['id'],'title'in _0x1afd9a?this['fire']('setConversationTitle',_0x1afd9a['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x5b92a1=(await this['chatModels']['getAll']())['find'](_0x51c6bb=>_0x51c6bb['id']['toLowerCase']()===_0x2c9152['toLowerCase']());return this['selectedModel']=_0x5b92a1,this['fire']('modelSelected',{'selectedModel':_0x5b92a1,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x4205df,_0x150435,_0x2c9152),this['currentInteraction']=void 0x0,this;}catch(_0x1cad71){const _0x35834a=new ckeditor5['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x1cad71['message'],'conversationId':_0x3c3d70});throw _0x35834a['stack']=_0x1cad71['stack'],this['fire']('error',{'error':_0x35834a}),_0x35834a;}}async['_processMessagesToInteractions'](_0x133708,_0x5443fb,_0x1c8241){let _0x2b5c31;for(const _0xa9922f of _0x133708)if('user'===_0xa9922f['role']){const _0x5ae239=await this['_extractContextItems'](_0xa9922f),_0x37791c={'isReasoningEnabled':Object['hasOwn'](_0xa9922f['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0xa9922f['capabilities'],'webSearch')};_0x2b5c31=this['createInteraction']({'userMessage':_0xa9922f['prompt'],'contextItems':_0x5ae239,'capabilities':_0x37791c,'modelId':_0x1c8241,'attributes':_0xa9922f['attributes']}),this['currentInteraction']=_0x2b5c31,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0xa9922f['role']&&_0x2b5c31){const _0x31b297=[];for(const _0x127e48 of _0xa9922f['content'])switch(_0x127e48['type']){case'text':case'modification':{const _0x574dca=_0x2b5c31['getDocumentContext']()?.['sessionId']!==_0x5443fb;_0x2b5c31['currentReply']=_0x2b5c31['createReply']({'type':_0x127e48['type'],'isDone':!0x0,'interactionId':_0x2b5c31['id'],'areActionsDisabled':_0x574dca}),_0x2b5c31['currentReply']['appendContent'](_0x127e48['content']),_0x31b297['length']>0x0&&(_0x2b5c31['currentReply']['sources']=_0x31b297['splice'](0x0));break;}case'url':_0x31b297['push'](_0x127e48);break;case'mcp-tool-result':{const {data:_0x56be49,attributes:_0x51b282}=JSON['parse'](_0x127e48['content']);_0x2b5c31['_handleToolResultData']({'toolName':_0x127e48['toolName'],'data':_0x56be49,'attributes':_0x51b282});break;}}}}}async['_extractContextItems'](_0x482993){const _0x2f74e3=new Map();if(!_0x482993['content'])return _0x2f74e3;for(const _0x34d630 of _0x482993['content']){const _0x222890=await this['chatContext']['populateFromMessage'](_0x34d630);_0x222890&&_0x2f74e3['set'](_0x222890['id'],_0x222890);}return _0x2f74e3;}async['handleUserInteraction']({userMessage:_0x51ba37,attributes:_0x574795}){if(!this['isStarted'])throw new ckeditor5['CKEditorError']('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new ckeditor5['CKEditorError']('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x144d4e=this['chatContext']['getPendingContextItems'](),_0x39a285=this['chatCapabilities']['getCapabilitiesConfig'](),_0x443aca=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x51ba37,'contextItems':_0x144d4e,'capabilities':_0x39a285,'modelId':_0x443aca,'attributes':_0x574795}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x4fbec1){if(_0x4fbec1 instanceof ckeditor5['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x4fbec1});else{const _0x5d1a4d=_0x3a9b47['get'](_0x4fbec1['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new ckeditor5['CKEditorError'](_0x5d1a4d,null,{'error':_0x4fbec1})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x42015a,contextItems:_0x118877,capabilities:_0x329ea4,modelId:_0x236abb,attributes:_0x573289}){const _0x2ef9ed=new AIChatInteraction({'userMessage':_0x42015a,'contextItems':_0x118877,'capabilities':_0x329ea4,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0x236abb,'attributes':_0x573289});return _0x2ef9ed['delegate'](..._0x337d5e)['to'](this),this['interactions']['push'](_0x2ef9ed),this['fire']('interactionCreated',_0x2ef9ed),_0x2ef9ed;}['getInteraction'](_0x1b8c31){return this['interactions']['find'](_0x174396=>_0x174396['id']===_0x1b8c31);}['removeInteraction'](_0x5a6305){const _0x2097b8=this['getInteraction'](_0x5a6305);_0x2097b8&&(_0x2097b8['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x2097b8),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x354a0e){this['chatContext']['addCurrentDocumentToContext'](_0x354a0e);}async['updateCurrentDocumentInContext']({content:_0x339c1d,version:_0x3ae1f3,sessionId:_0x3cfd1b,selections:_0x1eddf5}){await this['chatContext']['updateCurrentDocument'](_0x339c1d,_0x3ae1f3,_0x3cfd1b,_0x1eddf5);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x236e43){this['chatContext']['addSelectionToContext'](_0x236e43);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x3fe7b3){this['chatContext']['addFilesToContext'](_0x3fe7b3);}['addUrlToContext'](_0x28f352){this['chatContext']['addUrlToContext'](_0x28f352);}['addToolItemToContext'](_0x302ddb){this['chatContext']['addToolItemToContext'](_0x302ddb);}['addResourceToContext'](_0x4f914c,_0x6476bd){this['chatContext']['addResourceToContext'](_0x4f914c,_0x6476bd);}['loadSourceResources'](_0x454205,_0x834810,_0x26a486){return this['chatContext']['loadSourceResources'](_0x454205,_0x834810,_0x26a486);}['removeFromContext'](_0x55daa1){this['chatContext']['removeFromContext'](_0x55daa1);}['setWebSearch'](_0x5573ee){this['chatCapabilities']['setWebSearch'](_0x5573ee);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x41e260){this['chatCapabilities']['setReasoning'](_0x41e260);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x2ec8b3){_0x2ec8b3?!0x1===await this['chatModels']['isAvailable'](_0x2ec8b3)&&(ckeditor5['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x2ec8b3}),_0x2ec8b3=(await this['chatModels']['getAvailableModels']())[0x0]):(ckeditor5['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x2ec8b3=(await this['chatModels']['getAvailableModels']())[0x0]),_0x2ec8b3['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x2ec8b3,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x2ec8b3}));}}class _0x2008b6 extends ckeditor5['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x1dd4e8,config:_0x30c276,locale:_0x1339cc}){super(),this['_connector']=_0x1dd4e8,this['_config']=_0x30c276,this['_locale']=_0x1339cc;}get['_availableModels'](){return this['_config']?.['displayedModels'];}get['_defaultModelId'](){return this['_config']?.['defaultModelId'];}async['getAll'](){return this['_modelsRequest']||(this['_modelsRequest']=this['_retrieveModels']()),this['_modelsRequest'];}async['getAvailableModels'](){const _0xc30caf=await this['getAll']();let _0x2e5f5a;return _0x2e5f5a=this['_availableModels']?this['_filterModels'](_0xc30caf,this['_availableModels']):_0xc30caf['filter'](_0x6c725=>_0x6c725['recommended']),_0x2e5f5a;}async['getModel'](_0x5ca680){const _0x555e6c=await this['getAll']();if(!_0x555e6c['length'])return null;if(_0x5ca680){const _0x1ddf06=this['_getModelById'](_0x555e6c,_0x5ca680);if(_0x1ddf06)return _0x1ddf06;ckeditor5['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x5ca680,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x15935c=await this['getAvailableModels']();if(!_0x15935c['length'])return null;if(this['_defaultModelId']){const _0x312886=this['_getModelById'](_0x15935c,this['_defaultModelId']);if(_0x312886)return _0x312886;ckeditor5['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x15935c[0x0]['id']});}return _0x15935c[0x0];}async['isAvailable'](_0x5848f5){return(await this['getAvailableModels']())['some'](_0x4ed224=>_0x4ed224['name']===_0x5848f5['name']&&_0x4ed224['provider']===_0x5848f5['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x53831b=this['_locale']['uiLanguage']||'en',_0xa08718=this['_connector']['getModels'](_0x53831b),_0x35c693=await _0xa08718['list']();this['_modelList']=_0x35c693['items']['map'](_0x24034f=>isAutoModel(_0x24034f)?{..._0x24034f,'name':getTranslation$i(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x24034f);}catch(_0xddc8d3){throw ckeditor5['logError']('ai-models-unable-to-retrieve',{'error':_0xddc8d3}),_0xddc8d3;}return[...this['_modelList']];}['_filterModels'](_0x368c41,_0xc7079b){let _0x431043;if(_0xc7079b){_0x431043=[];const _0x42a97c=new Set(),_0x2d65f5='string'==typeof _0xc7079b?[_0xc7079b['toLocaleLowerCase']()]:_0xc7079b['map'](_0x37c0fb=>_0x37c0fb['toLocaleLowerCase']());for(const _0x3c354c of _0x2d65f5)for(const _0x5a0ae9 of _0x368c41)!_0x42a97c['has'](_0x5a0ae9['id'])&&this['_isMatchingFilter'](_0x5a0ae9,_0x3c354c)&&(_0x431043['push'](_0x5a0ae9),_0x42a97c['add'](_0x5a0ae9['id']));}else _0x431043=_0x368c41;return _0x431043;}['_isMatchingFilter'](_0x3a6aab,_0x4b19be){const _0x1f6242=_0x3a6aab['id']['toLocaleLowerCase'](),_0x3ddb04=_0x3a6aab['name']['toLocaleLowerCase'](),_0x111010=_0x3a6aab['provider']['toLocaleLowerCase']();return _0x1f6242===_0x4b19be||_0x3ddb04===_0x4b19be||isAutoModel(_0x3a6aab)&&'auto'===_0x4b19be||_0x111010===_0x4b19be||_0x1f6242['startsWith'](_0x4b19be);}['_getModelById'](_0x42cdfd,_0x51b3c9){return _0x42cdfd['find'](_0xe95c6b=>isAutoModel(_0xe95c6b)&&'auto'===_0x51b3c9?_0xe95c6b:_0xe95c6b['id']===_0x51b3c9)||null;}}function isAutoModel(_0x1adc24){return _0x1adc24['id']['startsWith']('agent');}function getEditorFromContext(_0x1db988){if(_0x1db988 instanceof ckeditor5['Editor'])return _0x1db988;if(_0x1db988?.['editors']&&_0x1db988['editors']['get'](0x0))return _0x1db988['editors']['length']>0x1&&console['warn']('AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.'),_0x1db988['editors']['get'](0x0);throw new ckeditor5['CKEditorError']('ai-get-editor-from-context-no-editor');}function getOperationsFromReply({editor:_0x21244d,interaction:_0x556afe,reply:_0x6adee5,groups:_0x5ae282,transform:_0x12c2bf,documentCompare:_0x598f3a,documentCompareOptions:_0x4c1e05}){const _0x1740ba=_0x556afe['getDocumentContext']();if(!_0x1740ba)return[];const _0x56ac29=_0x1740ba['content'],_0x5c507c=_0x1740ba['version'],_0x5a367e=_0x6adee5['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x27d8d8}of _0x5ae282){const _0x54707f=_0x27d8d8['filter'](_0x55052f=>'new'!=_0x55052f['type'])['map'](_0xde1093=>findByAttribute('data-id',_0xde1093['id'],_0x5a367e)),_0x339e25=_0x27d8d8['filter'](_0x414d5b=>'removed'!=_0x414d5b['type'])['map'](_0x17943a=>_0x17943a['node']['cloneNode'](!0x0));let _0x4d02d2=null;if(_0x54707f['length']){_0x4d02d2=_0x54707f[0x0]['previousSibling'];for(let _0x85e763=0x0;_0x85e763<_0x54707f['length'];_0x85e763++)removeElement(_0x54707f[_0x85e763]);}if(_0x339e25['length']){_0x4d02d2||(_0x27d8d8[0x0]['anchorId']?_0x4d02d2=findByAttribute('data-id',_0x27d8d8[0x0]['anchorId'],_0x5a367e):(_0x4d02d2=_0x339e25['shift'](),_0x31592a(_0x5a367e,_0x4d02d2)));for(let _0x2d2593=0x0;_0x2d2593<_0x339e25['length'];_0x2d2593++)_0x47f8ed(_0x4d02d2,_0x339e25[_0x2d2593]),_0x4d02d2=_0x339e25[_0x2d2593];}}const _0x5ca51c=_0xa72b4c(_0x5a367e),_0x33fa15=_0x598f3a['getDiff'](_0x56ac29,_0x5ca51c,_0x4c1e05)['getOperations']();if(_0x12c2bf){const _0x29092b=_0x21244d['model']['document']['history']['getOperations'](_0x5c507c),_0x26ab05={'document':_0x21244d['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return ckeditor5['transformOperationSets'](_0x33fa15,_0x29092b,_0x26ab05)['operationsA'];}return _0x33fa15;}function fixMarkerOperationOldRange(_0x50dab2,_0x414698){if('marker'!=_0x414698['type'])return;const _0x23facb=_0x50dab2['model']['markers']['get'](_0x414698['name']);_0x23facb&&(_0x414698['oldRange']=_0x23facb['getRange']());}class AIChatController extends ckeditor5['ContextPlugin']{['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_aiChatBalloon'];['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];static get['requires'](){return[AIConnector,DocumentCompare];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_aiChatModels']=new _0x2008b6({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x3c4230=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x5e9cdf,_0x4da4c5)=>{this['_handleUIUserMessage']({'userMessage':_0x4da4c5});}),this['listenTo'](_0x3c4230,'resizedTabs',(_0x358a7d,_0x14e01c)=>{this['_setIsMaximized'](_0x14e01c);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x3c4230['resize']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0x16ce5d,_0x184f9f)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x184f9f));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x5a7b11,_0x523ff3)=>{this['activeConversation']?.['addUrlToContext'](_0x523ff3);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0xf77582,_0xacd265)=>{_0xacd265['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x46faa3,_0x5e78f7)=>{this['activeConversation']?.['addResourceToContext'](_0x5e78f7['source'],_0x5e78f7['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x221435,_0x27795b)=>{this['_removeFromContext'](_0x27795b);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x27de4a,_0x514a26)=>{this['activeConversation']?.['loadSourceResources'](_0x514a26['sourceId'],_0x514a26['query'],_0x514a26['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x5df850,_0x2aee13)=>{this['activeConversation']?.['setModel'](_0x2aee13);}),this['listenTo'](this['_aiChatUi'],'like',(_0x1697a2,{replyId:_0x35c635})=>{console['log']('Liked\x20response',_0x35c635);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x44706c,{replyId:_0x55690c})=>{console['log']('Disliked\x20response',_0x55690c);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x11bb4d,_0x4b938c)=>{this['_insertSuggestion'](_0x4b938c);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x38c469,{replyId:_0x57d9c2,partIndex:_0x4fdfcc})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x57d9c2,_0x4fdfcc);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x521853,{replyId:_0xf5606a,partIndex:_0x2ed0fb})=>{const _0x3e2173=this['_getDocumentRangeForReplyChanges'](_0xf5606a,_0x2ed0fb);_0x3e2173&&'$graveyard'!=_0x3e2173['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']([_0x3e2173['range']],'ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x4246b9,_0x4628b8)=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over'),this['_applySuggestion'](_0x4628b8);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x24e020,{replyId:_0xdda192,showDiff:_0x6cfd90})=>{const {reply:_0x322b14}=this['getInteractionAndReplyById'](_0xdda192),_0x409d91=_0x322b14['getContentParts']({'showDiff':_0x6cfd90});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x322b14['id'],'parts':_0x409d91,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x3d48ad,{replyId:_0x3fad3c,partIndex:_0x21719e})=>{this['_rejectSuggestion']({'replyId':_0x3fad3c,'partIndex':_0x21719e}),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['context']['plugins']['has']('AIChatBalloon')&&(this['_aiChatBalloon']=this['context']['plugins']['get']('AIChatBalloon'),this['set']('_aiChatBalloonShowDiff',!0x1),this['_aiChatBalloon']['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](this['_aiChatBalloon'],'toggleSuggestionDisplayMode',()=>{const {replyId:_0x5ee8b2,partIndex:_0x13daa7}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x235854}=this['getInteractionAndReplyById'](_0x5ee8b2),_0x53cfa6=_0x235854['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x13daa7});this['_aiChatBalloon']['updateContent']({'part':_0x53cfa6[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](this['_aiChatBalloon'],'applySuggestion',()=>{const {replyId:_0x4dacf5,partIndex:_0x424a8d}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x4dacf5,'partIndex':_0x424a8d}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'insertSuggestion',()=>{const {replyId:_0x540bdd,partIndex:_0x5d30f7}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x540bdd,'partIndex':_0x5d30f7}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'rejectSuggestion',()=>{const {replyId:_0xf109e2,partIndex:_0x47e3d2}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0xf109e2,'partIndex':_0x47e3d2}),this['_aiChatBalloon']['setState']('rejected');}),this['listenTo'](this['_aiChatBalloon'],'showNext',()=>{const {replyId:_0x3d9d8e,partIndex:_0x4ab3ae}=this['_currentPreviewedChangeGroup'],_0x5221e0=this['_getPresentableSiblingContentPartIndex'](_0x3d9d8e,_0x4ab3ae,'next');null!==_0x5221e0&&this['_openBalloonFor'](_0x3d9d8e,_0x5221e0);}),this['listenTo'](this['_aiChatBalloon'],'showPrevious',()=>{const {replyId:_0x40788b,partIndex:_0x4af450}=this['_currentPreviewedChangeGroup'],_0x4e95fb=this['_getPresentableSiblingContentPartIndex'](_0x40788b,_0x4af450,'previous');null!==_0x4e95fb&&this['_openBalloonFor'](_0x40788b,_0x4e95fb);}),this['listenTo'](this['_aiChatBalloon'],'dialogClosed',(_0x2d49db,{id:_0x465bdb})=>{if('aiChatBalloon'!==_0x465bdb)return;const {replyId:_0x14b40f,partIndex:_0x411ecc}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x14b40f,'index':_0x411ecc,'isActive':!0x1});}));}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x5cb89d,_0x7b5117)=>{_0x7b5117['on']('ready',()=>{this['_integrateEditor'](_0x7b5117);});});const _0x409ff9=this['context']['config']['get']('ai.chat.initialConversation');let _0x30c48c=_0x409ff9;if('lastCreated'!=_0x409ff9||(_0x30c48c=await this['_getLastCreatedConversationId'](),_0x30c48c))return'new'==_0x30c48c?this['_startConversationSafely']():this['loadConversation'](_0x30c48c);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_insertSuggestion'](_0x1e0312){const _0x511605=getEditorFromContext(this['context']);if(!_0x511605['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x128388=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x1ada77,interaction:_0xf771cb}=this['getInteractionAndReplyById'](_0x1e0312['replyId']),_0x2cf17a=this['_getDocumentRangeForReplyChanges'](_0x1e0312['replyId'],_0x1e0312['partIndex']),_0x3e248e=void 0x0!==_0x1e0312['partIndex']?[_0x1ada77['changeGroups'][_0x1e0312['partIndex']]]:_0x1ada77['changeGroups']['filter'](_0x3bcea9=>'pending'==_0x3bcea9['state']),_0x4c734e=_0x3e248e['map'](_0xa409a7=>_0x1ada77['changeGroups']['indexOf'](_0xa409a7));if(!_0x2cf17a||'$graveyard'==_0x2cf17a['range']['root']['rootName'])return void _0x4c734e['forEach'](_0x4d21d2=>_0x1ada77['setChangeGroupState'](_0x4d21d2,'outdated'));_0x4c734e['forEach'](_0x2c975f=>_0x1ada77['setChangeGroupState'](_0x2c975f,'accepted'));const _0x2adf34=getOperationsFromReply({'editor':_0x511605,'reply':_0x1ada77,'interaction':_0xf771cb,'groups':_0x3e248e,'transform':!0x0,'documentCompare':_0x128388,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0x28ad09;_0x2cf17a&&this['_scrollToSuggestionRange'](_0x2cf17a['range']),_0x511605['model']['change'](_0x1ef47f=>{_0x28ad09=_0x1ef47f['batch'],_0x511605['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x2adf34),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['_batchToChanges']['set'](_0x28ad09,{'interactionId':_0xf771cb['id'],'replyId':_0x1ada77['id'],'indexes':_0x4c734e['slice']()}),this['_updateRatings'](_0x1ada77);}['_applySuggestion'](_0x2ceda4){const _0x29517a=getEditorFromContext(this['context']),_0x1f3783=this['context']['plugins']['get'](DocumentCompare),{reply:_0x196320,interaction:_0x49d22a}=this['getInteractionAndReplyById'](_0x2ceda4['replyId']),_0x251635=this['_getDocumentRangeForReplyChanges'](_0x2ceda4['replyId'],_0x2ceda4['partIndex']),_0x2f2ac7=void 0x0!==_0x2ceda4['partIndex']?[_0x196320['changeGroups'][_0x2ceda4['partIndex']]]:_0x196320['changeGroups']['filter'](_0x5d6279=>'pending'==_0x5d6279['state']),_0x2db686=_0x2f2ac7['map'](_0x2e8166=>_0x196320['changeGroups']['indexOf'](_0x2e8166));if(!_0x251635||'$graveyard'==_0x251635['range']['root']['rootName'])return void _0x2db686['forEach'](_0x4b82dd=>_0x196320['setChangeGroupState'](_0x4b82dd,'outdated'));_0x2db686['forEach'](_0x4197c4=>_0x196320['setChangeGroupState'](_0x4197c4,'accepted'));const _0x5645dc=getOperationsFromReply({'editor':_0x29517a,'reply':_0x196320,'interaction':_0x49d22a,'groups':_0x2f2ac7,'transform':!0x0,'documentCompare':_0x1f3783,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0x2bd3a5;_0x251635&&this['_scrollToSuggestionRange'](_0x251635['range']),_0x29517a['model']['change'](_0x4ab3f8=>{_0x2bd3a5=_0x4ab3f8['batch'];for(const _0x1b3726 of _0x5645dc)_0x1b3726['baseVersion']=_0x29517a['model']['document']['version'],fixMarkerOperationOldRange(_0x29517a,_0x1b3726),_0x4ab3f8['batch']['addOperation'](_0x1b3726),_0x29517a['model']['applyOperation'](_0x1b3726);}),this['_batchToChanges']['set'](_0x2bd3a5,{'interactionId':_0x49d22a['id'],'replyId':_0x196320['id'],'indexes':_0x2db686['slice']()}),this['_updateRatings'](_0x196320);}['_rejectSuggestion'](_0x143e26){const {reply:_0x3867c0}=this['getInteractionAndReplyById'](_0x143e26['replyId']);_0x3867c0['setChangeGroupState'](_0x143e26['partIndex'],'rejected');}['_openBalloonFor'](_0x3f6477,_0x4d20b6){if(!this['_aiChatBalloon'])return;const {reply:_0x161fe9}=this['getInteractionAndReplyById'](_0x3f6477),_0x3168dc=_0x161fe9['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});let _0x19d879,_0x2e5258;if(void 0x0!==_0x4d20b6?(_0x2e5258=_0x3168dc['find'](_0x426673=>_0x426673['index']==_0x4d20b6),_0x19d879=_0x2e5258?.['index']):(_0x2e5258=_0x3168dc[0x0],_0x19d879=_0x2e5258['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x3f6477&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x19d879)return;const _0x42b484=this['_getUserPresentableContentPartDocumentRange'](_0x3f6477,_0x161fe9,_0x2e5258);if(!_0x42b484)return void this['_aiChatBalloon']['close']();this['_currentPreviewedChangeGroup']={'replyId':_0x3f6477,'partIndex':_0x19d879},this['_scrollToSuggestionRange'](_0x42b484,!0x0);const _0x43ee14=this['_getPresentableSiblingContentPartIndex'](_0x3f6477,_0x19d879,'next');this['_aiChatBalloon']['updateContent']({'part':_0x2e5258,'renderingStrategy':'static'}),this['_aiChatBalloon']['open']({'index':_0x19d879,'title':getTranslation$i(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x19d879+0x1)['toString']()),'showRotator':null!==_0x43ee14,'ranges':[_0x42b484],'areActionsDisabled':_0x161fe9['areActionsDisabled']}),this['_aiChatBalloon']['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x3f6477,_0x19d879),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x3f6477,'index':_0x19d879,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0xae0f54,_0x2a10e8,_0x26d077){const {reply:_0x39b8fa}=this['getInteractionAndReplyById'](_0xae0f54),_0x5c894f=_0x39b8fa['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x5c894f['length'])return null;const _0x16aafe=_0x5c894f['findIndex'](_0x2e47ad=>_0x2e47ad['index']==_0x2a10e8),_0x5bd706='next'==_0x26d077?0x1:-0x1;let _0x5e764c=_0x5c894f['at']((_0x16aafe+_0x5bd706)%_0x5c894f['length'])['index'],_0xb6401=_0x5c894f[_0x5e764c];for(;!this['_getUserPresentableContentPartDocumentRange'](_0xae0f54,_0x39b8fa,_0xb6401);){if(_0x5e764c=_0x5c894f['at']((_0x5e764c+_0x5bd706)%_0x5c894f['length'])['index'],_0x5e764c===_0x16aafe)return null;_0xb6401=_0x5c894f[_0x5e764c];}return _0x5e764c;}['_getUserPresentableContentPartDocumentRange'](_0x3ae1d2,_0x98f206,_0xc7492a){const _0x54f375=_0x98f206['changeGroups'];if(!_0xc7492a['hasChanges'])return null;const _0x5dd96c=_0x54f375['find'](_0x25b4db=>_0x25b4db['index']==_0xc7492a['index']);if('pending'!==_0x5dd96c?.['state'])return null;const _0x3531f5=this['_getDocumentRangeForReplyChanges'](_0x3ae1d2,_0xc7492a['index']);if(!_0x3531f5)return null;const {range:_0x33bf82,currentIndex:_0xc7a128}=_0x3531f5;return'$graveyard'==_0x33bf82['root']['rootName']?(_0x98f206['setChangeGroupState'](_0xc7a128,'outdated'),null):_0x3531f5['range'];}['_getDocumentRangeForReplyChanges'](_0x3497c1,_0x1238f4){const _0x2136f6=getEditorFromContext(this['context']),{reply:_0x1b6c17,interaction:_0x1d3164}=this['getInteractionAndReplyById'](_0x3497c1),_0x131bfd=_0x1b6c17['changeGroups']['filter'](_0x53a115=>'pending'==_0x53a115['state']),_0x49e48b=_0x131bfd['map'](_0x267b23=>_0x1b6c17['changeGroups']['indexOf'](_0x267b23));void 0x0===_0x1238f4&&(_0x1238f4=_0x49e48b[0x0]);const _0xb8c9e=_0x49e48b['indexOf'](_0x1238f4);if(-0x1==_0xb8c9e)return null;const _0x190c86=_0x131bfd[_0xb8c9e],_0x3cc6ad=new Document([]),_0x41e3c5=new Document([]);for(const _0x2f2a7a of _0x190c86['changes'])if('removed'!=_0x2f2a7a['type']&&_0x41e3c5['children']['push'](_0x2f2a7a['node']['cloneNode'](!0x0)),'new'!=_0x2f2a7a['type']){const _0xf65570=_0x808f46(_0x47b9ba=>getAttribute(_0x47b9ba,'data-id')==_0x2f2a7a['id'],_0x1b6c17['documentContextContent'],!0x0);_0x3cc6ad['children']['push'](_0xf65570['cloneNode'](!0x0));}if(0x0==_0x3cc6ad['children']['length']){if(_0x190c86['changes'][0x0]['anchorId']){const _0x4daef8=findByAttribute('data-id',_0x190c86['changes'][0x0]['anchorId'],_0x1b6c17['documentContextContent']);_0x3cc6ad['children']['unshift'](_0x4daef8['cloneNode'](!0x0)),_0x41e3c5['children']['unshift'](_0x4daef8['cloneNode'](!0x0)),_0x4daef8['nextSibling']&&(_0x3cc6ad['children']['push'](_0x4daef8['nextSibling']['cloneNode'](!0x0)),_0x41e3c5['children']['push'](_0x4daef8['nextSibling']['cloneNode'](!0x0)));}else{const _0x231bfa=_0x1b6c17['documentContextContent']['children'][0x0];if(!_0x231bfa)return null;_0x3cc6ad['children']['push'](_0x231bfa['cloneNode'](!0x0)),_0x41e3c5['children']['push'](_0x231bfa['cloneNode'](!0x0));}}const _0x508c57=_0x1d3164['getDocumentContext'](),_0x32d100=_0x2136f6['data']['parse'](_0x508c57['content']),_0x4350d1=_0xa72b4c(_0x3cc6ad),_0x25d23e=_0x2136f6['data']['parse'](_0x4350d1),_0x371440=_0x2136f6['data']['parse'](_0x4350d1),_0x384f15=_0x2136f6['model']['createPositionAt'](_0x25d23e,0x0),_0x23a3ba=_0xa72b4c(_0x41e3c5),_0x387e10={'anchor':_0x384f15,'markDeletions':!0x1},_0x272a12=_0x2136f6['plugins']['get'](DocumentCompare)['getDiff'](_0x4350d1,_0x23a3ba,_0x387e10)['getOperations']();if(!_0x272a12['length'])return null;_0x2136f6['model']['change'](_0x121a3f=>{for(const _0x34728f of _0x272a12)if('remove'==_0x34728f['type']){const _0x3218a7=_0x34728f['sourcePosition'],_0x90daf8=_0x34728f['howMany'],_0x1088ed=new ckeditor5['_DetachOperation'](_0x3218a7,_0x90daf8);_0x121a3f['batch']['addOperation'](_0x1088ed),_0x2136f6['model']['applyOperation'](_0x1088ed);}else'marker'!==_0x34728f['type']&&(_0x34728f['baseVersion']=null,_0x34728f['isDocumentOperation']=!0x1,_0x121a3f['batch']['addOperation'](_0x34728f),_0x2136f6['model']['applyOperation'](_0x34728f));});const _0x22c6b8=getMinimalSelection(_0x2136f6,_0x272a12,_0x25d23e);expandSelectionWithContext(_0x2136f6['model'],_0x22c6b8);const _0x3cd234=_0x22c6b8['getFirstRange']()['start']['path']['slice'](),_0x5289c4=_0x22c6b8['getFirstRange']()['end']['path']['slice'](),_0x3adcdc=[];let _0x479355=_0x25d23e,_0x23a764=_0x371440;for(let _0x373db5=0x0;_0x373db5<_0x5289c4['length'];_0x373db5++){const _0x1a0f5f=_0x479355['maxOffset']-_0x5289c4[_0x373db5];_0x3adcdc[_0x373db5]=_0x23a764['maxOffset']-_0x1a0f5f,_0x479355=_0x479355['getChildAtOffset'](_0x5289c4[_0x373db5]),_0x23a764=_0x23a764['getChildAtOffset'](_0x3adcdc[_0x373db5]);}const _0x59801f=_0x2136f6['model']['createRange'](_0x2136f6['model']['createPositionFromPath'](_0x371440,_0x3cd234),_0x2136f6['model']['createPositionFromPath'](_0x371440,_0x3adcdc)),_0x4d94b8=_0x371440['getChild'](0x0)['getAttribute'](_0x2f946d),_0x45935b=Array['from'](_0x32d100['getChildren']())['find'](_0x4182d0=>_0x4182d0['getAttribute'](_0x2f946d)==_0x4d94b8)['getPath'](),_0x3ef0ce=_0x59801f['start']['path']['slice'](),_0x4e2bcf=_0x59801f['end']['path']['slice']();_0x3ef0ce[0x0]=_0x45935b[0x0]+_0x3ef0ce[0x0],_0x4e2bcf[0x0]=_0x45935b[0x0]+_0x4e2bcf[0x0];let _0x291537=_0x2136f6['model']['createRange'](_0x2136f6['model']['createPositionFromPath'](_0x2136f6['model']['document']['getRoot'](),_0x3ef0ce),_0x2136f6['model']['createPositionFromPath'](_0x2136f6['model']['document']['getRoot'](),_0x4e2bcf));const _0x160a27=_0x2136f6['model']['document']['history']['getOperations'](_0x508c57['version']);for(const _0x37f3a8 of _0x160a27)_0x291537=ckeditor5['ModelRange']['_createFromRanges'](_0x291537['getTransformedByOperation'](_0x37f3a8));return{'range':_0x291537,'currentIndex':_0x1238f4};}['_integrateEditor'](_0x26c4a6){if(!_0x26c4a6['plugins']['has']('Undo'))return;const _0x53647d=_0x26c4a6['commands']['get']('undo'),_0x2b5245=_0x26c4a6['commands']['get']('redo');this['listenTo'](_0x53647d,'revert',(_0x280d06,_0x1ed5c0,_0x5cbbfe)=>{const _0x2edff9=this['_batchToChanges']['get'](_0x1ed5c0);if(!_0x2edff9)return;const _0x28f169=this['activeConversation']['getInteraction'](_0x2edff9['interactionId'])['getReply'](_0x2edff9['replyId']);_0x2edff9['indexes']['forEach'](_0x1d786=>_0x28f169['setChangeGroupState'](_0x1d786,'pending')),this['_batchToChanges']['delete'](_0x1ed5c0),this['_batchToChanges']['set'](_0x5cbbfe,_0x2edff9);}),this['listenTo'](_0x2b5245,'revert',(_0x42f465,_0x141248,_0x11ebbf)=>{const _0x3a6560=this['_batchToChanges']['get'](_0x141248);if(!_0x3a6560)return;const _0x4472a1=this['activeConversation']['getInteraction'](_0x3a6560['interactionId'])['getReply'](_0x3a6560['replyId']);_0x3a6560['indexes']['forEach'](_0x5c1faf=>_0x4472a1['setChangeGroupState'](_0x5c1faf,'accepted')),this['_batchToChanges']['delete'](_0x141248),this['_batchToChanges']['set'](_0x11ebbf,_0x3a6560);});}async['loadConversation'](_0x3a174f){this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),(this['context']['plugins']['get'](_0x415310)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x3a174f)['getConversation'](),await this['_startConversationSafely'](_0x3a174f),this['updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x3a174f,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x1d5643){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x3a174f}),this['_logError'](new ckeditor5['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x1d5643}));}finally{this['_aiChatUi']['startAutoScroll'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}async['_getLastCreatedConversationId'](){const _0x77c895=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x594d60=await _0x77c895['getConversations']();return _0x594d60['length']?_0x594d60[0x0]['id']:'new';}catch(_0x24d493){return this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':ckeditor5['uid']()}),this['_logError'](new ckeditor5['CKEditorError']('ai-chat-conversation-init-failed',this,{'error':_0x24d493})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}['handleRemovedConversation'](_0xfddc72){this['activeConversation']['id']===_0xfddc72&&this['_startConversationSafely']();}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x245676=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x245676),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage']({message:_0x5081b0,attributes:_0x2226e0}){await this['_handleUIUserMessage']({'userMessage':_0x5081b0,'attributes':_0x2226e0});}['getGroupId'](){const _0x402333=this['context']['config']['get']('collaboration.channelId');if(!_0x402333)throw new ckeditor5['CKEditorError']('ai-chat-missing-channel-id',this);return _0x402333;}async['_startConversationSafely'](_0x38eff8){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x38eff8);}catch(_0x315d6d){this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x38eff8||ckeditor5['uid']()}),console['error'](_0x315d6d),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0x2c3842){let _0x186131;this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),_0x2c3842||!this['activeConversation']?_0x186131=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x186131=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x2dfdf9=this['getGroupId'](),_0x2d1e38=_0x2c3842||ckeditor5['uid']();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x186131,'conversationId':_0x2d1e38,'group':_0x2dfdf9,'getEditor':()=>getEditorFromContext(this['context']),'isFromHistory':!!_0x2c3842}),this['activeConversation']['delegate']('toolDataReceived','interactionStarted')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x501f8b,_0xc90cc2)=>{this['_aiChatUi']['createConversation'](_0xc90cc2),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x2c3842||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x378365,_0x5d5cd9)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x5d5cd9['isUploadInProgress']);}),this['activeConversation']['on']('interactionCreated',(_0x1f61fe,_0x5c4d9e)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x5c4d9e);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0xa6c566=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0xa6c566);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x596df4=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x596df4);}),this['activeConversation']['on']('webSearchFinished',(_0x5c50ec,_0x19b67f)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x19b67f,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x1996c6,_0xc2bb5e)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0xc2bb5e,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x4f0a6c,_0x1ce32b)=>{this['_aiChatUi']['removeFeedInteraction'](_0x1ce32b['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x9e39c9,_0x2bfa0c,_0x486ce7)=>{this['updateConversationTitle'](_0x2bfa0c,_0x486ce7);}),this['activeConversation']['on']('replyCreated',(_0x3a10c7,_0x4173e7)=>{'text'===_0x4173e7['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x4173e7):this['_aiChatUi']['addFeedItemAISuggestion'](_0x4173e7);}),this['activeConversation']['on']('replyContentUpdated',async(_0x3dbd42,_0x1b0c9a)=>{await this['_updateReplyContent']({'reply':_0x1b0c9a});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x364b53,{reply:_0x545ebc,index:_0x5bc64b,state:_0x3d611c})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x545ebc['id'],'index':_0x5bc64b,'state':_0x3d611c}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x545ebc['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x5bc64b&&this['_aiChatBalloon']?.['setState'](_0x3d611c);}),this['activeConversation']['on']('contextItemAdded',(_0x2ce6bd,_0x535cb9)=>{if(this['_aiChatUi']['addContextItem'](_0x535cb9['contextItem'],_0x535cb9['isLoading']),'selection'===_0x535cb9['contextItem']['type']){const _0x29b056=[...getEditorFromContext(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection'](_0x29b056,'ai-conversation-'+this['activeConversation']?.['id']);}}),this['activeConversation']['on']('contextItemRemoved',(_0x1af67b,_0x53c97a)=>{this['_aiChatUi']['removeContextItem'](_0x53c97a['uiId']),'current-document'==_0x53c97a['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x53c97a['type']&&this['_aiEditing']['hideFakeVisualSelection']('ai-conversation-'+this['activeConversation']?.['id']);}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x156211,_0x4ac442)=>{this['_aiChatUi']['setContextItemLoading'](_0x4ac442['contextItem']['uiId'],_0x4ac442['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x47c14e,_0x50c988)=>{this['_aiChatUi']['setConversationContext'](_0x50c988['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0xf576d5,_0x3a590f)=>{this['_aiChatUi']['setAddContextOptions'](_0x3a590f['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x2ac18a,_0x57261e)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x57261e['sourceId'],_0x57261e['source'],_0x57261e['resources'],_0x57261e['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x591200,_0x1ab64d)=>{this['_aiChatUi']['updateResourceState'](_0x1ab64d['sourceId'],_0x1ab64d['resourceId'],_0x1ab64d['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x1ddc43,_0x2202d9)=>{this['_aiChatUi']['updateCapabilities'](_0x2202d9);}),this['activeConversation']['on']('modelSelected',async(_0x4568c6,_0xcb0f42)=>{const _0x282f86=(await this['_aiChatModels']['getAll']())['find'](_0x5d5df8=>_0x5d5df8['id']===_0xcb0f42['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x282f86,_0xcb0f42['isDisabled']);}),this['activeConversation']['on']('error',(_0x25d803,{error:_0x476829,interactionId:_0xaa252d,fileName:_0x49f225,url:_0xb91b14,sourceId:_0x52dc47,sourceLabel:_0x1fb157})=>{const _0x2da99a=_0xaa252d?_0xaa252d+':'+ckeditor5['uid']():ckeditor5['uid']();_0x476829['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x2da99a}):_0x476829['message']['startsWith']('ai-chat-conversation-init-failed')||_0x476829['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x2da99a}),this['_logError'](_0x476829)):_0x476829['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x49f225),'id':_0x2da99a}):_0x476829['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0xb91b14),'id':_0x2da99a}):_0x476829['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x2da99a}):_0x476829['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x2da99a}):_0x476829['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x52dc47&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x52dc47),this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x1fb157||'source'),'id':_0x2da99a}),this['_logError'](_0x476829)):_0x476829['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x2da99a}),this['_logError'](_0x476829)):_0x476829['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x2da99a}),this['_logError'](_0x476829)):_0x476829['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x2da99a}),this['_logError'](_0x476829)):_0x476829['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x2da99a}),this['_logError'](_0x476829)):_0x476829['message']['startsWith']('ai-chat-context-file-too-many-pages')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x2da99a}),this['_logError'](_0x476829)):_0x476829['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x2da99a}),this['_logError'](_0x476829)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':getTranslation$i(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x2da99a}),this['_logError'](_0x476829));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x2c3842||await this['activeConversation']['start']();}async['_handleUIUserMessage']({userMessage:_0x4751a5,attributes:_0x3d671f}){if(!this['activeConversation'])throw new ckeditor5['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x4261c7=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentInContext'](_0x4261c7);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x4751a5,'attributes':_0x3d671f});}['_showConversationHistory'](){console['log']('Showing\x20conversation\x20history...');}['_setIsMaximized'](_0x36d7e3){this['_aiChatUi']['setIsMaximized'](_0x36d7e3);}['_logError'](_0x33f08f){ckeditor5['logError'](_0x33f08f['message']);}['_removeFromContext'](_0x40bbdd){this['activeConversation']?.['removeFromContext'](_0x40bbdd);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x144b8e){const [_0x132b1c,_0x52512e]=_0x144b8e['split'](':'),_0x11b6be=this['activeConversation']['getInteraction'](_0x132b1c),_0xdb6e7=_0x11b6be['getReply'](_0x52512e);return{'interaction':_0x11b6be,'reply':_0xdb6e7};}['_scrollToSuggestionRange'](_0x36bd1a,_0x32aa14=!0x1){const _0x5be90a=getEditorFromContext(this['context']),_0x314db7={'target':_0x5be90a['editing']['view']['domConverter']['viewRangeToDom'](_0x5be90a['editing']['mapper']['toViewRange'](_0x36bd1a)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x32aa14};_0x32aa14&&(_0x314db7['alignToTop']=!0x0),ckeditor5['scrollViewportToShowTarget'](_0x314db7);}['updateConversationTitle'](_0x537290,_0x40aff5=!0x1){this['_aiChatUi']['setConversationTitle'](_0x537290||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x40aff5);}async['_updateReplyContent']({reply:_0x262140,renderingStrategy:_0xff2c3b}){const {id:_0x1edc4f,interactionId:_0x1fefa3,isDone:_0x54adac,type:_0x1a3b1a,parsedContent:_0x8281ba}=_0x262140,_0xcfae4a=_0x1fefa3+':'+_0x1edc4f;if('modification'===_0x1a3b1a){const _0x16cdc2=_0x262140['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0xcfae4a,'parts':_0x16cdc2,'renderingStrategy':_0xff2c3b,'isDone':_0x54adac});}else'text'===_0x1a3b1a&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0xcfae4a,'parsedContent':_0x8281ba,'renderingStrategy':_0xff2c3b,'isDone':_0x54adac});_0x54adac&&_0x262140['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0xcfae4a,_0x262140['sources']);}async['_stopLastInteraction'](){const _0x4b12bf=this['activeConversation']?.['lastInteraction'];_0x4b12bf&&(_0x4b12bf['stop'](),this['_aiChatUi']['stopInteraction'](_0x4b12bf));}async['_flushLastInteractionUI'](){const _0x21d22f=this['activeConversation']?.['lastInteraction'];if(_0x21d22f){for await(const _0x21fc16 of _0x21d22f['replies'])await this['_updateReplyContent']({'reply':_0x21fc16,'renderingStrategy':'static'});}}['_updateRatings'](_0x11411a){const _0x376d7d={'positiveCount':_0x11411a['changeGroups']['filter'](_0x549f24=>'accepted'===_0x549f24['state'])['length'],'totalCount':_0x11411a['changeGroups']['length'],'modificationId':_0x11411a['id']},_0x41c3f2=this['activeConversation']['getInteraction'](_0x11411a['interactionId'])['messageId'];_0x41c3f2&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x41c3f2,_0x376d7d);}['_registerToolDataCallback'](_0x3ef1ed){let _0x1ba3ae=null,_0x4f962b=null;this['on']('toolDataReceived',(_0x10b91d,_0x22636e,_0x1937c9)=>{_0x1937c9['id']!==_0x1ba3ae&&(_0x1ba3ae=_0x1937c9['id'],_0x4f962b=this['_getAIChatInteractionAPI'](_0x1937c9)),_0x3ef1ed(_0x22636e,_0x4f962b);});}['_getAIChatInteractionAPI'](_0x2dab44){const _0x32c9ed=this['_aiChatUi'],_0x2f715d=()=>{_0x2dab44['resetWebSearchState'](),_0x2dab44['resetReasoningState'](),_0x32c9ed['clearLoadingMessage']();},_0x428304=()=>{_0x2dab44['currentReply']&&(_0x2dab44['currentReply']['done'](),_0x2dab44['currentReply']=void 0x0);};return{'insertTextReply':(_0x1d168f,_0x503120)=>{_0x428304(),_0x2f715d();const _0x42da58=_0x2dab44['currentReply']=_0x2dab44['createReply']({'type':'text','interactionId':_0x2dab44['id'],'content':_0x1d168f,'id':_0x503120||ckeditor5['uid']()});return _0x428304(),_0x42da58;},'insertCustomElement':async(_0x11d7c7,_0x21f1c8)=>(_0x428304(),_0x2f715d(),_0x32c9ed['addFeedItemCustomElement'](_0x11d7c7,_0x21f1c8||ckeditor5['uid']())),'setLoadingMessage':_0xd4d265=>{_0x32c9ed['setLoadingMessage'](_0xd4d265);},'clearLoadingMessage':()=>{_0x32c9ed['clearLoadingMessage']();}};}}const _0x579c20='ai-selection';class AIEditing extends ckeditor5['ContextPlugin']{constructor(_0x5b1642){super(_0x5b1642),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_displayedFakeSelectionId']=null;['_displayedFakeSelectionLocked']=!0x1;['_sessionId'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['sessionId'](){if(!this['_sessionId']){const _0x55876e=getEditorFromContext(this['context']),_0x6eae00=_0x55876e['plugins']['has']('RealTimeCollaborationClient')&&_0x55876e['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x6eae00||ckeditor5['uid']();}return this['_sessionId'];}async['getDocumentData'](){const _0x38ca05=getEditorFromContext(this['context']),_0x57d930=_0x38ca05['model'],_0x54367b=_0x38ca05['data']['toView'](_0x57d930['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0xc7aba8=new ckeditor5['ViewDowncastWriter'](_0x38ca05['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x54367b,_0xc7aba8);let _0x1833ac=await this['_getDocumentDataStringFromView'](_0x54367b);const _0xbe96b9=this['_getMarkersInDocumentOrder'](),_0x1fa665=[];for(const _0x48e576 of _0xbe96b9){const _0x1bd759='<'+_0x48e576['name']+':start></'+_0x48e576['name']+':start>',_0x5e2d7f=_0x1833ac['indexOf'](_0x1bd759);_0x1833ac=_0x1833ac['substring'](0x0,_0x5e2d7f)+_0x1833ac['substring'](_0x5e2d7f+_0x1bd759['length']);const _0x3c222c='<'+_0x48e576['name']+':end></'+_0x48e576['name']+':end>',_0x1b4546=_0x1833ac['indexOf'](_0x3c222c);_0x1833ac=_0x1833ac['substring'](0x0,_0x1b4546)+_0x1833ac['substring'](_0x1b4546+_0x3c222c['length']),_0x1fa665['push']({'markerName':_0x48e576['name'],'start':_0x5e2d7f,'end':_0x1b4546,'htmlFragment':_0x1833ac['substring'](_0x5e2d7f,_0x1b4546)});}return{'content':_0x1833ac,'version':_0x38ca05['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x1fa665};}async['afterInit'](){this['context']instanceof ckeditor5['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x11c789,_0x486b97)=>{_0x486b97['on']('ready',()=>{this['_integrateEditor'](_0x486b97);});});}['_setOutputDataProcessor'](_0x3d4f04){this['_outputDataProcessor']=_0x3d4f04;}async['_getDocumentDataStringFromView'](_0x507ea7){let _0x48689e;const _0x318e34=getEditorFromContext(this['context']);if(this['_outputDataProcessor']){const _0x300fd2=_0x318e34['data']['processor']['domConverter']['viewToDom'](_0x507ea7),_0x2e2419=await this['_outputDataProcessor'](_0x300fd2);_0x48689e=_0x318e34['data']['processor']['htmlWriter']['getHtml'](_0x2e2419);}else _0x48689e=_0x318e34['data']['processor']['toData'](_0x507ea7);return _0x48689e;}['_integrateEditor'](_0x5b7ecc){_0x5b7ecc['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x579c20,'view':{'classes':['ck-fake-ai-selection','ck-ai-assistant-ui_theme'],'priority':0xc}}),_0x5b7ecc['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x579c20,'view':(_0x23d511,{writer:_0x2ca54e,options:_0x50fbfd})=>_0x50fbfd['convertAiChatSelectionMarker']?_0x2ca54e['createUIElement'](_0x23d511['markerName']+':'+(_0x23d511['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x4eeaf3,_0xc29001,_0x3ed38a=!0x1,_0xe5d9fc=!0x1){if(this['_displayedFakeSelectionLocked']&&!_0xe5d9fc)return!0x1;const _0x33ba91=getEditorFromContext(this['context'])['model'];return _0x33ba91['change'](_0x5ab373=>{this['_displayedFakeSelectionId']&&this['hideFakeVisualSelection'](this['_displayedFakeSelectionId']),this['_displayedFakeSelectionId']=_0xc29001,this['_displayedFakeSelectionLocked']=_0x3ed38a;let _0x2be48f=0x0;for(let _0x64f252 of _0x4eeaf3){const _0x4a0509=_0x579c20+':'+_0x2be48f;if(_0x64f252['start']['isAtEnd']){const _0x4a4175=_0x64f252['start']['getLastMatchingPosition'](({item:_0x10a462})=>!_0x33ba91['schema']['isContent'](_0x10a462),{'boundaries':_0x64f252});_0x64f252=_0x5ab373['createRange'](_0x4a4175,_0x64f252['end']);}_0x5ab373['addMarker'](_0x4a0509,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x64f252}),_0x2be48f++;}}),window['getSelection']()?.['removeAllRanges'](),!0x0;}['hideFakeVisualSelection'](_0x59dd8e){if(this['_displayedFakeSelectionId']!=_0x59dd8e)return!0x1;this['_displayedFakeSelectionId']=null,this['_displayedFakeSelectionLocked']=!0x1;const _0x23a285=getEditorFromContext(this['context']),_0xf2694c=_0x23a285['model']['markers']['getMarkersGroup'](_0x579c20);return _0x23a285['model']['change'](_0x1de529=>{for(const _0x12c0a7 of _0xf2694c)_0x1de529['removeMarker'](_0x12c0a7);}),!0x0;}async['modelToDataWithIds'](_0x15e765){const _0xd01d8f=getEditorFromContext(this['context']),_0xf0b605=_0xd01d8f['data']['toView'](_0x15e765),_0x4c96d4=new ckeditor5['ViewDowncastWriter'](_0xd01d8f['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0xf0b605,_0x4c96d4),this['_getDocumentDataStringFromView'](_0xf0b605);}['_setDataIdsOnChildren'](_0x458308,_0x11ca2f){let _0x353762=!0x1;const _0x57389b=new Set();for(const _0x2ad33d of _0x458308['getChildren']()){const _0x19f2ad=_0x2ad33d['is']('emptyElement')||_0x2ad33d['is']('containerElement');if(!_0x2ad33d['is']('element'))continue;(this['_setDataIdsOnChildren'](_0x2ad33d,_0x11ca2f)||_0x19f2ad)&&(_0x11ca2f['setAttribute']('data-id',this['_nextDataId'](_0x57389b),_0x2ad33d),_0x353762=!0x0);}return _0x353762;}['_nextDataId'](_0x47787b){let _0x274b4f;do{_0x274b4f='';for(let _0x2d2488=0x0;_0x2d2488<0x4;_0x2d2488++)_0x274b4f+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x47787b['has'](_0x274b4f));return _0x47787b['add'](_0x274b4f),_0x274b4f;}['getSelectionText'](){const {model:_0x551b61}=getEditorFromContext(this['context']),_0x298acf=_0x551b61['document']['selection'],_0x49771f=[];for(const _0x43fd35 of _0x298acf['getRanges']())for(const _0x330864 of _0x43fd35['getItems']())_0x330864['is']('$textProxy')?_0x49771f['push'](_0x330864['data']):_0x330864['is']('element')&&_0x49771f['length']>0x0&&'\x20'!==_0x49771f[_0x49771f['length']-0x1]&&_0x49771f['push']('\x20');return _0x49771f['length']?'\x22'+_0x49771f['join']('')['trim']()+'\x22':getTranslation$i(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_getMarkersInDocumentOrder'](){const _0x58f707=getEditorFromContext(this['context'])['model'];return Array['from'](_0x58f707['markers']['getMarkersGroup'](_0x579c20))['sort']((_0x26ff4c,_0x2dff97)=>_0x26ff4c['getStart']()['isBefore'](_0x2dff97['getStart']())?-0x1:_0x26ff4c['getStart']()['isAfter'](_0x2dff97['getStart']())?0x1:0x0);}}const _0x11110e=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x2501ff=[..._0x11110e,'startConversation','resizeTabs','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x54b36b=0xb,_0x29dfd1;function morphAttrs(_0x5290ed,_0x2582d9){var _0x526a7e,_0x175d24,_0x324cc7,_0x58117f,_0x5696d5=_0x2582d9['attributes'];if(_0x2582d9['nodeType']!==_0x54b36b&&_0x5290ed['nodeType']!==_0x54b36b){for(var _0x58e18a=_0x5696d5['length']-0x1;_0x58e18a>=0x0;_0x58e18a--)_0x175d24=(_0x526a7e=_0x5696d5[_0x58e18a])['name'],_0x324cc7=_0x526a7e['namespaceURI'],_0x58117f=_0x526a7e['value'],_0x324cc7?(_0x175d24=_0x526a7e['localName']||_0x175d24,_0x5290ed['getAttributeNS'](_0x324cc7,_0x175d24)!==_0x58117f&&('xmlns'===_0x526a7e['prefix']&&(_0x175d24=_0x526a7e['name']),_0x5290ed['setAttributeNS'](_0x324cc7,_0x175d24,_0x58117f))):_0x5290ed['getAttribute'](_0x175d24)!==_0x58117f&&_0x5290ed['setAttribute'](_0x175d24,_0x58117f);for(var _0x5806e2=_0x5290ed['attributes'],_0x4f5e16=_0x5806e2['length']-0x1;_0x4f5e16>=0x0;_0x4f5e16--)_0x175d24=(_0x526a7e=_0x5806e2[_0x4f5e16])['name'],(_0x324cc7=_0x526a7e['namespaceURI'])?(_0x175d24=_0x526a7e['localName']||_0x175d24,_0x2582d9['hasAttributeNS'](_0x324cc7,_0x175d24)||_0x5290ed['removeAttributeNS'](_0x324cc7,_0x175d24)):_0x2582d9['hasAttribute'](_0x175d24)||_0x5290ed['removeAttribute'](_0x175d24);}}var _0x4870aa='http://www.w3.org/1999/xhtml',_0x224d48='undefined'==typeof document?void 0x0:document,_0x2d7e61=!!_0x224d48&&'content'in _0x224d48['createElement']('template'),_0x1f07e4=!!_0x224d48&&_0x224d48['createRange']&&'createContextualFragment'in _0x224d48['createRange']();function createFragmentFromTemplate(_0x5ab462){var _0x42f99d=_0x224d48['createElement']('template');return _0x42f99d['innerHTML']=_0x5ab462,_0x42f99d['content']['childNodes'][0x0];}function createFragmentFromRange(_0x57fb16){return _0x29dfd1||(_0x29dfd1=_0x224d48['createRange']())['selectNode'](_0x224d48['body']),_0x29dfd1['createContextualFragment'](_0x57fb16)['childNodes'][0x0];}function createFragmentFromWrap(_0x52a7dc){var _0x57e458=_0x224d48['createElement']('body');return _0x57e458['innerHTML']=_0x52a7dc,_0x57e458['childNodes'][0x0];}function toElement(_0x5a3c5f){return _0x5a3c5f=_0x5a3c5f['trim'](),_0x2d7e61?createFragmentFromTemplate(_0x5a3c5f):_0x1f07e4?createFragmentFromRange(_0x5a3c5f):createFragmentFromWrap(_0x5a3c5f);}function _0x5b6a25(_0x465ba1,_0x4855c0){var _0x18b73f,_0x4802e6,_0x3af813=_0x465ba1['nodeName'],_0x1b02f0=_0x4855c0['nodeName'];return _0x3af813===_0x1b02f0||(_0x18b73f=_0x3af813['charCodeAt'](0x0),_0x4802e6=_0x1b02f0['charCodeAt'](0x0),_0x18b73f<=0x5a&&_0x4802e6>=0x61?_0x3af813===_0x1b02f0['toUpperCase']():_0x4802e6<=0x5a&&_0x18b73f>=0x61&&_0x1b02f0===_0x3af813['toUpperCase']());}function createElementNS(_0x5b88f4,_0x56fd91){return _0x56fd91&&_0x56fd91!==_0x4870aa?_0x224d48['createElementNS'](_0x56fd91,_0x5b88f4):_0x224d48['createElement'](_0x5b88f4);}function _0x54c04a(_0x41bee9,_0x58481b){for(var _0x1d5f71=_0x41bee9['firstChild'];_0x1d5f71;){var _0xba3658=_0x1d5f71['nextSibling'];_0x58481b['appendChild'](_0x1d5f71),_0x1d5f71=_0xba3658;}return _0x58481b;}function syncBooleanAttrProp(_0x38052d,_0x4cc01d,_0x2b890e){_0x38052d[_0x2b890e]!==_0x4cc01d[_0x2b890e]&&(_0x38052d[_0x2b890e]=_0x4cc01d[_0x2b890e],_0x38052d[_0x2b890e]?_0x38052d['setAttribute'](_0x2b890e,''):_0x38052d['removeAttribute'](_0x2b890e));}var _0x3e0868={'OPTION':function(_0x5040cb,_0x521c59){var _0x416b16=_0x5040cb['parentNode'];if(_0x416b16){var _0x49630b=_0x416b16['nodeName']['toUpperCase']();'OPTGROUP'===_0x49630b&&(_0x49630b=(_0x416b16=_0x416b16['parentNode'])&&_0x416b16['nodeName']['toUpperCase']()),'SELECT'!==_0x49630b||_0x416b16['hasAttribute']('multiple')||(_0x5040cb['hasAttribute']('selected')&&!_0x521c59['selected']&&(_0x5040cb['setAttribute']('selected','selected'),_0x5040cb['removeAttribute']('selected')),_0x416b16['selectedIndex']=-0x1);}syncBooleanAttrProp(_0x5040cb,_0x521c59,'selected');},'INPUT':function(_0x4e3955,_0x375516){syncBooleanAttrProp(_0x4e3955,_0x375516,'checked'),syncBooleanAttrProp(_0x4e3955,_0x375516,'disabled'),_0x4e3955['value']!==_0x375516['value']&&(_0x4e3955['value']=_0x375516['value']),_0x375516['hasAttribute']('value')||_0x4e3955['removeAttribute']('value');},'TEXTAREA':function(_0x79cae,_0x197241){var _0x4e57e8=_0x197241['value'];_0x79cae['value']!==_0x4e57e8&&(_0x79cae['value']=_0x4e57e8);var _0x319679=_0x79cae['firstChild'];if(_0x319679){var _0x27ff96=_0x319679['nodeValue'];if(_0x27ff96==_0x4e57e8||!_0x4e57e8&&_0x27ff96==_0x79cae['placeholder'])return;_0x319679['nodeValue']=_0x4e57e8;}},'SELECT':function(_0x21e1fd,_0x175e84){if(!_0x175e84['hasAttribute']('multiple')){for(var _0x2c8885,_0x49abe9,_0x30c14d=-0x1,_0x3cb18a=0x0,_0x29195b=_0x21e1fd['firstChild'];_0x29195b;)if('OPTGROUP'===(_0x49abe9=_0x29195b['nodeName']&&_0x29195b['nodeName']['toUpperCase']()))(_0x29195b=(_0x2c8885=_0x29195b)['firstChild'])||(_0x29195b=_0x2c8885['nextSibling'],_0x2c8885=null);else{if('OPTION'===_0x49abe9){if(_0x29195b['hasAttribute']('selected')){_0x30c14d=_0x3cb18a;break;}_0x3cb18a++;}!(_0x29195b=_0x29195b['nextSibling'])&&_0x2c8885&&(_0x29195b=_0x2c8885['nextSibling'],_0x2c8885=null);}_0x21e1fd['selectedIndex']=_0x30c14d;}}},_0x1fc3b1=0x1,_0x5a58d9=0xb,_0x976ae7=0x3,_0x1ebc6f=0x8;function _0x1283ca(){}function defaultGetNodeKey(_0x4f29ae){if(_0x4f29ae)return _0x4f29ae['getAttribute']&&_0x4f29ae['getAttribute']('id')||_0x4f29ae['id'];}function morphdomFactory(_0x37ebeb){return function(_0xcaff84,_0x61f5e8,_0x5137be){if(_0x5137be||(_0x5137be={}),'string'==typeof _0x61f5e8){if('#document'===_0xcaff84['nodeName']||'HTML'===_0xcaff84['nodeName']||'BODY'===_0xcaff84['nodeName']){var _0xff76db=_0x61f5e8;(_0x61f5e8=_0x224d48['createElement']('html'))['innerHTML']=_0xff76db;}else _0x61f5e8=toElement(_0x61f5e8);}else _0x61f5e8['nodeType']===_0x5a58d9&&(_0x61f5e8=_0x61f5e8['firstElementChild']);var _0x534c68=_0x5137be['getNodeKey']||defaultGetNodeKey,_0x10a759=_0x5137be['onBeforeNodeAdded']||_0x1283ca,_0x791a05=_0x5137be['onNodeAdded']||_0x1283ca,_0x561424=_0x5137be['onBeforeElUpdated']||_0x1283ca,_0xae9ff0=_0x5137be['onElUpdated']||_0x1283ca,_0x4d9501=_0x5137be['onBeforeNodeDiscarded']||_0x1283ca,_0x1ab7ea=_0x5137be['onNodeDiscarded']||_0x1283ca,_0x35f9dd=_0x5137be['onBeforeElChildrenUpdated']||_0x1283ca,_0x3f78ad=_0x5137be['skipFromChildren']||_0x1283ca,_0x2063c0=_0x5137be['addChild']||function(_0x25498c,_0xb0be5b){return _0x25498c['appendChild'](_0xb0be5b);},_0x506b5a=!0x0===_0x5137be['childrenOnly'],_0x3b25dc=Object['create'](null),_0x3865ac=[];function _0x3e707d(_0x445417){_0x3865ac['push'](_0x445417);}function _0x2c8216(_0x20e06b,_0x4691b5){if(_0x20e06b['nodeType']===_0x1fc3b1)for(var _0x4645f0=_0x20e06b['firstChild'];_0x4645f0;){var _0x36c1ef=void 0x0;_0x4691b5&&(_0x36c1ef=_0x534c68(_0x4645f0))?_0x3e707d(_0x36c1ef):(_0x1ab7ea(_0x4645f0),_0x4645f0['firstChild']&&_0x2c8216(_0x4645f0,_0x4691b5)),_0x4645f0=_0x4645f0['nextSibling'];}}function _0x32f62f(_0x53bd64,_0x1344cc,_0x338b28){!0x1!==_0x4d9501(_0x53bd64)&&(_0x1344cc&&_0x1344cc['removeChild'](_0x53bd64),_0x1ab7ea(_0x53bd64),_0x2c8216(_0x53bd64,_0x338b28));}function _0x578200(_0x51a485){if(_0x51a485['nodeType']===_0x1fc3b1||_0x51a485['nodeType']===_0x5a58d9)for(var _0x136780=_0x51a485['firstChild'];_0x136780;){var _0x59fa0e=_0x534c68(_0x136780);_0x59fa0e&&(_0x3b25dc[_0x59fa0e]=_0x136780),_0x578200(_0x136780),_0x136780=_0x136780['nextSibling'];}}function _0x197299(_0x2aed96){_0x791a05(_0x2aed96);for(var _0x4ae612=_0x2aed96['firstChild'];_0x4ae612;){var _0x444200=_0x4ae612['nextSibling'],_0x297cab=_0x534c68(_0x4ae612);if(_0x297cab){var _0x54a1de=_0x3b25dc[_0x297cab];_0x54a1de&&_0x5b6a25(_0x4ae612,_0x54a1de)?(_0x4ae612['parentNode']['replaceChild'](_0x54a1de,_0x4ae612),_0xc81fc6(_0x54a1de,_0x4ae612)):_0x197299(_0x4ae612);}else _0x197299(_0x4ae612);_0x4ae612=_0x444200;}}function _0xc81fc6(_0x3ae609,_0x29dab5,_0x5e279c){var _0x413aa7=_0x534c68(_0x29dab5);if(_0x413aa7&&delete _0x3b25dc[_0x413aa7],!_0x5e279c){var _0x4a39c6=_0x561424(_0x3ae609,_0x29dab5);if(!0x1===_0x4a39c6)return;if(_0x4a39c6 instanceof HTMLElement&&_0x578200(_0x3ae609=_0x4a39c6),_0x37ebeb(_0x3ae609,_0x29dab5),_0xae9ff0(_0x3ae609),!0x1===_0x35f9dd(_0x3ae609,_0x29dab5))return;}'TEXTAREA'!==_0x3ae609['nodeName']?function(_0x1771e0,_0x5c29da){var _0x2a15fe,_0xd666d,_0x28cc95,_0x174391,_0x3ed287,_0x303192=_0x3f78ad(_0x1771e0,_0x5c29da),_0x55d7dc=_0x5c29da['firstChild'],_0x4178ac=_0x1771e0['firstChild'];t:for(;_0x55d7dc;){for(_0x174391=_0x55d7dc['nextSibling'],_0x2a15fe=_0x534c68(_0x55d7dc);!_0x303192&&_0x4178ac;){if(_0x28cc95=_0x4178ac['nextSibling'],_0x55d7dc['isSameNode']&&_0x55d7dc['isSameNode'](_0x4178ac)){_0x55d7dc=_0x174391,_0x4178ac=_0x28cc95;continue t;}_0xd666d=_0x534c68(_0x4178ac);var _0x2d2d4e=_0x4178ac['nodeType'],_0x45f66e=void 0x0;if(_0x2d2d4e===_0x55d7dc['nodeType']&&(_0x2d2d4e===_0x1fc3b1?(_0x2a15fe?_0x2a15fe!==_0xd666d&&((_0x3ed287=_0x3b25dc[_0x2a15fe])?_0x28cc95===_0x3ed287?_0x45f66e=!0x1:(_0x1771e0['insertBefore'](_0x3ed287,_0x4178ac),_0xd666d?_0x3e707d(_0xd666d):_0x32f62f(_0x4178ac,_0x1771e0,!0x0),_0xd666d=_0x534c68(_0x4178ac=_0x3ed287)):_0x45f66e=!0x1):_0xd666d&&(_0x45f66e=!0x1),(_0x45f66e=!0x1!==_0x45f66e&&_0x5b6a25(_0x4178ac,_0x55d7dc))&&_0xc81fc6(_0x4178ac,_0x55d7dc)):_0x2d2d4e!==_0x976ae7&&_0x2d2d4e!=_0x1ebc6f||(_0x45f66e=!0x0,_0x4178ac['nodeValue']!==_0x55d7dc['nodeValue']&&(_0x4178ac['nodeValue']=_0x55d7dc['nodeValue']))),_0x45f66e){_0x55d7dc=_0x174391,_0x4178ac=_0x28cc95;continue t;}_0xd666d?_0x3e707d(_0xd666d):_0x32f62f(_0x4178ac,_0x1771e0,!0x0),_0x4178ac=_0x28cc95;}if(_0x2a15fe&&(_0x3ed287=_0x3b25dc[_0x2a15fe])&&_0x5b6a25(_0x3ed287,_0x55d7dc))_0x303192||_0x2063c0(_0x1771e0,_0x3ed287),_0xc81fc6(_0x3ed287,_0x55d7dc);else{var _0x257725=_0x10a759(_0x55d7dc);!0x1!==_0x257725&&(_0x257725&&(_0x55d7dc=_0x257725),_0x55d7dc['actualize']&&(_0x55d7dc=_0x55d7dc['actualize'](_0x1771e0['ownerDocument']||_0x224d48)),_0x2063c0(_0x1771e0,_0x55d7dc),_0x197299(_0x55d7dc));}_0x55d7dc=_0x174391,_0x4178ac=_0x28cc95;}!function(_0x1e92bb,_0x394127,_0x18e0d9){for(;_0x394127;){var _0x57e0f4=_0x394127['nextSibling'];(_0x18e0d9=_0x534c68(_0x394127))?_0x3e707d(_0x18e0d9):_0x32f62f(_0x394127,_0x1e92bb,!0x0),_0x394127=_0x57e0f4;}}(_0x1771e0,_0x4178ac,_0xd666d);var _0x34df13=_0x3e0868[_0x1771e0['nodeName']];_0x34df13&&_0x34df13(_0x1771e0,_0x5c29da);}(_0x3ae609,_0x29dab5):_0x3e0868['TEXTAREA'](_0x3ae609,_0x29dab5);}_0x578200(_0xcaff84);var _0x2879e7=_0xcaff84,_0xde4956=_0x2879e7['nodeType'],_0x29747b=_0x61f5e8['nodeType'];if(!_0x506b5a){if(_0xde4956===_0x1fc3b1)_0x29747b===_0x1fc3b1?_0x5b6a25(_0xcaff84,_0x61f5e8)||(_0x1ab7ea(_0xcaff84),_0x2879e7=_0x54c04a(_0xcaff84,createElementNS(_0x61f5e8['nodeName'],_0x61f5e8['namespaceURI']))):_0x2879e7=_0x61f5e8;else{if(_0xde4956===_0x976ae7||_0xde4956===_0x1ebc6f){if(_0x29747b===_0xde4956)return _0x2879e7['nodeValue']!==_0x61f5e8['nodeValue']&&(_0x2879e7['nodeValue']=_0x61f5e8['nodeValue']),_0x2879e7;_0x2879e7=_0x61f5e8;}}}if(_0x2879e7===_0x61f5e8)_0x1ab7ea(_0xcaff84);else{if(_0x61f5e8['isSameNode']&&_0x61f5e8['isSameNode'](_0x2879e7))return;if(_0xc81fc6(_0x2879e7,_0x61f5e8,_0x506b5a),_0x3865ac)for(var _0x94fb71=0x0,_0x1ed1e7=_0x3865ac['length'];_0x94fb71<_0x1ed1e7;_0x94fb71++){var _0x20db93=_0x3b25dc[_0x3865ac[_0x94fb71]];_0x20db93&&_0x32f62f(_0x20db93,_0x20db93['parentNode'],!0x1);}}return!_0x506b5a&&_0x2879e7!==_0xcaff84&&_0xcaff84['parentNode']&&(_0x2879e7['actualize']&&(_0x2879e7=_0x2879e7['actualize'](_0xcaff84['ownerDocument']||_0x224d48)),_0xcaff84['parentNode']['replaceChild'](_0x2879e7,_0xcaff84)),_0x2879e7;};}var _0x14bf1e=morphdomFactory(morphAttrs);class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x50b5ca){this['options']={'delay':_0x50b5ca['delay']??0x14,'textNodeStyle':_0x50b5ca['textNodeStyle'],'onStreamUpdate':_0x50b5ca['onStreamUpdate']||(()=>{})};}async['stream']({document:_0x333e86,targetElement:_0x1b9725,abortSignal:_0x3b2999}){this['isStreaming']&&this['stop'](),_0x3b2999?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x3fe89e(_0x333e86,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x5f3840=0x0;_0x5f3840<this['currentIndex'];_0x5f3840++)this['nodesList'][_0x5f3840]['shouldBeStreamed']=!0x0;do{const _0x339c0d=Date['now'](),_0x2f1b5a=this['nodesList'][this['currentIndex']],_0x68623b=_0x339c0d-this['lastUpdateTime'];if(_0x2f1b5a){_0x2f1b5a['shouldBeStreamed']=!0x0;let _0x5df692=_0x2f1b5a['parent'];for(;_0x5df692;)_0x5df692['shouldBeStreamed']=!0x0,_0x5df692=_0x5df692['parent'];}if(_0x68623b<this['options']['delay'])try{const {promise:_0x3d1585,abortController:_0x342f87}=createAbortableTimeout(this['options']['delay']-_0x68623b);this['timeoutAbortController']=_0x342f87,await _0x3d1585;}catch(_0x46524d){return;}_0x14bf1e(_0x1b9725,'<'+_0x1b9725['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x1b9725['tagName']+'>',{'childrenOnly':!0x0}),this['options']['onStreamUpdate']&&this['options']['onStreamUpdate'](),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:_0xe7555a}){Array['from'](_0xe7555a['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x1dc036=>{_0x1dc036['replaceWith'](_0x1dc036['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x147742){let _0x4876b2='';if(isParsedDocumentNode(_0x147742)){for(const _0x5362d9 of _0x147742['children'])_0x4876b2+=this['renderNode'](_0x5362d9);}else{if(isParsedElementNode(_0x147742)){if(!_0x147742['shouldBeStreamed'])return'';const _0x4c0c63=_0x147742,_0x6bcff3=Object['entries'](_0x4c0c63['attribs'])['map'](([_0x453452,_0x194882])=>_0x453452+'=\x22'+_0x194882+'\x22')['join']('\x20');_0x4876b2+='<'+_0x4c0c63['tagName']+(_0x6bcff3?'\x20'+_0x6bcff3:'')+'>';for(const _0x1add87 of getChildren$1(_0x4c0c63))_0x4876b2+=this['renderNode'](_0x1add87);_0x4876b2+='</'+_0x4c0c63['tagName']+'>';}else{if(!isParsedTextNode(_0x147742))return'';if(!_0x147742['shouldBeStreamed'])return'';_0x538a5f(_0x147742)?_0x4876b2+=_0x2c344f(new Element$3('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x147742])):_0x4876b2+=_0x2c344f(_0x147742);}}return _0x4876b2;}['getParsedDocumentNodeList'](){const _0x55dbb8=[];return traverseParsedDocument(this['document'],_0x1f56fd=>{if(isParsedTextNode(_0x1f56fd)){const _0x31b3ac=this['splitTextNodeIntoWordNodes'](_0x1f56fd);_0x31b3ac['length']&&_0x55dbb8['push'](..._0x31b3ac);}_0x1f56fd['isWordSplitSource']||_0x1f56fd['isWordSplitResult']||_0x55dbb8['push'](_0x1f56fd);}),_0x55dbb8;}['splitTextNodeIntoWordNodes'](_0x4a68e3){if(_0x4a68e3['isWordSplitSource']||_0x4a68e3['isWordSplitResult'])return[];const _0x3d5d6f=textContent(_0x4a68e3)['match'](/(?:\s*\S+\s*)/g),_0xd223e7=[];if(_0x3d5d6f&&_0x3d5d6f['length']>0x1){for(const _0x764544 of _0x3d5d6f){const _0x123838=new Text$1(_0x764544);_0x123838['isWordSplitResult']=!0x0,_0x4bb197(_0x4a68e3,_0x123838),_0xd223e7['push'](_0x123838);}_0x4a68e3['isWordSplitSource']=!0x0,removeElement(_0x4a68e3);}return _0xd223e7;}}const _0x2017fd=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function traverseParsedDocument(_0x4d201a,_0xbe8a42){const _0x3e3dbb=_0x5650db=>{if(_0xbe8a42(_0x5650db),_0x5650db instanceof NodeWithChildren)for(let _0x151ad7=0x0;_0x151ad7<_0x5650db['children']['length'];_0x151ad7++){const _0x43103b=_0x5650db['children'][_0x151ad7];_0x3e3dbb(_0x43103b);}};for(let _0x298287=0x0;_0x298287<_0x4d201a['children']['length'];_0x298287++)_0x3e3dbb(_0x4d201a['children'][_0x298287]);}function _0x538a5f(_0x566899){return!(!_0x566899['parent']||!isParsedElementNode(_0x566899['parent']))&&(!!_0x2017fd['includes'](_0x566899['parent']['tagName'])&&!textContent(_0x566899)['match'](/^\s*[<>]\s*$/));}function isParsedTextNode(_0x318048){return isText$1(_0x318048);}function isParsedElementNode(_0x1038bc){return _0x773814(_0x1038bc);}function isParsedDocumentNode(_0x30684f){return isDocument(_0x30684f);}function createAbortableTimeout(_0x3ffc70){const _0x4246c1=new AbortController();return{'promise':new Promise((_0x537c47,_0x4bacdd)=>{const _0x429241=setTimeout(_0x537c47,_0x3ffc70);_0x4246c1['signal']['addEventListener']('abort',()=>{clearTimeout(_0x429241),_0x4bacdd();});}),'abortController':_0x4246c1};}class AIChatFeedItemView extends ckeditor5['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x36fc38){super();const _0x493c4a=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['options']=_0x36fc38,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x493c4a['if']('isDone','ck-ai-chat__feed__item_done'),_0x493c4a['if']('isVisible','ck-hidden',_0x9e5eae=>!_0x9e5eae),'ck-ai-chat__feed__text-item'],'data-cke-ai-id':this['options']['id']},'children':this['children']});}['markAsDone'](){this['htmlStreamer']['cleanUpAnimations']({'targetElement':this['element']}),this['element']['querySelectorAll']('[data-id]')['forEach'](_0x1d1da2=>{_0x1d1da2['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x4c3c59,_0xa74e99,_0x1a58a1){await this['htmlStreamer']['stream']({'document':_0x4c3c59,'targetElement':_0xa74e99,'abortSignal':_0x1a58a1});}}class AISuggestionHeaderView extends ckeditor5['View']{['showChangesToggleView'];constructor(_0x2c6f2a,_0x2ec8fe){super(_0x2c6f2a),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x4498b3(_0x2c6f2a),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','label':getTranslation$i(_0x2c6f2a,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x2ec8fe['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x1adc29=>_0x1adc29?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x28ab2a=new ckeditor5['IconView']();_0x28ab2a['content']=ckeditor5['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x2ec8fe['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x28ab2a,{'tag':'span','children':[getTranslation$i(_0x2c6f2a,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x4498b3 extends ckeditor5['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x37a806={'accepted':ckeditor5['IconBoxWithCheck'],'rejected':ckeditor5['IconBoxWithCross'],'outdated':ckeditor5['IconBoxWithCross']};class AISuggestionContentPartStateView extends ckeditor5['View']{['stateIconView'];constructor(_0x593f5b){super(_0x593f5b);const _0x4e009f=this['bindTemplate'];this['set']('state','accepted'),this['set']('isVisible',!0x0),this['stateIconView']=new StateIconView(),this['stateIconView']['bind']('state')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__content-part-state',_0x4e009f['to']('state',_0x310b33=>'ck-ai-suggestion__content-part-state_'+_0x310b33),_0x4e009f['if']('isVisible','ck-hidden',_0x113d60=>!_0x113d60)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0x4e009f['to']('state',_0x3c1aee=>{switch(_0x3c1aee){case'accepted':return getTranslation$i(_0x593f5b,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return getTranslation$i(_0x593f5b,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return getTranslation$i(_0x593f5b,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x3f9648){this['state']=_0x3f9648;}}class StateIconView extends ckeditor5['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x37a806[this['state']],this['on']('change:state',()=>{this['content']=_0x37a806[this['state']];});}}class AISuggestionContentPartToolbarView extends ckeditor5['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x4a64ad,_0x24ee60,_0x18b6b3){super(_0x4a64ad);const _0x1ec49a=Boolean(_0x18b6b3);this['set']('isEnabled',!_0x1ec49a),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x452b32=[];if(_0x1ec49a){const _0x243d43=new ckeditor5['ButtonView'](_0x4a64ad);_0x243d43['set']({'label':getTranslation$i(_0x4a64ad,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconInfo']}),_0x452b32['push'](_0x243d43);}else{_0x24ee60['includes']('applySuggestion')&&(this['_applyButton']=new ckeditor5['ButtonView'](_0x4a64ad),this['_applyButton']['set']({'label':getTranslation$i(_0x4a64ad,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithCheck']}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x452b32['push'](this['_applyButton'])),_0x24ee60['includes']('insertSuggestion')&&(this['_suggestButton']=new ckeditor5['ButtonView'](_0x4a64ad),this['_suggestButton']['set']({'label':getTranslation$i(_0x4a64ad,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithMarker']}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x452b32['push'](this['_suggestButton']));const _0x2be016=new ckeditor5['ButtonView'](_0x4a64ad);_0x2be016['set']({'label':getTranslation$i(_0x4a64ad,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconBoxWithCross']}),_0x2be016['bind']('isEnabled')['to'](this),_0x2be016['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x452b32['push'](_0x2be016);}this['items']['addMany'](_0x452b32);const _0x38c734=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x38c734['if']('isVisible','ck-hidden',_0x59a756=>!_0x59a756)]}});}['setButtonsVisibility']({showApplyButton:_0x57cf03,showSuggestButton:_0x4cd0e9}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x57cf03),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x4cd0e9);}}class AISuggestionContentPartHeaderView extends ckeditor5['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x31caea,{part:_0x252cdc,uiIndex:_0x5892ba,availableActions:_0x4484a6,areActionsDisabled:_0x3bb603}){super(_0x31caea),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x31caea,_0x4484a6,_0x3bb603),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x252cdc['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x252cdc['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x252cdc['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x31caea),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x31caea,_0x5892ba),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',(_0xbb915a,_0x3f8c05,_0x21b9f7,_0x3d9b27)=>{'pending'===_0x3d9b27?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x21b9f7?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x21b9f7),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends ckeditor5['View']{constructor(_0x3e42dd,_0x1ff22f){super(_0x3e42dd),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[getTranslation$i(_0x3e42dd,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x1ff22f['toString']())]});}}class AISuggestionStreamableContentView extends ckeditor5['View']{['htmlStreamer'];constructor(_0x3ad58a){super(_0x3ad58a),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x24c771,renderingStrategy:_0x130bd8,abortSignal:_0x125c43}){'streaming'===_0x130bd8?await this['htmlStreamer']['stream']({'document':_0x24c771['content'],'targetElement':this['element'],'abortSignal':_0x125c43}):this['element']['innerHTML']=_0xa72b4c(_0x24c771['content']);}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends ckeditor5['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x16ad6e,{part:_0x5b6032,uiIndex:_0x2bdc1c,areActionsDisabled:_0x2c9332,availableActions:_0x541ab2}){super(_0x16ad6e);const _0x52697f=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x467b3e=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x2c9332;};this['on']('change:state',_0x467b3e),this['on']('change:isDone',_0x467b3e),_0x467b3e(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x16ad6e,{'part':_0x5b6032,'uiIndex':_0x2bdc1c,'availableActions':_0x541ab2,'areActionsDisabled':_0x2c9332}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](..._0x11110e)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x16ad6e),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x52697f['to']('state',_0x971e5=>'ck-ai-suggestion__body__content-part_'+_0x971e5),_0x52697f['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x52697f['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x52697f['if']('isVisible','ck-hidden',_0x25071d=>!_0x25071d)]},'children':this['_children'],'on':{'mouseenter':_0x52697f['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x5b6032['index']});}),'mouseleave':_0x52697f['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x5b6032['index']});}),'click':_0x52697f['to'](_0x1f11e2=>{const _0x3e7f6d=_0x1f11e2['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x3e7f6d)&&this['fire']('showChangeInText',{'index':_0x5b6032['index']});})}});}async['updateContent']({part:_0x178ddd,renderingStrategy:_0x412907,showUnchangedParts:_0x28fa48=!0x1,abortSignal:_0x227613}){this['partDefinition']=_0x178ddd,this['isVisible']=this['partDefinition']['hasChanges']||_0x28fa48,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x178ddd,'renderingStrategy':_0x412907,'abortSignal':_0x227613});}['markAsDone'](){this['isDone']=!0x0;}}class _0x3ad7db extends ckeditor5['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x46a758){const _0x462eb3=this['createTask'](_0x46a758);return this['queue']['push'](_0x462eb3),this['_processQueue'](),_0x462eb3['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(_0x434194=>{this['once']('_queueEmpty',()=>{_0x434194();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x4fdb58=this['queue']['shift']();try{await _0x4fdb58['callback'](this['_abortController']['signal']),_0x4fdb58['resolve']();}catch(_0x416665){_0x4fdb58['reject'](_0x416665);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x332179){let _0x3ea22f,_0x192919;const _0x53716b=new Promise((_0x1d5883,_0x13f09f)=>{_0x3ea22f=_0x1d5883,_0x192919=_0x13f09f;});return{'callback':_0x332179,'resolve':_0x3ea22f,'reject':_0x192919,'completePromise':_0x53716b};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0xc5e242){super(_0xc5e242),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0xc5e242['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x447799){this['element']['innerHTML']=_0x447799;}}const _0x155f5c=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends ckeditor5['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x156036,_0x176639=[..._0x155f5c],_0x42265c){super(_0x156036);const _0x57a6e0=this['bindTemplate'],_0x1c3412=Boolean(_0x42265c);if(this['set']('isEnabled',!_0x1c3412),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x1c3412){const _0x59fab3=new ckeditor5['ButtonView'](_0x156036);_0x59fab3['set']({'label':getTranslation$i(_0x156036,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':ckeditor5['IconInfo']});const _0x22154e=new ckeditor5['View'](_0x156036);_0x22154e['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[getTranslation$i(_0x156036,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x59fab3]}]}),this['children']['add'](_0x22154e);}else this['_applyChangesButton']=new ckeditor5['ButtonView'](_0x156036),this['_applyChangesButton']['set']({'label':getTranslation$i(_0x156036,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x176639['includes']('applySuggestion'),'class':'ck-ai-button-primary'}),this['_insertSuggestionsButton']=new ckeditor5['ButtonView'](_0x156036),this['_insertSuggestionsButton']['set']({'label':getTranslation$i(_0x156036,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x176639['includes']('insertSuggestion'),'class':'ck-ai-button-secondary'}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x4fc35c=>{_0x4fc35c['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',_0x57a6e0['if']('isVisible','ck-hidden',_0x68bbb5=>!_0x68bbb5)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x424e73){this['isVisible']=_0x424e73;}['_switchButtonLabelsPlurality'](_0xf4e089){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0xf4e089?(this['_applyChangesButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=getTranslation$i(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}}const _0x3b4d2d=0x190;class _0x4944db extends ckeditor5['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0xa4302b,_0x5d6bee){super(_0xa4302b),this['bodyCollection']=_0x5d6bee,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',_0x2ae807=>!_0x2ae807)]},'children':this['children']});const _0x1fdd92=new ckeditor5['View'](this['locale']),_0x5a7e7d=new ckeditor5['IconView']();_0x5a7e7d['content']=ckeditor5['IconWeb'],_0x1fdd92['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x5a7e7d,{'tag':'span','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x1fdd92),this['_setupBalloonPanel'](_0xa4302b);}['addSource'](_0x3f3b20){this['children']['add'](new _0x361dd8(this['locale'],_0x3f3b20,this['balloonPanelView']));}['_setupBalloonPanel'](_0x14e0d8){this['balloonPanelView']=new ckeditor5['BalloonPanelView'](_0x14e0d8),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x361dd8 extends ckeditor5['ButtonView']{['balloonPanelView'];['source'];constructor(_0x4aa756,_0x465436,_0x3ac383){super(_0x4aa756),this['source']=_0x465436,this['balloonPanelView']=_0x3ac383,this['set']({'label':_0x465436['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x2a159e=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x2a159e['to'](()=>{window['open'](_0x465436['url'],'_blank');}),'mouseenter':_0x2a159e['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x2a159e['to'](()=>{this['_hideTooltip']();})}}),_0x465436['favicon']){const _0x512e1e=new ckeditor5['View'](_0x4aa756);_0x512e1e['setTemplate']({'tag':'img','attributes':{'src':_0x465436['favicon']||ckeditor5['IconWeb'],'alt':_0x465436['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x512e1e);}else this['set']('icon',ckeditor5['IconWeb']);}['_createTooltipContentView'](_0x343909,_0x503ce7){const _0x42c1cb=new ckeditor5['View'](_0x343909),_0x353361=[];let _0x4596eb;_0x503ce7?.['favicon']?(_0x4596eb=new ckeditor5['View'](_0x343909),_0x4596eb['setTemplate']({'tag':'img','attributes':{'src':_0x503ce7['favicon'],'alt':_0x503ce7['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x4596eb=new ckeditor5['IconView'](),_0x4596eb['content']=ckeditor5['IconWeb'],_0x4596eb['extendTemplate']({'attributes':{'alt':_0x503ce7['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x353361['push'](_0x4596eb);const _0x3b24dc=new ckeditor5['View'](_0x343909);_0x3b24dc['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x503ce7['url']},'children':[{'text':new URL(_0x503ce7['url'])?.['hostname']}]}),_0x353361['push'](_0x3b24dc);const _0x1b8bcb=new ckeditor5['View'](_0x343909);_0x1b8bcb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x353361});const _0x326125=new ckeditor5['View'](_0x343909);return _0x326125['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x503ce7['title']['length']>_0x3b4d2d?_0x503ce7['title']['substring'](0x0,_0x3b4d2d)+'...':_0x503ce7['title']}]}),_0x42c1cb['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x1b8bcb,_0x326125]}),_0x42c1cb;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouth'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],ckeditor5['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 _0x3286d3=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x3286d3);}}class AISuggestionBodyView extends ckeditor5['View']{['_actionsView'];['_sourcesView'];['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x880e6,_0x6ad2c9){super(_0x880e6);const {areActionsDisabled:_0x9326a5,showUnchangedParts:_0x4b9995,availableActions:_0x18fa33}=_0x6ad2c9;this['_areActionsDisabled']=_0x9326a5,this['_showUnchangedParts']=_0x4b9995,this['_availableActions']=_0x18fa33,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_updateContentPartsPromiseQueue']=new _0x3ad7db(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':getTranslation$i(_0x880e6,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x880e6,_0x6ad2c9['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x4944db(this['locale'],_0x6ad2c9['bodyCollection']),_0x6ad2c9['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x11110e)['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']]});}get['partsCount'](){return this['_children']['length'];}async['updateContentParts']({parts:_0x506421,renderingStrategy:_0x12cebb,abortSignal:_0x43d65b}){this['_children']['length']?_0x506421['forEach'](_0x1e2bba=>{const _0x4fd755=this['_cachedContentParts']['findIndex'](_0xa61b5f=>_0xa61b5f['index']==_0x1e2bba['index']);-0x1===_0x4fd755?this['_cachedContentParts']['push'](_0x1e2bba):this['_cachedContentParts'][_0x4fd755]=_0x1e2bba;}):this['_cachedContentParts']=_0x506421;const _0x2f0293=this['_showUnchangedParts']?_0x506421:_0x506421['filter'](_0x357d9f=>_0x357d9f['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x2f0293['length']>0x1);for(const _0x2bd4d8 of _0x2f0293)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x30c46d=>{let _0x20f309=this['getPartView'](_0x2bd4d8['index']);_0x20f309||(_0x20f309=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x2bd4d8,'uiIndex':this['_children']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x20f309['delegate'](..._0x11110e)['to'](this),this['_children']['add'](_0x20f309),this['hasPendingParts']=!0x0),await _0x20f309['updateContent']({'part':_0x2bd4d8,'renderingStrategy':_0x12cebb,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x30c46d}),_0x20f309['markAsDone']();});return _0x43d65b?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x54f714,_0x513d0f){const _0x2d19d4=this['getPartView'](_0x54f714);_0x2d19d4&&(_0x2d19d4['state']=_0x513d0f),this['hasPendingParts']='pending'==_0x513d0f||Array['from'](this['_children'])['some'](_0x360bc5=>'pending'==_0x360bc5['state']);}['setPartActive'](_0x429683,_0x336eba){if(!0x1===_0x429683){for(const _0x498a2d of this['_children'])_0x498a2d['isActive']=!0x1;}else{const _0x29fae5=this['getPartView'](_0x429683);_0x29fae5&&(_0x29fae5['isActive']=_0x336eba);}}['updateSources'](_0x1f2b76){_0x1f2b76['forEach'](_0x237d9a=>this['_sourcesView']['addSource'](_0x237d9a)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0xa8ab5b){return this['_children']['find'](_0x18385a=>_0x18385a['partDefinition']['index']==_0xa8ab5b)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x1e68f4=!this['_cachedContentParts']['find'](({hasChanges:_0x5b66c1})=>_0x5b66c1),_0x341a70=!!this['_cachedContentParts']['find'](({hasChanges:_0x1b7e9a})=>!_0x1b7e9a);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x341a70,_0x1e68f4?this['_emptyPartsWarningView']['setContent'](getTranslation$i(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](getTranslation$i(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_children']['forEach'](_0x4a44d7=>_0x4a44d7['markAsDone']()),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}get['hasNonEmptyParts'](){return this['_children']['filter'](_0x2e3072=>_0x2e3072['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends ckeditor5['View']{['bodyView'];['children'];['headerView'];constructor(_0x5b3f36,_0x447f21,_0x237983){super(_0x5b3f36);const {showDiff:_0x2c8977,areActionsDisabled:_0x33d248,showUnchangedParts:_0x3a7397,availableActions:_0x47e39b}=_0x447f21;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x5b3f36,{'showDiff':_0x2c8977}),this['headerView']['on']('toggleShowChanges',(_0x1600f9,_0x55e7f5)=>{this['areChangesVisible']=_0x55e7f5['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x55e7f5['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x5b3f36,{'areActionsDisabled':_0x33d248,'showUnchangedParts':!!_0x3a7397,'availableActions':_0x47e39b,'bodyCollection':_0x237983}),this['bodyView']['delegate'](..._0x11110e)['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'](_0x5c6bec){await this['bodyView']['updateContentParts'](_0x5c6bec);}['updateSources'](_0x2b0d50){this['bodyView']['updateSources'](_0x2b0d50);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x116000,_0x182e3f,_0x25e3cd){super(_0x182e3f),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x116000,{'showDiff':_0x182e3f['showDiff'],'areActionsDisabled':_0x182e3f['areActionsDisabled'],'availableActions':_0x182e3f['availableActions']},_0x25e3cd),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x42891f,_0xa6daa5)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0xa6daa5['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',(_0x5e6f56,{index:_0x2852e9})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x2852e9});}),this['containerView']['on']('applySuggestion',(_0x27f081,{index:_0x1cd29c}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x1cd29c});}),this['containerView']['on']('insertSuggestion',(_0x57e3a8,{index:_0x2b7df7}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x2b7df7});}),this['containerView']['on']('rejectSuggestion',(_0x43dea3,{index:_0x430531})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x430531});}),this['containerView']['on']('mouseOverSuggestion',(_0x2ada89,{index:_0xf51d33})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0xf51d33});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x3227b8,{index:_0x3f063e})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x3f063e});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x25c45e){await this['containerView']['updateContent'](_0x25c45e);}['updatePartState'](_0x24efca,_0x2b8203){this['containerView']['bodyView']['updatePartState'](_0x24efca,_0x2b8203);}['setPartActive'](_0x276e6f,_0x17bc39){!0x1===_0x276e6f?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x276e6f,_0x17bc39);}['updateSources'](_0x2cb499){this['containerView']['updateSources'](_0x2cb499);}['getPartView'](_0x168533){return this['containerView']['bodyView']['getPartView'](_0x168533);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x3ee986,_0x2a82ed,_0x441dec){super(_0x2a82ed),this['_bodyCollection']=_0x441dec,this['locale']=_0x3ee986,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new ckeditor5['View'](),this['replyContainer']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply-container']}}),this['children']['add'](this['replyContainer']);}async['render'](){super['render'](),this['options']['initialContent']&&(await this['updateContent']({'parsedContent':_0x47350e(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x3d0af0,renderingStrategy:_0x585450,abortSignal:_0x218ef8}){'streaming'===_0x585450?await this['streamIntoElement'](_0x3d0af0,this['replyContainer']['element'],_0x218ef8):this['replyContainer']['element']['innerHTML']=_0x2c344f(_0x3d0af0);}['updateSources'](_0x1a4f16){const _0xacd5f0=new _0x4944db(this['locale'],this['_bodyCollection']);_0xacd5f0['children']['addMany'](_0x1a4f16['map'](_0xa9e04c=>new _0x361dd8(this['locale'],_0xa9e04c,_0xacd5f0['balloonPanelView']))),_0xacd5f0['isVisible']=!0x0,this['children']['add'](_0xacd5f0);}}class _0x1a92d9 extends ckeditor5['SpinnerView']{constructor(_0x6d9657=void 0x0){super();const _0x1314b8=_0x6d9657?'ck-ai-spinner_'+_0x6d9657:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x1314b8]}});}}const _0x1e7e44={'file':ckeditor5['IconFileUpload'],'document':ckeditor5['IconDocument'],'web-resource':ckeditor5['IconLink'],'text':ckeditor5['IconFileUpload'],'selection':ckeditor5['IconSelection'],'mcp-tool-context':ckeditor5['IconDocument']},_0x2ed73e=0x78,_0x4d1f97={'contextChip':'ck-ai-chat-context-chip','contextChipWide':'ck-ai-chat-context-chip_wide','contextChipDocument':'ck-ai-chat-context-chip_document','contextChipLabel':'ck-ai-chat-context-chip__label','contextChipTypeIcon':'ck-ai-chat-context-chip__type-icon','chipTooltip':'ck-ai-chat-context-controls__chip-tooltip'},_0x22adbf={'position':'n'};class AIChatContextItemButtonView extends ckeditor5['ButtonView']{constructor(_0x5f1b48,_0x34cce9,_0x57172f,_0x5067bd,_0x151c39=!0x1){super(_0x5f1b48),this['_isAnimationOnEnterEnabled']=_0x5067bd,this['_initializeProperties'](_0x34cce9,_0x57172f,_0x151c39),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'](_0x9fe366,_0x462eee,_0x197116){this['set']('label',_0x9fe366['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x9fe366['type']),this['set']('id',_0x9fe366['uiId']),this['set']('readonly',_0x462eee),this['set']('isLoading',_0x197116);}['_setupTemplate'](){const _0x2e75ef=this['_createIconView'](),_0x33580d=this['_createRemoveButton'](),_0x4b648f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x4b648f),'children':this['_createTemplateChildren'](_0x2e75ef,_0x33580d,_0x4b648f)});}['_createTemplateAttributes'](_0x3f25e4){return{'class':[_0x4d1f97['contextChip'],_0x3f25e4['if']('itemType',_0x4d1f97['contextChipDocument'],_0x467b84=>'document'==_0x467b84),_0x3f25e4['if']('itemType',_0x4d1f97['contextChipWide'],_0x10818a=>'selection'==_0x10818a)],'data-cke-tooltip-text':_0x3f25e4['to']('label',getTooltipForLabel),'data-cke-tooltip-position':_0x22adbf['position'],'data-cke-tooltip-class':_0x4d1f97['chipTooltip']};}['_createTemplateChildren'](_0xa8302c,_0xb9147f,_0x504aad){const _0x3a2498=this['_createLabelElement'](_0x504aad),_0x2eebd4=this['_createLoaderIcon']();return this['readonly']?[_0xa8302c,_0x3a2498]:[_0xa8302c,_0x2eebd4,_0x3a2498,_0xb9147f];}['_createLabelElement'](_0x307559){return{'tag':'span','attributes':{'class':_0x4d1f97['contextChipLabel']},'children':[{'text':_0x307559['to']('label')}]};}['_createRemoveButton'](){const _0xbc1a3e=new ckeditor5['ButtonView'](this['locale']);return _0xbc1a3e['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':ckeditor5['IconClose']}),this['_setupRemoveButtonEvent'](_0xbc1a3e),_0xbc1a3e;}['_setupRemoveButtonEvent'](_0x9b8810){_0x9b8810['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x3661be=this['bindTemplate'],_0x410cbf=new ckeditor5['IconView']();return _0x410cbf['content']=_0x1e7e44[this['itemType']],_0x410cbf['extendTemplate']({'attributes':{'class':[_0x4d1f97['contextChipTypeIcon'],_0x3661be['if']('isLoading','ck-hidden',_0x552183=>_0x552183)]}}),_0x410cbf;}['_handleAnimationEndOnce'](_0x2dd979,_0x453ba0){if(!_0x2dd979)return;const _0x17f80b=()=>{_0x453ba0(),_0x2dd979['removeEventListener']('animationend',_0x17f80b),_0x2dd979['removeEventListener']('webkitAnimationEnd',_0x17f80b);};_0x2dd979['addEventListener']('animationend',_0x17f80b),_0x2dd979['addEventListener']('webkitAnimationEnd',_0x17f80b);}['_createLoaderIcon'](){const _0x331058=new _0x1a92d9('small');return _0x331058['bind']('isVisible')['to'](this,'isLoading',_0x2f5953=>_0x2f5953),_0x331058;}}function getTooltipForLabel(_0x267ed6){if(!_0x267ed6)return _0x267ed6;if(_0x267ed6['length']<=_0x2ed73e)return _0x267ed6;const _0x4c44ed=_0x267ed6['slice'](0x0,_0x2ed73e),_0x2b0d14=_0x4c44ed['lastIndexOf']('\x20');return(_0x2b0d14>0x0?_0x4c44ed['slice'](0x0,_0x2b0d14):_0x4c44ed)+'…';}const _0x10287e={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x42ef28='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0xa70a5c,_0x383047,_0x47eba5,_0x5e82f0,_0x3ec6d6){this['_locale']=_0xa70a5c,this['_visibleChips']=_0x383047,this['_config']={..._0x10287e,..._0x47eba5,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x47eba5['cssClasses']}},this['_overflowChips']=new ckeditor5['Collection'](),this['_bodyCollection']=_0x5e82f0,this['_parentView']=_0x3ec6d6||null;}['setContainerElement'](_0x2e7b2e){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x2e7b2e,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 _0x54fc83=[...this['_visibleChips'],...this['_overflowChips']],_0x36c88f=this['_createCalculationContainer'](),_0xdf755b=this['_calculateOverflowInContainer'](_0x36c88f,_0x54fc83),_0x4d2b07=_0x36c88f['_ancestorsToRestore'];_0x4d2b07&&this['_restoreAncestorVisibility'](_0x4d2b07),_0x36c88f['remove'](),this['_applyOverflowResults'](_0x54fc83,_0xdf755b);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),ckeditor5['clickOutsideHandler']({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x44c6c6=new ckeditor5['ButtonView'](this['_locale']);_0x44c6c6['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x5b7fef=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x5b7fef['push'](this['_config']['cssClasses']['controlsButton']),_0x44c6c6['extendTemplate']({'attributes':{'class':_0x5b7fef}}),_0x44c6c6;}['_createShowMoreBalloonPanelView'](){const _0x199e5f=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x199e5f['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x199e5f),_0x199e5f;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x175058=>{_0x175058['disableAnimationOnEnter']();});const _0x1428be=new ckeditor5['View'](this['_locale']);_0x1428be['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x1428be);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x4c5af8=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x4c5af8?'':'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'](_0x255230){const _0x4d11e2=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x50c677=this['_containerElement']?.['classList'];if(_0x50c677){const _0x18b98f=_0x50c677[0x0]||'',_0x73e63b=_0x255230['querySelector']('.'+_0x18b98f),_0x27192f=_0x255230['querySelector'](_0x4d11e2);return _0x73e63b||_0x27192f||_0x255230;}return _0x255230['querySelector'](_0x4d11e2)||_0x255230;}['_calculateContainerWidth'](){const _0x33e6d7=this['_parentView']?.['element']||this['_containerElement'];if(!_0x33e6d7)return _0x42ef28;const _0x38f57d=window['getComputedStyle'](_0x33e6d7)['width'];if('auto'===_0x38f57d||'0px'===_0x38f57d||!_0x38f57d){const _0x27c693=_0x33e6d7['parentElement'];if(_0x27c693){const _0x6fdcf5=window['getComputedStyle'](_0x27c693);return'auto'!==_0x6fdcf5['width']?_0x6fdcf5['width']:_0x42ef28;}return _0x42ef28;}return _0x38f57d;}['_applyCalculationStyles'](_0x42dab3,_0x35fc6e){this['_config']['cssClasses']['calculationContainer']&&_0x42dab3['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x42dab3['style']['width']=_0x35fc6e,_0x42dab3['style']['position']='absolute',_0x42dab3['style']['top']='-9999px',_0x42dab3['style']['left']='-9999px',_0x42dab3['style']['opacity']='0',_0x42dab3['style']['pointerEvents']='none',_0x42dab3['style']['zIndex']='-1',_0x42dab3['style']['visibility']='visible\x20!important',_0x42dab3['style']['display']='block\x20!important',_0x42dab3['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x386abb){_0x386abb['forEach'](({element:_0x145d7d,originalDisplay:_0x53cf10,originalVisibility:_0x594ce9})=>{_0x145d7d['style']['display']=_0x53cf10,_0x145d7d['style']['visibility']=_0x594ce9;});}['_makeAncestorsVisible'](_0xc18dc9){const _0x3832c3=[];let _0x4c270d=_0xc18dc9;for(;_0x4c270d&&_0x4c270d!==document['body'];){const _0x33b27d=window['getComputedStyle'](_0x4c270d);'none'!==_0x33b27d['display']&&'hidden'!==_0x33b27d['visibility']||(_0x3832c3['push']({'element':_0x4c270d,'originalDisplay':_0x4c270d['style']['display'],'originalVisibility':_0x4c270d['style']['visibility']}),_0x4c270d['style']['display']='block',_0x4c270d['style']['visibility']='visible'),_0x4c270d=_0x4c270d['parentElement'];}return _0x3832c3;}['_createContainerElements'](){let _0x422286,_0x1aeac1;return this['_parentView']?.['element']?(_0x422286=this['_parentView']['element']['cloneNode'](!0x0),_0x1aeac1=this['_findTargetContainer'](_0x422286)):(_0x422286=document['createElement']('div'),_0x1aeac1=_0x422286),{'calculationContainer':_0x422286,'targetContainer':_0x1aeac1};}['_createCalculationContainer'](){const {calculationContainer:_0x3ae99d,targetContainer:_0x2d9416}=this['_createContainerElements'](),_0x3916a6=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x3ae99d,_0x3916a6);const _0x36bb8c=this['_parentView']?.['element']||this['_containerElement'],_0x2f7852=_0x36bb8c?.['parentElement'];_0x2f7852?_0x2f7852['appendChild'](_0x3ae99d):document['body']['appendChild'](_0x3ae99d),_0x3ae99d['_targetContainer']=_0x2d9416;const _0x55c159=this['_makeAncestorsVisible'](_0x2f7852||null);return _0x3ae99d['offsetWidth'],_0x3ae99d['_ancestorsToRestore']=_0x55c159,_0x3ae99d;}['_calculateOverflowInContainer'](_0x2bfc26,_0x277a37){const _0xd5e6a8=_0x2bfc26['_targetContainer']||_0x2bfc26,_0x14b909=[],{rowCount:_0x216617}=this['_renderChipsAndCountRows'](_0xd5e6a8,_0x277a37);if(_0x216617<=this['_config']['maxVisibleRows'])return _0x14b909;const _0x352d71=_0x277a37['slice']();for(;_0x352d71['length']>0x0;){if(this['_testButtonFit'](_0x2bfc26,_0xd5e6a8,_0x352d71)){const _0xe8dc8c=_0x277a37['filter'](_0x4fc48e=>!_0x352d71['includes'](_0x4fc48e));_0x14b909['push'](..._0xe8dc8c);break;}if(!_0x352d71['pop']())break;}return _0x14b909;}['_renderChipsAndCountRows'](_0x43c4a6,_0x16b78f){_0x43c4a6['innerHTML']='',_0x16b78f['forEach'](_0x27cc91=>{if(_0x27cc91['element']){const _0x1de8c1=_0x27cc91['element']['cloneNode'](!0x0);_0x43c4a6['appendChild'](_0x1de8c1);}}),_0x43c4a6['offsetWidth'];const _0x5eb149=_0x43c4a6['children'],_0x38c51c=[];return Array['from'](_0x5eb149)['forEach'](_0x2f1607=>{const _0x414c41=_0x2f1607['getBoundingClientRect']()['top'];_0x38c51c['some'](_0x2af9ed=>Math['abs'](_0x2af9ed-_0x414c41)<this['_config']['rowDetectionTolerance'])||_0x38c51c['push'](_0x414c41);}),{'rowCount':_0x38c51c['length']};}['_createMockButton'](){const _0x297e48=document['createElement']('button');return _0x297e48['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x297e48['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x297e48['textContent']='+\x201',_0x297e48;}['_testButtonFit'](_0x25500a,_0x532b49,_0x4bccae){this['_renderChipsAndCountRows'](_0x532b49,_0x4bccae);const _0xa52dfe=this['_createMockButton']();_0x25500a['appendChild'](_0xa52dfe),_0x25500a['offsetWidth'];const _0x23ec0d=[..._0x532b49['children'],_0xa52dfe],_0x1ce7fe=[];_0x23ec0d['forEach'](_0x440f08=>{const _0x452e96=_0x440f08['getBoundingClientRect']()['top'];_0x1ce7fe['some'](_0xe3caa6=>Math['abs'](_0xe3caa6-_0x452e96)<this['_config']['rowDetectionTolerance'])||_0x1ce7fe['push'](_0x452e96);});const _0x56bba5=_0x1ce7fe['length'];return _0xa52dfe['remove'](),_0x56bba5<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x2a17aa,_0x27d8ae){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x2a17aa['forEach'](_0x4ddd9=>{_0x27d8ae['includes'](_0x4ddd9)?this['_overflowChips']['add'](_0x4ddd9):this['_visibleChips']['add'](_0x4ddd9);});}['_updateOverflowUI'](_0x5181b7){if(_0x5181b7>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x5181b7>0x0&&this['_showMoreButtonView']){const _0x3716ba=''+this['_config']['showMoreLabelPrefix']+(_0x5181b7<0x63?_0x5181b7:'99');this['_showMoreButtonView']['label']=_0x3716ba;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x2e02e6,_0x411e00){this['_distributeChips'](_0x2e02e6,_0x411e00),this['_updateOverflowUI'](_0x411e00['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0xa6267=>{_0xa6267[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 _0x212c73=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x212c73['width']||0x0===_0x212c73['height'])return!0x1;const _0x34f6f5=window['innerHeight']||document['documentElement']['clientHeight'],_0x10c467=window['innerWidth']||document['documentElement']['clientWidth'],_0x479de0=0xc8;return _0x212c73['bottom']>=-0xc8&&_0x212c73['top']<=_0x34f6f5+_0x479de0&&_0x212c73['right']>=-0xc8&&_0x212c73['left']<=_0x10c467+_0x479de0;}}const _0xa0d2a4={'CONTEXT_CHIPS':'ck-ai-chat__feed__context-chips','CONTEXT_CHIPS_VISIBLE':'ck-ai-chat-context-chips-wrapper','CONTEXT_CHIPS_OVERFLOW':'ck-ai-chat-context-chips-wrapper-balloon','CONTROLS_BUTTON':'ck-ai-chat-controls-button','SHOW_MORE_BUTTON':'ck-ai-chat-controls_context_show-more-button','SHOW_MORE_BALLOON':'ck-ai-chat-context-controls__show-more-balloon-panel'};class AIChatFeedContextChipsView extends ckeditor5['View']{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x236885,_0x40c656,_0x43fcb6){super(_0x236885),this['_bodyCollection']=_0x43fcb6,this['_createContextChips'](_0x40c656);const _0x4de58c={'cssClasses':{'showMoreButton':_0xa0d2a4['SHOW_MORE_BUTTON'],'showMoreBalloon':_0xa0d2a4['SHOW_MORE_BALLOON'],'overflowContainer':_0xa0d2a4['CONTEXT_CHIPS_OVERFLOW'],'controlsButton':_0xa0d2a4['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x236885,this['_contextChips'],_0x4de58c,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0xa0d2a4['CONTEXT_CHIPS'],'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0xa0d2a4['CONTEXT_CHIPS_VISIBLE']},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x25c375=this['element']['querySelector']('.'+_0xa0d2a4['CONTEXT_CHIPS_VISIBLE']);_0x25c375&&(this['_overflowManager']['setContainerElement'](_0x25c375),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x5400f3){for(const _0x9f933b of _0x5400f3){const _0x301833=new AIChatContextItemButtonView(this['locale'],_0x9f933b,!0x0,!0x1);this['_contextChips']['add'](_0x301833);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x1e42e4,_0x3b9cc2,_0xefb74){super(_0x3b9cc2),this['_locale']=_0x1e42e4,this['_bodyCollection']=_0xefb74,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 AIChatFeedContextChipsView(this['_locale'],this['options']['contextItems']['filter'](_0x48485e=>!_0x48485e['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new ckeditor5['View'](this['_locale']),this['_messageContentView']['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__message-content'}}),this['children']['add'](this['_messageContentView']);}['render'](){super['render'](),this['_messageContentView']['element']['innerHTML']=this['options']['initialContent'],this['markAsDone']();}}class AIChatFeedInteractionHeaderView extends AIChatFeedItemView{['capabilities'];constructor(_0x4011ca,_0x104d7f){super(_0x104d7f);const {isWebSearchEnabled:_0x1947d2,isReasoningEnabled:_0x1b5613}=_0x104d7f['capabilities'],_0x353695=[];let _0x520c47='';_0x1947d2&&_0x1b5613?(_0x520c47=getTranslation$i(_0x4011ca,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x353695['push'](createIcon(ckeditor5['IconWeb'])),_0x353695['push'](createIcon(ckeditor5['IconBulb']))):_0x1947d2?(_0x520c47=getTranslation$i(_0x4011ca,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x353695['push'](createIcon(ckeditor5['IconWeb']))):_0x1b5613&&(_0x520c47=getTranslation$i(_0x4011ca,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x353695['push'](createIcon(ckeditor5['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x520c47?'':'ck-hidden']}});const _0x273ed1=new ckeditor5['View']();_0x273ed1['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x353695,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x520c47]}]}),this['children']['add'](_0x273ed1),this['capabilities']=_0x104d7f['capabilities'];}}function createIcon(_0x559ec3){const _0x3dc63c=new ckeditor5['IconView']();return _0x3dc63c['content']=_0x559ec3,_0x3dc63c;}const _0x7c9783=0x5,_0x4be911=['wheel','touchstart','pointerdown','keydown'],_0xf482bc=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x16c12a{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x3261d6){this['element']=_0x3261d6,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0x3dd471 of _0x4be911){const _0x2de248='keydown'!==_0x3dd471;this['element']['addEventListener'](_0x3dd471,this['_onUserEvent']['bind'](this),{'passive':_0x2de248,'signal':this['abortController']['signal']});}}['start'](){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,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'](_0x31b4ef){if(this['isRunning']){if('keydown'===_0x31b4ef['type']){const _0x4ff159=_0x31b4ef['key'];if(!_0xf482bc['includes'](_0x4ff159))return;}_0x31b4ef instanceof WheelEvent?_0x31b4ef['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x2a6253,scrollHeight:_0x1a0773,clientHeight:_0x3add00}=this['element'];return _0x1a0773-_0x2a6253-_0x3add00<=_0x7c9783;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'auto'}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}}class AISkeletonView extends ckeditor5['View']{constructor(_0x14913e,_0x206e9c){super(_0x14913e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x206e9c)});}['_createSkeletonItems'](_0x2bbe3d){const _0x137ba2=['ck','ck-ai-skeleton__item'];return _0x2bbe3d['map'](_0x93a556=>{let _0x9900fd='';switch(_0x93a556['attributes']['align']){case'right':_0x9900fd='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x9900fd='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x9900fd='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x93a556['tag'],'attributes':{'class':[..._0x137ba2,_0x93a556['attributes']['class']?_0x93a556['attributes']['class']:''],'style':'width:\x20'+_0x93a556['attributes']['width']+';\x20height:\x20'+_0x93a556['attributes']['height']+';'+_0x9900fd}};});}}const _0xbf81d8={'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':generateSkeletonDefinitions(0x5,'100%','44px','right'),'aiChatResources':generateSkeletonDefinitions(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 generateSkeletonDefinitions(_0xde421f,_0x18db21,_0x301d26,_0x447566){return new Array(_0xde421f)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x18db21,'height':_0x301d26,'align':_0x447566}}));}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x39af3a){super(_0x39af3a),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']);}}class AIChatFeedView extends ckeditor5['View']{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x4baa45,_0x545c05){super(_0x4baa45),this['_bodyCollection']=_0x545c05,this['set']('isPending',!0x1),this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x2501ff)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x16c12a(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x128af5,_0x11a5c4){let _0x5f1cc7;return'ai-reply'===_0x128af5?_0x5f1cc7=new AIChatFeedReplyItemView(this['locale'],_0x11a5c4,this['_bodyCollection']):'ai-suggestion-reply'===_0x128af5?(_0x5f1cc7=new AIChatFeedSuggestionItemView(this['locale'],_0x11a5c4,this['_bodyCollection']),_0x5f1cc7['bind']('isTrackChangesOn')['to'](this)):_0x5f1cc7='user-message'===_0x128af5?new AIChatFeedUserMessageItemView(this['locale'],_0x11a5c4,this['_bodyCollection']):'interaction-header'===_0x128af5?new AIChatFeedInteractionHeaderView(this['locale'],_0x11a5c4):'custom-element'===_0x128af5?new AIChatFeedCustomElementView(_0x11a5c4):new AIChatFeedErrorItemView(_0x11a5c4),this['children']['add'](_0x5f1cc7),_0x5f1cc7;}async['updateReplyItem']({id:_0x1e0395,parsedContent:_0x155464,renderingStrategy:_0x4167b8,abortSignal:_0x4ef372}){const _0x4b99ee=this['getItemById'](_0x1e0395);if(!(_0x4b99ee instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x4b99ee,'id':_0x1e0395,'parsedContent':_0x155464});await _0x4b99ee['updateContent']({'parsedContent':_0x155464,'renderingStrategy':_0x4167b8,'abortSignal':_0x4ef372});}async['updateWebSources'](_0x4a8ca9,_0x3056ec){const _0x38437a=this['getItemById'](_0x4a8ca9);if(_0x38437a instanceof AIChatFeedSuggestionItemView)_0x38437a['updateSources'](_0x3056ec);else{if(!(_0x38437a instanceof AIChatFeedReplyItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x38437a,'id':_0x4a8ca9,'sources':_0x3056ec});_0x38437a['updateSources'](_0x3056ec);}}async['updateSuggestionItem']({id:_0x1ad825,parts:_0x145513,renderingStrategy:_0xd74ece,abortSignal:_0x3b8266}){const _0x3c55db=this['getItemById'](_0x1ad825);if(!(_0x3c55db instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x3c55db,'id':_0x1ad825,'parts':_0x145513});await _0x3c55db['updateContent']({'parts':_0x145513,'renderingStrategy':_0xd74ece,'abortSignal':_0x3b8266});}['updateSuggestionPartState']({id:_0xc32212,index:_0x425c90,state:_0x5c2497}){const _0x19542a=this['getItemById'](_0xc32212);if(!(_0x19542a instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0xc32212});_0x19542a['updatePartState'](_0x425c90,_0x5c2497);}['setSuggestionPartActive']({id:_0x1ba699,index:_0x2b32ec,isActive:_0x561a3b}){const _0x22f5cf=this['getItemById'](_0x1ba699);if(!(_0x22f5cf instanceof AIChatFeedSuggestionItemView))throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x1ba699});this['children']['filter'](_0x417149=>_0x417149 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x18e233=>{_0x18e233['setPartActive'](!0x1);}),_0x22f5cf['setPartActive'](_0x2b32ec,_0x561a3b);}['markItemAsDone'](_0x1e023e){this['getItemById'](_0x1e023e)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x33e83a=>_0x33e83a['options']['id']);}['removeItem'](_0x32afb5){this['children']['remove'](this['getItemById'](_0x32afb5));}['hasItem'](_0x4a7abd){return!!this['children']['find'](_0x3a4a69=>_0x3a4a69['options']['id']['includes'](_0x4a7abd));}['scrollToSuggestion'](_0x5047cf,_0x5c5ddc){const _0x25133d=this['getItemById'](_0x5047cf);if(!(_0x25133d instanceof AIChatFeedSuggestionItemView))return void ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x5047cf,'partIndex':_0x5c5ddc});const _0x64b37a=_0x25133d['getPartView'](_0x5c5ddc);_0x64b37a?ckeditor5['scrollAncestorsToShowTarget'](_0x64b37a['element'],0x14,this['element']['parentElement'],!0x0,!0x0):ckeditor5['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x5047cf,'partIndex':_0x5c5ddc});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x3fdc68=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x3fdc68,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x2f5774=new AISkeletonView(this['locale'],_0xbf81d8['aiFeed']);return _0x2f5774['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x357eec=>!_0x357eec)]}}),_0x2f5774;}['_createFeedItems'](){const _0x191ff1=new ckeditor5['View'](this['locale']);return _0x191ff1['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x191ff1;}['_createFeedLoader'](){const _0x46f1ba=new ckeditor5['View'](this['locale']);return _0x46f1ba['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x47cf97=>!_0x47cf97)]},'children':this['_createLoaderChildren']()}),_0x46f1ba;}['_createLoaderChildren'](){const _0x4e9fc6=new _0x1a92d9();return _0x4e9fc6['isVisible']=!0x0,[_0x4e9fc6,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x3e9b73){const _0x5d3f61=this['children']['find'](_0x5625d2=>_0x5625d2['options']['id']['includes'](_0x3e9b73));if(!_0x5d3f61)throw new ckeditor5['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x3e9b73});return _0x5d3f61;}['setLoadingMessage'](_0x5a11da){this['set']('loadingMessage',_0x5a11da);}['toggleLoadingSkeleton'](_0xc01d2a){this['set']('isLoadingSkeletonVisible',_0xc01d2a);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends ckeditor5['ListView']{['filter'](){let _0x41703d=0x0;for(const _0x191ab3 of this['items'])_0x41703d+=_0x191ab3['items']['length'];return{'resultsCount':_0x41703d,'totalItemsCount':_0x41703d};}}const _0x3c3ae9=0x320,_0x124bf7='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends ckeditor5['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x55d564,_0xc8ae90){super(_0x55d564,{'queryView':{'label':'','creator':ckeditor5['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x55d564),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0xc8ae90,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',(_0x2eaec7,_0x540739)=>!_0x2eaec7&&!_0x540739),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x2d437a,_0x548f5f)=>{this['isUploadInProgress']||this['isEmpty']||_0x2d437a['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x548f5f());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x5a599e=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x5a599e)return this['queryView']['errorText']=getTranslation$i(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x3db44b=_0x1b3765(_0x5a599e);this['fire']('sendUserMessage',_0x3db44b),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x48160e){this['queryView']['fieldView']['set']('placeholder',_0x48160e);}['focus'](_0x204b53=!0x1){super['focus'](),_0x204b53&&(this['element']['classList']['contains'](_0x124bf7)||(this['element']['classList']['add'](_0x124bf7),setTimeout(()=>{this['element']['classList']['remove'](_0x124bf7);},_0x3c3ae9)));}['_createSubmitButton'](){const _0x45797d=new ckeditor5['ButtonView'](this['locale']);return _0x45797d['set']({'icon':ckeditor5['IconSubmit'],'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button','isEnabled':!0x1}),_0x45797d['on']('execute',()=>{this['submit']();}),_0x45797d;}['setIsUploadInProgress'](_0xb4b282){this['isUploadInProgress']=_0xb4b282;}['_setUpAddContextButtonPositioning'](){const _0x4de313=this['locale'],_0x3c2b0c=()=>{ckeditor5['global']['window']['requestAnimationFrame'](()=>{if(ckeditor5['isVisible'](this['element'])){const _0x2044ab=new ckeditor5['Rect'](this['queryView']['fieldView']['element']),_0xbd81ba=new ckeditor5['Rect'](this['_addContextButtonView']['element']),_0x4fb254=_0x2044ab['width'],_0x4ed9a8='rtl'===_0x4de313['uiLanguageDirection']?'right':'left';_0x2044ab['excludeScrollbarsAndBorders']();const _0x4abbcc=_0x4fb254-_0x2044ab['width']+0x1;this['_addContextButtonView']['element']['style'][_0x4ed9a8]='calc('+(_0x4fb254-_0xbd81ba['width']-_0x4abbcc)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x3c2b0c),this['on']('render',()=>{_0x3c2b0c(),this['_queryViewResizeObserver']=new ckeditor5['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x3c2b0c();});});}}const _0x4623c6={'PROMPT_CAPABILITIES':'ck-ai-chat__prompt-capabilities','CONTROLS_BUTTON':'ck-ai-chat-controls-button','COMMANDS_BUTTON':'ck-ai-chat-controls-button--commands','TERTIARY_BUTTON':'ck-ai-button-tertiary','MODEL_SELECTION':'ck-ai-chat-controls__model-selection','MODEL_SELECTION_ITEM_NAME':'ck-ai-chat-controls__model-selection__item-name','MODEL_SELECTION_ITEM_DESCRIPTION':'ck-ai-chat-controls__model-selection__item-description','MODEL_SELECTION_ITEM_CAPABILITIES':'ck-ai-chat-controls__model-selection__item-capabilities'},_0x34c923='n';class AIChatPromptCapabilitiesView extends ckeditor5['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x44640d){super(_0x44640d),this['set']('webSearchActive',!0x1),this['set']('reasoningActive',!0x1),this['set']('modelDisplayMode','selector'),this['set']('modelSelectorEnabled',!0x0),this['set']('activeModelId',null),this['set']('activeModelName',null),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelNameView']=this['_createModelNameView'](),this['_webSearchButton']=this['_createWebSearchButton'](),this['_reasoningButton']=this['_createReasoningButton'](),this['_commandsButton']=this['_createCommandsButton'](),this['_modelSelectionDropdown']['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x72a7c0=>'selector'===_0x72a7c0),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x472c31=>_0x472c31?this['_modelSelectionDropdown']['buttonView']['label']:getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0xccdf3c=>_0xccdf3c),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x509cff=>_0x509cff),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x2dd9a5=>getTranslation$i(this['locale'],_0x2dd9a5?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x5208fb=>_0x5208fb),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x31cc4b=>getTranslation$i(this['locale'],_0x31cc4b?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x4623c6['PROMPT_CAPABILITIES']]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new ckeditor5['Collection'](),ckeditor5['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x2335b5,_0x3a5900){if(_0x3a5900)this['set']('modelDisplayMode','hidden');else{const _0x5af340=0x1===_0x2335b5['length'];this['set']('modelDisplayMode',_0x5af340?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x2335b5?.['length'])for(const _0x5a074e of _0x2335b5){const _0x283150=new ckeditor5['UIModel']({'label':_0x5a074e['name'],'withText':!0x0,'role':'menuitemradio','id':_0x5a074e['id'],'model':_0x5a074e});_0x283150['bind']('isOn')['to'](this,'activeModelId',_0x804766=>_0x804766===_0x5a074e['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x283150,'labelView':new ModelButtonLabelView$1(this['locale'],_0x5a074e)});}}['setWebSearch'](_0x5df4e3){this['set']('webSearchActive',_0x5df4e3);}['setReasoning'](_0x41d97e){this['set']('reasoningActive',_0x41d97e);}['setModel'](_0x1617a1){if(!_0x1617a1)return;this['activeModelId']=_0x1617a1['id'],this['activeModelName']=_0x1617a1['name']||_0x1617a1['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x1617a1['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x1617a1['name']);const _0x21c347=_0x1617a1['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x21c347),this['_webSearchButton']['set']('isVisible',_0x21c347);const _0xac8089=_0x1617a1['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0xac8089),this['_reasoningButton']['set']('isVisible',_0xac8089);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0xa9e584){this['set']('modelSelectorEnabled',!0x1),_0xa9e584&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x415185=new ckeditor5['ButtonView']();return _0x415185['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':ckeditor5['IconWeb'],'class':_0x4623c6['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x34c923}),_0x415185['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x415185;}['_createReasoningButton'](){const _0x30ce17=new ckeditor5['ButtonView']();return _0x30ce17['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_REASONING'),'icon':ckeditor5['IconBulb'],'class':_0x4623c6['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltipPosition':_0x34c923}),_0x30ce17['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x30ce17;}['_createCommandsButton'](){const _0x596c4a=new ckeditor5['ButtonView']();return _0x596c4a['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'icon':ckeditor5['IconAI'],'withText':!0x0,'class':_0x4623c6['CONTROLS_BUTTON'],'isToggleable':!0x0,'tooltip':getTranslation$i(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x34c923}),_0x596c4a['extendTemplate']({'attributes':{'class':[_0x4623c6['COMMANDS_BUTTON']]}}),_0x596c4a['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x596c4a;}['_createModelSelectionDropdown'](){const _0x567ee7=ckeditor5['createDropdown'](this['locale']);return _0x567ee7['set']({'panelPosition':'ne','class':[_0x4623c6['MODEL_SELECTION']]}),_0x567ee7['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x34c923,'class':_0x4623c6['TERTIARY_BUTTON']}),this['listenTo'](_0x567ee7,'execute',_0x27a729=>{this['fire']('selectModel',_0x27a729['source']['model']);}),_0x567ee7;}['_createModelNameView'](){const _0x4ed665=new _0x2093b3(this['locale']);return _0x4ed665['bind']('text')['to'](this,'activeModelName',_0xfd8a06=>_0xfd8a06??''),_0x4ed665['bind']('isVisible')['to'](this,'modelDisplayMode',_0x23ed80=>'name'===_0x23ed80),_0x4ed665;}}let ModelButtonLabelView$1=class extends ckeditor5['ButtonLabelView']{constructor(_0x5a8af3,_0x3a3b2a){super();const _0x14861c=this['bindTemplate'],_0x539e07=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x14861c['to']('style'),'id':_0x14861c['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x4623c6['MODEL_SELECTION_ITEM_NAME']]},'children':[{'text':_0x14861c['to']('text')}]},{'tag':'div','attributes':{'class':[_0x4623c6['MODEL_SELECTION_ITEM_DESCRIPTION']]},'children':[{'tag':'span','children':[{'text':_0x3a3b2a['description']}]}]},{'tag':'div','attributes':{'class':[_0x4623c6['MODEL_SELECTION_ITEM_CAPABILITIES']]},'children':_0x539e07}]}),_0x539e07['addMany'](this['_getCapabilityParts'](_0x5a8af3,ckeditor5['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x3a3b2a['capabilities']['webSearch']?.['enabled']??!0x1)),_0x539e07['addMany'](this['_getCapabilityParts'](_0x5a8af3,ckeditor5['IconBulb'],'AI_CHAT_REASONING',_0x3a3b2a['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x30026d,_0x5a60ae,_0x1962e9,_0x4a0ea6){const _0x26277f=new ckeditor5['IconView']();_0x26277f['content']=_0x5a60ae;const _0x5d0f11=new ckeditor5['View'](_0x30026d);_0x5d0f11['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x30026d,_0x1962e9)+':\x20'}]});const _0x57f75b=new ckeditor5['View'](_0x30026d);return _0x57f75b['setTemplate']({'tag':'span','children':[{'text':getTranslation$i(_0x30026d,_0x4a0ea6?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x26277f,_0x5d0f11,_0x57f75b];}},_0x2093b3=class extends ckeditor5['View']{constructor(_0x16ce1b){super(_0x16ce1b),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x1c651e=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x1c651e['if']('isVisible','ck-hidden',_0x5742f5=>!_0x5742f5)]},'children':[{'text':_0x1c651e['to']('text')}]});}};const _0x3a985f={'URL_FORM':'ck-ai-chat-context-controls__url-form','URL_INPUT_SECTION':'ck-ai-chat-context-controls__url-input-section'},_0x4ecea6='n';class AIChatContextPanelUrlInputView extends ckeditor5['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x23da7b){super(_0x23da7b),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['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 ckeditor5['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'](_0x5fe64a=>{this['focusTracker']['add'](_0x5fe64a['element']),this['keystrokes']['listenTo'](_0x5fe64a['element']);}),ckeditor5['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'](_0x33888f){this['urlInputField']['errorText']=_0x33888f,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x53ffa7=new ckeditor5['ButtonView'](this['locale']);return _0x53ffa7['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x4ecea6,'class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x2867eb,_0x175421,_0xc5b392)=>{_0x53ffa7['set']({'class':['ck-button-icon\x20ck-button-back'+(_0xc5b392?'':'\x20ck-hidden')]});}),_0x53ffa7;}['_createUrlInputField'](){const _0x514bff=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']);return _0x514bff['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x514bff['fieldView']['set']({'placeholder':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x514bff;}['_createConfirmButton'](){const _0x5775c6=new ckeditor5['ButtonView'](this['locale']);return _0x5775c6['set']({'icon':ckeditor5['IconCheck'],'tooltip':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':_0x4ecea6,'class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x5775c6;}['_setupTemplate'](){const _0x3a0f02=new ckeditor5['FormHeaderView'](this['locale'],{'label':getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0x3a0f02['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x3a985f['URL_FORM'],'tabindex':'-1'},'children':[_0x3a0f02,{'tag':'div','attributes':{'class':_0x3a985f['URL_INPUT_SECTION']},'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',_0x3a479f=>{_0x3a479f['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x5dce4b,_0x4f836b)=>{this['clear'](),this['fire']('cancel'),_0x4f836b();});}['_handleSubmit'](){const _0x3af2b2=this['getValue']()['trim']();_0x3af2b2?this['_isValidUrl'](_0x3af2b2)?(this['clearError'](),this['fire']('submitUrl',_0x3af2b2)):this['setError'](getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](getTranslation$i(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x597a73=this['getValue']()['trim'](),_0x55b732=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x597a73['length']>0x0&&!_0x55b732;}['_isValidUrl'](_0x5790cb){try{return!!new URL(_0x5790cb);}catch{return!0x1;}}}const _0x4cfe3f={'ITEM':'ck-ai-chat-resources__item','ITEM_IN_CONTEXT':'ck-ai-chat-resources__item--in-context','ITEM_TITLE':'ck-ai-chat-resources__item-title','ITEM_ICON':'ck-ai-chat-resources__item__icon'};class AIChatResourceListItemView extends ckeditor5['ListItemView']{['resource'];['_titleView'];['_iconView'];constructor(_0x2cef86,_0x37d263){super(_0x2cef86),this['resource']=_0x37d263,this['set']('isInContext',!!_0x37d263['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x750800){if(_0x750800['isInContext'])return ckeditor5['IconCheck'];switch(_0x750800['type']){case AIContextItemType['DOCUMENT']:return ckeditor5['IconDocument'];case AIContextItemType['URL']:return ckeditor5['IconLink'];case AIContextItemType['FILE']:case AIContextItemType['TEXT']:return ckeditor5['IconFileUpload'];default:return ckeditor5['IconDocumentOutline'];}}['highlightText'](_0x5d06cf){if(!_0x5d06cf||''===_0x5d06cf['trim']())return void this['_titleView']['highlightText'](null);const _0x5285ab=new RegExp(_0x25991c(_0x5d06cf),'gi');this['_titleView']['highlightText'](_0x5285ab);}['updateResourceState'](_0x88b11){this['resource']['isInContext']=_0x88b11,this['isInContext']=_0x88b11,this['_updateIcon']();}['_createTitleView'](){const _0x277720=new ckeditor5['HighlightedTextView']();return _0x277720['text']=this['resource']['label'],_0x277720['extendTemplate']({'tag':'span','attributes':{'class':[_0x4cfe3f['ITEM_TITLE']]}}),_0x277720;}['_createIconView'](){const _0x4fd2bb=new ckeditor5['IconView']();return _0x4fd2bb['content']=this['getResourceIcon'](this['resource']),_0x4fd2bb;}['_setupTemplate'](){const _0x44092c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x4cfe3f['ITEM'],_0x44092c['if']('isVisible','ck-hidden',_0x4ae6d4=>!_0x4ae6d4),_0x44092c['if']('isInContext',_0x4cfe3f['ITEM_IN_CONTEXT'])]},'children':[{'tag':'div','attributes':{'class':[_0x4cfe3f['ITEM_ICON']]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x44092c['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x4c78a2={'LIST':'ck-ai-chat-resources__list'};class AIChatContextResourcesListView extends ckeditor5['ListView']{['_source'];constructor(_0x495d5a,_0x1d1ccc){super(_0x495d5a),this['_source']=_0x1d1ccc,this['extendTemplate']({'attributes':{'class':[_0x4c78a2['LIST']]}});}['setResources'](_0x290c22,_0xab8956){this['items']['clear']();let _0xe7b610=_0x290c22;if(this['_source']['useDefaultFiltering']&&_0xab8956&&''!==_0xab8956['trim']()){const _0x10a013=new RegExp(_0xab8956['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0xe7b610=_0x290c22['filter'](_0x205b24=>_0x10a013['test'](_0x205b24['label']));}for(const _0x3045ec of _0xe7b610){const _0x1ba544=new AIChatResourceListItemView(this['locale'],_0x3045ec);_0x1ba544['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x3045ec);}),this['items']['add'](_0x1ba544);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0xab8956);}['highlightText'](_0x3c5cc8){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x142cef=>{_0x142cef['highlightText'](_0x3c5cc8);});}['updateResourceState'](_0x3286ff,_0x299b30){for(const _0x2a41cc of this['items']){const _0x1467a1=_0x2a41cc;_0x1467a1['resource']['id']===_0x3286ff&&_0x1467a1['updateResourceState'](_0x299b30);}}['_handleResourceSelection'](_0x5d48f2,_0x441164){this['fire']('addResourceToContext',{'source':_0x5d48f2,'resource':_0x441164});}}class AIChatContextResourcesSearchInputView extends ckeditor5['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x3cd2a2){const t=_0x3cd2a2['t'],_0x4a7368={'showResetButton':!0x0,'showIcon':!0x0,'creator':ckeditor5['createLabeledInputText'],'label':getTranslation$i(_0x3cd2a2,'AI_CHAT_SEARCH_RESOURCES')};super(_0x3cd2a2,_0x4a7368['creator']),this['label']=_0x4a7368['label'],this['_viewConfig']=_0x4a7368,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x3cd2a2,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x3e6ec0){this['fire']('search',_0x3e6ec0);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new ckeditor5['IconView'](),this['iconView']['content']=ckeditor5['IconLoupe'],this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x46e6f2,t){this['resetButtonView']=new ckeditor5['ButtonView'](_0x46e6f2),this['resetButtonView']['set']({'label':t('Clear'),'icon':ckeditor5['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',_0x33ecc9=>!_0x33ecc9),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);}}class AIChatContextResourcesView extends ckeditor5['View']{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x4630ee,_0x3964bc){super(_0x4630ee),this['_source']=_0x3964bc['source'],this['_searchInputVisibleFrom']=_0x3964bc['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 ckeditor5['ViewCollection']([this['_skeletonLoader'],this['_resourcesListView']]),this['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat-resources'},'children':this['children']});}['_createSearchView'](){return new AIChatContextResourcesSearchInputView(this['locale']);}['_createSearchSection'](){const _0x5924eb=new ckeditor5['View'](this['locale']);return _0x5924eb['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x5f1b0d,_0x87422e)=>{this['loadResources'](_0x87422e),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x87422e);}),_0x5924eb;}['_createResourcesListView'](){const _0x1db4db=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x1db4db['delegate']('addResourceToContext')['to'](this),_0x1db4db['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x1db4db;}['_createSkeletonView'](){const _0x256798=new AISkeletonView(this['locale'],_0xbf81d8['aiChatResources']);return _0x256798['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x31c2a8=>!_0x31c2a8)]}}),_0x256798;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x20335c){const _0x4aa6b3=ckeditor5['uid']();this['_latestLoadResourcesUid']=_0x4aa6b3,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x20335c,'uid':_0x4aa6b3}),this['isLoading']=!0x0;}['setResources'](_0x58d755,_0x2d97e2){if(_0x2d97e2&&_0x2d97e2!==this['_latestLoadResourcesUid'])return;const _0x427f02=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x58d755,_0x427f02),_0x58d755['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x5d3654,_0x3fa396){this['_resourcesListView']['updateResourceState'](_0x5d3654,_0x3fa396);}}const _0x58c997={'SOURCE_BALLOON_PANEL':'ck-ai-chat-context-controls__source-balloon-panel','SOURCE_BACK_BUTTON':'ck-button-icon\x20ck-button-back','SOURCE_HEADER':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source'},_0x4219f6='n';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x2a5d90,_0x2ab8c9,_0x4ee589){this['_locale']=_0x2a5d90,this['_bodyCollection']=_0x2ab8c9,this['_config']=_0x4ee589;}['showSourceResourcesBalloon']({source:_0x38361b,withBackButton:_0x452d86}){let _0x1c1289=this['_sourceResourceBalloons']['get'](_0x38361b['id']);_0x1c1289||(_0x1c1289=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x38361b['id'],_0x1c1289),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x1c1289)),this['_addSourceResourceContent']({'balloonPanel':_0x1c1289,'source':_0x38361b,'withBackButton':_0x452d86}),_0x1c1289['show']();const _0x5a75fb=this['_config']['getTargetElement']();_0x5a75fb&&_0x1c1289['pin']({'target':_0x5a75fb,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x61a24a,_0x32490e,_0x341c5e){const _0x1cef68=this['_sourceResourceBalloons']['get'](_0x61a24a);if(!_0x1cef68)return;const _0x1fed96=this['_getResourcesViewFromBalloon'](_0x1cef68);_0x1fed96&&(_0x1fed96['setResources'](_0x32490e,_0x341c5e),_0x1fed96['once']('change:isLoading',()=>{_0x1cef68['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x5af3f9){const _0x578dbe=this['_sourceResourceBalloons']['get'](_0x5af3f9);_0x578dbe&&requestAnimationFrame(()=>{_0x578dbe['hide'](),this['_sourceResourceBalloons']['delete'](_0x5af3f9),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x5cf318 of this['_sourceResourceBalloons']['values']())if(_0x5cf318['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x506d24,_0x5de65c,_0x4b5d09){const _0x564ab0=this['_sourceResourceBalloons']['get'](_0x506d24);if(!_0x564ab0||!_0x564ab0['isVisible'])return;const _0x3a16fa=this['_config']['getTargetElement']();if(!_0x3a16fa)return;_0x564ab0['pin']({'target':_0x3a16fa,'limiter':this['_config']['getLimiterElement']()});const _0x5cd75f=this['_getResourcesViewFromBalloon'](_0x564ab0);_0x5cd75f&&_0x5cd75f['updateResourceState'](_0x5de65c,_0x4b5d09);}['destroy'](){for(const _0x53e7cd of this['_sourceResourceBalloons']['values']())_0x53e7cd['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x2a57b4=new ckeditor5['BalloonPanelView'](this['_locale']);return _0x2a57b4['extendTemplate']({'attributes':{'class':_0x58c997['SOURCE_BALLOON_PANEL']}}),this['_bodyCollection']['add'](_0x2a57b4),_0x2a57b4;}['_addSourceResourceContent']({balloonPanel:_0x49e108,source:_0x3c56db,withBackButton:_0x3f259c}){_0x49e108['content']['clear']();const _0x2d106a=this['_createBalloonHeader']({'balloonPanel':_0x49e108,'source':_0x3c56db,'withBackButton':_0x3f259c});_0x49e108['content']['add'](_0x2d106a);const _0x50df3f=this['_createBalloonResourcesView'](_0x3c56db);_0x49e108['content']['add'](_0x50df3f);}['_createBalloonHeader']({balloonPanel:_0x3e6997,source:_0x4bc5af,withBackButton:_0x14fcb1}){const _0x3eaf81=new ckeditor5['FormHeaderView'](this['_locale'],{'label':_0x4bc5af['label'],'class':_0x58c997['SOURCE_HEADER']});return _0x14fcb1&&_0x3eaf81['children']['add'](this['_createBackButton'](_0x3e6997),0x0),_0x3eaf81;}['_createBackButton'](_0x3351ad){const _0xf265ef=new ckeditor5['ButtonView'](this['_locale']);return _0xf265ef['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':_0x4219f6,'class':_0x58c997['SOURCE_BACK_BUTTON']}),_0xf265ef['on']('execute',()=>{_0x3351ad['hide'](),this['_config']['onBackToContext']();}),_0xf265ef;}['_createBalloonResourcesView'](_0x487cf6){const _0x73119b=new AIChatContextResourcesView(this['_locale'],{'source':_0x487cf6,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x73119b['on']('loadSourceResources',(_0x24774d,_0x4d54e4)=>{this['_config']['onLoadSourceResources'](_0x4d54e4);}),_0x73119b['on']('addResourceToContext',(_0x3a67ea,_0x85e996)=>{this['_config']['onResourceSelected'](_0x85e996['source'],_0x85e996['resource']),this['closeSourceResourceBalloon'](_0x487cf6['id']);}),_0x73119b;}['_getResourcesViewFromBalloon'](_0xeda45){const _0x15b682=_0xeda45['content']['get'](0x1);return _0x15b682 instanceof AIChatContextResourcesView?_0x15b682:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x19e44f){ckeditor5['clickOutsideHandler']({'emitter':_0x19e44f,'contextElements':[_0x19e44f['element']],'callback':()=>{_0x19e44f['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x19e44f['isVisible']});}}const _0x10476f=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x50bf45={'CONTEXT_CONTROLS':'ck-ai-chat-context-controls','PENDING_CONTEXTS':'ck-ai-chat-context-controls__pending-contexts','ADD_CONTEXT_BALLOON':'ck-ai-chat-context-controls__add-context-balloon-panel','ADD_CONTEXT_BUTTON':'ck-ai-chat-context-controls__add-context-button','URL_BALLOON':'ck-ai-chat-context-controls__url-balloon-panel','BALLOON_BUTTON':'ck-ai-chat-context-controls__balloon-button','BALLOON_BUTTON_SOURCE':'ck-ai-chat-context-controls__balloon-button-source','CONTROLS_BUTTON':'ck-ai-chat-controls-button','CONVERSATION_CONTEXT_CHIPS':'ck-ai-chat-context-chips-wrapper-balloon','SHOW_MORE_BUTTON':'ck-ai-chat-controls_context_show-more-button','SHOW_MORE_BALLOON':'ck-ai-chat-context-controls__show-more-balloon-panel','CHAT_CONTAINER':'ck-ai-chat'},_0xa6169f='sw',_0x20f690=[ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouth'],ckeditor5['BalloonPanelView']['defaultPositions']['northArrowSouthEast'],ckeditor5['BalloonPanelView']['defaultPositions']['southArrowNorthWest'],ckeditor5['BalloonPanelView']['defaultPositions']['southArrowNorth'],ckeditor5['BalloonPanelView']['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends ckeditor5['View']{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x59f8c3,_0x5eb71d){super(_0x59f8c3),this['bodyCollection']=_0x5eb71d['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x59f8c3),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x59f8c3),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x59f8c3),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x59f8c3,_0x5eb71d);const _0x3e5ea9={'cssClasses':{'showMoreButton':_0x50bf45['SHOW_MORE_BUTTON'],'showMoreBalloon':_0x50bf45['SHOW_MORE_BALLOON'],'overflowContainer':_0x50bf45['CONVERSATION_CONTEXT_CHIPS'],'controlsButton':_0x50bf45['CONTROLS_BUTTON']}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x59f8c3,this['_currentContextsChips'],_0x3e5ea9,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'](_0x1fe2f6,_0x546ba9){const _0x475880=this['_createContextButton'](_0x1fe2f6,'current',!0x0,_0x546ba9);this['_addContextToCollection'](_0x475880,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x353cb1){this['_removeContextFromCollection'](_0x353cb1,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x353cb1,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x264a77,_0x4dd4ff){let _0x48dd36=this['_currentContextsChips']['find'](_0x5e11ad=>_0x5e11ad['id']===_0x264a77);_0x48dd36||(_0x48dd36=this['_overflowManager']['overflowChips']['find'](_0x3be011=>_0x3be011['id']===_0x264a77)),_0x48dd36&&(_0x48dd36['isLoading']=_0x4dd4ff);}['setConversationContext'](_0x48cf31){this['_conversationContextsChips']['clear']();for(const _0x53e898 of _0x48cf31){const _0x51d907=this['_createContextButton'](_0x53e898,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x51d907,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x49035c,_0x24479b,_0x3a0eef){this['_resourcesBalloonView']['updateResourceState'](_0x49035c,_0x24479b,_0x3a0eef);}['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;}['_showSourceResourcesBalloon']({source:_0x264bb3,withBackButton:_0x4238d9}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x264bb3,'withBackButton':_0x4238d9}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x5f2fa6,_0x53047e,_0xd3204,_0x1db4c1){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x5f2fa6,_0xd3204,_0x1db4c1);}['closeSourceResourceBalloon'](_0x5dbb84){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x5dbb84),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x3f4c1f){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x3f4c1f),this['_setAddContextButtonEnabled'](_0x3f4c1f);}['_setAddContextButtonEnabled'](_0x1d759a){const _0x33d26a=!_0x1d759a['document']['isHidden']&&_0x1d759a['document']['enabled'],_0x151bd8=_0x1d759a['urls']['enabled'],_0x2d88d5=_0x1d759a['files']['enabled'],_0x4782b0=_0x1d759a['sources']['length']>0x0,_0x179ac5=_0x1d759a['customItems']&&_0x1d759a['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x33d26a||_0x151bd8||_0x2d88d5||_0x4782b0||_0x179ac5;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x50bf45['CONTEXT_CONTROLS'],'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x50bf45['PENDING_CONTEXTS']},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x3245cb){const _0x4399ac=new ckeditor5['ButtonView'](_0x3245cb);return _0x4399ac['set']({'label':getTranslation$i(_0x3245cb,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x50bf45['CONTROLS_BUTTON']+'\x20'+_0x50bf45['ADD_CONTEXT_BUTTON'],'icon':ckeditor5['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':_0xa6169f}),_0x4399ac;}['_createAddContextBalloonPanelView'](_0x4afd9d){return this['_createBaseBalloonPanel'](_0x4afd9d,_0x50bf45['ADD_CONTEXT_BALLOON']);}['_createUrlBalloonPanelView'](_0x13ac06){const _0x1341a1=this['_createBaseBalloonPanel'](_0x13ac06,_0x50bf45['URL_BALLOON']);return this['_addUrlContent'](_0x1341a1,_0x13ac06),_0x1341a1;}['_createResourcesBalloonView'](_0x1d1798,_0x5779ef){const _0x4aa197={'searchInputVisibleFrom':_0x5779ef['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x20f690});},'onResourceSelected':(_0x557068,_0x32c116)=>{this['fire']('addResourceToContext',{'source':_0x557068,'resource':_0x32c116});},'onLoadSourceResources':_0x411c1c=>{this['fire']('loadSourceResources',_0x411c1c);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x1d1798,_0x5779ef['bodyCollection'],_0x4aa197);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x50bf45['CHAT_CONTAINER'])||document['body'];}['_createBaseBalloonPanel'](_0x4754b5,_0x4ab0cc){const _0x1687a=new ckeditor5['BalloonPanelView'](_0x4754b5);return _0x1687a['extendTemplate']({'attributes':{'class':_0x4ab0cc}}),this['bodyCollection']['add'](_0x1687a),_0x1687a;}['_setBalloonPanelContent'](_0x1ca41b,_0x550295,_0x5d4fa4){if(_0x1ca41b['content']['clear'](),!_0x5d4fa4['document']['isHidden']&&_0x5d4fa4['document']['enabled']){const _0x257c5e=this['_createBalloonButton'](_0x550295,{'label':getTranslation$i(_0x550295,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':ckeditor5['IconDocument']});_0x257c5e['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x1ca41b['content']['add'](_0x257c5e);}if(_0x5d4fa4['urls']['enabled']){const _0x28bc44=this['_createBalloonButton'](_0x550295,{'label':getTranslation$i(_0x550295,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':ckeditor5['IconLink']});_0x28bc44['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x20f690}),this['_urlInputView']['focus']();}),_0x1ca41b['content']['add'](_0x28bc44);}if(_0x5d4fa4['files']['enabled']){const _0x8ed64f=new ckeditor5['FileDialogButtonView'](_0x550295);_0x8ed64f['set']({'label':getTranslation$i(_0x550295,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':ckeditor5['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x50bf45['BALLOON_BUTTON'],'allowMultipleFiles':!0x0}),_0x8ed64f['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x8ed64f['on']('done',(_0x511645,_0x164564)=>{this['fire']('addFileToContext',_0x164564);}),_0x8ed64f['tooltip']=!0x0,_0x1ca41b['content']['add'](_0x8ed64f);}for(const _0x1f71ab of _0x5d4fa4['sources']){const _0x6e9c92=this['_createBalloonButton'](_0x550295,{'label':_0x1f71ab['label'],'icon':_0x1f71ab['icon']||ckeditor5['IconDocumentOutline'],'type':'source'});_0x1ca41b['content']['add'](_0x6e9c92),_0x6e9c92['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x1f71ab,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x405fc0 of _0x5d4fa4['customItems']||[]){const _0x4be062=this['_createBalloonButton'](_0x550295,{'label':_0x405fc0['label'],'icon':_0x405fc0['icon']||ckeditor5['IconDocumentOutline'],'type':'customItem'});_0x1ca41b['content']['add'](_0x4be062),_0x4be062['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x405fc0);});}this['_hasExactlyOneSource']=0x1===_0x1ca41b['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x1d65f0,_0x3ea065){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x3ea065),this['_urlInputView']['on']('submitUrl',(_0x11e558,_0x588bd4)=>{this['_handleUrlSubmit'](_0x588bd4);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x20f690}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x20f690});}),_0x1d65f0['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x2d63e6,_0x3a6cdb){const _0x3e487e='source'===_0x3a6cdb['type']?new SourcesBalloonButtonView(_0x2d63e6):new ckeditor5['ButtonView'](_0x2d63e6);return _0x3e487e['set']({'label':_0x3a6cdb['label'],'icon':_0x3a6cdb['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0xa6169f,'class':_0x50bf45['BALLOON_BUTTON']}),_0x3e487e;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){ckeditor5['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x3432fb){const _0x14d203=this['_addContextBalloonConfig'];_0x14d203['buttonView']['isOn']=_0x3432fb,_0x3432fb?_0x14d203['balloonView']['show']():_0x14d203['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x5b4614,buttonView:_0x291eb8,hideMethod:_0x38b7e7}=this['_addContextBalloonConfig'];ckeditor5['clickOutsideHandler']({'emitter':_0x5b4614,'contextElements':[_0x5b4614['element'],_0x291eb8['element']],'callback':()=>{_0x38b7e7();},'activator':()=>_0x291eb8['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x51ec1e,_0x5ded75,_0x4e32b6=!0x1,_0x5839b3=!0x1){const _0x1b19b8='conversation'===_0x5ded75||!0x0===_0x51ec1e['isReadOnly'],_0x30a568=new AIChatContextItemButtonView(this['locale'],_0x51ec1e,_0x1b19b8,_0x4e32b6,_0x5839b3);return _0x1b19b8||_0x30a568['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x30a568['id']);}),_0x30a568;}['_addContextToCollection'](_0x5e51ea,_0x3bae6a){_0x3bae6a['add'](_0x5e51ea,0x0);}['_removeContextFromCollection'](_0x2b912b,_0x3107b6){const _0x2e675e=_0x3107b6['find'](_0x40659c=>_0x40659c['id']===_0x2b912b);_0x2e675e&&_0x3107b6['remove'](_0x2e675e);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x20f690}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x318610){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x318610);}}class SourcesBalloonButtonView extends ckeditor5['ButtonView']{['arrowView'];constructor(_0x5547b2){super(_0x5547b2),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x50bf45['BALLOON_BUTTON_SOURCE']]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0xf6929e=new ckeditor5['IconView']();return _0xf6929e['content']=ckeditor5['IconDropdownArrow'],_0xf6929e['extendTemplate']({'attributes':{'class':_0x50bf45['BALLOON_BUTTON_SOURCE']+'__arrow'}}),_0xf6929e;}}class AIChatControlsLoaderView extends ckeditor5['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x432a69){super(_0x432a69),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 _0x5e88fa=new ckeditor5['ButtonView'](this['locale']);return _0x5e88fa['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-button-stop-generating','icon':ckeditor5['IconStop']}),_0x5e88fa['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x5e88fa;}['_createLoaderView'](){const _0x62472b=new ckeditor5['View'](this['locale']);return _0x62472b['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':getTranslation$i(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x62472b;}}class AIChatControlsView extends ckeditor5['View']{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x2eab20,_0x1c5908){super(_0x2eab20),this['_contextPanelView']=this['_createContextPanelView'](_0x2eab20,{'bodyCollection':_0x1c5908['bodyCollection'],'searchInputVisibleFrom':_0x1c5908['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x2eab20),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x2eab20),this['_loaderView']=this['_createLoaderView'](_0x2eab20),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x2eab20),this['_shouldRestorePromptInputFocus']=!0x1,this['_promptInputView']['delegate']('sendUserMessage')['to'](this),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'](..._0x10476f)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x10e467=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x10e467['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x10e467['if']('isLoading','ck-hidden',_0x58a849=>_0x58a849||!this['isModelAvailable']),_0x10e467['if']('isModelAvailable','ck-hidden',_0x3af489=>!_0x3af489||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x10e467['if']('isLoading','ck-hidden',_0x11453c=>!_0x11453c)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x10e467['if']('isModelAvailable','ck-hidden',_0x347bf9=>_0x347bf9)]},'children':[this['_modelUnavailableMessageView']]}]}),ckeditor5['clickOutsideHandler']({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['_createContextPanelView'](_0x2d1cb7,_0x5bff85){return new AIChatContextPanelView(_0x2d1cb7,_0x5bff85);}['_createPromptInputView'](_0x35441c){return new AIChatPromptInputView(_0x35441c,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x2d3239){return new AIChatPromptCapabilitiesView(_0x2d3239);}['_createLoaderView'](_0x102237){return new AIChatControlsLoaderView(_0x102237);}['_createModelUnavailableMessageView'](_0x28c7ad){const _0x427d63=new AIChatModelUnavailableMessageView(_0x28c7ad);return _0x427d63['delegate']('startConversation')['to'](this),_0x427d63;}['_handlePromptInputFocus'](_0x23731b,_0x27d123,_0x3833af){_0x3833af?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x9b7c59,_0x454f63){this['_contextPanelView']['addContextItem'](_0x9b7c59,_0x454f63);}['removeContextItem'](_0xcdc765){this['_contextPanelView']['removeContextItem'](_0xcdc765);}['setContextItemLoading'](_0x566f78,_0x125308){this['_contextPanelView']['setContextItemLoading'](_0x566f78,_0x125308);}['setIsUploadInProgress'](_0xde38a7){this['_promptInputView']['setIsUploadInProgress'](_0xde38a7);}['setConversationContext'](_0x27db43){this['_contextPanelView']['setConversationContext'](_0x27db43);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x255608,_0x4b729a,_0x344802){this['_contextPanelView']['updateResourceState'](_0x255608,_0x4b729a,_0x344802);}['setWebSearch'](_0xb6275f){this['_promptCapabilitiesView']['setWebSearch'](_0xb6275f);}['setReasoning'](_0xae895b){this['_promptCapabilitiesView']['setReasoning'](_0xae895b);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x2c8bb2){this['_contextPanelView']['setAddContextOptions'](_0x2c8bb2);}['setInputPlaceholder'](_0x43b13d){this['_promptInputView']['setPlaceholderText'](_0x43b13d);}['setModelList'](_0x3423c4,_0x91d7a9){this['_promptCapabilitiesView']['setModelList'](_0x3423c4,_0x91d7a9);}['setModel'](_0x5629b8){_0x5629b8?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x5629b8)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x2b933b){this['_promptCapabilitiesView']['disableModelSelector'](_0x2b933b);}['populateSourceResourceBalloon'](_0x19fb36,_0x23dcf2,_0xc309c4,_0x1b2cc6){this['_contextPanelView']['populateSourceResourceBalloon'](_0x19fb36,_0x23dcf2,_0xc309c4,_0x1b2cc6);}['closeSourceResourceBalloon'](_0x2c8139){this['_contextPanelView']['closeSourceResourceBalloon'](_0x2c8139);}['focusPromptInput'](_0x34f410=!0x1){this['_promptInputView']['focus'](_0x34f410);}['setPromptInputValue'](_0x4962fd){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x4962fd;}}class AIChatModelUnavailableMessageView extends ckeditor5['View']{constructor(_0x3057ec){super(_0x3057ec);const _0x4b1c4b=new ckeditor5['ButtonView'](_0x3057ec);_0x4b1c4b['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x4b1c4b['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':getTranslation$i(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x4b1c4b]}]});}}class AIChatHeaderView extends ckeditor5['FormHeaderView']{['conversationStartButton'];['resizeButton'];constructor(_0x10dbdf,_0x26572b){super(_0x10dbdf,{'label':getTranslation$i(_0x10dbdf,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':ckeditor5['IconAIChat']}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x10dbdf),this['children']['add'](this['conversationStartButton']),_0x26572b&&(this['resizeButton']=createResizeButton(_0x10dbdf,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0x3cca3b){const _0x147ea6=new ckeditor5['ButtonView'](_0x3cca3b);return _0x147ea6['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x147ea6['on']('execute',()=>{this['fire']('startConversation');}),_0x147ea6;}}class _0x1ab607 extends ckeditor5['View']{constructor(_0x401c83){super(_0x401c83),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':getTranslation$i(_0x401c83,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends ckeditor5['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x279447,_0x133f25){super(_0x279447),this['_bodyCollection']=new ckeditor5['BodyCollection'](_0x279447),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x279447,_0x133f25['showResizeButton']),this['chatHeader']['delegate'](..._0x2501ff)['to'](this),this['chatFeed']=new AIChatFeedView(_0x279447,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x2501ff)['to'](this),this['chatControls']=new AIChatControlsView(_0x279447,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x133f25['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](..._0x2501ff)['to'](this),this['chatDisclaimer']=new _0x1ab607(_0x279447),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x279447['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x2c310d,_0x4b8d71,_0x20bd99,_0x4a5ade){this['chatControls']['populateSourceResourceBalloon'](_0x2c310d,_0x4b8d71,_0x20bd99,_0x4a5ade);}['closeSourceResourceBalloon'](_0x4480ca){this['chatControls']['closeSourceResourceBalloon'](_0x4480ca);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}const _0xd20859=0x1e;class AIChatUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x415310];}['_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;constructor(_0x282746){super(_0x282746);const _0x2cd66f=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x3ad7db(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x2cd66f['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate'](..._0x2501ff)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x573b4f,{showDiff:_0xd32057})=>{this['showDiff']=_0xd32057;}),_0x2cd66f['view']['addTab']({'id':'chat','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':ckeditor5['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x31dd05=>_0x31dd05),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x2b5ed3=>_0x2b5ed3),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0xc74111){const _0x1f92a0=this['context']['config']['get']('ai.chat.welcomeMessage')??getTranslation$i(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0xc74111['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x1f92a0}),this['fire']('conversationCreated');}['addFeedItemStaticMessage']({id:_0x42fd50,staticMessage:_0x3e4f0e}){this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x42fd50,'initialContent':'<p>'+_0x3e4f0e+'</p>'});}['addFeedItemUserMessage'](_0x2721b4){const _0x1d6ce2=_0x2721b4['attributes']?.['displayedPrompt']||_0x2721b4['userMessage'];this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x2721b4['contextItems']['values']()),'initialContent':'<p>'+_0x1d6ce2+'</p>','id':_0x2721b4['id']});}['addFeedItemError']({errorMessage:_0x353f02,id:_0x2f0275}){this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x353f02+'</p>','id':_0x2f0275});}['addFeedItemAIReply'](_0x44c396){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x44c396['interactionId']+':'+_0x44c396['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x27140e){const _0x10053d=getEditorFromContext(this['context']);let _0x2c1742=_0x10053d['config']['get']('ai.availableReplyActions')||[..._0x155f5c];if(_0x10053d['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x83bb85=_0x10053d['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x83bb85,'value');}}else _0x2c1742=_0x2c1742['filter'](_0xda3bfc=>'insertSuggestion'!=_0xda3bfc);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x27140e['interactionId']+':'+_0x27140e['id'],'areActionsDisabled':_0x27140e['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x2c1742}),this['clearLoadingMessage']();});}['addFeedInteractionHeader'](_0x31d8f8,_0x4720f8){const _0x2de723=this['_view']['chatFeed']['children']['last'];if(_0x2de723 instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x2de723),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x31d8f8['id'],'capabilities':{'isWebSearchEnabled':_0x2de723['capabilities']['isWebSearchEnabled']||_0x4720f8['isWebSearchEnabled'],'isReasoningEnabled':_0x2de723['capabilities']['isReasoningEnabled']||_0x4720f8['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x31d8f8['id'],'capabilities':_0x4720f8});}async['addFeedItemCustomElement'](_0x1ad1b5,_0x914256){let _0x14e230;return await this['_promiseQueue']['enqueue'](async()=>{_0x14e230=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x1ad1b5,'id':_0x914256});}),_0x14e230;}['removeFeedItem'](_0x5b027f){this['_view']['chatFeed']['removeItem'](_0x5b027f);}['hasFeedItem'](_0x329d59){return this['_view']['chatFeed']['hasItem'](_0x329d59);}['updateFeedInteractionHeader'](_0x560679){const _0x51186e=this['_view']['chatFeed']['children']['find'](_0x5a2719=>_0x5a2719['options']['id']==_0x560679['id']&&_0x5a2719 instanceof AIChatFeedInteractionHeaderView);_0x51186e&&_0x51186e['set']('isVisible',_0x560679['isVisible']);}async['updateFeedItemAIReplyContent'](_0x25f28f){const _0x4a2e56=_0x25f28f['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x3de9d3=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x25f28f,'abortSignal':_0x3de9d3,'renderingStrategy':_0x4a2e56}),_0x25f28f['isDone']&&this['markFeedItemAsDone'](_0x25f28f['id']);});}['updateFeedItemAIReplySources'](_0x117031,_0x34a31a){this['_view']['chatFeed']['updateWebSources'](_0x117031,_0x34a31a);}async['updateFeedItemAIReplySuggestionContent'](_0xed0ed7){const _0x38c097=_0xed0ed7['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0xf65fbd=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0xed0ed7,'abortSignal':_0xf65fbd,'renderingStrategy':_0x38c097}),_0xed0ed7['isDone']&&this['markFeedItemAsDone'](_0xed0ed7['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x2d12c0){this['_view']['chatFeed']['updateSuggestionPartState'](_0x2d12c0);}['setFeedItemAIReplySuggestionPartActive'](_0x86b9c9){this['_view']['chatFeed']['setSuggestionPartActive'](_0x86b9c9);}['markFeedItemAsDone'](_0x2379bd){this['_view']['chatFeed']['markItemAsDone'](_0x2379bd);}['removeFeedInteraction'](_0x3306cd){this['_view']['chatFeed']['getItemIds']()['filter'](_0x374a6d=>_0x374a6d['startsWith'](_0x3306cd))['forEach'](_0x2d5a8b=>this['_view']['chatFeed']['removeItem'](_0x2d5a8b));}['startInteraction'](){const _0x4cf681=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x4cf681),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x57b261){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x703580=>_0x703580['startsWith'](_0x57b261['id']))['forEach'](_0x563e58=>this['markFeedItemAsDone'](_0x563e58)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x2a7f47,_0x4d4cfb){this['_view']['chatControls']['addContextItem'](_0x2a7f47,_0x4d4cfb);}['removeContextItem'](_0x3a0c07){this['_view']['chatControls']['removeContextItem'](_0x3a0c07);}['setContextItemLoading'](_0x4eed9d,_0x50ab44){this['_view']['chatControls']['setContextItemLoading'](_0x4eed9d,_0x50ab44);}['setIsUploadInProgress'](_0x3911a8){this['_view']['chatControls']['setIsUploadInProgress'](_0x3911a8);}['setConversationContext'](_0x206e22){this['_view']['chatControls']['setConversationContext'](_0x206e22);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x14ae3c,_0x4bd7fb,_0x3d1743){this['_view']['chatControls']['updateResourceState'](_0x14ae3c,_0x4bd7fb,_0x3d1743);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x60a041){this['_view']['chatControls']['setAddContextOptions'](_0x60a041);}['updateCapabilities'](_0x454cb0){this['_view']['chatControls']['setWebSearch'](_0x454cb0['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x454cb0['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x454cb0));}['setSelectedModel'](_0x15e380,_0x232cb0){this['_view']['chatControls']['setModel'](_0x15e380),_0x232cb0&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x3c605c){this['feedItemRenderingStrategy']=_0x3c605c;}['toggleLoadingSkeleton'](_0x1ce69c){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x1ce69c);}['resetConversationTitle'](){this['setConversationTitle'](getTranslation$i(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x3c3392,_0x178d31=!0x1){if(_0x178d31&&!ckeditor5['_isMotionReduced']()&&_0x3c3392['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x3c3392);this['_view']['chatHeader']['label']=_0x3c3392;}['setLoadingMessage'](_0x32679d){this['_view']['chatFeed']['setLoadingMessage'](_0x32679d);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x3c1087){let _0x47dbd8=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x3c1087[_0x47dbd8],_0x47dbd8++,_0x47dbd8===_0x3c1087['length']&&clearInterval(this['_titleAnimationInterval']);},_0xd20859);}['setIsMaximized'](_0x1362f9){this['_view']['chatHeader']['isMaximized']=_0x1362f9;}['prepareLoadingMessage'](_0x23d0e8){return _0x23d0e8['isWebSearchEnabled']&&_0x23d0e8['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x23d0e8['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x23d0e8['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x5110b9){return _0x5110b9?_0x5110b9['isWebSearchEnabled']&&_0x5110b9['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x5110b9['isWebSearchEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x5110b9['isReasoningEnabled']?getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):getTranslation$i(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x3a37bb,_0x21535d,_0x5b6716,_0x574069){this['_view']['populateSourceResourceBalloon'](_0x3a37bb,_0x21535d,_0x5b6716,_0x574069);}['closeSourceResourceBalloon'](_0x1d8108){this['_view']['closeSourceResourceBalloon'](_0x1d8108);}['setPromptInputValue'](_0x342225){this['_view']['chatControls']['setPromptInputValue'](_0x342225);}['focusPromptInput'](_0x499ec4=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x499ec4);}['scrollFeedToSuggestion'](_0x5b570f,_0x26aee7){this['_view']['chatFeed']['scrollToSuggestion'](_0x5b570f,_0x26aee7);}['startAutoScroll'](){this['_view']['chatFeed']['startAutoScroll']();}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends ckeditor5['ListView']{['sections'];constructor(_0x58452b,_0x1d31a6){super(_0x58452b),this['sections']=_0x1d31a6,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x4ac86f){let _0x4c6098=0x0,_0x3552df=0x0;for(const _0x494d57 of this['sections']){const {resultsCount:_0x5ec560,totalItemsCount:_0x86e729}=_0x494d57['filter'](_0x4ac86f);_0x4c6098+=_0x5ec560,_0x3552df+=_0x86e729;}return{'resultsCount':_0x4c6098,'totalItemsCount':_0x3552df};}}class AIChatHistoryListView extends ckeditor5['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x51ecff,{title:_0x2f4627,items:_0x13f955}){super(_0x51ecff);const _0x4764f5=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x2f4627,this['itemsViews']=_0x13f955;const _0x3abfcc=new ckeditor5['View'](_0x51ecff);_0x3abfcc['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new ckeditor5['ListView'](_0x51ecff),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x4764f5['if']('isVisible','ck-hidden',_0x34b9e0=>!_0x34b9e0)]},'children':[_0x3abfcc,this['_itemsListView']]});}['filter'](_0x3e8ffc){const _0x6aca04=this['itemsViews']['length'];let _0x2d0a3f=0x0;for(const _0x236c10 of this['itemsViews']){if(_0x3e8ffc){const _0x289930=_0x236c10['isMatching'](_0x3e8ffc);_0x236c10['isVisible']=!!_0x289930,_0x236c10['highlightText'](_0x3e8ffc);}else _0x236c10['isVisible']=!0x0,_0x236c10['highlightText'](null);_0x236c10['isVisible']&&_0x2d0a3f++;}return this['isVisible']=_0x2d0a3f>0x0,{'resultsCount':_0x2d0a3f,'totalItemsCount':_0x6aca04};}['getItem'](_0x51cfde){return this['itemsViews']['find'](_0x2688de=>_0x2688de['id']===_0x51cfde);}['removeItem'](_0x1b837d){const _0x49e467=this['itemsViews']['indexOf'](_0x1b837d);-0x1!==_0x49e467&&(this['itemsViews']['splice'](_0x49e467,0x1),this['_itemsListView']['items']['remove'](_0x1b837d));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0x3ef023(ckeditor5['ListItemView']){['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(_0x1cfa76,_0x867a71){super(_0x1cfa76);const _0x3b1948=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x867a71['pinned']),this['set']('loadingState',null),this['id']=_0x867a71['id'];const {title:_0x1d8496,createdAt:_0x39cca7,active:_0x984fa2=!0x1}=_0x867a71;this['_titleView']=new ckeditor5['HighlightedTextView'](),this['_titleView']['text']=_0x1d8496,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x1d8f09=this['_createCheckView'](),_0x1951ec=this['_createPinButtonView'](_0x1cfa76),_0x533036=this['_createMenuDropdownView'](),_0x38bed5=this['_createEditInputView'](_0x1cfa76,_0x1d8496),_0x229b18=this['_createAcceptEditButtonView'](_0x1cfa76,_0x38bed5),_0x20a5cb=this['_createCancelEditButtonView'](_0x1cfa76,_0x38bed5);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x1951ec),this['actions']['add'](_0x533036),this['on']('change:isEdit',(_0x18ff4c,_0xac849,_0x19c4db)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x19c4db?(this['actions']['add'](_0x229b18),this['actions']['add'](_0x20a5cb),this['mainContent']['add'](_0x38bed5),_0x38bed5['element']['focus']()):(this['actions']['add'](_0x1951ec),this['actions']['add'](_0x533036),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x984fa2?'ck-ai-chat-history__item--active':'',_0x3b1948['if']('isVisible','ck-hidden',_0xfc8680=>!_0xfc8680),_0x3b1948['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',_0x3b1948['if']('loadingState','ck-hidden',_0x1894d3=>!!_0x1894d3)]},'children':_0x984fa2?[_0x1d8f09]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x3b1948['if']('loadingState','ck-hidden',_0x8cd513=>!_0x8cd513)]},'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',_0x3b1948['if']('loadingState','ck-hidden',_0xd9adc6=>!!_0xd9adc6)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x3b1948['if']('loadingState','ck-hidden',_0x2607d2=>!_0x2607d2)]},'children':[{'text':_0x3b1948['to']('loadingState',_0x2797ba=>_0x2797ba?getTranslation$i(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x2797ba]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x39cca7]}]},{'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'](_0x598d22){this['_titleView']['text']=_0x1b3765(_0x598d22);}['updateLoadingState'](_0x15f001,_0x4d690b){this['set']('loadingState',_0x4d690b?_0x15f001:null);}['_createCheckView'](){const _0x618cb7=new ckeditor5['IconView']();return _0x618cb7['set']({'content':ckeditor5['IconCheck']}),_0x618cb7;}['_createPinButtonView'](_0x31566a){const _0x12d35f=new ckeditor5['ButtonView'](_0x31566a);return _0x12d35f['set']({'label':getTranslation$i(_0x31566a,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':ckeditor5['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x12d35f['bind']('isOn')['to'](this,'pinned'),_0x12d35f['on']('execute',()=>{const _0x212bd7=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x212bd7});}),_0x12d35f;}['_createMenuDropdownView'](){const _0x428671=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x12c66b=_0x428671['panelView']['children'];_0x428671['buttonView']['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':ckeditor5['IconThreeHorizontalDots']}),_0x428671['panelPosition']='sw';const _0x1b709a=new ckeditor5['ButtonView'](this['locale']);_0x1b709a['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x1b709a['withText']=!0x0,_0x1b709a['on']('execute',()=>{this['isEdit']=!0x0;});const _0x571794=new ckeditor5['ButtonView'](this['locale']);_0x571794['label']=getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x571794['withText']=!0x0,_0x571794['on']('execute',()=>{this['showConfirm'](getTranslation$i(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x43a12a=new ckeditor5['ListView'](this['locale']),_0x3d66e6=new ckeditor5['ListItemView'](this['locale']);_0x3d66e6['children']['add'](_0x1b709a);const _0x30e226=new ckeditor5['ListItemView'](this['locale']);return _0x30e226['children']['add'](_0x571794),_0x43a12a['items']['addMany']([_0x3d66e6,_0x30e226]),_0x12c66b['add'](_0x43a12a),_0x428671;}['_createEditInputView'](_0x2036c4,_0x5c826d){const _0x52deac=new ckeditor5['InputTextView'](_0x2036c4),_0x2cee3c=_0x52deac['bindTemplate'];return _0x52deac['value']=_0x5c826d,_0x52deac['extendTemplate']({'on':{'keydown':_0x2cee3c['to'](_0x5dd79e=>{'Enter'==_0x5dd79e['key']&&this['_commitEditInputValue'](_0x52deac);})}}),_0x52deac;}['_createAcceptEditButtonView'](_0x1e4bb7,_0x2c5aa7){const _0x47a406=new ckeditor5['ButtonView'](_0x1e4bb7);return _0x47a406['set']({'icon':ckeditor5['IconCheck'],'withText':!0x1,'tooltip':getTranslation$i(_0x1e4bb7,'AI_CHAT_HISTORY_ACCEPT')}),_0x47a406['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x47a406['on']('execute',()=>{this['_commitEditInputValue'](_0x2c5aa7);}),_0x47a406;}['_commitEditInputValue'](_0x23a989){const _0x5ad50b=_0x23a989['element']['value']||'';this['_titleView']['text']=_0x5ad50b,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x5ad50b});}['_createCancelEditButtonView'](_0x3ad8ce,_0x26b80a){const _0x35ed01=new ckeditor5['ButtonView'](_0x3ad8ce);return _0x35ed01['set']({'icon':ckeditor5['IconCancel'],'withText':!0x1,'tooltip':getTranslation$i(_0x3ad8ce,'AI_CHAT_HISTORY_CANCEL')}),_0x35ed01['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x35ed01['on']('execute',()=>{this['isEdit']=!0x1,_0x26b80a['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0x35ed01;}['_createSpinnerView'](){const _0x4620b6=new _0x1a92d9('tiny');return _0x4620b6['isVisible']=!0x0,_0x4620b6;}['isMatching'](_0x4ec590){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0x4ec590)?{'title':!0x0}:null;}['highlightText'](_0x1c06aa){this['_titleView']['highlightText'](_0x1c06aa);}}class AIChatHistoryView extends ckeditor5['View']{['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0xba1a0e,_0x227f87){super(_0xba1a0e),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isMaximized',!0x1),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x448c4d=new ckeditor5['FormHeaderView'](_0xba1a0e,{'label':getTranslation$i(_0xba1a0e,'AI_CHAT_HISTORY_HEADING'),'icon':ckeditor5['IconAIHistory'],'class':'ck-ai-header\x20ck-ai-header_history'});_0x227f87&&(this['resizeButton']=createResizeButton(_0xba1a0e,this),_0x448c4d['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0xba1a0e,[]),this['sectionsView']['delegate'](..._0x35a7c4)['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',_0x5ee7af=>!_0x5ee7af)]}}),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':[_0x448c4d,{'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 _0x271209=new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x5dd468=>getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x5dd468),'secondary':getTranslation$i(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0xb699ce=this['_createErrorView']();return _0xb699ce['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x7e5eee=>!_0x7e5eee)]}}),_0x271209['on']('render',()=>{_0x271209['children']['add'](_0xb699ce,0x1);}),_0x271209['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x1102eb=>!_0x1102eb)]}}),_0x271209;}['_createSkeletonView'](){const _0x41f210=new AISkeletonView(this['locale'],_0xbf81d8['aiHistory']);return _0x41f210['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x43dcc5=>!_0x43dcc5)]}}),_0x41f210;}['_createErrorView'](){const _0xd079f9=new ckeditor5['View'](this['locale']),_0x3b7e7f=new ckeditor5['ButtonView'](this['locale']);_0x3b7e7f['set']({'withText':!0x1,'icon':ckeditor5['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x3b7e7f['bind']('isVisible')['to'](this,'hasItems',_0x3a3057=>!!_0x3a3057),_0x3b7e7f['on']('execute',()=>{this['errorMessage']='';});const _0x2dfff0=this['bindTemplate'];return _0xd079f9['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x2dfff0['to']('errorMessage')}]},_0x3b7e7f]}),_0xd079f9;}['_createEmptyStateView'](){const _0x579c48=new ckeditor5['ButtonView'](this['locale']);_0x579c48['set']({'label':getTranslation$i(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':ckeditor5['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x579c48['on']('execute',()=>{this['fire']('openChat');});const _0x59abf0=new ckeditor5['View'](this['locale']);return _0x59abf0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x1998ab=>!_0x1998ab)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[getTranslation$i(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0x579c48]}),_0x59abf0;}['_createListItemViews'](_0xfc747,_0xf69c60){const _0x1f8c5d=[];for(const _0x1aa6a5 of _0xfc747){const _0x4ca3f2=new AIChatHistoryListItemView(_0xf69c60,_0x1aa6a5);_0x4ca3f2['delegate'](..._0x35a7c4)['to'](this),_0x1f8c5d['push'](_0x4ca3f2);}return _0x1f8c5d;}['updateHistoryItemsWithCategories'](_0x18c0c8){const _0x1942cd=this['locale']||'en',_0xb2b3d2=[];for(const _0x33b715 of _0x18c0c8){const _0x520997=this['_createListItemViews'](_0x33b715['items'],_0x1942cd);_0xb2b3d2['push'](new AIChatHistoryListView(_0x1942cd,{'title':_0x33b715['title'],'items':_0x520997}));}this['sectionsView']['sections']=_0xb2b3d2,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0xb2b3d2),this['hasItems']=_0x18c0c8['some'](_0x4488ba=>_0x4488ba['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x2406b6){for(const _0xacb45d of this['sectionsView']['sections']){const _0x23bca8=_0xacb45d['getItem'](_0x2406b6);if(_0x23bca8){if(_0xacb45d['removeItem'](_0x23bca8),0x0===_0xacb45d['itemsViews']['length']){const _0xcbcc8c=this['sectionsView']['sections']['indexOf'](_0xacb45d);-0x1!==_0xcbcc8c&&(this['sectionsView']['sections']['splice'](_0xcbcc8c,0x1),this['sectionsView']['items']['remove'](_0xacb45d));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x3c57d1,_0x4a543d){for(const _0x1d580f of this['sectionsView']['sections']){const _0x2ec29f=_0x1d580f['getItem'](_0x3c57d1);if(_0x2ec29f){_0x2ec29f['updateTitle'](_0x4a543d);break;}}}['updateItemLoadingState'](_0x34af6c,_0x1eac7c,_0x39acef){for(const _0x21be1b of this['sectionsView']['sections']){const _0x14e0f9=_0x21be1b['getItem'](_0x34af6c);if(_0x14e0f9){_0x14e0f9['updateLoadingState'](_0x1eac7c,_0x39acef);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x8c3f8=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x8c3f8);}}}const _0x35a7c4=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x415310];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x285e56){super(_0x285e56);const _0x1d8908=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x1d8908['showResizeButton']),this['_historyView']['delegate'](..._0x35a7c4)['to'](this),_0x1d8908['view']['addTab']({'id':'history','buttonLabel':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':ckeditor5['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x33b085){this['_historyView']['removeHistoryItem'](_0x33b085);}['updateItems'](_0x36e252){this['_historyView']['updateHistoryItemsWithCategories'](_0x36e252);}['updateItemTitle'](_0x18a694,_0x54cc68){this['_historyView']['updateItemTitle'](_0x18a694,_0x54cc68);}['updateItemLoadingState'](_0x46a4a5,_0x27474e,_0x4d1b2c){this['_historyView']['updateItemLoadingState'](_0x46a4a5,_0x27474e,_0x4d1b2c);}['setLoadingSkeleton'](_0x1a3fce){this['_historyView']['isLoading']=_0x1a3fce;}['showError'](_0x4340bb){this['_historyView']['errorMessage']=_0x4340bb;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0x5c75c5){this['_historyView']['isMaximized']=_0x5c75c5;}}class AIChatHistoryItem extends ckeditor5['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x533505,title:_0x45cd67,createdAt:_0x124225,updatedAt:_0x1d917f,pinned:_0x49398f}){super(),this['id']=_0x533505,this['createdAt']=new Date(_0x124225),this['set']('title',_0x45cd67),this['set']('updatedAt',_0x1d917f?new Date(_0x1d917f):null),this['set']('pinned',_0x49398f||!0x1);}['updateTitle'](_0x5b71ad){this['set']('title',_0x1b3765(_0x5b71ad)),this['updatedAt']=new Date();}['updatePinned'](_0x117ff9){this['set']('pinned',_0x117ff9),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends ckeditor5['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x49ff5a,group:_0x389ab1}){super(),this['connector']=_0x49ff5a,this['group']=_0x389ab1;}async['init'](){try{const _0x57a4ef=this['connector']['fetchConversations'](this['group']),_0x252ee2=await _0x57a4ef['getConversations']();this['loadItems'](_0x252ee2);}catch(_0x1d7540){this['fire']('error',{'error':_0x1d7540,'operation':'init'});}}['addItem'](_0xcfcf3f){this['items']['push'](_0xcfcf3f);}async['removeItem'](_0x5a1348){const _0x6401f3=this['items']['findIndex'](_0x4831f9=>_0x4831f9['id']===_0x5a1348);if(-0x1===_0x6401f3)return!0x1;try{return await this['connector']['deleteConversation'](_0x5a1348)['execute'](),this['items']['splice'](_0x6401f3,0x1),this['fire']('itemRemoved',{'itemId':_0x5a1348}),!0x0;}catch(_0x116eb3){return this['fire']('error',{'error':_0x116eb3,'operation':'removeItem','itemId':_0x5a1348}),!0x1;}}['getItem'](_0x46a910){return this['items']['find'](_0x1619bf=>_0x1619bf['id']===_0x46a910);}async['updateItemTitle'](_0x2e9fb0,_0xf5fb3b){const _0x14c872=this['getItem'](_0x2e9fb0);if(!_0x14c872)return!0x1;try{return await this['connector']['updateConversation'](_0x2e9fb0,{'title':_0xf5fb3b})['getResult'](),_0x14c872['updateTitle'](_0xf5fb3b),this['fire']('itemUpdated',{'itemId':_0x2e9fb0,'updates':{'title':_0xf5fb3b}}),!0x0;}catch(_0x51f61a){return this['fire']('error',{'error':_0x51f61a,'operation':'updateItemTitle','itemId':_0x2e9fb0}),!0x1;}}async['updateItemPinned'](_0x1dc7a1,_0x400d45){const _0x458e2d=this['getItem'](_0x1dc7a1);if(!_0x458e2d)return!0x1;try{return await this['connector']['updateConversation'](_0x1dc7a1,{'pinned':_0x400d45})['getResult'](),_0x458e2d['updatePinned'](_0x400d45),this['fire']('itemUpdated',{'itemId':_0x1dc7a1,'updates':{'pinned':_0x400d45}}),!0x0;}catch(_0x563a60){return this['fire']('error',{'error':_0x563a60,'operation':'updateItemPinned','itemId':_0x1dc7a1}),!0x1;}}['loadItems'](_0x44b914){try{this['items']=[],_0x44b914['map'](_0x1c60d5=>{this['addItem'](new AIChatHistoryItem(_0x1c60d5));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x3c28a7){this['fire']('error',{'error':_0x3c28a7,'operation':'loadItems'});}}['getItems'](_0x2988c7={}){const _0x21284b=void 0x0!==_0x2988c7['pinned']&&_0x2988c7['pinned'],_0x16bd7f=_0x2988c7['from']?new Date(_0x2988c7['from']['getFullYear'](),_0x2988c7['from']['getMonth'](),_0x2988c7['from']['getDate']()):null,_0x592960=_0x2988c7['to']?new Date(_0x2988c7['to']['getFullYear'](),_0x2988c7['to']['getMonth'](),_0x2988c7['to']['getDate']()):null;return this['items']['filter'](_0xb8b5df=>{if(_0xb8b5df['pinned']!==_0x21284b)return!0x1;if(_0x592960){const _0x461def=new Date(_0xb8b5df['createdAt']['getFullYear'](),_0xb8b5df['createdAt']['getMonth'](),_0xb8b5df['createdAt']['getDate']());return _0x16bd7f?_0x16bd7f['getTime']()===_0x592960['getTime']()?_0x461def['getTime']()===_0x16bd7f['getTime']():_0x461def<_0x592960&&_0x461def>=_0x16bd7f:_0x461def<_0x592960;}return!0x0;});}}class AIChatHistoryController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x415310];}static get['pluginName'](){return'AIChatHistoryController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiConnector']=this['context']['plugins']['get'](AIConnector),this['_aiChatHistoryUi']=this['context']['plugins']['get'](AIChatHistoryUI),this['_aiChatController']=this['context']['plugins']['get'](AIChatController);const _0x481f12=this['context']['plugins']['get'](_0x415310);try{const _0x173e8c=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x173e8c}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x58fd14,_0x10092f)=>{this['_setItemLoading'](_0x10092f['id'],'remove'),this['_handleRemove'](_0x10092f['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x2b5f5c,_0x23649b)=>{this['_setItemLoading'](_0x23649b['id'],'rename'),this['_handleEditTitle'](_0x23649b['id'],_0x23649b['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x12a774,_0x56c021)=>{void 0x0!==_0x56c021['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x56c021['itemId'],_0x56c021['updates']['title']),void 0x0!==_0x56c021['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x56c021['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x3e8468,_0x28eece)=>{this['_aiChatController']['handleRemovedConversation'](_0x28eece['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x28eece['itemId']),this['_clearItemLoading'](_0x28eece['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x2a6dbd,_0x1bed19)=>{this['_handleHistoryErrorUI'](_0x1bed19['error'],_0x1bed19['operation'],_0x1bed19['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x41c6b4,_0x2090c1)=>{this['_handleSelectConversation'](_0x2090c1['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x461cd9,_0x573f7e)=>{const _0x18d596=_0x573f7e['pinned']?'pin':'unpin';this['_setItemLoading'](_0x573f7e['id'],_0x18d596),this['_handleTogglePin'](_0x573f7e['id'],_0x573f7e['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0x481f12['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x481f12['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0x481f12,'resizedTabs',(_0x35082d,_0x5bb3ad)=>{this['_setIsMaximized'](_0x5bb3ad);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0x481f12['resize']();});}catch(_0x4fc930){this['_handleHistoryErrorUI'](_0x4fc930,'init');}}async['_handleEditTitle'](_0x334a1e,_0x5cd339){await this['history']['updateItemTitle'](_0x334a1e,_0x5cd339);}async['_handleTogglePin'](_0x2cd028,_0xd06acb){await this['history']['updateItemPinned'](_0x2cd028,_0xd06acb);}async['_handleRemove'](_0x2993ef){await this['history']['removeItem'](_0x2993ef);}async['_handleSelectConversation'](_0x114a17){await this['_aiChatController']['loadConversation'](_0x114a17);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x1d509c=this['_aiChatController']['activeConversation']?.['id'],_0x2c2c29=this['_getCategorizedItems']()['map'](_0x20323e=>({'title':_0x20323e['title'],'items':_0x20323e['items']['map'](_0x35d042=>({'id':_0x35d042['id'],'title':_0x35d042['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x35d042['createdAt'])['toLocaleDateString'](),'active':_0x35d042['id']===_0x1d509c,'pinned':_0x35d042['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x2c2c29);}['_setItemLoading'](_0x1d6f5e,_0x45cfd7){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x1d6f5e,_0x45cfd7,!0x0);}['_clearItemLoading'](_0x31b214){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x31b214,null,!0x1);}['_handleHistoryErrorUI'](_0x57d648,_0x131f1e,_0xf05e3b){const _0x3d172f=this['_generateErrorMessage'](_0x131f1e,_0xf05e3b);this['_aiChatHistoryUi']['showError'](_0x3d172f),_0xf05e3b&&this['_clearItemLoading'](_0xf05e3b),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x5f2158,_0x377bbe){const _0x3f34fa=_0x377bbe?this['history']['getItem'](_0x377bbe):null,_0x1c2e4b=_0x3f34fa?.['title']||getTranslation$i(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x5f2158){case'updateItemTitle':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x1c2e4b);case'updateItemPinned':{const _0x131aca=getTranslation$i(this['context']['locale'],_0x3f34fa?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x131aca,_0x1c2e4b]);}case'removeItem':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x1c2e4b);case'init':case'loadItems':return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x490994=new Date(),_0x58bc2b=new Date(_0x490994['getFullYear'](),_0x490994['getMonth'](),_0x490994['getDate']()),_0xd5c27d=new Date(_0x58bc2b);_0xd5c27d['setDate'](_0xd5c27d['getDate']()-0x1);const _0x2a5ebe=new Date(_0x58bc2b);_0x2a5ebe['setDate'](_0x2a5ebe['getDate']()-0xe);const _0x53089f=this['history']['getItems']({'pinned':!0x0}),_0x2aa888=this['history']['getItems']({'from':_0x58bc2b,'to':_0x58bc2b}),_0x50d8ff=this['history']['getItems']({'from':_0xd5c27d,'to':_0xd5c27d}),_0xea2172=this['history']['getItems']({'from':_0x2a5ebe,'to':_0xd5c27d}),_0x367321=this['history']['getItems']({'to':_0x2a5ebe}),_0x20322e=[];return _0x53089f['length']>0x0&&_0x20322e['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x53089f}),_0x2aa888['length']>0x0&&_0x20322e['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x2aa888}),_0x50d8ff['length']>0x0&&_0x20322e['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x50d8ff}),_0xea2172['length']>0x0&&_0x20322e['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0xea2172}),_0x367321['length']>0x0&&_0x20322e['push']({'title':getTranslation$i(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x367321}),_0x20322e;}['_setIsMaximized'](_0x2e0326){this['_aiChatHistoryUi']['setIsMaximized'](_0x2e0326);}}class AIChatHistory extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIChatHistoryController,AIChatHistoryUI];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AIChat extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIChatController,AIEditing,AIChatUI,AIChatHistory];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x45e35a){super(_0x45e35a),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this['context']['config']['define']('ai.chat.initialConversation','new');}async['addSelectionToChatContext'](){await this['context']['plugins']['get'](AIChatController)['addSelectionToChatContext']();}async['startConversation'](){await this['context']['plugins']['get'](AIChatController)['startConversation']();}async['sendMessage']({message:_0x4c8d3a,attributes:_0x8c6f74}){await this['context']['plugins']['get'](AIChatController)['sendMessage']({'message':_0x4c8d3a,'attributes':_0x8c6f74});}['removeSelectionFromChatContext'](){this['context']['plugins']['get'](AIChatController)['removeSelectionFromChatContext']();}['focusPromptInput'](){this['context']['plugins']['get'](AIChatController)['focusPromptInput']();}['registerToolDataCallback'](_0x2d2eb2){this['context']['plugins']['get'](AIChatController)['_registerToolDataCallback'](_0x2d2eb2);}}class AIChatShortcutView extends ckeditor5['ButtonView']{['id'];constructor(_0x205e86,_0x5c0e25){super(_0x205e86);const {id:_0x3d6bf0,type:_0x5d06a9,icon:_0x32311e}=_0x5c0e25;this['id']=_0x3d6bf0,this['set']({'label':_0x5c0e25['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x5c0e25['id']}}),_0x32311e?this['icon']=_0x32311e:'chat'===_0x5d06a9?this['icon']=ckeditor5['IconAIChat']:'review'===_0x5d06a9?this['icon']=ckeditor5['IconAIReview']:'translate'===_0x5d06a9&&(this['icon']=ckeditor5['IconAITranslate']);}}class AIChatShortcutsView extends ckeditor5['View']{['listView'];constructor(_0x1756df,_0x1ae114){super(_0x1756df);const _0x470495=_0x1ae114['map'](_0x2e0861=>{const _0x34699c=new ckeditor5['ListItemView'](this['locale']),_0x4df59c=new AIChatShortcutView(this['locale'],_0x2e0861);return _0x34699c['children']['add'](_0x4df59c),_0x4df59c['delegate']('execute')['to'](this),_0x34699c;});this['listView']=new ckeditor5['ListView'](this['locale']),this['listView']['items']['addMany'](_0x470495),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0x3c2b06='chat-shortcuts';var AIChatShortcutType=function(_0x316a32){return _0x316a32['CHAT']='chat',_0x316a32['REVIEW']='review',_0x316a32['TRANSLATE']='translate',_0x316a32;}({});class AIChatShortcuts extends ckeditor5['ContextPlugin']{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];static get['requires'](){return[AIChatUI];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](AIChatUI),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0xa1574e=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0xa1574e['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0xa1574e,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x45163f=Object['values'](AIChatShortcutType);this['_shortcuts']['forEach'](_0x3085f7=>{let _0x3ebce5=!0x0;if(_0x3085f7['id']&&_0x3085f7['label']&&_0x45163f['includes'](_0x3085f7['type'])?'chat'===_0x3085f7['type']&&(_0x3ebce5='string'==typeof _0x3085f7['prompt']):_0x3ebce5=!0x1,!_0x3ebce5)throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x3085f7});});}['_injectShortcuts'](){const _0x252692=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x252692['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x3c2b06),this['_shortcutsView']['on']('execute',_0x11f2cd=>{const _0x2120d2=_0x11f2cd['source']['id'];this['_executeShortcut'](_0x2120d2);});}['_removeShortcuts'](){const _0xb49afc=this['context']['plugins']['get'](AIChatUI);_0xb49afc['hasFeedItem'](_0x3c2b06)&&_0xb49afc['removeFeedItem'](_0x3c2b06),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x57270a){const _0xe977c1=this['_shortcuts']['find'](_0x4a1eb8=>_0x4a1eb8['id']===_0x57270a),_0x4b6154=_0xe977c1['type'];'chat'===_0x4b6154?this['_runChatShortcut'](_0xe977c1):'review'===_0x4b6154?_0xe977c1['check']?this['_runReviewShortcut'](_0xe977c1):this['_switchTab']('reviewMode'):'translate'===_0x4b6154&&(_0xe977c1['language']?this['_runTranslateShortcut'](_0xe977c1):this['_switchTab']('translate'));}['_switchTab'](_0x9df276){if(!this['context']['plugins']['has']('AITabs'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x9df276});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x9df276);}async['_runChatShortcut']({prompt:_0x50660d,draftMode:_0x43649c,useWebSearch:_0x3dd6fd=!0x1,useReasoning:_0x23b237=!0x1,model:_0x22e3a8}){const _0x3639ad=this['context']['plugins']['get']('AIChat'),_0x445470=this['context']['plugins']['get']('AIChatController'),_0x4b7ab0=_0x445470['activeConversation'];let _0x6c2132;_0x6c2132=_0x22e3a8?await _0x4b7ab0['chatModels']['getModel'](_0x22e3a8):await _0x4b7ab0['chatModels']['getDefault'](),_0x6c2132&&await _0x4b7ab0['setModel'](_0x6c2132),_0x4b7ab0['setWebSearch'](_0x3dd6fd),_0x4b7ab0['setReasoning'](_0x23b237),_0x445470['addCurrentDocumentToChatContext'](),_0x43649c?(this['_aiChatUI']['setPromptInputValue'](_0x50660d),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x3639ad['sendMessage']({'message':_0x50660d});}['_runReviewShortcut']({check:_0x270ce3,model:_0x5cabe7,prompt:_0x2c14dd,params:_0x1f7472}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x422d45={'id':_0x270ce3,'isCustom':'custom'===_0x270ce3};_0x5cabe7&&_0x2c14dd&&(_0x422d45['args']={'model':_0x5cabe7,'prompt':_0x2c14dd}),_0x1f7472&&(_0x422d45['params']=_0x1f7472),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x422d45);}['_runTranslateShortcut']({language:_0x47cf2e}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new ckeditor5['CKEditorError']('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x47cf2e,'args':{'language':_0x47cf2e}});}}class _0x336397 extends ckeditor5['Command']{constructor(_0x44e6f1){super(_0x44e6f1);const _0x2e24e9=_0x44e6f1['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x2e24e9,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x538462=this['editor']['plugins']['get']('AITabs')['view'];_0x538462['isVisible']=!_0x538462['isVisible'];}}class AIToggleButtonUI extends ckeditor5['Plugin']{static get['requires'](){return[_0x415310];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1b65a8=this['editor'];_0x1b65a8['commands']['add']('toggleAi',new _0x336397(_0x1b65a8)),_0x1b65a8['ui']['componentFactory']['add']('toggleAi',()=>{const _0x4c6b46=this['_createAIUIButton'](ckeditor5['ButtonView']);return _0x4c6b46['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x4c6b46;}),_0x1b65a8['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x1e7c92=this['_createAIUIButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x1e7c92['set']({'role':'menuitemcheckbox'}),_0x1e7c92;});}['_createAIUIButton'](_0x72b29d){const _0x33efd6=this['editor'],_0x2840ff=_0x33efd6['commands']['get']('toggleAi'),_0x2efe48=new _0x72b29d(_0x33efd6['locale']);return _0x2efe48['set']({'label':getTranslation$i(_0x33efd6['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':ckeditor5['IconAIAskAI'],'isToggleable':!0x0}),_0x2efe48['bind']('isEnabled')['to'](_0x2840ff),_0x2efe48['bind']('isOn')['to'](_0x2840ff,'value',_0x247b14=>!!_0x247b14),this['listenTo'](_0x2efe48,'execute',()=>{_0x2840ff['execute']();}),_0x2efe48;}}const _0x42e78b=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0x3f29e3 extends ckeditor5['View']{['_errorView'];constructor(_0xce4245){super(_0xce4245),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x4ab961){this['showError'](_0x4ab961);}['showError'](_0x323276){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x323276,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x3c9fd5=new ckeditor5['View'](this['locale']),_0x58265c=new ckeditor5['View'](this['locale']);return _0x58265c['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x3c9fd5['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x37b289=>!_0x37b289)]},'children':[_0x58265c]}),_0x3c9fd5;}}const _0x143b03=0xa;class _0xe03e5f extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_isUpdatingMarkers']=!0x1;['open'](_0xf6461){const {id:_0x201e30}=this['_currentConfig']??{};this['_currentConfig']=_0xf6461;const {id:_0xe7b32c}=this['_currentConfig'];this['isOpen']&&_0x201e30===_0xe7b32c?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x505c59=getEditorFromContext(this['context'])['plugins']['get']('Dialog');_0x505c59['isOpen']&&this['_currentConfig']&&_0x505c59['id']===this['_currentConfig']['id']&&_0x505c59['hide']();}['_updateDialog'](){const _0x4e4c76=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{icon:_0x3575c0,title:_0x5e3d3d}=this['_currentConfig'];_0x4e4c76['view']?.['headerView']&&(_0x4e4c76['view']['headerView']['label']=_0x5e3d3d,_0x4e4c76['view']['headerView']['iconView']&&_0x3575c0&&(_0x4e4c76['view']['headerView']['iconView']['content']=_0x3575c0)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x4e4c76['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection'](this['_currentConfig']['ranges'],'ai-balloon-'+this['_currentConfig']['index'],!0x0,!0x0);}['_hideFakeVisualSelection'](_0x413d3c){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('ai-balloon-'+_0x413d3c);}['_showDialog'](){const _0x39a03f=getEditorFromContext(this['context'])['plugins']['get']('Dialog'),{id:_0x2319cb,title:_0x21239,icon:_0x45dbee,class:_0x12278a,mainView:_0x4094f7}=this['_currentConfig'];_0x4094f7['delegate'](..._0x42e78b)['to'](this),_0x39a03f['show']({'title':_0x21239,'icon':_0x45dbee,'hasCloseButton':!0x0,'id':_0x2319cb,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x12278a||''),'content':_0x4094f7,'onShow':_0x2687fd=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener']();const _0x361f97=this['_getSelectionElements']();_0x361f97&&_0x361f97[0x0]&&ckeditor5['scrollViewportToShowTarget']({'target':_0x361f97[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x2687fd['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x2319cb});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](this['_currentConfig']['index']),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x2319cb}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x4808d7,_0x35527c){if(!_0x35527c)return null;const _0x3dacbc=this['_getSelectionElements']();if(!_0x3dacbc||0x0===_0x3dacbc['length'])return{'left':Math['round'](_0x35527c['left']+_0x35527c['width']/0x2-_0x4808d7['width']/0x2),'top':Math['round'](_0x35527c['top']+_0x35527c['height']/0x2-_0x4808d7['height']/0x2)};const _0x45c19f=Math['round'](_0x35527c['left']+_0x35527c['width']/0x2-_0x4808d7['width']/0x2),_0x13ea39=_0x3dacbc['map'](_0x41246a=>new ckeditor5['Rect'](_0x41246a)),_0x2a0bf5=_0x4808d7['height'];return{'left':_0x45c19f,'top':this['_calculateOptimalTopPosition'](_0x13ea39,_0x2a0bf5,_0x35527c)};}['_calculateOptimalTopPosition'](_0x2f2913,_0x98fd66,_0xbf0bb7){const _0x5804c2=new ckeditor5['Rect'](ckeditor5['global']['window']),_0x2128a1=_0x2f2913['map'](_0x3ba2d9=>_0x3ba2d9['getVisible']())['filter'](_0x5000e0=>_0x5000e0),_0x2328f4=ckeditor5['Rect']['getBoundingRect'](_0x2128a1);if(!_0x2328f4)return Math['round'](_0xbf0bb7['top']+_0xbf0bb7['height']/0x2);const _0x2fd2f1=_0x5804c2['getIntersection'](_0x2328f4);if(!_0x2fd2f1)return Math['round'](_0xbf0bb7['top']+_0xbf0bb7['height']/0x2);const _0x529f07=_0xbf0bb7['getVisible'](),_0x47225f=_0x529f07&&_0x2328f4['height']>_0x529f07['height'],_0x2663d7=_0x2fd2f1['top'],_0x2ddd53=_0x2fd2f1['bottom'];if(_0x47225f){const _0x33e7e6=(_0x529f07||_0x5804c2)['height']/0x2-_0x98fd66/0x2,_0x15a387=_0x2663d7-_0x143b03-_0xbf0bb7['top'],_0x22bb7e=_0xbf0bb7['bottom']-_0x2ddd53-_0x143b03;return _0x15a387>=_0x98fd66?Math['max'](_0x143b03,_0x2663d7-_0x98fd66-_0x143b03):_0x22bb7e>=_0x98fd66?_0x2ddd53+_0x143b03:Math['max'](_0x143b03,_0x33e7e6);}const _0x1ce190=_0x2663d7-_0x98fd66,_0x3df0da=_0xbf0bb7['bottom']-_0x2ddd53-_0x143b03,_0x4d1031=_0x2663d7-_0x143b03-_0xbf0bb7['top'];let _0x57b07b;if(_0x3df0da>=_0x98fd66)_0x57b07b=_0x2ddd53+_0x143b03;else{if(_0x4d1031>=_0x98fd66)_0x57b07b=_0x1ce190-_0x143b03;else _0x57b07b=_0x2663d7+_0x2328f4['height']/0x2-_0x98fd66/0x2;}return _0x57b07b;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x202d58=getEditorFromContext(this['context']);this['listenTo'](_0x202d58['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x274fb4,data:{newRange:_0x1e2fcf}}of _0x202d58['model']['document']['differ']['getChangedMarkers']())if(_0x274fb4['startsWith'](_0x579c20+':')&&(_0x1e2fcf&&(_0x1e2fcf['start']['isEqual'](_0x1e2fcf['end'])||'$graveyard'==_0x1e2fcf['root']['rootName'])||null==_0x1e2fcf)){const _0x74ab76=getTranslation$i(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x74ab76),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x45da9d=getEditorFromContext(this['context']);this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x45da9d['model']['document']);}['_getSelectionElements'](){const _0x5d0513=getEditorFromContext(this['context']);return getAllMarkersDomElementsSorted(_0x5d0513['editing'],[..._0x5d0513['model']['markers']['getMarkersGroup']('ai-selection'),..._0x5d0513['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}}class _0x296b19 extends ckeditor5['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0xf92174,_0x3bec56={}){super(_0xf92174),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3bec56};const _0x2e3e64=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x2e3e64?'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'](_0x576bc2){this['showChangesButton']['isEnabled']=_0x576bc2;}['_setupRatingButtons'](){this['likeButton']=new ckeditor5['ButtonView'](this['locale']),this['likeButton']['set']({'icon':ckeditor5['IconThumbUp'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new ckeditor5['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':ckeditor5['IconThumbDown'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new ckeditor5['ButtonView'](this['locale']),this['copyButton']['set']({'icon':ckeditor5['IconCopy'],'label':getTranslation$i(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button','tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x409eaa=new ckeditor5['IconView']();_0x409eaa['set']({'content':ckeditor5['IconCheck']}),_0x409eaa['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',setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button';},0x7d0);}),this['copyButton']['children']['add'](_0x409eaa);}['_setupShowChangesButton'](){this['showChangesButton']=new ckeditor5['ButtonView'](this['locale']),this['showChangesButton']['set']({'icon':ckeditor5['IconShowChangesOff'],'label':getTranslation$i(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':'ck-ai-button-tertiary'}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x345391=>_0x345391?ckeditor5['IconShowChangesOn']:ckeditor5['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0x3f29e3{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x357dbd,_0x366a19){super(_0x357dbd);const _0xd8c9e2=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x366a19,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x357dbd),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x357dbd,_0x366a19['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x366a19),this['_stateView']=new AISuggestionContentPartStateView(_0x357dbd),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x296b19(_0x357dbd,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x357dbd,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x2f4e9d,_0x4a4888,_0x13dbe6,_0x5969ad)=>{let _0x2f41a8,_0x56d8f3;'pending'===_0x5969ad?(_0x2f41a8=this['_partToolbarView'],_0x56d8f3=this['_stateView']):(_0x2f41a8=this['_stateView'],_0x56d8f3=this['_partToolbarView']),this['_stateView']['setState'](_0x13dbe6),_0x2f41a8['isVisible']=!0x1,_0x56d8f3['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0xd8c9e2['to']('_state',_0x36a0c9=>'ck-ai-chat-balloon-main_state_'+_0x36a0c9)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x366a19);});}['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'](_0x12b4b9){_0x12b4b9?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x12b4b9);}['setState'](_0x337156){this['_state']=_0x337156;}['showError'](_0x57b426){super['showError'](_0x57b426),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x232719){super['showBlockingError'](_0x232719),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x3348ac){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x3348ac;}['togglePartToolbarEnabled'](_0x280d71){this['_partToolbarView']['isEnabled']=_0x280d71;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x2343a4,showSuggestButton:_0x3e2030}){_0x2343a4=_0x2343a4&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x3e2030=_0x3e2030&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x2343a4,'showSuggestButton':_0x3e2030});}['_createNextButtonView'](){const _0x35dd7e=new ckeditor5['ButtonView'](this['locale']);return _0x35dd7e['set']({'icon':ckeditor5['IconChevronDown'],'label':getTranslation$i(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x35dd7e['on']('execute',()=>{this['fire']('showNext');}),_0x35dd7e;}['_createPreviousButtonView'](){const _0x5b10ef=new ckeditor5['ButtonView'](this['locale']);return _0x5b10ef['set']({'icon':ckeditor5['IconChevronUp'],'label':getTranslation$i(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x5b10ef['on']('execute',()=>{this['fire']('showPrevious');}),_0x5b10ef;}}class AIChatBalloonToolbarContainerView extends ckeditor5['View']{constructor(_0x247403,_0x71783c){super(_0x247403),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x71783c});}}class AIChatBalloon extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Dialog'],_0xe03e5f];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x58f50e){super(_0x58f50e),this['set']('showDiff',!0x1);}['open'](_0x19a33a){const _0x2b6a98=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x2b6a98['plugins']['get']('AIBalloon')['open']({..._0x19a33a,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x19a33a['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x19a33a['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x3d1baa){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x3d1baa);}['setState'](_0x1dfe9e){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x1dfe9e);}['_createChatBalloonView'](){const _0x47d459=this['editor'],_0x1f51ce=_0x47d459['plugins']['get']('AIBalloon'),_0x4c75fe=_0x47d459['commands']['get']('trackChanges');let _0x4c1099=_0x47d459['config']['get']('ai.availableReplyActions')||[..._0x155f5c];_0x47d459['plugins']['has']('TrackChanges')||(_0x4c1099=_0x4c1099['filter'](_0x593363=>'insertSuggestion'!=_0x593363));const _0x2b5cc0=new AIChatBalloonView(_0x47d459['locale'],{'availableActions':_0x4c1099,'showApplyButton':!0x0,'showSuggestButton':!!_0x4c75fe});return _0x2b5cc0['bind']('showDiff')['to'](this),_0x2b5cc0['delegate'](..._0x11110e)['to'](this),_0x2b5cc0['delegate']('showPrevious','showNext')['to'](this),_0x1f51ce['delegate']('dialogClosed')['to'](this),_0x2b5cc0['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x2b5cc0['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x2b5cc0['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x4c75fe&&_0x2b5cc0['bind']('isTrackChangesOn')['to'](_0x4c75fe,'value'),_0x2b5cc0['render'](),_0x2b5cc0;}['_toggleRotatorButtonsInDialogHeader'](_0x354f6a){const _0x35a8da=this['editor'],_0x9484f5=_0x35a8da['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x354f6a),_0x9484f5['has'](this['_chatBalloonView']['previousButtonView'])||(_0x9484f5['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x35a8da['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x9484f5['remove'](this['_chatBalloonView']['previousButtonView']),_0x9484f5['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends ckeditor5['Plugin']{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function aiQuickActionsButtonCreator(_0x4cec39){const {editor:_0x81c56a,action:_0x29a5e1,withText:_0x317000=!0x1,withIcon:_0x41d349=!0x0,isInDropdown:_0x5a8d1b=!0x0,shouldPreventFocus:_0x468ffc=!0x1}=_0x4cec39;return()=>{const _0x38adf1=_0x81c56a['locale'],_0x321736=new ckeditor5['ButtonView'](_0x38adf1),_0xd415fc=_0x321736['bindTemplate'];_0x5a8d1b&&_0x321736['extendTemplate']({'on':{'mouseenter':_0xd415fc['to'](()=>{_0x468ffc&&_0x468ffc()||_0x321736['focus']();})}});const _0x395610=_0x29a5e1['icon']??_0x29a5e1['parent']?.['icon'];return _0x321736['set']({'label':_0x29a5e1['displayedPrompt'],'withText':_0x317000,'role':'menuitem','icon':_0x41d349?_0x395610??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!_0x317000,'class':'ck-ai-quick-actions-button','isEnabled':_0x29a5e1['isEnabled']}),_0x321736['on']('execute',()=>{_0x81c56a['editing']['view']['focus'](),_0x81c56a['commands']['execute']('aiQuickAction',_0x29a5e1);}),_0x321736;};}class DropdownMenuButtonWithHighlightView extends ckeditor5['ListItemButtonView']{['arrowView'];constructor(_0x5028d,_0x3dcdeb){super(_0x5028d,_0x3dcdeb);const _0x41ae52=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',_0x270e38=>String(_0x270e38)),'data-cke-tooltip-disabled':_0x41ae52['to']('isOn')},'on':{'mouseenter':_0x41ae52['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x49eb85=new ckeditor5['IconView']();return _0x49eb85['content']=ckeditor5['IconDropdownArrow'],_0x49eb85['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x49eb85;}}class AIQuickActionsFilteredListView extends ckeditor5['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0x2ec413,_0x39f3f7,_0x550987){super(_0x2ec413),this['_allListItems']=_0x39f3f7,this['_allSearchableItems']=_0x550987;}['filter'](_0x4befbd){if(!_0x4befbd)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x1aa1d7=_0x4befbd['source']['toLowerCase']()['trim'](),_0x52f530=this['_allSearchableItems']['filter'](_0x225cdd=>(_0x225cdd['groupLabel']?_0x225cdd['label']+'\x20('+_0x225cdd['groupLabel']+')':_0x225cdd['label'])['toLowerCase']()['includes'](_0x1aa1d7));return this['items']['clear'](),this['items']['addMany'](_0x52f530['sort']((_0x48bc7f,_0x684107)=>{const _0x575e7f=_0x48bc7f['groupLabel'],_0x259b3c=_0x684107['groupLabel'];return _0x575e7f||_0x259b3c?_0x575e7f?0x1:-0x1:0x0;})['map'](_0x2421e8=>_0x2421e8['item'])),this['_highlightQuery'](_0x1aa1d7,_0x52f530),{'resultsCount':_0x52f530['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x31dc6a,_0x7128ef){if(!_0x31dc6a)return;const _0x1f2a52=new RegExp(_0x25991c(_0x31dc6a),'gi');_0x7128ef['forEach'](_0x3e4073=>{_0x3e4073['highlightViews']&&_0x3e4073['highlightViews']['forEach'](_0x2e1cb5=>{'function'==typeof _0x2e1cb5['highlightText']&&_0x2e1cb5['highlightText'](_0x1f2a52);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x37b500=>{_0x37b500['highlightViews']&&_0x37b500['highlightViews']['forEach'](_0x1197d5=>{'function'==typeof _0x1197d5['highlightText']&&_0x1197d5['highlightText'](null);});});}}const _0x48a4d7={'MENU':'menu','MENU_ITEM':'menuitem'};class AIQuickActionsDropdownContentView extends ckeditor5['View']{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];constructor(_0xddad87,_0x5e2697,_0x34447a,_0x868957,_0xdc0ad7=!0x1){const _0x3ff9c6=_0xddad87['locale'];super(_0x3ff9c6),this['_bodyCollection']=_0x868957,this['_hasSearch']=_0xdc0ad7;const _0x182bbb=this['_createListItems'](_0xddad87,_0x5e2697,_0x34447a);this['optionsListView']=new AIQuickActionsFilteredListView(_0x3ff9c6,_0x182bbb,this['_allSearchableItems']),this['optionsListView']['role']=_0x48a4d7['MENU'],this['optionsListView']['items']['addMany'](_0x182bbb),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0xdc0ad7&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x182bbb,this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0xdc0ad7&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x327963=_0xdc0ad7&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new ckeditor5['ViewCollection'](_0x327963),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x3ff9c6['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new ckeditor5['SearchTextView'](this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':getTranslation$i(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':getTranslation$i(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0xdabec1=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0xdabec1);}['_createListItems'](_0x2d7d09,_0x14806c,_0x51db69){const _0x3cf569=new ckeditor5['ViewCollection']();return _0x14806c['forEach'](_0x622b9=>{if('actions'in _0x622b9){const {listItem:_0x18a289}=this['_createActionGroupButton'](_0x2d7d09,_0x622b9,_0x51db69);_0x3cf569['add'](_0x18a289),_0x622b9['actions']['forEach'](_0x54e0b5=>{this['_createActionButton'](_0x2d7d09,_0x54e0b5,_0x622b9['label'],_0x622b9['icon']);const {listItem:_0x1e2268,highlightViews:_0x4aebd5}=this['_createSearchResultActionButton'](_0x2d7d09,_0x54e0b5,_0x622b9['label'],_0x622b9['icon']);this['_allSearchableItems']['push']({'item':_0x1e2268,'label':_0x54e0b5['displayedPrompt'],'groupLabel':_0x622b9['label'],'highlightViews':_0x4aebd5});});}else{const {listItem:_0x1a2894}=this['_createActionButton'](_0x2d7d09,_0x622b9);_0x3cf569['add'](_0x1a2894);const _0x333442=_0x1a2894['children']['first'];if(_0x333442){const {listItem:_0x2b5ec3,highlightViews:_0x3f6933}=this['_createSearchResultActionButton'](_0x2d7d09,_0x622b9);this['_allSearchableItems']['push']({'item':_0x2b5ec3,'label':_0x333442['label']||'','highlightViews':_0x3f6933});}}}),_0x3cf569;}['_createActionButton'](_0x243cee,_0x9af82c,_0x483ecf,_0x585c49){const _0x2c6995=new ckeditor5['ListItemView'](this['locale']);if(_0x483ecf&&_0x585c49){const _0x44d99c=new ckeditor5['ButtonView'](this['locale']),_0x276ba2=_0x44d99c['bindTemplate'],_0x361408=new ckeditor5['HighlightedTextView']();_0x361408['text']=_0x9af82c['displayedPrompt'];const _0x529afd=new ckeditor5['HighlightedTextView']();_0x529afd['text']=_0x483ecf;const _0x233a6d=new ckeditor5['IconView']();_0x233a6d['content']=_0x585c49,_0x233a6d['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x25bf9e=new ckeditor5['View'](this['locale']);_0x25bf9e['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x58b065=new ckeditor5['View'](this['locale']);return _0x58b065['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x44d99c['set']({'label':_0x9af82c['displayedPrompt']+'\x20('+_0x483ecf+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x44d99c['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x361408,_0x25bf9e,_0x233a6d,_0x529afd,_0x58b065],'on':{'mouseenter':_0x276ba2['to'](()=>{this['_isSearchFocused']()||_0x44d99c['focus']();}),'click':_0x276ba2['to'](()=>{_0x44d99c['fire']('execute');})}}),_0x44d99c['on']('execute',()=>{_0x243cee['editing']['view']['focus'](),_0x243cee['commands']['execute']('aiQuickAction',_0x9af82c);}),_0x2c6995['children']['add'](_0x44d99c),{'listItem':_0x2c6995,'highlightViews':[_0x361408,_0x529afd]};}{const _0x4d4bd6=new ckeditor5['ButtonLabelWithHighlightView'](),_0x297471=new ckeditor5['ButtonView'](this['locale'],_0x4d4bd6),_0x45c03e=_0x297471['bindTemplate'],_0x3f2714=_0x9af82c['icon']??_0x9af82c['parent']?.['icon'],_0x7f151c=void 0x0!==_0x9af82c['icon'];return _0x297471['set']({'label':_0x9af82c['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':_0x7f151c?_0x3f2714??ckeditor5['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x297471['extendTemplate']({'on':{'mouseenter':_0x45c03e['to'](()=>{this['_isSearchFocused']()||_0x297471['focus']();})}}),_0x297471['on']('execute',()=>{_0x243cee['editing']['view']['focus'](),_0x243cee['commands']['execute']('aiQuickAction',_0x9af82c);}),_0x2c6995['children']['add'](_0x297471),{'listItem':_0x2c6995,'highlightViews':[_0x4d4bd6]};}}['_createSearchResultActionButton'](_0x57558a,_0x2e380a,_0x41519a,_0x529515){return _0x41519a&&_0x529515?this['_createSearchResultGroupedActionButton'](_0x57558a,_0x2e380a,_0x41519a,_0x529515):this['_createSearchResultIndividualActionButton'](_0x57558a,_0x2e380a);}['_createSearchResultGroupedActionButton'](_0x5c00df,_0x18d4e8,_0x5c282f,_0x1f9c5c){const _0x1adc7a=new ckeditor5['ListItemView'](this['locale']),_0x2a5077=new ckeditor5['ButtonView'](this['locale']),_0x2fdf26=_0x2a5077['bindTemplate'],{view:_0x353af6,highlightView:_0x2cd488}=this['_createSearchResultGroupRow'](_0x5c282f,_0x1f9c5c),{view:_0x348aeb,highlightView:_0xbe38b2}=this['_createSearchResultActionRow'](_0x18d4e8['displayedPrompt']),_0x2d3e50=this['_createSearchResultContentView'](_0x353af6,_0x348aeb);return _0x2a5077['set']({'label':_0x18d4e8['displayedPrompt'],'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}),_0x2a5077['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'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x2d3e50],'on':{'mouseenter':_0x2fdf26['to'](()=>{this['_isSearchFocused']()||_0x2a5077['focus']();}),'click':_0x2fdf26['to'](()=>{this['_handleSearchResultButtonClick'](_0x2a5077);})}}),this['_setupActionButtonExecution'](_0x2a5077,_0x5c00df,_0x18d4e8),_0x1adc7a['children']['add'](_0x2a5077),{'listItem':_0x1adc7a,'highlightViews':[_0x2cd488,_0xbe38b2]};}['_createSearchResultIndividualActionButton'](_0x728d91,_0x4d4259){const _0x556fd2=new ckeditor5['ListItemView'](this['locale']),_0x126113=new ckeditor5['ButtonLabelWithHighlightView'](),_0x4a4fbd=new ckeditor5['ButtonView'](this['locale'],_0x126113),_0x3d36eb=_0x4a4fbd['bindTemplate'];return _0x4a4fbd['set']({'label':_0x4d4259['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x4a4fbd['extendTemplate']({'on':{'mouseenter':_0x3d36eb['to'](()=>{this['_isSearchFocused']()||_0x4a4fbd['focus']();})}}),this['_setupActionButtonExecution'](_0x4a4fbd,_0x728d91,_0x4d4259),_0x556fd2['children']['add'](_0x4a4fbd),{'listItem':_0x556fd2,'highlightViews':[_0x126113]};}['_createSearchResultGroupRow'](_0x1383d3,_0x18feac){const _0x5ecfd5=new ckeditor5['View'](this['locale']),_0xf18d7e=new ckeditor5['IconView']();_0xf18d7e['content']=_0x18feac,_0xf18d7e['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x2d5352=new ckeditor5['HighlightedTextView']();return _0x2d5352['text']=_0x1383d3,_0x5ecfd5['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0xf18d7e,_0x2d5352]}),{'view':_0x5ecfd5,'highlightView':_0x2d5352};}['_createSearchResultActionRow'](_0x349bbb){const _0x217757=new ckeditor5['View'](this['locale']),_0x5ded60=new ckeditor5['HighlightedTextView']();return _0x5ded60['text']=_0x349bbb,_0x217757['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x5ded60]}),{'view':_0x217757,'highlightView':_0x5ded60};}['_createSearchResultContentView'](_0x52367c,_0x2ad1e7){const _0x5f3dc7=new ckeditor5['View'](this['locale']);return _0x5f3dc7['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x52367c,_0x2ad1e7]}),_0x5f3dc7;}['_setupActionButtonExecution'](_0x36335e,_0x49e6e4,_0x57dc76){_0x36335e['on']('execute',()=>{_0x49e6e4['editing']['view']['focus'](),_0x49e6e4['commands']['execute']('aiQuickAction',_0x57dc76);});}['_createActionGroupButton'](_0x382775,_0x21f503,_0x4b7ea4){const _0xac3864=new ckeditor5['ListItemView'](this['locale']),_0x1e8614=new ckeditor5['ButtonLabelWithHighlightView'](),_0x5ef916=new DropdownMenuButtonWithHighlightView(this['locale'],_0x1e8614),_0x196a47=_0x5ef916['bindTemplate'],_0xc9287=this['_getPanelKeystroke'](_0x4b7ea4),_0x110bf4=this['_createGroupActionsList'](_0x382775,_0x21f503['actions'],_0x4b7ea4);_0x5ef916['set']({'label':_0x21f503['label'],'withText':!0x0,'role':_0x48a4d7['MENU_ITEM'],'icon':_0x21f503['icon']??ckeditor5['IconAIQuickActions'],'isEnabled':_0x21f503['actions']['some'](_0x2e3527=>_0x2e3527['isEnabled'])}),_0x5ef916['extendTemplate']({'on':{'mouseenter':_0x196a47['to'](()=>{this['_isSearchFocused']()||_0x5ef916['focus']();})}});const _0x5039a9=new ckeditor5['BalloonPanelView'](this['locale']);return _0x5039a9['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x196a47['to'](_0x4d12cc=>{this['_handlePanelKeydown'](_0x4d12cc,_0xc9287,_0x5ef916,_0x5039a9);})}}),_0x5ef916['bind']('isOn')['to'](_0x5039a9,'isVisible'),this['_bodyCollection']['add'](_0x5039a9),_0x5039a9['content']['add'](_0x110bf4),this['_setupGroupMenuBehavior'](_0x5ef916,_0x5039a9),_0xac3864['children']['add'](_0x5ef916),{'listItem':_0xac3864,'highlightView':_0x1e8614};}['_createGroupActionsList'](_0x1264c8,_0x1b7a82,_0x2c3b55){const _0x5e8e04=new ckeditor5['ListView'](this['locale']);return _0x5e8e04['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x1b7a82['forEach'](_0x3701ca=>{const _0x4e04bd=new ckeditor5['ListItemView'](this['locale']),_0x1ed985=aiQuickActionsButtonCreator({'editor':_0x1264c8,'action':_0x3701ca,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x4e04bd['children']['add'](_0x1ed985),_0x2c3b55['focusTracker']['add'](_0x1ed985),_0x5e8e04['items']['add'](_0x4e04bd);}),_0x5e8e04;}['_setupGroupMenuBehavior'](_0x41785f,_0x5a5b88){const _0x14fede=_0x41785f['bindTemplate'],_0x26bb9b=this['_getButtonKeystroke'](_0x41785f);_0x41785f['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x14fede['to'](()=>{this['_showNestedPanel'](_0x5a5b88,_0x41785f);}),'mouseleave':_0x14fede['to'](_0x23587d=>{const _0x20f526=_0x23587d['relatedTarget'];this['_isMovingToNestedMenu'](_0x20f526,_0x5a5b88)||this['_hideNestedPanel'](_0x5a5b88);}),'keydown':_0x14fede['to'](_0x2dcf47=>{_0x2dcf47['key']==_0x26bb9b&&(this['_showNestedPanel'](_0x5a5b88,_0x41785f),_0x5a5b88['content']['get'](0x0)['focus']());})}}),_0x5a5b88['on']('render',()=>{_0x5a5b88['element']?.['addEventListener']('mouseleave',_0x27ac9b=>{const _0x473791=_0x27ac9b['relatedTarget'];_0x41785f['element']?.['contains'](_0x473791)||this['_isMovingToNestedMenu'](_0x473791,_0x5a5b88)||this['_hideNestedPanel'](_0x5a5b88);});});}['_showNestedPanel'](_0x5323fb,_0x432fa7){this['_openNestedPanels']['forEach'](_0x3f1d6b=>{_0x3f1d6b!==_0x5323fb&&_0x3f1d6b['isVisible']&&_0x3f1d6b['hide']();}),_0x5323fb['show'](),_0x5323fb['pin']({'positions':[ckeditor5['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x432fa7['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x5323fb);}['_hideNestedPanel'](_0x297481){_0x297481['hide'](),this['_openNestedPanels']['delete'](_0x297481);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x57e1d4=>_0x57e1d4['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x8a81fe,_0x394ba5){if(!_0x8a81fe)return!0x1;if(_0x394ba5['element']?.['contains'](_0x8a81fe))return!0x0;const _0x369634=_0x8a81fe;return _0x369634['closest']&&(null!==_0x369634['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x369634['closest']('.ck-ai-quick-actions-group-list')||null!==_0x369634['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'](_0xd04a41){return'rtl'===_0xd04a41['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x22446b){return'rtl'===_0x22446b['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0xa4134,_0x301a16,_0x37bb2f,_0x1a8742){_0xa4134['key']==_0x301a16&&(_0x37bb2f['focus'](),this['_hideNestedPanel'](_0x1a8742));}['_handleSearchResultButtonClick'](_0x1b7119){_0x1b7119['fire']('execute');}}function aiQuickActionsDropdownCreator(_0x2f3478){const {editor:_0x21e41c,content:_0x137e6d,buttonDefinition:_0x2018b7,bodyCollection:_0x33ab91,hasSearch:_0x66b611=!0x1}=_0x2f3478;return()=>{const _0xa691fb=_0x21e41c['locale'],_0x415fbe=ckeditor5['createDropdown'](_0xa691fb);_0x415fbe['buttonView']['set']({'icon':_0x2018b7['icon']??ckeditor5['IconAIQuickActions'],'label':_0x2018b7['label'],'tooltip':!0x0}),_0x415fbe['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x416b99=new AIQuickActionsDropdownContentView(_0x21e41c,_0x137e6d,_0x415fbe,_0x33ab91,_0x66b611);if(_0x415fbe['panelView']['children']['add'](_0x416b99),_0x66b611){const _0xb548fb='ai-quick-actions-dropdown-selection';_0x415fbe['on']('change:isOpen',(_0x340720,_0x5454dc,_0xb1f099)=>{if(_0xb1f099){if(_0x21e41c['plugins']['has']('AIEditing')){const _0x19a261=_0x21e41c['plugins']['get'](AIEditing),_0x390840=_0x21e41c['model']['document']['selection'],_0x39d31b=Array['from'](_0x390840['getRanges']());_0x39d31b['length']>0x0&&_0x19a261['showFakeVisualSelection'](_0x39d31b,_0xb548fb,!0x1,!0x0);}}else _0x21e41c['plugins']['has']('AIEditing')&&_0x21e41c['plugins']['get'](AIEditing)['hideFakeVisualSelection'](_0xb548fb),_0x416b99['resetSearch']();});}return _0x415fbe;};}const _0x178608='<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\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).Avoid\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><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>',_0x17c881='<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\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><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>',_0x356c7e='<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</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><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>';var AIQuickActionType=function(_0x18e6e3){return _0x18e6e3['CHAT']='CHAT',_0x18e6e3['ACTION']='ACTION',_0x18e6e3['REVIEW']='REVIEW',_0x18e6e3;}({}),AIQuickActionTypeToPluginName=function(_0x15e59d){return _0x15e59d['CHAT']='AIChat',_0x15e59d['ACTION']='AIActions',_0x15e59d['REVIEW']='AIReviewMode',_0x15e59d;}({});class AIQuickActionsUI extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['BalloonToolbar'],AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0xeab4f1=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0xeab4f1),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0xe15522){return getDefaultQuickActions(_0xe15522);}async['_getDefaultAndCustomActions'](){const _0x2660c3=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x4fc1ae=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x59660e=[];try{_0x59660e=await new _0x2008b6({'connector':this['editor']['plugins']['get']('AIConnector'),'locale':this['editor']['locale']})['getAll']();}catch(_0x443ea2){const _0xe0cb4e=new ckeditor5['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x443ea2});ckeditor5['logError'](_0xe0cb4e['message']);}finally{const _0x1d65ed=_0x4fc1ae['map'](_0x3989d6=>({..._0x3989d6,'icon':void 0x0})),_0x52ba99=_0x2660c3['find'](_0x52e19e=>'other'===_0x52e19e['id']);_0x52ba99['actions']['push'](..._0x1d65ed),_0x2660c3['forEach'](_0x1b15a1=>{if('actions'in _0x1b15a1)_0x1b15a1['actions']['forEach'](_0x4958dc=>{if(_0x4958dc['isEnabled']=!!_0x59660e['find'](_0x49da33=>_0x49da33['id']===_0x4958dc['model'])||void 0x0===_0x4958dc['model'],!_0x4958dc['isEnabled']){const _0x16f636=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x4958dc['id'],'modelId':_0x4958dc['model']});ckeditor5['logError'](_0x16f636['message']);}});else{if(_0x1b15a1['isEnabled']=!!_0x59660e['find'](_0x48d940=>_0x48d940['id']===_0x1b15a1['model'])||void 0x0===_0x1b15a1['model'],!_0x1b15a1['isEnabled']){const _0x3e5758=new ckeditor5['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x1b15a1['id'],'modelId':_0x1b15a1['model']});ckeditor5['logError'](_0x3e5758['message']);}}});}return _0x2660c3;}['_initializeQuickActionsComponentsAndCommands'](){const _0x3f7fd8=new ckeditor5['BodyCollection'](this['editor']['locale']);_0x3f7fd8['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x3f7fd8),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x3f7fd8);}['_initializeQuickActionsDropdown'](_0x15140a){const _0x2cfdce=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',aiQuickActionsDropdownCreator({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':ckeditor5['IconAIQuickActions'],'label':getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x15140a,'hasSearch':_0x2cfdce}));}['_prepareQuickActionsDefinition'](_0x13bc7f){this['_quickActionsDefinition']=_0x13bc7f['map'](_0x33de1b=>{if('actions'in _0x33de1b){const _0x53b70a=_0x33de1b;return{..._0x53b70a,'actions':_0x53b70a['actions']['map'](_0x53a873=>{const {actions:_0x4655f1,..._0x15619b}=_0x53b70a;return{..._0x53a873,'parent':_0x15619b};})['filter'](_0x5d605c=>this['_shouldIncludeAction'](_0x5d605c))};}return _0x33de1b;})['filter'](_0xf55720=>'actions'in _0xf55720?_0xf55720['actions']['length']>0x0:this['_shouldIncludeAction'](_0xf55720));}['_shouldIncludeAction'](_0x4a6050){const _0x411a06=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](AIQuickActionTypeToPluginName[_0x4a6050['type']])&&!_0x411a06['includes'](_0x4a6050['id'])&&!('CHAT'===_0x4a6050['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x2129cb){this['_quickActionsDefinition']['forEach'](_0x617c2e=>{if('actions'in _0x617c2e){const _0x3a9dcb=aiQuickActionsDropdownCreator({'editor':this['editor'],'content':_0x617c2e['actions'],'buttonDefinition':_0x617c2e,'bodyCollection':_0x2129cb});this['editor']['ui']['componentFactory']['add'](_0x617c2e['id'],_0x3a9dcb),_0x617c2e['actions']['forEach'](_0x9b294d=>{const _0x588084=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x9b294d});this['editor']['ui']['componentFactory']['add'](_0x9b294d['id'],_0x588084);});}else{const _0x42a42f=aiQuickActionsButtonCreator({'editor':this['editor'],'action':_0x617c2e,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x617c2e['id'],_0x42a42f);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x13fdb7=>{const _0x208ac1=new ckeditor5['MenuBarMenuView'](_0x13fdb7),_0x5f1948=getTranslation$i(_0x13fdb7,'AI_QUICK_ACTIONS_HEADING');_0x208ac1['buttonView']['set']({'label':_0x5f1948,'icon':ckeditor5['IconAIQuickActions']});const _0x14e1d5=new ckeditor5['MenuBarMenuListView'](_0x13fdb7);_0x14e1d5['set']({'ariaLabel':_0x5f1948,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x48bffb=>{if('actions'in _0x48bffb){const _0x167304=_0x48bffb,_0x5ca915=new ckeditor5['MenuBarMenuListItemView'](_0x13fdb7,_0x208ac1),_0x3e84e5=new ckeditor5['MenuBarMenuView'](_0x13fdb7),_0x32de84=new ckeditor5['MenuBarMenuListView'](_0x13fdb7);_0x3e84e5['buttonView']['set']({'label':_0x167304['label'],'icon':_0x167304['icon']}),_0x167304['actions']['forEach'](_0x5de096=>{const _0x560cb3=new ckeditor5['MenuBarMenuListItemView'](_0x13fdb7,_0x3e84e5),_0x92e9a7=new ckeditor5['MenuBarMenuListItemButtonView'](_0x13fdb7);_0x92e9a7['set']({'label':_0x5de096['displayedPrompt'],'icon':_0x5de096['icon'],'role':'menuitem','isEnabled':_0x5de096['isEnabled']}),_0x92e9a7['on']('execute',()=>{this['_executeQuickAction'](_0x5de096);}),_0x92e9a7['delegate']('execute')['to'](_0x3e84e5),_0x560cb3['children']['add'](_0x92e9a7),_0x32de84['items']['add'](_0x560cb3);}),_0x3e84e5['panelView']['children']['add'](_0x32de84),_0x5ca915['children']['add'](_0x3e84e5),_0x14e1d5['items']['add'](_0x5ca915);}else{const _0x33d27c=_0x48bffb,_0x2d35da=new ckeditor5['MenuBarMenuListItemView'](_0x13fdb7,_0x208ac1),_0x3ee13c=new ckeditor5['MenuBarMenuListItemButtonView'](_0x13fdb7);_0x3ee13c['set']({'label':_0x33d27c['displayedPrompt'],'icon':_0x33d27c['icon'],'role':'menuitem','isEnabled':_0x33d27c['isEnabled']}),_0x3ee13c['on']('execute',()=>{this['_executeQuickAction'](_0x33d27c);}),_0x3ee13c['delegate']('execute')['to'](_0x208ac1),_0x2d35da['children']['add'](_0x3ee13c),_0x14e1d5['items']['add'](_0x2d35da);}});const _0x2715c5=Object['values'](AIQuickActionTypeToPluginName)['some'](_0x2c96b0=>this['editor']['plugins']['has'](_0x2c96b0));return _0x208ac1['set']({'isEnabled':_0x2715c5}),_0x208ac1['panelView']['children']['add'](_0x14e1d5),_0x208ac1;});}['_executeQuickAction'](_0x51dde1){const _0x21bab3=this['editor'];_0x21bab3['editing']['view']['focus'](),_0x21bab3['commands']['execute']('aiQuickAction',_0x51dde1);const _0x130139=_0x21bab3['ui']['view']['menuBarView'];_0x130139&&_0x130139['close']&&_0x130139['close']();}}function getDefaultQuickActions(_0x159e97){const _0x1f3abf=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x159e97['uiLanguage'])||'English';return[{'id':'ask-ai','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_ASK_AI'),'type':'CHAT','icon':ckeditor5['IconAIChatCommands']},{'id':'chat-commands','label':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':ckeditor5['IconAIChatCommands'],'actions':[{'id':'explain','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x178608['replace']('%0',_0x1f3abf),'type':'CHAT'},{'id':'summarize','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x17c881['replace']('%0',_0x1f3abf),'type':'CHAT'},{'id':'highlight-key-points','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x356c7e['replace']('%0',_0x1f3abf),'type':'CHAT'}]},{'id':'improve-writing','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIImproveWriting']},{'id':'continue','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'ACTION','icon':ckeditor5['IconAIContinueWriting']},{'id':'fix-grammar','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'ACTION','icon':ckeditor5['IconAIGrammarCheck']},{'id':'adjust-length','label':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':ckeditor5['IconAIAdjustLength'],'actions':[{'id':'make-shorter','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'ACTION'},{'id':'make-longer','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'ACTION'}]},{'id':'change-tone','label':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':ckeditor5['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'ACTION'},{'id':'make-tone-direct','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'ACTION'},{'id':'make-tone-friendly','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'ACTION'},{'id':'make-tone-confident','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'ACTION'},{'id':'make-tone-professional','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'ACTION'}]},{'id':'translate','label':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':ckeditor5['IconAITranslate'],'actions':[{'id':'translate-to-english','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'ACTION','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'ACTION','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'ACTION','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'ACTION','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'ACTION','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'ACTION','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'ACTION','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'ACTION','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'ACTION','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','displayedPrompt':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'ACTION','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':getTranslation$i(_0x159e97,'AI_QUICK_ACTIONS_OTHER'),'icon':ckeditor5['IconAIOther'],'actions':[]}];}class AIQuickActionsCommand extends ckeditor5['Command']{['execute'](_0x5069d2){switch(this['_expandSelectionIfCollapsed'](),_0x5069d2['type']){case AIQuickActionType['CHAT']:if(!this['editor']['plugins']['has']('AIChat')){const _0x385232=getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new ckeditor5['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x385232});}this['_handleAIChatAction'](_0x5069d2);break;case AIQuickActionType['ACTION']:if(!this['editor']['plugins']['has']('AIActions')){const _0xa15ad7=getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new ckeditor5['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0xa15ad7});}this['_handleAIActionsAction'](_0x5069d2);break;case AIQuickActionType['REVIEW']:if(!this['editor']['plugins']['has']('AIReviewMode')){const _0x5eaa24=getTranslation$i(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIReviewMode');throw new ckeditor5['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x5eaa24});}this['_handleAIReviewAction'](_0x5069d2);}}async['_handleAIChatAction'](_0x1f7c80){const _0x211367=this['editor']['plugins']['get']('AIChat'),_0x19dc2e=this['editor']['plugins']['get']('AIChatController'),_0x220a67=this['editor']['plugins']['get']('AITabs')['view'];if(_0x220a67['isVisible']||(_0x220a67['isVisible']=!0x0),'chat'!==_0x220a67['activeTab']&&_0x220a67['activateTab']('chat'),'ask-ai'===_0x1f7c80['id'])_0x19dc2e['removeSelectionFromChatContext'](),await _0x211367['addSelectionToChatContext'](),_0x211367['focusPromptInput']();else await _0x211367['startConversation'](),_0x19dc2e['removeSelectionFromChatContext'](),await _0x211367['addSelectionToChatContext'](),_0x211367['focusPromptInput'](),await _0x211367['sendMessage']({'message':_0x1f7c80['prompt']||_0x1f7c80['displayedPrompt'],'attributes':{'quickActionData':{'id':_0x1f7c80['id']},'displayedPrompt':_0x1f7c80['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x5f2221=this['editor'],_0x27bf4d=_0x5f2221['model']['document']['selection'];if(!_0x27bf4d['isCollapsed'])return;const _0x1f87ab=ckeditor5['first'](_0x27bf4d['getSelectedBlocks']())||_0x5f2221['model']['schema']['getLimitElement'](_0x27bf4d);_0x5f2221['model']['change'](_0xfaa282=>{_0xfaa282['setSelection'](_0x1f87ab,'in');});}['_handleAIActionsActionLabel'](_0x2d1b99){return _0x2d1b99['parent']?.['label']&&'other'!==_0x2d1b99['parent']?.['id']?_0x2d1b99['parent']['label']+':\x20'+_0x2d1b99['displayedPrompt']:_0x2d1b99['displayedPrompt'];}async['_handleAIActionsAction'](_0x447c70){const _0x1c0f37=this['editor']['plugins']['get']('AIActions'),_0x19913e=_0x447c70['prompt']?{'userMessage':_0x447c70['prompt'],'model':_0x447c70['model']}:{'actionName':_0x447c70['actionName']||_0x447c70['id'],'args':_0x447c70['args']},_0xb98366=this['_handleAIActionsActionLabel'](_0x447c70);await _0x1c0f37['executeAction'](_0x19913e,_0xb98366,_0x447c70['icon']);}async['_handleAIReviewAction'](_0x20f0bf){console['log']('handleAIReviewAction',_0x20f0bf);}}class AIQuickActionsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4950d8=this['editor'],_0x2e9b0b=new AIQuickActionsCommand(this['editor']);if(_0x4950d8['commands']['add']('aiQuickAction',_0x2e9b0b),_0x4950d8['plugins']['has']('AIChat')){const _0x402876=this['editor']['plugins']['get']('AIChat');_0x4950d8['model']['document']['selection']['on']('change:range',(_0x38e54e,_0x4c4f7e)=>{_0x4c4f7e['directChange']&&_0x402876['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x506b88{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x84e4fd=_0x128958(this['documentContextContent']['children']['map'](_0x1e44d9=>({'node':_0x1e44d9,'id':getAttribute(_0x1e44d9,'data-id')})),this['parsedMergedContent']['children']['map'](_0x41a861=>({'node':_0x41a861,'id':getAttribute(_0x41a861,'data-id')||ckeditor5['uid']()})),{'comparator':(_0x54a80b,_0x24c7e1)=>_0x54a80b['id']==_0x24c7e1['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x84e4fd['length']&&_0x84e4fd[_0x84e4fd['length']-0x1]['removed'];)_0x84e4fd['pop']();}const _0x47ed8b=_0x84e4fd['map'](_0x3481df=>{const _0x1a1029=_0x3481df['added']?'new':_0x3481df['removed']?'removed':'modified';return{'node':_0x3481df['value'][0x0]['node'],'type':_0x1a1029,'id':_0x3481df['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x47ed8b,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0xd39b6c,_0x28c429){return _0x28c429;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;constructor(_0x1b6dbf){super(_0x1b6dbf),this['content']=_0x1b6dbf['content'],this['version']=_0x1b6dbf['version'],this['actionName']=_0x1b6dbf['actionName'],this['args']=_0x1b6dbf['args'],this['userMessage']=_0x1b6dbf['userMessage'],this['model']=_0x1b6dbf['model'];}async['sendRequest'](){return this['actionName']?this['connector']['executeAction']({'content':this['content'],'actionName':this['actionName'],'args':this['args']}):this['connector']['executeCustomAction']({'content':this['content'],'message':this['userMessage'],'model':this['model'],'outputFormat':'html'});}['getDocumentContext'](){return{'type':AIContextItemType['TEXT'],'content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x20222f){const _0x1ebd06=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x20222f});return this['replies']['push'](_0x1ebd06),_0x1ebd06['delegate'](..._0x337d5e)['to'](this),this['fire']('replyCreated',_0x1ebd06),_0x1ebd06;}}class AIActionsBalloonToolbarView extends ckeditor5['ToolbarView']{constructor(_0x578875,_0x1f7c4b=!0x0,_0x2875df=!0x0){super(_0x578875),this['set']('isEnabled',!0x1),_0x1f7c4b&&(this['applyButton']=this['_createButton'](getTranslation$i(_0x578875,'AI_BALLOON_APPLY_BUTTON'),'ck-ai-button-primary'),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x2875df&&(this['suggestButton']=this['_createButton'](getTranslation$i(_0x578875,'AI_BALLOON_SUGGEST_BUTTON'),_0x1f7c4b?'ck-ai-button-secondary':'ck-ai-button-primary'),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x1f7c4b,'showSuggestButton':_0x2875df}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x2042c7,showSuggestButton:_0x4bb965}){this['applyButton']&&(this['applyButton']['isVisible']=_0x2042c7),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x4bb965);}['_createButton'](_0x3c408f,_0x577919){const _0x44c0b0=new ckeditor5['ButtonView'](this['locale']);return _0x44c0b0['set']({'label':_0x3c408f,'class':_0x577919,'isVisible':!0x0,'withText':!0x0}),_0x44c0b0;}}class AIActionsBalloonDisclaimerView extends ckeditor5['View']{constructor(_0x44dcc){super(_0x44dcc),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':getTranslation$i(_0x44dcc,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends ckeditor5['View']{constructor(_0x65cf77){super(_0x65cf77),this['set']('isVisible',!0x0);const _0x483fb2=new _0x1a92d9('small');_0x483fb2['isVisible']=!0x0;const _0x3f25ff=new ckeditor5['View'](this['locale']);_0x3f25ff['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[getTranslation$i(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x55e709=>!_0x55e709)]},'children':[_0x483fb2,_0x3f25ff]});}}class AIActionsBalloonView extends _0x3f29e3{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x1fb7a7,_0x4a5874){super(_0x1fb7a7),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x4a5874,this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_keystrokes']=new ckeditor5['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new ckeditor5['ViewCollection'](),this['_addContentWrapper'](_0x4a5874),this['_addDisclaimerView'](),this['_addToolbar'](_0x4a5874),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'](_0x4a5874);});}['render'](){super['render']();for(const _0x574745 of this['_focusables'])this['_focusTracker']['add'](_0x574745['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x7c4220){-0x1===_0x7c4220?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x5ccadf){this['_isLoading']=_0x5ccadf;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x27b59c){super['showError'](_0x27b59c),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x49aeb9){super['showBlockingError'](_0x49aeb9),this['setErrorState']();}['addMiniToolbarItem'](_0x1702f5){this['_miniToolbarView']['items']['has'](_0x1702f5)||this['_miniToolbarView']['items']['add'](_0x1702f5);}['removeMiniToolbarItem'](_0x1c746e){this['_miniToolbarView']['items']['has'](_0x1c746e)&&this['_miniToolbarView']['items']['remove'](_0x1c746e);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x2f01cb,showSuggestButton:_0x31b7d8}){_0x2f01cb=_0x2f01cb&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x31b7d8=_0x31b7d8&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x2f01cb,'showSuggestButton':_0x31b7d8});}async['updateContent'](_0x2551e8){await this['_streamableContentView']['update'](_0x2551e8);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x1ed024){this['_contentWrapper']=new ckeditor5['View'](this['locale']),this['_contentWrapper']['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content-wrapper']},'children':[this['_createLoaderView'](),this['_createStreamableContentView']()]},this['_createMiniToolbar'](_0x1ed024['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x564126,showSuggestButton:_0x405ec1}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x564126,_0x405ec1),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',(_0x2e4d02,_0x1b7dec,_0x1e2732)=>!(_0x2e4d02||_0x1b7dec||_0x1e2732)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x564126,'showSuggestButton':_0x405ec1}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x3c875b){return this['_miniToolbarView']=new _0x296b19(this['locale'],_0x3c875b),this['_miniToolbarView']['delegate'](..._0x11110e)['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',(_0x3e2832,_0x37a8a4)=>!(_0x3e2832||_0x37a8a4)),this['_miniToolbarView'];}['_createLoaderView'](){return this['_loaderView']=new AISuggestionLoaderView(this['locale']),this['_loaderView']['bind']('isVisible')['to'](this,'_isLoading'),this['_loaderView'];}['_createStreamableContentView'](){return this['_streamableContentView']=new AISuggestionStreamableContentView(this['locale']),this['_streamableContentView'];}['_setupMiniToolbarButtons'](){const _0x3ded8e=new ckeditor5['ButtonView'](this['locale']),_0x120181=new ckeditor5['ButtonView'](this['locale']),_0x184d37=new AIActionsBalloonNavigationCounterView(this['locale']),_0xa88214=new ckeditor5['ButtonView'](this['locale']);_0x3ded8e['set']({'icon':ckeditor5['IconRefresh'],'label':getTranslation$i(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button'}),_0x120181['set']({'icon':ckeditor5['IconPreviousArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button'}),_0xa88214['set']({'icon':ckeditor5['IconNextArrow'],'tooltip':getTranslation$i(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button'}),_0x3ded8e['bind']('isEnabled')['to'](this,'isBusy',_0x5de114=>!_0x5de114),_0x3ded8e['on']('execute',()=>{this['fire']('tryAgain');}),_0x120181['bind']('isEnabled')['to'](this,'isBusy',_0x7e0a99=>!_0x7e0a99),_0x120181['on']('execute',()=>{this['fire']('showPrevious');}),_0xa88214['bind']('isEnabled')['to'](this,'isBusy',_0x4b987d=>!_0x4b987d),_0xa88214['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x120181,this['_navigationCounter']=_0x184d37,this['_navigationNextButton']=_0xa88214,this['_navigationTryAgainButton']=_0x3ded8e;}['updateMiniToolbarButtons'](_0x2ece47,_0x36613c){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x33ae51=_0x2ece47>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x33ae51){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0xce1978=_0x2ece47-_0x36613c;this['_navigationCounter']['setInteractionCount'](_0xce1978+'/'+_0x2ece47),this['_navigationPreviousButton']['isEnabled']=_0x36613c<_0x2ece47-0x1,this['_navigationNextButton']['isEnabled']=_0x36613c>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'](_0xebc8c3){this['_isLoading']=_0xebc8c3;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x18047c=this['_getScrollableElement']();_0x18047c&&!this['_scrollManager']&&(this['_scrollManager']=new _0x16c12a(_0x18047c));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends ckeditor5['View']{constructor(_0x37104a){super(_0x37104a);const _0x5d2276=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x5d2276['to']('interactionCount')}]});}['setInteractionCount'](_0x5ae9c2){this['set']('interactionCount',_0x5ae9c2);}}class AIActions extends ckeditor5['Plugin']{static get['requires'](){return[AIConnector,ckeditor5['Dialog'],AIEditing,_0xe03e5f,DocumentCompare];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_aiConnector'];['_interactions']=[];['_currentInteractionIndex']=0x0;['_interactionParams'];['_balloonShowDiff']=!0x1;['_promiseQueue'];['_bodyCollection'];get['_interaction'](){return this['_interactions'][this['_interactions']['length']-0x1];}['_actionsBalloonView'];constructor(_0x2f0ce0){super(_0x2f0ce0),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['editor']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x3ad7db();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x2b0e92,_0x8267d9,_0x140d5b){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x536cbf,anchorData:_0x45faf0}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x2b0e92,_0x536cbf,_0x45faf0,_0x8267d9,_0x140d5b);}}const {modelFragment:_0x5169ca,anchorData:_0x322843}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x2b0e92,_0x5169ca,_0x322843,_0x8267d9,_0x140d5b);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x2a22aa=this['editor']['plugins']['has']('TrackChanges');let _0x2d3f12=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x155f5c];_0x2a22aa||(_0x2d3f12=_0x2d3f12['filter'](_0x1afb5b=>'insertSuggestion'!=_0x1afb5b));const _0x105d01=this['editor']['commands']['get']('trackChanges'),_0x6074a5=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x2a22aa,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x2d3f12});return _0x6074a5['bind']('isBusy')['to'](this),_0x105d01&&_0x6074a5['bind']('isTrackChangesOn')['to'](_0x105d01,'value'),_0x6074a5['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x6074a5['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x6074a5['on']('showNext',()=>{this['_navigateToNext']();}),_0x6074a5;}['_getExecuteDataRegular'](){const _0x4592b1=this['editor']['model']['document']['selection'];if(_0x4592b1['isCollapsed']){const _0x42ed27=ckeditor5['first'](_0x4592b1['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x4592b1);this['editor']['model']['change'](_0x54781f=>{_0x54781f['setSelection'](_0x42ed27,'in');});}const _0x44b033=_0x4592b1['getFirstRange'](),_0x9530a3=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x4592b1),_0x44b033['start'],_0x44b033['end']);this['_copyMarkersToFragment'](_0x9530a3,_0x4592b1,{'isTableSelection':!0x1});const _0x435ed1=_0x4592b1['getFirstRange']()['start'],_0x27ba6b=new Map();let _0x14684b=_0x9530a3;for(let _0x3f49c6=0x0;_0x3f49c6<_0x435ed1['path']['length'];_0x3f49c6++)_0x27ba6b['set'](_0x14684b,_0x435ed1['path'][_0x3f49c6]),_0x14684b=_0x14684b['getChild'](0x0);return{'modelFragment':_0x9530a3,'anchorData':_0x27ba6b};}['_getExecuteDataInTable'](){const _0xaa45fd=this['editor']['model']['document']['selection'],_0x34e8a2=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x11fc6d=_0xaa45fd['getFirstRange']()['start']['parent']['parent'],_0x235d1d=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x11fc6d),this['editor']['model']['createPositionAfter'](_0x11fc6d)),_0x5738fc=this['_wrapWithCommonAncestors'](_0x34e8a2,_0x235d1d['start'],_0x235d1d['end']);this['_copyMarkersToFragment'](_0x5738fc,_0xaa45fd,{'isTableSelection':!0x0});const _0x2de6e0=_0xaa45fd['getFirstRange']()['start'],_0x6d73a6=new Map();let _0x1c6585=_0x5738fc;for(let _0xc82cab=0x0;_0xc82cab<_0x2de6e0['path']['length'];_0xc82cab++)if(_0x6d73a6['set'](_0x1c6585,_0x2de6e0['path'][_0xc82cab]),_0xc82cab<_0x2de6e0['path']['length']-0x1)_0x1c6585=_0x1c6585['getChild'](0x0);else{let _0xe46e8=_0x1c6585['nextSibling'];for(;_0xe46e8;)_0x6d73a6['set'](_0xe46e8,_0x2de6e0['path'][_0xc82cab]),_0xe46e8=_0xe46e8['nextSibling'];}return{'modelFragment':_0x5738fc,'anchorData':_0x6d73a6};}async['_executeAction'](_0x103496,_0xcde811,_0x3007e2,_0x1dc209,_0x3293db){const _0x7df189=this['editor']['plugins']['get'](AIEditing),_0x35bc42=this['editor']['plugins']['get'](_0xe03e5f),_0x3a1e66=this['editor']['model']['document']['selection'],_0x33efae=await _0x7df189['modelToDataWithIds'](_0xcde811),_0x50d146=this['editor']['model']['document']['version'],_0x5e47a1=[..._0x3a1e66['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),_0x35bc42['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x1dc209,'icon':_0x3293db||ckeditor5['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x5e47a1,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x35bc42),this['_interactionParams']={'action':_0x103496,'content':_0x33efae,'version':_0x50d146,'aiBalloon':_0x35bc42,'modelFragment':_0xcde811,'anchorData':_0x3007e2},this['_setupApplyListeners'](),this['listenTo'](_0x35bc42,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x35bc42,'dialogClosed',(_0x13c579,{id:_0x58b1aa})=>{if('aiActionsBalloon'===_0x58b1aa){if(this['_interaction']&&this['_interaction']['replies']['length']>0x0){const _0x46b667=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x58ee12=_0x46b667['changeGroups'][0x0];_0x58ee12&&'pending'===_0x58ee12['state']&&_0x46b667['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x35bc42);}}),this['_createInteraction'](_0x33efae,_0x50d146,_0x35bc42,_0x103496);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x243d35,anchorData:_0x1bedb4}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x243d35,_0x1bedb4,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x243d35,_0x1bedb4,!0x0);});}['_wrapWithCommonAncestors'](_0x1c7c23,_0x1d423e,_0x22a9fc){const _0x51b469=this['editor']['model']['createRange'](_0x1d423e,_0x22a9fc)['getCommonAncestor'](),_0x5b8403=_0x51b469['is']('documentFragment')?[]:_0x51b469['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x5b8403['length']){const _0x5d0af5=_0x5b8403['map'](_0x56ab6a=>_0x56ab6a['_clone'](!0x1));for(let _0x5d8d8a=0x1;_0x5d8d8a<_0x5d0af5['length'];_0x5d8d8a++)_0x5d0af5[_0x5d8d8a-0x1]['_appendChild'](_0x5d0af5[_0x5d8d8a]);return _0x5d0af5[_0x5d0af5['length']-0x1]['_appendChild'](_0x1c7c23),new ckeditor5['ModelDocumentFragment'](_0x5d0af5[0x0]);}return _0x1c7c23;}['_copyMarkersToFragment'](_0x3dd982,_0x25cb4e,_0x5b2b10={'isTableSelection':!0x1}){const _0x511ed9=this['editor']['model'],_0x117bb6=Array['from'](_0x25cb4e['getRanges']()),_0x55f996=_0x25cb4e['getFirstRange']()['start'];for(const _0x589185 of _0x511ed9['markers']){if(_0x589185['name']['startsWith'](_0x579c20)||!_0x589185['affectsData'])continue;const _0xf45a62=_0x589185['getRange']();if(!_0x117bb6['some'](_0x120d15=>_0x120d15['containsRange'](_0xf45a62,!0x0)))continue;const _0x3f32c6=this['_regularCalculateMarkerPath'](_0xf45a62['start'],_0x55f996,_0x5b2b10['isTableSelection']),_0x44f6fb=this['_regularCalculateMarkerPath'](_0xf45a62['end'],_0x55f996,_0x5b2b10['isTableSelection']),_0xaee5f4=_0x511ed9['createPositionFromPath'](_0x3dd982,_0x3f32c6),_0x1f09a1=_0x511ed9['createPositionFromPath'](_0x3dd982,_0x44f6fb);if(!_0xaee5f4['isEqual'](_0x1f09a1)){const _0x37e212=_0x511ed9['createRange'](_0xaee5f4,_0x1f09a1);_0x3dd982['markers']['set'](_0x589185['name'],_0x37e212);}}}['_regularCalculateMarkerPath'](_0x5f191a,_0x38cfae,_0x303554=!0x1){const _0x50a908=[..._0x5f191a['path']['slice']()];for(let _0x3fb0eb=0x0;_0x3fb0eb<Math['max'](_0x38cfae['path']['length'],_0x5f191a['path']['length']);_0x3fb0eb++){const _0x5a7d50=_0x38cfae['path'][_0x3fb0eb]||0x0,_0xe83dcf=(_0x5f191a['path'][_0x3fb0eb]||0x0)-_0x5a7d50;if(_0x50a908[_0x3fb0eb]=_0xe83dcf,0x0!==_0xe83dcf&&!_0x303554)break;}return _0x50a908;}async['_createInteraction'](_0x3d0911,_0x5ee173,_0x3bd71d,_0x2aea55){const _0x2fb653=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x2aea55,'content':_0x3d0911,'version':_0x5ee173,'aiBalloon':_0x3bd71d,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map()});const _0x226f07=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x2fb653,'content':_0x3d0911,'version':_0x5ee173,..._0x2aea55});this['_interactions']['push'](_0x226f07);const _0x6300e1=(_0x294f57,_0x2a75a1=!0x1,_0xfa1d1d='streaming')=>this['_promiseQueue']['enqueue'](async _0x2b30f0=>{try{const _0x54439f=getSuggestionPartsFromReply({'editor':_0x2fb653,'changeGroups':_0x294f57['changeGroups'],'documentContextContent':_0x294f57['documentContextContent'],'showDiff':_0x2a75a1,'trimUnchanged':!0x1});_0x54439f['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x54439f[0x0],'renderingStrategy':_0xfa1d1d,'abortSignal':_0x2b30f0});}catch(_0xa35205){if(this['_isAbortError'](_0xa35205))return;throw _0xa35205;}});this['_interaction']['on']('replyCreated',(_0x383d7b,_0x51f834)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x6300e1(_0x51f834)['catch'](_0x510cca=>{this['_isAbortError'](_0x510cca)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x510cca),this['_setErrorState'](_0x226f07));});}),this['_interaction']['on']('replyContentUpdated',(_0x5213d4,_0x5d3652)=>{_0x6300e1(_0x5d3652)['catch'](_0x4b3aec=>{this['_isAbortError'](_0x4b3aec)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x4b3aec),this['_setErrorState'](_0x226f07));});}),this['_interaction']['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x32420f){this['_isAbortError'](_0x32420f)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x32420f),this['_setErrorState'](_0x226f07));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x24e269,{showDiff:_0x1b3758})=>{try{this['_balloonShowDiff']=_0x1b3758;const _0x3f161e=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x3f161e&&await _0x6300e1(_0x3f161e,_0x1b3758,'static');}catch(_0x59a9dd){this['_isAbortError'](_0x59a9dd)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x59a9dd),this['_setErrorState'](_0x226f07));}}),this['_interaction']['on']('replyChangeGroupStateUpdated',(_0xe9c3e2,{reply:_0x144222})=>{const _0x505a9d={'positiveCount':_0x144222['changeGroups']['filter'](_0x129b63=>'accepted'===_0x129b63['state'])['length'],'totalCount':_0x144222['changeGroups']['length']},_0x144301=this['_interaction']['actionCallId'],_0x50a766=this['_interaction']['actionName'];_0x50a766?this['_aiConnector']['upsertAIActionRating'](_0x50a766,_0x144301,_0x505a9d):this['_aiConnector']['upsertCustomAIActionRating'](_0x144301,_0x505a9d);}),this['_setLoadingState']();try{const _0x41c7cf=await this['_interaction']['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x41c7cf;}catch(_0x2a54a6){if(this['_isAbortError'](_0x2a54a6))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x226f07);}}['_applyChanges'](_0xf8e971,_0x25eb53,_0x5f4e59){const _0x34ad43=this['editor'];if(_0x5f4e59&&!_0x34ad43['plugins']['has']('TrackChanges'))throw new ckeditor5['CKEditorError']('ai-no-track-changes',null);const _0x1c0fd6=this['editor']['plugins']['get'](DocumentCompare),_0x453b9b=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x453b9b||!_0x453b9b['replies']['length'])return;const _0x2d7e6d=_0x453b9b['replies'][_0x453b9b['replies']['length']-0x1],_0xed591e=_0x2d7e6d['changeGroups'];_0x2d7e6d['setChangeGroupState'](0x0,'accepted');let _0x188eb6=getOperationsFromReply({'editor':_0x34ad43,'reply':_0x2d7e6d,'interaction':_0x453b9b,'groups':_0xed591e,'transform':!0x1,'documentCompare':_0x1c0fd6,'documentCompareOptions':{'anchor':_0x34ad43['model']['createPositionAt'](_0xf8e971,0x0),'markDeletions':_0x5f4e59}});_0x188eb6=this['_filterOperationsOutsideRange'](_0x188eb6,_0x25eb53);for(const _0x1f8734 of _0x188eb6)this['_anchorOperation'](_0x25eb53,_0x1f8734,_0x34ad43['model']['document']['getRoot']());const _0x31a90b=_0x453b9b['getDocumentContext']()['version'],_0x4b90f=_0x34ad43['model']['document']['history']['getOperations'](_0x31a90b),_0x8a978d={'document':_0x34ad43['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1d4957=ckeditor5['transformOperationSets'](_0x188eb6,_0x4b90f,_0x8a978d)['operationsA'];_0x34ad43['model']['change'](_0x5c345e=>{if(_0x5c345e['setSelection'](_0x34ad43['model']['document']['selection']['focus']),_0x5f4e59)_0x34ad43['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x1d4957);else{for(const _0x1b9a41 of _0x1d4957)_0x1b9a41['baseVersion']=_0x34ad43['model']['document']['version'],fixMarkerOperationOldRange(_0x34ad43,_0x1b9a41),_0x5c345e['batch']['addOperation'](_0x1b9a41),_0x34ad43['model']['applyOperation'](_0x1b9a41);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x4fb239,_0x597625){return _0x4fb239['filter'](_0x389b03=>{if('rename'==_0x389b03['type']){const _0x70158e=_0x389b03['position']['nodeAfter'];return!_0x597625['has'](_0x70158e);}if(_0x389b03['type']['indexOf']('Attribute')>-0x1){const _0x1da94c=_0x389b03['range']['start']['nodeAfter'];return!_0x597625['has'](_0x1da94c);}return!0x0;});}['_anchorOperation'](_0x577002,_0x11628e,_0x457263){const _0x30f35d=_0x11628e['clone']();for(const _0x337fbb in _0x11628e){const _0x10a434=_0x11628e[_0x337fbb];_0x10a434 instanceof ckeditor5['ModelRange']?_0x11628e[_0x337fbb]=new ckeditor5['ModelRange'](_0x24330e(_0x10a434['start']),_0x24330e(_0x10a434['end'])):_0x10a434 instanceof ckeditor5['ModelPosition']&&(_0x11628e[_0x337fbb]=_0x24330e(_0x10a434));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x30f35d['type'])){if(_0x30f35d['isDocumentOperation']=!0x1,_0x30f35d['baseVersion']=null,'remove'==_0x30f35d['type']){const _0x135016=_0x30f35d['sourcePosition'],_0x3f0045=_0x30f35d['howMany'];new ckeditor5['_DetachOperation'](_0x135016,_0x3f0045)['_execute']();}else _0x30f35d['_execute']();}function _0x24330e(_0x3d09e3){if('$graveyard'==_0x3d09e3['root']['rootName'])return _0x3d09e3;const _0x353ba5=[];let _0x1d5873=_0x3d09e3['root'];for(let _0x52981=0x0;_0x52981<_0x3d09e3['path']['length'];_0x52981++){const _0x341272=_0x577002['get'](_0x1d5873)||0x0;_0x353ba5[_0x52981]=_0x3d09e3['path'][_0x52981]+_0x341272,_0x1d5873=_0x1d5873['getChildAtOffset'](_0x3d09e3['path'][_0x52981]);}return new ckeditor5['ModelPosition'](_0x457263,_0x353ba5,_0x3d09e3['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x2a77e7,content:_0x1c2b0e,version:_0x367c96,aiBalloon:_0x452021}=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'](_0x1c2b0e,_0x367c96,_0x452021,_0x2a77e7)['catch'](_0x3ec3c9=>{this['_isAbortError'](_0x3ec3c9)||console['error']('Error\x20refreshing\x20interaction:',_0x3ec3c9);});}['_isAbortError'](_0x93adba){return!!_0x93adba['message']&&_0x93adba['message']['startsWith']('ai-request-aborted');}['_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 _0x30b110=this['_interactions']['length'];this['_currentInteractionIndex']<_0x30b110-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x17baee){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x17baee;const _0x37b9e4=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x37b9e4)return;if(_0x37b9e4['hasError'])return this['_setErrorState'](_0x37b9e4),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x37b9e4['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x364392=_0x37b9e4['replies'][_0x37b9e4['replies']['length']-0x1];if(_0x364392){const _0x1905b5=this['editor'];try{const _0x12f9ce=getSuggestionPartsFromReply({'editor':_0x1905b5,'changeGroups':_0x364392['changeGroups'],'documentContextContent':_0x364392['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x214076=>setTimeout(_0x214076,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x12f9ce[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x8e7933){this['_isAbortError'](_0x8e7933)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x8e7933);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x5b6850){const _0x211801=getTranslation$i(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x211801),_0x5b6850['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);}}class AIQuickActions extends ckeditor5['Plugin']{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1dffda){super(_0x1dffda),_0x1dffda['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends ckeditor5['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x304e86,_0x10dc5f){super(_0x304e86),this['id']=_0x10dc5f,this['set']('status','pending'),this['set']('changeId',_0x10dc5f),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',(_0x4fcf21,_0x1a6955)=>{_0x1a6955&&_0x1a6955['target']&&'A'===_0x1a6955['target']['tagName']&&_0x1a6955['preventDefault'](),this['fire']('activateChange',{'id':_0x10dc5f,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x10dc5f,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x10dc5f,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x587684=new ckeditor5['View'](this['locale']);return _0x587684['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai_review__check-run-result-response',this['bindTemplate']['if']('showDiff','ck-hidden',_0x33391b=>!_0x33391b)]}}),_0x587684;}['_createAcceptButtonView'](){const _0x46669c=new ckeditor5['ButtonView'](this['locale']);return _0x46669c['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x46669c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5acf6c=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x5acf6c['stopPropagation']();})},'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-accept-button',this['bindTemplate']['if']('status','ck-hidden',_0x5e94a3=>'pending'!==_0x5e94a3&&'accepted'!==_0x5e94a3),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-accept-button',_0x1bc788=>'pending'===_0x1bc788),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x5c35b9=>'accepted'===_0x5c35b9)]}}),this['on']('change:status',(_0x464f3b,_0x383ace,_0x2c59b2)=>{_0x46669c['isEnabled']='pending'===_0x2c59b2,'accepted'===_0x2c59b2&&(_0x46669c['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x46669c['icon']=ckeditor5['IconCheck']);}),_0x46669c;}['_createDismissButtonView'](){const _0x246008=new ckeditor5['ButtonView'](this['locale']);return _0x246008['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x246008['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x44f0c1=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x44f0c1['stopPropagation']();})},'attributes':{'class':['ck-ai-button-tertiary',this['bindTemplate']['if']('status','ck-hidden',_0x3c644d=>'pending'!==_0x3c644d&&'rejected'!==_0x3c644d),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x39f15a=>'pending'===_0x39f15a),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x5cb3ac=>'rejected'===_0x5cb3ac)]}}),this['on']('change:status',(_0xb4eb41,_0x214a39,_0x26bb53)=>{_0x246008['isEnabled']='pending'===_0x26bb53,'rejected'===_0x26bb53&&(_0x246008['label']=getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x246008['icon']=ckeditor5['IconCancel']);}),_0x246008;}['_createInfoButtonView'](){const _0x4e8848=new ckeditor5['ButtonView'](this['locale']);return _0x4e8848['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':ckeditor5['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':'ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x4e8848['bind']('isOn')['to'](this,'isInfoToggleOn',_0x297755=>_0x297755),_0x4e8848['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x4e8848;}['_createOutdatedButtonView'](){const _0x41b874=new ckeditor5['ButtonView'](this['locale']);return _0x41b874['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':ckeditor5['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x41b874['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x54306f=>'outdated'!==_0x54306f)],'disabled':'disabled'}}),_0x41b874;}}class AIReviewCoreBalloonSuggestionItemView extends ckeditor5['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x5df7b1,_0x3350ea){super(_0x5df7b1),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']()),_0x3350ea['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x53fd69){this['resultItemView']['changeId']=_0x53fd69['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x53fd69['contentDiffed'];}['showBalloon'](_0x3b978c,_0x49943b,_0x50b768,_0x119cb5,_0x2883cb,_0x4a00d3){const _0x177f83=_0x49943b();if(!_0x177f83)return;this['updateContent'](_0x3b978c),this['show']();const _0x4cad27=Array['from'](_0x177f83['getClientRects']())['reverse'](),_0x4e9228=this['_getPointedRectIndexFromEvent'](_0x50b768,_0x4cad27),_0x1258a3=_0x4cad27[_0x4e9228??0x0];'click'===_0x119cb5?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x49943b(),_0x4e9228,_0x3b978c['id'],_0x2883cb,_0x4a00d3)||_0x1258a3})):'hover'===_0x119cb5&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x49943b(),_0x4e9228,_0x3b978c['id'])||_0x1258a3}));}['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'](){ckeditor5['clickOutsideHandler']({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x2f7f4b=[this['element']];return this['_pinnedTargetElement']&&_0x2f7f4b['push'](this['_pinnedTargetElement']),_0x2f7f4b;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x1e49d4=new ckeditor5['View']();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x1e49d4['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']]}]}),_0x1e49d4;}['_getBestRectPositionOnClick'](_0x120c42,_0x1ac857,_0x1f0f04,_0x31505f,_0x48ee63){if(!_0x120c42)return null;const _0x5a3406=this['position']['replace']('arrow_',''),_0x4824d2=Array['from'](_0x120c42['getClientRects']());let _0x51b019,_0x1e1079=_0x4824d2['reverse']();return void 0x0!==_0x1ac857&&this['_isPinnedRectVisible'](_0x1e1079[_0x1ac857],_0x31505f,_0x48ee63)?(_0x51b019=_0x1e1079[_0x1ac857],this['_pinnedRectIndex']=_0x1ac857):this['_isPinnedRectVisible'](_0x1e1079[0x0],_0x31505f,_0x48ee63)&&void 0x0===_0x1ac857?_0x51b019=_0x1e1079[0x0]:(_0x1e1079='s'==_0x5a3406[0x0]?[..._0x4824d2]['reverse']():_0x4824d2,_0x1e1079['forEach'](_0x24a5a6=>{this['_isPinnedRectVisible'](_0x24a5a6,_0x31505f,_0x48ee63)&&(_0x51b019=_0x24a5a6);})),this['_pinnedTargetChangeId']=_0x1f0f04,this['_pinnedTargetElement']=_0x120c42,_0x51b019||_0x120c42['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x12a436,_0x24f185,_0x2b3f52){if(!_0x12a436)return null;const _0x5284b9=Array['from'](_0x12a436['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x24f185&&this['_pinnedTargetChangeId']!==_0x2b3f52)return this['_pinnedRectIndex']=_0x24f185,this['_pinnedTargetElement']=_0x12a436,this['_pinnedTargetChangeId']=_0x2b3f52,_0x5284b9[_0x24f185];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x2b3f52){if(_0x12a436!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x5284b9[this['_pinnedRectIndex']];}return void 0x0!==_0x24f185&&this['_pinnedTargetChangeId']!==_0x2b3f52?(this['_pinnedRectIndex']=_0x24f185,this['_pinnedTargetElement']=_0x12a436,this['_pinnedTargetChangeId']=_0x2b3f52,_0x5284b9[_0x24f185]):_0x12a436['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x410b63,_0x277520){if(_0x410b63)for(let _0x42284e=0x0;_0x42284e<_0x277520['length'];_0x42284e++){const _0x55dcb2=_0x277520[_0x42284e];if(_0x410b63['clientX']>=_0x55dcb2['left']-0x3&&_0x410b63['clientX']<=_0x55dcb2['right']+0x3&&_0x410b63['clientY']>=_0x55dcb2['top']-0x3&&_0x410b63['clientY']<=_0x55dcb2['bottom']+0x3)return _0x42284e;}}['_isPinnedRectVisible'](_0x1f299b,_0x287644,_0x2f2bf6){const _0x477e61=new ckeditor5['Rect'](_0x1f299b),_0x51792d=_0x287644||document['documentElement'],_0x5e45cc=_0x477e61['getIntersection'](ckeditor5['getConstrainedViewportRect'](_0x2f2bf6)),_0x3c3fbc=new ckeditor5['Rect'](_0x51792d)['getIntersection'](_0x477e61);return!!(_0x5e45cc&&_0x3c3fbc&&_0x477e61['width']>0x0);}}const _0x1abfad=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x905ecd extends ckeditor5['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x415310];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2b30cc){super(_0x2b30cc),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x1abfad)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x3b8f66=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x3b8f66);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x2e392a){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x236d44=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x2e392a,_0x236d44);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x79c55f){_0x79c55f&&('error-general'!==_0x79c55f['status']?'error-chunk'!==_0x79c55f['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x291a07){this['_mainView']['addCheckRunResult'](_0x291a07);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x2b338b){this['_mainView']['showGeneralReviewCoreErrorView'](_0x2b338b??getTranslation$i(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0xe489fa,_0x213366){this['_mainView']['reviewCheckResultsView']['setTitle'](_0xe489fa,_0x213366);}['setActiveStateInResults'](_0x487448){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x131d43=>{_0x131d43['id']===_0x487448&&_0x131d43['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x5e2a65=>_0x5e2a65['setItemAsInactive']());}['updateChangeState'](_0x5ce03a,_0x4307d0){'accepted'===_0x4307d0||'rejected'===_0x4307d0||'outdated'===_0x4307d0?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x5ce03a,_0x4307d0):this['_mainView']['reviewCheckResultsView']['showResult'](_0x5ce03a,_0x4307d0);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x29ffda,_0x2594f0,_0x1961c0,_0x2cbe66,_0x228df2,_0x355682){this['_balloonSuggestionView']['showBalloon'](_0x29ffda,_0x2594f0,_0x1961c0,_0x2cbe66,_0x228df2,_0x355682);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x283742){const _0x2ee735=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x3cdb4d=>_0x3cdb4d['id']===_0x283742);return _0x2ee735?_0x2ee735['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x51dd5f extends ckeditor5['View']{constructor(_0x8c37ea){super(_0x8c37ea),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x549896=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x549896['if']('isVisible','ck-hidden',_0x17ed49=>!_0x17ed49)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x549896['to']('errorMessage')}]}]});}}class _0x49e732 extends ckeditor5['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x57f2c9,_0x572646){super(_0x57f2c9),this['reviewCoreHeader']=_0x572646['header'],this['generalErrorView']=new _0x51dd5f(_0x57f2c9),this['reviewCheckListView']=_0x572646['list'],this['reviewCheckListView']['delegate'](..._0x1abfad)['to'](this),this['reviewCheckResultsView']=_0x572646['results'],this['reviewCheckResultsView']['delegate'](..._0x1abfad)['to'](this),this['reviewCompletedView']=_0x572646['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'](_0x4a78e9){this['reviewCheckResultsView']['addResult'](_0x4a78e9),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'](_0x3dab96){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x3dab96;}['showGeneralResultsErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}}class AIReviewCoreFinishReviewButtonView extends ckeditor5['ButtonView']{constructor(_0x24203c,_0xf70b3d){super(_0xf70b3d),this['set']({'label':_0x24203c,'withText':!0x0,'class':'ck-ai-button-primary'}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends ckeditor5['ListItemView']{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3bda62,_0x1c0730){super(_0x3bda62),this['_contents']=_0x1c0730,this['_resultViews']=new ckeditor5['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['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x1ab607(_0x3bda62),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);const _0x482552=this['_createCombinedSkeletonLoader'](),_0x2634ac=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x2634ac['if']('isLoading','ck-ai_review__check-run_loading',_0x2f8f5d=>_0x2f8f5d),_0x2634ac['if']('isResultReady','ck-ai_review__check-run_ready',_0x33610a=>_0x33610a),_0x2634ac['if']('isVisible','ck-hidden',_0x13206c=>!_0x13206c)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1ffd9a=>_0x1ffd9a)]},'children':this['_resultViews']},_0x482552]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x36b810){const _0x390854=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x36b810['id']);_0x390854['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x390854),_0x390854['resultResponseView']['element']['innerHTML']=_0x36b810['contentDiffed'];}['hideResult'](_0x322c15,_0x47902b){if('pending'===_0x47902b)return;const _0x59dc67=this['_resultViews']['find'](_0x2df25b=>_0x2df25b['id']===_0x322c15);_0x59dc67&&(_0x59dc67['status']=_0x47902b,_0x59dc67['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x3b13fe,_0x35d505){if('pending'!==_0x35d505)return;const _0x39d54b=this['_resultViews']['find'](_0x266c60=>_0x266c60['id']===_0x3b13fe);_0x39d54b&&(_0x39d54b['status']=_0x35d505,_0x39d54b['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x320b63,_0x30d59f){this['headerTitle']=_0x320b63,this['headerSubtitle']=_0x30d59f||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new AISkeletonView(this['locale'],_0xbf81d8['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x1423dc=new ckeditor5['View'](this['locale']),_0x350312=[];for(let _0x1731fd=0x0;_0x1731fd<0x10;_0x1731fd++){const _0x115d41=this['_createSkeletonLoader']();_0x115d41['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x350312['push'](_0x115d41);}return _0x1423dc['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x4e2f96=>!_0x4e2f96)]},'children':_0x350312}),_0x1423dc;}['_createErrorView'](){const _0x2d1eda=new ckeditor5['View'](this['locale']),_0x33720f=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x2d1eda['delegate']('retryReview')['to'](this),_0x33720f['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x33720f['on']('execute',()=>{this['fire']('retryReview');}),_0x2d1eda['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x1e9daf=>!_0x1e9daf),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x1515e2=>'chunk'===_0x1515e2)]},'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',_0x1e83f1=>'chunk'===_0x1e83f1)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1dc400=>'general'!==_0x1dc400)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2e9d18=>'chunk'!==_0x2e9d18)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x33720f]}),_0x2d1eda;}['_createCancelButtonView'](){const _0x419662=new ckeditor5['ButtonView'](this['locale']);return _0x419662['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':ckeditor5['IconStop']}),_0x419662['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x485ab2=>_0x485ab2),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x9d17fb=>_0x9d17fb)]}}),_0x419662['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x419662;}['_createToggleDiffButtonView'](){const _0x568004=new ckeditor5['ButtonView'](this['locale']);_0x568004['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x568004['bind']('isEnabled')['to'](this,'isError',_0x330779=>!_0x330779),_0x568004['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2772d2=>!_0x2772d2),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5c74fd=>_0x5c74fd)]}});const _0x1b9589=getTranslation$i(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x535901=getTranslation$i(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x568004['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2c1d16=>_0x2c1d16),_0x568004['bind']('icon')['to'](this,'isToggleDiffOn',_0x33c241=>_0x33c241?ckeditor5['IconEye']:ckeditor5['IconEyeCrossedOut']),_0x568004['bind']('label')['to'](this,'isToggleDiffOn',_0x314d8d=>_0x314d8d?_0x1b9589:_0x535901),_0x568004['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x568004;}['_createAcceptAllButtonView'](){const _0x387715=new ckeditor5['ButtonView'](this['locale']);return _0x387715['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x387715['bind']('isEnabled')['to'](this,'isError',_0x165d6e=>!_0x165d6e),_0x387715['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x13e18a=>!_0x13e18a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2c41c0=>_0x2c41c0)]}}),_0x387715['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x387715;}['_createExitReviewButtonView'](){const _0x5f3c66=new ckeditor5['ButtonView'](this['locale']);return _0x5f3c66['set']({'label':getTranslation$i(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x5f3c66['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x20ca19=>!_0x20ca19),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x56f654=>_0x56f654)]}}),_0x5f3c66['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x5f3c66;}['_createResultHeaderView'](){const _0x549397=new ckeditor5['View'](this['locale']),_0xd2c09=this['_createTitleView']();return _0x549397['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0xc0347d=>_0xc0347d)]},'children':[_0xd2c09,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x549397;}['_createTitleView'](){const _0x4a6f84=new ckeditor5['View'](this['locale']),_0xf34fcd=new _0x1a92d9();return _0xf34fcd['bind']('isVisible')['to'](this,'isResultReady',_0x3a356c=>!_0x3a356c),_0x4a6f84['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0xf34fcd,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0xda51bc=>_0xda51bc)]},'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')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x36ffce=>!_0x36ffce)]},'children':[{'text':getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x4a6f84;}['_createFinishReviewButtonView'](){const _0x8abd95=new AIReviewCoreFinishReviewButtonView(getTranslation$i(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x8abd95['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x291489=>!_0x291489)]}}),_0x8abd95['delegate']('finishReview')['to'](this),_0x8abd95;}}class AIReviewCoreReviewCompletedView extends ckeditor5['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x99cbcc,_0x1fbf7f){super(_0x99cbcc),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x1fbf7f['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x1fbf7f['headerText']);const _0x448092=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x448092['if']('isVisible','ck-hidden',_0x5689eb=>!_0x5689eb)]},'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':_0x1fbf7f['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x12a0d4){const _0x4f1a91=new AIReviewCoreFinishReviewButtonView(_0x12a0d4,this['locale']);return _0x4f1a91['delegate']('finishReview')['to'](this),_0x4f1a91;}['_createResultHeaderView'](_0x43f157){const _0x2c4505=new ckeditor5['View'](this['locale']);return _0x2c4505['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title']},'children':[{'text':_0x43f157}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x2c4505;}}class _0x15106c extends ckeditor5['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x23b829,_0x5280cc){super(_0x23b829),this['_defaultValue']=_0x5280cc['default']||(_0x5280cc['data']['length']>0x0?_0x5280cc['data'][0x0]['id']:''),this['_defaultLabel']=_0x5280cc['data']['find'](_0x34b226=>_0x34b226['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=ckeditor5['createDropdown'](this['locale']);const _0x5ba0b8=this['_prepareListOptions'](_0x5280cc['data']);ckeditor5['addListToDropdown'](this['_dropdownView'],_0x5ba0b8,{'role':'menu','ariaLabel':_0x5280cc['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5aeebe=>{_0x5aeebe['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x3b0808=>{this['formValue']=_0x3b0808['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x3b0808['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'](_0x21c56d=[]){const _0x26513f=new ckeditor5['Collection']();this['resetToDefault']();for(const _0x2e66ed of _0x21c56d){const _0x46b35b=new ckeditor5['UIModel']({'label':_0x2e66ed['label'],'withText':!0x0,'role':'menuitemradio','id':_0x2e66ed['id'],'model':_0x2e66ed});_0x46b35b['bind']('isOn')['to'](this,'formValue',_0x284656=>_0x284656===_0x46b35b['id']);const _0x21b398={'type':'button','model':_0x46b35b};_0x26513f['add'](_0x21b398);}return _0x26513f;}}class _0x3a8caf extends ckeditor5['ListItemView']{['_formItem']=null;constructor(_0x5654e7,_0x4b7f3c,_0x45ba6b){super(_0x5654e7),this['argsKey']=_0x4b7f3c?.['argsKey'];if('dropdown'===_0x4b7f3c['formType'])this['_formItem']=new _0x15106c(this['locale'],_0x4b7f3c);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x46f5d4=new ckeditor5['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x45ba6b?'ck-form__row_with-submit':'']});_0x45ba6b&&_0x46f5d4['children']['add'](_0x45ba6b),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x46f5d4]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends ckeditor5['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x15604e){super(_0x15604e),this['set']('isEmpty',!0x0),this['keystrokes']=new ckeditor5['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']);}}class AIReviewCoreCustomCheckView extends ckeditor5['View']{['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusCycler'];['_focusables']=new ckeditor5['ViewCollection']();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5b676e,_0x16f908,_0x1cc750=!0x1){super(_0x5b676e),this['_check']=_0x16f908,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x16f908['defaultModel']?_0x16f908['defaultModel']['id']:'',this['_defaultLabel']=_0x16f908['defaultModel']?_0x16f908['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new ckeditor5['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x5b676e)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new ckeditor5['Collection'](),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1cc750),ckeditor5['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new ckeditor5['FormRowView'](this['locale'],{'children':[this['promptInputView']]}),new ckeditor5['FormRowView'](this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x2fae0e,_0x54cca0)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x54cca0()):_0x54cca0();}),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x6e4028=>{this['_focusables']['add'](_0x6e4028),this['focusTracker']['add'](_0x6e4028['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x2f28d7 of this['_getFormValidators']()){const _0x12c545=_0x2f28d7();if(_0x12c545)return this['promptInputView']['errorText']=_0x12c545,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return getTranslation$i(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x2fd8ba=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x2fd8ba['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2fd8ba['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x2fd8ba;}['_createCancelButtonView'](){const _0x3a763f=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];return _0x3a763f['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x3a763f['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x49f021=>{_0x49f021['stopPropagation']();})}}),_0x3a763f['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x3a763f;}['_setModelList'](_0x5bc4b0){this['_modelSelectionDropdownItems']['clear']();const _0x2f70b9=this['_check']['models'];if(_0x5bc4b0)this['set']('modelDisplayMode','hidden');else{const _0x4ce2b5=0x1===_0x2f70b9['length'];this['set']('modelDisplayMode',_0x4ce2b5?'name':'selector');}if(this['resetToDefault'](),_0x2f70b9?.['length']){0x1===_0x2f70b9['length']&&this['set']('activeModelName',_0x2f70b9[0x0]['name']||_0x2f70b9[0x0]['id']);for(const _0x1e4fc0 of _0x2f70b9){const _0x54acbe=new ckeditor5['UIModel']({'label':_0x1e4fc0['name'],'withText':!0x0,'role':'menuitemradio','id':_0x1e4fc0['id'],'model':_0x1e4fc0});_0x54acbe['bind']('isOn')['to'](this,'modelId',_0x164345=>_0x164345===_0x1e4fc0['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x54acbe,'labelView':new ModelButtonLabelView(this['locale'],_0x1e4fc0)});}}}['_createModelSelectionDropdown'](){const _0x1c04e5=ckeditor5['createDropdown'](this['locale']);return _0x1c04e5['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x1c04e5['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x1c04e5['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1af848=>'selector'===_0x1af848),this['listenTo'](_0x1c04e5,'execute',_0x49d21f=>{this['modelId']=_0x49d21f['source']['model']['id'],_0x1c04e5['buttonView']['label']=_0x49d21f['source']['label'];}),_0x1c04e5;}['_createModelNameView'](){const _0xf71196=new _0x1b9ea1(this['locale']);return _0xf71196['bind']('text')['to'](this,'activeModelName',_0x47e184=>_0x47e184??''),_0xf71196['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1a9c83=>'name'===_0x1a9c83),_0xf71196;}['_createActionsFooterView'](){const _0x5d5b3b=new ckeditor5['View'](this['locale']);return _0x5d5b3b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x5d5b3b;}}class _0x1b9ea1 extends ckeditor5['View']{constructor(_0xc8510){super(_0xc8510),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x19d6ac=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x19d6ac['if']('isVisible','ck-hidden',_0x5c3265=>!_0x5c3265)]},'children':[{'text':_0x19d6ac['to']('text')}]});}}class ModelButtonLabelView extends ckeditor5['ButtonLabelView']{constructor(_0x11a770,_0x6fad2e){super();const _0x176b86=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x176b86['to']('style'),'id':_0x176b86['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x176b86['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x6fad2e['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends ckeditor5['ListItemView']{['_formItemsCollection']=new ckeditor5['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x18ddc9,_0x24c9d5,_0x21a867,_0x1cd05c=!0x1){super(_0x18ddc9),this['_hideModels']=_0x1cd05c,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x24c9d5['isParameterized']);const _0x4e835d=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',_0x103cbc=>_0x103cbc),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x232a19=>_0x232a19)],'style':{'--ck-ai-review-check-list-item-index':_0x21a867}},'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':_0x24c9d5['title']}]},_0x4e835d]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x24c9d5['description']?[{'text':_0x24c9d5['description']}]:[]}]}]},..._0x24c9d5['isParameterized']?[this['_createParameterizedView'](_0x24c9d5)]:[],...'custom'===_0x24c9d5['id']?[this['_createCustomView'](_0x24c9d5,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x24c9d5['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x24c9d5['id'],'args':_0x24c9d5['useArgs']?_0x24c9d5['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&ckeditor5['clickOutsideHandler']({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0xf74b13=>{_0xf74b13['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x16ba0c=new ckeditor5['IconView']();return _0x16ba0c['content']=ckeditor5['IconChevronRight'],_0x16ba0c['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x16ba0c;}['_createParameterizedView'](_0x1eae29){const _0x502989=new ckeditor5['View'](),_0x40940a=this['_createFormView'](_0x1eae29);return _0x502989['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x46ca3f=>!_0x46ca3f)]},'children':[_0x40940a]}),_0x502989;}['_createFormView'](_0x13d023){const _0x2cd3d6=new ckeditor5['View'](),_0x10a0a7=Array['isArray'](_0x13d023['options'])?_0x13d023['options']:[],_0x5d0862=new ckeditor5['ButtonView'](this['locale']),t=this['locale']['t'];_0x5d0862['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5d0862['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xfa73e3=>{_0xfa73e3['stopPropagation']();})}}),_0x5d0862['on']('execute',()=>{const _0x54bd7b=[],_0x41ea30={};this['_formItemsCollection']['forEach'](_0x548461=>{_0x54bd7b['push'](_0x548461['value']),_0x13d023['useArgs']&&_0x13d023['options']&&(_0x41ea30[_0x548461['argsKey']]=_0x548461['value']);}),this['fire']('runReviewCheck',{'id':_0x13d023['id'],'params':_0x54bd7b['length']?_0x54bd7b:void 0x0,'args':Object['keys'](_0x41ea30)['length']?_0x41ea30:void 0x0});});const _0x3207fa=_0x10a0a7['length'];return _0x10a0a7['forEach']((_0x31b9ff,_0x31e62e)=>{const _0x1ebba3=_0x31e62e===_0x3207fa-0x1;this['_formItemsCollection']['add'](new _0x3a8caf(this['locale'],_0x31b9ff,_0x1ebba3?_0x5d0862:null));}),_0x2cd3d6['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x2cd3d6;}['_createCustomView'](_0x5a8f38,_0x5e38d9=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x5a8f38,_0x5e38d9),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',_0x5ea12c=>!_0x5ea12c)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x636f7c,_0x4d4646,_0x39c034)=>{_0x39c034||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends ckeditor5['ListItemView']{['_checkViews'];constructor(_0x53fd74){super(_0x53fd74),this['_checkViews']=new ckeditor5['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x1e4a42,_0x9f88ae=!0x1){this['_checkViews']['clear']();for(const [_0x23951d,_0x10e164]of _0x1e4a42['entries']()){const _0x59aee8=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x10e164,_0x23951d,_0x9f88ae);_0x59aee8['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x59aee8);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x573b2b of this['_checkViews'])_0x573b2b instanceof AIReviewCoreReviewCommandListItemView&&_0x573b2b['resetToDefault']();}['_setupTemplate'](){const _0x189562=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x189562['if']('isVisible','ck-hidden',_0x35ef17=>!_0x35ef17)]},'children':this['_checkViews']});}}class _0x1d6add extends _0x905ecd{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x2a11f8=this['context']['locale'],_0x2beb36=new ckeditor5['FormHeaderView'](_0x2a11f8,{'label':getTranslation$i(_0x2a11f8,'AI_REVIEW_MODE'),'icon':ckeditor5['IconAIReview'],'class':'ck-ai-header\x20ck-ai-header_review'});return new _0x49e732(this['context']['locale'],{'header':_0x2beb36,'list':new AIReviewCoreReviewCheckListView(_0x2a11f8),'results':new AIReviewCoreUICheckResultsView(_0x2a11f8,{'generalErrorText':getTranslation$i(_0x2a11f8,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x2a11f8,{'headerText':getTranslation$i(_0x2a11f8,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x2a11f8,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x2a11f8,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x41fe1e=this['context']['plugins']['get']('AITabs');_0x41fe1e['view']['on']('activateTab',(_0x1f6039,_0x4a9dd8)=>{'reviewMode'===_0x4a9dd8?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x41fe1e['view']['addTab']({'id':'reviewMode','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':ckeditor5['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0x5a4a63='review-',_0x2b4e5b=0x6;class AIReviewCoreEditing extends ckeditor5['ContextPlugin']{static get['requires'](){return[DocumentCompare,AIEditing];}static get['pluginName'](){return'AIReviewCoreEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();['_activeMarkers']=new Set();['_domEmitter'];['_eventEmitter'];constructor(_0x2beae6){super(_0x2beae6),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_eventEmitter']=new(ckeditor5['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x282a4c=getEditorFromContext(this['context']);_0x282a4c['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x5a4a63+'insert','view':(_0x48304e,{writer:_0x28d231})=>{const _0x4d10f6=this['_markers']['get'](_0x48304e['markerName']),_0x173c6e={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x4d10f6?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x48304e['markerName']};return _0x28d231['createUIElement']('span',_0x173c6e,function(_0x6bcb88){const _0x55cc5f=this['toDomElement'](_0x6bcb88);return _0x55cc5f['innerHTML']=_0x4d10f6?.['content']?.['asString']||'',_0x55cc5f;});}}),_0x282a4c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x5a4a63+'remove-only','view':_0x45d6df=>{const _0x263f36=this['_markers']['get'](_0x45d6df['markerName']),_0x470de3=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x263f36?.['id']||'')&&_0x470de3['push']('ck-ai_review__change_active'),{'classes':_0x470de3,'attributes':{'data-marker-id':_0x45d6df['markerName']}};}}),_0x282a4c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x5a4a63+'remove-context','view':_0x4127c8=>{const _0x135665=this['_markers']['get'](_0x4127c8['markerName']),_0x1d278f=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x135665?.['id']||'')&&_0x1d278f['push']('ck-ai_review__change_active'),{'classes':_0x1d278f,'attributes':{'data-marker-id':_0x4127c8['markerName']}};}}),_0x282a4c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x5a4a63+'remove-text','view':_0x947c58=>{const _0xfdf8b4=this['_markers']['get'](_0x947c58['markerName']),_0x129936=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0xfdf8b4?.['id']||'')&&_0x129936['push']('ck-ai_review__change_active'),{'classes':_0x129936,'attributes':{'data-marker-id':_0x947c58['markerName']}};}}),_0x282a4c['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x5a4a63+'suggestion-context','view':(_0x29667d,{writer:_0x2fe08f})=>_0x2fe08f['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x29667d['isOpening']?'start':'end')})}),_0x282a4c['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x2f946d,'view':_0x5438d7});const _0x3c8384=_0x282a4c['ui']['getEditableElement']()||document['body'];this['_domEmitter']['listenTo'](_0x3c8384,'mouseup',(_0x350f10,_0x475392)=>{const _0xec8b7a=_0x475392['target'],_0x44012e=this['_findMarkerElement'](_0xec8b7a);if(!_0x44012e)return;const _0x53880a=_0x44012e['getAttribute']('data-marker-id'),_0x5d8481=_0x53880a['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x53880a,'changeId':_0x5d8481,'markerElement':()=>this['_findMarkerElementById'](_0x53880a),'domEvent':_0x475392});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x3c8384,'mouseover',(_0x8fac8b,_0x3ae78d)=>{const _0x2550bf=_0x3ae78d['target'],_0x565cf7=_0x3ae78d['relatedTarget'];let _0x498a3c=this['_findMarkerElement'](_0x2550bf);if(!_0x498a3c&&_0x565cf7&&(_0x498a3c=this['_findMarkerElement'](_0x565cf7)),!_0x498a3c)return;const _0x59cfce=_0x498a3c['getAttribute']('data-marker-id'),_0x45db27=_0x59cfce['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x45db27,'markerElement':()=>this['_findMarkerElementById'](_0x59cfce),'domEvent':_0x3ae78d});}),this['_domEmitter']['listenTo'](document,'mouseover',_0x53dcc6((_0x5fac45,_0x15e954)=>{const _0x4fba1f=_0x15e954['target'];if(this['_findMarkerElement'](_0x4fba1f))return;_0x4fba1f['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8)),_0x282a4c['model']['document']['registerPostFixer'](_0x1c86bb=>this['_validateMarkers'](_0x282a4c,_0x1c86bb)),_0x282a4c['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x282a4c));}['getDocumentData'](){const _0x15e60d=this['context']['plugins']['get']('AIEditing'),_0x2cd015=getEditorFromContext(this['context']),_0x1f4d34=_0x2cd015['model'],_0x519fe5=new ckeditor5['ModelDocumentFragment']();for(const _0x1ea946 of _0x1f4d34['document']['getRoot']()['getChildren']()){const _0x29ec91=_0x1ea946['_clone'](!0x0);_0x519fe5['_appendChild'](_0x29ec91);}for(const _0x24b2b7 of _0x1f4d34['markers'])_0x519fe5['markers']['set'](_0x24b2b7['name'],this['_changeRangeOwnerDocument'](_0x24b2b7['getRange']()['clone'](),_0x519fe5));const _0x37759c=new ckeditor5['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x1f4d34['createPositionAt'](_0x519fe5,0x0)}),_0x421508=new Set(),_0x4d698f=new Map();for(const {item:_0x34e391}of _0x37759c){if(!_0x34e391['is']('$textProxy'))continue;const _0x3d39c8=_0x34e391['parent'];if(_0x3d39c8&&_0x3d39c8['is']('element')){const _0x582a07=this['_upsertDataId'](_0x3d39c8,()=>_0x15e60d['_nextDataId'](_0x421508));_0x421508['add'](_0x582a07);for(const _0x41ab18 of _0x3d39c8['getChildren']())_0x41ab18['is']('element')&&_0x421508['add'](this['_upsertDataId'](_0x41ab18,()=>_0x15e60d['_nextDataId'](_0x421508)));let _0x5c9263=_0x3d39c8;for(;_0x5c9263['parent']&&!_0x5c9263['parent']['is']('documentFragment');)_0x5c9263=_0x5c9263['parent'],_0x5c9263['hasAttribute'](_0x2f946d)&&_0x5c9263['_removeAttribute'](_0x2f946d);_0x4d698f['set'](_0x582a07,{'path':_0x3d39c8['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0x5c9263['_clone'](!0x0),_0x582a07,_0x2cd015['data'])}),_0x37759c['jumpTo'](_0x1f4d34['createPositionAfter'](_0x3d39c8));}}return{'content':_0x2cd015['data']['processor']['toData'](_0x2cd015['data']['toView'](_0x519fe5)),'version':_0x2cd015['model']['document']['version'],'elements':_0x4d698f};}['diffContent'](_0x4f0266,_0xb7fb46,_0xdc056=!0x1){const _0x1ee940=[],_0x31530b=getEditorFromContext(this['context']),_0x23a3a5=_0x31530b['data']['parse'](_0xb7fb46,'$documentFragment'),_0x376f7e=_0x31530b['data']['parse'](_0x4f0266,'$documentFragment'),_0x59f47a=_0x31530b['model']['createPositionAt'](_0x376f7e,0x0);if(this['_haveSingleTopLevelElement'](_0x23a3a5)){if(!this['_hasSameTopLevelElement'](_0x376f7e,_0x23a3a5))return _0x1ee940;}else{const _0x3761a6=_0x31530b['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x376f7e,_0x3761a6)||!this['_haveOnlyInlineContent'](_0x23a3a5,_0x3761a6))return _0x1ee940;}const _0x33093d=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x4f0266,_0xb7fb46,{'anchor':_0x59f47a,'markDeletions':!0x0})['getOperations']()['filter'](_0x9d175e=>'insert'===_0x9d175e['type']||'marker'===_0x9d175e['type']&&_0x9d175e['name']['startsWith']('$markedRemove')),_0x38ccd1=this['_groupAdjacentOperations'](_0x33093d),_0x195180=[];if(_0xdc056){if(_0x38ccd1['length']){const _0x2c34cc=_0x38ccd1[0x0]['operations'][0x0],_0x326383='insert'===_0x2c34cc['type']?_0x2c34cc['position']:_0x2c34cc['newRange']['start'],_0x31356d=this['_getPositionLimitingRange'](_0x326383,_0x31530b,'inside'),_0x18fcc2=_0x31356d?_0x23a3a5['getChild'](0x0)['getChildren']():_0x23a3a5['getChildren'](),_0x1139c5=_0x31356d||_0x31530b['model']['createRangeIn'](_0x376f7e),_0x4a6c3a=[new ckeditor5['MarkerOperation']('$markedRemove:synthetic'+ckeditor5['uid'](),null,_0x1139c5,_0x31530b['model']['document']['model']['markers'],!0x0,_0x31530b['model']['document']['version']+0x1),new ckeditor5['InsertOperation'](_0x1139c5['end'],_0x18fcc2,_0x31530b['model']['document']['version']+0x2)];_0x195180['push']({'operations':_0x4a6c3a,'operationsIsolated':_0x4a6c3a,'groupOffset':0x0});}}else _0x195180['push'](..._0x38ccd1);let _0x5335a5=0x0;return _0x31530b['model']['change'](_0x1f6ee7=>{for(let _0x5d745e=0x0;_0x5d745e<_0x195180['length'];_0x5d745e++){const _0x3ecdc7=_0x195180[_0x5d745e],_0x29b6f2=_0x1f6ee7['createDocumentFragment']();for(const _0x250fe1 of _0x376f7e['getChildren']())_0x1f6ee7['append'](_0x250fe1['_clone'](!0x0),_0x29b6f2);for(const _0x485c8a of _0x3ecdc7['operationsIsolated'])if('insert'===_0x485c8a['type']){const _0x3b97a9=_0x485c8a;_0x3b97a9['baseVersion']=null,_0x3b97a9['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x3b97a9,_0x29b6f2),_0x1f6ee7['batch']['addOperation'](_0x485c8a),_0x31530b['model']['applyOperation'](_0x485c8a);const _0x457cc4='suggestion:insertion:id:authorId:'+_0x5335a5++,_0x1bd388=_0x31530b['model']['createRange'](_0x3b97a9['position'],_0x3b97a9['position']['getShiftedBy'](_0x3b97a9['howMany']));_0x29b6f2['markers']['set'](_0x457cc4,_0x1bd388);}else{if('marker'===_0x485c8a['type']&&_0x485c8a['name']['startsWith']('$markedRemove')){const _0x3abfcd=_0x485c8a,_0x25df79='suggestion:deletion:id:authorId:'+_0x5335a5++;this['_changeOperationOwnerDocument'](_0x3abfcd,_0x29b6f2),_0x29b6f2['markers']['set'](_0x25df79,_0x3abfcd['newRange']);}}if(_0xdc056)_0x1ee940['push']({..._0x3ecdc7,'context':this['_createGetContentFn'](_0x376f7e,_0x31530b['data']),'content':this['_createGetContentFn'](_0x376f7e,_0x31530b['data'])});else{const _0x100999=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x3ecdc7['operationsIsolated'][0x0]),_0x29b6f2),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x3ecdc7['operationsIsolated'][_0x3ecdc7['operationsIsolated']['length']-0x1]),_0x29b6f2));_0x29b6f2['markers']['set'](_0x5a4a63+'suggestion-context',new ckeditor5['ModelRange'](_0x100999['start'],_0x100999['end'])),_0x1ee940['push']({..._0x3ecdc7,'context':this['_createGetContextFn'](_0x29b6f2,_0x31530b['data'],{'ellipsisBefore':_0x100999['hasContentBefore'],'ellipsisAfter':_0x100999['hasContentAfter']}),'content':this['_createGetContentFn'](_0x29b6f2,_0x31530b['data'])});}}}),_0x1ee940;}['markChangePositionInEditorContent'](_0x5dfbcf,_0x1925fa){if(!_0x5dfbcf['length'])return;const _0x39f2d4=_0x5dfbcf[0x0]['parent']['id'],_0x48329e=_0x1925fa['elements']['get'](_0x39f2d4);if(!_0x48329e)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x39f2d4);const _0x2a4c1a=_0x48329e['path'],_0x5a8971=getEditorFromContext(this['context']),_0x1826e3=_0x5a8971['model']['document']['history']['getOperations'](_0x1925fa['version']),_0x256c92=[];for(const _0x54fe0e of _0x5dfbcf){const _0xbdcd2a=_0x54fe0e['operationsIsolated']['map'](_0x32f47a=>this['_translateOperationToEditorContent'](_0x32f47a,_0x2a4c1a,_0x5a8971['model']['document']['getRoots']()[0x0]));if(!_0xbdcd2a||!_0xbdcd2a['length'])continue;const _0xae763c=_0xbdcd2a['every'](_0x15879f=>'marker'===_0x15879f['type']&&_0x15879f['name']['startsWith']('$markedRemove')),_0xd6c08a={'document':_0x5a8971['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3abb49=ckeditor5['transformOperationSets'](_0xbdcd2a,_0x1826e3,_0xd6c08a)['operationsA'];for(const _0x310a15 of _0x3abb49)if('insert'===_0x310a15['type']){const _0x444ff7=_0x310a15,_0x3dc32d=_0x444ff7['nodes'];_0x5a8971['model']['change'](_0x28fb1=>{const _0x3b8172=_0x28fb1['createDocumentFragment']();for(const _0x2b00c7 of _0x3dc32d)_0x28fb1['append'](_0x2b00c7['_clone'](!0x0),_0x3b8172);_0x256c92['push']({'start':_0x444ff7['position'],'end':_0x444ff7['position'],'type':'insert','groupId':_0x54fe0e['id'],'content':{'asString':this['_createGetContentFn'](_0x3b8172,_0x5a8971['data'])(),'asFragment':_0x3b8172}});});}else{if('marker'===_0x310a15['type']&&_0x310a15['name']['startsWith']('$markedRemove')){const _0x12783a=_0x310a15;let _0xca7994='remove-text';if(_0xae763c){const _0x1a39fb=this['_findAdjacentContextDistance'](_0x12783a['newRange']['start'],'backward',_0x5a8971['model']['schema']),_0x5c7a8d=this['_findAdjacentContextDistance'](_0x12783a['newRange']['end'],'forward',_0x5a8971['model']['schema']);if(_0x1a39fb||_0x5c7a8d){const _0x391016=_0x12783a['newRange']['start']['getShiftedBy'](-_0x1a39fb),_0x3cf63f=_0x12783a['newRange']['end']['getShiftedBy'](_0x5c7a8d);_0x256c92['push']({'start':_0x391016,'end':_0x3cf63f,'groupId':_0x54fe0e['id'],'type':'remove-context'});}else _0xca7994='remove-only';}_0x256c92['push']({'start':_0x12783a['newRange']['start'],'end':_0x12783a['newRange']['end'],'groupId':_0x54fe0e['id'],'type':_0xca7994});}}}this['_insertMarkers'](_0x256c92);}['clearAllMarkers'](){const _0x49b727=getEditorFromContext(this['context']);_0x49b727['model']['change'](_0x353d4f=>{for(const _0x782107 of this['_markers']['keys']())_0x49b727['model']['markers']['get'](_0x782107)&&_0x353d4f['removeMarker'](_0x782107);}),this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){getEditorFromContext(this['context'])['enableReadOnlyMode']('ai-review');}['switchToEdit'](){getEditorFromContext(this['context'])['disableReadOnlyMode']('ai-review');}['applyChange'](_0x5613d9){const _0x4ced60=getEditorFromContext(this['context']),_0x47d56d=_0x4ced60['model'],_0x147528=_0x5613d9['map'](_0x124243=>this['_getMarkersDataForGroup'](_0x124243))['flat']();_0x47d56d['change'](_0x290da7=>{for(const _0x5cb846 of _0x147528){const _0x40477c=_0x4ced60['model']['markers']['get'](_0x5cb846['id']);if(_0x40477c){if('insert'===_0x5cb846['type']){if(!_0x5cb846['content'])continue;_0x47d56d['insertContent'](_0x5cb846['content']['asFragment']||null,_0x40477c['getRange']()['start']);}else'remove-text'!==_0x5cb846['type']&&'remove-only'!==_0x5cb846['type']||_0x47d56d['deleteContent'](_0x47d56d['createSelection'](_0x40477c['getRange']()));_0x290da7['removeMarker'](_0x5cb846['id']),this['_markers']['delete'](_0x5cb846['id']);}}});}['rejectChange'](_0x18967a){const _0xd2f6f3=getEditorFromContext(this['context']),_0x3fcad9=this['_getMarkersDataForGroup'](_0x18967a);_0xd2f6f3['model']['change'](_0x2139de=>{for(const _0x525350 of _0x3fcad9)_0x2139de['removeMarker'](_0x525350['id']),this['_markers']['delete'](_0x525350['id']);});}['getEditor'](){return getEditorFromContext(this['context']);}['getMarkerElementForChange'](_0x1cafed){const _0xdfcb04=Array['from'](this['_markers']['values']())['filter'](_0x44b243=>_0x44b243['groupId']===_0x1cafed);if(!_0xdfcb04['length'])return null;const _0x4683fd=0x1===_0xdfcb04['length']?_0xdfcb04[0x0]:this['_sortMarkers'](_0xdfcb04)[0x0],_0x447444=getEditorFromContext(this['context'])['model']['markers']['get'](_0x4683fd['id']);if(!_0x447444)return null;return{'modelRange':_0x447444['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x4683fd['id'])};}['getContentElementForChange'](_0x1bc91a){const _0x5f1213=Array['from'](this['_markers']['values']())['filter'](_0x4f5ab6=>_0x4f5ab6['groupId']===_0x1bc91a);if(!_0x5f1213['length'])return null;const _0x5d5a24=0x1===_0x5f1213['length']?_0x5f1213[0x0]:this['_sortMarkers'](_0x5f1213)[0x0],_0x549ff3=getEditorFromContext(this['context']),_0x1e7ef2=_0x549ff3['model']['markers']['get'](_0x5d5a24['id']);if(!_0x1e7ef2)return null;const _0x21c979=_0x1e7ef2['getRange'](),_0x17bebf=_0x549ff3['editing']['view']['getDomRoot']();if(!_0x17bebf||!_0x21c979)return null;let _0x2266cf=_0x21c979['start']['parent'];for(;_0x2266cf['parent']&&'$root'!==_0x2266cf['parent']['name'];)_0x2266cf=_0x2266cf['parent'];if(!_0x2266cf||!_0x2266cf['name'])return null;const _0x424ede=_0x17bebf['querySelector']('[data-marker-id=\x22'+_0x5d5a24['id']+'\x22]');if(!_0x424ede)return null;let _0x2e339d=null;_0x549ff3['model']['change'](_0x2239ea=>{_0x2e339d=_0x2239ea['createDocumentFragment'](),_0x2239ea['append'](_0x2266cf['_clone'](!0x0),_0x2e339d);});const _0x7f44be=_0x549ff3['data']['toView'](_0x2e339d)['getChild'](0x0);return _0x424ede['closest'](_0x7f44be['name']);}['reactivateMarkers'](_0xed633f){const _0x51029e=this['_getMarkersDataForGroup'](_0xed633f);if(!_0x51029e['length'])return;const _0x4f79f9=Array['from'](this['_activeMarkers'])['sort'](),_0x4b7ba3=Array['from'](new Set(_0x51029e['map'](_0x1ae74b=>_0x1ae74b['id'])))['sort']();_0x4f79f9['join']('|')!==_0x4b7ba3['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0xed633f));}['setMarkersInElementAsActive'](_0x201ebf){const _0x2ee1d5=this['_getMarkersDataForGroup'](_0x201ebf);if(!_0x2ee1d5['length'])return;const _0x3cf000=getEditorFromContext(this['context']),_0xe9b760=new Set(_0x2ee1d5['map'](_0x2da647=>_0x2da647['id'])),_0x4b7117=Array['from'](_0xe9b760['values']())['map'](_0x1a27ae=>_0x3cf000['model']['markers']['get'](_0x1a27ae))['filter'](_0x5dab39=>!!_0x5dab39);_0xe9b760['forEach'](_0x2e320a=>{this['_activeMarkers']['add'](_0x2e320a);}),_0x3cf000['model']['change'](()=>{_0x4b7117['forEach'](_0x3eb66a=>{_0x3cf000['editing']['reconvertMarker'](_0x3eb66a);});});}['setAllMarkersAsInactive'](){const _0x5cd249=Array['from'](this['_activeMarkers']);if(!_0x5cd249['length'])return;this['_activeMarkers']['clear']();const _0xa78c8e=getEditorFromContext(this['context']),_0x671555=_0x5cd249['map'](_0x2727ea=>_0xa78c8e['model']['markers']['get'](_0x2727ea))['filter'](_0x464a2f=>!!_0x464a2f);_0xa78c8e['model']['change'](()=>{_0x671555['forEach'](_0x505bcb=>{_0xa78c8e['editing']['reconvertMarker'](_0x505bcb);});});}['_getPositionLimitingRange'](_0x540444,_0x3ac2e2,_0x996939='outside'){if(!_0x540444)return null;let _0x11d963=_0x540444['parent'];for(;_0x11d963&&_0x11d963['parent']&&'$root'!==_0x11d963['parent']['name']&&!_0x3ac2e2['model']['schema']['isLimit'](_0x11d963)&&!_0x3ac2e2['model']['schema']['isBlock'](_0x11d963);)_0x11d963=_0x11d963['parent'];if(!_0x11d963||!_0x11d963['name']||'$root'===_0x11d963['name'])return null;let _0x1834e9=null;return _0x3ac2e2['model']['change'](_0x55efab=>{_0x1834e9='inside'===_0x996939?_0x55efab['createRangeIn'](_0x11d963):_0x55efab['createRangeOn'](_0x11d963);}),_0x1834e9;}['_validateMarkers'](_0x1866e6,_0x15b52b){const _0x52ee29=Array['from'](this['_markers']['keys']()),_0x512b63=new Map();for(const _0x3a491a of _0x52ee29){const _0x39bfd=_0x1866e6['model']['markers']['get'](_0x3a491a);if(!_0x39bfd)continue;const _0x5499b2=_0x39bfd['getStart']()['path'][0x0];_0x512b63['has'](_0x5499b2)||_0x512b63['set'](_0x5499b2,[]),_0x512b63['get'](_0x5499b2)['push'](_0x39bfd);}const _0x5c9682=new Set();for(const _0xace7dc of _0x1866e6['model']['document']['differ']['getChanges']()){let _0x5be637=-0x1,_0x4bfff2=null;if('insert'===_0xace7dc['type'])_0x4bfff2=new ckeditor5['ModelRange'](_0xace7dc['position'],_0xace7dc['position']['getShiftedBy'](_0xace7dc['length'])),_0x5be637=_0xace7dc['position']['path'][0x0];else{if('remove'!==_0xace7dc['type'])continue;_0x4bfff2=new ckeditor5['ModelRange'](_0xace7dc['position']),_0x5be637=_0xace7dc['position']['path'][0x0];}const _0x2b0e7a=_0x512b63['get'](_0x5be637)||[];if(_0x2b0e7a['length']){for(const _0x56ea4f of _0x2b0e7a)if(_0x4bfff2['root']['rootName']===_0x56ea4f['getRange']()['root']['rootName']&&('insert'!==_0xace7dc['type']||!_0x4bfff2['containsRange'](_0x56ea4f['getRange']()))&&(_0x4bfff2['isIntersecting'](_0x56ea4f['getRange']())||_0x4bfff2['start']['isTouching'](_0x56ea4f['getRange']()['end'])||_0x4bfff2['end']['isTouching'](_0x56ea4f['getRange']()['start']))){const _0x222a03=this['_parseMarkerName'](_0x56ea4f['name']);Array['from'](this['_markers']['values']())['filter'](_0x4dc4bb=>_0x4dc4bb['groupId']===_0x222a03['groupId'])['forEach'](_0x1a950e=>_0x5c9682['add'](_0x1a950e['id']));}}}if(_0x5c9682['size']){for(const _0x325fb1 of _0x5c9682)_0x15b52b['removeMarker'](_0x325fb1);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x68af9c){for(const {name:_0x329280,data:_0x25a696}of _0x68af9c['model']['document']['differ']['getChangedMarkers']()){if(!_0x329280['startsWith'](_0x5a4a63))continue;const _0x3e0e5b=_0x25a696['oldRange'],_0x1d6d49=_0x25a696['newRange'],_0x46c55e=_0x3e0e5b&&'$graveyard'===_0x3e0e5b['root']['rootName'],_0x25f36b=_0x1d6d49&&'$graveyard'===_0x1d6d49['root']['rootName'];if(_0x46c55e&&_0x25f36b)continue;const _0x3e90f3=this['_parseMarkerName'](_0x329280);this['_markers']['get'](_0x329280)&&(_0x25f36b||!_0x1d6d49?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x329280,'changeId':_0x3e90f3['groupId']}):_0x46c55e&&_0x1d6d49&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x329280,'changeId':_0x3e90f3['groupId']}));}}['_parseMarkerName'](_0x4772c9){const _0x49fd67=_0x4772c9['split'](':'),_0xcaf34=(_0x49fd67[0x1]||'')['split']('_');return{'prefix':_0x49fd67[0x0],'groupId':_0xcaf34[0x0],'suffix':_0xcaf34[0x1]};}['_translateOperationToEditorContent'](_0x1ed673,_0x4ea225,_0x58f639){if('insert'===_0x1ed673['type']){const _0x488bc9=_0x1ed673;return new ckeditor5['InsertOperation'](this['_changePosition'](_0x4ea225['concat'](_0x488bc9['position']['offset']),_0x58f639),_0x488bc9['nodes'],_0x488bc9['baseVersion']);}if('marker'===_0x1ed673['type']&&_0x1ed673['name']['startsWith']('$markedRemove')){const _0x150761=_0x1ed673;return new ckeditor5['MarkerOperation'](_0x150761['name'],_0x150761['oldRange'],this['_changeRange'](_0x150761['newRange'],_0x4ea225['concat'](_0x150761['newRange']['start']['offset']),_0x4ea225['concat'](_0x150761['newRange']['end']['offset']),_0x58f639),_0x150761['_markers'],_0x150761['affectsData'],_0x150761['baseVersion']);}return _0x1ed673;}['_groupAdjacentOperations'](_0x59424c){if(!_0x59424c['length'])return[];const _0x2f75b4=[];let _0xa329ce=0x0,_0x283476=0x0,_0x48bcf9=[];for(let _0xe84c6e=0x0;_0xe84c6e<=_0x59424c['length'];_0xe84c6e++){const _0x1aa425=_0x59424c[_0xe84c6e],_0x5d5c8f=_0x59424c[_0xe84c6e-0x1];!_0x1aa425||_0x5d5c8f&&!this['_getOperationEnd'](_0x5d5c8f)['isTouching'](this['_getOperationStart'](_0x1aa425))?(_0x2f75b4['push']({'operations':_0x48bcf9,'operationsIsolated':_0x48bcf9['map'](_0x56b82d=>this['_shiftOperation'](_0x56b82d['clone'](),-_0x283476)),'groupOffset':_0xa329ce}),_0x48bcf9=_0x1aa425?[_0x1aa425]:[],_0x283476+=_0xa329ce,_0xa329ce=0x0):_0x48bcf9['push'](_0x1aa425),_0x1aa425&&'insert'===_0x1aa425['type']&&(_0xa329ce+=_0x1aa425['howMany']);}return _0x2f75b4;}['_findAdjacentContextDistance'](_0x33b1bf,_0xa23aa3,_0x407c31,_0x533d84=0x1){const _0x166e74=new ckeditor5['ModelTreeWalker']({'startPosition':_0x33b1bf,'direction':_0xa23aa3});let _0x1cdc6c=0x0;for(let _0x2d31bf=0x0;_0x2d31bf<_0x533d84;_0x2d31bf++){let _0x5bab11=0x0,_0x25b115=!0x1,_0x4f8047='forward'===_0xa23aa3?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5c9426}of _0x166e74)if(_0x5c9426['is']('$textProxy')){const _0x39b62c=_0x4f8047['exec'](_0x5c9426['data']);if(_0x39b62c&&_0x39b62c['length']){if(_0x5bab11+='forward'===_0xa23aa3?_0x39b62c['index']+_0x39b62c[0x0]['length']:_0x5c9426['data']['length']-_0x39b62c['index'],_0x39b62c[0x0]['length']!==_0x5c9426['data']['length'])break;_0x25b115=!0x0,_0x4f8047='forward'===_0xa23aa3?/^\w+/:/\w+$/;}else{if(_0x25b115)break;_0x5bab11+=_0x5c9426['offsetSize'];}}else{if(_0x5c9426['is']('element')){_0x407c31['isInline'](_0x5c9426)&&!_0x25b115&&(_0x5bab11+=0x1);break;}}_0x1cdc6c+=_0x5bab11,_0x166e74['jumpTo'](_0x33b1bf['getShiftedBy']('forward'===_0xa23aa3?_0x1cdc6c:-_0x1cdc6c));}return _0x1cdc6c;}['_getChangeContext'](_0x9a450,_0x56eab4){const _0x400287=getEditorFromContext(this['context'])['model']['schema'],_0x35409d=this['_findAdjacentContextDistance'](_0x9a450,'backward',_0x400287,_0x2b4e5b),_0x1339d1=this['_findAdjacentContextDistance'](_0x56eab4,'forward',_0x400287,_0x2b4e5b),_0x3c5bc8=_0x9a450['getShiftedBy'](-_0x35409d),_0x103bc2=_0x56eab4['getShiftedBy'](_0x1339d1);return{'start':_0x3c5bc8,'end':_0x103bc2,'hasContentBefore':!_0x3c5bc8['isAtStart'],'hasContentAfter':!_0x103bc2['isAtEnd']};}['_insertMarkers'](_0x37b34d){const _0x36a508=this['context']['plugins']['get']('AIEditing'),_0x2a6572=new Set();getEditorFromContext(this['context'])['model']['change'](_0x44d286=>{for(const _0xaea401 of _0x37b34d){const _0x47f6e=''+_0x5a4a63+_0xaea401['type']+':'+_0xaea401['groupId']+'_'+_0x36a508['_nextDataId'](_0x2a6572);this['_markers']['set'](_0x47f6e,{'id':_0x47f6e,'groupId':_0xaea401['groupId'],'type':_0xaea401['type'],'content':_0xaea401['content']}),_0x44d286['addMarker'](_0x47f6e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x44d286['createRange'](_0xaea401['start'],_0xaea401['end'])});}});}['_createGetContextFn'](_0x5eaca6,_0x983dc2,_0x5587c4){let _0x53b775='';return()=>{if(!_0x53b775){const _0x4e2cda=_0x983dc2['toView'](_0x5eaca6,{'showSuggestionHighlights':!0x0});let _0x488e12=_0x4e2cda['getChild'](0x0);if(_0x488e12['is']('containerElement')||(_0x488e12=_0x4e2cda),!_0x488e12)return'';let _0x2144b8=!0x1;const _0x489af8=[];for(const _0x208f93 of _0x488e12['getChildren']())_0x208f93['is']('element','span')&&_0x208f93['hasClass']('ck-ai_review-marker_context-end')&&(_0x2144b8=!0x1),_0x2144b8&&_0x489af8['push'](_0x208f93),_0x208f93['is']('element','span')&&_0x208f93['hasClass']('ck-ai_review-marker_context-start')&&(_0x2144b8=!0x0);_0x488e12['_removeChildren'](0x0,_0x488e12['childCount']),_0x5587c4?.['ellipsisBefore']&&_0x488e12['_appendChild']('…'),_0x488e12['_appendChild'](_0x489af8),_0x5587c4?.['ellipsisAfter']&&_0x488e12['_appendChild']('…');const _0x25a2e8=_0x983dc2['htmlProcessor']['domConverter']['viewToDom'](_0x4e2cda),_0x5bb80a=_0x983dc2['htmlProcessor']['htmlWriter']['getHtml'](_0x25a2e8);_0x53b775=_0x5bb80a;}return _0x53b775;};}['_createGetContentFn'](_0x41df45,_0x526f7f){let _0x1fc848='';return()=>(_0x1fc848||(_0x1fc848=_0x526f7f['stringify'](_0x41df45,{'showSuggestionHighlights':!0x0})),_0x1fc848);}['_createGetContentUsingDataIdFn'](_0x59a4f8,_0x4fb51f,_0x1c1c16){let _0x3d6863='';return()=>{if(!_0x3d6863){const _0x2d33d0=_0x1c1c16['toView'](new ckeditor5['ModelDocumentFragment'](_0x59a4f8)),_0x50aa47=_0x1c1c16['htmlProcessor']['domConverter']['viewToDom'](_0x2d33d0)['querySelector']('[data-id=\x22'+_0x4fb51f+'\x22]');_0x3d6863=_0x50aa47?.['outerHTML']||'';}return _0x3d6863;};}['_findMarkerElement'](_0x10846a,_0xbe6b=0x5){let _0x2e2a12=_0x10846a,_0x35d7e9=null;for(let _0x2184e2=0x0;_0x2184e2<_0xbe6b&&_0x2e2a12;_0x2184e2++){if(!_0x2e2a12['className']){_0x2e2a12=_0x2e2a12['parentElement'];continue;}if(!(''+_0x2e2a12['className'])['includes']('ck-ai_review-marker_')){_0x2e2a12=_0x2e2a12['parentElement'];continue;}if(!_0x2e2a12['getAttribute']('data-marker-id'))break;_0x35d7e9=_0x2e2a12;break;}return _0x35d7e9;}['_findMarkerElementById'](_0x58cde6){const _0x29848d=getEditorFromContext(this['context']),_0x854e8d=_0x29848d['model']['markers']['get'](_0x58cde6);return _0x854e8d?getMarkerDomElement(_0x29848d['editing'],_0x854e8d):null;}['_getMarkersDataForGroup'](_0x2ae799){return Array['from'](this['_markers']['values']())['filter'](_0x55b6b9=>_0x55b6b9['groupId']===_0x2ae799);}['_getOperationStart'](_0x2a9775){return'insert'===_0x2a9775['type']?_0x2a9775['position']:_0x2a9775['newRange']['start'];}['_getOperationEnd'](_0x5a96af,_0x59909e=!0x1){return'insert'===_0x5a96af['type']?_0x59909e?_0x5a96af['position']:_0x5a96af['position']['getShiftedBy'](_0x5a96af['howMany']):_0x5a96af['newRange']['end'];}['_shiftOperation'](_0x59662b,_0x53be0b){return'insert'===_0x59662b['type']?_0x59662b['position']=_0x59662b['position']['getShiftedBy'](_0x53be0b):'marker'===_0x59662b['type']&&_0x59662b['newRange']&&(_0x59662b['newRange']=new ckeditor5['ModelRange'](_0x59662b['newRange']['start']['getShiftedBy'](_0x53be0b),_0x59662b['newRange']['end']['getShiftedBy'](_0x53be0b))),_0x59662b;}['_changeOperationOwnerDocument'](_0x27ba5a,_0x21a71a){'insert'===_0x27ba5a['type']?_0x27ba5a['position']=this['_changePositionOwnerDocument'](_0x27ba5a['position'],_0x21a71a):'marker'===_0x27ba5a['type']&&_0x27ba5a['newRange']&&(_0x27ba5a['newRange']=this['_changeRangeOwnerDocument'](_0x27ba5a['newRange'],_0x21a71a));}['_changePositionOwnerDocument'](_0xf869bb,_0xc7f2bd){return new ckeditor5['ModelPosition'](_0xc7f2bd,_0xf869bb['path']);}['_changeRangeOwnerDocument'](_0x549aea,_0x22684c){return new ckeditor5['ModelRange'](this['_changePositionOwnerDocument'](_0x549aea['start'],_0x22684c),this['_changePositionOwnerDocument'](_0x549aea['end'],_0x22684c));}['_changePosition'](_0x3266b9,_0x365fb2){return new ckeditor5['ModelPosition'](_0x365fb2,[..._0x3266b9]);}['_changeRange'](_0x5f5b39,_0x359c45,_0x48d5b3,_0x11e99a){return new ckeditor5['ModelRange'](this['_changePosition'](_0x359c45,_0x11e99a),this['_changePosition'](_0x48d5b3,_0x11e99a));}['_sortMarkers'](_0xe11033){const _0x1638d5=_0xfb3461=>{switch(_0xfb3461){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0xe11033['sort']((_0x5370c1,_0x364f2e)=>_0x1638d5(_0x5370c1['type'])-_0x1638d5(_0x364f2e['type']));}['_hasSameTopLevelElement'](_0x37b56f,_0x9231fb){const _0xdf9a2e=_0x37b56f['getChild'](0x0),_0x56d76f=_0x9231fb['getChild'](0x0);return!(!_0xdf9a2e||!_0x56d76f)&&((!_0xdf9a2e['is']('element')||!_0x56d76f['is']('element')||_0xdf9a2e['name']===_0x56d76f['name'])&&!(_0xdf9a2e['is']('element')&&!_0x56d76f['is']('element')||!_0xdf9a2e['is']('element')&&_0x56d76f['is']('element')));}['_haveSingleTopLevelElement'](_0x5d5314){return 0x1===_0x5d5314['childCount'];}['_haveOnlyInlineContent'](_0x43ba9b,_0x293075){for(const _0x5c81a0 of _0x43ba9b['getChildren']())if(_0x5c81a0['is']('element')&&!_0x293075['isInline'](_0x5c81a0))return!0x1;return!0x0;}['_upsertDataId'](_0x4314d1,_0x1b155e){let _0x2fc746=_0x4314d1['getAttribute'](_0x2f946d);return _0x2fc746||(_0x2fc746=_0x1b155e(),_0x4314d1['_setAttribute'](_0x2f946d,_0x2fc746)),_0x2fc746;}}class AIReviewCheckResult extends ckeditor5['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x32ce69,contentNew:_0x8f96c,contentInitial:_0x88d830,documentVersion:_0x28f303}){super(),this['id']=_0x32ce69,this['contentNew']=_0x8f96c,this['contentInitial']=_0x88d830,this['documentVersion']=_0x28f303;}}class AIReviewCheckResultChange extends ckeditor5['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x552925,_0x331b39,_0x336da5){super(),this['id']=_0x552925,this['parent']=_0x336da5,this['_data']=_0x331b39,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']['context']();}get['operations'](){return this['_data']['operations'];}get['operationsIsolated'](){return this['_data']['operationsIsolated'];}}class _0x131713 extends ckeditor5['ObservableMixin'](){['id']=ckeditor5['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x2fe740,_0x1aa7fb,_0x4248d3,_0x533097,_0x41a4b0){super(),this['_sourceCheck']=_0x1aa7fb,this['_documentData']=_0x2fe740,this['_aiConnector']=_0x4248d3,this['_reviewParams']=_0x533097,this['_reviewArgs']=_0x41a4b0,this['on']('change:status',(_0x3b7dd5,_0xfb9eff,_0x2c949a)=>{'aborted'==_0x2c949a&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x2c949a,'run':this,'error':this['_currentError']});}),this['set']('status','initialized');}get['documentData'](){return this['_documentData'];}get['processedResultsCount'](){return this['_results']['size'];}get['title'](){return this['_sourceCheck']['title'];}get['subTitle'](){return'';}get['reviewName'](){return this['_sourceCheck']['id'];}get['hasModifications'](){return!this['_changes']['every'](_0x13f21c=>'pending'===_0x13f21c['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x4057fe){this['_documentData']=_0x4057fe;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x58c0e9=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x3cc224 of _0x58c0e9)'unmodified'!==_0x3cc224['data']['operation']&&('error'!==_0x3cc224['data']['operation']?'review-metadata'!==_0x3cc224['event']?this['_addReviewCheckResult'](_0x3cc224['data']['dataId'],_0x3cc224['data']['textDelta']):this['callId']=_0x3cc224['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(_0x9d2ff4){this['_currentError']=_0x9d2ff4,_0x9d2ff4 instanceof Error&&_0x9d2ff4['message']['includes']('ai-request-aborted')?this['status']='aborted':this['status']='error-general';}finally{this['_activeRequest']=null;}}async['restart'](){this['_results']['clear'](),this['_changes']['length']=0x0,this['_currentError']=void 0x0,await this['start']();}['addResultChanges'](_0xc7a393,_0x1288c9){const _0xb63121=this['_results']['get'](_0xc7a393);if(!_0xb63121)return;if(0x0===_0x1288c9['length'])return;const _0x4274f9=[];_0x1288c9['forEach']((_0x2c2345,_0x460d22)=>{const _0x2fe2b7=new AIReviewCheckResultChange(_0xb63121['id']+'-'+_0x460d22,_0x2c2345,_0xb63121);_0x2fe2b7['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x2fe2b7,'status':_0x2fe2b7['status']});}),_0x2fe2b7['on']('change:isActivated',()=>{_0x2fe2b7['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x2fe2b7}):this['fire']('reviewCheckResultDeactivated',{'change':_0x2fe2b7});}),this['_changes']['push'](_0x2fe2b7),_0x4274f9['push'](_0x2fe2b7);}),this['fire']('reviewCheckResultReady',{'changes':_0x4274f9,'result':_0xb63121,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x4c273a){const _0x2a048d=this['_changes']['find'](_0x40257c=>_0x40257c['id']===_0x4c273a);return!(!_0x2a048d||'pending'!==_0x2a048d['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x5db3f7=>!0x0===_0x5db3f7['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x490260=>'pending'===_0x490260['status']);}['getChangeById'](_0x3b499){return this['_changes']['find'](_0x4373e1=>_0x4373e1['id']===_0x3b499);}['markAllChangesAsAccepted'](){for(const _0x290c61 of this['_changes'])'pending'===_0x290c61['status']&&(_0x290c61['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x938f82){const _0x1c1cdd=this['_changes']['find'](_0x4947ba=>_0x4947ba['id']===_0x938f82);_0x1c1cdd&&'pending'===_0x1c1cdd['status']&&(_0x1c1cdd['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x1db8c1){const _0x28b08a=this['_changes']['find'](_0x4aab34=>_0x4aab34['id']===_0x1db8c1);_0x28b08a&&'pending'===_0x28b08a['status']&&(_0x28b08a['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x1f8268){const _0xedd89d=this['_changes']['find'](_0x103163=>_0x103163['id']===_0x1f8268);_0xedd89d&&'pending'===_0xedd89d['status']&&(_0xedd89d['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x3d0064){const _0x372927=this['_changes']['find'](_0x575689=>_0x575689['id']===_0x3d0064);_0x372927&&'outdated'===_0x372927['status']&&(_0x372927['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x1c3871){this['_changes']['filter'](_0x3c2635=>_0x3c2635['isActivated']&&_0x3c2635['id']!==_0x1c3871)['forEach'](_0x4b4e7f=>{_0x4b4e7f['isActivated']=!0x1;});const _0x1070d3=this['_changes']['find'](_0x75c271=>_0x75c271['id']===_0x1c3871);_0x1070d3&&'pending'===_0x1070d3['status']&&(_0x1070d3['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x1bef49=>_0x1bef49['isActivated'])['forEach'](_0x202b63=>{_0x202b63['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x14ad6d){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x4f9c4e;if(_0x14ad6d){const _0x31e0ff=this['_changes']['find'](_0x1450ec=>_0x1450ec['id']===_0x14ad6d);if(_0x31e0ff&&_0x31e0ff['isRated'])return;_0x31e0ff&&(_0x4f9c4e=_0x31e0ff['parent']['id'],_0x31e0ff['isRated']=!0x0);}const _0x1d17c2={'positiveCount':this['_changes']['filter'](_0x350e42=>'accepted'===_0x350e42['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x1d17c2,this['callId'],_0x4f9c4e);}['_addReviewCheckResult'](_0x5992f0,_0x41b24a){const _0x885323=this['_documentData']['elements']['get'](_0x5992f0);if(!_0x885323)return;const _0x442991=_0x885323['getContent']();if(_0x442991===_0x41b24a)return;const _0x376734=new AIReviewCheckResult({'id':_0x5992f0,'contentInitial':_0x442991,'contentNew':_0x41b24a,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x376734['id'],_0x376734),this['fire']('reviewCheckResultAdded',{'result':_0x376734,'source':this});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x5411db=>'pending'===_0x5411db['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x106b7f=>'pending'===_0x106b7f['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0x131713{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0xf6db0b=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x5e9f82=0x0;_0x5e9f82<this['_reviewParams']['length'];_0x5e9f82++){if(!this['_reviewParams'][_0x5e9f82]||!this['_sourceCheck']['options'][_0x5e9f82])continue;const _0x1c0944=this['_sourceCheck']['options'][_0x5e9f82],_0x2b1d0d=_0x1c0944['data']?.['find'](_0x17c5a3=>_0x17c5a3['id']===this['_reviewParams'][_0x5e9f82]);_0x2b1d0d&&_0xf6db0b['push'](_0x2b1d0d['label']);}return _0xf6db0b['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x37b3ec,_0x3f00d7,_0x4abbf1){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x3f00d7,_0x37b3ec,_0x4abbf1);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends ckeditor5['ContextPlugin']{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_aiReviewCheckList'];['_currentReviewCheckRun'];['_changeActivationSource']=null;static get['requires'](){return[AIConnector];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['_initRequiredPlugins'](),this['_aiReviewCheckList']=await this['_getChecksList'](),this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_aiReviewCoreUi']['setAvailableChecks'](this['_aiReviewCheckList']['checks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',async(_0x131f54,_0x16bd36)=>{const _0x13e9b0=this['_aiReviewCheckList']['getCheckById'](_0x16bd36['id']);if(_0x13e9b0){this['_onReviewCheckRun'](_0x16bd36),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x16bd36,_0x13e9b0),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x500c2e,_0xf4f5d9)=>{switch(_0xf4f5d9['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0xf4f5d9);break;case'finished':this['_onCheckRunFinished']();break;case'ready':this['_aiReviewCoreUi']['showActionsWhenResultIsReady']();break;case'unmodified':this['_aiReviewCoreUi']['showNoChangesView']();break;case'error-general':this['_aiReviewCoreUi']['showGeneralResultsErrorView'](),this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new ckeditor5['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'!==_0xf4f5d9['status']&&'error-chunk'!==_0xf4f5d9['status']&&'error-general'!==_0xf4f5d9['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x511dc2,_0x41f008)=>{if(!this['_currentReviewCheckRun'])throw new ckeditor5['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x438982=this['_diffContent'](_0x41f008['result']['contentInitial'],_0x41f008['result']['contentNew']);_0x41f008['source']['addResultChanges'](_0x41f008['result']['id'],_0x438982);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x6f581a,_0x217661)=>{for(const _0x359100 of _0x217661['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x359100);this['_markChangePositionInEditorContent'](_0x217661['changes'],_0x217661['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0xd7684e,_0x10672c)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x10672c['change']['id'],_0x10672c['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x1fb397,_0x24239e)=>{this['_onReviewCheckResultActivated'](_0x24239e);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x595fe8){_0x595fe8 instanceof Error&&_0x595fe8['message']['includes']('ai-request-aborted')||(_0x595fe8 instanceof ckeditor5['CKEditorError']?this['_logError'](_0x595fe8):this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x595fe8)));}}else this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x16bd36['id']}));}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x32bb6b=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x32bb6b['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x32bb6b['map'](_0x3a3873=>_0x3a3873['id']));const _0x3e1c11=this['_currentReviewCheckRun'];_0x3e1c11['markAllChangesAsAccepted'](),_0x3e1c11['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x2f55f3,_0x193910)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x193910['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x193910['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x193910['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x193910['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x5859c9,_0x233fcf)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x233fcf['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x233fcf['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x233fcf['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x233fcf['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'retryReview',async()=>{this['_currentReviewCheckRun']&&(this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_currentReviewCheckRun']['updateDocumentData'](this['_aiReviewCoreEditing']['getDocumentData']()),await this['_currentReviewCheckRun']['restart']());}),this['listenTo'](this['_aiReviewCoreUi'],'activateChange',(_0x5bbb41,_0x482176)=>{this['_onActivateChange'](_0x482176);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x1e5c68,_0x287900)=>{this['_onDeactivateChange'](_0x287900);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x1205f9,_0x57ce8b)=>{this['_onChangeMarkerClicked'](_0x1205f9,_0x57ce8b);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x2ec510,_0x28c1ca)=>{this['_onChangeMarkerHovered'](_0x2ec510,_0x28c1ca);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x1c2b9e,_0x11a5a0)=>{this['_onChangeMarkerRemoved'](_0x1c2b9e,_0x11a5a0);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x4872c6,_0xf30db)=>{this['_onChangeMarkerRestored'](_0x4872c6,_0xf30db);});}['_createReviewCheckRun'](_0x2453f4,_0x5ef35e){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x5ef35e,this['_aiConnector'],_0x2453f4['params'],_0x2453f4['args']);}['_onChangeMarkerRemoved'](_0x2663ae,_0x3de6c1){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x3de6c1['changeId']);}['_onChangeMarkerRestored'](_0x1850c3,_0x2aa3ce){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x2aa3ce['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x5c2703=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x5c2703&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x45e4b8=this['_aiReviewCoreEditing']['getEditor']();_0x45e4b8&&_0x45e4b8['editing']['view']['change'](_0x97bba8=>{const _0xf0811a=_0x45e4b8['editing']['view']['document']['getRoot']();_0x97bba8['removeClass']('ck-ai_review-diff',_0xf0811a),_0x97bba8['removeClass']('ck-ai_review-highlights',_0xf0811a),_0x97bba8['removeClass']('ck-ai-translate-mode-content',_0xf0811a);});}['_getTranslationWithDefault'](_0x3dd474,_0x18ba5d){const _0x5da436=getTranslation$i(this['context']['locale'],_0x3dd474);return _0x5da436===_0x3dd474?_0x18ba5d:_0x5da436;}['_logError'](_0x2dc6d3,_0x11135f=!0x1){ckeditor5['logError'](_0x2dc6d3['message']),_0x11135f||(_0x2dc6d3['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x2c1e4e){if('content'===this['_changeActivationSource']){const _0xcb7af2=this['_aiReviewCoreUi']['getChangeElement'](_0x2c1e4e);_0xcb7af2&&ckeditor5['scrollAncestorsToShowTarget'](_0xcb7af2['closest']('.ck-ai_review__check-run-result')||_0xcb7af2);}else{if('panel'===this['_changeActivationSource']){const _0x4e3094=this['_getChangeContentElement'](_0x2c1e4e);if(!_0x4e3094)return;const _0x961648={'target':_0x4e3094,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};ckeditor5['scrollViewportToShowTarget'](_0x961648);}}}}const _0x4383a0=[{'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'}]}]}];class _0x4ec2a7{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x4dd4bb){this['id']=_0x4dd4bb['id'],this['commandId']=_0x4dd4bb['commandId'],this['title']=_0x4dd4bb['title'],this['description']=_0x4dd4bb['description'],this['isParameterized']=_0x4dd4bb['isParameterized'],this['useArgs']=_0x4dd4bb['useArgs'],this['options']=_0x4dd4bb['options'],this['args']=_0x4dd4bb['args'];}}class AIReviewCheckList extends ckeditor5['ObservableMixin'](){['_checks']=[];['setupChecks'](_0xdfd17){this['_checks']=_0xdfd17['map'](_0x3b1b53=>new _0x4ec2a7(_0x3b1b53));}get['checks'](){return this['_checks'];}['getCheckById'](_0x41529c){return this['checks']['find'](_0x7089eb=>_0x7089eb['id']===_0x41529c);}['removeCheckById'](_0x337a4d){this['_checks']=this['_checks']['filter'](_0x4f0cc8=>_0x4f0cc8['id']!==_0x337a4d);}}class AIReviewCheckCustom extends _0x4ec2a7{['_models']=[];['_defaultModel']=null;constructor(_0x5c29b9,_0x45a5b5,_0x3ca458){super(_0x5c29b9),this['_models']=_0x45a5b5,this['_defaultModel']=_0x3ca458;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends _0x4ec2a7{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x4becae,_0x4bfbed,_0x3aa340){super(_0x4becae),this['prompt']=_0x4becae['prompt'],this['model']=_0x4becae['model'],this['model']?this['_defaultModel']=_0x4bfbed['find'](_0x287e12=>_0x287e12['id']===this['model'])||null:this['_defaultModel']=_0x3aa340;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x175965,_0x17a09d,_0x32a80d){super(),this['_allModels']=_0x175965,this['_recommendedModels']=_0x17a09d,this['_defaultModel']=_0x32a80d;}['setupChecks'](_0x289fc1){this['_checks']=_0x289fc1['map'](_0x4653c9=>!0x0===_0x4653c9['isExtra']?new AIReviewCheckExtra(_0x4653c9,this['_allModels'],this['_defaultModel']):'custom'===_0x4653c9['id']?new AIReviewCheckCustom(_0x4653c9,this['_recommendedModels'],this['_defaultModel']):new _0x4ec2a7(_0x4653c9));}}class AIReviewCustomCheckRun extends _0x131713{['_prompt'];['_model'];constructor(_0x3da97d,_0xec68d6,_0x438dda,_0x59f5fe,_0x722712){super(_0x438dda,_0x59f5fe,_0x722712),this['_prompt']=_0x3da97d,this['_model']=_0xec68d6;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x45028a,_0x43dc0d,_0xf7bf73){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x43dc0d,_0x45028a,_0xf7bf73);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x3f9fd9){this['_prompt']=_0x3f9fd9;}set['model'](_0x25b760){this['_model']=_0x25b760;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x1c0dd9){super(_0x1c0dd9),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',_0x4383a0['map'](_0x1b867a=>_0x1b867a['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x5a3f79,_0xd36a8a)=>{this['_isDiffOn']=_0xd36a8a['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x1f559d,_0x5d937a){return _0x1f559d['isCustom']?new AIReviewCustomCheckRun(_0x1f559d['args']['prompt'],_0x1f559d['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x5d937a,this['_aiConnector']):_0x5d937a['isExtra']?new AIReviewExtraCheckRun(_0x5d937a['prompt'],_0x5d937a['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x5d937a,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x5d937a,this['_aiConnector'],_0x1f559d['params'],_0x1f559d['args']);}['_onReviewCheckResultActivated'](_0x4d2812){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x4d2812['change']['id']),this['_scrollToChange'](_0x4d2812['change']['id']);const _0x168f2c=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4d2812['change']['id']);if(!_0x168f2c)return;const _0x32d7b1=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x4d2812['change'],()=>_0x168f2c['getElement'](),void 0x0,'click',_0x32d7b1?.['editing']?.['view']?.['getDomRoot'](),_0x32d7b1?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x4d2812['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x3bd494){this['_currentReviewCheckRun']&&'click'===_0x3bd494['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x3bd494['id']));}['_onDeactivateChange'](_0x7b2b27){this['_currentReviewCheckRun']&&'balloon'===_0x7b2b27['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x15ecad,_0x545847){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x545847['changeId']);const _0x5d73c1=this['_currentReviewCheckRun']['getChangeById'](_0x545847['changeId']);if(!_0x5d73c1)return;const _0x3c90db=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x5d73c1,_0x545847['markerElement'],_0x545847['domEvent'],'click',_0x3c90db?.['editing']?.['view']?.['getDomRoot'](),_0x3c90db?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x376eb4,_0x3a8eba){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x53e3d7=this['_currentReviewCheckRun']['getChangeById'](_0x3a8eba['changeId']);if(!_0x53e3d7)return;const _0x5dcfa8=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x53e3d7,_0x3a8eba['markerElement'],_0x3a8eba['domEvent'],'hover',_0x5dcfa8?.['editing']?.['view']?.['getDomRoot'](),_0x5dcfa8?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0xc34929){const _0x5b3283=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0xc34929);return _0x5b3283?_0x5b3283['getElement']():null;}['_markChangePositionInEditorContent'](_0x404771,_0x30fb60){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x404771,_0x30fb60);}['_diffContent'](_0x34f3dc,_0x4d13b7){return this['_aiReviewCoreEditing']['diffContent'](_0x34f3dc,_0x4d13b7);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x1bf3ad){const _0x3356db=this['_aiReviewCoreEditing']['getEditor']();_0x1bf3ad?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon'](),_0x3356db&&_0x3356db['editing']['view']['change'](_0x46e617=>{const _0x22e74e=_0x3356db['editing']['view']['document']['getRoot']();for(const _0x273ca9 of _0x22e74e['getClassNames']())_0x273ca9['startsWith']('ck-ai_review-')&&_0x46e617['removeClass'](_0x273ca9,_0x22e74e);_0x46e617['addClass'](_0x1bf3ad?'ck-ai_review-diff':'ck-ai_review-highlights',_0x22e74e);});}async['_getChecksList'](){const _0x9f69e0=[..._0x4383a0,...this['_getExtraChecks']()],_0x1122ef=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x1122ef,_0x9f69e0);let _0x58a573=_0x9f69e0;this['_hasDefaultAvailableCommands']||(_0x58a573=_0x1122ef['map'](_0x282412=>_0x9f69e0['find'](_0x2f2feb=>_0x2f2feb['id']===_0x282412))['filter'](_0x25f553=>!!_0x25f553)),_0x58a573=_0x58a573['map'](_0x55cd29=>_0x55cd29['isExtra']?_0x55cd29:this['_translateReviewCheck'](_0x55cd29));const _0x58dbe6=_0x58a573['some'](_0x1659d2=>_0x1659d2['isExtra']||'custom'===_0x1659d2['id']);let _0x507b2d=[],_0x242c4b=[],_0xf8ad13=null;if(_0x58dbe6){const _0x5038fd=await this['_getModels']();_0x507b2d=_0x5038fd['all'],_0x242c4b=_0x5038fd['recommended'],_0xf8ad13=_0x5038fd['default'];}const _0x31b636=new AIReviewModeCheckList(_0x507b2d,_0x242c4b,_0xf8ad13);return _0x31b636['setupChecks'](_0x58a573),_0x58dbe6&&this['_filterChecksWithMissingModel'](_0x31b636),_0x31b636;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x2c63fa=>({'id':_0x2c63fa['id'],'commandId':_0x2c63fa['id'],'title':_0x2c63fa['label'],'description':_0x2c63fa['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x2c63fa['prompt'],'model':_0x2c63fa['model']}));}['_logErrorForNonExistentChecks'](_0x12ec81,_0xfe5ef2){const _0x3c529f=_0x12ec81['filter'](_0x3341a1=>!_0xfe5ef2['some'](_0x32a8f4=>_0x32a8f4['id']===_0x3341a1));_0x3c529f['length']&&this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x3c529f['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x2818ec=new _0x2008b6({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x2818ec['getAll'](),'recommended':await _0x2818ec['getAvailableModels'](),'default':await _0x2818ec['getDefault']()};}catch(_0x26ea82){return this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x26ea82)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x3480f7){const _0x587e3d='AI_REVIEW_CHECK_'+_0x3480f7['id']['toUpperCase']()['replaceAll']('-','_'),_0x321126={..._0x3480f7,'title':this['_getTranslationWithDefault'](_0x587e3d+'_TITLE',_0x3480f7['title']),'description':this['_getTranslationWithDefault'](_0x587e3d+'_DESCRIPTION',_0x3480f7['description'])};return _0x3480f7['options']&&(_0x321126['options']=_0x3480f7['options']['map'](_0x4d0c78=>({..._0x4d0c78,'label':this['_getTranslationWithDefault'](_0x587e3d+'_OPTIONS_LABEL',_0x4d0c78['label']||''),'data':_0x4d0c78['data']?_0x4d0c78['data']['map'](_0x4d767f=>({..._0x4d767f,'label':this['_getTranslationWithDefault'](_0x587e3d+'_OPTIONS_DATA_'+_0x4d767f['id']['toUpperCase'](),_0x4d767f['label'])})):void 0x0}))),_0x321126;}['_filterChecksWithMissingModel'](_0x21a853){const _0x68d9af=[];_0x21a853['checks']['forEach'](_0x9ec7b9=>{(_0x9ec7b9 instanceof AIReviewCheckExtra&&!_0x9ec7b9['defaultModel']||_0x9ec7b9 instanceof AIReviewCheckCustom&&!_0x9ec7b9['models']['length'])&&_0x68d9af['push'](_0x9ec7b9['id']);}),_0x68d9af['length']&&_0x68d9af['forEach'](_0x1a7b6e=>{_0x21a853['removeCheckById'](_0x1a7b6e),this['_logError'](new ckeditor5['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x1a7b6e}),!0x0);});}}class _0x1142f4 extends ckeditor5['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x1d6add,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends _0x4ec2a7{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x130661){this['_checks']=_0x130661['map'](_0x4d098f=>new AITranslateCheck(_0x4d098f));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x5eeeec,_0x1b0de2,_0x488000,_0x132b95,_0x36fc6d,_0x16116a){super(_0x5eeeec,_0x1b0de2,_0x488000,_0x36fc6d,_0x16116a),this['_title']=_0x132b95;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x1cc233){super(_0x1cc233),this['context']['config']['define']('ai.translate.languages',[{'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'}]);}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x1b3fb2,_0x2fde6a){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x2fde6a,this['_aiConnector'],getTranslation$i(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x1b3fb2['params'],_0x1b3fb2['args']);}['_onReviewCheckResultActivated'](_0x232b8d){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x232b8d['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x232b8d['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x28c738){this['_currentReviewCheckRun']&&('hover'===_0x28c738['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x28c738['id'])),'click'===_0x28c738['uiInteraction']&&this['_scrollToChange'](_0x28c738['id']));}['_onDeactivateChange'](_0x4da43f){this['_currentReviewCheckRun']&&'panel'===_0x4da43f['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x164bb7,_0x2de9e6){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x2de9e6['changeId']),this['_scrollToChange'](_0x2de9e6['changeId']));}['_onChangeMarkerHovered'](_0x295071,_0x2add0f){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x2add0f['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x2add0f['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x27f240){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x27f240);}['_markChangePositionInEditorContent'](_0xc6c13c,_0x467929){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0xc6c13c,_0x467929);}['_diffContent'](_0x1186cd,_0x303303){return this['_aiReviewCoreEditing']['diffContent'](_0x1186cd,_0x303303,!0x0);}['_onReviewCheckRun'](){const _0x44fa9f=this['_aiReviewCoreEditing']['getEditor']();_0x44fa9f&&_0x44fa9f['editing']['view']['change'](_0x3f27f6=>{const _0x43a669=_0x44fa9f['editing']['view']['document']['getRoot']();for(const _0xbb35d3 of _0x43a669['getClassNames']())(_0xbb35d3['startsWith']('ck-ai-review-')||'ck-ai-translate-'===_0xbb35d3)&&_0x3f27f6['removeClass'](_0xbb35d3,_0x43a669);_0x3f27f6['addClass']('ck-ai-translate-mode-content',_0x43a669);});}async['_getChecksList'](){const _0x26eb57=[],_0x513f91=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x1e3b9d of _0x513f91)_0x26eb57['push']({'title':_0x1e3b9d['label'],'id':_0x1e3b9d['id'],'commandId':_0x1e3b9d['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x1e3b9d['id']}});const _0x4ec970=new AITranslateCheckList();return _0x4ec970['setupChecks'](this['_translateChecks'](_0x26eb57)),_0x4ec970;}['_translateChecks'](_0x18b527){return _0x18b527['map'](_0x1e5f4b=>{const _0x209ed1='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x1e5f4b['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x1e5f4b,'title':this['_getTranslationWithDefault'](_0x209ed1,_0x1e5f4b['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x51340d,_0x44af84){super(_0x51340d,_0x44af84),this['on']('set:isLoading',(_0x479c77,_0x111fec,_0x2e7a20)=>{_0x2e7a20&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0xf7d38c,_0x293746,_0x4e82ca)=>{_0x4e82ca&&(this['headerTitle']=getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x236ca1=super['_createAcceptAllButtonView']();return _0x236ca1['set']('label',getTranslation$i(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x236ca1;}['_createExitReviewButtonView'](){const _0x272385=super['_createExitReviewButtonView']();return _0x272385['set']('label',getTranslation$i(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x272385;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x1ba7f0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x1ba7f0['if']('isVisible','ck-hidden',_0x546092=>!_0x546092)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':getTranslation$i(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x1ba7f0['if']('isVisible','ck-hidden',_0x54fb81=>!_0x54fb81)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0x905ecd{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x472cca=this['context']['locale'],_0x3b2f10=new ckeditor5['FormHeaderView'](_0x472cca,{'label':getTranslation$i(_0x472cca,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':ckeditor5['IconAITranslate'],'class':'ck-ai-header\x20ck-ai-header_review-translate'}),_0x95a0a4=new _0x49e732(_0x472cca,{'header':_0x3b2f10,'list':new AITranslateCheckListView(_0x472cca),'results':new AITranslateCheckResultsView(_0x472cca,{'generalErrorText':getTranslation$i(_0x472cca,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x472cca,{'headerText':getTranslation$i(_0x472cca,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':getTranslation$i(_0x472cca,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':getTranslation$i(_0x472cca,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x95a0a4['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x95a0a4;}['registerTab'](){const _0x4b39f6=this['context']['plugins']['get']('AITabs');_0x4b39f6['view']['on']('activateTab',(_0x5eebc8,_0x352780)=>{'translate'===_0x352780?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x4b39f6['view']['addTab']({'id':'translate','buttonLabel':getTranslation$i(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':ckeditor5['IconAITranslate'],'order':0x0,'content':this['_mainView']});}}class AITranslate extends ckeditor5['ContextPlugin']{static get['requires'](){return[AITranslateController,AITranslateUI,AIReviewCoreEditing];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x3e644a extends ckeditor5['Command']{['_transformCallback'];constructor(_0x12666e,_0x49015e){super(_0x12666e),this['_transformCallback']=_0x49015e;}['execute'](){const _0x577444=this['editor']['model'],_0x3ce162=Array['from'](this['_getAffectedRanges']()),_0x48c63e=Array['from'](_0x577444['document']['selection']['getRanges']());_0x577444['change'](_0x545a1c=>{for(const _0x3b9bf1 of _0x3ce162)this['_modifyContent'](_0x3b9bf1,_0x545a1c);_0x545a1c['setSelection'](_0x48c63e);});}['refresh'](){for(const _0x5cc953 of this['_getAffectedRanges']())for(const _0x16a39a of _0x5cc953)if(_0x16a39a['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x3e68b0=this['editor']['model'],_0xc03d23=_0x3e68b0['document']['selection'];if(_0xc03d23['isCollapsed']){const _0x49dda5=this['_findAncestorTextBlock'](_0xc03d23['getFirstPosition']()['parent']);return _0x49dda5?[_0x3e68b0['createRangeIn'](_0x49dda5)]:[];}return _0xc03d23['getRanges']();}['_modifyContent'](_0x2cab95,_0x152a52){for(const _0x3a638a of this['_getElementsAllowingText'](_0x2cab95)){const _0x4ff8b7=this['_getElementTextContent'](_0x3a638a),_0x5c14b1=this['_transformCallback'](_0x4ff8b7);for(const _0x106bed of this['_getTextNodesRangeLimited'](_0x3a638a,_0x2cab95))this['_replaceTextNodeData'](_0x106bed,_0x5c14b1,_0x152a52);}}['_findAncestorTextBlock'](_0x22d09b){const _0x403d0a=this['editor']['model']['schema'];if(_0x22d09b['is']('element')&&_0x403d0a['checkChild'](_0x22d09b,'$text'))return _0x22d09b;const _0x5d2221=_0x22d09b['parent'];return!_0x5d2221||_0x403d0a['isLimit'](_0x22d09b)?null:this['_findAncestorTextBlock'](_0x5d2221);}*['_getElementsAllowingText'](_0x45f24e){const _0x1ed953=new Set();for(const {item:_0x28f6b7}of _0x45f24e['getWalker']()){const _0x67532=this['_findAncestorTextBlock'](_0x28f6b7);_0x67532&&!_0x1ed953['has'](_0x67532)&&(_0x1ed953['add'](_0x67532),yield _0x67532);}}['_getElementTextContent'](_0x1283cf){return Array['from'](_0x1283cf['getChildren']())['reduce']((_0x22a9d1,_0x4540f0)=>_0x22a9d1+(_0x4540f0['is']('$text')?_0x4540f0['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x5241eb,_0x50cde4){const _0x5ab354=_0x50cde4['getIntersection'](this['editor']['model']['createRangeIn'](_0x5241eb));if(_0x5ab354){for(const _0x5f0ee2 of _0x5ab354['getItems']())_0x5f0ee2['is']('$textProxy')&&_0x5f0ee2['parent']==_0x5241eb&&(yield _0x5f0ee2);}}['_replaceTextNodeData'](_0x3b099e,_0x7924ec,_0x2694be){const _0x4510b0=_0x7924ec['substring'](_0x3b099e['startOffset'],_0x3b099e['endOffset']);if(_0x4510b0===_0x3b099e['data'])return;const _0x5d5875=_0x3b099e['getAttributes']();this['editor']['model']['insertContent'](_0x2694be['createText'](_0x4510b0,_0x5d5875),_0x2694be['createSelection'](_0x2694be['createRangeOn'](_0x3b099e)));}}function getTranslation$g(_0x4a33a8,_0x38785d,..._0x25e88b){const t=_0x4a33a8['t'];switch(_0x38785d){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',..._0x25e88b);default:return _0x38785d;}}class CaseChangeEditing extends ckeditor5['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4863ce=this['editor'],_0x25b060=_0x4863ce['locale']['contentLanguage'],_0x411ce9=_0x411dae(_0x4863ce['config']['get']('caseChange.titleCase.excludeWords')),_0x3aff44={'changeCaseUpper':new _0x3e644a(_0x4863ce,_0x36fec5=>_0x36fec5['toLocaleUpperCase'](_0x25b060)),'changeCaseLower':new _0x3e644a(_0x4863ce,_0x411a82=>_0x411a82['toLocaleLowerCase'](_0x25b060)),'changeCaseTitle':new _0x3e644a(_0x4863ce,_0x2fd45c=>capitalizeText(_0x2fd45c,_0x411ce9,_0x25b060))};for(const [_0x641756,_0x425e97]of Object['entries'](_0x3aff44))_0x4863ce['commands']['add'](_0x641756,_0x425e97),_0x425e97['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x641756);});this['listenTo'](_0x4863ce['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x4863ce['keystrokes']['set']('shift+f3',(_0x47a725,_0x3debc1)=>{const _0x407589=_getOptions(this['editor']['locale']),_0x48dea4=_0x407589[this['_currentCommandIndex']%_0x407589['length']]['commandName'];_0x4863ce['execute'](_0x48dea4),this['_currentCommandIndex']++,_0x3debc1();});}['afterInit'](){_0x46d761(this);}['_announceCaseChangeOperation'](_0xc2ea4a){const {ui:_0x1e1a26,locale:_0x1468b4}=this['editor'],_0x5e3521=_getOptions(_0x1468b4)['find'](_0x5e377a=>_0x5e377a['commandName']===_0xc2ea4a)['label']['toLowerCase']();_0x1e1a26['ariaLiveAnnouncer']['announce'](getTranslation$g(_0x1468b4,'Changed\x20case\x20to\x20%0',_0x5e3521));}}function _getOptions(_0x5225f4){return[{'label':getTranslation$g(_0x5225f4,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':getTranslation$g(_0x5225f4,'lowercase'),'commandName':'changeCaseLower'},{'label':getTranslation$g(_0x5225f4,'Title\x20Case'),'commandName':'changeCaseTitle'}];}function capitalizeText(_0x2cb0fd,_0x2c2366,_0x2b927c){return _0x4f124b(_0x2cb0fd,(_0x2c9f58,_0x28d7c5,_0x4b3e87)=>{const _0x53a010=_0x2c9f58['toLocaleLowerCase'](_0x2b927c);return _0x2c2366(_0x53a010,{'charOffset':_0x28d7c5,'wordIndex':_0x4b3e87,'blockText':_0x2cb0fd})?_0x53a010:_0x53a010['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x19c5cc=>_0x19c5cc['toLocaleUpperCase'](_0x2b927c));});}function _0x4f124b(_0x3802ba,_0xac3021){let _0x5b89b8='',_0x3189fd=0x0,_0x11e347=0x0;for(const _0x47214d of _0x3802ba['matchAll'](/ +/g)){const _0x162498=_0x47214d['index'],_0x45921d=_0x3802ba['substring'](_0x3189fd,_0x162498);_0x45921d['length']&&(_0x5b89b8+=_0xac3021(_0x45921d,_0x3189fd,_0x11e347++)),_0x5b89b8+=_0x47214d[0x0],_0x3189fd=_0x162498+_0x47214d[0x0]['length'];}const _0x2a26a3=_0x3802ba['substring'](_0x3189fd);return _0x2a26a3['length']&&(_0x5b89b8+=_0xac3021(_0x2a26a3,_0x3189fd,_0x11e347)),_0x5b89b8;}function _0x411dae(_0x1d88ea=[]){return'function'==typeof _0x1d88ea?_0x1d88ea:(_0x365efc,{wordIndex:_0x43a79f})=>_0x43a79f>0x0&&_0x1d88ea['includes'](_0x365efc);}async function _0x46d761(_0xf22704){const _0x3a3d5c=_0x38daf2([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x19843f=window[_0x38daf2([0x44,0x61,0x74,0x65])][_0x38daf2([0x6e,0x6f,0x77])](),_0x1fb6f8=_0xf22704[_0x38daf2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5309ba=new window[(_0x38daf2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5160c5=>{_0x1fb6f8[_0x38daf2([0x6f,0x6e,0x63,0x65])](_0x38daf2([0x72,0x65,0x61,0x64,0x79]),_0x5160c5);}),_0x3fa216={[_0x38daf2([0x6b,0x74,0x79])]:_0x38daf2([0x45,0x43]),[_0x38daf2([0x75,0x73,0x65])]:_0x38daf2([0x73,0x69,0x67]),[_0x38daf2([0x63,0x72,0x76])]:_0x38daf2([0x50,0x2d,0x32,0x35,0x36]),[_0x38daf2([0x78])]:_0x38daf2([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x38daf2([0x79])]:_0x38daf2([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x38daf2([0x61,0x6c,0x67])]:_0x38daf2([0x45,0x53,0x32,0x35,0x36])},_0x56bcc8=_0x1fb6f8[_0x38daf2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38daf2([0x67,0x65,0x74])](_0x38daf2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xf464ce=await(async function(){let _0x40ba1c,_0x24d3c2=null,_0x3858c3=null;try{if(_0x56bcc8==_0x38daf2([0x47,0x50,0x4c]))return _0x38daf2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40ba1c=(function(){const _0x3a7d89=_0x56bcc8[_0x38daf2([0x73,0x70,0x6c,0x69,0x74])](_0x38daf2([0x2e]));if(0x3!=_0x3a7d89[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x526e47=_0x3a7d89[0x1];return _0x39c315(_0x526e47);function _0x39c315(_0x1ab52b){const _0x1c7aba=_0x54ac97(_0x1ab52b);return _0x1c7aba&&_0x1be140()?_0x1c7aba:null;function _0x1be140(){const _0x3fbe41=_0x1c7aba[_0x38daf2([0x6a,0x74,0x69])],_0x74857d=window[_0x38daf2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fbe41[_0x38daf2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fbe41[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47439a={..._0x1c7aba,[_0x38daf2([0x6a,0x74,0x69])]:_0x3fbe41[_0x38daf2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3fbe41[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47439a[_0x38daf2([0x76,0x63])],_0x46750f(_0x47439a)==_0x74857d;}}}()),!_0x40ba1c)return _0x38daf2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x40ba1c[_0x38daf2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3858c3=function(_0x5a54bb,_0x37c3b5){return new window[(_0x38daf2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e5ef4=>{if(_0x1c5be1())return _0x4e5ef4(_0x38daf2([0x56,0x61,0x6c,0x69,0x64]));_0x4bd92e(),_0x1fb6f8[_0x38daf2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38daf2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5794d5=!0x1;const _0x5ada5a=ckeditor5['uid']();function _0x125ae4(_0x47b445){return!!_0x47b445&&(typeof _0x47b445===_0x38daf2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47b445===_0x38daf2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47b445[_0x38daf2([0x74,0x68,0x65,0x6e])]===_0x38daf2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47b445[_0x38daf2([0x63,0x61,0x74,0x63,0x68])]===_0x38daf2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26e98e(_0x139e9b){_0x304f60(_0x139e9b)[_0x38daf2([0x74,0x68,0x65,0x6e])](_0x197767=>{if(!_0x197767||_0x197767[_0x38daf2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38daf2([0x6f,0x6b]))return _0x38daf2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1bb7a7(_0x46750f(_0x5ada5a+_0x37c3b5))!=_0x197767[_0x38daf2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38daf2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38daf2([0x56,0x61,0x6c,0x69,0x64]);})[_0x38daf2([0x74,0x68,0x65,0x6e])](_0x5255ad=>(_0x4ca411(),_0x5255ad),()=>{const _0x34f3af=_0x5cf248();return null==_0x34f3af?(_0x4ca411(),_0x38daf2([0x56,0x61,0x6c,0x69,0x64])):_0x38daf2(_0x19843f-_0x34f3af>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38daf2([0x74,0x68,0x65,0x6e])](_0x4e5ef4)[_0x38daf2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e5ef4(_0x38daf2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3720bc=0x36ee80;function _0x4ca411(){const _0x15a98b=_0x38daf2([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bb7a7(_0x46750f(_0x5a54bb)),_0x41c038=_0x3eee79(_0x1bb7a7(window[_0x38daf2([0x4d,0x61,0x74,0x68])][_0x38daf2([0x63,0x65,0x69,0x6c])](_0x19843f/_0x3720bc)));window[_0x38daf2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38daf2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15a98b,_0x41c038);}function _0x5cf248(){const _0x237c48=_0x38daf2([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bb7a7(_0x46750f(_0x5a54bb)),_0x15966a=window[_0x38daf2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38daf2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x237c48);return _0x15966a?window[_0x38daf2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3eee79(_0x15966a),0x10)*_0x3720bc:null;}function _0x304f60(_0xf5eb31){return new window[(_0x38daf2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2348e9,_0x48a9ff)=>{_0xf5eb31[_0x38daf2([0x74,0x68,0x65,0x6e])](_0x2348e9,_0x48a9ff),window[_0x38daf2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48a9ff,0x1d4c0);});}}_0x1fb6f8[_0x38daf2([0x6f,0x6e])](_0x38daf2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58338f,_0x174dec)=>{if(_0x174dec[0x0]!=_0x5a54bb)return _0x4e5ef4(_0x38daf2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x174dec[0x1]={..._0x174dec[0x1],[_0x38daf2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ada5a};},{[_0x38daf2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38daf2([0x68,0x69,0x67,0x68])}),_0x1fb6f8[_0x38daf2([0x6f,0x6e])](_0x38daf2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b527f=>{_0x125ae4(_0x3b527f[_0x38daf2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5794d5=!0x0,_0x26e98e(_0x3b527f[_0x38daf2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38daf2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38daf2([0x6c,0x6f,0x77])}),_0x5309ba[_0x38daf2([0x74,0x68,0x65,0x6e])](()=>{_0x5794d5||_0x4e5ef4(_0x38daf2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c5be1(){return _0x1fb6f8[_0x38daf2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38daf2([0x76,0x69,0x65,0x77])][_0x38daf2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38daf2([0x61,0x75,0x74,0x6f]);}function _0x4bd92e(){_0x1fb6f8[_0x38daf2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38daf2([0x76,0x69,0x65,0x77])][_0x38daf2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38daf2([0x61,0x75,0x74,0x6f]);}}(_0x40ba1c[_0x38daf2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40ba1c[_0x38daf2([0x6a,0x74,0x69])]));const _0x2bfbc5=await(async function(){let _0x267675=!0x0;try{const _0x4c0eb1=_0x56bcc8[_0x38daf2([0x73,0x70,0x6c,0x69,0x74])](_0x38daf2([0x2e])),[_0x4fbecb,_0x135c10,_0x33be22]=_0x4c0eb1;return _0x65d2ef(_0x4fbecb),await _0x2848b0(_0x4fbecb,_0x135c10,_0x33be22),_0x267675;}catch{return!0x1;}function _0x65d2ef(_0x3d73b8){const _0x57fdde=_0x54ac97(_0x3d73b8);_0x57fdde&&_0x57fdde[_0x38daf2([0x61,0x6c,0x67])]==_0x38daf2([0x45,0x53,0x32,0x35,0x36])||(_0x267675=!0x1);}async function _0x2848b0(_0x58965d,_0x34ae02,_0x3faba5){const _0x4fc4fb=window[_0x38daf2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38daf2([0x66,0x72,0x6f,0x6d])](_0xe2deef(_0x3faba5),_0x1cdc2e=>_0x1cdc2e[_0x38daf2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d4210=new window[(_0x38daf2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38daf2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58965d+_0x38daf2([0x2e])+_0x34ae02),_0x570b56=window[_0x38daf2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38daf2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x570b56)return;const _0x174298=await _0x570b56[_0x38daf2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38daf2([0x6a,0x77,0x6b]),_0x3fa216,{[_0x38daf2([0x6e,0x61,0x6d,0x65])]:_0x38daf2([0x45,0x43,0x44,0x53,0x41]),[_0x38daf2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38daf2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38daf2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x570b56[_0x38daf2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38daf2([0x6e,0x61,0x6d,0x65])]:_0x38daf2([0x45,0x43,0x44,0x53,0x41]),[_0x38daf2([0x68,0x61,0x73,0x68])]:{[_0x38daf2([0x6e,0x61,0x6d,0x65])]:_0x38daf2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x174298,_0x4fc4fb,_0x1d4210)||(_0x267675=!0x1);}}());return _0x2bfbc5?(function(){const _0x21ca9a=_0x40ba1c[_0x38daf2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x21ca9a)return!0x1;if(_0x21ca9a[_0x38daf2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38daf2([0x2a])))return!0x0;if(_0x21ca9a[_0x38daf2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38daf2([0x43,0x43])))return!0x0;if(_0x21ca9a[_0x38daf2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38daf2([0x50,0x50])))return!0x0;return!0x1;}())?(function(){const _0x4b19a5=[_0x38daf2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38daf2([0x74,0x72,0x69,0x61,0x6c])][_0x38daf2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40ba1c[_0x38daf2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19843f/0x3e8:0x69b0b080;return _0x40ba1c[_0x38daf2([0x65,0x78,0x70])]<_0x4b19a5;}())?_0x38daf2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1227d1=_0x40ba1c[_0x38daf2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1227d1||0x0==_0x1227d1[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37fc9d}=new URL(window[_0x38daf2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1227d1[_0x38daf2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37fc9d))return!0x0;const _0x3c2cca=_0x37fc9d[_0x38daf2([0x73,0x70,0x6c,0x69,0x74])](_0x38daf2([0x2e]));return _0x1227d1[_0x38daf2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe7a3d2=>_0xe7a3d2[_0x38daf2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38daf2([0x2a])))[_0x38daf2([0x6d,0x61,0x70])](_0x5bd081=>_0x5bd081[_0x38daf2([0x73,0x70,0x6c,0x69,0x74])](_0x38daf2([0x2e])))[_0x38daf2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5af0c7=>_0x5af0c7[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c2cca[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38daf2([0x6d,0x61,0x70])](_0x375de8=>Array(_0x3c2cca[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x375de8[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38daf2([0x66,0x69,0x6c,0x6c])](_0x375de8[0x0]===_0x38daf2([0x2a])?_0x38daf2([0x2a]):'')[_0x38daf2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x375de8))[_0x38daf2([0x73,0x6f,0x6d,0x65])](_0x58e048=>_0x3c2cca[_0x38daf2([0x65,0x76,0x65,0x72,0x79])]((_0x1b665c,_0x23d5d5)=>_0x58e048[_0x23d5d5]===_0x1b665c||_0x58e048[_0x23d5d5]===_0x38daf2([0x2a])));}())?(_0x40ba1c[_0x38daf2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38daf2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24d3c2=function(_0xc99fb7){const _0x40c989=new window[(_0x38daf2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c2c17=>setTimeout(_0x3c2c17,0x93ecc)),_0xe78f13=_0x5309ba[_0x38daf2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38daf2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b2bf8=>{let _0xab0107=0x0;_0x1fb6f8[_0x38daf2([0x6d,0x6f,0x64,0x65,0x6c])][_0x38daf2([0x6f,0x6e])](_0x38daf2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fb611,_0x48e65f)=>{_0x48e65f[0x0][_0x38daf2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xab0107++,0x5e8==_0xab0107&&(_0x5b2bf8(),_0x4fb611[_0x38daf2([0x6f,0x66,0x66])]());});})),_0x1551b6=[_0x40c989,_0xe78f13];return window[_0x38daf2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38daf2([0x72,0x61,0x63,0x65])](_0x1551b6)[_0x38daf2([0x74,0x68,0x65,0x6e])](()=>_0xc99fb7);}(_0x38daf2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x24d3c2&&_0x3858c3)return new window[(_0x38daf2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24d150,_0x18f8d4)=>{_0x24d3c2[_0x38daf2([0x74,0x68,0x65,0x6e])](_0x24d150,_0x18f8d4),_0x3858c3[_0x38daf2([0x74,0x68,0x65,0x6e])](_0x35072f=>{_0x35072f!=_0x38daf2([0x56,0x61,0x6c,0x69,0x64])&&_0x24d150(_0x35072f);},_0x18f8d4);});return _0x24d3c2||_0x3858c3||_0x38daf2([0x56,0x61,0x6c,0x69,0x64]);}())):_0x38daf2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38daf2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38daf2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38daf2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x54ac97(_0x20392d){return _0x20392d[_0x38daf2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38daf2([0x65,0x79]))?JSON[_0x38daf2([0x70,0x61,0x72,0x73,0x65])](_0xe2deef(_0x20392d)):null;}function _0xe2deef(_0x37c3c9){return window[_0x38daf2([0x61,0x74,0x6f,0x62])](_0x37c3c9[_0x38daf2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38daf2([0x2b]))[_0x38daf2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38daf2([0x2f])));}function _0x46750f(_0x297a63){let _0x111723=0x1505;function _0x2e9d7c(_0x4075cd){for(let _0x51b341=0x0;_0x51b341<_0x4075cd[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51b341++){const _0x1797d5=_0x4075cd[_0x38daf2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51b341);_0x111723=(_0x111723<<0x5)+_0x111723+_0x1797d5,_0x111723&=_0x111723;}}return function _0x275005(_0x4c533c){Array[_0x38daf2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c533c)?_0x4c533c[_0x38daf2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x275005):_0x4c533c&&typeof _0x4c533c==_0x38daf2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38daf2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c533c)[_0x38daf2([0x73,0x6f,0x72,0x74])]()[_0x38daf2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57d3ff,_0x4b5072])=>{_0x2e9d7c(_0x57d3ff),_0x275005(_0x4b5072);}):_0x2e9d7c(window[_0x38daf2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c533c));}(_0x297a63),_0x111723>>>0x0;}function _0x1bb7a7(_0x3233ee){return _0x3233ee[_0x38daf2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38daf2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38daf2([0x30]));}function _0x3eee79(_0x31cfeb){return _0x31cfeb[_0x38daf2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38daf2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38daf2([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a87b0(){}function _0x38daf2(_0x2835b3){return _0x2835b3['map'](_0xc01442=>String['fromCharCode'](_0xc01442))['join']('');}!function(_0x14cff3){const _0x191c65=(function(){const _0xcd7a07=window[_0x38daf2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38daf2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38daf2([0x6e,0x6f,0x77])]())[_0x38daf2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38daf2([0x2e]),'');let _0x41d16f=_0x38daf2([0x45]);for(let _0x3e6ca0=0x0;_0x3e6ca0<_0xcd7a07[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e6ca0+=0x2){let _0x7256ed=window[_0x38daf2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcd7a07[_0x38daf2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e6ca0,_0x3e6ca0+0x2));_0x7256ed>=_0x3a3d5c[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7256ed-=_0x3a3d5c[_0x38daf2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41d16f+=_0x3a3d5c[_0x7256ed];}return _0x41d16f;}());_0x1fb6f8[_0x191c65]=_0x38daf2([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x14cff3,_0x14cff3!=_0x38daf2([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5309ba,_0x1fb6f8[_0x38daf2([0x6d,0x6f,0x64,0x65,0x6c])][_0x38daf2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a87b0,_0x1fb6f8[_0x38daf2([0x6d,0x6f,0x64,0x65,0x6c])][_0x38daf2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a87b0,_0x1fb6f8[_0x38daf2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38daf2([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0xf464ce);}class _0x84f2a7 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2fe571=this['editor'];this['_registerComponents'](),_0x2fe571['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$g(_0x2fe571['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49e1cf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4bb876;for(const _0x18dd22 in _0x49e1cf){const _0x4dea9e=_0x18dd22,_0x4cea07=_0x49e1cf[_0x4dea9e];if('caseChangeLicenseKeyValid'==_0x4cea07||'caseChangeLicenseKeyInvalid'==_0x4cea07||'caseChangeLicenseKeyExpired'==_0x4cea07||'caseChangeLicenseKeyDomainLimit'==_0x4cea07||'caseChangeLicenseKeyNotAllowed'==_0x4cea07||'caseChangeLicenseKeyEvaluationLimit'==_0x4cea07||'caseChangeLicenseKeyUsageLimit'==_0x4cea07){delete _0x49e1cf[_0x4dea9e],_0x4bb876=_0x4cea07,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x4bb876&&_0x49e1cf['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x4bb876&&_0x49e1cf['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x4bb876&&_0x49e1cf['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x4bb876&&_0x49e1cf['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x4bb876&&_0x49e1cf['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x4bb876&&_0x49e1cf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x213784=this['editor'],{itemDefinitions:_0x4cc8ab,commands:_0x24c9a4}=this['_getListItemDefinitionsAndCommands']();_0x213784['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x4cc8ab,_0x24c9a4)),_0x213784['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x4cc8ab,_0x24c9a4));}['_createMenuBarMenuView'](_0x370792,_0x2e3fd1){const _0x1ce5f7=this['editor'],_0x14a57f=_0x1ce5f7['locale'],_0x3d97f2=new ckeditor5['MenuBarMenuView'](_0x14a57f),_0x30334e=new ckeditor5['MenuBarMenuListView'](_0x14a57f);_0x30334e['set']({'ariaLabel':getTranslation$g(_0x14a57f,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x3d97f2['buttonView']),_0x3d97f2['bind']('isEnabled')['toMany'](_0x2e3fd1,'isEnabled',(..._0x1bf1b5)=>_0x1bf1b5['some'](_0x532663=>_0x532663));for(const _0x504160 of _0x370792){const _0x1daf27=new ckeditor5['MenuBarMenuListItemView'](_0x14a57f,_0x3d97f2),_0x4c0a13=new ckeditor5['MenuBarMenuListItemButtonView'](_0x14a57f);_0x4c0a13['delegate']('execute')['to'](_0x3d97f2),_0x4c0a13['bind'](...Object['keys'](_0x504160['model']))['to'](_0x504160['model']),_0x4c0a13['on']('execute',()=>{_0x1ce5f7['execute'](_0x504160['model']['commandName']),_0x1ce5f7['editing']['view']['focus']();}),_0x1daf27['children']['add'](_0x4c0a13),_0x30334e['items']['add'](_0x1daf27);}return _0x3d97f2['panelView']['children']['add'](_0x30334e),_0x3d97f2;}['_createDropdownView'](_0xc97ae2,_0x21fff8){const _0x5b3e93=this['editor'],_0x11dc2a=ckeditor5['createDropdown'](_0x5b3e93['locale']);return this['_setButtonProperties'](_0x11dc2a['buttonView']),_0x11dc2a['buttonView']['set']({'tooltip':!0x0}),_0x11dc2a['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),ckeditor5['addListToDropdown'](_0x11dc2a,_0xc97ae2,{'ariaLabel':getTranslation$g(_0x5b3e93['locale'],'Case\x20change'),'role':'menu'}),_0x11dc2a['bind']('isEnabled')['toMany'](_0x21fff8,'isEnabled',(..._0x170ced)=>_0x170ced['some'](_0x269da3=>_0x269da3)),this['listenTo'](_0x11dc2a,'execute',_0x21086e=>{_0x5b3e93['execute'](_0x21086e['source']['commandName']),_0x5b3e93['editing']['view']['focus']();}),_0x11dc2a;}['_setButtonProperties'](_0x122280){const _0x2bd086=this['editor'];_0x122280['set']({'label':getTranslation$g(_0x2bd086['locale'],'Case\x20change'),'icon':ckeditor5['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x14bd1d=new ckeditor5['Collection'](),_0x3bb92d=[];for(const _0x37d948 of _getOptions(this['editor']['locale'])){const _0xdfe505=this['editor']['commands']['get'](_0x37d948['commandName']),_0x5e31f7=new ckeditor5['UIModel']({'commandName':_0x37d948['commandName'],'label':_0x37d948['label'],'role':'menuitemradio','withText':!0x0});_0x5e31f7['bind']('isEnabled')['to'](_0xdfe505,'isEnabled'),_0x14bd1d['add']({'type':'button','model':_0x5e31f7}),_0x3bb92d['push'](_0xdfe505);}return{'itemDefinitions':_0x14bd1d,'commands':_0x3bb92d};}}class _0x25860a extends ckeditor5['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x84f2a7];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];constructor(_0x2907d6,_0x5083b0){super(),this['model']=_0x2907d6,this['model']['_isAttached']=!0x0,this['view']=_0x5083b0,this['listenTo'](_0x5083b0,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x5083b0,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x5083b0,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x5083b0,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x5083b0,'addComment',(_0x5bcc4f,_0xa7cdb7)=>this['addComment'](_0xa7cdb7)),this['listenTo'](_0x5083b0,'updateComment',(_0x4af1b7,_0x18df38,_0x5f4daa)=>this['updateComment'](_0x18df38,_0x5f4daa)),this['listenTo'](_0x5083b0,'removeComment',(_0x57da1b,_0x4b6297)=>this['removeComment'](_0x4b6297));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x8c1148){this['model']['addComment']({'content':_0x8c1148,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x957777,_0x40117d){this['model']['getComment'](_0x957777)['update']({'content':_0x40117d});}['removeComment'](_0x148c7b){this['model']['getComment'](_0x148c7b)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function getTranslation$f(_0x10a43c,_0x38529c,_0x2f95b6){const t=_0x10a43c['t'];switch(_0x38529c){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'},_0x2f95b6);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x2f95b6);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'},_0x2f95b6);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'},_0x2f95b6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2f95b6);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'},_0x2f95b6);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'},_0x2f95b6);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'},_0x2f95b6);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'';}}class CommentEditorUIView extends ckeditor5['EditorUIView']{['main'];['editable'];constructor(_0x1716c1,_0x57a492){super(_0x1716c1);const _0x17c383=ckeditor5['uid']();this['main']=this['createCollection'](),this['editable']=new ckeditor5['InlineEditableUIView'](_0x1716c1,_0x57a492,void 0x0,{'label':()=>getTranslation$f(_0x1716c1,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x1716c1['uiLanguageDirection'],'lang':_0x1716c1['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x17c383},'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']();}}class CommentEditorUI extends ckeditor5['EditorUI']{['view'];constructor(_0x2f8715){super(_0x2f8715),this['view']=new CommentEditorUIView(_0x2f8715['locale'],_0x2f8715['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x6123fe=this['editor']['editing']['view'],_0x2b30fc=this['view']['editable'],_0x528747=_0x6123fe['document']['getRoot']();_0x2b30fc['name']=_0x528747['rootName'],this['view']['render']();const _0x167f28=_0x2b30fc['element'];this['setEditableElement'](_0x2b30fc['name'],_0x167f28),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x6123fe['attachDomRoot'](_0x167f28),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const defaultPlugins=[ckeditor5['Clipboard'],ckeditor5['Enter'],ckeditor5['ShiftEnter'],ckeditor5['SelectAll'],ckeditor5['Typing'],ckeditor5['Undo'],ckeditor5['Paragraph']];class CommentEditor extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](ckeditor5['Editor']){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>defaultPlugins)());constructor(_0xd9b23a={}){function _0x56da77(_0x19886d){return _0x19886d['map'](_0x4c5220=>String['fromCharCode'](_0x4c5220))['join']('');}(_0xd9b23a=Object['assign']({},_0xd9b23a))['plugins']||(_0xd9b23a['plugins']=CommentEditor['defaultPlugins']),super(_0xd9b23a),this['ui']=new CommentEditorUI(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot'](),this[_0x56da77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56da77([0x76,0x69,0x65,0x77])][_0x56da77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56da77([0x61,0x75,0x74,0x6f]),this[_0x56da77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x56da77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56da77([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x56da77([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x56da77([0x6f,0x6b])});}['create'](){const _0xb69da1=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0xb69da1))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0xd0c133=>{const _0x4592ed=this['model']['document']['getRoot'](),_0x5cfd57=_0x4592ed&&_0x4592ed['getChild'](_0x4592ed['childCount']-0x1);_0xd0c133['setSelection'](_0x5cfd57,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x5b8cb5=this['editing']['view'],_0x4e1ae2=_0x5b8cb5['document']['getRoot'](),_0xcd4290=_0x4e1ae2['getChild'](0x0);_0x4e1ae2['childCount']>0x1||!_0xcd4290||'p'!=_0xcd4290['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(ckeditor5['disableViewPlaceholder'](_0x5b8cb5,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0xcd4290['placeholder']=this['placeholder']),ckeditor5['enableViewPlaceholder']({'view':_0x5b8cb5,'element':_0xcd4290,'keepOnFocus':!0x0}),this['placeholderElement']=_0xcd4290);}}class CommentInputView extends ckeditor5['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x1a2211,_0x2269e1={}){super(_0x1a2211),this['editor']=null,this['_editorConfig']=_0x2269e1,this['set']('value',_0x2269e1['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',getTranslation$f(_0x1a2211,'Reply...')),this['set']('submitLabel',getTranslation$f(_0x1a2211,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'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',(_0x2fbc9d,_0x50c49d)=>{this['cancelButtonView']['fire']('execute'),_0x50c49d();}),this['keystrokes']['set']('Ctrl+Enter',(_0x599501,_0x48e0b5)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x48e0b5());}),this['on']('submit',(_0x1889e6,_0xe19f58)=>{_0xe19f58['length']>0xfde8?(alert(getTranslation$f(_0x1a2211,'TOO_LONG_COMMENT_ALERT',[_0xe19f58['length'],0xfde8])),_0x1889e6['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new CommentEditor(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x3e0acb=this['editor'];this['element']['insertBefore'](_0x3e0acb['ui']['element'],this['element']['firstChild']),_0x3e0acb['model']['document']['on']('change',()=>this['value']=_0x3e0acb['getData']()),_0x3e0acb['bind']('placeholder')['to'](this),this['focusables']['add'](_0x3e0acb['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x2bc4a5){-0x1===_0x2bc4a5?(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:_0xb3938e}=this,_0x51581f=new ckeditor5['ButtonView'](_0xb3938e);return _0x51581f['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x51581f['withText']=!0x0,_0x51581f['bind']('label')['to'](this,'submitLabel'),_0x51581f['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x51581f['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x2dc89a,_0x4fb053)=>!_0x4fb053&&!!_0x2dc89a['trim']()),_0x51581f;}['_createCancelButton'](){const {locale:_0x492106}=this,_0x3e9a7c=new ckeditor5['ButtonView'](_0x492106);return _0x3e9a7c['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x3e9a7c['label']=getTranslation$f(_0x492106,'Cancel'),_0x3e9a7c['withText']=!0x0,_0x3e9a7c['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x3e9a7c;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x4b232c=>{this['focusTracker']['add'](_0x4b232c['element']);}),this['focusables']['on']('change',(_0x4ef57e,_0x3bb081)=>{for(const _0x411579 of Array['from'](_0x3bb081['added'])['reverse']())this['focusTracker']['add'](_0x411579['element']);});}}class CommentThreadInputView extends ckeditor5['View']{constructor(_0x373ef7,_0x55e95c,_0xc7e97f){super(_0x373ef7),this['commentInputView']=new CommentInputView(_0x373ef7,_0xc7e97f),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x39018a,_0x38bd06)=>_0x39018a||!!_0x38bd06),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 _0x515305(_0x373ef7,_0x55e95c),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'](_0x20cc11){this['commentInputView']['focus'](_0x20cc11);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0xbe4e26,_0xd3b5de)=>{const {submitButtonView:_0x1dce9d,cancelButtonView:_0x9574b2,editor:_0x109098}=this['commentInputView'];[_0x1dce9d['element'],_0x9574b2['element'],_0x109098?_0x109098['editing']['view']['getDomRoot']():null]['filter'](_0x2121d8=>_0x2121d8)['some'](_0x5df31d=>_0x5df31d['contains'](_0xd3b5de['target']))||(this['focus'](),_0xd3b5de['preventDefault']());});}}class CollapsedCommentsView extends ckeditor5['View']{constructor(_0x4c1015){super(_0x4c1015);const _0x5bcca0=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x5bcca0['to']('count',_0xfa01b1=>getTranslation$f(_0x4c1015,'NUMBER_OF_COMMENTS',_0xfa01b1))}]});}}class CommentsListView extends ckeditor5['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x507c96,_0x63c776,_0x4b717b){super(_0x507c96);const _0x44fde1=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x63c776['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x63c776,this['_config']=_0x4b717b,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x9e5756=>this['commentViews']['map'](_0x7a2177=>_0x7a2177['element'])['includes'](_0x9e5756['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x507c96),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x49b970=>_0x49b970-this['_config']['maxCommentsWhenCollapsed']);for(const _0x102a5f of _0x63c776['comments'])this['_handleNewCommentModel'](_0x102a5f);this['_handleInfoComment'](),this['listenTo'](_0x63c776['comments'],'add',(_0x44245e,_0x10cdd5)=>{const _0x58c30e=this['_calculatePosition'](_0x10cdd5);this['length']++,this['_handleNewCommentModel'](_0x10cdd5,_0x58c30e),this['refreshVisibleViews']();}),this['listenTo'](_0x63c776['comments'],'remove',(_0x16b413,_0x5ced4c)=>{this['length']--,this['_handleRemoveCommentModel'](_0x5ced4c),this['refreshVisibleViews']();}),this['listenTo'](_0x63c776,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x63c776,'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',_0x44fde1['if']('length','ck-hidden',_0x3b9575=>!_0x3b9575)],'aria-label':getTranslation$f(_0x507c96,'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'](_0x2b387a){-0x1===_0x2b387a?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x2b1493 of this['commentViews'])_0x2b1493['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x3fdfd6,_0x1d139c){const _0x2045e2=new this['_config']['CommentView'](this['locale'],_0x3fdfd6,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x2045e2['viewUid']=_0x3fdfd6['id'],_0x2045e2['delegate']('removeComment')['to'](this),_0x2045e2['delegate']('updateComment')['to'](this),_0x2045e2['delegate']('resolveCommentThread')['to'](this),_0x2045e2['delegate']('editorReady')['to'](this),_0x2045e2['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x2045e2,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x2045e2,_0x1d139c);}['_calculatePosition'](_0x572c27){const _0x4478d2=this['_model']['_findOptimalIndex'](_0x572c27);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x572c27['authoredAt']?_0x4478d2-0x1:_0x4478d2:_0x4478d2-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x2d5bf6={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':getTranslation$f(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x2d5bf6,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x2d5bf6));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x397601){const _0x5b698e=this['commentViews']['remove'](_0x397601['id']);this['stopListening'](_0x5b698e),_0x5b698e['isEditMode']&&this['_updateHasDirtyComment'](),_0x5b698e['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x342ca5=>_0x342ca5['isEditMode']);}['_rearrangeCollapse'](){const _0x2ab2e3=cloneCollection(this['commentViews']),_0x2d19ca=this['_collapsedCommentsView']['count'];for(let _0x1e1fe2=0x1;_0x1e1fe2<=_0x2d19ca;_0x1e1fe2++)_0x2ab2e3['remove'](0x1);for(const _0x352e93 of _0x2ab2e3)_0x352e93['collapse']();_0x2d19ca>0x0&&_0x2ab2e3['add'](this['_collapsedCommentsView'],0x1),applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](_0x2ab2e3)),this['visibleViews'],_0x2ab2e3);}['_rearrangeExpand'](){applyDiffToCollection(ckeditor5['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x42c2af of this['visibleViews'])_0x42c2af['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x4bb6a1=>{this['focusTracker']['add'](_0x4bb6a1['element']),this['keystrokes']['listenTo'](_0x4bb6a1['element']);}),this['commentViews']['on']('change',(_0x2ddda7,_0x26a7f1)=>{for(const _0x476c5f of _0x26a7f1['removed'])this['focusTracker']['remove'](_0x476c5f['element']),this['keystrokes']['stopListening'](_0x476c5f['element']);for(const _0x136cc3 of Array['from'](_0x26a7f1['added'])['reverse']())this['focusTracker']['add'](_0x136cc3['element']),this['keystrokes']['listenTo'](_0x136cc3['element']);});}}function cloneCollection(_0x282c48){const _0x1d8856=new ckeditor5['Collection']();for(const _0x5572a7 of _0x282c48)_0x1d8856['add'](_0x5572a7);return _0x1d8856;}function applyDiffToCollection(_0x17353a,_0x4601fa,_0x14219e){let _0x37359d=0x0;for(const _0x203533 of _0x17353a)switch(_0x203533){case'insert':_0x4601fa['add'](_0x14219e['get'](_0x37359d),_0x37359d),_0x37359d++;break;case'delete':_0x4601fa['remove'](_0x37359d);break;case'equal':_0x37359d++;}}class CommentThreadHeaderContextView extends ckeditor5['View']{constructor(_0xd2097e){super(_0xd2097e);const _0x3be63f=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x3be63f['to']('contextValue',_0x1c8edf=>getTranslation$f(_0xd2097e,'THREAD_CONTEXT_LABEL',_0x1c8edf)),'tabindex':-0x1},'children':[{'text':_0x3be63f['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}const _0x512812=0x96;class CommentThreadHeaderView extends ckeditor5['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x4728b7,_0x3138a0){super(_0x4728b7);const _0x5a2d7a=this['bindTemplate'];this['_model']=_0x3138a0,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x3322e3=>!!_0x3322e3),this['bind']('contextValue')['to'](this['_model'],'context',_0x3d77ca=>_0x3d77ca&&_0x3d77ca['value']?this['_trimContextValue'](_0x3d77ca['value']):getTranslation$f(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',_0x5a2d7a['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 _0x4b7f4b=new ckeditor5['ButtonView'](this['locale']);return _0x4b7f4b['label']=getTranslation$f(this['locale'],'Reopen'),_0x4b7f4b['tooltip']=getTranslation$f(this['locale'],'Reopen'),_0x4b7f4b['icon']=ckeditor5['IconUndo'],_0x4b7f4b['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x3d2c6f=>!_0x3d2c6f),_0x4b7f4b['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x24214a,_0x2da705)=>_0x24214a&&_0x2da705),_0x4b7f4b['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x4b7f4b;}['_trimContextValue'](_0x421979){const _0x5ee2b4=_0x512812-0x3;if(_0x421979['length']<_0x512812)return _0x421979;const _0x35586a=_0x421979['lastIndexOf']('\x20',_0x5ee2b4);return _0x421979['substring'](0x0,_0x35586a>-0x1?_0x35586a:_0x5ee2b4)+'...';}['_attachContextActions'](){const _0x40fa14=this['element']['querySelector']('.ck-context'),_0x491bdb=_0x40fa14['querySelector']('.ck-context__value');this['listenTo'](_0x40fa14,'mouseenter',()=>{_0x491bdb['offsetWidth']<_0x491bdb['scrollWidth']&&_0x40fa14['classList']['add']('overlay');}),this['listenTo'](_0x40fa14,'mouseleave',()=>{_0x40fa14['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x467b37 of this['focusables'])this['focusTracker']['add'](_0x467b37['element']),this['keystrokes']['listenTo'](_0x467b37['element']);}['_createContextView'](){const _0x5103a2=new CommentThreadHeaderContextView(this['locale']);return _0x5103a2['bind']('contextValue')['to'](this),_0x5103a2;}}class BaseCommentThreadView extends ckeditor5['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x3618a3,_0x1ad8f5,_0x1543de,_0x5dab0a){super(_0x3618a3),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x1ad8f5,this['_localUser']=_0x1543de,this['_config']=_0x5dab0a,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x3618a3,_0x1ad8f5),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x3618a3,getTranslation$f(_0x3618a3,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x3618a3,_0x1ad8f5,Object['assign']({'CommentView':this['_config']['CommentView']},_0x5dab0a)),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',(_0x263266,_0x536758)=>_0x263266||!!_0x536758),this['bind']('isUnlinked')['to'](_0x1ad8f5,'unlinkedAt',_0x50c85e=>!!_0x50c85e),this['bind']('ariaLabel')['to'](this,'length',_0x1afce7=>{const _0x3372e5=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return getTranslation$f(this['locale'],'COMMENT_THREAD_LABEL',[_0x1afce7,_0x3372e5]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x3893d2=>_0x3893d2['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),setupThreadKeyboardNavigation(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x1cebe6=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x2232cf=_0x1cebe6['commentInputView'];return _0x1cebe6['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x2232cf,'value',(_0x14778e,_0x379f40,_0x12c36d,_0x9085ed,_0x221e46)=>!!_0x221e46||!!_0x9085ed&&_0x12c36d&&!_0x379f40||_0x14778e&&_0x12c36d&&!_0x379f40),_0x2232cf['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x3887a0,_0x208cdf,_0x5bd41e)=>{let _0x8ab7c3;return _0x8ab7c3=_0x5bd41e&&_0x208cdf?'Reply\x20to\x20reopen\x20discussion...':_0x3887a0?'Reply...':'Write\x20a\x20comment...',getTranslation$f(this['locale'],_0x8ab7c3);}),_0x2232cf['bind']('submitLabel')['to'](this,'length',_0x822345=>getTranslation$f(this['locale'],_0x822345?'Reply':'Comment')),_0x2232cf['on']('submit',(_0x6b262a,_0xff5dc3)=>{this['fire']('addComment',_0xff5dc3),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x2232cf['on']('cancel',()=>{this['focus']();}),_0x2232cf['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x2232cf['on']('cancel',_0x2d5ff7=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x2d5ff7['stop']());}),this['on']('change:isActive',(_0x142c40,_0x10fd01,_0x41ea8a)=>{_0x41ea8a||this['length']||_0x2232cf['value']||this['fire']('removeCommentThread');}),_0x1cebe6;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x3ef023(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x17ccfa,_0x321eed,_0x8f0fa8,_0x56dbb7){super(_0x17ccfa,_0x321eed,_0x8f0fa8,_0x56dbb7),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x17ccfa,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x2f58d2,_0x6abe69,_0x4dde56)=>{_0x4dde56||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0xe8033b,_0x2a46ea,_0x37d3ac)=>{_0x37d3ac&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x423f4f=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x423f4f['if']('isActive','ck-thread--active'),_0x423f4f['if']('isUnlinked','ck-thread--unlinked'),_0x423f4f['to']('actionIndicator',_0x2b8e4a=>_0x2b8e4a?'ck-thread--'+_0x2b8e4a:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x423f4f['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 _0xc1ed8e of this['commentsListView']['commentViews'])_0xc1ed8e['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x33c9e9}=this,_0x30caa3=this['commentsListView']['commentViews']['get'](0x0);_0x30caa3===this['_boundFirstCommentView']||_0x30caa3['isSystemComment']||(this['_boundFirstCommentView']=_0x30caa3,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x30caa3,'actionIndicator',_0x5e4cb0=>'remove'===_0x5e4cb0?'remove':null),_0x30caa3['placeholder']=getTranslation$f(_0x33c9e9,'Write\x20a\x20comment...'),_0x30caa3['removeButton']['on']('execute',_0x486938=>{_0x486938['stop'](),this['showConfirm'](getTranslation$f(_0x33c9e9,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x30caa3['focus']();}),_0x30caa3['actionBar']['add'](this['resolveButton'],0x0),_0x30caa3['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0xeb2ad4=new LateFocusButtonView(this['locale']);return _0xeb2ad4['label']=getTranslation$f(this['locale'],'Resolve'),_0xeb2ad4['tooltip']=getTranslation$f(this['locale'],'Resolve'),_0xeb2ad4['icon']=ckeditor5['IconCheck'],_0xeb2ad4['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0xeb2ad4['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x33066c=>!_0x33066c),_0xeb2ad4['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x4bd3be,_0xbfe9)=>_0x4bd3be&&!_0xbfe9),_0xeb2ad4['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0xeb2ad4;}['_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']));}}class CommentContentView extends ckeditor5['View']{constructor(_0x385709){super(_0x385709),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x110e78,_0x193395,_0xe4a44d)=>{this['element']['innerHTML']=_0xe4a44d;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends ckeditor5['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x10cd59,_0x175e77,_0xee4070){super(_0x10cd59),this['_model']=_0x175e77,this['_config']=_0xee4070,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x175e77,'content',_0x175e77,'authoredAt',(_0x37cab7,_0xe9a79e)=>getTranslation$f(_0x10cd59,'COMMENT_ARIA_LABEL',[_0x175e77['author']['name'],_0xee4070['formatDateTime'](_0xe9a79e),new DOMParser()['parseFromString'](_0x37cab7,'text/html')['body']['textContent'],_0x175e77['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x10cd59,getTranslation$f(_0x10cd59,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new ckeditor5['ViewCollection'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x42832f=>_0x42832f['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']?getTranslation$f(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):getTranslation$f(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$f(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$f(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x26cda0=new CommentContentView(this['locale']);return _0x26cda0['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x5dc832,_0x1e171e)=>_0x1e171e?trimHtml(_0x5dc832,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x5dc832),_0x26cda0;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x40c978=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x40c978['value']=this['_model']['content'],_0x40c978['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x40c978['submitLabel']=getTranslation$f(this['locale'],'Save'),_0x40c978['on']('submit',(_0x288eb4,_0x1c54b2)=>{this['fire']('updateComment',this['_model']['id'],_0x1c54b2),this['switchToDisplayMode'](),this['focus']();}),_0x40c978['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x40c978['once']('editorReady',()=>{_0x40c978['focus']();}),_0x40c978['createEditor'](),_0x40c978['delegate']('editorReady')['to'](this),_0x40c978['delegate']('editorDestroyed')['to'](this),_0x40c978;}['_setupKeyboardNavigation'](){const _0x4bbe21=this['element'];this['keystrokes']['listenTo'](_0x4bbe21);for(const _0x1fcecc of this['focusables'])this['focusTracker']['add'](_0x1fcecc['element']),this['keystrokes']['listenTo'](_0x1fcecc['element']);this['focusables']['on']('change',(_0x195341,_0x3ce224)=>{for(const _0x1e94b9 of _0x3ce224['removed'])this['focusTracker']['remove'](_0x1e94b9['element']),this['keystrokes']['stopListening'](_0x1e94b9['element']);for(const _0x209c2d of _0x3ce224['added'])this['focusTracker']['add'](_0x209c2d['element']),this['keystrokes']['listenTo'](_0x209c2d['element']);}),this['keystrokes']['set']('enter',(_0x5aeef4,_0x487a74)=>{_0x4bbe21===_0x5aeef4['target']&&(this['focusCycler']['focusFirst'](),_0x487a74());}),this['keystrokes']['set']('esc',(_0x3e0331,_0x59d713)=>{_0x4bbe21!==_0x3e0331['target']&&(this['focus'](),_0x59d713());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x3ef023(BaseCommentView){['actionBar'];['userView'];constructor(_0x3dfae5,_0x3ee138,_0x3e9a23){super(_0x3dfae5,_0x3ee138,_0x3e9a23),this['set']('actionIndicator',null),this['set']('placeholder',getTranslation$f(_0x3dfae5,'Reply...')),this['bind']('authoredAt')['to'](_0x3ee138),this['bind']('resolvedAt')['to'](_0x3ee138),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 _0x515305(_0x3dfae5,_0x3ee138['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x3ee138,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x528d82=this['bindTemplate'],_0xf92168=[{'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':_0x528d82['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x528d82['to']('authoredAt',_0x296938=>this['_config']['formatDateTime'](_0x296938))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x528d82['if']('isEditMode','ck-comment__actions--hidden'),_0x528d82['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']&&_0xf92168['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x528d82['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x528d82['if']('isEditMode','ck-comment--edit'),_0x528d82['if']('isSystemComment','ck-comment--info'),_0x528d82['to']('actionIndicator',_0x58370c=>_0x58370c?'ck-comment--'+_0x58370c:'')],'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':_0xf92168}]}]};}['_createEditButton'](){const _0x5ca012=new ckeditor5['ButtonView'](this['locale']);return _0x5ca012['label']=getTranslation$f(this['locale'],'Edit'),_0x5ca012['icon']=ckeditor5['IconPencil'],_0x5ca012['withText']=!0x0,_0x5ca012['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x5ca012['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x4985f6=>!_0x4985f6),_0x5ca012['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x5ca012['on']('execute',()=>this['switchToEditMode']()),_0x5ca012;}['_createRemoveButton'](){const _0x5eb45d=new ckeditor5['ButtonView'](this['locale']);return _0x5eb45d['label']=getTranslation$f(this['locale'],'Remove'),_0x5eb45d['icon']=ckeditor5['IconRemoveComment'],_0x5eb45d['withText']=!0x0,_0x5eb45d['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x5eb45d['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x770299=>!_0x770299),_0x5eb45d['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x5eb45d['on']('execute',()=>{this['showConfirm'](getTranslation$f(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x5eb45d;}['_createDropdown'](){const _0x48be32=ckeditor5['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x496e92=_0x48be32['panelView']['children'],_0x4400a9=new ckeditor5['ListView'](this['locale']),_0x8df8e5=_0x48be32['bindTemplate'];ckeditor5['focusChildOnDropdownOpen'](_0x48be32,()=>this['items']['find'](_0x2329cf=>_0x2329cf['isVisible'])),_0x48be32['extendTemplate']({'attributes':{'class':[_0x8df8e5['if']('isVisible','ck-hidden',_0x3e2024=>!_0x3e2024)]}});const _0x25522c=(_0x2d2b91,_0x282362=-0x1)=>{const _0x3e3957=new ckeditor5['ListItemView'](this['locale']);_0x3e3957['children']['add'](_0x2d2b91);const _0x356114=_0x282362>-0x1?_0x282362:_0x4400a9['items']['length'];_0x4400a9['items']['add'](_0x3e3957,_0x356114);const _0x1c1e36=Array['from'](this['items']);_0x48be32['unbind']('isEnabled','isVisible'),_0x48be32['bind']('isEnabled')['toMany'](_0x1c1e36,'isEnabled',(..._0x3b23bb)=>_0x3b23bb['some'](_0x311d91=>_0x311d91)),_0x48be32['bind']('isVisible')['toMany'](_0x1c1e36,'isVisible',(..._0x2aedc2)=>_0x2aedc2['some'](_0x421bfb=>_0x421bfb));};_0x48be32['panelPosition']='sw',_0x48be32['buttonView']['set']({'label':getTranslation$f(this['locale'],'Show\x20more\x20items'),'icon':ckeditor5['IconThreeVerticalDots']});for(const _0x1e36f5 of this['items'])_0x25522c(_0x1e36f5);return _0x496e92['add'](_0x4400a9),_0x48be32['listenTo'](this['items'],'add',(_0x5b8d1d,_0x26b812,_0x242692)=>{_0x25522c(_0x26b812,_0x242692);}),_0x48be32['listenTo'](this['items'],'remove',(_0x535be7,_0x4fe843,_0x8d77cd)=>{_0x4400a9['items']['remove'](_0x8d77cd);}),_0x48be32;}['_attachActions'](_0x331b45,_0xa2066b){const _0x13feb9=_0x331b45&&_0x331b45['element'];_0x13feb9&&(this['listenTo'](_0x13feb9,'mouseenter',()=>this['actionIndicator']=_0xa2066b),this['listenTo'](_0x13feb9,'focus',()=>this['actionIndicator']=_0xa2066b),this['listenTo'](_0x13feb9,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x13feb9,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x32f672=super['_createCommentInputView']();return _0x32f672['bind']('placeholder')['to'](this),_0x32f672;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function createMutationObserver(_0x77c21f){const _0x255bb3=throttle$1(_0x77c21f,0x1e),_0x302972=new MutationObserver(_0x3b390a=>{for(const _0x22225d of _0x3b390a)('attributes'==_0x22225d['type']&&'class'==_0x22225d['attributeName']||'childList'==_0x22225d['type']||'characterData'==_0x22225d['type'])&&_0x255bb3();});return{'attach'(_0x2f44a7){_0x302972['observe'](_0x2f44a7,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x302972['disconnect'](),_0x255bb3['cancel']();}};}class AnnotationView extends ckeditor5['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0xce993f,_0x43055a){super(_0xce993f),this['id']=ckeditor5['uid'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x45ebf4,_0x2f3844)=>this['fire']('Esc',_0x2f3844)),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']=createMutationObserver(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x43055a),this['mainView']=_0x43055a;const _0x3eb421=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x3eb421['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 _0x1be1c8=this['element']['clientHeight'];_0x1be1c8&&(this['height']=_0x1be1c8);}}let Annotation$1=class _0x4b7146 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x26dca0,target:_0x3803bd,type:_0x2ffafc,isVisible:_0xa77748=!0x0}){super(),this['view']=_0x26dca0,this['view']['element']||this['view']['render'](),this['_type']=_0x2ffafc,this['_target']=_0x3803bd,_0x4b7146['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new ckeditor5['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x2c060d,_0x5746c3)=>{this['view']['focusTracker']['add'](_0x5746c3);}),this['focusableElements']['on']('remove',(_0x2e3d70,_0x4277f3)=>{this['view']['focusTracker']['remove'](_0x4277f3);}),this['set']('isVisible',_0xa77748);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x48c6b4=this['_getNormalizedTarget']();return _0x4b7146['_assertCorrectTarget'](_0x48c6b4),_0x48c6b4;}get['targetRect'](){const _0x405b7b=this['target'];if(null===_0x405b7b)return null;if(_0x405b7b instanceof ckeditor5['Rect'])return _0x405b7b;const _0x522246=_0x405b7b['filter'](_0x41707f=>isDomElementVisible(_0x41707f));return 0x0===_0x522246['length']?null:new ckeditor5['Rect'](_0x522246[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x3b3faa){this['view']['isActive']=_0x3b3faa,this['view']['mainView']['isActive']=_0x3b3faa;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0xf6dbf0){if(!(null===_0xf6dbf0||_0xf6dbf0 instanceof ckeditor5['Rect']||Array['isArray'](_0xf6dbf0)&&_0xf6dbf0['every'](_0x499bbf=>isElement$1(_0x499bbf))))throw new ckeditor5['CKEditorError']('annotation-invalid-target',null,{'target':_0xf6dbf0});}['_getNormalizedTarget'](){const _0x571f58='function'==typeof this['_target']?this['_target']():this['_target'];return isElement$1(_0x571f58)?[_0x571f58]:_0x571f58;}};function isElement$1(_0xb18c80){return null!==_0xb18c80&&'object'==typeof _0xb18c80&&'nodeType'in _0xb18c80&&0x1===_0xb18c80['nodeType'];}function isDomElementVisible(_0x1e21c2){if(_0x1e21c2['offsetParent'])return!0x0;return!!_0x1e21c2['getClientRects']()['item'](0x0);}class AnnotationCollection extends ckeditor5['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x560366=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new ckeditor5['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x479a92,_0x1be7b0,_0x4aa8cf)=>{_0x4aa8cf||this['fire']('blur');});for(const _0x5bfc1c of _0x560366)this['add'](_0x5bfc1c);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x21e761){if(this['has'](_0x21e761))throw new ckeditor5['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x21e761['innerView'],_0x21e761),this['_viewToAnnotation']['set'](_0x21e761['view'],_0x21e761);for(const _0x2c36bb of _0x21e761['focusableElements'])this['_focusTracker']['add'](_0x2c36bb);this['listenTo'](_0x21e761['focusableElements'],'add',(_0x5c0fae,_0xf9c8b1)=>{this['_focusTracker']['add'](_0xf9c8b1);}),this['listenTo'](_0x21e761['focusableElements'],'remove',(_0x13c642,_0xff25df)=>{this['_focusTracker']['remove'](_0xff25df);}),this['listenTo'](_0x21e761['view']['focusTracker'],'change:isFocused',(_0x253920,_0x10128d,_0x12f699)=>{_0x12f699&&this['fire']('focus',_0x21e761);}),_0x21e761['updateTargetRect']();const _0x217245=this['_getOrderInContent'](_0x21e761['view']['targetRect']);return super['add'](_0x21e761,_0x217245);}['remove'](_0x46d9b0){if(!this['has'](_0x46d9b0))throw new ckeditor5['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x46d9b0['view']['focusTracker']),this['stopListening'](_0x46d9b0['focusableElements']);for(const _0x40c524 of _0x46d9b0['focusableElements'])this['_focusTracker']['remove'](_0x40c524);return this['_viewToAnnotation']['delete'](_0x46d9b0['view']),this['_innerViewToAnnotation']['delete'](_0x46d9b0['innerView']),super['remove'](_0x46d9b0);}['getByInnerView'](_0x43d9ad){return this['_innerViewToAnnotation']['get'](_0x43d9ad);}['getByView'](_0x906af){return this['_viewToAnnotation']['get'](_0x906af);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x3e0bff of this)_0x3e0bff['updateTargetRect']();this['_sort']();}['_sort'](){const _0x287b26=Array['from'](this)['sort']((_0x508aaf,_0x200bd0)=>elementOffsetComparator(_0x508aaf['view']['targetRect'],_0x200bd0['view']['targetRect']));for(let _0x37665a=_0x287b26['length']-0x1;_0x37665a>0x0;_0x37665a--){const _0x166a9c=_0x287b26[_0x37665a];_0x37665a!==this['getIndex'](_0x166a9c)&&(this['remove'](_0x166a9c),this['add'](_0x166a9c));}}['_getOrderInContent'](_0x34efc2){let _0x59ec3b=0x0;if(!_0x34efc2)return this['length'];for(const _0x59f050 of this){const _0x13e04b=_0x59f050['view']['targetRect'];if(_0x13e04b){if(elementOffsetComparator(_0x34efc2,_0x13e04b)<0x0)return _0x59ec3b;_0x59ec3b++;}}return _0x59ec3b;}}function bindAnnotationCollections({source:_0x297757,target:_0x2bb6ab,filter:_0x598bca}){for(const _0x20d1f1 of _0x297757)_0x598bca(_0x20d1f1)&&_0x2bb6ab['add'](_0x20d1f1);_0x2bb6ab['listenTo'](_0x297757,'add',(_0x10049f,_0x400710)=>{_0x598bca(_0x400710)&&_0x2bb6ab['add'](_0x400710);}),_0x2bb6ab['listenTo'](_0x297757,'remove',(_0x160fa4,_0xecd7)=>{_0x2bb6ab['has'](_0xecd7)&&_0x2bb6ab['remove'](_0xecd7);});}function elementOffsetComparator(_0x2d21f3,_0x16aa83){if(null===_0x2d21f3&&null===_0x16aa83)return 0x0;if(null===_0x2d21f3)return-0x1;if(null===_0x16aa83)return 0x1;const _0x42ecbb=_0x2d21f3['top']-_0x16aa83['top'];return 0x0==_0x42ecbb?_0x2d21f3['left']-_0x16aa83['left']:_0x42ecbb;}class Annotations extends ckeditor5['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x178251){if(super(_0x178251),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x178251 instanceof ckeditor5['Editor']){const _0x5d2700=_0x178251['locale'];_0x178251['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':getTranslation$f(_0x5d2700,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':getTranslation$f(_0x5d2700,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':getTranslation$f(_0x5d2700,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':getTranslation$f(_0x5d2700,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':getTranslation$f(_0x5d2700,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':getTranslation$f(_0x5d2700,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':getTranslation$f(_0x5d2700,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x1a9900){this['collection']['add'](_0x1a9900);}['remove'](_0xc796cb){this['collection']['remove'](_0xc796cb),_0xc796cb['destroy']();}['refreshVisibility'](){for(const _0x228b34 of this['collection'])_0x228b34['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x133d46){return this['collection']['getByInnerView'](_0x133d46);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x1a7a04 of this['collection'])_0x1a7a04['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x137486){this['fire']('_activateAnnotation',_0x137486);}['createAnnotation'](_0x264bdb){return new Annotation$1(_0x264bdb);}['createAnnotationView'](_0x9d928a,_0xb8831c){return new AnnotationView(_0x9d928a,_0xb8831c);}['_addActiveAnnotation'](_0x310acc){const _0x26e39c=new Set(this['activeAnnotations']);_0x26e39c['add'](_0x310acc),this['activeAnnotations']=_0x26e39c;}['_removeActiveAnnotation'](_0x142874){const _0x51e20d=new Set(this['activeAnnotations']);_0x51e20d['delete'](_0x142874),this['activeAnnotations']=_0x51e20d;}['_bindAnnotationsToVisibleAnnotations'](){const _0x6e9543=this['collection'],_0x5db0a8=this['_visibleAnnotations'];function _0x4caa9d(_0x2d8c88){const _0x1885ba=_0x2d8c88['source'];_0x1885ba['isVisible']&&!_0x5db0a8['has'](_0x1885ba)?_0x5db0a8['add'](_0x1885ba):!_0x1885ba['isVisible']&&_0x5db0a8['has'](_0x1885ba)&&_0x5db0a8['remove'](_0x1885ba),_0x1885ba['view']['focusTracker']['remove'](_0x1885ba['view']['element']),_0x1885ba['view']['focusTracker']['add'](_0x1885ba['view']['element']);}this['listenTo'](_0x6e9543,'add',(_0x554e3d,_0x22ce11)=>{_0x22ce11['isVisible']&&_0x5db0a8['add'](_0x22ce11),this['listenTo'](_0x22ce11,'change:isVisible',_0x4caa9d);}),this['listenTo'](_0x6e9543,'remove',(_0x3510fb,_0x3a6ec2)=>{_0x5db0a8['has'](_0x3a6ec2)&&_0x5db0a8['remove'](_0x3a6ec2),this['stopListening'](_0x3a6ec2,'change:isVisible',_0x4caa9d);});}['_setupEnterAnnotationKeystroke'](){const _0x395043=_0x23c944=>{_0x23c944['on']('ready',()=>{_0x23c944['keystrokes']['set'](_0x1b716d,(_0xc1cc98,_0x368707)=>{const _0xa87f67=ckeditor5['first'](this['activeAnnotations']['values']());_0xa87f67&&(_0xa87f67['view']['focus'](),_0x368707());});});};this['context']instanceof ckeditor5['Editor']?_0x395043(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x836c38,_0x4e40fd)=>{_0x395043(_0x4e40fd);});}['_setupEscapeAnnotationHandling'](){const _0x6ea74=_0x43c53d=>{const _0x567356=_0x43c53d['source'],_0xb15fb3=[];let _0x2ae9ba;if(Array['isArray'](_0x567356['target'])){_0x2ae9ba=_0x567356['target'][0x0],this['context']instanceof ckeditor5['Editor']?_0xb15fb3['push'](this['context']):this['context']['editors']&&_0xb15fb3['push'](...this['context']['editors']);for(const _0x48fb40 of _0xb15fb3)for(const _0x287f38 of _0x48fb40['editing']['view']['domRoots']['values']())if(_0x287f38['contains'](_0x2ae9ba))return void _0x48fb40['editing']['view']['focus']();_0x2ae9ba['focus']();}};this['listenTo'](this['collection'],'add',(_0x522a1c,_0x5d27f5)=>{this['listenTo'](_0x5d27f5,'escape',_0x6ea74,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x29f2a8,_0x35b8ca)=>{this['stopListening'](_0x35b8ca,'escape',_0x6ea74);});}}const _0x5bce74=Symbol('noChannel'),defaultPermissions={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends ckeditor5['ContextPlugin']{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,ckeditor5['PendingActions'],_0x59867e];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59a64f){super(_0x59a64f),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x5c124a=this['context']['config'];_0x5c124a['define']('comments.maxCommentsWhenCollapsed',0x2),_0x5c124a['define']('comments.maxThreadTotalWeight',0x1f4),_0x5c124a['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x5c124a['define']('comments.CommentThreadView',CommentThreadView),_0x5c124a['define']('comments.CommentView',CommentView),_0x5c124a['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x29325d=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x4e5374,_0x61c2c5)=>this['_addCommentThread'](_0x61c2c5)),this['on']('submitCommentThread',(_0x245fdb,_0x6570ea)=>this['_submitCommentThread'](_0x6570ea)),this['on']('resolveCommentThread',(_0x1a4d28,_0x30b9ed)=>this['_resolveCommentThread'](_0x30b9ed)),this['on']('resolveCommentThread',(_0x6e2533,_0x105fb5)=>this['_updateActiveAnnotation'](_0x105fb5),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x5df68c,_0x603bcb)=>this['_reopenCommentThread'](_0x603bcb)),this['on']('reopenCommentThread',(_0x451c61,_0x51735d)=>this['_updateActiveAnnotation'](_0x51735d),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x41e98e,_0xb87bf2)=>this['_removeCommentThread'](_0xb87bf2)),this['on']('updateCommentThread',(_0x593d6f,_0xf91928)=>this['_updateCommentThread'](_0xf91928)),this['on']('updateCommentThread',(_0x4cca70,_0x26a336)=>this['_updateActiveAnnotation'](_0x26a336),{'priority':'lowest'}),this['on']('addComment',(_0x45d3c0,_0xc31288)=>this['_addComment'](_0xc31288)),this['on']('updateComment',(_0x34909b,_0x13eed1)=>this['_updateComment'](_0x13eed1)),this['on']('removeComment',(_0x51184b,_0x49e52f)=>this['_removeComment'](_0x49e52f)),this['on']('addComment',(_0x4d523a,{threadId:_0x403db3,isFromAdapter:_0x38ad66})=>{if(_0x38ad66)return;const _0x155d39=this['getCommentThread'](_0x403db3),_0x4bf451=_0x155d39&&this['_threadToController']['get'](_0x155d39);_0x4bf451&&_0x4bf451['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x29325d,'change:activeAnnotations',(_0x3cad6e,_0x57f7cd,_0xb377fc)=>{const _0x7e31ba=Array['from'](_0xb377fc)['map'](_0x50ea5f=>this['_viewToController']['get'](_0x50ea5f['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x7e31ba?_0x7e31ba['model']:null;});}set['adapter'](_0x56761c){if(this['_adapter'])throw new ckeditor5['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x56761c;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x53d7f0=_0x5bce74,threadId:_0x2d2935=ckeditor5['uid'](),comments:_0x1a188c=[],unlinkedAt:_0x293b88=null,resolvedAt:_0x259a9a=null,resolvedBy:_0x4aa8c5=null,target:_0x1c585b=null,context:_0x3d02d0=null,attributes:_0x3fa6bf={},isResolvable:_0x4cbb72=!0x0,isSubmitted:_0x573cb8=!0x1,isFromAdapter:_0x8a3968=!0x1}={}){return this['fire'](toEventName('addCommentThread',_0x53d7f0),{'channelId':_0x53d7f0,'threadId':_0x2d2935,'comments':_0x1a188c,'unlinkedAt':_0x293b88,'resolvedAt':_0x259a9a,'resolvedBy':_0x4aa8c5,'target':_0x1c585b,'context':_0x3d02d0,'attributes':_0x3fa6bf,'isFromAdapter':_0x8a3968,'isResolvable':_0x4cbb72,'isSubmitted':_0x573cb8}),this['getCommentThread'](_0x2d2935);}['openNewCommentThread']({channelId:_0x2b8f5a=_0x5bce74,threadId:_0x36099b=ckeditor5['uid'](),target:_0x1f5e7d,context:_0x13d148=null,isResolvable:_0x12f0d4=!0x0}){if(this['_readOnlyChannels']['has'](_0x2b8f5a)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x1f5e7d)throw new ckeditor5['CKEditorError']('commentsrepository-missing-target');const _0x456e80=this['addCommentThread']({'channelId':_0x2b8f5a,'threadId':_0x36099b,'target':_0x1f5e7d,'context':_0x13d148,'isResolvable':_0x12f0d4});if(!_0x456e80)return null;const _0x1c003c=this['_threadToController']['get'](_0x456e80),_0x176a06=_0x1c003c['view']['commentThreadInputView']['commentInputView'],_0x19b2a1=this['context']['plugins']['get'](Annotations),_0x548f1d=_0x19b2a1['getByInnerView'](_0x1c003c['view']);return _0x19b2a1['activate'](_0x548f1d),_0x176a06['once']('editorReady',()=>_0x176a06['focus']()),_0x456e80;}['hasCommentThread'](_0xf9ec2e){if('string'!=typeof _0xf9ec2e)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0xf9ec2e);}['updateCommentThread']({channelId:_0x1d59a0=_0x5bce74,threadId:_0x42e336,context:_0x6f73d8,unlinkedAt:_0x356119,attributes:_0x4b285e,isFromAdapter:_0x260ffc=!0x1}){return this['fire'](toEventName('updateCommentThread',_0x1d59a0),{'channelId':_0x1d59a0,'threadId':_0x42e336,'context':_0x6f73d8,'unlinkedAt':_0x356119,'attributes':_0x4b285e,'isFromAdapter':_0x260ffc}),this['getCommentThread'](_0x42e336);}['getCommentThread'](_0x27945a){if('string'!=typeof _0x27945a)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x27945a);}['fetchCommentThread']({channelId:_0x3209d4,threadId:_0x395465}={}){const _0x3341ab=this['getCommentThread'](_0x395465);if(_0x3341ab)return Promise['resolve'](_0x3341ab);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new ckeditor5['CKEditorError']('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x3209d4,'threadId':_0x395465})['then'](_0x3389b8=>this['hasCommentThread'](_0x395465)?this['getCommentThread'](_0x395465):_0x3389b8?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x3209d4},_0x3389b8)):void 0x0)['catch'](_0x577cf1=>{throw console['error'](_0x577cf1),new ckeditor5['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x5bc69d,skipNotAttached:_0x21abc9=!0x1,skipEmpty:_0x1bf1c1=!0x1,toJSON:_0x255d5c=!0x1}={}){const _0x464365=[];for(const _0x390ee9 of this['_threads']['values']())_0x5bc69d&&_0x390ee9['channelId']!==_0x5bc69d||_0x21abc9&&!_0x390ee9['isAttached']||_0x1bf1c1&&0x0===_0x390ee9['length']||_0x464365['push'](_0x390ee9);return _0x255d5c?_0x464365['map'](_0x2ca340=>_0x2ca340['toJSON']()):_0x464365;}['getAnnotationForCommentThread'](_0x487692){const _0x25a180=this['_threadToController']['get'](_0x487692);if(!_0x25a180)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x25a180['view'])||null;}['getCommentThreadForAnnotation'](_0x20b7e3){const _0x49d1cc=this['_viewToController']['get'](_0x20b7e3['innerView']);return _0x49d1cc?_0x49d1cc['model']:null;}['setActiveCommentThread'](_0x30ab6d){const _0x236b55=this['context']['plugins']['get'](Annotations);if(!_0x30ab6d)return void(this['activeCommentThread']&&_0x236b55['deactivateAll']());const _0x255e8b=this['getCommentThread'](_0x30ab6d);if(!_0x255e8b)throw new ckeditor5['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x30ab6d});if(!this['_threadToController']['has'](_0x255e8b))throw new ckeditor5['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x30ab6d});const _0x2c2d22=_0x236b55['getByInnerView'](this['_threadToController']['get'](_0x255e8b)['view']);_0x236b55['activate'](_0x2c2d22);}['switchReadOnly'](_0x34eb2e,_0x27dff3){_0x34eb2e?this['_readOnlyChannels']['add'](_0x27dff3):this['_readOnlyChannels']['delete'](_0x27dff3),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x457755){return this['_readOnlyChannels']['has'](_0x457755)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x446a9d,_0x571a69){return new CommentThreadController(_0x446a9d,_0x571a69);}['setPermissions'](_0x530eaf,_0xc48fd8=_0x5bce74){this['_permissions']['set'](_0xc48fd8,_0x530eaf),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x17af86=_0x5bce74){return this['_permissions']['has'](_0x17af86)?this['_permissions']['get'](_0x17af86):defaultPermissions;}['_addCommentThread']({channelId:_0x338daa,threadId:_0x4e0467,comments:_0x3fac91,unlinkedAt:_0x2e9f1e,resolvedAt:_0x485988,resolvedBy:_0x3f68bd,target:_0x4c1c8e,context:_0x4fb28a,attributes:_0x40becc,isFromAdapter:_0x2e4865,isResolvable:_0x125f18,isSubmitted:_0x1effe7}){if('string'!=typeof _0x4e0467)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x4e0467});if(this['hasCommentThread'](_0x4e0467))throw new ckeditor5['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x4e0467});const _0x25e5d3=new CommentThread(this,{'channelId':_0x338daa,'id':_0x4e0467,'context':_0x4fb28a,'attributes':_0x40becc,'unlinkedAt':_0x2e9f1e,'resolvedAt':_0x485988,'resolvedBy':_0x3f68bd?this['context']['plugins']['get'](_0x59867e)['getUser'](_0x3f68bd):null,'isResolvable':_0x125f18,'isSubmitted':_0x1effe7||_0x2e4865});this['_threads']['set'](_0x4e0467,_0x25e5d3);for(const _0x2843db of _0x3fac91)_0x25e5d3['_add'](this['_createNewComment']({'threadId':_0x4e0467,..._0x2843db}));return _0x4c1c8e&&_0x25e5d3['attachTo'](_0x4c1c8e),_0x2e4865||!_0x25e5d3['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x338daa,'threadId':_0x4e0467});}['_submitCommentThread']({channelId:_0x28e26a,threadId:_0x156700}){if(!this['hasCommentThread'](_0x156700))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x5457dc=this['getCommentThread'](_0x156700);if(_0x5457dc['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x3aa6d3,comments:_0x17362f,resolvedAt:_0x47419b,resolvedBy:_0x3a2312,context:_0x531c91,attributes:_0x2c0413}=_0x5457dc,_0x128326=this['context']['plugins']['get']('PendingActions'),_0x1b549f=_0x128326['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x28e26a,'threadId':_0x3aa6d3,'comments':_0x17362f['map'](_0x2d3a8e=>_0x2d3a8e['toJSON']()),'resolvedAt':_0x47419b,'resolvedBy':_0x3a2312?_0x3a2312['id']:_0x3a2312,'context':_0x531c91,'attributes':_0x2c0413})['then'](({comments:_0x5cfe47})=>{_0x128326['remove'](_0x1b549f);for(const _0x2f6c6d of _0x5cfe47)this['_updateComment']({'channelId':_0x28e26a,'threadId':_0x156700,'commentId':_0x2f6c6d['commentId'],'createdAt':_0x2f6c6d['createdAt'],'isFromAdapter':!0x0});})['catch'](_0xd81098=>{throw console['error'](_0xd81098),new ckeditor5['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x43341d,target:_0x173d53}){const _0x50fd6f=this['getCommentThread'](_0x43341d);if(!_0x50fd6f)throw new ckeditor5['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x78801c=this['context']['plugins']['get']('PendingActions'),_0x505587=this['context']['plugins']['get'](Annotations),_0xefc847=this['_createCommentThreadView'](_0x50fd6f),_0x1d5098=new CommentThreadController(_0x50fd6f,_0xefc847);let _0x44f831=null;_0xefc847['on']('change:isDirty',(_0x14d015,_0x210655,_0x94c46b)=>{_0x94c46b?_0x44f831=_0x78801c['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x44f831&&(_0x78801c['remove'](_0x44f831),_0x44f831=null);}),this['_threadToController']['set'](_0x50fd6f,_0x1d5098),this['_viewToController']['set'](_0xefc847,_0x1d5098);const _0x253613=new AnnotationView(this['context']['locale'],_0xefc847);_0x253613['bind']('length')['to'](_0xefc847),_0x253613['bind']('isDirty')['to'](_0xefc847,'isDirty',_0xefc847,'length',(_0x431f59,_0x3f211a)=>_0x431f59||!_0x3f211a),_0x253613['bind']('isActive')['to'](_0xefc847),_0x253613['type']='comment';const _0x464624=new Annotation$1({'view':_0x253613,'target':_0x173d53,'type':'comment','isVisible':!_0x50fd6f['archivedAt']&&!!('function'==typeof _0x173d53?_0x173d53():_0x173d53)});return _0xefc847['on']('escape',()=>{_0x464624['fire']('escape');}),this['_bindAnnotationToEditors'](_0xefc847,_0x464624),_0x505587['add'](_0x464624),_0x464624;}['_bindAnnotationToEditors'](_0x1496cb,_0x42b022){this['listenTo'](_0x1496cb,'editorReady',(_0x324d47,_0xd2409a)=>{const _0x42f750=_0xd2409a['ui']['view']['body']['bodyCollectionContainer'];_0x42b022['focusableElements']['add'](_0x42f750),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['add'](_0x42f750);},{'priority':'highest'}),this['listenTo'](_0x1496cb,'editorDestroyed',(_0xdaf0a8,_0x53acd8)=>{const _0x3d8cdf=_0x53acd8['ui']['view']['body']['bodyCollectionContainer'];_0x42b022['focusableElements']['has'](_0x3d8cdf)&&_0x42b022['focusableElements']['remove'](_0x3d8cdf),this['context']instanceof ckeditor5['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x3d8cdf);});}['_unbindEditors'](_0x33d10d){this['stopListening'](_0x33d10d,'editorReady'),this['stopListening'](_0x33d10d,'editorDestroyed');}['_createCommentThreadView'](_0x42cd6e){const _0x6f507e=this['context']['plugins']['get'](_0x59867e),{config:_0xeade74,locale:_0x6b466b}=this['context'],_0x363783=getDateTimeFormatter(_0xeade74['get']('locale'),_0x6b466b);return new(0x0,(_0xeade74['get']('comments'))['CommentThreadView'])(_0x6b466b,_0x42cd6e,_0x6f507e['me'],{'editorConfig':{..._0xeade74['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0xeade74['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0xeade74['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0xeade74['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0xeade74['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x363783,'CommentView':_0xeade74['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x2260a7,channelId:_0x460356,resolvedAt:_0x573d9f,resolvedBy:_0x7af3da,isFromAdapter:_0x280811}){if(!this['hasCommentThread'](_0x2260a7))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x2260a7});const _0x2d386c=this['getCommentThread'](_0x2260a7);if(_0x2d386c['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x2260a7});const _0x399d66=this['context']['plugins']['get'](_0x59867e);if(_0x2d386c['resolvedBy']=_0x399d66['getUser'](_0x7af3da),_0x2d386c['resolvedAt']=_0x573d9f,_0x280811||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0xc96ff3=this['context']['plugins']['get']('PendingActions'),_0x9a1dbe=_0xc96ff3['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x460356,'threadId':_0x2260a7})['then'](({resolvedAt:_0x18350b,resolvedBy:_0x4c8768})=>{_0xc96ff3['remove'](_0x9a1dbe),_0x2d386c['resolvedBy']['id']!==_0x4c8768&&(_0x2d386c['resolvedBy']=_0x399d66['getUser'](_0x4c8768)),_0x2d386c['resolvedAt']=_0x18350b;})['catch'](_0x3809e5=>{throw console['error'](_0x3809e5),new ckeditor5['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0xcc829e,channelId:_0x1c8127,isFromAdapter:_0x216e2e}){if(!this['hasCommentThread'](_0xcc829e))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0xcc829e});const _0x36122a=this['getCommentThread'](_0xcc829e);if(!_0x36122a['isResolved'])throw new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0xcc829e});if(_0x36122a['resolvedBy']=null,_0x36122a['resolvedAt']=null,_0x216e2e||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x28930b=this['context']['plugins']['get']('PendingActions'),_0x4f7ded=_0x28930b['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x1c8127,'threadId':_0xcc829e})['then'](()=>_0x28930b['remove'](_0x4f7ded))['catch'](_0x412b0e=>{throw console['error'](_0x412b0e),new ckeditor5['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x48ab95,isFromAdapter:_0x13c4b1}){const _0x2e942d=this['getCommentThread'](_0x48ab95);if(!_0x2e942d)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x48ab95),this['_threads']['delete'](_0x48ab95),!_0x2e942d['isSubmitted']||_0x13c4b1||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x5369de=this['context']['plugins']['get']('PendingActions'),{channelId:_0x53ede4}=_0x2e942d,_0x333996=_0x5369de['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x53ede4,'threadId':_0x48ab95})['then'](()=>_0x5369de['remove'](_0x333996))['catch'](_0x126a0e=>{throw console['error'](_0x126a0e),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x7c113c,unlinkedAt:_0x58f603,context:_0x291f0a,attributes:_0x11cab1,isFromAdapter:_0x4f1ead}){if('string'!=typeof _0x7c113c)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x7c113c});if(!this['hasCommentThread'](_0x7c113c))throw new ckeditor5['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x7c113c});const _0x411954=this['getCommentThread'](_0x7c113c);let _0x4a1988=!0x1;if(void 0x0!==_0x291f0a&&_0x411954['context']!==_0x291f0a&&(_0x411954['context']=_0x291f0a,_0x4a1988=!0x0),void 0x0!==_0x58f603&&_0x411954['unlinkedAt']!==_0x58f603&&(_0x411954['unlinkedAt']=_0x58f603,_0x4a1988=!0x0),_0x11cab1&&!_0x140510(_0x11cab1,_0x411954['attributes'])&&(_0x411954['attributes']=_0x11cab1,_0x4a1988=!0x0),!_0x4a1988)return Promise['resolve']();if(!_0x411954['isSubmitted']||_0x4f1ead||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x3ec8e4=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2733e3}=_0x411954,_0x59eb36=_0x3ec8e4['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x2733e3,'threadId':_0x7c113c,'context':_0x291f0a,'unlinkedAt':_0x58f603,'attributes':_0x11cab1})['then'](()=>_0x3ec8e4['remove'](_0x59eb36))['catch'](_0x1e67cc=>{throw console['error'](_0x1e67cc),new ckeditor5['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x3b0c16){const _0x50fd58=this['context']['plugins']['get'](Annotations),_0x1f4f25=this['getCommentThread'](_0x3b0c16);if(_0x1f4f25['_isAttached']=!0x1,this['_threadToController']['has'](_0x1f4f25)){const _0x496caa=this['_threadToController']['get'](_0x1f4f25),_0x147f19=_0x496caa['view'],_0xa88a1c=_0x50fd58['getByInnerView'](_0x147f19);this['_threadToController']['delete'](_0x1f4f25),this['_viewToController']['delete'](_0x147f19),_0xa88a1c&&_0x50fd58['remove'](_0xa88a1c),_0x496caa['destroy'](),_0x147f19['destroy']()['then'](()=>{this['_unbindEditors'](_0x147f19);});}}['_updateActiveAnnotation']({threadId:_0x222fd0,resolvedAt:_0x3953f3,unlinkedAt:_0x110306}){const _0x4ef5b8=!!_0x3953f3,_0x441d8c=this['context']['plugins']['get'](Annotations),_0x2ea130=this['getCommentThread'](_0x222fd0);if(this['_threadToController']['has'](_0x2ea130)){const _0x165fa7=this['_threadToController']['get'](_0x2ea130)['view'],_0x8047d6=_0x441d8c['getByInnerView'](_0x165fa7);_0x8047d6&&(_0x4ef5b8&&_0x441d8c['_removeActiveAnnotation'](_0x8047d6),_0x110306?_0x8047d6['isVisible']=!0x1:_0x8047d6['refreshVisibility']());}}['_getExternalAuthor'](_0x570dda){const _0x49ebd7=this['context']['plugins']['get'](_0x59867e),_0x457683=hashObject('external:'+_0x570dda),_0x57968e=_0x49ebd7['getUser'](_0x457683);return _0x57968e||_0x49ebd7['addUser']({'id':_0x457683,'name':_0x570dda});}['_createNewComment']({threadId:_0xf034c5,commentId:_0x2c3faa=ckeditor5['uid'](),content:_0x24ccc4,authorId:_0x4a55b6,createdAt:_0x3c9f72,attributes:_0x114dd6}){if('string'!=typeof _0x2c3faa)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x4a55b6)throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x24ccc4||!_0x24ccc4['trim']())throw new ckeditor5['CKEditorError']('commentsrepository-invalid-comment-content');const _0x3dfc0c=this['context']['plugins']['get'](_0x59867e)['getUser'](_0x4a55b6);if(!_0x3dfc0c)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x4a55b6});let _0xa7d410=null,_0xd8f7d1=_0x3c9f72;return _0x114dd6?.['@external']&&(_0xa7d410=this['_getExternalAuthor'](_0x114dd6['@external']['authorName']),_0xd8f7d1=new Date(_0x114dd6['@external']['createdAt'])),new Comment(this,{'threadId':_0xf034c5,'id':_0x2c3faa,'author':_0xa7d410||_0x3dfc0c,'creator':_0x3dfc0c,'content':_0x24ccc4,'createdAt':_0x3c9f72,'authoredAt':_0xd8f7d1,'attributes':_0x114dd6});}['_addComment'](_0x37da90){let {threadId:_0x49a825,content:_0x382f45,attributes:_0x4a3b85,isFromAdapter:_0x4a48e1}=_0x37da90;const _0x362419=this['getCommentThread'](_0x37da90['threadId']);if(!_0x362419)throw new ckeditor5['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0xc11cd3=this['_createNewComment'](_0x37da90),{id:_0x2f7dcd}=_0xc11cd3;if(_0x362419['_add'](_0xc11cd3),_0x4a48e1||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x362419['isSubmitted'])return Promise['resolve']();const _0x19a1fb=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5204ed}=_0x362419,_0x379274=_0x19a1fb['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x4a3b85||(_0x4a3b85={}),this['adapter']['addComment']({'channelId':_0x5204ed,'threadId':_0x49a825,'commentId':_0x2f7dcd,'content':_0x382f45,'attributes':_0x4a3b85})['then'](_0x344f9d=>{_0x19a1fb['remove'](_0x379274),_0x344f9d&&this['_updateComment']({'channelId':_0x5204ed,'threadId':_0x49a825,'commentId':_0x2f7dcd,'createdAt':_0x344f9d['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x3e32d4=>{throw console['error'](_0x3e32d4),new ckeditor5['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x3af062,commentId:_0x4c59dc,content:_0x5c72b1,createdAt:_0x1c88c5,attributes:_0x56607f,isFromAdapter:_0x44b7df}){if(void 0x0!==_0x5c72b1&&('string'!=typeof _0x5c72b1||!_0x5c72b1['trim']()['length']))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x439893=this['getCommentThread'](_0x3af062),_0x8cf060=_0x439893['getComment'](_0x4c59dc);if(!_0x8cf060)throw new ckeditor5['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x4ee5d6=!0x1;if(_0x5c72b1&&_0x5c72b1!==_0x8cf060['content']&&(_0x8cf060['isEditable']||_0x44b7df)&&(_0x8cf060['content']=_0x5c72b1,_0x4ee5d6=!0x0),_0x1c88c5&&_0x1c88c5!==_0x8cf060['createdAt']&&(_0x8cf060['createdAt']=_0x1c88c5,_0x8cf060['attributes']&&_0x8cf060['attributes']['@external']||(_0x8cf060['authoredAt']=_0x1c88c5),_0x4ee5d6=!0x0),_0x56607f&&!_0x140510(_0x56607f,_0x8cf060['attributes'])&&(_0x8cf060['attributes']=_0x56607f,_0x4ee5d6=!0x0),!_0x4ee5d6)return Promise['resolve']();if(_0x439893['fire']('commentUpdated'),_0x44b7df||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x2d3163=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4e7a6d}=this['getCommentThread'](_0x8cf060['threadId']),_0x160871=_0x2d3163['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x4e7a6d,'threadId':_0x3af062,'commentId':_0x4c59dc,'content':_0x5c72b1,'attributes':_0x56607f})['then'](()=>_0x2d3163['remove'](_0x160871))['catch'](_0x427efd=>{throw console['error'](_0x427efd),new ckeditor5['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x2cc5cb,commentId:_0x4d9204,isFromAdapter:_0x2c2ae3}){const _0x3061fa=this['getCommentThread'](_0x2cc5cb),_0x4c56a3=_0x3061fa['getComment'](_0x4d9204);if(!_0x4c56a3)throw new ckeditor5['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x3061fa['_remove'](_0x4c56a3),_0x2c2ae3||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x389ba6=this['context']['plugins']['get']('PendingActions'),{channelId:_0x11ad96}=_0x3061fa,_0x2abf89=_0x389ba6['add'](getTranslation$f(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x11ad96,'threadId':_0x2cc5cb,'commentId':_0x4d9204})['then'](()=>_0x389ba6['remove'](_0x2abf89))['catch'](_0x512592=>{throw console['error'](_0x512592),new ckeditor5['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x37e92e,_0x1491b9){super();const _0x5e0d52=_0x1491b9['isResolvable'];this['channelId']=_0x1491b9['channelId'],this['id']=_0x1491b9['id'],this['comments']=new ckeditor5['Collection'](),this['_repository']=_0x37e92e,this['_isAttached']=!0x1,this['_isSubmitted']=_0x1491b9['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x37e92e,'_permissions',_0x37e92e,'_readOnlyChannels',()=>_0x37e92e['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x37e92e,'_permissions',()=>_0x37e92e['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x37e92e,'_permissions',()=>{const _0x38d3ec=_0x37e92e['getPermissions'](this['channelId']);return _0x38d3ec['write']||_0x38d3ec['admin'];}),this['bind']('isResolvable')['to'](_0x37e92e,'_permissions',()=>_0x5e0d52&&_0x37e92e['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x1491b9['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0xcdd9b9,_0x5e100c)=>_0xcdd9b9?_0x5e100c?_0xcdd9b9<_0x5e100c?_0xcdd9b9:_0x5e100c:_0xcdd9b9:_0x5e100c),this['set']('unlinkedAt',_0x1491b9['unlinkedAt']||null),this['set']('resolvedAt',_0x1491b9['resolvedAt']||null),this['set']('resolvedBy',_0x1491b9['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x1f55ed=>!!_0x1f55ed),this['set']('attributes',_0x1491b9['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x40d7aa,_0x42920b)=>_0x40d7aa+_0x42920b['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x27419d,id:_0x2c1d95}=this;this['_repository']['fire'](toEventName('submitCommentThread',_0x27419d),{'channelId':_0x27419d,'threadId':_0x2c1d95});}['setUnlinkedAt'](_0x20a0af){this['_update']({'unlinkedAt':_0x20a0af});}['resolve']({resolvedAt:_0x556d70=new Date(),resolvedBy:_0x55dd27='',isFromAdapter:_0x30dc52=!0x1}={}){const _0x55e8e1=this['_repository']['context']['plugins']['get'](_0x59867e)['me'],{channelId:_0x25ea90,id:_0x264737}=this;this['_repository']['fire'](toEventName('resolveCommentThread',_0x25ea90),{'channelId':_0x25ea90,'threadId':_0x264737,'resolvedAt':_0x556d70,'resolvedBy':_0x55dd27||_0x55e8e1['id'],'isFromAdapter':_0x30dc52});}['reopen']({isFromAdapter:_0x2f4118=!0x1}={}){const {channelId:_0x3cf8c5,id:_0x300ee3}=this;this['_repository']['fire'](toEventName('reopenCommentThread',_0x3cf8c5),{'channelId':_0x3cf8c5,'threadId':_0x300ee3,'isFromAdapter':_0x2f4118});}['setContext'](_0x4ffff7){this['context']||this['_update']({'context':_0x4ffff7});}['setAttribute'](_0x32c7ea,_0x59e618){const _0x4fa0ea=_0xedd9f2(this['attributes']);set(_0x4fa0ea,_0x32c7ea,_0x59e618),this['_update']({'attributes':_0x4fa0ea});}['removeAttribute'](_0x338578){const _0x3600e4=_0xedd9f2(this['attributes']);unset(_0x3600e4,_0x338578),this['_update']({'attributes':_0x3600e4});}['remove']({isFromAdapter:_0x3cf2b4=!0x1}={}){const {channelId:_0x5153f1,id:_0x4631e7}=this;this['_repository']['fire'](toEventName('removeCommentThread',_0x5153f1),{'channelId':_0x5153f1,'threadId':_0x4631e7,'isFromAdapter':_0x3cf2b4});}['attachTo'](_0x271d80){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x271d80});}['addComment'](_0x200110){const {channelId:_0x6904b0,id:_0x4e0ce8}=this;this['_repository']['fire'](toEventName('addComment',_0x6904b0,_0x4e0ce8),Object['assign']({'channelId':_0x6904b0,'threadId':_0x4e0ce8},_0x200110));}['getComment'](_0x1ac956){if('string'!=typeof _0x1ac956)throw new ckeditor5['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x1ac956});return this['comments']['get'](_0x1ac956);}['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'](_0x5999e6=>_0x5999e6['toJSON']()),'attributes':this['attributes']};}['_add'](_0x3525d7){return this['listenTo'](_0x3525d7,'change:authoredAt',()=>{const _0xb550bf=this['_findOptimalIndex'](_0x3525d7),_0x41229c=this['comments'];_0xb550bf-0x1!=_0x41229c['getIndex'](_0x3525d7)&&_0xb550bf+0x1!=_0x41229c['getIndex'](_0x3525d7)&&(this['_remove'](_0x3525d7),this['_add'](_0x3525d7));}),this['comments']['add'](_0x3525d7,this['_findOptimalIndex'](_0x3525d7));}['_update'](_0x1f0f41){const {channelId:_0x57bd03,id:_0x4b1282}=this;this['_repository']['fire'](toEventName('updateCommentThread',_0x57bd03),{..._0x1f0f41,'channelId':_0x57bd03,'threadId':_0x4b1282});}['_remove'](_0x42b370){return this['stopListening'](_0x42b370),_0x42b370['destroy'](),this['comments']['remove'](_0x42b370);}['_findOptimalIndex'](_0x2a35eb){const _0x153d73=this['comments']['find'](_0x46cb64=>new Date(_0x46cb64['authoredAt'])['getTime']()>new Date(_0x2a35eb['authoredAt'])['getTime']());return _0x153d73?this['comments']['getIndex'](_0x153d73):this['length'];}}const _0x8e62=0xc8;function getContentLength(_0x88e763){const _0x1239a0=document['createElement']('div');return _0x1239a0['innerHTML']=_0x88e763,_0x1239a0['textContent']['length'];}class Comment extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x2aac34,_0x232846){super();const _0x25d018=_0x2aac34['context']['plugins']['get'](_0x59867e)['me'],_0x37e923=_0x2aac34['getCommentThread'](_0x232846['threadId']),_0xd40171=0x0===_0x37e923['comments']['length'],_0x2a4087=_0x25d018===_0x232846['author'];this['id']=_0x232846['id'],this['threadId']=_0x232846['threadId'],this['author']=_0x232846['author'],this['creator']=_0x232846['creator'],this['isExternal']=Boolean(_0x232846['attributes']&&_0x232846['attributes']['@external']),this['set']('content',_0x232846['content']),this['createdAt']=_0x232846['createdAt']||new Date(),this['set']('authoredAt',_0x232846['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x37e923,'resolvedAt'),this['set']('attributes',_0x232846['attributes']||{}),this['bind']('isEditable')['to'](_0x2aac34,'_permissions',()=>{const _0x45bf0b=_0x2aac34['getPermissions'](_0x37e923['channelId'])['write'],_0x24dc34=_0x2aac34['getPermissions'](_0x37e923['channelId'])['modifyAll'];return _0x2a4087&&_0x45bf0b||!_0x2a4087&&_0x24dc34;}),this['bind']('isRemovable')['to'](_0x37e923,'isRemovable',_0x2aac34,'_permissions',_0x5baec4=>{const _0x591551=_0x2aac34['getPermissions'](_0x37e923['channelId'])['write'],_0x1888cf=_0x2aac34['getPermissions'](_0x37e923['channelId'])['modifyAll'];return _0x2a4087&&_0x591551||_0x5baec4&&_0xd40171||!_0x2a4087&&_0x1888cf&&!_0xd40171;}),this['bind']('isReadOnly')['to'](_0x37e923,'isReadOnly'),this['_repository']=_0x2aac34;}get['weight'](){return Math['max'](getContentLength(this['content']),_0x8e62);}['update'](_0x565053){const {threadId:_0x2f3f0c,id:_0x503cf3}=this;if(!this['_repository']['hasCommentThread'](_0x2f3f0c))throw new ckeditor5['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x3c78dc}=this['_repository']['getCommentThread'](_0x2f3f0c);this['_repository']['fire'](toEventName('updateComment',_0x3c78dc,_0x2f3f0c),{'channelId':_0x3c78dc,'threadId':_0x2f3f0c,'commentId':_0x503cf3,..._0x565053});}['setAttribute'](_0x5b7e39,_0x5a6fef){const _0x2b9d30=_0xedd9f2(this['attributes']);set(_0x2b9d30,_0x5b7e39,_0x5a6fef),this['update']({'attributes':_0x2b9d30});}['removeAttribute'](_0x318ce9){const _0x2f3646=_0xedd9f2(this['attributes']);unset(_0x2f3646,_0x318ce9),this['update']({'attributes':_0x2f3646});}['remove'](_0x2d6473={}){if(!_0x2d6473['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0xb8de45,id:_0x2ddc42}=this;if(!this['_repository']['hasCommentThread'](_0xb8de45))throw new ckeditor5['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x420910}=this['_repository']['getCommentThread'](_0xb8de45);this['_repository']['fire'](toEventName('removeComment',_0x420910,_0xb8de45),{'channelId':_0x420910,'threadId':_0xb8de45,'commentId':_0x2ddc42,..._0x2d6473});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function toEventName(_0x3c6179,..._0x58988c){for(const _0x32681c of _0x58988c)void 0x0!==_0x32681c&&(_0x3c6179+=':'+String(_0x32681c));return _0x3c6179;}class AddCommentThreadCommand extends ckeditor5['Command']{constructor(_0x5ba3b2){super(_0x5ba3b2),this['set']('hasContent',!0x1);}['refresh'](){const _0x242e83=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x51a8e2 of _0x242e83['getRanges']())if(this['_hasContent'](_0x51a8e2))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x4e403e=ckeditor5['uid'](),ranges:_0x508e1c,comment:_0x4253f7}={}){const _0x4da0be=this['editor']['model'],_0x263ae4=_0x508e1c??Array['from'](_0x4da0be['document']['selection']['getRanges']()),_0x4f0736=[];for(const _0x238336 of _0x263ae4)this['_hasContent'](_0x238336)&&_0x4f0736['push'](this['_trimToContent'](_0x238336));if(!_0x4f0736['length'])throw new ckeditor5['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x4253f7&&this['_createCommentThread'](_0x4e403e,_0x4253f7),this['_createMarkersFromRanges'](_0x4e403e,_0x4f0736,!!_0x4253f7);}['_createMarkersFromRanges'](_0x4e279e,_0x159c5c,_0x5687d5){this['editor']['model']['change'](_0x24b383=>{for(const _0x4c0d17 of _0x159c5c){const _0x4e0174=ckeditor5['uid']()['substr'](0x1,0x5),_0x11f689='comment:'+_0x4e279e+':'+_0x4e0174;_0x24b383['addMarker'](_0x11f689,{'range':_0x4c0d17,'usingOperation':_0x5687d5,'affectsData':_0x5687d5});}});}['_createCommentThread'](_0x5da24c,_0x16b0ff){const _0x5d6ae0=this['editor']['plugins']['get']('CommentsRepository'),_0x2d9a99=this['editor']['config']['get']('collaboration.channelId'),_0x2b769c=this['editor']['plugins']['get']('Users')['me'];if(!_0x2b769c)throw new ckeditor5['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x5d6ae0['addCommentThread']({'threadId':_0x5da24c,'channelId':_0x2d9a99,'comments':[{'authorId':_0x2b769c['id'],'content':_0x16b0ff,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x5d90fb){for(const _0x349fc8 of _0x5d90fb['getItems']())if(this['_itemIsContent'](_0x349fc8))return!0x0;return!0x1;}['_itemIsContent'](_0x1dcfbe){return _0x1dcfbe['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x1dcfbe)&&!_0x1dcfbe['is']('element','tableCell');}['_trimToContent'](_0x376c96){const _0x467bd2=_0x370178=>!this['_itemIsContent'](_0x370178['item']),_0x4bb597=_0x376c96['start']['getLastMatchingPosition'](_0x467bd2),_0x2ae4d4=_0x376c96['end']['getLastMatchingPosition'](_0x467bd2,{'direction':'backward'});return this['editor']['model']['createRange'](_0x4bb597,_0x2ae4d4);}}class EditorAnnotations extends ckeditor5['Plugin']{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x378375){super(_0x378375),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x5bb3c8=this['editor'],_0x5246c7=_0x5bb3c8['model']['document']['selection'],_0x19052d=_0x53dcc6(()=>this['refreshSelectedViews'](),0xa);_0x5246c7['on']('change:range',(_0x21a002,_0x9b6a2c)=>{_0x9b6a2c['directChange']&&(_0x19052d['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x5bb3c8['editing']['view']['document'],'change:isFocused',(_0x479e24,_0x9c3eb8,_0x4c9f2f)=>{_0x4c9f2f&&_0x19052d();}),this['listenTo'](_0x5bb3c8['ui']['focusTracker'],'change:isFocused',(_0x41124b,_0x3aee72,_0x2ad91e)=>{_0x2ad91e||this['fire']('blur',{'isAnnotationTracked':_0x3bf33c=>this['_editorAnnotationsData']['has'](_0x3bf33c['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x316b56){if(this['_editorAnnotations']['has'](_0x316b56['view']))return;this['_editorAnnotations']['add'](_0x316b56['view']),this['editor']['ui']['focusTracker']['add'](_0x316b56['view']['element']);const _0x34b086=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x34b086['collection'],'remove',(_0x34b4a4,_0x194efc)=>{this['editor']['ui']['focusTracker']['remove'](_0x194efc['view']['element']),this['_editorAnnotations']['delete'](_0x194efc['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x37ef4b){if('function'!=typeof _0x37ef4b)throw new ckeditor5['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x37ef4b);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x2ecdbc,annotations:_0xc39f43}){const _0x5d78a8=[],_0x2274ab=this['editor']['model']['document']['selection'],_0x4cfa63=Array['from'](_0x2274ab['getRanges']());for(const [_0xf352a3,_0x2c2bf6]of this['_editorAnnotationsData']){const _0xf466a3=_0x35f8f4(_0x2c2bf6),_0x3a48ab=_0xc39f43['getByInnerView'](_0xf352a3);_0xf466a3&&_0x3a48ab&&_0x5d78a8['push']({'annotation':_0x3a48ab,'range':_0xf466a3});}function _0x35f8f4(_0x44f23e){for(const _0x8f2740 of _0x44f23e)for(const _0x5bc273 of _0x4cfa63)if(_0x8f2740['containsRange'](_0x5bc273,!_0x2274ab['isCollapsed']))return _0x8f2740;return null;}return _0x5d78a8['sort']((_0x307e1a,_0x191dd9)=>{const _0x49a2be=_0x307e1a['range'],_0x3b63fc=_0x191dd9['range'];if(!_0x49a2be['isEqual'](_0x3b63fc)){if(_0x49a2be['containsRange'](_0x3b63fc,!0x0))return 0x1;if(_0x3b63fc['containsRange'](_0x49a2be,!0x0))return-0x1;}return _0x307e1a['annotation']==_0x2ecdbc?-0x1:_0x191dd9['annotation']==_0x2ecdbc?0x1:0x0;})['map'](_0x29aff2=>_0x29aff2['annotation']);}get['_editorAnnotationsData'](){const _0x36f3d9=new Map();for(const _0x489b3f of Array['from'](this['_dataCollectors']))for(const [_0x48c43f,_0x1453ff]of _0x489b3f())_0x36f3d9['set'](_0x48c43f,_0x1453ff);return _0x36f3d9;}}class CommentsRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x367c35=this['editor'];if(!_0x367c35['plugins']['has']('RestrictedEditingModeEditing'))return;_0x367c35['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends ckeditor5['Plugin']{constructor(_0x4b78e3){super(_0x4b78e3),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x260a80=this['editor'],_0x4e4b0b=_0x260a80['commands']['get']('importWord'),_0x33618c=_0x260a80['plugins']['get'](_0x59867e);_0x4e4b0b&&(_0x4e4b0b['on']('execute',(_0x19251a,[,_0x39ae1d])=>{_0x39ae1d['collaboration_features']={'comments':!0x0,'user_id':_0x33618c['me']['id']};},{'priority':ckeditor5['priorities']['high']+0xa}),this['listenTo'](_0x4e4b0b,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x32b5e5,_0x57b536){const {comment_threads:_0x1c5530}=_0x57b536;_0x1c5530&&_0x1c5530['forEach'](({thread_id:_0x55efcc,comments:_0x5a4410,is_resolved:_0x4548fb})=>{const _0xe1384=new Date(),_0x10869b=_0x5a4410['map'](({author:_0x13086c,content:_0x59841b,created_at:_0x3d8cb8})=>({'content':_0x59841b,'authorId':this['editor']['plugins']['get'](_0x59867e)['me']['id'],'createdAt':_0xe1384,'attributes':{'@external':{'authorName':_0x13086c,'createdAt':_0x3d8cb8?new Date(_0x3d8cb8):new Date(),'source':'importWord'}}})),_0xac1e7a=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0xac1e7a,'threadId':_0x55efcc,'comments':_0x10869b,'resolvedAt':_0x4548fb?_0xe1384:null});});}}class CommentsClipboard extends ckeditor5['Plugin']{constructor(_0x2fa11e){super(_0x2fa11e),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[ckeditor5['ClipboardMarkersUtils'],ckeditor5['ClipboardPipeline']];}['afterInit'](){const _0x4a12db=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x4a12db,'contentInsertion',(_0x1477a0,_0x3af0f3)=>this['_removeMarkersWithoutThreads'](_0x3af0f3['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x387dc5){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x387dc5;const _0x160d0f=this['editor']['plugins']['get']('CommentsRepository');for(const _0x22fd00 of _0x387dc5['keys']()){const [_0xc15e54,_0x2bc393]=_0x22fd00['split'](':');'comment'!=_0xc15e54||_0x160d0f['hasCommentThread'](_0x2bc393)||_0x387dc5['delete'](_0x22fd00);}return _0x387dc5;}['_registerMarkerInClipboardPipeline'](){const _0x260c9d=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x10e98b=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x10e98b&&_0x260c9d['_registerMarkerToCopy']('comment',_0x10e98b);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0xaafb4b){switch(_0xaafb4b){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function splitMarkerName(_0x5864ce){const _0x4a7b57=_0x5864ce['split'](':');return{'group':_0x4a7b57[0x0],'id':_0x4a7b57[0x1],'part':_0x4a7b57[0x2]};}class ShowCommentHighlights extends ckeditor5['Plugin']{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x88f21e,_0x4876a3)=>{if(!_0x4876a3['options']['showCommentHighlights'])return null;if(_0x4876a3['options']['ignoreResolvedComments']){const {id:_0x3c2e3e}=splitMarkerName(_0x88f21e['markerName']),_0x2f33f7=this['editor']['plugins']['get'](CommentsRepository);if(_0x2f33f7['getCommentThread'](_0x3c2e3e)?.['isResolved']&&_0x88f21e['item'])return _0x4876a3['consumable']['consume'](_0x88f21e['item'],'addMarker:'+_0x88f21e['markerName']),_0x4876a3['consumable']['consume'](_0x88f21e['item'],'removeMarker:'+_0x88f21e['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xd85241=>{_0xd85241['on']('addMarker:comment',(_0x8f9dd,_0x1aa33a,_0x3b8dce)=>{if(!_0x3b8dce['options']['showCommentHighlights'])return;const _0x4bc7f2=_0x1aa33a['item'];if(!_0x4bc7f2)return;const _0x2a1540=_0x3b8dce['mapper']['toViewElement'](_0x4bc7f2);this['editor']['model']['schema']['isObject'](_0x4bc7f2)&&_0x2a1540&&!_0x2a1540['getCustomProperty']('widget')&&_0x2a1540['is']('containerElement')&&ckeditor5['toWidget'](_0x2a1540,_0x3b8dce['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x903e29,{writer:_0x2b23df,options:_0x62e1f6})=>{if(!_0x62e1f6['showCommentHighlights'])return null;const _0x1218e9=_0x2b23df['createContainerElement']('div'),_0x1c006c=_0x2b23df['createEmptyElement']('hr');return _0x2b23df['addClass']('ck-horizontal-line',_0x1218e9),_0x2b23df['insert'](_0x2b23df['createPositionAt'](_0x1218e9,0x0),_0x1c006c),_0x1218e9;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x2a3bd7,{writer:_0x4033f7,options:_0x3f33fa})=>{if(!_0x3f33fa['showCommentHighlights'])return null;const _0x340455=_0x4033f7['createContainerElement']('span'),_0x1b0b0b=_0x4033f7['createEmptyElement']('img');return _0x4033f7['addClass']('image-inline',_0x340455),_0x4033f7['insert'](_0x4033f7['createPositionAt'](_0x340455,0x0),_0x1b0b0b),_0x340455;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x495af5,{writer:_0x57255d,options:_0x40b12d})=>{if(_0x40b12d['showCommentHighlights'])return _0x57255d['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5c0395,_0xb27eda,_0x3d79e8)=>{_0x3d79e8['options']['showCommentHighlights']&&_0x5c0395['stop']();},{'priority':'high'});}}const _0x5ccf3e=0x96;class CommentsEditing extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x59867e,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf94277){super(_0xf94277),this['set']('isThreadsLoadingPaused',!0x0),_0xf94277['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x54036b,_0x2fe207,_0x279497,_0x182245)=>{const _0x163b47=_0xf94277['plugins']['get'](CommentsRepository),_0x432d12=_0x279497?splitMarkerName(_0x279497)['id']:null;_0xf94277['model']['change'](()=>{if(_0x432d12){const _0x58dd3c=this['getAllMarkersForId'](_0x432d12);for(const _0x1d6ed8 of _0x58dd3c)_0xf94277['editing']['reconvertMarker'](_0x1d6ed8);}if(_0x182245){const {id:_0x26c4ba}=splitMarkerName(_0x182245),_0x47c73c=_0x163b47['getCommentThread'](_0x26c4ba);if(_0x47c73c&&_0x47c73c['unlinkedAt'])return;if(_0x47c73c&&!_0x47c73c['isAttached'])return;const _0x58377b=this['getAllMarkersForId'](_0x26c4ba);for(const _0x5147c9 of _0x58377b)_0xf94277['editing']['reconvertMarker'](_0x5147c9);}}),_0x432d12&&this['scrollToThreadMarker'](_0x432d12);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x1d40ab=this['editor'],_0x50475a=_0x1d40ab['plugins']['get'](CommentsRepository),_0x8dcd98=_0x1d40ab['config']['get']('collaboration.channelId'),_0x350faa=_0x50475a['getCommentThreads']()['filter'](_0x331f08=>_0x331f08['channelId']!==_0x8dcd98);_0x1d40ab['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x1d40ab)),this['listenTo'](_0x1d40ab,'change:isReadOnly',(_0x1aab61,_0x12dcf9,_0x327765)=>{_0x50475a['switchReadOnly'](_0x327765,_0x1d40ab['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x50475a,createChannelEvent('addCommentThread',_0x8dcd98),(_0x5563e5,{threadId:_0x5e2fe7})=>{const _0x58b037=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x5e2fe7);_0x58b037?.['unlinkedAt']&&this['_attachArchivedThread'](_0x5e2fe7);}),this['listenTo'](_0x50475a,createChannelEvent('removeCommentThread',_0x8dcd98),(_0x5af679,{threadId:_0x989dd1})=>{_0x1d40ab['model']['enqueueChange']({'isUndoable':!0x1},_0x148ad5=>{const _0x5753a8=this['getAllMarkersForId'](_0x989dd1);for(const _0x146820 of _0x5753a8)_0x148ad5['removeMarker'](_0x146820);});}),this['listenTo'](_0x50475a,createChannelEvent('resolveCommentThread',_0x8dcd98),(_0x35490f,{threadId:_0x59f006})=>{(this['_reconvertMarkers'](_0x59f006),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x59f006)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x50475a,createChannelEvent('reopenCommentThread',_0x8dcd98),(_0x140f57,{threadId:_0x55a00e})=>{this['_reconvertMarkers'](_0x55a00e);},{'priority':'low'}),this['listenTo'](_0x50475a,createChannelEvent('addComment',_0x8dcd98),(_0x11f6d0,{threadId:_0x1f8b85,isFromAdapter:_0x571bac})=>{const _0x1186d8=this['getAllMarkersForId'](_0x1f8b85);if(_0x571bac||0x0==_0x1186d8['length']||!_0x50475a['hasCommentThread'](_0x1f8b85))return;0x1===_0x50475a['getCommentThread'](_0x1f8b85)['length']&&_0x1d40ab['model']['enqueueChange']({'isUndoable':!0x1},_0x561f6a=>{for(const _0x3ae102 of _0x1186d8)_0x561f6a['updateMarker'](_0x3ae102,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x350faa);}['afterInit'](){_0x15400b(this);}['destroy'](){const _0x3cd94c=this['editor']['plugins']['get'](CommentsRepository),_0xd1ffed=this['editor']['config']['get']('collaboration.channelId');for(const _0x14d057 of _0x3cd94c['getCommentThreads']({'channelId':_0xd1ffed}))_0x3cd94c['_detachCommentThread'](_0x14d057['id']),_0x3cd94c['_threads']['delete'](_0x14d057['id']);super['destroy']();}['hasMarkerForId'](_0x1f673e){return this['getAllMarkersForId'](_0x1f673e)['length']>0x0;}['getAllMarkersForId'](_0x409b3b){const _0x1892c0=[];for(const _0x1e12af of this['editor']['model']['markers'])_0x1e12af['name']['startsWith']('comment:'+_0x409b3b)&&_0x1892c0['push'](_0x1e12af);return _0x1892c0;}['scrollToThreadMarker'](_0x741309){setTimeout(()=>{const _0x3eb417=this['_getTargetForId'](_0x741309);if(!_0x3eb417)return;this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x741309&&ckeditor5['scrollViewportToShowTarget']({'target':_0x3eb417[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0xeac59a){this['editor']['model']['change'](()=>{for(const _0x4fa231 of this['getAllMarkersForId'](_0xeac59a))this['editor']['editing']['reconvertMarker'](_0x4fa231);});}['_attachArchivedThread'](_0xd55b13){const _0x177f70=this['editor']['plugins']['get'](CommentsRepository),_0x12aa94=this['editor']['plugins']['get'](EditorAnnotations),_0xa3a050=_0x177f70['getCommentThread'](_0xd55b13);if(!_0xa3a050['isAttached']){const _0x38a25b=_0xa3a050['attachTo'](()=>this['_getTargetForId'](_0xa3a050['id']));_0x12aa94['registerAnnotation'](_0x38a25b),_0xa3a050['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x369157=this['editor'],_0x31ce49=_0x369157['plugins']['get'](_0x59867e);_0x369157['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x544662,_0xe8566b)=>{const {id:_0x801d80}=splitMarkerName(_0x544662['markerName']),_0x2734bf=_0x369157['plugins']['get'](CommentsRepository)['getCommentThread'](_0x801d80),_0x52a20f=this['activeMarker']&&splitMarkerName(this['activeMarker'])['id']===_0x801d80;let _0x5989e5;if(_0x2734bf&&_0x2734bf['isResolved']&&!_0x52a20f&&_0x544662['item'])return _0xe8566b['consumable']['consume'](_0x544662['item'],'addMarker:'+_0x544662['markerName']),_0xe8566b['consumable']['consume'](_0x544662['item'],'removeMarker:'+_0x544662['markerName']),null;const _0x286514=['ck-comment-marker'];return _0x52a20f&&_0x286514['push']('ck-comment-marker--active'),_0x5989e5=_0x2734bf?.['length']?_0x2734bf['comments']['first']['author']['id']:_0x31ce49['me']['id'],{'classes':_0x286514,'attributes':{'data-comment':_0x801d80,'data-author-id':_0x5989e5}};}}),_0x369157['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x4973ed,{options:_0x4d26ae})=>{if(_0x4d26ae['showCommentHighlights'])return null;const _0x1ab685=_0x369157['plugins']['get'](CommentsRepository),_0x299b75=_0x369157['model']['markers']['get'](_0x4973ed),{id:_0x2fd4b2,part:_0x39d01f}=splitMarkerName(_0x4973ed);return _0x299b75&&!_0x299b75['affectsData']||_0x4d26ae['ignoreResolvedComments']&&_0x1ab685['getCommentThread'](_0x2fd4b2)?.['isResolved']?null:{'group':'comment','name':_0x39d01f?_0x2fd4b2+':'+_0x39d01f:_0x2fd4b2};}}),_0x369157['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x50da06,{writer:_0x1b7ce3})=>_0x1b7ce3['createElement']('$marker',{'data-name':'comment:'+_0x50da06['getAttribute']('id')})}),_0x369157['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x150694=this['editor'],_0x28d546=_0x150694['plugins']['get'](CommentsRepository),_0x5a70b9=new Set(),_0x1de630=new Set();_0x150694['model']['document']['registerPostFixer'](_0x5dfd7f=>{let _0x4c570c=!0x1;for(const {name:_0x38169e,data:_0x27e4bf}of _0x150694['model']['document']['differ']['getChangedMarkers']()){const {group:_0x37a8ac,id:_0x5dcbf6}=splitMarkerName(_0x38169e);let _0x399042=_0x27e4bf['newRange'];if('comment'!==_0x37a8ac||!_0x399042)continue;const _0x52ea59='$graveyard'===_0x399042['root']['rootName'];_0x52ea59||(_0x399042=_0x48c105(_0x399042,_0x150694['model']),!_0x399042||_0x399042['isCollapsed']||!_0x27e4bf['newRange']||_0x399042['isEqual'](_0x27e4bf['newRange']))?_0x150694['model']['hasContent'](_0x399042)&&!_0x52ea59?this['isThreadsLoadingPaused']?_0x5a70b9['add'](_0x38169e):this['_handleThreadMarker'](_0x38169e,_0x5dcbf6):(_0x1de630['add'](_0x38169e),_0x5a70b9['delete'](_0x38169e),_0x5dfd7f['removeMarker'](_0x38169e),_0x4c570c=!0x0):(_0x5dfd7f['updateMarker'](_0x38169e,{'range':_0x399042}),_0x4c570c=!0x0);}return _0x4c570c;}),this['on']('change:isThreadsLoadingPaused',(_0x3fd0db,_0x4cfe13,_0x83794f)=>{if(!_0x83794f&&_0x5a70b9['size'])for(const _0x26dab3 of _0x5a70b9){const {id:_0x399858}=splitMarkerName(_0x26dab3);_0x5a70b9['delete'](_0x26dab3),_0x150694['model']['markers']['get'](_0x26dab3)&&this['_handleThreadMarker'](_0x26dab3,_0x399858);}}),this['listenTo'](_0x150694['model']['document'],'change',()=>{for(const {name:_0x11462e,data:{newRange:_0xbf19f3}}of _0x150694['model']['document']['differ']['getChangedMarkers']()){const {group:_0x58bc8e,id:_0x444ce6}=splitMarkerName(_0x11462e);if('comment'!==_0x58bc8e)continue;const _0x1cbf95=_0x28d546['getCommentThread'](_0x444ce6),_0xbe4855=this['hasMarkerForId'](_0x444ce6);_0x1cbf95&&(!_0x1cbf95['_hasTargetInContent']&&_0xbf19f3&&_0x150694['editing']['view']['once']('render',()=>{const _0x516489=_0x150694['plugins']['get'](Annotations),_0x151b95=_0x28d546['_threadToController']['get'](_0x1cbf95)['view'];_0x516489['getByInnerView'](_0x151b95)['refreshVisibility']();},{'priority':'low'}),_0x1cbf95['_hasTargetInContent']=_0xbe4855||!!_0xbf19f3),_0xbf19f3||(_0x1de630['add'](_0x11462e),_0x5a70b9['delete'](_0x11462e));}for(const _0x293641 of _0x1de630){const {id:_0x4b463f}=splitMarkerName(_0x293641),_0x54a177=_0x28d546['getCommentThread'](_0x4b463f);if(_0x5a70b9['delete'](_0x293641),!_0x54a177)continue;const _0x40ad76=this['hasMarkerForId'](_0x4b463f);_0x40ad76||_0x54a177['isSubmitted']?_0x40ad76||_0x54a177['unlinkedAt']||_0x54a177['setUnlinkedAt'](new Date()):_0x54a177['remove']();}_0x1de630['clear']();});}['_handleInitialThreads'](_0x299220){_0x299220['forEach'](_0x36c074=>{_0x36c074['unlinkedAt']&&this['_attachArchivedThread'](_0x36c074['id']);});}['_getTargetForId'](_0x19514b){const _0x20a96a=this['editor'],_0x25319e=this['getAllMarkersForId'](_0x19514b);return getAllMarkersDomElementsSorted(_0x20a96a['editing'],_0x25319e);}['_getTextContext'](_0xcfd78b){const _0x4a7e67=this['getAllMarkersForId'](_0xcfd78b);let _0x4f9c1f='',_0x5be52a=!0x1;for(const _0x40d26f of _0x4a7e67){const _0x1f957d=_0x40d26f['getRange']();for(const _0x24c0d6 of Array['from'](_0x1f957d['getItems']()))_0x24c0d6['is']('$textProxy')?(_0x4f9c1f&&_0x5be52a&&(_0x4f9c1f+='\x20',_0x5be52a=!0x1),_0x4f9c1f+=_0x24c0d6['data']):_0x5be52a=!0x0;_0x5be52a=!0x0;}return _0x4f9c1f['substring'](0x0,_0x5ccf3e);}['_attachMarkerToThread'](_0x37f8b7,_0x1125b1){const _0x5d4d77=this['editor'],_0x216f37=_0x5d4d77['plugins']['get'](CommentsRepository);let _0x193869=_0x216f37['getCommentThread'](_0x1125b1);const _0x258195=_0x5d4d77['config']['get']('collaboration.channelId'),_0x43a41a=_0x5d4d77['plugins']['get'](EditorAnnotations);if(_0x193869&&(_0x193869['unlinkedAt']&&_0x193869['setUnlinkedAt'](null),_0x193869['isAttached']))return _0x193869;return!this['getAllMarkersForId'](_0x1125b1)[0x0]['managedUsingOperations']?_0x5d4d77['editing']['view']['once']('render',()=>{if(_0x216f37['getCommentThread'](_0x1125b1))return;const _0x3cef1b=_0x5d4d77['plugins']['get'](Annotations);_0x193869=_0x216f37['openNewCommentThread']({'channelId':_0x258195,'threadId':_0x1125b1,'target':()=>this['_getTargetForId'](_0x1125b1),'context':{'type':'text','value':this['_getTextContext'](_0x1125b1)}});const _0x25edce=_0x216f37['_threadToController']['get'](_0x193869)['view'],_0x126a30=_0x3cef1b['getByInnerView'](_0x25edce);_0x126a30&&_0x43a41a['registerAnnotation'](_0x126a30);},{'priority':'low'}):_0x216f37['fetchCommentThread']({'channelId':_0x258195,'threadId':_0x1125b1})['then'](_0x234960=>{if('destroyed'!==_0x5d4d77['state']){if(_0x193869=_0x234960,_0x193869&&!_0x193869['isAttached']){const _0x3bca78=_0x193869['attachTo'](()=>this['_getTargetForId'](_0x1125b1));_0x43a41a['registerAnnotation'](_0x3bca78),_0x193869['isResolved']&&this['_reconvertMarkers'](_0x1125b1);}else{if(!_0x193869){const _0x575b9a=this['getAllMarkersForId'](_0x1125b1);_0x5d4d77['model']['change'](_0x2e1e67=>{for(const _0x5761a2 of _0x575b9a)_0x2e1e67['removeMarker'](_0x5761a2);});}}}}),_0x193869;}['_handleThreadMarker'](_0x32c14c,_0x51513f){const _0x2bcdfb=this['_attachMarkerToThread'](_0x32c14c,_0x51513f);_0x2bcdfb&&!_0x2bcdfb['context']&&_0x2bcdfb['setContext']({'type':'text','value':this['_getTextContext'](_0x51513f)});}['_initAriaMarkerChangeAnnouncements'](){const _0x1c0238=this['editor'];surroundingMarkersDetector(_0x1c0238['model'],({left:_0x49c0fb,entered:_0x3118f4})=>{for(const _0x9a44f8 of _0x49c0fb)if(isCommentMarker(_0x9a44f8)){_0x1c0238['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x1c0238['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x40f74a of _0x3118f4)if(isCommentMarker(_0x40f74a)){_0x1c0238['ui']['ariaLiveAnnouncer']['announce'](getTranslation$f(_0x1c0238['locale'],'ENTER_COMMENT_ANNOUNCEMENT',ckeditor5['getEnvKeystrokeText'](_0x1b716d)));break;}});}}function createChannelEvent(_0x57d0ba,_0x3c2191){return _0x3c2191?_0x57d0ba+':'+_0x3c2191:_0x57d0ba;}function _0x48c105(_0x48e786,_0x50723e){const _0x511442=_0x50723e['schema'],_0x2db0f7=_0x50723e['createRange'](_0x48e786['start']);for(const _0x5244ce of _0x48e786['getWalker']()){const {type:_0x36729e,item:_0x514b32,nextPosition:_0x4e78a0}=_0x5244ce;if('text'===_0x36729e||_0x511442['isObject'](_0x514b32)){const _0x232acc=_0x50723e['createPositionBefore'](_0x514b32);_0x2db0f7['isCollapsed']&&(_0x2db0f7['start']=_0x232acc),_0x2db0f7['end']=_0x4e78a0;}}return _0x2db0f7;}function isCommentMarker(_0x381dd7){return'comment'===splitMarkerName(_0x381dd7['name'])['group'];}async function _0x15400b(_0x2aebf8){const _0x3e93a6=_0x34950a([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x2573b1=window[_0x34950a([0x44,0x61,0x74,0x65])][_0x34950a([0x6e,0x6f,0x77])](),_0xc8f63d=_0x2aebf8[_0x34950a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5777f3=new window[(_0x34950a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59ce1c=>{_0xc8f63d[_0x34950a([0x6f,0x6e,0x63,0x65])](_0x34950a([0x72,0x65,0x61,0x64,0x79]),_0x59ce1c);}),_0x597bae={[_0x34950a([0x6b,0x74,0x79])]:_0x34950a([0x45,0x43]),[_0x34950a([0x75,0x73,0x65])]:_0x34950a([0x73,0x69,0x67]),[_0x34950a([0x63,0x72,0x76])]:_0x34950a([0x50,0x2d,0x32,0x35,0x36]),[_0x34950a([0x78])]:_0x34950a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x34950a([0x79])]:_0x34950a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x34950a([0x61,0x6c,0x67])]:_0x34950a([0x45,0x53,0x32,0x35,0x36])},_0x1c74a5=_0xc8f63d[_0x34950a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34950a([0x67,0x65,0x74])](_0x34950a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x33193f=await(async function(){let _0x58723d,_0x2c81a1=null,_0x4772f0=null;try{if(_0x1c74a5==_0x34950a([0x47,0x50,0x4c]))return _0x34950a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58723d=(function(){const _0x49a5f0=_0x1c74a5[_0x34950a([0x73,0x70,0x6c,0x69,0x74])](_0x34950a([0x2e]));if(0x3!=_0x49a5f0[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x584a5d=_0x49a5f0[0x1];return _0x257a66(_0x584a5d);function _0x257a66(_0x84c341){const _0x205bb6=_0x542f6c(_0x84c341);return _0x205bb6&&_0x22461f()?_0x205bb6:null;function _0x22461f(){const _0x20d5b6=_0x205bb6[_0x34950a([0x6a,0x74,0x69])],_0x52708b=window[_0x34950a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20d5b6[_0x34950a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20d5b6[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x491b3f={..._0x205bb6,[_0x34950a([0x6a,0x74,0x69])]:_0x20d5b6[_0x34950a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20d5b6[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x491b3f[_0x34950a([0x76,0x63])],_0x18a5aa(_0x491b3f)==_0x52708b;}}}()),!_0x58723d)return _0x34950a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x58723d[_0x34950a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4772f0=function(_0xa505e8,_0x2dc142){return new window[(_0x34950a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb2b5e9=>{if(_0x322cec())return _0xb2b5e9(_0x34950a([0x56,0x61,0x6c,0x69,0x64]));_0x348e9e(),_0xc8f63d[_0x34950a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34950a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf96286=!0x1;const _0x534e25=ckeditor5['uid']();function _0x4e0b25(_0x45e483){return!!_0x45e483&&(typeof _0x45e483===_0x34950a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45e483===_0x34950a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45e483[_0x34950a([0x74,0x68,0x65,0x6e])]===_0x34950a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45e483[_0x34950a([0x63,0x61,0x74,0x63,0x68])]===_0x34950a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a7624(_0x26c0dc){_0x9fba97(_0x26c0dc)[_0x34950a([0x74,0x68,0x65,0x6e])](_0x388e0f=>{if(!_0x388e0f||_0x388e0f[_0x34950a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34950a([0x6f,0x6b]))return _0x34950a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bc462(_0x18a5aa(_0x534e25+_0x2dc142))!=_0x388e0f[_0x34950a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34950a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34950a([0x56,0x61,0x6c,0x69,0x64]);})[_0x34950a([0x74,0x68,0x65,0x6e])](_0x5eed9b=>(_0x160ac4(),_0x5eed9b),()=>{const _0xa6765a=_0x42a734();return null==_0xa6765a?(_0x160ac4(),_0x34950a([0x56,0x61,0x6c,0x69,0x64])):_0x34950a(_0x2573b1-_0xa6765a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34950a([0x74,0x68,0x65,0x6e])](_0xb2b5e9)[_0x34950a([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb2b5e9(_0x34950a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58a616=0x36ee80;function _0x160ac4(){const _0x253832=_0x34950a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bc462(_0x18a5aa(_0xa505e8)),_0x27e9a2=_0x4a0b0d(_0x5bc462(window[_0x34950a([0x4d,0x61,0x74,0x68])][_0x34950a([0x63,0x65,0x69,0x6c])](_0x2573b1/_0x58a616)));window[_0x34950a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34950a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x253832,_0x27e9a2);}function _0x42a734(){const _0x3febd2=_0x34950a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bc462(_0x18a5aa(_0xa505e8)),_0x40b84a=window[_0x34950a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34950a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3febd2);return _0x40b84a?window[_0x34950a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a0b0d(_0x40b84a),0x10)*_0x58a616:null;}function _0x9fba97(_0x3be98d){return new window[(_0x34950a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xad16f7,_0x2deada)=>{_0x3be98d[_0x34950a([0x74,0x68,0x65,0x6e])](_0xad16f7,_0x2deada),window[_0x34950a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2deada,0x1d4c0);});}}_0xc8f63d[_0x34950a([0x6f,0x6e])](_0x34950a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4dc86e,_0x38608c)=>{if(_0x38608c[0x0]!=_0xa505e8)return _0xb2b5e9(_0x34950a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38608c[0x1]={..._0x38608c[0x1],[_0x34950a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x534e25};},{[_0x34950a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34950a([0x68,0x69,0x67,0x68])}),_0xc8f63d[_0x34950a([0x6f,0x6e])](_0x34950a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1656e6=>{_0x4e0b25(_0x1656e6[_0x34950a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf96286=!0x0,_0x5a7624(_0x1656e6[_0x34950a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34950a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34950a([0x6c,0x6f,0x77])}),_0x5777f3[_0x34950a([0x74,0x68,0x65,0x6e])](()=>{_0xf96286||_0xb2b5e9(_0x34950a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x322cec(){return _0xc8f63d[_0x34950a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34950a([0x76,0x69,0x65,0x77])][_0x34950a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34950a([0x61,0x75,0x74,0x6f]);}function _0x348e9e(){_0xc8f63d[_0x34950a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34950a([0x76,0x69,0x65,0x77])][_0x34950a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34950a([0x61,0x75,0x74,0x6f]);}}(_0x58723d[_0x34950a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58723d[_0x34950a([0x6a,0x74,0x69])]));const _0x497049=await(async function(){let _0x27845e=!0x0;try{const _0x29bf96=_0x1c74a5[_0x34950a([0x73,0x70,0x6c,0x69,0x74])](_0x34950a([0x2e])),[_0x26b86c,_0x2afb65,_0x38639b]=_0x29bf96;return _0x211810(_0x26b86c),await _0x1f72bd(_0x26b86c,_0x2afb65,_0x38639b),_0x27845e;}catch{return!0x1;}function _0x211810(_0x2e7f62){const _0x3583d6=_0x542f6c(_0x2e7f62);_0x3583d6&&_0x3583d6[_0x34950a([0x61,0x6c,0x67])]==_0x34950a([0x45,0x53,0x32,0x35,0x36])||(_0x27845e=!0x1);}async function _0x1f72bd(_0x137ec0,_0x19dd5b,_0x3468a4){const _0x1236c8=window[_0x34950a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34950a([0x66,0x72,0x6f,0x6d])](_0x24b5eb(_0x3468a4),_0x4c8385=>_0x4c8385[_0x34950a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c75c0=new window[(_0x34950a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34950a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x137ec0+_0x34950a([0x2e])+_0x19dd5b),_0x2c70bb=window[_0x34950a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34950a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c70bb)return;const _0x2de89d=await _0x2c70bb[_0x34950a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34950a([0x6a,0x77,0x6b]),_0x597bae,{[_0x34950a([0x6e,0x61,0x6d,0x65])]:_0x34950a([0x45,0x43,0x44,0x53,0x41]),[_0x34950a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34950a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34950a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c70bb[_0x34950a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34950a([0x6e,0x61,0x6d,0x65])]:_0x34950a([0x45,0x43,0x44,0x53,0x41]),[_0x34950a([0x68,0x61,0x73,0x68])]:{[_0x34950a([0x6e,0x61,0x6d,0x65])]:_0x34950a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2de89d,_0x1236c8,_0x3c75c0)||(_0x27845e=!0x1);}}());return _0x497049?(function(){const _0x3bcbd9=_0x58723d[_0x34950a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3bcbd9)return!0x1;if(_0x3bcbd9[_0x34950a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34950a([0x2a])))return!0x0;if(_0x3bcbd9[_0x34950a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34950a([0x43,0x4d,0x54])))return!0x0;if(_0x3bcbd9[_0x34950a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34950a([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x34950a([0x67,0x6c,0x6f,0x62])]&&window[_0x34950a([0x67,0x6c,0x6f,0x62])][_0x34950a([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;if(_0x3bcbd9[_0x34950a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34950a([0x52,0x43,0x4d,0x54]))){if(_0x4350d7(_0x34950a([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x256dc2=_0x34950a([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0xc8f63d[_0x34950a([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x34950a([0x67,0x65,0x74])](_0x256dc2))[_0x34950a([0x73,0x74,0x61,0x74,0x65])]==_0x34950a([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x4350d7(_0x34950a([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x4350d7(_0x34950a([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}var _0x256dc2;return!0x1;}())?(function(){const _0x4801f9=[_0x34950a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34950a([0x74,0x72,0x69,0x61,0x6c])][_0x34950a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58723d[_0x34950a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2573b1/0x3e8:0x69b0b080;return _0x58723d[_0x34950a([0x65,0x78,0x70])]<_0x4801f9;}())?_0x34950a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x11b667=_0x58723d[_0x34950a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11b667||0x0==_0x11b667[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x113e65}=new URL(window[_0x34950a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x11b667[_0x34950a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113e65))return!0x0;const _0x3cd6a9=_0x113e65[_0x34950a([0x73,0x70,0x6c,0x69,0x74])](_0x34950a([0x2e]));return _0x11b667[_0x34950a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6fd24e=>_0x6fd24e[_0x34950a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34950a([0x2a])))[_0x34950a([0x6d,0x61,0x70])](_0x5f1a11=>_0x5f1a11[_0x34950a([0x73,0x70,0x6c,0x69,0x74])](_0x34950a([0x2e])))[_0x34950a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39a828=>_0x39a828[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3cd6a9[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34950a([0x6d,0x61,0x70])](_0x5e99f5=>Array(_0x3cd6a9[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e99f5[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34950a([0x66,0x69,0x6c,0x6c])](_0x5e99f5[0x0]===_0x34950a([0x2a])?_0x34950a([0x2a]):'')[_0x34950a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e99f5))[_0x34950a([0x73,0x6f,0x6d,0x65])](_0x1c830d=>_0x3cd6a9[_0x34950a([0x65,0x76,0x65,0x72,0x79])]((_0x1b7f74,_0x2453fb)=>_0x1c830d[_0x2453fb]===_0x1b7f74||_0x1c830d[_0x2453fb]===_0x34950a([0x2a])));}())?(_0x58723d[_0x34950a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34950a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c81a1=function(_0x39339a){const _0x32c852=new window[(_0x34950a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dfd47=>setTimeout(_0x3dfd47,0x93ecc)),_0x337a24=_0x5777f3[_0x34950a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34950a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c7e74=>{let _0x347599=0x0;_0xc8f63d[_0x34950a([0x6d,0x6f,0x64,0x65,0x6c])][_0x34950a([0x6f,0x6e])](_0x34950a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57bc92,_0x3b06f7)=>{_0x3b06f7[0x0][_0x34950a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x347599++,0x5e8==_0x347599&&(_0x4c7e74(),_0x57bc92[_0x34950a([0x6f,0x66,0x66])]());});})),_0x140010=[_0x32c852,_0x337a24];return window[_0x34950a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34950a([0x72,0x61,0x63,0x65])](_0x140010)[_0x34950a([0x74,0x68,0x65,0x6e])](()=>_0x39339a);}(_0x34950a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2c81a1&&_0x4772f0)return new window[(_0x34950a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37acc3,_0x1103d0)=>{_0x2c81a1[_0x34950a([0x74,0x68,0x65,0x6e])](_0x37acc3,_0x1103d0),_0x4772f0[_0x34950a([0x74,0x68,0x65,0x6e])](_0x52a7a3=>{_0x52a7a3!=_0x34950a([0x56,0x61,0x6c,0x69,0x64])&&_0x37acc3(_0x52a7a3);},_0x1103d0);});return _0x2c81a1||_0x4772f0||_0x34950a([0x56,0x61,0x6c,0x69,0x64]);}())):_0x34950a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34950a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34950a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34950a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x542f6c(_0x1df836){return _0x1df836[_0x34950a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34950a([0x65,0x79]))?JSON[_0x34950a([0x70,0x61,0x72,0x73,0x65])](_0x24b5eb(_0x1df836)):null;}function _0x24b5eb(_0x5ae65e){return window[_0x34950a([0x61,0x74,0x6f,0x62])](_0x5ae65e[_0x34950a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34950a([0x2b]))[_0x34950a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34950a([0x2f])));}function _0x18a5aa(_0x2ae76f){let _0x40887a=0x1505;function _0x2cd1b2(_0x344cb3){for(let _0x561d9b=0x0;_0x561d9b<_0x344cb3[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x561d9b++){const _0xce4867=_0x344cb3[_0x34950a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x561d9b);_0x40887a=(_0x40887a<<0x5)+_0x40887a+_0xce4867,_0x40887a&=_0x40887a;}}return function _0x572fa9(_0x462afd){Array[_0x34950a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x462afd)?_0x462afd[_0x34950a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x572fa9):_0x462afd&&typeof _0x462afd==_0x34950a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34950a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x462afd)[_0x34950a([0x73,0x6f,0x72,0x74])]()[_0x34950a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30d75a,_0x17b613])=>{_0x2cd1b2(_0x30d75a),_0x572fa9(_0x17b613);}):_0x2cd1b2(window[_0x34950a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x462afd));}(_0x2ae76f),_0x40887a>>>0x0;}function _0x5bc462(_0x2430b4){return _0x2430b4[_0x34950a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34950a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34950a([0x30]));}function _0x4a0b0d(_0x1abcf1){return _0x1abcf1[_0x34950a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34950a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34950a([0x6a,0x6f,0x69,0x6e])]('');}function _0x4350d7(_0x17bc3f){return _0xc8f63d[_0x34950a([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x34950a([0x68,0x61,0x73])](_0x17bc3f);}function _0x31f5b8(){}function _0x34950a(_0x319c4c){return _0x319c4c['map'](_0x41f51e=>String['fromCharCode'](_0x41f51e))['join']('');}!function(_0x26d7e5){const _0x4d844b=(function(){const _0xc40593=window[_0x34950a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34950a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34950a([0x6e,0x6f,0x77])]())[_0x34950a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34950a([0x2e]),'');let _0x16a6dd=_0x34950a([0x4b]);for(let _0x112211=0x0;_0x112211<_0xc40593[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x112211+=0x2){let _0x4a0000=window[_0x34950a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc40593[_0x34950a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x112211,_0x112211+0x2));_0x4a0000>=_0x3e93a6[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a0000-=_0x3e93a6[_0x34950a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x16a6dd+=_0x3e93a6[_0x4a0000];}return _0x16a6dd;}());_0xc8f63d[_0x4d844b]=_0x34950a([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26d7e5,_0x26d7e5!=_0x34950a([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5777f3,_0xc8f63d[_0x34950a([0x6d,0x6f,0x64,0x65,0x6c])][_0x34950a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x31f5b8,_0xc8f63d[_0x34950a([0x6d,0x6f,0x64,0x65,0x6c])][_0x34950a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x31f5b8,_0xc8f63d[_0x34950a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34950a([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x33193f);}class CommentsUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CommentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,CommentsEditing,EditorAnnotations,Annotations];}get['CommentsListView'](){return CommentsListView;}get['CommentThreadInputView'](){return CommentThreadInputView;}['init'](){const _0x2fdf5f=this['editor'],_0x29733d=_0x2fdf5f['plugins']['get'](CommentsRepository),_0x3b3ea1=_0x2fdf5f['plugins']['get'](CommentsEditing),_0x2bc118=_0x2fdf5f['plugins']['get'](Annotations),_0x234a87=_0x2fdf5f['plugins']['get'](EditorAnnotations);_0x2fdf5f['ui']['componentFactory']['add']('comment',()=>{const _0x4d3af4=this['_createUIButton'](ckeditor5['ButtonView']);return _0x4d3af4['tooltip']=!0x0,_0x4d3af4;}),_0x2fdf5f['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](ckeditor5['MenuBarMenuListItemButtonView'])),_0x234a87['addSourceCollector'](()=>{const _0x23e7d2=[];for(const [_0x586df8,_0x4c7791]of _0x29733d['_threadToController']){const _0x5d38d7=_0x3b3ea1['getAllMarkersForId'](_0x586df8['id']),_0x13580e=_0x5d38d7['map'](_0x4b7c48=>_0x4b7c48['getRange']());_0x5d38d7['length']>0x0&&_0x23e7d2['push']([_0x4c7791['view'],_0x13580e]);}return _0x23e7d2;}),this['listenTo'](_0x2bc118,'change:activeAnnotations',(_0x1b42b1,_0x65aacd,_0x238823)=>{const _0x5ba28a=Array['from'](_0x238823)['map'](_0x52d55d=>_0x52d55d['innerView'])['find'](_0x3e5c2e=>_0x29733d['_viewToController']['has'](_0x3e5c2e));if(!_0x5ba28a)return void(_0x3b3ea1['activeMarker']=null);const _0x53ddc7=_0x29733d['_viewToController']['get'](_0x5ba28a)['model']['id'],_0x509cdf='comment:'+_0x53ddc7;_0x53ddc7&&_0x3b3ea1['hasMarkerForId'](_0x53ddc7)?_0x3b3ea1['activeMarker']=_0x509cdf:_0x3b3ea1['activeMarker']&&(_0x3b3ea1['activeMarker']=null);}),this['listenTo'](_0x29733d,'removeCommentThread',(_0x339162,{threadId:_0x4ebd83,isFromAdapter:_0x328765})=>{!_0x328765&&_0x2fdf5f['ui']['focusTracker']['isFocused']&&_0x3b3ea1['hasMarkerForId'](_0x4ebd83)&&_0x2fdf5f['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x29733d,'addComment',(_0x34fb1b,{threadId:_0x4d41ae,isFromAdapter:_0x50dc9e})=>{if(_0x50dc9e||!_0x3b3ea1['hasMarkerForId'](_0x4d41ae)||!_0x29733d['hasCommentThread'](_0x4d41ae))return;0x1===_0x29733d['getCommentThread'](_0x4d41ae)['length']&&(_0x2fdf5f['editing']['view']['focus'](),_0x34fb1b['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe226f9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x551889;for(const _0x1d8ac3 in _0xe226f9){const _0x1390fa=_0x1d8ac3,_0x1a0eac=_0xe226f9[_0x1390fa];if('commentsLicenseKeyValid'==_0x1a0eac||'commentsLicenseKeyInvalid'==_0x1a0eac||'commentsLicenseKeyExpired'==_0x1a0eac||'commentsLicenseKeyDomainLimit'==_0x1a0eac||'commentsLicenseKeyNotAllowed'==_0x1a0eac||'commentsLicenseKeyEvaluationLimit'==_0x1a0eac||'commentsLicenseKeyUsageLimit'==_0x1a0eac){delete _0xe226f9[_0x1390fa],_0x551889=_0x1a0eac,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x551889&&_0xe226f9['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x551889&&_0xe226f9['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x551889&&_0xe226f9['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x551889&&_0xe226f9['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x551889&&_0xe226f9['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x551889&&_0xe226f9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0xbbb84a){const _0x15c7b5=this['editor'],_0x33f824=new _0xbbb84a(_0x15c7b5['locale']),_0x3aece5=_0x15c7b5['commands']['get']('addCommentThread');return _0x33f824['set']({'label':getTranslation$f(_0x15c7b5['locale'],'Comment'),'icon':ckeditor5['IconAddComment']}),_0x33f824['bind']('isEnabled')['to'](_0x3aece5,'isEnabled',_0x3aece5,'hasContent',(_0x472f01,_0x30da21)=>_0x472f01&&_0x30da21),this['listenTo'](_0x33f824,'execute',()=>{_0x3aece5['execute']();}),_0x33f824;}}class CommentsOnly extends ckeditor5['Plugin']{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x5a1e44){super(_0x5a1e44),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x10718d,_0x11870f,_0x230360)=>{_0x230360?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x5797a0,_0x19b6b8]of this['editor']['commands'])_0x19b6b8['affectsData']&&'addCommentThread'!==_0x5797a0&&_0x19b6b8['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 _0x451bf1=this['editor']['editing']['view']['document'];this['listenTo'](_0x451bf1,'cut',_0x784364=>_0x784364['stop'](),{'priority':'highest'}),this['listenTo'](_0x451bf1,'clipboardInput',_0x32581e=>_0x32581e['stop'](),{'priority':'highest'}),this['listenTo'](_0x451bf1,'delete',_0x3cd84c=>_0x3cd84c['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0xb3c315,_0x103704]of this['editor']['commands'])_0x103704['affectsData']&&'addCommentThread'!==_0xb3c315&&_0x103704['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']);}}class AnnotationsUIs extends ckeditor5['ContextPlugin']{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd3a820){super(_0xd3a820),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x4d5223=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x4d5223,'_activateAnnotation',(_0x2038cb,_0x3eaf6f)=>{for(const _0x1009be of this['activeUIs']){const _0x30f8e7=this['_uis']['get'](_0x1009be);(0x0,this['uisData']['get'](_0x1009be)['filter'])(_0x3eaf6f)&&_0x30f8e7['setActiveAnnotation'](_0x3eaf6f);}}),this['listenTo'](_0x4d5223,'_deactivateAllAnnotations',()=>{for(const _0x8689b9 of this['activeUIs']){this['_uis']['get'](_0x8689b9)['setActiveAnnotation'](null);}}),this['listenTo'](_0x4d5223['_visibleAnnotations'],'add',(_0x420872,_0x37336d)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x37336d);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x38fc5b){return this['activeUIs']['has'](_0x38fc5b);}['activate'](_0x2e98a9,_0x3fb93d=this['defaultFilter']){const _0x24a542=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x2e98a9))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x2e98a9});this['isActive'](_0x2e98a9)&&this['deactivate'](_0x2e98a9),this['activeUIs']['add'](_0x2e98a9);const _0x56f702=new AnnotationCollection();bindAnnotationCollections({'source':_0x24a542['_visibleAnnotations'],'target':_0x56f702,'filter':_0x3fb93d}),this['uisData']['set'](_0x2e98a9,{'collection':_0x56f702,'filter':_0x3fb93d});const _0x7553ed=this['_uis']['get'](_0x2e98a9);_0x7553ed['attach'](_0x56f702),this['listenTo'](_0x7553ed,'change:activeAnnotation',(_0x570936,_0x5aa06c,_0x28803f,_0x44e95d)=>{_0x44e95d&&_0x24a542['_removeActiveAnnotation'](_0x44e95d),_0x28803f&&_0x24a542['_addActiveAnnotation'](_0x28803f);});}['deactivate'](_0x2ebaf6){if(this['activeUIs']['delete'](_0x2ebaf6),!this['_uis']['has'](_0x2ebaf6))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x2ebaf6});const _0x4e1722=this['_uis']['get'](_0x2ebaf6);_0x4e1722['detach'](),this['stopListening'](_0x4e1722),this['uisData']['get'](_0x2ebaf6)['collection']['destroy'](),this['uisData']['delete'](_0x2ebaf6);}['switchTo'](_0x5e4b14){if(!this['_uis']['has'](_0x5e4b14))throw new ckeditor5['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x5e4b14});const _0x3e68ce=this['context']['plugins']['get'](Annotations),_0x52c814=Array['from'](_0x3e68ce['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x5e4b14);const _0x38df51=this['_uis']['get'](_0x5e4b14);_0x38df51['setActiveAnnotation'](_0x52c814),_0x38df51['_setSelectedAnnotations']&&_0x52c814&&_0x38df51['_setSelectedAnnotations']([_0x52c814]);}['deactivateAll'](){for(const _0x378135 of this['activeUIs'])this['deactivate'](_0x378135);}['register'](_0x390ee7,_0x52edce){if(this['_uis']['has'](_0x390ee7))throw new ckeditor5['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x52edce['attach']||'function'!=typeof _0x52edce['detach']||'function'!=typeof _0x52edce['setActiveAnnotation'])throw new ckeditor5['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x390ee7,_0x52edce);}['refilterAnnotations'](){const _0x2e9507=this['context']['plugins']['get'](Annotations)['collection'],_0x37ed12=new Map(),_0x19cb51=Array['from'](this['activeUIs']);for(const _0x2fc4a9 of this['activeUIs']){const _0x2da897=this['uisData']['get'](_0x2fc4a9)['collection'];for(const _0x32f50c of _0x2da897)_0x37ed12['set'](_0x32f50c,_0x2fc4a9);}for(const _0x5c419e of _0x2e9507){const _0x5225c6=_0x37ed12['get'](_0x5c419e);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x5c419e);const _0x32629f=_0x19cb51['find'](_0x568e59=>this['uisData']['get'](_0x568e59)['filter'](_0x5c419e));_0x5225c6!==_0x32629f&&(_0x5225c6&&this['uisData']['get'](_0x5225c6)['collection']['remove'](_0x5c419e),_0x32629f&&this['uisData']['get'](_0x32629f)['collection']['add'](_0x5c419e));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x13e00d){const _0x191f1d=[];for(const _0x1fb763 of this['activeUIs']){(0x0,this['uisData']['get'](_0x1fb763)['filter'])(_0x13e00d)&&_0x191f1d['push'](_0x1fb763);}if(_0x191f1d['length']>0x1)throw new ckeditor5['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x191f1d,'annotationType':_0x13e00d['type']});}}const toPx$2=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarView extends ckeditor5['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x5d126f){super(_0x5d126f);const _0x44b5b0=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 ckeditor5['FocusTracker'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x44b5b0['to']('class')],'style':{'minHeight':_0x44b5b0['to']('minHeight',_0x4659e8=>'number'==typeof _0x4659e8?toPx$2(_0x4659e8+0xa):null)},'dir':_0x5d126f['uiLanguageDirection'],'role':'application','aria-label':getTranslation$f(_0x5d126f,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':getTranslation$f(_0x5d126f,'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',_0x1c506c=>{this['_updateItemPositionInFocusables'](_0x1c506c['source']);}),this['list']['forEach'](_0x1f9e01=>{this['focusTracker']['add'](_0x1f9e01['element']),this['_updateItemPositionInFocusables'](_0x1f9e01);}),this['list']['on']('change',(_0x4d433c,_0x12d6e6)=>{for(const _0x4bcfa3 of _0x12d6e6['removed'])this['focusTracker']['remove'](_0x4bcfa3['element']),this['focusables']['remove'](_0x4bcfa3);for(const _0x554fda of _0x12d6e6['added'])this['focusTracker']['add'](_0x554fda['element']),this['_updateItemPositionInFocusables'](_0x554fda);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x22fd76){const _0x5d989c=this['focusables']['getIndex'](_0x22fd76);let _0x56ca6a,_0x33e801;for(const _0x43b26f of this['focusables'])if(_0x22fd76['top']<_0x43b26f['top']){_0x56ca6a=_0x43b26f;break;}if(_0x33e801=_0x56ca6a?this['focusables']['getIndex'](_0x56ca6a):this['focusables']['length'],-0x1!==_0x5d989c){if(_0x5d989c===_0x33e801-0x1)return;this['focusables']['remove'](_0x22fd76),_0x33e801=_0x56ca6a?this['focusables']['getIndex'](_0x56ca6a):this['focusables']['length'];}this['focusables']['add'](_0x22fd76,_0x33e801);}}const toPx$1=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');class AnnotationsSidebarItemView extends ckeditor5['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x55f92e){super(_0x55f92e),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x35d749,_0x503bc5)=>_0x35d749+_0x503bc5),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=createMutationObserver(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x3fbe6b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x3fbe6b['to']('isAnimationDisabled',_0x59e3ba=>_0x59e3ba?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x3fbe6b['to']('top',_0xe3aebc=>toPx$1(_0xe3aebc))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x2ba1e0=this['element']['clientHeight'];_0x2ba1e0&&(this['height']=_0x2ba1e0);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x34f298 extends ckeditor5['ContextPlugin']{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x372b07){super(_0x372b07),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 _0x156c84=this['context']['config']['get']('sidebar.container');_0x156c84&&this['setContainer'](_0x156c84);}['setContainer'](_0x28b73b){if(!isElement(_0x28b73b))throw new ckeditor5['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x28b73b;}['_attachToContainer']({viewClass:_0x2e8612='',spaceBetweenItems:_0x53e319=0x19}={}){if(!isElement(this['container']))throw new ckeditor5['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x2e8612,this['_spaceBetweenItems']=_0x53e319;}['rearrange']({removedAnnotation:_0x3dfc13,previousAnnotation:_0x3f9ace,nextAnnotation:_0x5e172c}){const _0x236169=this['getSidebarItemView'](_0x3dfc13);this['view']['list']['remove'](_0x236169),this['_destroySidebarItemView'](_0x3dfc13),_0x3f9ace&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x3f9ace)),_0x5e172c&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x5e172c)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x389b9b,activatedAnnotation:_0x345675,disableAnimationOnActivatedAnnotation:_0x5a68dc}){if(this['_activeAnnotation']=_0x345675,_0x389b9b){_0x389b9b['isActive']=!0x1;const _0x46bae8=this['getSidebarItemView'](_0x389b9b);_0x46bae8&&_0x5a68dc&&(_0x46bae8['isAnimationDisabled']=!0x1);}if(_0x345675){const _0x5a903f=this['getSidebarItemView'](_0x345675);_0x5a903f&&(_0x345675['isActive']=!0x0,_0x5a68dc&&(_0x5a903f['isAnimationDisabled']=!0x0,_0x5a903f['top']+=0x1),this['_alignToTargetRect'](_0x5a903f));}}['_detachFromContainer'](_0x538bb9){if(this['view']['element']['remove'](),_0x538bb9){for(const _0x7bf472 of _0x538bb9)this['_destroySidebarItemView'](_0x7bf472);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x1f09fa,_0x3439e0){_0x3439e0||(_0x3439e0=_0x1f09fa['view']);const _0x177119=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x177119,_0x1f09fa),this['_annotationToSidebarItemView']['set'](_0x1f09fa,_0x177119),_0x177119['content']['add'](_0x3439e0),this['listenTo'](_0x1f09fa['view'],'change:targetRect',(_0x79e1ff,_0x501511,_0x1123d9)=>{const _0x32c92a=this['_getTargetTop'](_0x1f09fa,_0x1123d9);_0x177119['_targetTop']!=_0x32c92a&&(_0x177119['_targetTop']=_0x32c92a,this['_setItemTop'](_0x177119,_0x32c92a));}),this['listenTo'](_0x177119,'change:top',()=>{this['_recalculate'](_0x177119,'top');}),this['listenTo'](_0x177119,'change:bottom',()=>{this['_recalculate'](_0x177119,'bottom');}),this['_alignToTargetRect'](_0x177119);const _0x5748d0=this['_getItemBefore'](_0x177119);if(_0x5748d0)this['_alignAfterItem'](_0x5748d0,_0x177119)||this['_alignToTargetRect'](_0x177119);else this['_alignToTargetRect'](_0x177119);return this['_updateLastItem'](),this['view']['list']['add'](_0x177119),_0x177119;}['_alignForTopChange'](_0x22e820){if(!_0x22e820['content']['length'])return;const _0x1b6a6d=this['_getItemBefore'](_0x22e820);if(!_0x1b6a6d)return;const _0x52b35b=this['_sidebarItemViewToAnnotation']['get'](_0x1b6a6d),_0x543ac1=this['_activeAnnotation'];_0x543ac1&&_0x543ac1===_0x52b35b?this['_alignAfterItem'](_0x1b6a6d,_0x22e820):this['_alignBeforeItem'](_0x22e820,_0x1b6a6d);}['_alignForBottomChange'](_0x34c553){if(!_0x34c553['content']['length'])return;const _0x4e7eee=this['_getItemAfter'](_0x34c553);if(!_0x4e7eee)return;const _0x455ef7=this['_sidebarItemViewToAnnotation']['get'](_0x4e7eee),_0x22a25c=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x181dfb=this['_activeAnnotation'];_0x181dfb&&_0x181dfb===_0x455ef7&&_0x22a25c?(this['_alignBeforeItem'](_0x4e7eee,_0x34c553),this['_alignAfterItem'](_0x34c553,_0x4e7eee)):_0x181dfb&&_0x181dfb===_0x455ef7?this['_alignBeforeItem'](_0x4e7eee,_0x34c553):this['_alignAfterItem'](_0x34c553,_0x4e7eee);}['_recalculate'](_0xe3e8cb,_0x4eb3c7){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x1efc80,changedProp:_0x416c67}of this['_recalculateBuffer'])'top'===_0x416c67?this['_alignForTopChange'](_0x1efc80):this['_alignForBottomChange'](_0x1efc80);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0xe3e8cb,'changedProp':_0x4eb3c7});}['getSidebarItemView'](_0x39f420){return this['_annotationToSidebarItemView']['get'](_0x39f420);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x3ceef3){const _0xec1976=this['getSidebarItemView'](_0x3ceef3);this['stopListening'](_0xec1976),this['stopListening'](_0x3ceef3['view']),_0xec1976['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x3ceef3),this['_sidebarItemViewToAnnotation']['delete'](_0xec1976);}['_createSidebarView'](){const _0x368b04=new AnnotationsSidebarView(this['context']['locale']);return _0x368b04['render'](),this['on']('change:_lastItem',(_0x15678f,_0x1054c6,_0x2aee51,_0xa8773a)=>{_0xa8773a&&_0x368b04['unbind']('minHeight'),_0x2aee51?_0x368b04['bind']('minHeight')['to'](_0x2aee51,'bottom'):_0x368b04['minHeight']=null;}),_0x368b04;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x509619){const _0x59ec25=this['_sidebarItemViewToAnnotation']['get'](_0x509619),_0x3cbdd7=_0x59ec25&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x59ec25)-0x1);return _0x3cbdd7&&this['getSidebarItemView'](_0x3cbdd7)||null;}['_getItemAfter'](_0x2aa79d){const _0x4adf57=this['_sidebarItemViewToAnnotation']['get'](_0x2aa79d),_0x4a441c=_0x4adf57&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x4adf57)+0x1);return _0x4a441c&&this['getSidebarItemView'](_0x4a441c)||null;}['_alignBeforeItem'](_0x5428ac,_0xbe3af){_0x5428ac['updateHeight']();const _0x54975a=getOverlap(_0xbe3af['bottom']+this['_spaceBetweenItems'],_0x5428ac['top']);return!!_0x54975a&&(this['_setItemTop'](_0xbe3af,_0xbe3af['top']-_0x54975a),!0x0);}['_alignAfterItem'](_0x4da54a,_0x4840aa){_0x4da54a['updateHeight']();const _0x5bb763=getOverlap(_0x4da54a['bottom']+this['_spaceBetweenItems'],_0x4840aa['top']);return!!_0x5bb763&&(this['_setItemTop'](_0x4840aa,_0x4840aa['top']+_0x5bb763,!0x1),!0x0);}['_alignToTargetRect'](_0x17e15d){const _0x596d81=this['_sidebarItemViewToAnnotation']['get'](_0x17e15d);if(!_0x596d81||!_0x596d81['target']||!_0x596d81['targetRect'])return;const _0xb5016b=this['_getTargetTop'](_0x596d81,_0x596d81['targetRect']);this['_setItemTop'](_0x17e15d,_0xb5016b);}['_getTargetTop'](_0x10fa88,_0x184954){if(null===_0x184954)return 0x0;if(_0x10fa88['target']instanceof ckeditor5['Rect'])return _0x184954['top'];{const _0x48de51=new ckeditor5['Rect'](this['view']['element'])['top'];return _0x184954['top']-_0x48de51;}}['_setItemTop'](_0x5b74ce,_0x5a39cc,_0x14a1c5=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x14a1c5&&(_0x5a39cc=Math['max'](_0x5a39cc,this['_getMaxAvailableTop'](_0x5b74ce))),_0x5b74ce['top']=_0x5a39cc;}['_getMaxAvailableTop'](_0x57e128){let _0x3852d8=this['_getItemBefore'](_0x57e128),_0x260037=0x0;for(;_0x3852d8;)_0x3852d8['updateHeight'](),_0x260037+=this['_spaceBetweenItems']+_0x3852d8['height'],_0x3852d8=this['_getItemBefore'](_0x3852d8);return _0x260037;}}function getOverlap(_0x9ff8fa,_0x4a4535){return Math['max'](_0x9ff8fa-_0x4a4535,0x0);}function isElement(_0x170b19){return null!==_0x170b19&&'object'==typeof _0x170b19&&0x1===_0x170b19['nodeType'];}class _0x262b02 extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x34f298,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x18dd90){super(_0x18dd90),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x53dcc6(()=>{_0x18dd90['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x20c80b=this['context']['plugins']['get'](AnnotationsUIs),_0x10762b=this['context']['plugins']['get'](_0x34f298);_0x20c80b['register']('wideSidebar',this),_0x10762b['container']&&_0x20c80b['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x230fac){if(_0x230fac===this['activeAnnotation'])return;const _0x2421e7=this['context']['plugins']['get'](_0x34f298);_0x2421e7['_activeAnnotation']=_0x230fac;const _0xc745c2=this['activeAnnotation'];_0x2421e7['refresh']({'blurredAnnotation':_0xc745c2,'activatedAnnotation':_0x230fac}),this['activeAnnotation']=_0x230fac;}['attach'](_0x4d7d99){this['annotations']=_0x4d7d99;const _0x53ae0d=this['context']['plugins']['get'](_0x34f298);if(_0x53ae0d['_annotations']=_0x4d7d99,this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x53ae0d,'set:container',()=>{this['detach'](),this['listenTo'](_0x53ae0d,'change:container',_0x3fc870=>{_0x3fc870['off'](),this['attach'](_0x4d7d99);});}),_0x53ae0d['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x3e165a=_0x26be35=>{_0x26be35['updateTargetRect'](),_0x53ae0d['addAnnotation'](_0x26be35);};for(const _0xe012df of _0x4d7d99)_0x3e165a(_0xe012df);this['listenTo'](_0x4d7d99,'add',(_0x627c31,_0x3ce21f)=>{_0x3e165a(_0x3ce21f);}),this['listenTo'](_0x4d7d99,'remove',(_0x472a3d,_0x3a75e5,_0x54ee67)=>{_0x53ae0d['rearrange']({'removedAnnotation':_0x3a75e5,'previousAnnotation':_0x4d7d99['get'](_0x54ee67-0x1),'nextAnnotation':_0x4d7d99['get'](_0x54ee67+0x1)}),_0x3a75e5===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x4d7d99,'focus',(_0x5513d1,_0x3e9a42)=>{this['setActiveAnnotation'](_0x3e9a42);}),this['listenTo'](_0x4d7d99,'blur',()=>{this['setActiveAnnotation'](null);});const _0x1ad8f0=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x34103e of _0x1ad8f0)this['_integrateWithEditorAnnotations'](_0x34103e);this['listenTo'](_0x1ad8f0,'add',(_0x240702,_0x1745b8)=>{this['listenTo'](_0x1745b8,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x1745b8);});}),this['listenTo'](_0x1ad8f0,'remove',(_0x52a75d,_0x22c28a)=>{_0x22c28a['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x22c28a['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x4adfac=this['context']['plugins']['get'](_0x34f298);_0x4adfac['_detachFromContainer'](this['annotations']),this['stopListening'](_0x4adfac),this['stopListening'](this['annotations']),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x1f2af7 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x1f2af7);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x42c04c){if(!_0x42c04c['plugins']['has']('EditorAnnotations'))return;const _0x47b115=_0x42c04c['plugins']['get']('EditorAnnotations'),_0x78c5a9=()=>{const _0x3c6f6b=_0x47b115['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x3c6f6b[0x0]||null);};this['listenTo'](_0x47b115,'refresh',_0x78c5a9),this['listenTo'](_0x47b115,'blur',(_0x568a74,{isAnnotationTracked:_0x30a181})=>{this['activeAnnotation']&&_0x30a181(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x47b115,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0xc28610=>{_0x47b115['hasDomSelection']()&&(_0x78c5a9(),_0xc28610['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x47b115);}['_destroyEditorAnnotationsIntegration'](_0x188be2){this['stopListening'](_0x188be2),this['_editorAnnotations']['remove'](_0x188be2);}}class AnnotationCounterButtonView extends ckeditor5['ButtonView']{['counterView'];constructor(_0x205365){super(_0x205365);const _0x2dbb8f=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x15a23e,_0x5ce0ef)=>_0x15a23e?'...':_0x5ce0ef['toString']()),this['set']('annotationType',''),this['icon']=ckeditor5['IconAddComment'],this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new ckeditor5['View'](),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x2dbb8f['to']('annotationType',_0x3080dd=>'ck-annotation-counter__badge--'+_0x3080dd),_0x2dbb8f['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x2dbb8f['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x56ef59 extends ckeditor5['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x34f298,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x126f8e){super(_0x126f8e),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new ckeditor5['Collection'](),this['_refreshPositioningDebounced']=_0x53dcc6(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['balloonPanelView']=new ckeditor5['BalloonPanelView'](this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x2afd73){this['annotations']=_0x2afd73;const _0x3166ec=this['context']['plugins']['get'](_0x34f298),_0x205291=this['balloonPanelView'];if(_0x3166ec['_annotations']=_0x2afd73,this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x3166ec,'set:container',()=>{this['detach'](),this['listenTo'](_0x3166ec,'change:container',_0x1fcaae=>{_0x1fcaae['off'](),this['attach'](_0x2afd73);});}),_0x3166ec['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x46f09a=_0x5edd1b=>{const _0x45f7a4=new AnnotationCounterButtonView(this['context']['locale']);_0x3166ec['addAnnotation'](_0x5edd1b,_0x45f7a4),this['_annotationToNarrowView']['set'](_0x5edd1b,_0x45f7a4),_0x45f7a4['bind']('isDirty','annotationType','number')['to'](_0x5edd1b['view'],'isDirty','type','length'),_0x45f7a4['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x205291['content']['first']!==_0x5edd1b['view']?(this['_showBalloon'](_0x5edd1b),_0x5edd1b['view']['element']['focus'](),this['setActiveAnnotation'](_0x5edd1b)):this['setActiveAnnotation'](null);});};for(const _0x50b206 of _0x2afd73)_0x46f09a(_0x50b206);this['listenTo'](_0x2afd73,'add',(_0x2cf924,_0x4a36e2)=>{_0x46f09a(_0x4a36e2);}),this['listenTo'](_0x2afd73,'remove',(_0x49b807,_0xb77860,_0x1032ce)=>{this['_annotationToNarrowView']['get'](_0xb77860)['destroy'](),this['_annotationToNarrowView']['delete'](_0xb77860),_0x3166ec['rearrange']({'removedAnnotation':_0xb77860,'previousAnnotation':_0x2afd73['get'](_0x1032ce-0x1),'nextAnnotation':_0x2afd73['get'](_0x1032ce+0x1)}),_0xb77860===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x2afd73,'focus',(_0x2bb902,_0x1bc52e)=>{this['setActiveAnnotation'](_0x1bc52e);}),this['listenTo'](_0x2afd73,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x13e9f5,_0x561085)=>{_0x561085['keyCode']===ckeditor5['keyCodes']['esc']&&_0x205291['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x205291['content']['first']),this['_hideBalloon'](),_0x561085['stopPropagation'](),_0x561085['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x33cc46,_0x51e41f)=>{const _0xcf227d=_0x51e41f['target'];_0x205291['isVisible']&&_0x205291['element']['contains'](_0xcf227d)||_0x3166ec['view']['element']['contains'](_0xcf227d)||_0x33cc46['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x2b2d4d=>_0x2b2d4d['contains'](_0xcf227d))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x116b87=this['context']instanceof ckeditor5['Context']?this['context']['editors']:new ckeditor5['Collection']([this['context']]);for(const _0x1380fd of _0x116b87)this['_integrateWithEditorAnnotations'](_0x1380fd);this['listenTo'](_0x116b87,'add',(_0x5bff4e,_0x269a82)=>{this['listenTo'](_0x269a82,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x269a82);});}),this['listenTo'](_0x116b87,'remove',(_0x1b9c4d,_0x1245d4)=>{_0x1245d4['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x1245d4['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x405907){if(_0x405907===this['activeAnnotation'])return;const _0x1063cd=this['context']['plugins']['get'](_0x34f298);if(_0x1063cd['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x405907,'disableAnimationOnActivatedAnnotation':!0x0}),_0x405907)_0x1063cd['getSidebarItemView'](_0x405907)?this['_showBalloon'](_0x405907):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x405907;}['detach'](){if(!this['isAttached'])throw new ckeditor5['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x32aaa8=this['context']['plugins']['get'](_0x34f298);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x7dff14=>_0x7dff14['destroy']()),this['_annotationToNarrowView']['clear'](),_0x32aaa8['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof ckeditor5['Context']&&this['stopListening'](this['context']['editors']);for(const _0x9be74a of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x9be74a);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'](_0x3fc6c6){if(!_0x3fc6c6['plugins']['has']('EditorAnnotations'))return;const _0x1c72ec=_0x3fc6c6['plugins']['get']('EditorAnnotations'),_0x4b6f78=this['context']['plugins']['get'](_0x34f298),_0x379cba=this['annotations'],_0x3fd016=this['balloonPanelView'],_0x3be06f=()=>{const _0x8ab01=_0x1c72ec['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x8ab01),this['setActiveAnnotation'](_0x8ab01[0x0]||null);};this['listenTo'](_0x1c72ec,'refresh',_0x3be06f),this['listenTo'](_0x1c72ec,'blur',(_0x2b502b,{isAnnotationTracked:_0x534b8a})=>{this['activeAnnotation']&&_0x534b8a(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x1c72ec,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x379cba,'blur',_0x391177=>{_0x1c72ec['hasDomSelection']()&&_0x391177['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x21e088,_0x151eda)=>{const _0x30959f=_0x151eda['target'];_0x3fd016['isVisible']&&_0x3fd016['element']['contains'](_0x30959f)||_0x4b6f78['view']['element']['contains'](_0x30959f)||this['activeAnnotation']&&_0x1c72ec['hasDomSelection']()&&(_0x3be06f(),_0x21e088['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1c72ec);}['_destroyEditorAnnotationsIntegration'](_0x478a39){_0x478a39&&(this['stopListening'](_0x478a39),this['_editorAnnotations']['remove'](_0x478a39));}['_setSelectedAnnotations'](_0x20eaee){for(const _0x3ab4b1 of this['_selectedAnnotations'])_0x20eaee['includes'](_0x3ab4b1)||this['_manuallyClosedAnnotationViews']['delete'](_0x3ab4b1['view']);this['_selectedAnnotations']=_0x20eaee;}['_refreshPositioning'](){const _0x2e647c=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x2e647c['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0xaefa08){if(this['_manuallyClosedAnnotationViews']['has'](_0xaefa08['view']))return;const _0x360b06=this['balloonPanelView']['content']['first'];_0x360b06!==_0xaefa08['view']?(_0x360b06&&this['_detachListeners'](_0x360b06),this['_attachListeners'](_0xaefa08['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0xaefa08['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x403808=this['balloonPanelView']['content']['first'],_0x5a936c=_0x403808&&this['annotations']['getByView'](_0x403808);if(!_0x5a936c||!this['_annotationToNarrowView']['has'](_0x5a936c))return;const _0x27ac3e=this['_annotationToNarrowView']['get'](_0x5a936c)['element'],_0x3d4a9e=getBalloonPositions();this['balloonPanelView']['pin']({'target':_0x27ac3e,'positions':_0x3d4a9e});}['_hideBalloon'](){const _0x124e1d=this['balloonPanelView'],_0x4d3ea7=_0x124e1d['content']['first'];_0x4d3ea7&&(this['_detachListeners'](_0x4d3ea7),_0x124e1d['unpin'](),_0x124e1d['content']['clear']());}['_attachListeners'](_0x136ba3){this['listenTo'](_0x136ba3,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x136ba3,'Esc',(_0x48dc63,_0x4f67df)=>{this['_manuallyClosedAnnotationViews']['add'](_0x136ba3),this['_hideBalloon'](),_0x4f67df();});}['_detachListeners'](_0x4cdf2e){this['stopListening'](_0x4cdf2e);}}function getBalloonPositions(){const _0x26a473=ckeditor5['BalloonPanelView']['defaultPositions'];return[_0x26a473['southArrowNorthEast'],_0x26a473['northArrowSouthEast'],_0x26a473['southArrowNorth'],_0x26a473['northArrowSouth'],_0x26a473['southArrowNorthWest'],_0x26a473['northArrowSouthWest']];}class InlineAnnotations extends ckeditor5['Plugin']{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[EditorAnnotations,ckeditor5['ContextualBalloon'],AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4eb964){super(_0x4eb964),_0x4eb964['editing']['view']['addObserver'](ckeditor5['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x4eb964['plugins']['get'](ckeditor5['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=_0x53dcc6(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x2b1331=this['editor']['plugins']['get'](AnnotationsUIs);_0x2b1331['context']===this['editor']&&(_0x2b1331['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x4456c1,_0x1e437a)=>{const _0x17de64=this['_balloon'];if(this['isAttached']&&_0x17de64['visibleView']){const _0x13bd10=this['annotations']['getByView'](_0x17de64['visibleView']);_0x13bd10&&this['_closeAnnotation'](_0x13bd10),_0x1e437a();}}));}['afterInit'](){const _0x30e5d0=this['editor']['plugins']['get'](AnnotationsUIs);_0x30e5d0['context']===this['editor']&&(_0x30e5d0['hasActive']()||_0x30e5d0['switchTo']('inline'));}['setActiveAnnotation'](_0x4f660e){_0x4f660e!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x4f660e&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x4f660e)&&this['_addAnnotationToBalloon'](_0x4f660e,!0x0),_0x4f660e['isActive']=!0x0),_0x4f660e||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x4f660e);}['attach'](_0x3c66b0){this['annotations']=_0x3c66b0;const _0x1a883e=this['editor']['plugins']['get'](AnnotationsUIs),_0xf78d8=this['_balloon'];if(this['isAttached'])throw new ckeditor5['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x1a883e['context']!==this['editor'])throw new ckeditor5['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x178cfd=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x178cfd,'refresh',()=>{const _0x353a5d=_0x178cfd['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});!this['_forceRefresh']&&_0x13dfe1(_0x353a5d,this['_selectedAnnotations'])||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x353a5d),this['setActiveAnnotation'](_0x353a5d[0x0]||null));}),this['listenTo'](_0x178cfd,'blur',(_0x43730c,{isAnnotationTracked:_0x33c967})=>{this['activeAnnotation']&&_0x33c967(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x178cfd,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x29e4d0,_0x5a61ba,_0x4638fc)=>{_0x4638fc||this['setActiveAnnotation'](null);}),this['listenTo'](_0x3c66b0,'remove',(_0x57aa7a,_0x3f82c3)=>{this['_removeAnnotationFromBalloon'](_0x3f82c3),_0x3f82c3===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0xf78d8,'change:visibleView',(_0x159613,_0x52db00,_0x551e33,_0x34b19c)=>{_0x34b19c&&this['stopListening'](_0x34b19c);const _0x4d8036=_0x3c66b0['getByView'](_0x551e33);_0x551e33&&_0x4d8036&&(this['listenTo'](_0x551e33,'change:height',()=>{_0xf78d8['updatePosition']();}),this['listenTo'](_0x551e33,'Esc',()=>{this['_closeAnnotation'](_0x4d8036),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x4d8036&&this['setActiveAnnotation'](_0x4d8036));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0xf78d8['visibleView']&&(_0x3c66b0['getByView'](_0xf78d8['visibleView'])&&_0xf78d8['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 ckeditor5['CKEditorError']('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x48d035 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x48d035);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x125d9a){for(const _0x200c4f of this['_selectedAnnotations'])_0x125d9a['includes'](_0x200c4f)||this['_manuallyClosed']['delete'](_0x200c4f);for(const _0x4deb83 of this['annotations'])_0x125d9a['includes'](_0x4deb83)||this['_removeAnnotationFromBalloon'](_0x4deb83);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x6690fe of _0x125d9a)this['_addAnnotationToBalloon'](_0x6690fe);}this['_selectedAnnotations']=_0x125d9a;}['_addAnnotationToBalloon'](_0x4d1259,_0x501e8e=!0x1){this['_manuallyClosed']['has'](_0x4d1259)||(this['_addedAnnotations']['has'](_0x4d1259)||this['_balloon']['hasView'](_0x4d1259['view'])||(this['_addedAnnotations']['add'](_0x4d1259),this['_balloon']['add']({'stackId':_0x4d1259['view']['id'],'view':_0x4d1259['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x4d1259)}})),_0x501e8e&&this['_balloon']['showStack'](_0x4d1259['view']['id']));}['_getBalloonTargetForAnnotation'](_0x4b12e0){const _0x39a5bd=_0x4b12e0['target'],_0xb23ba9=this['editor']['editing']['view'],_0x41dd90=_0xb23ba9['document']['selection']['getFirstRange'](),_0x4319e1=_0xb23ba9['domConverter']['viewRangeToDom'](_0x41dd90);if(_0x4319e1['collapse'](!0x0),_0x39a5bd){if(_0x39a5bd instanceof ckeditor5['Rect'])return _0x39a5bd;let _0x35f1a2=[];for(const _0x5e1e85 of _0x39a5bd)_0x35f1a2['push'](...cloneRects(_0x5e1e85['getClientRects']()));_0x35f1a2=joinClientRects(_0x35f1a2);const _0x2299da=_0x4319e1['getBoundingClientRect']();return _0x35f1a2['find'](_0x203e94=>_0x203e94['top']<=_0x2299da['top']&&_0x203e94['bottom']>=_0x2299da['bottom']&&_0x203e94['left']<=_0x2299da['left']&&_0x203e94['right']>=_0x2299da['right'])||_0x35f1a2[0x0];}return _0x4b12e0['targetRect']||_0x4319e1;}['_removeAnnotationFromBalloon'](_0xef88e5){this['_addedAnnotations']['has'](_0xef88e5)&&this['_balloon']['hasView'](_0xef88e5['view'])&&(this['_addedAnnotations']['delete'](_0xef88e5),this['_balloon']['remove'](_0xef88e5['view']));}['_closeAnnotation'](_0x3cbffa){this['_manuallyClosed']['add'](_0x3cbffa),this['_removeAnnotationFromBalloon'](_0x3cbffa);}}function _0x13dfe1(_0x176bc4,_0x299694){return _0x176bc4['length']===_0x299694['length']&&_0x176bc4['every'](_0x5b3651=>_0x299694['includes'](_0x5b3651));}function cloneRects(_0x3ef573){return Array['from'](_0x3ef573)['map'](DOMRect['fromRect']);}function joinClientRects(_0x3669db){const _0x15bc2d=[];let _0x4069f0=_0x3669db[0x0];for(let _0xf7b07b=0x1;_0xf7b07b<_0x3669db['length'];_0xf7b07b++)canJoinRects(_0x4069f0,_0x3669db[_0xf7b07b])?_0x4069f0['width']+=_0x3669db[_0xf7b07b]['width']:(_0x15bc2d['push'](_0x4069f0),_0x4069f0=_0x3669db[_0xf7b07b]);return _0x15bc2d['push'](_0x4069f0),_0x15bc2d;}function canJoinRects(_0x29d513,_0x371590){return _0x29d513['top']===_0x371590['top']&&_0x29d513['bottom']===_0x371590['bottom']&&_0x29d513['right']===_0x371590['left'];}class CommentsArchiveView extends ckeditor5['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x24e857,_0x4d5373){super(_0x24e857),this['set']('isEmpty',!_0x4d5373['length']),this['focusTracker']=new ckeditor5['FocusTracker'](),this['_annotationViews']=_0x4d5373,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':_0x4d5373,'focusTracker':this['focusTracker']}),this['listenTo'](_0x4d5373,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x4d5373,'remove',(_0x248429,_0x5e7453)=>{_0x5e7453['isActive']&&this['focus'](),_0x4d5373['length']||(this['isEmpty']=!0x0);});const _0x319827=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':getTranslation$f(_0x24e857,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x4d5373},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x319827['if']('isEmpty','ck-hidden',_0x2934a7=>!_0x2934a7)]},'children':[{'text':getTranslation$f(_0x24e857,'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 _0xc196e8 of this['_annotationViews'])this['focusTracker']['add'](_0xc196e8['element']);this['_annotationViews']['on']('change',(_0x2c348b,{added:_0xfa2956,removed:_0x88d66d})=>{for(const _0x5c28ac of _0xfa2956)this['focusTracker']['add'](_0x5c28ac['element']);for(const _0x54b156 of _0x88d66d)this['focusTracker']['remove'](_0x54b156['element']);});}}class CommentsArchive extends ckeditor5['ContextPlugin']{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x5057f3){super(_0x5057f3),this['archivedThreads']=new ckeditor5['Collection']();}['init'](){const _0x13d9f4=this['context'],_0x22619a=_0x13d9f4['plugins']['get'](CommentsRepository),_0x453835=_0x13d9f4['plugins']['get'](Annotations);this['listenTo'](_0x22619a,'addCommentThread',(_0x71a402,{threadId:_0x30c8b2})=>{const _0x444cb9=_0x22619a['getCommentThread'](_0x30c8b2);_0x444cb9['archivedAt']&&this['archivedThreads']['add'](_0x444cb9,this['_calculatePosition'](_0x444cb9['archivedAt'])),this['listenTo'](_0x444cb9,'change:archivedAt',(_0x3a0187,_0x3e0456,_0x2e205c)=>{_0x2e205c?this['archivedThreads']['has'](_0x444cb9)||this['archivedThreads']['add'](_0x444cb9,this['_calculatePosition'](_0x444cb9['archivedAt'])):this['archivedThreads']['has'](_0x444cb9)&&this['archivedThreads']['remove'](_0x444cb9);});}),this['listenTo'](_0x22619a,'removeCommentThread',(_0x490f73,{threadId:_0x17bfd2})=>{const _0x2043c5=_0x22619a['getCommentThread'](_0x17bfd2);this['stopListening'](_0x2043c5),this['archivedThreads']['has'](_0x2043c5)&&this['archivedThreads']['remove'](_0x2043c5);},{'priority':'highest'}),this['listenTo'](_0x453835['collection'],'focus',(_0x6be22a,_0x1ebaae)=>{_0x1ebaae['isVisible']||(_0x1ebaae['isActive']=!0x0,_0x453835['activate'](_0x1ebaae));});}['_calculatePosition'](_0x93077f){const _0x200be4=[...this['archivedThreads']]['findIndex'](_0x3dad7c=>_0x3dad7c['archivedAt']<_0x93077f);return _0x200be4>-0x1?_0x200be4:this['archivedThreads']['length'];}}class CommentsArchiveUI extends ckeditor5['Plugin']{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,ckeditor5['Dialog']];}constructor(_0x1f09ee){super(_0x1f09ee),this['annotationViews']=new ckeditor5['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x2451d5=this['editor'],_0x57aac4=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x2451d5['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](ckeditor5['ButtonView'],!0x0)),_0x2451d5['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x45c639=this['_createCommentsArchiveButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x45c639['set']({'role':'menuitemcheckbox'}),_0x45c639;});const _0x4b4803=_0x2451d5['plugins']['get'](CommentsArchive),_0x5db87e=_0x2451d5['plugins']['get']('Annotations'),_0x593e10=_0x2451d5['plugins']['get']('CommentsRepository');_0x4b4803['archivedThreads']['forEach'](_0xf166b2=>{this['_handleNewThread'](_0xf166b2);}),this['listenTo'](_0x4b4803['archivedThreads'],'add',(_0x1cac9d,_0x1f0daa)=>{this['_handleNewThread'](_0x1f0daa);}),this['listenTo'](_0x5db87e['collection'],'add',(_0x36a23a,_0x4a898b)=>{const _0x2c82ae=this['_pendingThreads']['find'](_0x3ebb34=>{const _0x342865=_0x593e10['_threadToController']['get'](_0x3ebb34);return _0x342865&&_0x4a898b['innerView']===_0x342865['view'];});if(_0x2c82ae){const _0x49a1b2=this['_calculatePosition'](_0x2c82ae['archivedAt']);this['_addAnnotationToArchive'](_0x4a898b,_0x49a1b2),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x2c82ae),0x1);}}),this['listenTo'](_0x4b4803['archivedThreads'],'remove',(_0x5dba3d,_0x23edcf)=>{const _0x453480=_0x2451d5['config']['get']('collaboration.channelId');if(!_0x453480||_0x23edcf['channelId']===_0x453480){if(this['_pendingThreads']['includes'](_0x23edcf))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x23edcf),0x1);else{const _0x51f380=_0x593e10['_threadToController']['get'](_0x23edcf),_0xf281df=_0x5db87e['getByInnerView'](_0x51f380['view']);this['annotationViews']['remove'](_0xf281df['view']),this['stopListening'](_0xf281df),this['stopListening'](_0xf281df['focusableElements']);}}}),this['listenTo'](_0x5db87e['collection'],'add',(_0x18e359,_0x51db09)=>{this['listenTo'](_0x51db09,'escape',_0x57aac4);}),this['listenTo'](_0x5db87e['collection'],'remove',(_0x309a98,_0x3c9804)=>{this['stopListening'](_0x3c9804,'escape',_0x57aac4);});}['_addAnnotationToArchive'](_0xf56c70,_0x2ebbac){this['listenTo'](_0xf56c70,'set:isVisible',_0x570bfd=>{_0x570bfd['return']=!0x1,_0x570bfd['stop']();}),this['annotationViews']['add'](_0xf56c70['view'],_0x2ebbac);}['_handleNewThread'](_0x282b5b){const _0x461bf8=this['editor']['plugins']['get']('CommentsRepository'),_0x24e6c4=this['editor']['plugins']['get']('Annotations'),_0x4d132e=this['editor']['config']['get']('collaboration.channelId');if(!_0x4d132e||_0x282b5b['channelId']===_0x4d132e){const _0x19978b=_0x461bf8['_threadToController']['get'](_0x282b5b);if(!_0x19978b)return void this['_pendingThreads']['push'](_0x282b5b);const _0x56b97f=this['_calculatePosition'](_0x282b5b['archivedAt']),_0x109c6b=_0x24e6c4['getByInnerView'](_0x19978b['view']);_0x109c6b['isVisible']&&_0x24e6c4['_visibleAnnotations']['remove'](_0x109c6b),this['_addAnnotationToArchive'](_0x109c6b,_0x56b97f);}}['_calculatePosition'](_0x2d3bd0){const _0x546784=this['editor']['config']['get']('collaboration.channelId'),_0x417030=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x596219=>_0x596219['channelId']===_0x546784)['findIndex'](_0x586d13=>_0x586d13['archivedAt']<_0x2d3bd0);return _0x417030<0x0||_0x417030>this['annotationViews']['length']?this['annotationViews']['length']:_0x417030-0x1;}['_toggleDialog'](){const _0x40f173=this['editor'],_0x521d9a=_0x40f173['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x40f173['locale'],this['annotationViews'])),'commentsArchive'===_0x521d9a['id']?_0x521d9a['hide']():_0x521d9a['show']({'id':'commentsArchive','title':getTranslation$f(_0x40f173['locale'],'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x4a6369,_0x22aa97=!0x1){const _0x339c18=this['editor']['locale'],_0x41f2a5=this['editor']['plugins']['get']('Dialog'),_0x4af185=new _0x4a6369(_0x339c18);return _0x4af185['bind']('isEnabled')['to'](this,'isEnabled'),_0x4af185['bind']('isOn')['to'](_0x41f2a5,'id',_0xf7d83a=>'commentsArchive'===_0xf7d83a),_0x4af185['set']({'label':getTranslation$f(_0x339c18,'COMMENTS_ARCHIVE'),'icon':ckeditor5['IconCommentsArchive'],'isToggleable':!0x0}),_0x22aa97&&(_0x4af185['tooltip']=!0x0),this['listenTo'](_0x4af185,'execute',()=>this['_toggleDialog']()),_0x4af185;}['_hideDialogOnAnnotationEscape']=_0x39470a=>{const _0x35cf7d=_0x39470a['source'];if(!this['annotationViews']['has'](_0x35cf7d['view']))return;const _0x1f075b=this['editor']['plugins']['get']('Dialog');_0x1f075b['isOpen']&&'commentsArchive'===_0x1f075b['id']&&(_0x1f075b['hide'](),_0x39470a['stop']());};}class Comments extends ckeditor5['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x262b02,_0x56ef59,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getElementText(_0x3d78f1){let _0x484d65='';for(const _0x1e48bf of _0x3d78f1['getChildren']())_0x1e48bf instanceof ckeditor5['ModelText']&&(_0x484d65+=_0x1e48bf['data']);return _0x484d65;}function getDefaultFeatureHeadingNames(_0x5cf437){const _0x554d36=_0x5cf437['config']['get']('heading.options');return _0x554d36?_0x554d36['reduce']((_0xe6759a,_0x4adbd3)=>('paragraph'!==_0x4adbd3['model']&&_0xe6759a['push'](_0x4adbd3['model']),_0xe6759a),[]):_0x5cf437['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}class DocumentOutlineUtils extends ckeditor5['Plugin']{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4aea68=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x51a391=[];_0x4aea68['model']['document']['on']('change',_0x53dcc6(()=>{const _0x2c790f=_0x51a391;_0x51a391=this['_getOutlineDefinitions']();const _0x3bceb8=ckeditor5['diff'](_0x2c790f,_0x51a391,(_0x26e91d,_0x28ae61)=>_0x26e91d['level']===_0x28ae61['level']&&_0x26e91d['text']===_0x28ae61['text']&&_0x26e91d['modelElement']===_0x28ae61['modelElement']),_0x555f96=ckeditor5['diffToChanges'](_0x3bceb8,_0x51a391),_0x3a2393=this['_getActiveHeading'](),_0x13e69e=_0x51a391['findIndex'](_0x19b18d=>_0x19b18d['modelElement']===_0x3a2393);_0x555f96['length']&&this['fire']('change',{'outlineDefinitions':_0x51a391,'activeItemIndex':_0x13e69e,'outlineChanges':_0x555f96}),this['fire']('activeItemIndex',{'index':_0x13e69e});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x1fa766=this['editor'],_0x4ccef3=[],_0xb23ac9=this['_headingNames'];for(const _0x57630b of _0x1fa766['model']['document']['getRootNames']())_0x150b5b(_0x1fa766['model']['document']['getRoot'](_0x57630b));function _0x150b5b(_0x411c9d){for(const _0x2e10db of _0x411c9d['getChildren']())_0x2e10db['is']('element')&&(_0xb23ac9['includes'](_0x2e10db['name'])&&_0x4ccef3['push']({'level':_0xb23ac9['indexOf'](_0x2e10db['name'])+0x1,'text':getElementText(_0x2e10db),'modelElement':_0x2e10db}),_0x150b5b(_0x2e10db));}return _0x4ccef3;}['_getActiveHeading'](){const _0xe87743=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x17af77=new ckeditor5['ModelTreeWalker']({'direction':'backward','startPosition':_0xe87743});for(const _0x36d1be of _0x17af77)if(_0x36d1be['item']['is']('element')&&this['_headingNames']['includes'](_0x36d1be['item']['name']))return _0x36d1be['item'];}['_getHeadingNames'](){const _0x2ecb8d=this['editor']['config']['get']('documentOutline.headings');return _0x2ecb8d||getDefaultFeatureHeadingNames(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xb070a7=this['editor'],_0x1fba9a=['h1','h2','h3','h4','h5','h6'],_0x48951f=[];for(const _0x1346b5 of _0x1fba9a){const _0x550773=_0xb070a7['editing']['view']['domConverter']['domToView'](document['createElement'](_0x1346b5)),_0x1d65c2=_0xb070a7['data']['toModel'](_0x550773)['getChild'](0x0);_0x1d65c2?.['is']('element')&&_0x48951f['push'](_0x1d65c2['name']);}this['_headingNames']=_0x48951f;}}function getTranslation$e(_0x5cae7a,_0x45e74e){const t=_0x5cae7a['t'];switch(_0x45e74e){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 _0x45e74e;}}class DocumentOutlineItemView extends ckeditor5['View']{constructor(_0x47c6e1,_0x487ae2=!0x1){super(_0x47c6e1);const _0x23dc93=this['bindTemplate'],_0x2209ca=_0x487ae2?'['+getTranslation$e(_0x47c6e1,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x170b08=>!_0x170b08),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x23dc93['to']('level',_0x1931b7=>'ck-document-outline__item_level-'+_0x1931b7),_0x23dc93['if']('isActive','ck-document-outline__item_active'),_0x23dc93['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x23dc93['to']('text')},'children':[{'text':_0x23dc93['to']('text',_0x3cf93f=>_0x3cf93f||_0x2209ca)}],'on':{'click':_0x23dc93['to']('click')}});}}class DocumentOutlineView extends ckeditor5['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x283721,_0xfd300e=!0x1,_0xc4ae86){super(_0x283721),this['showEmptyHeadingText']=_0xfd300e,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0xc4ae86,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x25ee86,_0x23c0ab,_0x4e04a9,_0x39d58e)=>{this['_setActiveItem'](_0x39d58e,_0x4e04a9);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x283721['contentLanguageDirection'],'data-document-outline-empty-placeholder':getTranslation$e(_0x283721,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x4c7646){_0x4c7646['forEach'](_0x46df4f=>{'insert'==_0x46df4f['type']?this['_insertItem'](_0x46df4f['index'],..._0x46df4f['values']):'delete'==_0x46df4f['type']&&this['_deleteItem'](_0x46df4f['index'],_0x46df4f['howMany']);});}['_setActiveItem'](_0x314bc9,_0x24683f){if(-0x1!==_0x314bc9){const _0x23f180=this['items']['get'](_0x314bc9);_0x23f180&&(_0x23f180['isActive']=!0x1);}-0x1!==_0x24683f&&(this['items']['get'](_0x24683f)['isActive']=!0x0,this['_scrollToItem'](_0x24683f));}['_insertItem'](_0x19de80,..._0x55f95d){const _0x5750f2=_0x55f95d['map']((_0x49a920,_0x1d4771)=>{const _0xac2b6e=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0xac2b6e['text']=_0x49a920['text'],_0xac2b6e['level']=_0x49a920['level'],_0x19de80+_0x1d4771===this['activeItemIndex']&&(_0xac2b6e['isActive']=!0x0),_0xac2b6e;});this['items']['addMany'](_0x5750f2,_0x19de80);}['_deleteItem'](_0x26a354,_0x1877cb){do{this['items']['remove'](_0x26a354);}while(--_0x1877cb);}['_handleItemClick'](_0x387267){const _0x5ea53a=this['items']['getIndex'](_0x387267['source']);this['fire']('itemSelected',_0x5ea53a);}['_scrollToItem'](_0x7f4b55){ckeditor5['scrollAncestorsToShowTarget'](this['items']['get'](_0x7f4b55)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends ckeditor5['Plugin']{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1057b1){super(_0x1057b1),this['view']=new DocumentOutlineView(_0x1057b1['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=throttle$1(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x2f4263=this['editor'],_0x20c52c=_0x2f4263['plugins']['get']('DocumentOutlineUtils');let _0x144a02=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x2f4263['config']['get']('documentOutline.container'))throw new ckeditor5['CKEditorError']('document-outline-container-not-provided',{'editor':_0x2f4263});_0x2f4263['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x20c52c['on']('change',this['_handleOutlineChange']['bind'](this)),_0x20c52c['on']('activeItemIndex',(_0x8da0a3,{index:_0x4fc59d})=>this['_setActiveViewItem'](_0x4fc59d)),this['view']['on']('itemSelected',(_0x5118f5,_0x376038)=>{_0x144a02=!0x0,this['_handleItemSelected'](_0x376038);}),this['view']['listenTo'](ckeditor5['global']['document'],'scroll',()=>{_0x144a02?_0x144a02=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](ckeditor5['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){_0x3d69ec(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x521eaf,{outlineDefinitions:_0x127143,outlineChanges:_0x157408}){this['_currentOutlineDefinitions']=_0x127143,this['view']['sync'](_0x157408);}['_setActiveViewItem'](_0x5a22e8){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x5a22e8]&&(this['view']['activeItemIndex']=_0x5a22e8);}['_handleItemSelected'](_0x3741c9){const _0x2ad4a0=this['_currentOutlineDefinitions'][_0x3741c9]['modelElement'];this['editor']['model']['change'](_0x2d2eae=>{_0x2d2eae['setSelection'](_0x2ad4a0,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x3741c9);}['_updateActiveDefinitionOnViewportChange'](){const _0x438583=this['editor'];let _0x380396;for(const _0x1f8df6 of _0x438583['model']['document']['getRootNames']()){const _0x148412=_0x438583['editing']['view']['getDomRoot'](_0x1f8df6),_0x304934=_0x148412&&new ckeditor5['Rect'](_0x148412)['getVisible']();if(_0x304934){const _0x189f29=new ckeditor5['Rect'](ckeditor5['global']['window'])['getIntersection'](_0x304934);_0x189f29&&(_0x380396=_0x189f29['top']+0.25*_0x189f29['height']);}}if(void 0x0===_0x380396)return;const _0x45d379=binaryActiveDefinitionSearch(_0x438583['editing'],this['_currentOutlineDefinitions'],_0x380396);_0x45d379?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x45d379)):this['_setActiveViewItem'](-0x1);}}function binaryActiveDefinitionSearch(_0x3f3a2b,_0x27d03d,_0x23b6e9,_0x4e5c13=0x0,_0x5b7e16=_0x27d03d['length']-0x1){const _0x826050=Math['floor'](_0x4e5c13+(_0x5b7e16-_0x4e5c13)/0x2);if(_0x5b7e16>=_0x4e5c13){const _0x51b43a=_0x27d03d[_0x826050],_0x84aa25=_0x3f3a2b['mapper']['toViewElement'](_0x51b43a['modelElement']);if(!_0x84aa25)return null;const _0x97a079=_0x3f3a2b['view']['domConverter']['mapViewToDom'](_0x84aa25);return new ckeditor5['Rect'](_0x97a079)['bottom']>_0x23b6e9?binaryActiveDefinitionSearch(_0x3f3a2b,_0x27d03d,_0x23b6e9,_0x4e5c13,_0x826050-0x1):binaryActiveDefinitionSearch(_0x3f3a2b,_0x27d03d,_0x23b6e9,_0x826050+0x1,_0x5b7e16);}return _0x826050<0x0?null:_0x27d03d[_0x826050];}async function _0x3d69ec(_0x3e4b41){const _0x49449f=_0x1aada6([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x30c19f=window[_0x1aada6([0x44,0x61,0x74,0x65])][_0x1aada6([0x6e,0x6f,0x77])](),_0x3ad83e=_0x3e4b41[_0x1aada6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x138e64=new window[(_0x1aada6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31b617=>{_0x3ad83e[_0x1aada6([0x6f,0x6e,0x63,0x65])](_0x1aada6([0x72,0x65,0x61,0x64,0x79]),_0x31b617);}),_0x4e7f46={[_0x1aada6([0x6b,0x74,0x79])]:_0x1aada6([0x45,0x43]),[_0x1aada6([0x75,0x73,0x65])]:_0x1aada6([0x73,0x69,0x67]),[_0x1aada6([0x63,0x72,0x76])]:_0x1aada6([0x50,0x2d,0x32,0x35,0x36]),[_0x1aada6([0x78])]:_0x1aada6([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1aada6([0x79])]:_0x1aada6([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1aada6([0x61,0x6c,0x67])]:_0x1aada6([0x45,0x53,0x32,0x35,0x36])},_0x8c6fd3=_0x3ad83e[_0x1aada6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1aada6([0x67,0x65,0x74])](_0x1aada6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x356c28=await(async function(){let _0x5a845b,_0x35dc28=null,_0x593ec8=null;try{if(_0x8c6fd3==_0x1aada6([0x47,0x50,0x4c]))return _0x1aada6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a845b=(function(){const _0x28cf66=_0x8c6fd3[_0x1aada6([0x73,0x70,0x6c,0x69,0x74])](_0x1aada6([0x2e]));if(0x3!=_0x28cf66[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x440ac4=_0x28cf66[0x1];return _0xe5f1dd(_0x440ac4);function _0xe5f1dd(_0x567822){const _0x24571e=_0xd97cbe(_0x567822);return _0x24571e&&_0xcb09dc()?_0x24571e:null;function _0xcb09dc(){const _0x776654=_0x24571e[_0x1aada6([0x6a,0x74,0x69])],_0x10b455=window[_0x1aada6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x776654[_0x1aada6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x776654[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16ba4e={..._0x24571e,[_0x1aada6([0x6a,0x74,0x69])]:_0x776654[_0x1aada6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x776654[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16ba4e[_0x1aada6([0x76,0x63])],_0xa3cb84(_0x16ba4e)==_0x10b455;}}}()),!_0x5a845b)return _0x1aada6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5a845b[_0x1aada6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x593ec8=function(_0x3e7a9a,_0x55c90f){return new window[(_0x1aada6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd10b57=>{if(_0x47e49c())return _0xd10b57(_0x1aada6([0x56,0x61,0x6c,0x69,0x64]));_0x453e45(),_0x3ad83e[_0x1aada6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1aada6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ceed8=!0x1;const _0x91e2bb=ckeditor5['uid']();function _0x21d129(_0x430973){return!!_0x430973&&(typeof _0x430973===_0x1aada6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x430973===_0x1aada6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x430973[_0x1aada6([0x74,0x68,0x65,0x6e])]===_0x1aada6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x430973[_0x1aada6([0x63,0x61,0x74,0x63,0x68])]===_0x1aada6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56e159(_0x4a9577){_0x19a052(_0x4a9577)[_0x1aada6([0x74,0x68,0x65,0x6e])](_0x5d2db6=>{if(!_0x5d2db6||_0x5d2db6[_0x1aada6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1aada6([0x6f,0x6b]))return _0x1aada6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x767c4b(_0xa3cb84(_0x91e2bb+_0x55c90f))!=_0x5d2db6[_0x1aada6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1aada6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1aada6([0x56,0x61,0x6c,0x69,0x64]);})[_0x1aada6([0x74,0x68,0x65,0x6e])](_0x59ecaa=>(_0x5cbe2b(),_0x59ecaa),()=>{const _0x2f77e6=_0x1012d2();return null==_0x2f77e6?(_0x5cbe2b(),_0x1aada6([0x56,0x61,0x6c,0x69,0x64])):_0x1aada6(_0x30c19f-_0x2f77e6>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1aada6([0x74,0x68,0x65,0x6e])](_0xd10b57)[_0x1aada6([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd10b57(_0x1aada6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d9f2d=0x36ee80;function _0x5cbe2b(){const _0x425e80=_0x1aada6([0x6c,0x6c,0x63,0x74,0x2d])+_0x767c4b(_0xa3cb84(_0x3e7a9a)),_0x1d709f=_0x370b4d(_0x767c4b(window[_0x1aada6([0x4d,0x61,0x74,0x68])][_0x1aada6([0x63,0x65,0x69,0x6c])](_0x30c19f/_0x5d9f2d)));window[_0x1aada6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1aada6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x425e80,_0x1d709f);}function _0x1012d2(){const _0x4126cf=_0x1aada6([0x6c,0x6c,0x63,0x74,0x2d])+_0x767c4b(_0xa3cb84(_0x3e7a9a)),_0xc6bc94=window[_0x1aada6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1aada6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4126cf);return _0xc6bc94?window[_0x1aada6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x370b4d(_0xc6bc94),0x10)*_0x5d9f2d:null;}function _0x19a052(_0x4b856e){return new window[(_0x1aada6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13bfeb,_0x1e4b66)=>{_0x4b856e[_0x1aada6([0x74,0x68,0x65,0x6e])](_0x13bfeb,_0x1e4b66),window[_0x1aada6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e4b66,0x1d4c0);});}}_0x3ad83e[_0x1aada6([0x6f,0x6e])](_0x1aada6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5256d9,_0x59a609)=>{if(_0x59a609[0x0]!=_0x3e7a9a)return _0xd10b57(_0x1aada6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59a609[0x1]={..._0x59a609[0x1],[_0x1aada6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x91e2bb};},{[_0x1aada6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1aada6([0x68,0x69,0x67,0x68])}),_0x3ad83e[_0x1aada6([0x6f,0x6e])](_0x1aada6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x243457=>{_0x21d129(_0x243457[_0x1aada6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ceed8=!0x0,_0x56e159(_0x243457[_0x1aada6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1aada6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1aada6([0x6c,0x6f,0x77])}),_0x138e64[_0x1aada6([0x74,0x68,0x65,0x6e])](()=>{_0x1ceed8||_0xd10b57(_0x1aada6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47e49c(){return _0x3ad83e[_0x1aada6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1aada6([0x76,0x69,0x65,0x77])][_0x1aada6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1aada6([0x61,0x75,0x74,0x6f]);}function _0x453e45(){_0x3ad83e[_0x1aada6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1aada6([0x76,0x69,0x65,0x77])][_0x1aada6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1aada6([0x61,0x75,0x74,0x6f]);}}(_0x5a845b[_0x1aada6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a845b[_0x1aada6([0x6a,0x74,0x69])]));const _0x154ab9=await(async function(){let _0x14f8f8=!0x0;try{const _0x14e2a4=_0x8c6fd3[_0x1aada6([0x73,0x70,0x6c,0x69,0x74])](_0x1aada6([0x2e])),[_0x2d405b,_0x1d1bf5,_0x26ce54]=_0x14e2a4;return _0x7cfd33(_0x2d405b),await _0x2edde2(_0x2d405b,_0x1d1bf5,_0x26ce54),_0x14f8f8;}catch{return!0x1;}function _0x7cfd33(_0x2be6ce){const _0x13a801=_0xd97cbe(_0x2be6ce);_0x13a801&&_0x13a801[_0x1aada6([0x61,0x6c,0x67])]==_0x1aada6([0x45,0x53,0x32,0x35,0x36])||(_0x14f8f8=!0x1);}async function _0x2edde2(_0x6248f4,_0x5df6ad,_0x4e0994){const _0x341348=window[_0x1aada6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1aada6([0x66,0x72,0x6f,0x6d])](_0x29f224(_0x4e0994),_0x352120=>_0x352120[_0x1aada6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x186298=new window[(_0x1aada6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1aada6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6248f4+_0x1aada6([0x2e])+_0x5df6ad),_0x5d244b=window[_0x1aada6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1aada6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d244b)return;const _0x48d7bb=await _0x5d244b[_0x1aada6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1aada6([0x6a,0x77,0x6b]),_0x4e7f46,{[_0x1aada6([0x6e,0x61,0x6d,0x65])]:_0x1aada6([0x45,0x43,0x44,0x53,0x41]),[_0x1aada6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1aada6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1aada6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d244b[_0x1aada6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1aada6([0x6e,0x61,0x6d,0x65])]:_0x1aada6([0x45,0x43,0x44,0x53,0x41]),[_0x1aada6([0x68,0x61,0x73,0x68])]:{[_0x1aada6([0x6e,0x61,0x6d,0x65])]:_0x1aada6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48d7bb,_0x341348,_0x186298)||(_0x14f8f8=!0x1);}}());return _0x154ab9?(function(){const _0x21af3a=_0x5a845b[_0x1aada6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x21af3a)return!0x1;if(_0x21af3a[_0x1aada6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aada6([0x2a])))return!0x0;if(_0x21af3a[_0x1aada6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aada6([0x44,0x4f])))return!0x0;if(_0x21af3a[_0x1aada6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aada6([0x50,0x50])))return!0x0;if(_0x21af3a[_0x1aada6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aada6([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x1aada6([0x67,0x6c,0x6f,0x62])]&&window[_0x1aada6([0x67,0x6c,0x6f,0x62])][_0x1aada6([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x4534b9=[_0x1aada6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1aada6([0x74,0x72,0x69,0x61,0x6c])][_0x1aada6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a845b[_0x1aada6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30c19f/0x3e8:0x69b0b080;return _0x5a845b[_0x1aada6([0x65,0x78,0x70])]<_0x4534b9;}())?_0x1aada6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x66d8c3=_0x5a845b[_0x1aada6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x66d8c3||0x0==_0x66d8c3[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x143c8e}=new URL(window[_0x1aada6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x66d8c3[_0x1aada6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x143c8e))return!0x0;const _0xadc328=_0x143c8e[_0x1aada6([0x73,0x70,0x6c,0x69,0x74])](_0x1aada6([0x2e]));return _0x66d8c3[_0x1aada6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34bb27=>_0x34bb27[_0x1aada6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aada6([0x2a])))[_0x1aada6([0x6d,0x61,0x70])](_0x177ea4=>_0x177ea4[_0x1aada6([0x73,0x70,0x6c,0x69,0x74])](_0x1aada6([0x2e])))[_0x1aada6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cfcef=>_0x5cfcef[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xadc328[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1aada6([0x6d,0x61,0x70])](_0x29ea64=>Array(_0xadc328[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29ea64[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1aada6([0x66,0x69,0x6c,0x6c])](_0x29ea64[0x0]===_0x1aada6([0x2a])?_0x1aada6([0x2a]):'')[_0x1aada6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29ea64))[_0x1aada6([0x73,0x6f,0x6d,0x65])](_0x41beb5=>_0xadc328[_0x1aada6([0x65,0x76,0x65,0x72,0x79])]((_0x2ce4da,_0x459da6)=>_0x41beb5[_0x459da6]===_0x2ce4da||_0x41beb5[_0x459da6]===_0x1aada6([0x2a])));}())?(_0x5a845b[_0x1aada6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1aada6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35dc28=function(_0x28bd92){const _0x33cab1=new window[(_0x1aada6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c27e0=>setTimeout(_0x3c27e0,0x93ecc)),_0x4bb9d6=_0x138e64[_0x1aada6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1aada6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29454f=>{let _0x153752=0x0;_0x3ad83e[_0x1aada6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aada6([0x6f,0x6e])](_0x1aada6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x253040,_0x3ca359)=>{_0x3ca359[0x0][_0x1aada6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x153752++,0x5e8==_0x153752&&(_0x29454f(),_0x253040[_0x1aada6([0x6f,0x66,0x66])]());});})),_0xdd45ae=[_0x33cab1,_0x4bb9d6];return window[_0x1aada6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1aada6([0x72,0x61,0x63,0x65])](_0xdd45ae)[_0x1aada6([0x74,0x68,0x65,0x6e])](()=>_0x28bd92);}(_0x1aada6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x35dc28&&_0x593ec8)return new window[(_0x1aada6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3de780,_0x2b867b)=>{_0x35dc28[_0x1aada6([0x74,0x68,0x65,0x6e])](_0x3de780,_0x2b867b),_0x593ec8[_0x1aada6([0x74,0x68,0x65,0x6e])](_0x13ee6e=>{_0x13ee6e!=_0x1aada6([0x56,0x61,0x6c,0x69,0x64])&&_0x3de780(_0x13ee6e);},_0x2b867b);});return _0x35dc28||_0x593ec8||_0x1aada6([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1aada6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1aada6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1aada6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1aada6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0xd97cbe(_0x96be24){return _0x96be24[_0x1aada6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1aada6([0x65,0x79]))?JSON[_0x1aada6([0x70,0x61,0x72,0x73,0x65])](_0x29f224(_0x96be24)):null;}function _0x29f224(_0x2595a7){return window[_0x1aada6([0x61,0x74,0x6f,0x62])](_0x2595a7[_0x1aada6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1aada6([0x2b]))[_0x1aada6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1aada6([0x2f])));}function _0xa3cb84(_0x1255f7){let _0x429456=0x1505;function _0x533841(_0x37c36c){for(let _0x50e69d=0x0;_0x50e69d<_0x37c36c[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50e69d++){const _0x352486=_0x37c36c[_0x1aada6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50e69d);_0x429456=(_0x429456<<0x5)+_0x429456+_0x352486,_0x429456&=_0x429456;}}return function _0x18aeba(_0x154890){Array[_0x1aada6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x154890)?_0x154890[_0x1aada6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18aeba):_0x154890&&typeof _0x154890==_0x1aada6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1aada6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x154890)[_0x1aada6([0x73,0x6f,0x72,0x74])]()[_0x1aada6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc0c781,_0x596720])=>{_0x533841(_0xc0c781),_0x18aeba(_0x596720);}):_0x533841(window[_0x1aada6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x154890));}(_0x1255f7),_0x429456>>>0x0;}function _0x767c4b(_0x5e2f7f){return _0x5e2f7f[_0x1aada6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1aada6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1aada6([0x30]));}function _0x370b4d(_0x295795){return _0x295795[_0x1aada6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1aada6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1aada6([0x6a,0x6f,0x69,0x6e])]('');}function _0x36f2b2(){}function _0x1aada6(_0x1ececf){return _0x1ececf['map'](_0x2ca743=>String['fromCharCode'](_0x2ca743))['join']('');}!function(_0x2660b9){const _0x6148dc=(function(){const _0x16bced=window[_0x1aada6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1aada6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1aada6([0x6e,0x6f,0x77])]())[_0x1aada6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1aada6([0x2e]),'');let _0x391add=_0x1aada6([0x61]);for(let _0x318ad5=0x0;_0x318ad5<_0x16bced[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x318ad5+=0x2){let _0x241995=window[_0x1aada6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16bced[_0x1aada6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x318ad5,_0x318ad5+0x2));_0x241995>=_0x49449f[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x241995-=_0x49449f[_0x1aada6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x391add+=_0x49449f[_0x241995];}return _0x391add;}());_0x3ad83e[_0x6148dc]=_0x1aada6([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2660b9,_0x2660b9!=_0x1aada6([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x138e64,_0x3ad83e[_0x1aada6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aada6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36f2b2,_0x3ad83e[_0x1aada6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aada6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36f2b2,_0x3ad83e[_0x1aada6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1aada6([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x356c28);}class DocumentOutline extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4aa0b9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1bcc45;for(const _0x57027d in _0x4aa0b9){const _0x3a78b3=_0x57027d,_0x44dc55=_0x4aa0b9[_0x3a78b3];if('documentOutlineLicenseKeyValid'==_0x44dc55||'documentOutlineLicenseKeyInvalid'==_0x44dc55||'documentOutlineLicenseKeyExpired'==_0x44dc55||'documentOutlineLicenseKeyDomainLimit'==_0x44dc55||'documentOutlineLicenseKeyNotAllowed'==_0x44dc55||'documentOutlineLicenseKeyEvaluationLimit'==_0x44dc55||'documentOutlineLicenseKeyUsageLimit'==_0x44dc55){delete _0x4aa0b9[_0x3a78b3],_0x1bcc45=_0x44dc55,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x1bcc45&&_0x4aa0b9['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x1bcc45&&_0x4aa0b9['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x1bcc45&&_0x4aa0b9['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x1bcc45&&_0x4aa0b9['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x1bcc45&&_0x4aa0b9['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x1bcc45&&_0x4aa0b9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends ckeditor5['Command']{['execute'](){this['editor']['model']['change'](_0x361f05=>{this['editor']['model']['insertObject'](_0x361f05['createElement']('tableOfContents'));});}['refresh'](){const _0x102113=this['editor']['model'],_0x285a29=_0x102113['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x285a29&&_0x102113['schema']['findAllowedParent'](_0x285a29,'tableOfContents'));}}class _0x3b6d4c extends ckeditor5['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x577896=this['editor'];if(_0x577896['config']['get']('headingId.modelAttributeName'))return;getDefaultHeadingMapNames(this['editor']['config']['get']('heading.options'))['forEach']((_0x330b28,_0x65a2c3)=>{this['_customUpcastHeadingsConversion'](_0x65a2c3),this['_customDataDowncastHeadingsConversion'](_0x330b28),_0x577896['model']['schema']['isRegistered'](_0x330b28)&&_0x577896['model']['schema']['extend'](_0x330b28,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x3975f5){this['editor']['conversion']['for']('upcast')['add'](_0x23c23b=>_0x23c23b['on']('element:'+_0x3975f5,(_0x25becd,_0x17c702,_0x2ff10f)=>{const {consumable:_0x35ff55,writer:_0x1ca930}=_0x2ff10f,_0x354186=_0x17c702['viewItem']['getAttribute']('id'),_0x541e0d=_0x17c702['modelRange']['getContainedElement']();if(_0x541e0d)return _0x354186&&_0x354186['length']||_0x541e0d['hasAttribute']('headingId')?void(_0x35ff55['consume'](_0x17c702['viewItem'],{'attributes':['id']})&&_0x1ca930['setAttribute']('headingId',_0x354186,_0x541e0d)):(_0x35ff55['consume'](_0x17c702['viewItem'],{'attributes':['id']}),void _0x1ca930['setAttribute']('headingId',ckeditor5['uid'](),_0x541e0d));},{'priority':ckeditor5['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x2149e8){this['editor']['conversion']['for']('downcast')['add'](_0x1b2be6=>_0x1b2be6['on']('attribute:headingId:'+_0x2149e8,(_0x4a1df8,_0x4007fe,_0x19455f)=>{if(!_0x19455f['consumable']['consume'](_0x4007fe['item'],_0x4a1df8['name']))return;const _0x327dcb=_0x4007fe['item']['getAttribute']('headingId'),_0x50b399=_0x19455f['mapper']['toViewElement'](_0x4007fe['item']);_0x19455f['writer']['setAttribute']('id',_0x327dcb,_0x50b399);}));}['_registerHeadingIdAttributePostfixer'](){const _0x4f4db7=this['editor'],_0x3dad4e=new Set(),_0x3a66f5=new Set();function _0x5c7bf2(_0x478b01,_0x297924){const _0x1c7262=ckeditor5['uid']();return _0x3a66f5['add'](_0x1c7262),_0x478b01['setAttribute']('headingId',_0x1c7262,_0x297924),_0x1c7262;}function _0x1798cb(_0x49320e,_0x1df640){_0x49320e['removeAttribute']('headingId',_0x1df640);}_0x4f4db7['model']['document']['registerPostFixer'](_0x4da10d=>{const _0x8fbbad=_0x4f4db7['model']['document']['differ']['getChanges']();let _0x2f0e8d=!0x1;for(const _0x4788c6 of _0x8fbbad)if('insert'==_0x4788c6['type']&&_0x4788c6['name']){if(_0x27804a(_0x4788c6['name'])){const _0x5ae35a=_0x4788c6['attributes']['get']('headingId');'string'==typeof _0x5ae35a?_0x3dad4e['has'](_0x5ae35a)?(_0x5c7bf2(_0x4da10d,_0x4788c6['position']['nodeAfter']),_0x2f0e8d=!0x0):_0x3a66f5['add'](_0x5ae35a):(_0x5c7bf2(_0x4da10d,_0x4788c6['position']['nodeAfter']),_0x2f0e8d=!0x0);}else'string'==typeof _0x4788c6['attributes']['get']('headingId')&&(_0x1798cb(_0x4da10d,_0x4788c6['position']['nodeAfter']),_0x2f0e8d=!0x0);}else{if('remove'==_0x4788c6['type']){const _0x5ee895=_0x4788c6['attributes']['get']('headingId');'string'==typeof _0x5ee895&&_0x3dad4e['delete'](_0x5ee895);}}return _0x2f0e8d;}),_0x4f4db7['model']['document']['on']('change',()=>{_0x3a66f5['forEach'](_0x40e886=>_0x3dad4e['add'](_0x40e886)),_0x3a66f5['clear']();});}}function _0x27804a(_0x4d0d83){return!!_0x4d0d83['match'](/heading\d/);}function getDefaultHeadingMapNames(_0x250440){const _0x3cb024=new Map();return _0x250440?(_0x250440['forEach'](_0x20aaba=>{'paragraph'!==_0x20aaba['model']&&_0x3cb024['set'](_0x20aaba['view'],_0x20aaba['model']);}),_0x3cb024['get']('h1')||_0x3cb024['set']('h1','heading1'),_0x3cb024):_0x3cb024;}class TableOfContentsEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['Widget'],DocumentOutlineUtils,_0x3b6d4c];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x2c880e){super(_0x2c880e),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x9773ba=this['editor'],_0x2772e5=_0x9773ba['editing']['view']['document'];_0x9773ba['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x9773ba['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x2772e5,'click',(_0x322567,_0x1739fd)=>{if(!_0x1739fd['target'])return;const _0x5da091=_0x1739fd['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5da091)&&(_0x1739fd['domEvent']['preventDefault'](),_0x322567['stop'](),this['_handleScrollToHeading'](_0x5da091));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x9773ba['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x9773ba)),(_0x9773ba['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x15f163,_0xd1555b)=>{this['_currentOutlineDefinitions']=_0xd1555b['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x9773ba['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){_0x5bb14c(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x5a8eff=>{'$graveyard'!==_0x5a8eff['rootName']&&this['editor']['editing']['reconvertItem'](_0x5a8eff);});}['_trackNewToCElements'](){for(const _0x2ba74e of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2ba74e['type']||'tableOfContents'!==_0x2ba74e['name'])return;this['_tableOfContentsElements']['add'](_0x2ba74e['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x550db0=this['editor']['conversion'];_0x550db0['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x550db0['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x529082,{writer:_0x1b047c})=>this['_createTableOfContents'](_0x1b047c,!0x0)}),_0x550db0['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2f88f9,{writer:_0x13525c})=>{this['_tableOfContentsElements']['add'](_0x2f88f9);const _0x357953=this['_createTableOfContents'](_0x13525c);return ckeditor5['toWidget'](_0x357953,_0x13525c,{'label':getTranslation$e(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'](_0x26587b,_0x266bd8=!0x1){const {locale:_0x20dab1}=this['editor'],_0x57c6f7=_0x26587b['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x266bd8&&{'data-table-of-contents-label':getTranslation$e(_0x20dab1,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x266bd8&&_0x26587b['insert'](_0x26587b['createPositionAt'](_0x57c6f7,'end'),_0x26587b['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x26587b['createText'](getTranslation$e(_0x20dab1,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x47181e=_0x266bd8?'':'['+getTranslation$e(_0x20dab1,'Empty\x20heading')+']';let _0x8f4580=_0x57c6f7;return this['_currentOutlineDefinitions']['forEach']((_0x445a62,_0x5f4677,_0x2f013d)=>{const _0x67314e=this['editor']['model']['hasContent'](_0x445a62['modelElement'],{'ignoreWhitespaces':!0x0}),_0xbe9195=_0x67314e?_0x445a62['text']:_0x47181e,_0x145f55=_0x445a62['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x659562=_0x26587b['createContainerElement']('a',{'href':'#'+_0x145f55,...!_0x266bd8&&{'tabindex':'-1'}},[_0x26587b['createText'](_0xbe9195)]),_0x1b1c98=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x26587b['setCustomProperty']('tableOfContentsHeadingIndex',_0x5f4677,_0x659562);const _0x462270=_0x26587b['createContainerElement']('li',null,[_0x67314e||!_0x266bd8&&_0x1b1c98?_0x659562:_0x26587b['createText']('')]),_0x524de7=_0x5f4677?_0x2f013d[_0x5f4677-0x1]['level']:0x0,_0x436498=Math['abs'](_0x445a62['level']-_0x524de7);if(_0x445a62['level']>_0x524de7){const _0x1b5a13=wrapInList(_0x462270,_0x436498,_0x26587b);_0x26587b['insert'](_0x26587b['createPositionAt'](_0x8f4580,'end'),_0x1b5a13);}else{const _0xd2b7f9=getOuterListByLevelDifference(_0x8f4580,_0x436498);_0x26587b['insert'](_0x26587b['createPositionAt'](_0xd2b7f9,'end'),_0x462270);}_0x8f4580=_0x462270;}),_0x57c6f7;}['_handleScrollToHeading'](_0xbcd459){const _0x298046=this['_currentOutlineDefinitions'][_0xbcd459]['modelElement'];this['editor']['model']['change'](_0x444070=>{_0x444070['setSelection'](_0x298046,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x10829d,_0x1f7ada)=>{const _0x1d0ec2=_0x1f7ada['mapper'],_0x3b95c8=_0x1d0ec2['findMappedViewAncestor'](_0x1f7ada['viewPosition']),_0x4a824e=_0x1d0ec2['toModelElement'](_0x3b95c8);_0x4a824e['is']('element','tableOfContents')&&(_0x1f7ada['modelPosition']=this['editor']['model']['createPositionAt'](_0x4a824e,0x0),_0x10829d['stop']());};}}function wrapInList(_0x1d3d0c,_0x1cd9e6,_0x3bb6ee){return 0x1===_0x1cd9e6?_0x3bb6ee['createContainerElement']('ol',null,[_0x1d3d0c]):_0x3bb6ee['createContainerElement']('ol',null,[_0x3bb6ee['createContainerElement']('li',null,[wrapInList(_0x1d3d0c,_0x1cd9e6-0x1,_0x3bb6ee)])]);}function getOuterListByLevelDifference(_0x5a6e51,_0x42c205){return _0x5a6e51['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x120a1e=>_0x120a1e['is']('element','ol'))[_0x42c205];}async function _0x5bb14c(_0x584303){const _0x114d88=_0x1b4d47([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x9c5993=window[_0x1b4d47([0x44,0x61,0x74,0x65])][_0x1b4d47([0x6e,0x6f,0x77])](),_0x47ab08=_0x584303[_0x1b4d47([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e610d=new window[(_0x1b4d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a2bf3=>{_0x47ab08[_0x1b4d47([0x6f,0x6e,0x63,0x65])](_0x1b4d47([0x72,0x65,0x61,0x64,0x79]),_0x5a2bf3);}),_0x506654={[_0x1b4d47([0x6b,0x74,0x79])]:_0x1b4d47([0x45,0x43]),[_0x1b4d47([0x75,0x73,0x65])]:_0x1b4d47([0x73,0x69,0x67]),[_0x1b4d47([0x63,0x72,0x76])]:_0x1b4d47([0x50,0x2d,0x32,0x35,0x36]),[_0x1b4d47([0x78])]:_0x1b4d47([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1b4d47([0x79])]:_0x1b4d47([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1b4d47([0x61,0x6c,0x67])]:_0x1b4d47([0x45,0x53,0x32,0x35,0x36])},_0x5d9acd=_0x47ab08[_0x1b4d47([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b4d47([0x67,0x65,0x74])](_0x1b4d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x411cad=await(async function(){let _0x287ea0,_0x5b7f52=null,_0x4d79c5=null;try{if(_0x5d9acd==_0x1b4d47([0x47,0x50,0x4c]))return _0x1b4d47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x287ea0=(function(){const _0x2cc443=_0x5d9acd[_0x1b4d47([0x73,0x70,0x6c,0x69,0x74])](_0x1b4d47([0x2e]));if(0x3!=_0x2cc443[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x542e39=_0x2cc443[0x1];return _0x6a6ecb(_0x542e39);function _0x6a6ecb(_0x5d3ad3){const _0x2ac953=_0x214337(_0x5d3ad3);return _0x2ac953&&_0x53f0b0()?_0x2ac953:null;function _0x53f0b0(){const _0x3418e6=_0x2ac953[_0x1b4d47([0x6a,0x74,0x69])],_0x3d6756=window[_0x1b4d47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3418e6[_0x1b4d47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3418e6[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1aa3a1={..._0x2ac953,[_0x1b4d47([0x6a,0x74,0x69])]:_0x3418e6[_0x1b4d47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3418e6[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1aa3a1[_0x1b4d47([0x76,0x63])],_0x2fe591(_0x1aa3a1)==_0x3d6756;}}}()),!_0x287ea0)return _0x1b4d47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x287ea0[_0x1b4d47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d79c5=function(_0x8de62f,_0x749a3f){return new window[(_0x1b4d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c599e=>{if(_0x105f25())return _0x2c599e(_0x1b4d47([0x56,0x61,0x6c,0x69,0x64]));_0x40c218(),_0x47ab08[_0x1b4d47([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b4d47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16c97d=!0x1;const _0x260e12=ckeditor5['uid']();function _0x2d77e7(_0x52e958){return!!_0x52e958&&(typeof _0x52e958===_0x1b4d47([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x52e958===_0x1b4d47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x52e958[_0x1b4d47([0x74,0x68,0x65,0x6e])]===_0x1b4d47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x52e958[_0x1b4d47([0x63,0x61,0x74,0x63,0x68])]===_0x1b4d47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f2123(_0x119478){_0x2bb787(_0x119478)[_0x1b4d47([0x74,0x68,0x65,0x6e])](_0x564451=>{if(!_0x564451||_0x564451[_0x1b4d47([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b4d47([0x6f,0x6b]))return _0x1b4d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55f42b(_0x2fe591(_0x260e12+_0x749a3f))!=_0x564451[_0x1b4d47([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b4d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b4d47([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b4d47([0x74,0x68,0x65,0x6e])](_0x1a0acb=>(_0x1ab593(),_0x1a0acb),()=>{const _0x40ae79=_0x394912();return null==_0x40ae79?(_0x1ab593(),_0x1b4d47([0x56,0x61,0x6c,0x69,0x64])):_0x1b4d47(_0x9c5993-_0x40ae79>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b4d47([0x74,0x68,0x65,0x6e])](_0x2c599e)[_0x1b4d47([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c599e(_0x1b4d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f6e52=0x36ee80;function _0x1ab593(){const _0x5c7e20=_0x1b4d47([0x6c,0x6c,0x63,0x74,0x2d])+_0x55f42b(_0x2fe591(_0x8de62f)),_0x27a0be=_0x12b2b1(_0x55f42b(window[_0x1b4d47([0x4d,0x61,0x74,0x68])][_0x1b4d47([0x63,0x65,0x69,0x6c])](_0x9c5993/_0x4f6e52)));window[_0x1b4d47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b4d47([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c7e20,_0x27a0be);}function _0x394912(){const _0x92591a=_0x1b4d47([0x6c,0x6c,0x63,0x74,0x2d])+_0x55f42b(_0x2fe591(_0x8de62f)),_0x176cd1=window[_0x1b4d47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b4d47([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x92591a);return _0x176cd1?window[_0x1b4d47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12b2b1(_0x176cd1),0x10)*_0x4f6e52:null;}function _0x2bb787(_0x25ac14){return new window[(_0x1b4d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55c168,_0xc4fda7)=>{_0x25ac14[_0x1b4d47([0x74,0x68,0x65,0x6e])](_0x55c168,_0xc4fda7),window[_0x1b4d47([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc4fda7,0x1d4c0);});}}_0x47ab08[_0x1b4d47([0x6f,0x6e])](_0x1b4d47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb1275,_0x312998)=>{if(_0x312998[0x0]!=_0x8de62f)return _0x2c599e(_0x1b4d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x312998[0x1]={..._0x312998[0x1],[_0x1b4d47([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x260e12};},{[_0x1b4d47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b4d47([0x68,0x69,0x67,0x68])}),_0x47ab08[_0x1b4d47([0x6f,0x6e])](_0x1b4d47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2189ef=>{_0x2d77e7(_0x2189ef[_0x1b4d47([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16c97d=!0x0,_0x3f2123(_0x2189ef[_0x1b4d47([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b4d47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b4d47([0x6c,0x6f,0x77])}),_0x5e610d[_0x1b4d47([0x74,0x68,0x65,0x6e])](()=>{_0x16c97d||_0x2c599e(_0x1b4d47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x105f25(){return _0x47ab08[_0x1b4d47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b4d47([0x76,0x69,0x65,0x77])][_0x1b4d47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b4d47([0x61,0x75,0x74,0x6f]);}function _0x40c218(){_0x47ab08[_0x1b4d47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b4d47([0x76,0x69,0x65,0x77])][_0x1b4d47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b4d47([0x61,0x75,0x74,0x6f]);}}(_0x287ea0[_0x1b4d47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x287ea0[_0x1b4d47([0x6a,0x74,0x69])]));const _0xe70211=await(async function(){let _0x42ca99=!0x0;try{const _0x8a17c3=_0x5d9acd[_0x1b4d47([0x73,0x70,0x6c,0x69,0x74])](_0x1b4d47([0x2e])),[_0x3207cc,_0x1a7317,_0x2c8348]=_0x8a17c3;return _0x510d4b(_0x3207cc),await _0x1f44eb(_0x3207cc,_0x1a7317,_0x2c8348),_0x42ca99;}catch{return!0x1;}function _0x510d4b(_0x22e522){const _0x23f9e3=_0x214337(_0x22e522);_0x23f9e3&&_0x23f9e3[_0x1b4d47([0x61,0x6c,0x67])]==_0x1b4d47([0x45,0x53,0x32,0x35,0x36])||(_0x42ca99=!0x1);}async function _0x1f44eb(_0xda7322,_0x5bee9a,_0xcdb5bb){const _0x57736b=window[_0x1b4d47([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b4d47([0x66,0x72,0x6f,0x6d])](_0x116a6c(_0xcdb5bb),_0x1ba5d6=>_0x1ba5d6[_0x1b4d47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36664b=new window[(_0x1b4d47([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b4d47([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xda7322+_0x1b4d47([0x2e])+_0x5bee9a),_0x283312=window[_0x1b4d47([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b4d47([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x283312)return;const _0x35d49c=await _0x283312[_0x1b4d47([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b4d47([0x6a,0x77,0x6b]),_0x506654,{[_0x1b4d47([0x6e,0x61,0x6d,0x65])]:_0x1b4d47([0x45,0x43,0x44,0x53,0x41]),[_0x1b4d47([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b4d47([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b4d47([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x283312[_0x1b4d47([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b4d47([0x6e,0x61,0x6d,0x65])]:_0x1b4d47([0x45,0x43,0x44,0x53,0x41]),[_0x1b4d47([0x68,0x61,0x73,0x68])]:{[_0x1b4d47([0x6e,0x61,0x6d,0x65])]:_0x1b4d47([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35d49c,_0x57736b,_0x36664b)||(_0x42ca99=!0x1);}}());return _0xe70211?(function(){const _0x208578=_0x287ea0[_0x1b4d47([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x208578)return!0x1;if(_0x208578[_0x1b4d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4d47([0x2a])))return!0x0;if(_0x208578[_0x1b4d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4d47([0x54,0x4f,0x43])))return!0x0;if(_0x208578[_0x1b4d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4d47([0x50,0x50])))return!0x0;if(_0x208578[_0x1b4d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4d47([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x1b4d47([0x67,0x6c,0x6f,0x62])]&&window[_0x1b4d47([0x67,0x6c,0x6f,0x62])][_0x1b4d47([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x57ac13=[_0x1b4d47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b4d47([0x74,0x72,0x69,0x61,0x6c])][_0x1b4d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287ea0[_0x1b4d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9c5993/0x3e8:0x69b0b080;return _0x287ea0[_0x1b4d47([0x65,0x78,0x70])]<_0x57ac13;}())?_0x1b4d47([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x435785=_0x287ea0[_0x1b4d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x435785||0x0==_0x435785[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x480683}=new URL(window[_0x1b4d47([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x435785[_0x1b4d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x480683))return!0x0;const _0x41e673=_0x480683[_0x1b4d47([0x73,0x70,0x6c,0x69,0x74])](_0x1b4d47([0x2e]));return _0x435785[_0x1b4d47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a93ff=>_0x5a93ff[_0x1b4d47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4d47([0x2a])))[_0x1b4d47([0x6d,0x61,0x70])](_0x475725=>_0x475725[_0x1b4d47([0x73,0x70,0x6c,0x69,0x74])](_0x1b4d47([0x2e])))[_0x1b4d47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24b628=>_0x24b628[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x41e673[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b4d47([0x6d,0x61,0x70])](_0x25cdd2=>Array(_0x41e673[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25cdd2[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b4d47([0x66,0x69,0x6c,0x6c])](_0x25cdd2[0x0]===_0x1b4d47([0x2a])?_0x1b4d47([0x2a]):'')[_0x1b4d47([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25cdd2))[_0x1b4d47([0x73,0x6f,0x6d,0x65])](_0x150b4e=>_0x41e673[_0x1b4d47([0x65,0x76,0x65,0x72,0x79])]((_0x71f251,_0x4833f3)=>_0x150b4e[_0x4833f3]===_0x71f251||_0x150b4e[_0x4833f3]===_0x1b4d47([0x2a])));}())?(_0x287ea0[_0x1b4d47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b4d47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b7f52=function(_0x4a211e){const _0x8e577b=new window[(_0x1b4d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14ba09=>setTimeout(_0x14ba09,0x93ecc)),_0x396c1d=_0x5e610d[_0x1b4d47([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b4d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d546b=>{let _0x5abf17=0x0;_0x47ab08[_0x1b4d47([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b4d47([0x6f,0x6e])](_0x1b4d47([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a053e,_0x1c9e5f)=>{_0x1c9e5f[0x0][_0x1b4d47([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5abf17++,0x5e8==_0x5abf17&&(_0x1d546b(),_0x1a053e[_0x1b4d47([0x6f,0x66,0x66])]());});})),_0x4b204d=[_0x8e577b,_0x396c1d];return window[_0x1b4d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b4d47([0x72,0x61,0x63,0x65])](_0x4b204d)[_0x1b4d47([0x74,0x68,0x65,0x6e])](()=>_0x4a211e);}(_0x1b4d47([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x5b7f52&&_0x4d79c5)return new window[(_0x1b4d47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x382755,_0x2b4d77)=>{_0x5b7f52[_0x1b4d47([0x74,0x68,0x65,0x6e])](_0x382755,_0x2b4d77),_0x4d79c5[_0x1b4d47([0x74,0x68,0x65,0x6e])](_0x26843e=>{_0x26843e!=_0x1b4d47([0x56,0x61,0x6c,0x69,0x64])&&_0x382755(_0x26843e);},_0x2b4d77);});return _0x5b7f52||_0x4d79c5||_0x1b4d47([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1b4d47([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b4d47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b4d47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b4d47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x214337(_0xe829c7){return _0xe829c7[_0x1b4d47([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b4d47([0x65,0x79]))?JSON[_0x1b4d47([0x70,0x61,0x72,0x73,0x65])](_0x116a6c(_0xe829c7)):null;}function _0x116a6c(_0x319ec4){return window[_0x1b4d47([0x61,0x74,0x6f,0x62])](_0x319ec4[_0x1b4d47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b4d47([0x2b]))[_0x1b4d47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b4d47([0x2f])));}function _0x2fe591(_0x27e20e){let _0x27cfb8=0x1505;function _0x25830b(_0x4e5eb1){for(let _0xc4c9ee=0x0;_0xc4c9ee<_0x4e5eb1[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc4c9ee++){const _0x253f6a=_0x4e5eb1[_0x1b4d47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc4c9ee);_0x27cfb8=(_0x27cfb8<<0x5)+_0x27cfb8+_0x253f6a,_0x27cfb8&=_0x27cfb8;}}return function _0x2e4804(_0x539a08){Array[_0x1b4d47([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x539a08)?_0x539a08[_0x1b4d47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e4804):_0x539a08&&typeof _0x539a08==_0x1b4d47([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b4d47([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x539a08)[_0x1b4d47([0x73,0x6f,0x72,0x74])]()[_0x1b4d47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54612a,_0x3c4ed1])=>{_0x25830b(_0x54612a),_0x2e4804(_0x3c4ed1);}):_0x25830b(window[_0x1b4d47([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x539a08));}(_0x27e20e),_0x27cfb8>>>0x0;}function _0x55f42b(_0x3505af){return _0x3505af[_0x1b4d47([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b4d47([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b4d47([0x30]));}function _0x12b2b1(_0x44967a){return _0x44967a[_0x1b4d47([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b4d47([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b4d47([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d97d1(){}function _0x1b4d47(_0xb8fe7d){return _0xb8fe7d['map'](_0x2c0935=>String['fromCharCode'](_0x2c0935))['join']('');}!function(_0x3441c0){const _0x47c748=(function(){const _0x50f2b9=window[_0x1b4d47([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b4d47([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b4d47([0x6e,0x6f,0x77])]())[_0x1b4d47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b4d47([0x2e]),'');let _0x112d6a=_0x1b4d47([0x6d]);for(let _0x5e22ff=0x0;_0x5e22ff<_0x50f2b9[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e22ff+=0x2){let _0x412d21=window[_0x1b4d47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50f2b9[_0x1b4d47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e22ff,_0x5e22ff+0x2));_0x412d21>=_0x114d88[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x412d21-=_0x114d88[_0x1b4d47([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x112d6a+=_0x114d88[_0x412d21];}return _0x112d6a;}());_0x47ab08[_0x47c748]=_0x1b4d47([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3441c0,_0x3441c0!=_0x1b4d47([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5e610d,_0x47ab08[_0x1b4d47([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b4d47([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d97d1,_0x47ab08[_0x1b4d47([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b4d47([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d97d1,_0x47ab08[_0x1b4d47([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b4d47([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x411cad);}class TableOfContentsUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b8580=this['editor'];_0x5b8580['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x5b980e=this['_createButton'](ckeditor5['ButtonView']);return _0x5b980e['tooltip']=!0x0,_0x5b980e;}),_0x5b8580['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xf1afa9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a7a52;for(const _0x4f8092 in _0xf1afa9){const _0x139b18=_0x4f8092,_0x14297f=_0xf1afa9[_0x139b18];if('tableOfContentsLicenseKeyValid'==_0x14297f||'tableOfContentsLicenseKeyInvalid'==_0x14297f||'tableOfContentsLicenseKeyExpired'==_0x14297f||'tableOfContentsLicenseKeyDomainLimit'==_0x14297f||'tableOfContentsLicenseKeyNotAllowed'==_0x14297f||'tableOfContentsLicenseKeyEvaluationLimit'==_0x14297f||'tableOfContentsLicenseKeyUsageLimit'==_0x14297f){delete _0xf1afa9[_0x139b18],_0x4a7a52=_0x14297f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x4a7a52&&_0xf1afa9['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x4a7a52&&_0xf1afa9['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x4a7a52&&_0xf1afa9['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x4a7a52&&_0xf1afa9['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x4a7a52&&_0xf1afa9['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x4a7a52&&_0xf1afa9['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x3cb9ee){const _0x4a0893=this['editor'],_0xaf5838=_0x4a0893['locale'],_0xaff1cd=_0x4a0893['commands']['get']('insertTableOfContents'),_0x43e99f=new _0x3cb9ee(_0xaf5838);return _0x43e99f['set']({'label':getTranslation$e(_0xaf5838,'Table\x20of\x20contents'),'icon':ckeditor5['IconTableOfContents']}),_0x43e99f['bind']('isEnabled')['to'](_0xaff1cd,'isEnabled'),this['listenTo'](_0x43e99f,'execute',()=>{_0x4a0893['execute']('insertTableOfContents'),_0x4a0893['editing']['view']['focus']();}),_0x43e99f;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends ckeditor5['Plugin']{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x465ff0='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends ckeditor5['Plugin']{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xccba12){super(_0xccba12),_0xccba12['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){_0x5bfa2d(this);}['_logSuppressibleWarning'](_0x31c795,_0x5e06df){if(this['_isSuppressedLog'](_0x31c795,_0x5e06df))return;const _0x4b694b=_0x465ff0+'/support/error-codes.html#error-'+_0x31c795;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x31c795,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x5e06df?[_0x5e06df]:[],'\x0aRead\x20more:\x20'+_0x4b694b);}['_logSuppressibleInfo'](_0x1c8a67,_0x490601,_0x13b76e){if(this['_isSuppressedLog'](_0x1c8a67))return;let _0x318ac7=_0x490601;_0x13b76e&&(_0x318ac7+='\x0aRead\x20more:\x20'+(_0x465ff0+'/'+_0x13b76e)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x1c8a67,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x318ac7);}['_checkUnsupportedPlugin'](_0x476228,_0x3eed2d){this['editor']['plugins']['has'](_0x476228)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x476228,..._0x3eed2d});}['_validateConfigColorValue'](_0x52bd12){const _0x4a9358=this['editor']['config']['get'](_0x52bd12);if(!_0x4a9358)return;const _0x524526=Array['isArray'](_0x4a9358),_0x1581cb=_0x524526?_0x4a9358:[_0x4a9358];for(const [_0x535029,_0x49e63b]of _0x1581cb['entries']()){const _0x36848d='string'==typeof _0x49e63b?_0x49e63b:_0x49e63b['color'];isUnsupportedEmailColorValue(_0x36848d)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x524526?_0x52bd12+'['+_0x535029+']':_0x52bd12,'color':_0x36848d});}}['_validateConfigColorFormat'](_0x428e71){const _0x4c03d4=this['editor']['config']['get'](_0x428e71);_0x4c03d4&&isUnsupportedEmailColorFormat(_0x4c03d4)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x428e71,'format':_0x4c03d4});}['_isSuppressedLog'](_0x54c580,_0x407387){const _0x555182=this['editor']['config']['get']('email.logs');return!!_0x555182['suppressAll']||(!('function'!=typeof _0x555182['suppress']||!_0x555182['suppress'](_0x54c580,_0x407387))||!(!Array['isArray'](_0x555182['suppress'])||!_0x555182['suppress']['includes'](_0x54c580)));}}const _0xba6d1e=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function isUnsupportedEmailColorValue(_0x360000){return!!_0x360000&&_0xba6d1e['some'](_0x334eae=>_0x360000['includes'](_0x334eae+'('));}function isUnsupportedEmailColorFormat(_0x3a2837){return!!_0x3a2837&&_0xba6d1e['includes'](_0x3a2837);}async function _0x5bfa2d(_0x7fcd9a){const _0x111f9e=_0x269643([0x75,0x69,0x7a,0x54,0x64,0x76,0x79,0x42,0x49,0x61,0x34,0x52,0x4b,0x73,0x6e,0x4f,0x59,0x6d,0x45,0x58,0x47,0x4d,0x66,0x6a,0x65,0x68,0x77,0x4a,0x51,0x71,0x62,0x50,0x53,0x43,0x6b,0x37,0x44,0x74,0x5a,0x67,0x46,0x35,0x38,0x4c,0x78,0x6c,0x32,0x39,0x48,0x6f,0x36,0x63,0x41,0x55,0x57,0x31,0x70,0x56,0x33,0x4e,0x72,0x30]),_0x44b443=window[_0x269643([0x44,0x61,0x74,0x65])][_0x269643([0x6e,0x6f,0x77])](),_0x3bc4f2=_0x7fcd9a[_0x269643([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x219485=new window[(_0x269643([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x63c5e2=>{_0x3bc4f2[_0x269643([0x6f,0x6e,0x63,0x65])](_0x269643([0x72,0x65,0x61,0x64,0x79]),_0x63c5e2);}),_0x16656d={[_0x269643([0x6b,0x74,0x79])]:_0x269643([0x45,0x43]),[_0x269643([0x75,0x73,0x65])]:_0x269643([0x73,0x69,0x67]),[_0x269643([0x63,0x72,0x76])]:_0x269643([0x50,0x2d,0x32,0x35,0x36]),[_0x269643([0x78])]:_0x269643([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x269643([0x79])]:_0x269643([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x269643([0x61,0x6c,0x67])]:_0x269643([0x45,0x53,0x32,0x35,0x36])},_0x199c64=_0x3bc4f2[_0x269643([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x269643([0x67,0x65,0x74])](_0x269643([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x58d7b3=await(async function(){let _0x5e2a60,_0x7d6ab6=null,_0x1c2447=null;try{if(_0x199c64==_0x269643([0x47,0x50,0x4c]))return _0x269643([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e2a60=(function(){const _0x57412a=_0x199c64[_0x269643([0x73,0x70,0x6c,0x69,0x74])](_0x269643([0x2e]));if(0x3!=_0x57412a[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x473141=_0x57412a[0x1];return _0x5713fc(_0x473141);function _0x5713fc(_0x2f6825){const _0x1df405=_0x4bd36b(_0x2f6825);return _0x1df405&&_0x4b4b3d()?_0x1df405:null;function _0x4b4b3d(){const _0x432342=_0x1df405[_0x269643([0x6a,0x74,0x69])],_0x2787c4=window[_0x269643([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x432342[_0x269643([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x432342[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x13e405={..._0x1df405,[_0x269643([0x6a,0x74,0x69])]:_0x432342[_0x269643([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x432342[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x13e405[_0x269643([0x76,0x63])],_0x5976ed(_0x13e405)==_0x2787c4;}}}()),!_0x5e2a60)return _0x269643([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x5e2a60[_0x269643([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c2447=function(_0x359a34,_0x34eac8){return new window[(_0x269643([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fdb3e=>{if(_0x6c74b9())return _0x4fdb3e(_0x269643([0x56,0x61,0x6c,0x69,0x64]));_0x36f0e4(),_0x3bc4f2[_0x269643([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x269643([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58b519=!0x1;const _0x276718=ckeditor5['uid']();function _0x55782b(_0x432413){return!!_0x432413&&(typeof _0x432413===_0x269643([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x432413===_0x269643([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x432413[_0x269643([0x74,0x68,0x65,0x6e])]===_0x269643([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x432413[_0x269643([0x63,0x61,0x74,0x63,0x68])]===_0x269643([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xaf466b(_0xe9529a){_0x1f7b0a(_0xe9529a)[_0x269643([0x74,0x68,0x65,0x6e])](_0xfb458e=>{if(!_0xfb458e||_0xfb458e[_0x269643([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x269643([0x6f,0x6b]))return _0x269643([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1707b7(_0x5976ed(_0x276718+_0x34eac8))!=_0xfb458e[_0x269643([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x269643([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x269643([0x56,0x61,0x6c,0x69,0x64]);})[_0x269643([0x74,0x68,0x65,0x6e])](_0x27b41a=>(_0x3ff929(),_0x27b41a),()=>{const _0x384cc4=_0x2ebfab();return null==_0x384cc4?(_0x3ff929(),_0x269643([0x56,0x61,0x6c,0x69,0x64])):_0x269643(_0x44b443-_0x384cc4>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x269643([0x74,0x68,0x65,0x6e])](_0x4fdb3e)[_0x269643([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fdb3e(_0x269643([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1920fa=0x36ee80;function _0x3ff929(){const _0x42950b=_0x269643([0x6c,0x6c,0x63,0x74,0x2d])+_0x1707b7(_0x5976ed(_0x359a34)),_0x1d013f=_0x586fd1(_0x1707b7(window[_0x269643([0x4d,0x61,0x74,0x68])][_0x269643([0x63,0x65,0x69,0x6c])](_0x44b443/_0x1920fa)));window[_0x269643([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x269643([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42950b,_0x1d013f);}function _0x2ebfab(){const _0x5b3490=_0x269643([0x6c,0x6c,0x63,0x74,0x2d])+_0x1707b7(_0x5976ed(_0x359a34)),_0xe6c5a3=window[_0x269643([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x269643([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b3490);return _0xe6c5a3?window[_0x269643([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x586fd1(_0xe6c5a3),0x10)*_0x1920fa:null;}function _0x1f7b0a(_0x33f4d4){return new window[(_0x269643([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x735bb4,_0x235773)=>{_0x33f4d4[_0x269643([0x74,0x68,0x65,0x6e])](_0x735bb4,_0x235773),window[_0x269643([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x235773,0x1d4c0);});}}_0x3bc4f2[_0x269643([0x6f,0x6e])](_0x269643([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ee73e,_0x52f8b3)=>{if(_0x52f8b3[0x0]!=_0x359a34)return _0x4fdb3e(_0x269643([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52f8b3[0x1]={..._0x52f8b3[0x1],[_0x269643([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x276718};},{[_0x269643([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x269643([0x68,0x69,0x67,0x68])}),_0x3bc4f2[_0x269643([0x6f,0x6e])](_0x269643([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fae74=>{_0x55782b(_0x4fae74[_0x269643([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58b519=!0x0,_0xaf466b(_0x4fae74[_0x269643([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x269643([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x269643([0x6c,0x6f,0x77])}),_0x219485[_0x269643([0x74,0x68,0x65,0x6e])](()=>{_0x58b519||_0x4fdb3e(_0x269643([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6c74b9(){return _0x3bc4f2[_0x269643([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x269643([0x76,0x69,0x65,0x77])][_0x269643([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x269643([0x61,0x75,0x74,0x6f]);}function _0x36f0e4(){_0x3bc4f2[_0x269643([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x269643([0x76,0x69,0x65,0x77])][_0x269643([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x269643([0x61,0x75,0x74,0x6f]);}}(_0x5e2a60[_0x269643([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e2a60[_0x269643([0x6a,0x74,0x69])]));const _0xe2a675=await(async function(){let _0xb2ce14=!0x0;try{const _0x32d1bc=_0x199c64[_0x269643([0x73,0x70,0x6c,0x69,0x74])](_0x269643([0x2e])),[_0x4b891f,_0x455aca,_0x3b7a70]=_0x32d1bc;return _0x2d71a0(_0x4b891f),await _0x2ad670(_0x4b891f,_0x455aca,_0x3b7a70),_0xb2ce14;}catch{return!0x1;}function _0x2d71a0(_0x124bb4){const _0x493bd4=_0x4bd36b(_0x124bb4);_0x493bd4&&_0x493bd4[_0x269643([0x61,0x6c,0x67])]==_0x269643([0x45,0x53,0x32,0x35,0x36])||(_0xb2ce14=!0x1);}async function _0x2ad670(_0x537275,_0x562669,_0x47d574){const _0x5d6e18=window[_0x269643([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x269643([0x66,0x72,0x6f,0x6d])](_0x21e19d(_0x47d574),_0x1abd96=>_0x1abd96[_0x269643([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2017a3=new window[(_0x269643([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x269643([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x537275+_0x269643([0x2e])+_0x562669),_0x26bd22=window[_0x269643([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x269643([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26bd22)return;const _0x3ecc1d=await _0x26bd22[_0x269643([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x269643([0x6a,0x77,0x6b]),_0x16656d,{[_0x269643([0x6e,0x61,0x6d,0x65])]:_0x269643([0x45,0x43,0x44,0x53,0x41]),[_0x269643([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x269643([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x269643([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26bd22[_0x269643([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x269643([0x6e,0x61,0x6d,0x65])]:_0x269643([0x45,0x43,0x44,0x53,0x41]),[_0x269643([0x68,0x61,0x73,0x68])]:{[_0x269643([0x6e,0x61,0x6d,0x65])]:_0x269643([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ecc1d,_0x5d6e18,_0x2017a3)||(_0xb2ce14=!0x1);}}());return _0xe2a675?(function(){const _0x5d49d4=_0x5e2a60[_0x269643([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5d49d4)return!0x1;if(_0x5d49d4[_0x269643([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x269643([0x2a])))return!0x0;if(_0x5d49d4[_0x269643([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x269643([0x45,0x43,0x48])))return!0x0;return!0x1;}())?(function(){const _0x479bed=[_0x269643([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x269643([0x74,0x72,0x69,0x61,0x6c])][_0x269643([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e2a60[_0x269643([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44b443/0x3e8:0x69b0b080;return _0x5e2a60[_0x269643([0x65,0x78,0x70])]<_0x479bed;}())?_0x269643([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3db967=_0x5e2a60[_0x269643([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3db967||0x0==_0x3db967[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x262fdd}=new URL(window[_0x269643([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3db967[_0x269643([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x262fdd))return!0x0;const _0x3308b8=_0x262fdd[_0x269643([0x73,0x70,0x6c,0x69,0x74])](_0x269643([0x2e]));return _0x3db967[_0x269643([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x345bf0=>_0x345bf0[_0x269643([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x269643([0x2a])))[_0x269643([0x6d,0x61,0x70])](_0x3c73ba=>_0x3c73ba[_0x269643([0x73,0x70,0x6c,0x69,0x74])](_0x269643([0x2e])))[_0x269643([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47122d=>_0x47122d[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3308b8[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x269643([0x6d,0x61,0x70])](_0x38c40f=>Array(_0x3308b8[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38c40f[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x269643([0x66,0x69,0x6c,0x6c])](_0x38c40f[0x0]===_0x269643([0x2a])?_0x269643([0x2a]):'')[_0x269643([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38c40f))[_0x269643([0x73,0x6f,0x6d,0x65])](_0x3ae716=>_0x3308b8[_0x269643([0x65,0x76,0x65,0x72,0x79])]((_0x178d2d,_0x1c2e13)=>_0x3ae716[_0x1c2e13]===_0x178d2d||_0x3ae716[_0x1c2e13]===_0x269643([0x2a])));}())?(_0x5e2a60[_0x269643([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x269643([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7d6ab6=function(_0x23a118){const _0x37481e=new window[(_0x269643([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c6e20=>setTimeout(_0x1c6e20,0x93ecc)),_0x5a647a=_0x219485[_0x269643([0x74,0x68,0x65,0x6e])](()=>new window[(_0x269643([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bf088=>{let _0x2b830b=0x0;_0x3bc4f2[_0x269643([0x6d,0x6f,0x64,0x65,0x6c])][_0x269643([0x6f,0x6e])](_0x269643([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf6d22b,_0x10d311)=>{_0x10d311[0x0][_0x269643([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b830b++,0x5e8==_0x2b830b&&(_0x3bf088(),_0xf6d22b[_0x269643([0x6f,0x66,0x66])]());});})),_0x2c6add=[_0x37481e,_0x5a647a];return window[_0x269643([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x269643([0x72,0x61,0x63,0x65])](_0x2c6add)[_0x269643([0x74,0x68,0x65,0x6e])](()=>_0x23a118);}(_0x269643([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x7d6ab6&&_0x1c2447)return new window[(_0x269643([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc05dd1,_0x683fa1)=>{_0x7d6ab6[_0x269643([0x74,0x68,0x65,0x6e])](_0xc05dd1,_0x683fa1),_0x1c2447[_0x269643([0x74,0x68,0x65,0x6e])](_0x32ec7b=>{_0x32ec7b!=_0x269643([0x56,0x61,0x6c,0x69,0x64])&&_0xc05dd1(_0x32ec7b);},_0x683fa1);});return _0x7d6ab6||_0x1c2447||_0x269643([0x56,0x61,0x6c,0x69,0x64]);}())):_0x269643([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x269643([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x269643([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x269643([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4bd36b(_0x1aeb54){return _0x1aeb54[_0x269643([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x269643([0x65,0x79]))?JSON[_0x269643([0x70,0x61,0x72,0x73,0x65])](_0x21e19d(_0x1aeb54)):null;}function _0x21e19d(_0x582b53){return window[_0x269643([0x61,0x74,0x6f,0x62])](_0x582b53[_0x269643([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x269643([0x2b]))[_0x269643([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x269643([0x2f])));}function _0x5976ed(_0x13aa58){let _0x17a5d4=0x1505;function _0x2fce76(_0x2c788b){for(let _0x9ab1f7=0x0;_0x9ab1f7<_0x2c788b[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9ab1f7++){const _0x127c7e=_0x2c788b[_0x269643([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9ab1f7);_0x17a5d4=(_0x17a5d4<<0x5)+_0x17a5d4+_0x127c7e,_0x17a5d4&=_0x17a5d4;}}return function _0x4ee320(_0x1787b2){Array[_0x269643([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1787b2)?_0x1787b2[_0x269643([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ee320):_0x1787b2&&typeof _0x1787b2==_0x269643([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x269643([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1787b2)[_0x269643([0x73,0x6f,0x72,0x74])]()[_0x269643([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4eec99,_0x16ab32])=>{_0x2fce76(_0x4eec99),_0x4ee320(_0x16ab32);}):_0x2fce76(window[_0x269643([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1787b2));}(_0x13aa58),_0x17a5d4>>>0x0;}function _0x1707b7(_0x107d1b){return _0x107d1b[_0x269643([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x269643([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x269643([0x30]));}function _0x586fd1(_0x4a17be){return _0x4a17be[_0x269643([0x73,0x70,0x6c,0x69,0x74])]('')[_0x269643([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x269643([0x6a,0x6f,0x69,0x6e])]('');}function _0x220305(){}function _0x269643(_0x5b2a78){return _0x5b2a78['map'](_0x15ac6c=>String['fromCharCode'](_0x15ac6c))['join']('');}!function(_0x144ffe){const _0x507011=(function(){const _0x29f91e=window[_0x269643([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x269643([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x269643([0x6e,0x6f,0x77])]())[_0x269643([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x269643([0x2e]),'');let _0x39b860=_0x269643([0x75]);for(let _0xb2dd0e=0x0;_0xb2dd0e<_0x29f91e[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb2dd0e+=0x2){let _0x313b4c=window[_0x269643([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29f91e[_0x269643([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb2dd0e,_0xb2dd0e+0x2));_0x313b4c>=_0x111f9e[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x313b4c-=_0x111f9e[_0x269643([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39b860+=_0x111f9e[_0x313b4c];}return _0x39b860;}());_0x3bc4f2[_0x507011]=_0x269643([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x144ffe,_0x144ffe!=_0x269643([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x219485,_0x3bc4f2[_0x269643([0x6d,0x6f,0x64,0x65,0x6c])][_0x269643([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x220305,_0x3bc4f2[_0x269643([0x6d,0x6f,0x64,0x65,0x6c])][_0x269643([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x220305,_0x3bc4f2[_0x269643([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x269643([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x58d7b3);}class HighlightEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Highlight');}}var calculate=function(_0x481e89){var _0x576caa,_0x4d6390,_0x30a2ca,_0x51d324,_0x5186c9=[];for(_0x30a2ca=0x0,_0x51d324=(_0x576caa=_0x481e89['split'](','))['length'];_0x30a2ca<_0x51d324;_0x30a2ca+=0x1)(_0x4d6390=_0x576caa[_0x30a2ca])['length']>0x0&&_0x5186c9['push'](calculateSingle(_0x4d6390));return _0x5186c9;},calculateSingle=function(_0x4b0759){var _0x547c53,_0x49dc06,_0x34900f=_0x4b0759,_0x2d55c3={'a':0x0,'b':0x0,'c':0x0},_0x5d69da=[];return _0x547c53=function(_0x44f6b6,_0x1a70d3){var _0x4fd9d6,_0xf3b3bf,_0x14515e,_0x3dbe2a,_0x570870,_0x3071d6;if(_0x44f6b6['test'](_0x34900f)){for(_0xf3b3bf=0x0,_0x14515e=(_0x4fd9d6=_0x34900f['match'](_0x44f6b6))['length'];_0xf3b3bf<_0x14515e;_0xf3b3bf+=0x1)_0x2d55c3[_0x1a70d3]+=0x1,_0x3dbe2a=_0x4fd9d6[_0xf3b3bf],_0x570870=_0x34900f['indexOf'](_0x3dbe2a),_0x3071d6=_0x3dbe2a['length'],_0x5d69da['push']({'selector':_0x4b0759['substr'](_0x570870,_0x3071d6),'type':_0x1a70d3,'index':_0x570870,'length':_0x3071d6}),_0x34900f=_0x34900f['replace'](_0x3dbe2a,Array(_0x3071d6+0x1)['join']('\x20'));}},_0x49dc06=function(_0x1b56a3){var _0x25d199,_0x4d72f4,_0x4ff0a7,_0x1167d1;if(_0x1b56a3['test'](_0x34900f)){for(_0x4d72f4=0x0,_0x4ff0a7=(_0x25d199=_0x34900f['match'](_0x1b56a3))['length'];_0x4d72f4<_0x4ff0a7;_0x4d72f4+=0x1)_0x1167d1=_0x25d199[_0x4d72f4],_0x34900f=_0x34900f['replace'](_0x1167d1,Array(_0x1167d1['length']+0x1)['join']('A'));}},_0x49dc06(/\\[0-9A-Fa-f]{6}\s?/g),_0x49dc06(/\\[0-9A-Fa-f]{1,5}\s/g),_0x49dc06(/\\./g),(function(){var _0x131f62,_0x19bdf9,_0x50988e,_0x3827a7,_0x505008=/{[^]*/gm;if(_0x505008['test'](_0x34900f)){for(_0x19bdf9=0x0,_0x50988e=(_0x131f62=_0x34900f['match'](_0x505008))['length'];_0x19bdf9<_0x50988e;_0x19bdf9+=0x1)_0x3827a7=_0x131f62[_0x19bdf9],_0x34900f=_0x34900f['replace'](_0x3827a7,Array(_0x3827a7['length']+0x1)['join']('\x20'));}}()),_0x547c53(/(\[[^\]]+\])/g,'b'),_0x547c53(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x547c53(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x547c53(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x547c53(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x547c53(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x34900f=(_0x34900f=(_0x34900f=(_0x34900f=(_0x34900f=(_0x34900f=_0x34900f['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'),_0x547c53(/([^\s\+>~\.\[:]+)/g,'c'),_0x5d69da['sort'](function(_0x118562,_0x31d310){return _0x118562['index']-_0x31d310['index'];}),{'selector':_0x4b0759,'specificity':'0,'+_0x2d55c3['a']['toString']()+','+_0x2d55c3['b']['toString']()+','+_0x2d55c3['c']['toString'](),'specificityArray':[0x0,_0x2d55c3['a'],_0x2d55c3['b'],_0x2d55c3['c']],'parts':_0x5d69da};},_0x3e4f4d=function(_0xc1d985,_0x5c3cb0){var _0x1276d7,_0x37cef1,_0x539c2f;if('string'==typeof _0xc1d985){if(-0x1!==_0xc1d985['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x1276d7=calculateSingle(_0xc1d985)['specificityArray'];}else{if(!Array['isArray'](_0xc1d985))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0xc1d985['filter'](function(_0x112b3f){return'number'==typeof _0x112b3f;})['length'])throw'Invalid\x20specificity\x20array';_0x1276d7=_0xc1d985;}if('string'==typeof _0x5c3cb0){if(-0x1!==_0x5c3cb0['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x37cef1=calculateSingle(_0x5c3cb0)['specificityArray'];}else{if(!Array['isArray'](_0x5c3cb0))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x5c3cb0['filter'](function(_0x4a2745){return'number'==typeof _0x4a2745;})['length'])throw'Invalid\x20specificity\x20array';_0x37cef1=_0x5c3cb0;}for(_0x539c2f=0x0;_0x539c2f<0x4;_0x539c2f+=0x1){if(_0x1276d7[_0x539c2f]<_0x37cef1[_0x539c2f])return-0x1;if(_0x1276d7[_0x539c2f]>_0x37cef1[_0x539c2f])return 0x1;}return 0x0;};function splitByTopLevelComma(_0x4435ca){const _0x116e1c=[];let _0x4743c4='',_0x564062=0x0;for(;_0x564062<_0x4435ca['length'];){const _0x403509=_0x4435ca[_0x564062];if('('===_0x403509){const _0x4b0e7b=findMatchingParenthesis(_0x4435ca,_0x564062+0x1);if(-0x1===_0x4b0e7b)return[];_0x4743c4+=_0x4435ca['slice'](_0x564062,_0x4b0e7b+0x1),_0x564062=_0x4b0e7b+0x1;}else','!==_0x403509||_0x4743c4['endsWith']('\x5c')?(_0x4743c4+=_0x403509,_0x564062++):(_0x116e1c['push'](_0x4743c4['trim']()),_0x4743c4='',_0x564062++);}return _0x4743c4['trim']()&&_0x116e1c['push'](_0x4743c4['trim']()),_0x116e1c['filter'](Boolean);}function findMatchingParenthesis(_0x5d8616,_0x1d5a37){let _0x352124=0x1;for(let _0x24f083=_0x1d5a37;_0x24f083<_0x5d8616['length'];_0x24f083++){const _0xe0b6fe=_0x5d8616[_0x24f083];if('('===_0xe0b6fe)_0x352124++;else{if(')'===_0xe0b6fe&&(_0x352124--,0x0===_0x352124))return _0x24f083;}}return-0x1;}function dropImportantStyleSuffix(_0xe2bd42){return _0xe2bd42['replace'](/!\s*important/i,'')['trim']();}function collectRootStylesheetsVariables(_0x5a348f){const _0x135437=new Map();for(const {stylesMap:_0x2e2bac,flatSelector:_0x48aa14}of _0x5a348f){if(':root'!==_0x48aa14)continue;const _0x30f111=inlineStylesMapCSSVariables(_0x135437['get']['bind'](_0x135437),_0x2e2bac);for(const [_0x3bec01,_0x49664c]of _0x30f111)_0x135437['set'](_0x3bec01,_0x49664c);}return _0x135437;}function inlineStylesMapCSSVariables(_0x58e4b7,_0x466d59){const _0x53ee91=new Map(),_0x46cc14=_0x26e3fe=>_0x53ee91['has'](_0x26e3fe)?_0x53ee91['get'](_0x26e3fe):_0x58e4b7(_0x26e3fe);for(const [_0xa359f9,_0x4ef9e5]of _0x466d59['getStylesEntries']())if(_0x4ef9e5&&_0xa359f9['startsWith']('--')){const _0x28ab3d=inlineCSSVariablesInString(_0x46cc14,_0x4ef9e5);_0x53ee91['set'](_0xa359f9,_0x28ab3d),_0x466d59['remove'](_0xa359f9);}for(const [_0x100914,_0x621582]of _0x466d59['getStylesEntries']())if(_0x621582){const _0x31d7cc=inlineCSSVariablesInString(_0x46cc14,_0x621582);_0x466d59['set'](_0x100914,_0x31d7cc);}return _0x53ee91;}function inlineCSSVariablesInString(_0x52b3c5,_0x565113){return _0x37dfc8(_0x565113,_0x323e4f=>{const [_0x467509,_0xc10f46]=splitByTopLevelComma(_0x323e4f),_0x3289f=_0x52b3c5(_0x467509);return void 0x0!==_0x3289f?_0x3289f:_0xc10f46?inlineCSSVariablesInString(_0x52b3c5,_0xc10f46):'var('+_0x467509+')';});}function _0x37dfc8(_0x80a1b9,_0x4cc592){let _0x3fce10='',_0x563f70=0x0;for(;_0x563f70<_0x80a1b9['length'];){const _0x4ee8c5=_0x80a1b9['indexOf']('var(',_0x563f70);if(-0x1===_0x4ee8c5){_0x3fce10+=_0x80a1b9['slice'](_0x563f70);break;}_0x3fce10+=_0x80a1b9['slice'](_0x563f70,_0x4ee8c5);const _0x3fd311=_0x4ee8c5+0x4,_0x2835f9=findMatchingParenthesis(_0x80a1b9,_0x3fd311);_0x3fce10+=_0x4cc592(_0x80a1b9['substring'](_0x3fd311,_0x2835f9)),_0x563f70=_0x2835f9+0x1;}return _0x3fce10;}async function collectAndProcessStylesheets(_0x2169f3){const _0x4f4bf6=[await ckeditor5['collectStylesheets'](_0x2169f3['stylesheets']),_0x2169f3['inlineCss']]['filter'](_0x2e0191=>_0x2e0191&&_0x2e0191['length'])['join']('\x0a'),_0x549205=await convertRawStylesheetToParsedCSSRules(_0x2169f3['stylesProcessor'],_0x4f4bf6);return{'parsedCssRules':_0x549205,'rootCssVariables':collectRootStylesheetsVariables(_0x549205)};}async function convertRawStylesheetToParsedCSSRules(_0x85b82f,_0x4f4f31){const _0x34546e=new CSSStyleSheet();return await _0x34546e['replace'](_0x4f4f31),dropCSSNesting(Array['from'](_0x34546e['cssRules'])['filter'](_0x5a5c83=>_0x5a5c83 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x2d1ac0,contentCssText:_0x20693b})=>{const _0x5d73d4=splitByTopLevelComma(_0x2d1ac0),_0x232010=new ckeditor5['StylesMap'](_0x85b82f)['setTo'](_0x20693b);return _0x5d73d4['map'](_0x820c38=>{const _0x30156d=_0x5d3269(_0x820c38),_0xf744b2=_0x30156d?calculate(_0x30156d)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x232010,'flatSelector':_0x820c38,'specificity':_0xf744b2};});})['sort']((_0x7dc991,_0x3069f4)=>_0x3e4f4d(_0x7dc991['specificity'],_0x3069f4['specificity']));}function _0x5d3269(_0x33ebd8){const _0x525931=':where(';let _0x71244f=_0x33ebd8,_0x57096c=0x0;for(let _0x7a5bb8=0x0;_0x7a5bb8<0x64;_0x7a5bb8++){const _0xa33946=_0x71244f['indexOf'](_0x525931,_0x57096c);if(-0x1===_0xa33946)break;let _0x261ff3=0x0;for(let _0x1ac1cc=0x0;_0x1ac1cc<_0xa33946;_0x1ac1cc++)'('===_0x71244f[_0x1ac1cc]?_0x261ff3++:')'===_0x71244f[_0x1ac1cc]&&_0x261ff3--;if(_0x261ff3>0x0){_0x57096c=_0xa33946+0x7;continue;}let _0x33170a=-0x1;for(let _0x278210=_0xa33946+0x7,_0x402c04=0x1;_0x278210<_0x71244f['length'];_0x278210++)if('('===_0x71244f[_0x278210]?_0x402c04++:')'===_0x71244f[_0x278210]&&_0x402c04--,!_0x402c04){_0x33170a=_0x278210;break;}-0x1!==_0x33170a?(_0x71244f=_0x71244f['slice'](0x0,_0xa33946)+_0x71244f['slice'](_0x33170a+0x1),_0x57096c=_0xa33946):_0x57096c=_0xa33946+0x7;}return _0x71244f['replace'](/\s+/g,'\x20')['trim']();}function dropCSSNesting(_0x36cca2,_0x3d39bc=''){return _0x36cca2['flatMap'](_0x437596=>{const {selectorText:_0xe57f78,cssText:_0x4b77d0,cssRules:_0x4b73bb}=_0x437596;if(!_0xe57f78)return[];const _0x5bfd69=_0xe57f78['replace'](/&/g,_0x3d39bc);let _0x42a6ac=_0x4b77d0['replace'](_0xe57f78,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x4b73bb||!_0x4b73bb['length'])return[{'selectorText':_0x5bfd69,'contentCssText':_0x42a6ac}];for(const _0x1b3354 of _0x4b73bb)_0x42a6ac=_0x42a6ac['replace'](_0x1b3354['cssText'],'')['trim']();return[{'selectorText':_0x5bfd69,'contentCssText':_0x42a6ac},...dropCSSNesting(Array['from'](_0x4b73bb),_0x5bfd69)];});}function getElementInlineStyles(_0x1d2a1f){const _0x44cd1a=_0x1d2a1f['element']['getAttribute']('style')||'',_0x1cafe5=_0x1d2a1f['parsedCssRules']['filter'](_0x2bd939=>_0x1d2a1f['element']['matches'](_0x2bd939['flatSelector']))['map'](_0x58f24f=>_0x58f24f['stylesMap']),_0x42e2b1=concatStylesMaps(_0x1d2a1f['stylesProcessor'],[..._0x1cafe5,_0x44cd1a]);return{'localCSSVariables':inlineStylesMapCSSVariables(_0x1d2a1f['fallbackCSSVariablesLookup'],_0x42e2b1),'stylesMap':_0x42e2b1};}function concatStylesMaps(_0x1fc03c,_0x3f3575){const _0x2b6fc5=new ckeditor5['StylesMap'](_0x1fc03c);for(const _0x37f377 of _0x3f3575){let _0x636491=null;if(_0x636491='string'==typeof _0x37f377?new ckeditor5['StylesMap'](_0x1fc03c)['setTo'](_0x37f377):_0x37f377,_0x636491){for(const [_0x2315b3,_0x349d24]of _0x636491['getStylesEntries']())_0x2b6fc5['set'](_0x2315b3,_0x349d24);}}return _0x2b6fc5;}class ExportInlineStylesCommand extends ckeditor5['Command']{['_stylesProcessor'];constructor(_0x140e26){super(_0x140e26),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],ckeditor5['addMarginStylesRules'](this['_stylesProcessor']),ckeditor5['addPaddingStylesRules'](this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x434ec5){const _0xfe757a=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x5cdf2d}=this['editor']['locale'],{rootName:_0x5382b7='main',dataControllerDowncastOptions:_0x28802e={},transformations:_0x42930b=_0xfe757a['transformations']||[]}=_0x434ec5||{};this['isBusy']=!0x0,this['refresh']();const _0x7f1de2=this['_getRootDataHTMLFragment'](_0x5382b7,_0x28802e),_0x5ee54d=ckeditor5['createElement'](_0x7f1de2['ownerDocument'],'div',{'dir':_0x5cdf2d,'class':'ck-content'},[_0x7f1de2]);return this['_collectAndApplyStyles'](_0x42930b,_0x5ee54d)['then'](()=>{const _0x2fa290=extractElementChildrenAsFragment(_0x5ee54d),_0x34989b=_0x5ee54d['getAttribute']('style');if(_0x34989b)for(const _0x324d4e of _0x2fa290['children']){const _0x177146=_0x324d4e['getAttribute']('style'),_0x53bd5d=concatStylesMaps(this['_stylesProcessor'],[_0x34989b,_0x177146]);_0x324d4e['setAttribute']('style',dumpNonSortedStylesMap(_0x53bd5d));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x2fa290);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x4261a8,_0x588de9){const {data:_0x5964c5,model:_0x3c7275}=this['editor'],_0x46f4d3=_0x3c7275['document']['getRoot'](_0x4261a8),_0x488f68=_0x5964c5['toView'](_0x46f4d3,_0x588de9);return _0x5964c5['htmlProcessor']['domConverter']['viewToDom'](_0x488f68);}async['_collectAndApplyStyles'](_0x2ad493,_0x37e991){const {stylesheets:_0x54057c,inlineCss:_0x464f7a,stripCssClasses:_0x5ad6b0}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x4a5014,rootCssVariables:_0x490509}=await collectAndProcessStylesheets({'stylesheets':_0x54057c||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x464f7a});this['_processElementTree']({'transformations':_0x2ad493,'parsedCssRules':_0x4a5014,'element':_0x37e991,'stripCssClasses':_0x5ad6b0,'parentCSSVariablesLookup':_0x490509['get']['bind'](_0x490509)});}['_processElementTree']({element:_0x5070a3,parsedCssRules:_0x431e9c,parentCSSVariablesLookup:_0x400feb,stripCssClasses:_0x2b1824,transformations:_0xb3c97c}){const {stylesMap:_0x3f82e5,localCSSVariables:_0x55b4d8}=getElementInlineStyles({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x400feb,'parsedCssRules':_0x431e9c,'element':_0x5070a3});for(const _0xbb55f of _0xb3c97c){const _0x5234a3=_0xbb55f(_0x5070a3,_0x3f82e5);_0x5234a3&&_0x5234a3 instanceof HTMLElement&&(_0x5070a3=_0x5234a3);}_0x3f82e5['size']?_0x5070a3['setAttribute']('style',dumpNonSortedStylesMap(_0x3f82e5)):_0x5070a3['removeAttribute']('style');const _0x47ed0d=_0x3aea2f=>_0x55b4d8['has'](_0x3aea2f)?_0x55b4d8['get'](_0x3aea2f):_0x400feb(_0x3aea2f);for(const _0x470f01 of _0x5070a3['children'])_0x470f01 instanceof HTMLElement&&this['_processElementTree']({'element':_0x470f01,'parentCSSVariablesLookup':_0x47ed0d,'parsedCssRules':_0x431e9c,'stripCssClasses':_0x2b1824,'transformations':_0xb3c97c});_0x2b1824&&_0x5070a3['removeAttribute']('class');}}function dumpNonSortedStylesMap(_0x3acd87){return _0x3acd87['getStylesEntries']()['map'](_0x23ceee=>_0x23ceee['join'](':'))['join'](';')+';';}function extractElementChildrenAsFragment(_0x42023e){const _0x47f037=_0x42023e['ownerDocument']['createDocumentFragment']();for(;_0x42023e['firstChild'];)_0x47f037['appendChild'](_0x42023e['firstChild']);return _0x47f037;}class ExportInlineStylesEditing extends ckeditor5['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 ExportInlineStylesCommand(this['editor']));}['afterInit'](){_0x462028(this);}}async function _0x462028(_0x53fcb7){const _0x479c69=_0x3e6958([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x1c6394=window[_0x3e6958([0x44,0x61,0x74,0x65])][_0x3e6958([0x6e,0x6f,0x77])](),_0x3c433a=_0x53fcb7[_0x3e6958([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d36b6=new window[(_0x3e6958([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b03c7=>{_0x3c433a[_0x3e6958([0x6f,0x6e,0x63,0x65])](_0x3e6958([0x72,0x65,0x61,0x64,0x79]),_0x1b03c7);}),_0x182998={[_0x3e6958([0x6b,0x74,0x79])]:_0x3e6958([0x45,0x43]),[_0x3e6958([0x75,0x73,0x65])]:_0x3e6958([0x73,0x69,0x67]),[_0x3e6958([0x63,0x72,0x76])]:_0x3e6958([0x50,0x2d,0x32,0x35,0x36]),[_0x3e6958([0x78])]:_0x3e6958([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3e6958([0x79])]:_0x3e6958([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3e6958([0x61,0x6c,0x67])]:_0x3e6958([0x45,0x53,0x32,0x35,0x36])},_0x3c417b=_0x3c433a[_0x3e6958([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e6958([0x67,0x65,0x74])](_0x3e6958([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x37f3a1=await(async function(){let _0x535931,_0x501aa6=null,_0x513a3a=null;try{if(_0x3c417b==_0x3e6958([0x47,0x50,0x4c]))return _0x3e6958([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x535931=(function(){const _0x408cf7=_0x3c417b[_0x3e6958([0x73,0x70,0x6c,0x69,0x74])](_0x3e6958([0x2e]));if(0x3!=_0x408cf7[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5261ac=_0x408cf7[0x1];return _0x528cbd(_0x5261ac);function _0x528cbd(_0x3cdb45){const _0xfac286=_0x57b9e6(_0x3cdb45);return _0xfac286&&_0x527e25()?_0xfac286:null;function _0x527e25(){const _0x252036=_0xfac286[_0x3e6958([0x6a,0x74,0x69])],_0x32541b=window[_0x3e6958([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x252036[_0x3e6958([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x252036[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x378ba5={..._0xfac286,[_0x3e6958([0x6a,0x74,0x69])]:_0x252036[_0x3e6958([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x252036[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x378ba5[_0x3e6958([0x76,0x63])],_0x2e7498(_0x378ba5)==_0x32541b;}}}()),!_0x535931)return _0x3e6958([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x535931[_0x3e6958([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x513a3a=function(_0x37a2a0,_0x5da554){return new window[(_0x3e6958([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34d33a=>{if(_0x54c52b())return _0x34d33a(_0x3e6958([0x56,0x61,0x6c,0x69,0x64]));_0x12eff5(),_0x3c433a[_0x3e6958([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e6958([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50b2e6=!0x1;const _0x89b044=ckeditor5['uid']();function _0x1f401f(_0x114cc8){return!!_0x114cc8&&(typeof _0x114cc8===_0x3e6958([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x114cc8===_0x3e6958([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x114cc8[_0x3e6958([0x74,0x68,0x65,0x6e])]===_0x3e6958([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x114cc8[_0x3e6958([0x63,0x61,0x74,0x63,0x68])]===_0x3e6958([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xadb7bc(_0x33aeef){_0x1c5179(_0x33aeef)[_0x3e6958([0x74,0x68,0x65,0x6e])](_0x5d354e=>{if(!_0x5d354e||_0x5d354e[_0x3e6958([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e6958([0x6f,0x6b]))return _0x3e6958([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c61c0(_0x2e7498(_0x89b044+_0x5da554))!=_0x5d354e[_0x3e6958([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e6958([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e6958([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e6958([0x74,0x68,0x65,0x6e])](_0x479ccb=>(_0x2ea705(),_0x479ccb),()=>{const _0x37eadf=_0x2cd92d();return null==_0x37eadf?(_0x2ea705(),_0x3e6958([0x56,0x61,0x6c,0x69,0x64])):_0x3e6958(_0x1c6394-_0x37eadf>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e6958([0x74,0x68,0x65,0x6e])](_0x34d33a)[_0x3e6958([0x63,0x61,0x74,0x63,0x68])](()=>{_0x34d33a(_0x3e6958([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x108c2b=0x36ee80;function _0x2ea705(){const _0x34bccf=_0x3e6958([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c61c0(_0x2e7498(_0x37a2a0)),_0x5d605a=_0x551b21(_0x2c61c0(window[_0x3e6958([0x4d,0x61,0x74,0x68])][_0x3e6958([0x63,0x65,0x69,0x6c])](_0x1c6394/_0x108c2b)));window[_0x3e6958([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e6958([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34bccf,_0x5d605a);}function _0x2cd92d(){const _0x4c9a5a=_0x3e6958([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c61c0(_0x2e7498(_0x37a2a0)),_0x3f7a95=window[_0x3e6958([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e6958([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c9a5a);return _0x3f7a95?window[_0x3e6958([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x551b21(_0x3f7a95),0x10)*_0x108c2b:null;}function _0x1c5179(_0x59ce1a){return new window[(_0x3e6958([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xabf34d,_0x53aa2b)=>{_0x59ce1a[_0x3e6958([0x74,0x68,0x65,0x6e])](_0xabf34d,_0x53aa2b),window[_0x3e6958([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53aa2b,0x1d4c0);});}}_0x3c433a[_0x3e6958([0x6f,0x6e])](_0x3e6958([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3fc1fa,_0x3753e7)=>{if(_0x3753e7[0x0]!=_0x37a2a0)return _0x34d33a(_0x3e6958([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3753e7[0x1]={..._0x3753e7[0x1],[_0x3e6958([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x89b044};},{[_0x3e6958([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e6958([0x68,0x69,0x67,0x68])}),_0x3c433a[_0x3e6958([0x6f,0x6e])](_0x3e6958([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3db68d=>{_0x1f401f(_0x3db68d[_0x3e6958([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50b2e6=!0x0,_0xadb7bc(_0x3db68d[_0x3e6958([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e6958([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e6958([0x6c,0x6f,0x77])}),_0x5d36b6[_0x3e6958([0x74,0x68,0x65,0x6e])](()=>{_0x50b2e6||_0x34d33a(_0x3e6958([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54c52b(){return _0x3c433a[_0x3e6958([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e6958([0x76,0x69,0x65,0x77])][_0x3e6958([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e6958([0x61,0x75,0x74,0x6f]);}function _0x12eff5(){_0x3c433a[_0x3e6958([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e6958([0x76,0x69,0x65,0x77])][_0x3e6958([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e6958([0x61,0x75,0x74,0x6f]);}}(_0x535931[_0x3e6958([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x535931[_0x3e6958([0x6a,0x74,0x69])]));const _0x104124=await(async function(){let _0x44110c=!0x0;try{const _0x19f61b=_0x3c417b[_0x3e6958([0x73,0x70,0x6c,0x69,0x74])](_0x3e6958([0x2e])),[_0xb47b3e,_0x3130c7,_0x22eecd]=_0x19f61b;return _0x235158(_0xb47b3e),await _0x363bad(_0xb47b3e,_0x3130c7,_0x22eecd),_0x44110c;}catch{return!0x1;}function _0x235158(_0x2f6e5f){const _0x2319c2=_0x57b9e6(_0x2f6e5f);_0x2319c2&&_0x2319c2[_0x3e6958([0x61,0x6c,0x67])]==_0x3e6958([0x45,0x53,0x32,0x35,0x36])||(_0x44110c=!0x1);}async function _0x363bad(_0x599f20,_0x2076f3,_0x508811){const _0x3726e2=window[_0x3e6958([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e6958([0x66,0x72,0x6f,0x6d])](_0x347e09(_0x508811),_0x11fb37=>_0x11fb37[_0x3e6958([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3024ef=new window[(_0x3e6958([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e6958([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x599f20+_0x3e6958([0x2e])+_0x2076f3),_0x57458e=window[_0x3e6958([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e6958([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57458e)return;const _0x521907=await _0x57458e[_0x3e6958([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e6958([0x6a,0x77,0x6b]),_0x182998,{[_0x3e6958([0x6e,0x61,0x6d,0x65])]:_0x3e6958([0x45,0x43,0x44,0x53,0x41]),[_0x3e6958([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e6958([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e6958([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57458e[_0x3e6958([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e6958([0x6e,0x61,0x6d,0x65])]:_0x3e6958([0x45,0x43,0x44,0x53,0x41]),[_0x3e6958([0x68,0x61,0x73,0x68])]:{[_0x3e6958([0x6e,0x61,0x6d,0x65])]:_0x3e6958([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x521907,_0x3726e2,_0x3024ef)||(_0x44110c=!0x1);}}());return _0x104124?(function(){const _0xbb632d=_0x535931[_0x3e6958([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xbb632d)return!0x1;if(_0xbb632d[_0x3e6958([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e6958([0x2a])))return!0x0;if(_0xbb632d[_0x3e6958([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e6958([0x45,0x49,0x53])))return!0x0;return!0x1;}())?(function(){const _0x553697=[_0x3e6958([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e6958([0x74,0x72,0x69,0x61,0x6c])][_0x3e6958([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x535931[_0x3e6958([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c6394/0x3e8:0x69b0b080;return _0x535931[_0x3e6958([0x65,0x78,0x70])]<_0x553697;}())?_0x3e6958([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3eb48d=_0x535931[_0x3e6958([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3eb48d||0x0==_0x3eb48d[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b18d6}=new URL(window[_0x3e6958([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3eb48d[_0x3e6958([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b18d6))return!0x0;const _0x3b6848=_0x5b18d6[_0x3e6958([0x73,0x70,0x6c,0x69,0x74])](_0x3e6958([0x2e]));return _0x3eb48d[_0x3e6958([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f2d1e=>_0x1f2d1e[_0x3e6958([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e6958([0x2a])))[_0x3e6958([0x6d,0x61,0x70])](_0x3180e6=>_0x3180e6[_0x3e6958([0x73,0x70,0x6c,0x69,0x74])](_0x3e6958([0x2e])))[_0x3e6958([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ead93=>_0x3ead93[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b6848[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e6958([0x6d,0x61,0x70])](_0x3213eb=>Array(_0x3b6848[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3213eb[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e6958([0x66,0x69,0x6c,0x6c])](_0x3213eb[0x0]===_0x3e6958([0x2a])?_0x3e6958([0x2a]):'')[_0x3e6958([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3213eb))[_0x3e6958([0x73,0x6f,0x6d,0x65])](_0x48dfa0=>_0x3b6848[_0x3e6958([0x65,0x76,0x65,0x72,0x79])]((_0x42234e,_0x519524)=>_0x48dfa0[_0x519524]===_0x42234e||_0x48dfa0[_0x519524]===_0x3e6958([0x2a])));}())?(_0x535931[_0x3e6958([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e6958([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x501aa6=function(_0x3c4fd3){const _0x508f1c=new window[(_0x3e6958([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36edbb=>setTimeout(_0x36edbb,0x93ecc)),_0x4774a6=_0x5d36b6[_0x3e6958([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e6958([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16f486=>{let _0x5e9332=0x0;_0x3c433a[_0x3e6958([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e6958([0x6f,0x6e])](_0x3e6958([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45e479,_0x9b545e)=>{_0x9b545e[0x0][_0x3e6958([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5e9332++,0x5e8==_0x5e9332&&(_0x16f486(),_0x45e479[_0x3e6958([0x6f,0x66,0x66])]());});})),_0x5ae2b3=[_0x508f1c,_0x4774a6];return window[_0x3e6958([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e6958([0x72,0x61,0x63,0x65])](_0x5ae2b3)[_0x3e6958([0x74,0x68,0x65,0x6e])](()=>_0x3c4fd3);}(_0x3e6958([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x501aa6&&_0x513a3a)return new window[(_0x3e6958([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e33cc,_0x59d43b)=>{_0x501aa6[_0x3e6958([0x74,0x68,0x65,0x6e])](_0x5e33cc,_0x59d43b),_0x513a3a[_0x3e6958([0x74,0x68,0x65,0x6e])](_0x57137c=>{_0x57137c!=_0x3e6958([0x56,0x61,0x6c,0x69,0x64])&&_0x5e33cc(_0x57137c);},_0x59d43b);});return _0x501aa6||_0x513a3a||_0x3e6958([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3e6958([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e6958([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e6958([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e6958([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x57b9e6(_0x3ea0e1){return _0x3ea0e1[_0x3e6958([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e6958([0x65,0x79]))?JSON[_0x3e6958([0x70,0x61,0x72,0x73,0x65])](_0x347e09(_0x3ea0e1)):null;}function _0x347e09(_0x1a5af1){return window[_0x3e6958([0x61,0x74,0x6f,0x62])](_0x1a5af1[_0x3e6958([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e6958([0x2b]))[_0x3e6958([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e6958([0x2f])));}function _0x2e7498(_0x1cb459){let _0x58df6f=0x1505;function _0x565a23(_0x9dbe2b){for(let _0x2b5780=0x0;_0x2b5780<_0x9dbe2b[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b5780++){const _0x1e0e2d=_0x9dbe2b[_0x3e6958([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b5780);_0x58df6f=(_0x58df6f<<0x5)+_0x58df6f+_0x1e0e2d,_0x58df6f&=_0x58df6f;}}return function _0x1c8317(_0x4012fb){Array[_0x3e6958([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4012fb)?_0x4012fb[_0x3e6958([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c8317):_0x4012fb&&typeof _0x4012fb==_0x3e6958([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e6958([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4012fb)[_0x3e6958([0x73,0x6f,0x72,0x74])]()[_0x3e6958([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57ea53,_0x3fe94d])=>{_0x565a23(_0x57ea53),_0x1c8317(_0x3fe94d);}):_0x565a23(window[_0x3e6958([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4012fb));}(_0x1cb459),_0x58df6f>>>0x0;}function _0x2c61c0(_0x4c24bb){return _0x4c24bb[_0x3e6958([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e6958([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e6958([0x30]));}function _0x551b21(_0xacf551){return _0xacf551[_0x3e6958([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e6958([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e6958([0x6a,0x6f,0x69,0x6e])]('');}function _0x32613e(){}function _0x3e6958(_0x4829ac){return _0x4829ac['map'](_0x352d12=>String['fromCharCode'](_0x352d12))['join']('');}!function(_0xabd63e){const _0x257dfd=(function(){const _0x5935da=window[_0x3e6958([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e6958([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e6958([0x6e,0x6f,0x77])]())[_0x3e6958([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e6958([0x2e]),'');let _0x36e503=_0x3e6958([0x44]);for(let _0x414c19=0x0;_0x414c19<_0x5935da[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x414c19+=0x2){let _0x491302=window[_0x3e6958([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5935da[_0x3e6958([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x414c19,_0x414c19+0x2));_0x491302>=_0x479c69[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x491302-=_0x479c69[_0x3e6958([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x36e503+=_0x479c69[_0x491302];}return _0x36e503;}());_0x3c433a[_0x257dfd]=_0x3e6958([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xabd63e,_0xabd63e!=_0x3e6958([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5d36b6;const _0x145efe=_0x3c433a['commands'][_0x3e6958([0x67,0x65,0x74])](_0x3e6958([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x145efe&&_0x145efe[_0x3e6958([0x6f,0x6e])](_0x3e6958([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x3b2f4b=>{_0x3b2f4b['stop']();},{'priority':_0x3e6958([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),(_0x3c433a[_0x3e6958([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e6958([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32613e,_0x3c433a[_0x3e6958([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e6958([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32613e,_0x3c433a[_0x3e6958([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e6958([0x6d,0x6f,0x64,0x65,0x6c])));}());}(_0x37f3a1);}class ExportInlineStyles extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ExportInlineStylesEditing];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a3fd5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x467802;for(const _0x3332d6 in _0x3a3fd5){const _0x366832=_0x3332d6,_0x7c8ac5=_0x3a3fd5[_0x366832];if('exportInlineStylesLicenseKeyValid'==_0x7c8ac5||'exportInlineStylesLicenseKeyInvalid'==_0x7c8ac5||'exportInlineStylesLicenseKeyExpired'==_0x7c8ac5||'exportInlineStylesLicenseKeyDomainLimit'==_0x7c8ac5||'exportInlineStylesLicenseKeyNotAllowed'==_0x7c8ac5||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x7c8ac5||'exportInlineStylesLicenseKeyUsageLimit'==_0x7c8ac5){delete _0x3a3fd5[_0x366832],_0x467802=_0x7c8ac5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x467802&&_0x3a3fd5['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x467802&&_0x3a3fd5['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x467802&&_0x3a3fd5['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x467802&&_0x3a3fd5['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x467802&&_0x3a3fd5['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x467802&&_0x3a3fd5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getEmailInlineStylesTransformations(_0x5f4b11={}){const _0x47f6c3=[transformEmailFloatToAlign,transformEmailMarginToAlign,transformEmailImageWidthAttributes];return _0x5f4b11['useFigureToTableFallback']&&_0x47f6c3['push'](transformEmailFigureToTable,transformEmailFigcaptionToDiv),_0x47f6c3;}function transformEmailFloatToAlign(_0x33626a,_0xdfc70a){if(!['TABLE','IMG']['includes'](_0x33626a['tagName']))return;const _0x5640f2=_0xdfc70a['getAsString']('float');if(_0x5640f2){const _0x298795=dropImportantStyleSuffix(_0x5640f2);'left'!==_0x298795&&'right'!==_0x298795||_0x33626a['setAttribute']('align',_0x298795);}}function transformEmailMarginToAlign(_0x513061,_0x29934f){if('TABLE'!==_0x513061['tagName']||_0x29934f['has']('float'))return;const _0x424c4d=getAlignFromMargins(_0x29934f),_0xc45d26=_0x29934f['getAsString']('width');(_0x424c4d||_0xc45d26)&&(_0x57cd2a(_0x513061,_0x513061,{'align':_0x424c4d,'width':_0xc45d26}),_0x29934f['remove']('width'),_0x29934f['remove']('margin-left'),_0x29934f['remove']('margin-right'),_0x29934f['remove']('min-width'),_0x29934f['remove']('max-width'));}function transformEmailImageWidthAttributes(_0x402a1d,_0xfbada6){if('IMG'!==_0x402a1d['tagName'])return;const _0x15fe14=_0xfbada6['getAsString']('width');_0x15fe14&&(_0x402a1d['setAttribute']('width',_0x15fe14),_0x402a1d['setAttribute']('height','auto'));}function transformEmailFigureToTable(_0x149f21,_0x31b963){if('FIGURE'!==_0x149f21['tagName'])return;const _0x25bb25=getAlignFromMargins(_0x31b963),_0x40c4aa=_0x31b963['getAsString']('width');if(!_0x25bb25&&!_0x40c4aa)return;const _0x270763=createReplacementElement(_0x149f21,'div');return _0x57cd2a(_0x149f21,_0x270763,{'align':_0x25bb25,'width':_0x40c4aa}),_0x31b963['set']('width','100%'),_0x31b963['remove']('margin-left'),_0x31b963['remove']('margin-right'),_0x31b963['remove']('min-width'),_0x31b963['remove']('max-width'),_0x270763;}function transformEmailFigcaptionToDiv(_0x3fa41f){if('FIGCAPTION'!==_0x3fa41f['tagName'])return;const _0x316e51=createReplacementElement(_0x3fa41f,'div');return _0x3fa41f['replaceWith'](_0x316e51),_0x316e51;}function _0x57cd2a(_0x33658f,_0x3e9da7,_0x43bd9f){const _0x30e42f=_0x33658f['ownerDocument'],{table:_0x24dc5e,cell:_0xeab539}=createWrapperTable(_0x30e42f,'100%');_0x43bd9f['align']&&_0xeab539['setAttribute']('align',dropImportantStyleSuffix(_0x43bd9f['align']));let _0x3282f0=_0xeab539;if(_0x43bd9f['width']){const {table:_0x5ea25e,cell:_0x4b5120}=createWrapperTable(_0x30e42f,dropImportantStyleSuffix(_0x43bd9f['width']));_0xeab539['appendChild'](_0x5ea25e),_0x3282f0=_0x4b5120;}_0x33658f['replaceWith'](_0x24dc5e),_0x33658f['removeAttribute']('align'),_0x33658f['removeAttribute']('width'),_0x3282f0['appendChild'](_0x3e9da7);}function createWrapperTable(_0x465bb4,_0x399389){const _0x2d78dc=_0x465bb4['createElement']('table');_0x2d78dc['setAttribute']('width',_0x399389),_0x2d78dc['setAttribute']('cellpadding','0'),_0x2d78dc['setAttribute']('cellspacing','0'),_0x2d78dc['setAttribute']('border','0'),_0x2d78dc['setAttribute']('role','presentation');const _0x159f41=_0x465bb4['createElement']('tbody'),_0x46a8f1=_0x465bb4['createElement']('tr'),_0x2dbbca=_0x465bb4['createElement']('td');return _0x2d78dc['appendChild'](_0x159f41),_0x159f41['appendChild'](_0x46a8f1),_0x46a8f1['appendChild'](_0x2dbbca),{'table':_0x2d78dc,'cell':_0x2dbbca};}function getAlignFromMargins(_0x52c260){const _0x21e012=_0x52c260['getAsString']('margin-left'),_0x5cfe11=_0x52c260['getAsString']('margin-right'),_0x168a88=_0x21e012&&dropImportantStyleSuffix(_0x21e012),_0x5c9192=_0x5cfe11&&dropImportantStyleSuffix(_0x5cfe11);return'auto'===_0x168a88&&'auto'===_0x5c9192?'center':'auto'===_0x168a88?'right':'auto'===_0x5c9192?'left':void 0x0;}function createReplacementElement(_0x45361b,_0x385632){const _0xaff69e=_0x45361b['ownerDocument']['createElement'](_0x385632);for(const _0x22508b of Array['from'](_0x45361b['attributes']))_0xaff69e['setAttribute'](_0x22508b['name'],_0x22508b['value']);for(;_0x45361b['firstChild'];)_0xaff69e['appendChild'](_0x45361b['firstChild']);return _0xaff69e;}class ImageEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x522e42,plugins:_0x878406}=this['editor'],_0x19886e=_0x522e42['get']('exportInlineStyles');if(_0x19886e?.['transformations']?.['includes'](transformEmailFigureToTable))return;_0x878406['get'](EmailConfigurationLogger)['_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.'});}}class MathTypeEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MathType');}}class ExportInlineStylesEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5a9020=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x5a9020['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5cee2c=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x5bc1f2=this['editor']['config']['get']('list');_0x5bc1f2&&_0x5bc1f2['properties']&&_0x5bc1f2['properties']['reversed']&&_0x5cee2c['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x5bc1f2&&_0x5bc1f2['enableListItemMarkerFormatting']&&_0x5cee2c['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x150d0f}=this['editor'],_0x2993cd=_0x150d0f['get'](EmailConfigurationLogger);_0x150d0f['has']('Table')&&(_0x150d0f['has']('PlainTableOutput')||_0x2993cd['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x150d0f['has']('TableLayout')||_0x2993cd['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x1540c3,plugins:_0x56e5b6}=this['editor'];_0x1540c3['get']('table')&&_0x56e5b6['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x193664){const _0x237efe=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x237efe['_validateConfigColorValue']('table.'+_0x193664+'.borderColors'),_0x237efe['_validateConfigColorValue']('table.'+_0x193664+'.backgroundColors'),_0x237efe['_validateConfigColorValue']('table.'+_0x193664+'.defaultProperties.borderColor'),_0x237efe['_validateConfigColorValue']('table.'+_0x193664+'.defaultProperties'),_0x237efe['_validateConfigColorFormat']('table.'+_0x193664+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x45505f=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x45505f['_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');}}class FontEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x16e8b2}=this['editor'];_0x16e8b2['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x16e8b2['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x47738c){const _0x39b766=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x47738c)&&(_0x39b766['_validateConfigColorValue'](_0x47738c+'.colors'),_0x39b766['_validateConfigColorValue'](_0x47738c+'.documentColors'),_0x39b766['_validateConfigColorFormat'](_0x47738c+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x3cba5c}=this['editor'],_0x3c815f=_0x3cba5c['get'](EmailConfigurationLogger);_0x3cba5c['has']('SourceEditing')||_0x3cba5c['has']('SourceEditingEnhanced')||_0x3c815f['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Markdown');}}class GeneralHtmlIntegrationSupport extends ckeditor5['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[EmailConfigurationLogger];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x596f49}=this['editor'];if(!_0x596f49['has']('DataFilter'))return;const _0x4a4a2a=_0x596f49['get']('DataFilter'),_0x3996f1=_0x596f49['get'](EmailConfigurationLogger);for(const _0x3b29f5 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x4a4a2a['once']('register:'+_0x3b29f5,(_0x255121,_0x342bb6)=>{_0x3996f1['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x342bb6['view']});});}}class MergeFieldsEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3a719b=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x3a719b['_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');}}class TemplateEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1eddf3=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x1eddf3['_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');}}class UploadEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class MediaEmbedEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MediaEmbed');}}class TodoListEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('TodoList');}}class MultiLevelListEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class LinkEmailIntegration extends ckeditor5['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4908d0,plugins:_0x39a947}=this['editor'],_0x2252ba=_0x39a947['get'](EmailConfigurationLogger),_0x2e1875=_0x4908d0['get']('exportInlineStyles');_0x2e1875?.['transformations']?.['includes'](transformEmailFigureToTable)||_0x2252ba['_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.'});}}class EmailConfigurationHelper extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[HighlightEmailIntegration,ImageEmailIntegration,MathTypeEmailIntegration,ExportInlineStylesEmailIntegration,ListEmailIntegration,TableEmailIntegration,EmptyBlockEmailIntegration,FontEmailIntegration,SourceEditingEmailIntegration,MarkdownEmailIntegration,GeneralHtmlIntegrationSupport,MergeFieldsEmailIntegration,TemplateEmailIntegration,UploadEmailIntegration,MediaEmbedEmailIntegration,TodoListEmailIntegration,MultiLevelListEmailIntegration,LinkEmailIntegration];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4dc8a7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40b85c;for(const _0x4771f0 in _0x4dc8a7){const _0x419518=_0x4771f0,_0x12d51d=_0x4dc8a7[_0x419518];if('emailConfigurationHelperLicenseKeyValid'==_0x12d51d||'emailConfigurationHelperLicenseKeyInvalid'==_0x12d51d||'emailConfigurationHelperLicenseKeyExpired'==_0x12d51d||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x12d51d||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x12d51d||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x12d51d||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x12d51d){delete _0x4dc8a7[_0x419518],_0x40b85c=_0x12d51d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x40b85c&&_0x4dc8a7['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x40b85c&&_0x4dc8a7['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x40b85c&&_0x4dc8a7['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x40b85c&&_0x4dc8a7['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x40b85c&&_0x4dc8a7['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x40b85c&&_0x4dc8a7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$d(_0x5a7cad,_0x2158aa){const t=_0x5a7cad['t'];switch(_0x2158aa){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 _0x2158aa;}}const _0x14b9c='https://pdf-converter.cke-cs.com/v1/convert/';class ExportPdfCommand extends ckeditor5['Command']{constructor(_0x313587){super(_0x313587),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x3f24bb={}){const _0x375659=this['editor'],_0x4c3893=_0x3f24bb['converterUrl']||_0x14b9c,_0x2282a4=_0x3f24bb['dataCallback']||(_0x5cc828=>_0x5cc828['data']['get']()),_0x303d14=_0x375659['plugins']['get']('ExportPdf'),_0x1f3178=_0x3f24bb['token']||_0x303d14['_token'];return this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x3f24bb['stylesheets']||['EDITOR_STYLES'])['then'](async _0x58b17d=>{if(_0x375659['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x375659['locale'],'PDF\x20export\x20started')),_0x375659['plugins']['has']('MergeFields')){_0x3f24bb['converterOptions']||(_0x3f24bb['converterOptions']={});const _0x15e64e=_0x375659['plugins']['get']('MergeFieldsEditing'),_0x28ebfa=_0x15e64e['previewMode'],{prefix:_0xa2a354,suffix:_0x5135aa}=_0x375659['config']['get']('mergeFields'),_0x238029='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x5dee0f={'prefix':_0xa2a354,'suffix':_0x5135aa,'data':{}};if('$labels'===_0x28ebfa){for(const _0x2f7fc2 of _0x15e64e['getMergeFieldsIds']())'image'===_0x15e64e['getMergeFieldType'](_0x2f7fc2)?_0x5dee0f['data'][_0x2f7fc2]=_0x238029:_0x5dee0f['data'][_0x2f7fc2]=_0x15e64e['wrapInAffixes'](_0x15e64e['getLabel'](_0x2f7fc2)||_0x2f7fc2);}else{const _0x543f2f='$defaultValues'===_0x28ebfa?_0x15e64e['getDefaultValues']():_0x15e64e['getDataSetValues'](_0x28ebfa,!0x0);for(const _0x11097f of Object['entries'](_0x543f2f)){const [_0x18b899,_0x22a64d]=_0x11097f;'image'===_0x15e64e['getMergeFieldType'](_0x18b899)?_0x5dee0f['data'][_0x18b899]=null!==_0x22a64d?_0x22a64d:_0x238029:_0x5dee0f['data'][_0x18b899]=null!==_0x22a64d?_0x22a64d:_0x15e64e['getLabel'](_0x18b899)||_0x18b899;}}_0x3f24bb['converterOptions']['merge_fields']=_0x5dee0f;}const _0x403024=0x2===_0x3f24bb['version']?prepareContentInlineStyleV2(_0x3f24bb['converterOptions']):prepareContentInlineStyle(_0x3f24bb['converterOptions']),_0x3aedf9={'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'+_0x375659['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x403024+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x2282a4(_0x375659)+'\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':_0x58b17d,[0x2===_0x3f24bb['version']?'config':'options']:_0x3f24bb['converterOptions']},_0x37a24d={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x1f3178?{'Authorization':_0x1f3178['value']}:null,'x-cs-app-id':_0x3f24bb['appID']||'cke5'},'body':JSON['stringify'](_0x3aedf9)};return window['fetch'](_0x4c3893,_0x37a24d)['then'](_0x2662ac=>{if(0xc8!==_0x2662ac['status'])throw _0x2662ac;return _0x2662ac['blob']();})['then'](_0x19086b=>{_0x375659['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x375659['locale'],'PDF\x20export\x20successful'));const _0x50d971='function'==typeof _0x3f24bb['fileName']?_0x3f24bb['fileName']():_0x3f24bb['fileName'];this['_downloadFile'](_0x19086b,_0x50d971||'document.pdf');});})['catch'](_0x1a2fc4=>{const _0x516474=_0x375659['plugins']['get']('Notification');throw _0x375659['ui']['ariaLiveAnnouncer']['announce'](getTranslation$d(_0x375659['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x516474['showWarning'](getTranslation$d(_0x375659['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x1a2fc4;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x51ff92,_0x2a1dde){const _0x275389=document['createElement']('a');_0x275389['href']=window['URL']['createObjectURL'](_0x51ff92),_0x275389['download']=_0x2a1dde,_0x275389['click'](),_0x275389['remove']();}}function prepareContentInlineStyle(_0x35f5ba){return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x35f5ba?.['format']||'A4'),'marginLeft':_0x35f5ba?.['margin_left'],'marginRight':_0x35f5ba?.['margin_right']});}function prepareContentInlineStyleV2(_0x7d67d5){const _0x171a42=_0x7d67d5?.['document']?.['margins'];return generatePageWidthStyle({'pageWidth':pageFormatToWidth(_0x7d67d5?.['document']?.['size']||'A4'),'marginLeft':_0x171a42?.['left'],'marginRight':_0x171a42?.['right']});}function generatePageWidthStyle({pageWidth:_0x3a70b7,marginLeft:_0x49ce07,marginRight:_0x4de526}){return'width:calc('+[_0x3a70b7,_0x49ce07,_0x4de526]['filter'](Boolean)['join']('\x20-\x20')+');';}function pageFormatToWidth(_0x45944f){if('object'==typeof _0x45944f&&'width'in _0x45944f)return _0x45944f['width'];return{'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']}[_0x45944f['toLowerCase']()][0x0];}class ExportPdfUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5a2e06=this['editor'];_0x5a2e06['ui']['componentFactory']['add']('exportPdf',()=>{const _0x490875=this['_createButton'](ckeditor5['ButtonView']),_0x327caa=_0x5a2e06['commands']['get']('exportPdf');return _0x490875['set']({'tooltip':!0x0}),_0x490875['bind']('isOn')['to'](_0x327caa,'isBusy'),_0x490875;}),_0x5a2e06['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x4556ac){const _0x1854a2=this['editor'],_0x3638cf=_0x1854a2['config']['get']('exportPdf')||{},_0x5dca26=_0x1854a2['commands']['get']('exportPdf'),_0x107e5c=new _0x4556ac(_0x1854a2['locale']),_0x5f41a8=new ckeditor5['SpinnerView']();return _0x107e5c['children']['add'](_0x5f41a8),_0x5f41a8['bind']('isVisible')['to'](_0x5dca26,'isBusy'),_0x107e5c['iconView']['bind']('isVisible')['to'](_0x5dca26,'isBusy',_0x59f1bb=>!_0x59f1bb),_0x107e5c['set']({'icon':ckeditor5['IconExportPdf']}),_0x107e5c['bind']('isEnabled')['to'](_0x5dca26,'isEnabled'),_0x107e5c['bind']('label')['to'](_0x5dca26,'isBusy',_0x1e38f9=>getTranslation$d(_0x1854a2['locale'],_0x1e38f9?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x107e5c,'execute',()=>{_0x1854a2['execute']('exportPdf',_0x3638cf),_0x1854a2['editing']['view']['focus']();}),_0x107e5c;}}class ExportPdf extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',ckeditor5['Notification'],ExportPdfUI];}['init'](){const _0x72c2e8=this['editor'],_0x2d79da=_0x72c2e8['config']['get']('exportPdf')||{};_0x72c2e8['commands']['add']('exportPdf',new ExportPdfCommand(_0x72c2e8));const _0x3d0d65=_0x72c2e8['plugins']['get']('CloudServices');!0x1===_0x2d79da['tokenUrl']?this['_token']=null:_0x2d79da['tokenUrl']?_0x3d0d65['registerTokenUrl'](_0x2d79da['tokenUrl'])['then'](_0xe3569d=>{this['_token']=_0xe3569d;}):this['_token']=_0x3d0d65['token'];}}function getConverterOptions(_0x1799af,_0x5c71ac={}){const _0x37beeb=_0x1799af['plugins']['has']('Users'),_0x3da7ce=_0x1799af['plugins']['has']('CommentsRepository'),_0x5eb132=_0x1799af['plugins']['has']('TrackChanges'),_0x5cf863=_0x5c71ac;if(_0x37beeb&&_0x3da7ce){const _0x32795e=getComments(_0x1799af['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x32795e)['length']&&(_0x5cf863['comments']=_0x32795e);}if(_0x37beeb&&_0x5eb132){const _0xbecd2e=_0x1799af['plugins']['get']('TrackChanges'),_0x5475a8=_0x1799af['plugins']['get']('Users'),_0x40ff0a=getSuggestions(_0xbecd2e['getSuggestions']({'toJSON':!0x0}),_0x5475a8['users']);Object['keys'](_0x40ff0a)['length']&&(_0x5cf863['suggestions']=_0x40ff0a);}return(_0x5cf863['suggestions']||_0x5cf863['comments'])&&(_0x5cf863['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x5cf863;}function getComments(_0x53f1ff){const _0x59fbfa={};if(!_0x53f1ff['length'])return _0x59fbfa;for(const _0xd0b8b3 of _0x53f1ff)_0xd0b8b3['comments']['map'](_0x451f3a=>{void 0x0===_0x59fbfa[_0xd0b8b3['id']]&&(_0x59fbfa[_0xd0b8b3['id']]=[]),_0x59fbfa[_0xd0b8b3['id']]['push']({'author':_0x451f3a['author']['name'],'content':_0x451f3a['content'],'created':_0x451f3a['createdAt'],'is_resolved':_0xd0b8b3['isResolved']});});return _0x59fbfa;}function getSuggestions(_0x36ae5f,_0x2f182e){const _0x36c8e8={};if(!_0x36ae5f['length']||!_0x2f182e['length'])return _0x36c8e8;for(const {id:_0x1ab106,createdAt:_0x43e14b,authorId:_0xf9d387,attributes:_0x3340c5}of _0x36ae5f){const _0x12a60b=_0x3340c5&&_0x3340c5['@external'],_0x49b353=_0x12a60b?_0x12a60b['authorName']:_0x2f182e['get'](_0xf9d387)['name'];_0x36c8e8[_0x1ab106]={'author':_0x49b353,'created':_0x43e14b};}return _0x36c8e8;}function getConverterOptionsV2(_0xdc8182,_0x101f82={}){const _0x4ade22=_0xdc8182['plugins']['has']('Users'),_0x3a255b=_0xdc8182['plugins']['has']('CommentsRepository'),_0x1df681=_0xdc8182['plugins']['has']('TrackChanges'),_0x45fc35=_0xdc8182['plugins']['has']('MergeFields'),_0x41ac96=_0xdc8182['locale']['contentLanguage'],_0x4c073c=_0x101f82,_0x385b3f={};if(_0x4c073c['document']=_0x4c073c['document']||{},_0x4c073c['document']['language']=_0x4c073c['document']['language']||_0x41ac96,_0x4ade22&&_0x3a255b){const _0x4217c2=getCommentsV2(_0xdc8182['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4217c2['length']&&(_0x385b3f['comment_threads']=_0x4217c2);}if(_0x4ade22&&_0x1df681){const _0x2c2aff=_0xdc8182['plugins']['get']('TrackChanges'),_0x2899af=_0xdc8182['plugins']['get']('Users'),_0x42d5b2=getSuggestionsV2(_0x2c2aff['getSuggestions']({'toJSON':!0x0}),_0x2899af['users']);_0x42d5b2['length']&&(_0x385b3f['suggestions']=_0x42d5b2);}if(_0x45fc35){const _0x3e646d=_0xdc8182['plugins']['get']('MergeFieldsEditing'),_0x4ca7a2=_0x3e646d['previewMode'],{prefix:_0x281dad,suffix:_0x2d0cd0}=_0xdc8182['config']['get']('mergeFields');if(_0x4c073c['merge_fields']={'prefix':_0x281dad,'suffix':_0x2d0cd0},'$labels'!==_0x4ca7a2){_0x4c073c['merge_fields']['data']={};const _0x34cfda='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x3a736b='$defaultValues'===_0x4ca7a2?_0x3e646d['getDefaultValues']():_0x3e646d['getDataSetValues'](_0x4ca7a2,!0x0);for(const _0x121fd9 of Object['entries'](_0x3a736b)){const [_0x50feeb,_0x269228]=_0x121fd9;'image'===_0x3e646d['getMergeFieldType'](_0x50feeb)?_0x4c073c['merge_fields']['data'][_0x50feeb]=null!==_0x269228?_0x269228:_0x34cfda:_0x4c073c['merge_fields']['data'][_0x50feeb]=null!==_0x269228?_0x269228:_0x3e646d['getLabel'](_0x50feeb)||_0x50feeb;}}}return(_0x385b3f['comment_threads']||_0x385b3f['suggestions'])&&(_0x4c073c['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x4c073c['collaboration_features']=_0x385b3f),_0x4c073c;}function getCommentsV2(_0x358a89){const _0x509612=[];if(!_0x358a89['length'])return _0x509612;for(const _0x301dc1 of _0x358a89){const _0x7e9aff=_0x301dc1['comments']['map'](_0x3df6f3=>({'author':_0x3df6f3['author']['name'],'content':_0x3df6f3['content'],'created_at':_0x3df6f3['createdAt']}));_0x509612['push']({'thread_id':_0x301dc1['id'],'is_resolved':_0x301dc1['isResolved'],'comments':_0x7e9aff});}return _0x509612;}function getSuggestionsV2(_0x3b4e6e,_0x45d4ac){return _0x3b4e6e['length']&&_0x45d4ac['length']?_0x3b4e6e['map'](({id:_0x5b0712,createdAt:_0x19af18,authorId:_0x50c7e0,attributes:_0x22ca98})=>{const _0x33c430=_0x22ca98&&_0x22ca98['@external'];return{'id':_0x5b0712,'author':_0x33c430?_0x33c430['authorName']:_0x45d4ac['get'](_0x50c7e0)['name'],'created_at':_0x19af18};}):[];}function getTranslation$c(_0x597499,_0x16cb13){const t=_0x597499['t'];switch(_0x16cb13){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 _0x16cb13;}}const _0x5e425a='https://docx-converter.cke-cs.com/v1/convert',_0x586354='https://docx-converter.cke-cs.com/v2/convert/html-docx',firstVersionApiKeys=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends ckeditor5['Command']{constructor(_0x447452){super(_0x447452),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x4007b0={}){const _0x321d5e=this['editor'],_0x57f901=_0x4007b0['version']||0x2,_0x2f66ef=0x1===_0x57f901,_0x4c8197=_0x4007b0['converterUrl']||(_0x2f66ef?_0x5e425a:_0x586354),_0x3b7554=_0x4007b0['converterOptions']||{},_0x33cfe8=_0x321d5e['plugins']['get']('ExportWord'),_0x47db6e=_0x4007b0['token']||_0x33cfe8['_token'],_0x2f2664=!0x0===_0x3b7554['auto_pagination'],_0x5aa87c=_0x4007b0['dataCallback']||(_0x652e8d=>_0x652e8d['data']['get']({'pagination':_0x2f2664}));return 0x2===_0x57f901&&_0x31bc70(_0x3b7554)&&ckeditor5['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),ckeditor5['collectStylesheets'](_0x4007b0['stylesheets']||['EDITOR_STYLES'])['then'](async _0x20d7d8=>{_0x321d5e['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x321d5e['locale'],'Word\x20document\x20export\x20started'));const _0x1b9e33=await _0x5aa87c(_0x321d5e),_0x45b459={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x321d5e['locale']['contentLanguageDirection']+'\x22>'+_0x1b9e33+'</div>','css':_0x20d7d8,[_0x2f66ef?'options':'config']:{..._0x3b7554,..._0x2f66ef?getConverterOptions(_0x321d5e,_0x3b7554):getConverterOptionsV2(_0x321d5e,_0x3b7554)}},_0x297f08={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x47db6e?{'Authorization':_0x47db6e['value']}:null},'body':JSON['stringify'](_0x45b459)};return window['fetch'](_0x4c8197,_0x297f08)['then'](_0x264ffd=>{if(0xc8!==_0x264ffd['status'])throw _0x264ffd;return _0x264ffd['blob']();})['then'](_0x59e77a=>{_0x321d5e['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x321d5e['locale'],'Word\x20document\x20export\x20successful'));const _0x5b2c1b='function'==typeof _0x4007b0['fileName']?_0x4007b0['fileName']():_0x4007b0['fileName'];this['_downloadFile'](_0x59e77a,_0x5b2c1b||'document.docx');});})['catch'](_0x22f0d3=>{const _0x1645c1=_0x321d5e['plugins']['get']('Notification');throw _0x321d5e['ui']['ariaLiveAnnouncer']['announce'](getTranslation$c(_0x321d5e['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x1645c1['showWarning'](getTranslation$c(_0x321d5e['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x22f0d3;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x192f90,_0x257362){const _0x28aacb=document['createElement']('a');_0x28aacb['href']=window['URL']['createObjectURL'](_0x192f90),_0x28aacb['download']=_0x257362,_0x28aacb['click'](),_0x28aacb['remove']();}}function _0x31bc70(_0x4994fc){for(const _0x42b730 of firstVersionApiKeys)if(void 0x0!==_0x4994fc[_0x42b730])return!0x0;return!0x1;}class ExportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x166219=this['editor'];_0x166219['ui']['componentFactory']['add']('exportWord',()=>{const _0x437de2=_0x166219['commands']['get']('exportWord'),_0x4cae2a=this['_createButton'](ckeditor5['ButtonView']);return _0x4cae2a['set']({'tooltip':!0x0}),_0x4cae2a['bind']('isOn')['to'](_0x437de2,'isBusy'),_0x4cae2a;}),_0x166219['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView']));}['_createButton'](_0x58aac8){const _0x3ec005=this['editor'],_0x2d2d7b=_0x3ec005['config']['get']('exportWord')||{},_0x536e38=_0x3ec005['commands']['get']('exportWord'),_0x4faeea=new _0x58aac8(_0x3ec005['locale']),_0x549047=new ckeditor5['SpinnerView']();return _0x4faeea['children']['add'](_0x549047),_0x549047['bind']('isVisible')['to'](_0x536e38,'isBusy'),_0x4faeea['iconView']['bind']('isVisible')['to'](_0x536e38,'isBusy',_0xee2d23=>!_0xee2d23),_0x4faeea['set']({'icon':ckeditor5['IconExportWord']}),_0x4faeea['bind']('isEnabled')['to'](_0x536e38,'isEnabled'),_0x4faeea['bind']('label')['to'](_0x536e38,'isBusy',_0x497878=>getTranslation$c(_0x3ec005['locale'],_0x497878?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x4faeea,'execute',()=>{_0x3ec005['execute']('exportWord',_0x2d2d7b),_0x3ec005['editing']['view']['focus']();}),_0x4faeea;}}class ExportWord extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',ckeditor5['Notification'],ExportWordUI];}['init'](){const _0x3b94ef=this['editor'],_0x289085=_0x3b94ef['config']['get']('exportWord')||{};_0x3b94ef['commands']['add']('exportWord',new ExportWordCommand(_0x3b94ef));const _0x28b149=_0x3b94ef['plugins']['get']('CloudServices');!0x1===_0x289085['tokenUrl']?this['_token']=null:_0x289085['tokenUrl']?_0x28b149['registerTokenUrl'](_0x289085['tokenUrl'])['then'](_0x2c9529=>{this['_token']=_0x2c9529;}):this['_token']=_0x28b149['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x38f30b,_0x445b3d){this['_model']=_0x38f30b,this['_elementName']=_0x445b3d['elementName'],this['_getElementKey']=_0x445b3d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x350e32){const _0xc66f5f=new Set(),_0x410823=new Map();for(const _0x15d28e of _0x350e32){if('insert'===_0x15d28e['type']&&'$text'!==_0x15d28e['name']&&_0x15d28e['position']['nodeAfter']){const _0x5e578c=this['_model']['createRangeOn'](_0x15d28e['position']['nodeAfter']);for(const _0x668474 of _0x5e578c['getItems']()){if(!_0x668474['is']('element',this['_elementName']))continue;const _0x37abde=this['_getElementKey'](_0x668474);_0x410823['has'](_0x37abde)||_0x410823['set'](_0x37abde,[]),_0x410823['get'](_0x37abde)['push'](_0x668474);}}if('remove'===_0x15d28e['type']&&_0x15d28e['name']===this['_elementName']){const _0x4cfbdc=this['_getElementKey']({'getAttribute':_0x11dea2=>_0x15d28e['attributes']['get'](_0x11dea2)});_0xc66f5f['add'](_0x4cfbdc);}}for(const [_0x21a871,_0x2242b1]of this['_trackedElements'])'$graveyard'===_0x2242b1['root']['rootName']&&_0xc66f5f['add'](_0x21a871);for(const _0x3ccf31 of _0xc66f5f)this['_trackedElements']['delete'](_0x3ccf31);for(const [_0x2aa6c2,_0x5b6995]of _0x410823)this['_trackedElements']['set'](_0x2aa6c2,_0x5b6995[_0x5b6995['length']-0x1]);const _0x1bbf36=new Set();for(const [_0x546d6b,_0x338ad2]of _0x410823)_0xc66f5f['has'](_0x546d6b)&&(_0x1bbf36['add'](_0x338ad2[0x0]),_0x338ad2['length']>0x1?_0x410823['set'](_0x546d6b,_0x338ad2['slice'](0x1)):_0x410823['delete'](_0x546d6b),_0xc66f5f['delete'](_0x546d6b));return{'removed':Array['from'](_0xc66f5f),'inserted':Array['from'](_0x410823['values']())['flat'](),'moved':Array['from'](_0x1bbf36)};}}class FootnotesTracker extends ckeditor5['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(_0x33c19e){super(_0x33c19e),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4ecaf5=>_0x4ecaf5['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x41cc16=>_0x41cc16['getAttribute']('footnoteId')});}['init'](){const {editor:_0xff331b}=this,{model:_0x52ae44,data:_0x2e37f0}=_0xff331b;_0x52ae44['document']['registerPostFixer'](_0x1dea77=>{const _0x28f6f0=_0x52ae44['document']['differ']['getChanges']();let _0x1d5aba=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x1dea77,_0x28f6f0)&&(_0x1d5aba=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x1dea77,_0x28f6f0)&&(_0x1d5aba=!0x0),this['_handleFootnoteReferencesChanges'](_0x1dea77,_0x28f6f0)&&(_0x1d5aba=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x1dea77)&&(_0x1d5aba=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x1dea77)&&(_0x1d5aba=!0x0),this['_sortFootnoteDefinitions'](_0x1dea77)&&(_0x1d5aba=!0x0),_0x1d5aba;}),this['listenTo'](_0x52ae44['document'],'change:data',()=>{_0x52ae44['enqueueChange']({'isUndoable':!0x1},_0x4aac03=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4aac03);});},{'priority':'low'}),this['listenTo'](_0x2e37f0,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2b5b4c){return this['_footnotes']['find'](_0x38a9f5=>_0x38a9f5['id']===_0x2b5b4c)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x395905){this['_footnoteFormatter']=_0x395905;}['_updateFootnotesCounters'](_0x3bf138,_0x30a99e=0x0){let _0xbdf64b=!0x1;for(let _0xe54a7a=_0x30a99e;_0xe54a7a<this['_footnotes']['length'];_0xe54a7a++)this['_updateFootnoteRefCounter'](_0x3bf138,_0xe54a7a)&&(_0xbdf64b=!0x0);return _0xbdf64b;}['_insertEmptyFootnotesDefinitionsContainer'](_0x2cba10,_0x2421f8){const _0xc3380e=_0x2cba10['createElement']('footnotesDefinitions',{});return _0x2cba10['append'](_0xc3380e,_0x2421f8),this['_footnotesDefinitions']=_0xc3380e,_0xc3380e;}['_ensureFootnotesDefinitionsContainerExists'](_0x105378){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2837b1=this['_footnotes'][0x0]['reference']['root'],_0x17f452=this['_insertEmptyFootnotesDefinitionsContainer'](_0x105378,_0x2837b1);for(const _0x495a03 of this['_footnotes'])_0x495a03['definition']['parent']||_0x105378['insert'](_0x495a03['definition'],_0x17f452,'end');this['_updateFootnotesCounters'](_0x105378);}['_handleFootnotesDefinitionsObjectChanges'](_0x4cdc81,_0x88ea96){let _0x1a433f=!0x1;const {inserted:_0x4e228c,removed:_0x1006dc,moved:_0x2a2f70}=this['_footnoteDefsContainerTracker']['getChanges'](_0x88ea96);if(_0x2a2f70['length']&&(this['_footnotesDefinitions']=_0x2a2f70[0x0]),_0x4e228c['length']){if(_0x4e228c['length']>0x1||this['_footnotesDefinitions']&&_0x4e228c['some'](_0x179276=>_0x179276!==this['_footnotesDefinitions'])){const _0x3f5636=_0x4cdc81['createElement']('footnotesDefinitions',{}),_0x5caf6e=[];this['_footnotesDefinitions']&&_0x5caf6e['push'](this['_footnotesDefinitions']),_0x5caf6e['push'](..._0x4e228c),_0x4cdc81['insert'](_0x3f5636,_0x5caf6e[0x0],'before');for(const _0xdb9aff of _0x5caf6e)_0x4cdc81['move'](_0x4cdc81['createRangeIn'](_0xdb9aff),_0x4cdc81['createPositionAt'](_0x3f5636,'end')),_0x4cdc81['remove'](_0xdb9aff);this['_footnotesDefinitions']=_0x3f5636,this['_updateFootnotesCounters'](_0x4cdc81),_0x1a433f=!0x0;}else this['_footnotesDefinitions']=_0x4e228c[0x0];}if(_0x1006dc['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x69bcfb of this['_footnotes'])_0x4cdc81['remove'](_0x69bcfb['reference']),_0x1a433f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1a433f;}['_handleFootnoteDefinitionsChanges'](_0x599a1a,_0x4964e5){let _0x2ee7c8=!0x1;const _0x3310a7=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x119f01,moved:_0x3c0c7e}=this['_footnoteDefsTracker']['getChanges'](_0x4964e5);for(const _0x13ccb4 of[..._0x3c0c7e,..._0x119f01]){const _0x22c290=_0x13ccb4['getAttribute']('footnoteId'),_0xc519a1=this['getFootnote'](_0x22c290);_0xc519a1&&(_0xc519a1['definition']=_0x13ccb4),ensureDefinitionIsNotEmpty(_0x599a1a,_0x3310a7,_0x13ccb4)&&(_0x2ee7c8=!0x0);}return _0x2ee7c8;}['_handleFootnoteReferencesChanges'](_0x59371f,_0x383e27){let _0x435b4d=!0x1;const {removed:_0x4765cb,inserted:_0x1d143f,moved:_0x13c436}=this['_footnoteRefsTracker']['getChanges'](_0x383e27);for(const _0x5376ef of _0x4765cb)this['_handleRemoveFootnoteReferenceById'](_0x59371f,_0x5376ef)&&(_0x435b4d=!0x0);for(const _0x2cb52f of _0x1d143f)this['_handleInsertedFootnoteReference'](_0x59371f,_0x2cb52f)&&(_0x435b4d=!0x0);for(const _0x2ea0fc of _0x13c436)this['_handleMovedFootnoteReference'](_0x59371f,_0x2ea0fc)&&(_0x435b4d=!0x0);return _0x435b4d;}['_handleFootnotesDefinitionsObjectSync'](_0x5d0134){if(!this['_footnotesDefinitions'])return!0x1;let _0xd2b866=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x481bb8=[];for(const _0x5d819a of this['_footnotesDefinitions']['getChildren']()){const _0x18c518=_0x5d819a['getAttribute']('footnoteId');this['getFootnote'](_0x18c518)||(_0x481bb8['unshift'](_0x5d819a),_0xd2b866=!0x0);}for(const _0x9e101f of _0x481bb8)_0x5d0134['remove'](_0x9e101f);}const _0x38c87e=new Set(),_0x50d226=[];for(const _0x5e8b86 of this['_footnotesDefinitions']['getChildren']()){const _0x1ea0d5=_0x5e8b86['getAttribute']('footnoteId');_0x38c87e['has'](_0x1ea0d5)?(_0x50d226['unshift'](_0x5e8b86),_0xd2b866=!0x0):_0x38c87e['add'](_0x1ea0d5);}for(const _0x6e7769 of _0x50d226)_0x5d0134['remove'](_0x6e7769);return this['_footnotesDefinitions']['childCount']||(_0x5d0134['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xd2b866=!0x0),_0xd2b866;}['_handleInsertedFootnoteReference'](_0x422337,_0x58540f){if(this['_footnotes']['find'](_0x5e326b=>_0x5e326b['reference']===_0x58540f))return!0x1;let _0x4e8309=!0x1;const _0x5032fe=_0x58540f['getAttribute']('footnoteId'),_0x478b26=this['_footnotes']['findIndex'](_0x52776d=>_0x52776d['id']===_0x5032fe);-0x1!==_0x478b26&&(_0x422337['remove'](this['_footnotes'][_0x478b26]['reference']),this['_footnotes']['splice'](_0x478b26,0x1),_0x4e8309=!0x0);let _0x25bc6b=this['_footnotesDefinitions']?findFootnoteDefinitionInContainer(this['_footnotesDefinitions'],_0x5032fe):null;_0x25bc6b||(_0x25bc6b=_0x422337['createElement']('footnoteDefinition',{'footnoteId':_0x5032fe}),this['_footnotesDefinitions']&&(_0x422337['insert'](_0x25bc6b,this['_footnotesDefinitions'],'end'),_0x4e8309=!0x0));const _0x57bb67={'id':_0x5032fe,'reference':_0x58540f,'definition':_0x25bc6b},_0x3d8b67=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x58540f);this['_footnotes']['splice'](_0x3d8b67,0x0,_0x57bb67);let _0x466414=_0x3d8b67;return-0x1!==_0x478b26&&(_0x466414=Math['min'](_0x3d8b67,_0x478b26)),this['_updateFootnotesCounters'](_0x422337,_0x466414)&&(_0x4e8309=!0x0),_0x4e8309;}['_handleRemoveFootnoteReferenceById'](_0x217e03,_0xfe8e60){const _0x42dd9b=this['_footnotes']['findIndex'](_0x5b5862=>_0x5b5862['id']===_0xfe8e60);if(-0x1===_0x42dd9b)return!0x1;let _0x4dd74f=!0x1;const _0x402296=this['_footnotes'][_0x42dd9b];return'$graveyard'!==_0x402296['definition']['root']['rootName']&&(_0x217e03['remove'](_0x402296['definition']),_0x4dd74f=!0x0),this['_footnotes']['splice'](_0x42dd9b,0x1),this['_updateFootnotesCounters'](_0x217e03,_0x42dd9b)&&(_0x4dd74f=!0x0),_0x4dd74f;}['_handleMovedFootnoteReference'](_0x1d4e78,_0x44af37){const _0x1c0f72=_0x44af37['getAttribute']('footnoteId'),_0x1afaa2=this['_footnotes']['findIndex'](_0xd3c963=>_0xd3c963['id']===_0x1c0f72),_0x3e082c=this['_footnotes'][_0x1afaa2];let _0x2213e5=!0x1;_0x3e082c['reference']=_0x44af37,this['_footnotes']['splice'](_0x1afaa2,0x1);const _0x11cf9d=findInsertFootnoteReferenceIndex(this['editor']['model'],this['_footnotes'],_0x44af37);return this['_footnotes']['splice'](_0x11cf9d,0x0,_0x3e082c),this['_updateFootnotesCounters'](_0x1d4e78,Math['min'](_0x1afaa2,_0x11cf9d))&&(_0x2213e5=!0x0),_0x2213e5;}['_updateFootnoteRefCounter'](_0x493720,_0xad6058){if(!this['_footnotesDefinitions'])return!0x1;const _0x3d2be9=this['_footnotes'][_0xad6058];let _0x468bcb;return _0x468bcb=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3d2be9,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xad6058+0x1}):String(_0xad6058+0x1),_0x3d2be9['reference']['getAttribute']('footnoteCounter')!=_0x468bcb&&(_0x493720['setAttribute']('footnoteCounter',_0x468bcb,_0x3d2be9['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1c3eb0){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(_0x256f37(this['_footnotes']['map'](_0x50586f=>_0x50586f['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xbb3fc5=>_0xbb3fc5['getAttribute']('footnoteId'))))return!0x1;let _0x2c9e19=!0x1;for(let _0x4ee974=0x0;_0x4ee974<this['_footnotes']['length'];_0x4ee974++){const _0x3cef39=this['_footnotes'][_0x4ee974],_0x327d0e=_0x1c3eb0['createPositionBefore'](_0x3cef39['definition']),_0x21a565=_0x1c3eb0['createPositionAt'](this['_footnotesDefinitions'],_0x4ee974);_0x327d0e['isEqual'](_0x21a565)||(_0x1c3eb0['move'](_0x1c3eb0['createRangeOn'](_0x3cef39['definition']),_0x21a565),_0x2c9e19=!0x0);}return _0x2c9e19;}['_ensureFootnotesReferencesHaveProperOrder'](_0x19c5ac){if(!this['_footnotes']['length'])return!0x1;const {model:_0x5bc770}=this['editor'];let _0x24183d=!0x1;for(let _0x5d50a1=0x0;_0x5d50a1<this['_footnotes']['length']-0x1;_0x5d50a1++){const _0x2798b8=this['_footnotes'][_0x5d50a1],_0x3cfc7b=this['_footnotes'][_0x5d50a1+0x1],_0x3daf1a=_0x5bc770['createPositionBefore'](_0x2798b8['reference']),_0x21f362=_0x5bc770['createPositionBefore'](_0x3cfc7b['reference']);'after'===_0x3daf1a['compareWith'](_0x21f362)&&(this['_handleMovedFootnoteReference'](_0x19c5ac,_0x2798b8['reference']),_0x5d50a1=-0x1,_0x24183d=!0x0);}return _0x24183d;}}function ensureDefinitionIsNotEmpty(_0x1e6d63,_0x13b9d4,_0x9c414d){if(_0x9c414d['childCount'])return!0x1;const _0x324606=_0x13b9d4?'paragraph':'footnoteInlineContent';return _0x1e6d63['insert'](_0x1e6d63['createElement'](_0x324606),_0x9c414d),!0x0;}function findFootnoteDefinitionInContainer(_0x5207ff,_0x4ef596){for(const _0x5db14f of _0x5207ff['getChildren']())if(_0x5db14f['getAttribute']('footnoteId')===_0x4ef596)return _0x5db14f;return null;}function findInsertFootnoteReferenceIndex(_0x1f7331,_0x202fb5,_0x1ac92f){if(0x0===_0x202fb5['length'])return 0x0;const _0xb515d1=_0x1f7331['createPositionBefore'](_0x1ac92f);for(let _0x2c5cb4=0x0;_0x2c5cb4<_0x202fb5['length'];_0x2c5cb4++){const _0x5a1734=_0x202fb5[_0x2c5cb4],_0x42c189=_0x1f7331['createPositionBefore'](_0x5a1734['reference']);if('before'===_0xb515d1['compareWith'](_0x42c189))return _0x2c5cb4;}const _0x27fd27=_0x1ac92f['root'];let _0x18694f=-0x1;for(let _0x33ac2a=_0x202fb5['length']-0x1;_0x33ac2a>=0x0;_0x33ac2a--)if(_0x202fb5[_0x33ac2a]['reference']['root']===_0x27fd27){_0x18694f=_0x33ac2a;break;}if(-0x1!==_0x18694f)return _0x18694f+0x1;const _0x5cacd3=_0x1f7331['document']['getRootNames'](),_0x1e6f4b=_0x5cacd3['indexOf'](_0x27fd27['rootName']),_0x24dead=_0x5cacd3[_0x1e6f4b+0x1];if(_0x24dead){for(let _0x40a88a=0x0;_0x40a88a<_0x202fb5['length'];_0x40a88a++)if(_0x202fb5[_0x40a88a]['reference']['root']['rootName']===_0x24dead)return _0x40a88a;}return _0x202fb5['length'];}function _0x256f37(_0x18e062,_0x336348){if(_0x18e062['length']!==_0x336348['length'])return!0x1;for(let _0x48f8b8=0x0;_0x48f8b8<_0x18e062['length'];_0x48f8b8++)if(_0x18e062[_0x48f8b8]!==_0x336348[_0x48f8b8])return!0x1;return!0x0;}class InsertFootnoteCommand extends ckeditor5['Command']{['refresh'](){const _0x1501a6=this['editor']['model']['document']['selection'],_0x9cd434=this['_getPositionToInsertFootnote'](_0x1501a6);this['isEnabled']=!!_0x9cd434;}['execute'](_0xe44ec9){const {editor:_0x29fbb9}=this,{model:_0x7ff6cc}=_0x29fbb9,{selection:_0x876433}=_0x7ff6cc['document'],_0x428f99=this['_getPositionToInsertFootnote'](_0x876433);if(!_0x428f99)return;const _0x5c326c=_0x29fbb9['plugins']['get']('FootnotesEditing'),_0x4d7969=_0xe44ec9?.['footnoteId']??ckeditor5['uid']();isFootnoteIdValid(_0x4d7969)?(_0x7ff6cc['change'](_0x51a263=>{const _0x583c88=_0x51a263['createElement']('footnoteRef',{'footnoteId':_0x4d7969});_0x7ff6cc['insertObject'](_0x583c88,_0x428f99,null);}),_0x5c326c['_moveSelectionToFootnoteDefinition'](_0x4d7969)):ckeditor5['logWarning']('insert-footnote-command-executed-with-invalid-id');}['_getPositionToInsertFootnote'](_0x393feb){const {model:_0x388fcf}=this['editor'],{schema:_0x231f06}=_0x388fcf,_0x43e23b=_0x393feb['getFirstRange']();for(const _0x383bc9 of _0x43e23b['getItems']())if(_0x231f06['isBlock'](_0x383bc9)||_0x231f06['isObject'](_0x383bc9))return null;const _0x472c62=_0x43e23b['end'];return _0x231f06['checkChild'](_0x472c62,'footnoteRef')?_0x472c62:null;}}function isFootnoteIdValid(_0x52224d){return'string'==typeof _0x52224d&&_0x52224d['length']>0x0&&!/\s/['test'](_0x52224d)&&!/^\d/['test'](_0x52224d);}class FootnotesEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2fce25}=this;_0x2fce25['config']['define']('footnotes.multiBlock',!0x0),_0x2fce25['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x2fce25)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){_0x38a8d4(this);}['_moveSelectionToFootnoteDefinition'](_0x116166){const {plugins:_0x508791,editing:_0x242b1c,model:_0x438ecf}=this['editor'],_0x157a47=_0x508791['get'](FootnotesTracker)['getFootnote'](_0x116166);return!!_0x157a47&&(_0x438ecf['change'](_0x5805b9=>{_0x5805b9['setSelection'](_0x5805b9['createPositionAt'](_0x157a47['definition'],'end'));}),_0x242b1c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3622ad){const {plugins:_0x105ce5,editing:_0x3cee4a,model:_0x371fa1}=this['editor'],_0x20a913=_0x105ce5['get'](FootnotesTracker)['getFootnote'](_0x3622ad);return!!_0x20a913&&(_0x371fa1['change'](_0xe80c15=>{_0xe80c15['setSelection'](_0x20a913['reference'],'on');}),_0x3cee4a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x55a921}=this['editor']['model'],_0x1f555e=this['editor']['config']['get']('footnotes.multiBlock');_0x55a921['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x55a921['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x55a921['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1f555e?_0x55a921['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x55a921['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x55a921['addChildCheck'](_0x503c3b=>{for(const _0x4181ce of _0x503c3b)if('footnoteDefinition'===_0x4181ce['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x140c87}=this,{conversion:_0x4d4a88,editing:_0x46c5c8}=_0x140c87,{t:t}=_0x140c87['locale'];_0x4d4a88['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x297dbe,{writer:_0x3223cf,consumable:_0x4995a8})=>{const _0x25eea9=_0x297dbe['getChild'](0x0);if(!_0x25eea9||!_0x25eea9['is']('element','a'))return null;const _0x369cab=_0x25eea9['getAttribute']('href')||'';if(!_0x369cab['startsWith']('#'))return null;const _0x421573=_0x369cab['replace'](/^#/,'');if(!_0x421573)return null;_0x4995a8['consume'](_0x25eea9,{'name':!0x0,'attributes':['href']});for(const {item:_0x2d900a}of _0x46c5c8['view']['createRangeIn'](_0x25eea9))_0x2d900a['is']('$textProxy')?_0x4995a8['consume'](_0x2d900a['textNode'],{'name':!0x0}):_0x2d900a['is']('element')&&_0x4995a8['consume'](_0x2d900a,{'name':!0x0});return _0x3223cf['createElement']('footnoteRef',{'footnoteId':_0x421573});}}),_0x4d4a88['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xf50524,{writer:_0x2ff733})=>createFootnoteRefView(_0xf50524,_0x2ff733)}),_0x4d4a88['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4c0e75,{writer:_0x45eec})=>{const _0x5d41ad=_0x4c0e75['getAttribute']('footnoteCounter');return ckeditor5['toWidget'](createFootnoteRefView(_0x4c0e75,_0x45eec),_0x45eec,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5d41ad)});}});}['_defineDefinitionsConverters'](){const {editor:_0x22bb57}=this,{t:t}=_0x22bb57['locale'],{conversion:_0x3531a0}=_0x22bb57;_0x3531a0['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3531a0['for']('upcast')['add'](_0x3947ab=>{_0x3947ab['on']('element:ol',(_0x30acd2,_0x32f83f,_0x56a0f0)=>{const _0x55693b=_0x32f83f['viewItem'];if(!_0x55693b['hasClass']('footnotes-list')||!_0x32f83f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x56a0f0['consumable']['consume'](_0x55693b,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4d8827,modelCursor:_0x22a05f}=_0x56a0f0['convertChildren'](_0x32f83f['viewItem'],_0x32f83f['modelCursor']);_0x32f83f['modelRange']=_0x4d8827,_0x32f83f['modelCursor']=_0x22a05f;}),_0x3947ab['on']('element:hr',(_0x23160d,_0x15a5c3,_0xd91f68)=>{const _0x25362c=_0x15a5c3['viewItem'];_0x25362c['hasClass']('footnotes-divider')&&_0x15a5c3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xd91f68['consumable']['consume'](_0x25362c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3531a0['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x54fd0b,{writer:_0x1ed081})=>createFootnotesWrapperView(_0x1ed081)}),_0x3531a0['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x484558,{writer:_0xd50c17})=>{const _0x53235b=createFootnotesWrapperView(_0xd50c17,{'data-footnotes-list-label':t('Footnotes')}),_0x218c0a=ckeditor5['toWidget'](_0x53235b,_0xd50c17,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xd50c17['setCustomProperty']('footnotesDefinitions',!0x0,_0x218c0a),_0x218c0a;}});}['_defineDefinitionConverters'](){const {editor:_0x31ece0}=this,{conversion:_0x4dd161,locale:_0x301a76}=_0x31ece0,_0x504b6b=_0x31ece0['config']['get']('footnotes.multiBlock');_0x4dd161['for']('upcast')['add'](_0xf1b35e=>{_0xf1b35e['on']('element:li',(_0x1cd67a,_0x18ee49,_0x31200b)=>{const _0x4c7553=_0x18ee49['viewItem'];if(!_0x4c7553['hasClass']('footnote-definition')||!_0x4c7553['getAttribute']('id'))return;const _0x588756=_0x4c7553['parent'];if(!_0x588756['is']('element','ol')||!_0x588756['hasClass']('footnotes-list'))return;if(!_0x31200b['consumable']['test'](_0x4c7553,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x37196d=_0x31200b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4c7553['getAttribute']('id')});if(!_0x31200b['safeInsert'](_0x37196d,_0x18ee49['modelCursor']))return;_0x31200b['consumable']['consume'](_0x4c7553,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1a6d20=Array['from'](_0x4c7553['getChildren']())['find'](_0x39c50a=>_0x39c50a['is']('element')&&_0x39c50a['hasClass']('footnote-content'));for(const _0x5c1caa of _0x4c7553['getChildren']())_0x5c1caa['is']('element')&&(_0x31200b['consumable']['consume'](_0x5c1caa,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x31200b['consumable']['consume'](_0x5c1caa,{'name':!0x0,'classes':'footnote-content'}));if(_0x1a6d20){if(_0x504b6b)_0x31200b['convertChildren'](_0x1a6d20,_0x37196d);else{const _0x19d8fb=_0x31200b['writer']['createElement']('footnoteInlineContent');_0x31200b['writer']['insert'](_0x19d8fb,_0x37196d),_0x31200b['convertChildren'](_0x1a6d20,_0x19d8fb);}}_0x31200b['updateConversionResult'](_0x37196d,_0x18ee49);});}),_0x4dd161['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xb3f600,{writer:_0x582389})=>createFootnoteDefinitionView(_0xb3f600,_0x582389,_0x301a76,{'dataPipeline':!0x0})}),_0x4dd161['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x34ac3d,{writer:_0x4302ea})=>createFootnoteDefinitionView(_0x34ac3d,_0x4302ea,_0x301a76)});}['_defineBogusParagraphConverters'](){const {editor:_0x1b45fb}=this,{conversion:_0x3c0179}=_0x1b45fb;_0x1b45fb['config']['get']('footnotes.multiBlock')?(_0x3c0179['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator(),'converterPriority':'high'}),_0x3c0179['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':footnoteBogusParagraphCreator({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1b45fb['model']['document'],'change:data',()=>{footnoteDefinitionRefreshHandler(_0x1b45fb['model'],_0x1b45fb['editing']);})):(_0x3c0179['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':footnoteBogusParagraphCreator()}),_0x3c0179['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x9ead95,{writer:_0x67116a})=>{const _0x168d5a=_0x67116a['createContainerElement']('span');return _0x67116a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x168d5a),_0x168d5a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1e5061}=this,{editing:_0x51f4d2,t:t}=_0x1e5061,_0x5af581=_0x1e5061['model']['document']['selection'];_0x1e5061['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1e5061['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x51f4d2['view']['document'],'enter',(_0x750082,_0x476987)=>{const _0x4dcde3=getSelectedFootnoteRef(_0x5af581);if(_0x4dcde3){const _0x730f22=_0x4dcde3['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x730f22),_0x476987['preventDefault'](),_0x750082['stop']();}},{'context':ckeditor5['isWidget']});}['_defineClickHandlers'](){const {editor:_0x2148cc}=this,{editing:_0x248199}=_0x2148cc;_0x2148cc['editing']['view']['addObserver'](ckeditor5['PointerObserver']),_0x2148cc['editing']['view']['addObserver'](ckeditor5['ClickObserver']);let _0x3a2601=!0x1;this['listenTo'](_0x248199['view']['document'],'pointerdown',(_0x76d6b1,_0x49d359)=>{const {target:_0x4261ca}=_0x49d359,_0x265f21=_0x248199['view']['document']['selection'];_0x3a2601=!!(_0x4261ca?.['is']('element','a')&&_0x4261ca['parent']?.['is']('element','sup')&&_0x4261ca['parent']['hasClass']('footnote'))&&_0x265f21['getSelectedElement']()===_0x4261ca['parent'];},{'priority':'high'}),this['listenTo'](_0x248199['view']['document'],'click',(_0x22ff93,_0x5b8490)=>{const {target:_0x34fcc0}=_0x5b8490;if(!_0x34fcc0?.['is']('element','a'))return;if(_0x34fcc0['parent']?.['is']('element','sup')&&_0x34fcc0['parent']['hasClass']('footnote')&&!_0x3a2601)return void _0x5b8490['preventDefault']();let _0x5524a4=_0x34fcc0['getAttribute']('href');if(!_0x5524a4?.['startsWith']('#'))return;_0x5524a4=_0x5524a4['slice'](0x1);let _0x45ffd8=!0x1;(_0x5524a4['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5524a4['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5524a4))&&(_0x45ffd8=!0x0),_0x45ffd8&&(_0x5b8490['preventDefault'](),_0x22ff93['stop']());},{'priority':'high','context':'$capture'});}}function getSelectedFootnoteRef(_0xbe3e5a){const _0x1b959e=_0xbe3e5a['getSelectedElement']();return _0x1b959e?.['is']('element','footnoteRef')?_0x1b959e:null;}function footnoteBogusParagraphCreator({dataPipeline:_0x2e2906}={}){return(_0x456ff5,{writer:_0x23498f})=>{if(!shouldUseBogusParagraphInFootnote(_0x456ff5))return null;if(!_0x2e2906)return _0x23498f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xef9a74=_0x23498f['createContainerElement']('p');return _0x23498f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xef9a74),_0xef9a74;};}function shouldUseBogusParagraphInFootnote(_0x435272){const {parent:_0x208d9b}=_0x435272;if(!_0x208d9b?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x208d9b['childCount'])return!0x1;for(const _0x302250 of _0x435272['getAttributeKeys']())if(!_0x302250['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x302250)return!0x1;return!0x0;}function footnoteDefinitionRefreshHandler(_0x352eb2,_0x102047){const _0x91dd10=_0x352eb2['document']['differ'],_0x476791=new Set();for(const _0x5cd45e of _0x91dd10['getChanges']()){const _0x5c2931='attribute'==_0x5cd45e['type']?_0x5cd45e['range']['start']['parent']:_0x5cd45e['position']['parent'];_0x5c2931['is']('element','footnoteDefinition')&&_0x476791['add'](_0x5c2931);}for(const _0x55c87f of _0x476791['values']()){const _0x1c8f5f=Array['from'](_0x55c87f['getChildren']())['filter'](_0x6fd54e=>_0xd7e204(_0x6fd54e,_0x102047['mapper']));for(const _0x4aca47 of _0x1c8f5f)_0x102047['reconvertItem'](_0x4aca47);}}function _0xd7e204(_0x38a8bd,_0x5c8e4a){if(!_0x38a8bd['is']('element','paragraph'))return!0x1;const _0x57134e=_0x5c8e4a['toViewElement'](_0x38a8bd);return!!_0x57134e&&shouldUseBogusParagraphInFootnote(_0x38a8bd)!==_0x57134e['is']('element','span');}function isFootnotesDefinitionsWidget(_0xcb9576){return ckeditor5['isWidget'](_0xcb9576)&&_0xcb9576['is']('containerElement')&&!!_0xcb9576['getCustomProperty']('footnotesDefinitions');}function createFootnotesWrapperView(_0x4de285,_0x313025={}){const _0x4ae0d8=_0x4de285['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5b8299=_0x4de285['createContainerElement']('ol',{'class':'footnotes-list'},_0x4de285['createSlot']());return _0x4de285['createContainerElement']('div',{'class':'footnotes',..._0x313025},[_0x4ae0d8,_0x5b8299]);}function createFootnoteRefView(_0x1363d8,_0x4f80ec){const _0x3d2f14=_0x1363d8['getAttribute']('footnoteId'),_0x492642=_0x1363d8['getAttribute']('footnoteCounter'),_0x93fee0=_0x4f80ec['createUIElement']('a',{'href':'#'+_0x3d2f14},function(_0x201579){const _0x454bea=this['toDomElement'](_0x201579);return _0x454bea['textContent']=_0x492642,_0x454bea;}),_0x487749=_0x4f80ec['createContainerElement']('sup',{'id':'ref-'+_0x3d2f14,'class':'footnote'},[_0x93fee0]);return _0x487749['getFillerOffset']=()=>null,_0x487749;}function createFootnoteDefinitionView(_0x429218,_0x44efaf,_0xcb99ec,{dataPipeline:_0x1879eb}={}){const {t:t}=_0xcb99ec,_0x7d8828=_0x429218['getAttribute']('footnoteId'),_0x170eb1=_0x44efaf['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x7d8828},function(_0x282b35){const _0x128b2e=this['toDomElement'](_0x282b35);return _0x128b2e['innerText']='^',_0x128b2e;}),_0x904ce2=_0x1879eb?_0x44efaf['createContainerElement']('div',{'class':'footnote-content'}):ckeditor5['toWidgetEditable'](_0x44efaf['createEditableElement']('div',{'class':'footnote-content'}),_0x44efaf,{'label':t('Footnote\x20content.')});return _0x44efaf['insert'](_0x44efaf['createPositionAt'](_0x904ce2,0x0),_0x44efaf['createSlot']()),_0x44efaf['createContainerElement']('li',{'class':'footnote-definition','id':_0x7d8828},[_0x170eb1,_0x904ce2]);}async function _0x38a8d4(_0x35b2b6){const _0x9469ec=_0x1250ac([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x4aea4a=window[_0x1250ac([0x44,0x61,0x74,0x65])][_0x1250ac([0x6e,0x6f,0x77])](),_0x5e0f6e=_0x35b2b6[_0x1250ac([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x518fb2=new window[(_0x1250ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fd70c=>{_0x5e0f6e[_0x1250ac([0x6f,0x6e,0x63,0x65])](_0x1250ac([0x72,0x65,0x61,0x64,0x79]),_0x4fd70c);}),_0x4387ee={[_0x1250ac([0x6b,0x74,0x79])]:_0x1250ac([0x45,0x43]),[_0x1250ac([0x75,0x73,0x65])]:_0x1250ac([0x73,0x69,0x67]),[_0x1250ac([0x63,0x72,0x76])]:_0x1250ac([0x50,0x2d,0x32,0x35,0x36]),[_0x1250ac([0x78])]:_0x1250ac([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1250ac([0x79])]:_0x1250ac([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1250ac([0x61,0x6c,0x67])]:_0x1250ac([0x45,0x53,0x32,0x35,0x36])},_0x19220e=_0x5e0f6e[_0x1250ac([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1250ac([0x67,0x65,0x74])](_0x1250ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1a9d53=await(async function(){let _0x50ca5c,_0x3a4df9=null,_0x2acbf3=null;try{if(_0x19220e==_0x1250ac([0x47,0x50,0x4c]))return _0x1250ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50ca5c=(function(){const _0x67e2a8=_0x19220e[_0x1250ac([0x73,0x70,0x6c,0x69,0x74])](_0x1250ac([0x2e]));if(0x3!=_0x67e2a8[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4a2eba=_0x67e2a8[0x1];return _0x1a58f6(_0x4a2eba);function _0x1a58f6(_0x518fdc){const _0x5cbb55=_0x5dad57(_0x518fdc);return _0x5cbb55&&_0x1ef731()?_0x5cbb55:null;function _0x1ef731(){const _0x40d050=_0x5cbb55[_0x1250ac([0x6a,0x74,0x69])],_0x37f232=window[_0x1250ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40d050[_0x1250ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40d050[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4df431={..._0x5cbb55,[_0x1250ac([0x6a,0x74,0x69])]:_0x40d050[_0x1250ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40d050[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4df431[_0x1250ac([0x76,0x63])],_0x14cf3f(_0x4df431)==_0x37f232;}}}()),!_0x50ca5c)return _0x1250ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x50ca5c[_0x1250ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2acbf3=function(_0x76fe4e,_0x2800ac){return new window[(_0x1250ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11cf4=>{if(_0x38773c())return _0x11cf4(_0x1250ac([0x56,0x61,0x6c,0x69,0x64]));_0x292e07(),_0x5e0f6e[_0x1250ac([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1250ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5a6e03=!0x1;const _0x17d6de=ckeditor5['uid']();function _0x21db8e(_0x5a1a06){return!!_0x5a1a06&&(typeof _0x5a1a06===_0x1250ac([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a1a06===_0x1250ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a1a06[_0x1250ac([0x74,0x68,0x65,0x6e])]===_0x1250ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a1a06[_0x1250ac([0x63,0x61,0x74,0x63,0x68])]===_0x1250ac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b40e8(_0x58b8f3){_0x5378b1(_0x58b8f3)[_0x1250ac([0x74,0x68,0x65,0x6e])](_0x1cc2ff=>{if(!_0x1cc2ff||_0x1cc2ff[_0x1250ac([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1250ac([0x6f,0x6b]))return _0x1250ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a6227(_0x14cf3f(_0x17d6de+_0x2800ac))!=_0x1cc2ff[_0x1250ac([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1250ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1250ac([0x56,0x61,0x6c,0x69,0x64]);})[_0x1250ac([0x74,0x68,0x65,0x6e])](_0x3be5fd=>(_0x3322a0(),_0x3be5fd),()=>{const _0x79c232=_0x3cad49();return null==_0x79c232?(_0x3322a0(),_0x1250ac([0x56,0x61,0x6c,0x69,0x64])):_0x1250ac(_0x4aea4a-_0x79c232>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1250ac([0x74,0x68,0x65,0x6e])](_0x11cf4)[_0x1250ac([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11cf4(_0x1250ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5130c4=0x36ee80;function _0x3322a0(){const _0xdc68a6=_0x1250ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a6227(_0x14cf3f(_0x76fe4e)),_0x395134=_0x2ca275(_0x3a6227(window[_0x1250ac([0x4d,0x61,0x74,0x68])][_0x1250ac([0x63,0x65,0x69,0x6c])](_0x4aea4a/_0x5130c4)));window[_0x1250ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1250ac([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdc68a6,_0x395134);}function _0x3cad49(){const _0x11e779=_0x1250ac([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a6227(_0x14cf3f(_0x76fe4e)),_0x3330db=window[_0x1250ac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1250ac([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11e779);return _0x3330db?window[_0x1250ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ca275(_0x3330db),0x10)*_0x5130c4:null;}function _0x5378b1(_0x2ad9fa){return new window[(_0x1250ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a80d4,_0x55d870)=>{_0x2ad9fa[_0x1250ac([0x74,0x68,0x65,0x6e])](_0x5a80d4,_0x55d870),window[_0x1250ac([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55d870,0x1d4c0);});}}_0x5e0f6e[_0x1250ac([0x6f,0x6e])](_0x1250ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xad8d8d,_0x13c5b8)=>{if(_0x13c5b8[0x0]!=_0x76fe4e)return _0x11cf4(_0x1250ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13c5b8[0x1]={..._0x13c5b8[0x1],[_0x1250ac([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17d6de};},{[_0x1250ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1250ac([0x68,0x69,0x67,0x68])}),_0x5e0f6e[_0x1250ac([0x6f,0x6e])](_0x1250ac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x178a28=>{_0x21db8e(_0x178a28[_0x1250ac([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5a6e03=!0x0,_0x3b40e8(_0x178a28[_0x1250ac([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1250ac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1250ac([0x6c,0x6f,0x77])}),_0x518fb2[_0x1250ac([0x74,0x68,0x65,0x6e])](()=>{_0x5a6e03||_0x11cf4(_0x1250ac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38773c(){return _0x5e0f6e[_0x1250ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1250ac([0x76,0x69,0x65,0x77])][_0x1250ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1250ac([0x61,0x75,0x74,0x6f]);}function _0x292e07(){_0x5e0f6e[_0x1250ac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1250ac([0x76,0x69,0x65,0x77])][_0x1250ac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1250ac([0x61,0x75,0x74,0x6f]);}}(_0x50ca5c[_0x1250ac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50ca5c[_0x1250ac([0x6a,0x74,0x69])]));const _0xb032c9=await(async function(){let _0x448991=!0x0;try{const _0x1d7744=_0x19220e[_0x1250ac([0x73,0x70,0x6c,0x69,0x74])](_0x1250ac([0x2e])),[_0x4a3ed5,_0x52c985,_0x4695c0]=_0x1d7744;return _0x57a59a(_0x4a3ed5),await _0x3aac9e(_0x4a3ed5,_0x52c985,_0x4695c0),_0x448991;}catch{return!0x1;}function _0x57a59a(_0x38dbd1){const _0xf6917a=_0x5dad57(_0x38dbd1);_0xf6917a&&_0xf6917a[_0x1250ac([0x61,0x6c,0x67])]==_0x1250ac([0x45,0x53,0x32,0x35,0x36])||(_0x448991=!0x1);}async function _0x3aac9e(_0x3bb926,_0x1a0905,_0x43b410){const _0x5cad75=window[_0x1250ac([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1250ac([0x66,0x72,0x6f,0x6d])](_0x2e2805(_0x43b410),_0xe65a62=>_0xe65a62[_0x1250ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x73cba=new window[(_0x1250ac([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1250ac([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bb926+_0x1250ac([0x2e])+_0x1a0905),_0x5d249d=window[_0x1250ac([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1250ac([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d249d)return;const _0x2c3d2d=await _0x5d249d[_0x1250ac([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1250ac([0x6a,0x77,0x6b]),_0x4387ee,{[_0x1250ac([0x6e,0x61,0x6d,0x65])]:_0x1250ac([0x45,0x43,0x44,0x53,0x41]),[_0x1250ac([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1250ac([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1250ac([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d249d[_0x1250ac([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1250ac([0x6e,0x61,0x6d,0x65])]:_0x1250ac([0x45,0x43,0x44,0x53,0x41]),[_0x1250ac([0x68,0x61,0x73,0x68])]:{[_0x1250ac([0x6e,0x61,0x6d,0x65])]:_0x1250ac([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c3d2d,_0x5cad75,_0x73cba)||(_0x448991=!0x1);}}());return _0xb032c9?(function(){const _0x5ac96f=_0x50ca5c[_0x1250ac([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5ac96f)return!0x1;if(_0x5ac96f[_0x1250ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1250ac([0x2a])))return!0x0;if(_0x5ac96f[_0x1250ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1250ac([0x46,0x4f,0x4f])))return!0x0;return!0x1;}())?(function(){const _0x34e3d2=[_0x1250ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1250ac([0x74,0x72,0x69,0x61,0x6c])][_0x1250ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50ca5c[_0x1250ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4aea4a/0x3e8:0x69b0b080;return _0x50ca5c[_0x1250ac([0x65,0x78,0x70])]<_0x34e3d2;}())?_0x1250ac([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x6ce055=_0x50ca5c[_0x1250ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6ce055||0x0==_0x6ce055[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c21f2}=new URL(window[_0x1250ac([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6ce055[_0x1250ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c21f2))return!0x0;const _0x551044=_0x3c21f2[_0x1250ac([0x73,0x70,0x6c,0x69,0x74])](_0x1250ac([0x2e]));return _0x6ce055[_0x1250ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x530b74=>_0x530b74[_0x1250ac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1250ac([0x2a])))[_0x1250ac([0x6d,0x61,0x70])](_0x382650=>_0x382650[_0x1250ac([0x73,0x70,0x6c,0x69,0x74])](_0x1250ac([0x2e])))[_0x1250ac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x388670=>_0x388670[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x551044[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1250ac([0x6d,0x61,0x70])](_0x338c8c=>Array(_0x551044[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x338c8c[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1250ac([0x66,0x69,0x6c,0x6c])](_0x338c8c[0x0]===_0x1250ac([0x2a])?_0x1250ac([0x2a]):'')[_0x1250ac([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x338c8c))[_0x1250ac([0x73,0x6f,0x6d,0x65])](_0x160704=>_0x551044[_0x1250ac([0x65,0x76,0x65,0x72,0x79])]((_0xb81e09,_0x36278c)=>_0x160704[_0x36278c]===_0xb81e09||_0x160704[_0x36278c]===_0x1250ac([0x2a])));}())?(_0x50ca5c[_0x1250ac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1250ac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a4df9=function(_0x11c1de){const _0x4a5e55=new window[(_0x1250ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb877af=>setTimeout(_0xb877af,0x93ecc)),_0x4fcbbb=_0x518fb2[_0x1250ac([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1250ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c5d79=>{let _0x36f93e=0x0;_0x5e0f6e[_0x1250ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x1250ac([0x6f,0x6e])](_0x1250ac([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x151fd9,_0xbfb7db)=>{_0xbfb7db[0x0][_0x1250ac([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36f93e++,0x5e8==_0x36f93e&&(_0x5c5d79(),_0x151fd9[_0x1250ac([0x6f,0x66,0x66])]());});})),_0xce3ac6=[_0x4a5e55,_0x4fcbbb];return window[_0x1250ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1250ac([0x72,0x61,0x63,0x65])](_0xce3ac6)[_0x1250ac([0x74,0x68,0x65,0x6e])](()=>_0x11c1de);}(_0x1250ac([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x3a4df9&&_0x2acbf3)return new window[(_0x1250ac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27e122,_0xea8000)=>{_0x3a4df9[_0x1250ac([0x74,0x68,0x65,0x6e])](_0x27e122,_0xea8000),_0x2acbf3[_0x1250ac([0x74,0x68,0x65,0x6e])](_0x4fe72e=>{_0x4fe72e!=_0x1250ac([0x56,0x61,0x6c,0x69,0x64])&&_0x27e122(_0x4fe72e);},_0xea8000);});return _0x3a4df9||_0x2acbf3||_0x1250ac([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1250ac([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1250ac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1250ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1250ac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x5dad57(_0xa32a46){return _0xa32a46[_0x1250ac([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1250ac([0x65,0x79]))?JSON[_0x1250ac([0x70,0x61,0x72,0x73,0x65])](_0x2e2805(_0xa32a46)):null;}function _0x2e2805(_0x44febe){return window[_0x1250ac([0x61,0x74,0x6f,0x62])](_0x44febe[_0x1250ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1250ac([0x2b]))[_0x1250ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1250ac([0x2f])));}function _0x14cf3f(_0x57946d){let _0x336698=0x1505;function _0x5c4c27(_0x125ebb){for(let _0x4bd197=0x0;_0x4bd197<_0x125ebb[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bd197++){const _0x30d7d2=_0x125ebb[_0x1250ac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bd197);_0x336698=(_0x336698<<0x5)+_0x336698+_0x30d7d2,_0x336698&=_0x336698;}}return function _0x8147f8(_0x451a44){Array[_0x1250ac([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x451a44)?_0x451a44[_0x1250ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8147f8):_0x451a44&&typeof _0x451a44==_0x1250ac([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1250ac([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x451a44)[_0x1250ac([0x73,0x6f,0x72,0x74])]()[_0x1250ac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfafab0,_0x5b8e25])=>{_0x5c4c27(_0xfafab0),_0x8147f8(_0x5b8e25);}):_0x5c4c27(window[_0x1250ac([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x451a44));}(_0x57946d),_0x336698>>>0x0;}function _0x3a6227(_0xfcadcf){return _0xfcadcf[_0x1250ac([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1250ac([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1250ac([0x30]));}function _0x2ca275(_0x2d001d){return _0x2d001d[_0x1250ac([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1250ac([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1250ac([0x6a,0x6f,0x69,0x6e])]('');}function _0x400baf(){}function _0x1250ac(_0x5ed05d){return _0x5ed05d['map'](_0x3aa159=>String['fromCharCode'](_0x3aa159))['join']('');}!function(_0x2b4a1e){const _0x5c26c0=(function(){const _0x4ffb16=window[_0x1250ac([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1250ac([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1250ac([0x6e,0x6f,0x77])]())[_0x1250ac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1250ac([0x2e]),'');let _0x40cb20=_0x1250ac([0x75]);for(let _0x2b6240=0x0;_0x2b6240<_0x4ffb16[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b6240+=0x2){let _0x2e78fd=window[_0x1250ac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ffb16[_0x1250ac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b6240,_0x2b6240+0x2));_0x2e78fd>=_0x9469ec[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e78fd-=_0x9469ec[_0x1250ac([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40cb20+=_0x9469ec[_0x2e78fd];}return _0x40cb20;}());_0x5e0f6e[_0x5c26c0]=_0x1250ac([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b4a1e,_0x2b4a1e!=_0x1250ac([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x518fb2,_0x5e0f6e[_0x1250ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x1250ac([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x400baf,_0x5e0f6e[_0x1250ac([0x6d,0x6f,0x64,0x65,0x6c])][_0x1250ac([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x400baf,_0x5e0f6e[_0x1250ac([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1250ac([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1a9d53);}class FootnotesClipboard extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,ckeditor5['ClipboardPipeline']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x20bfcd}=this,{plugins:_0x206328,model:_0x866c3a}=_0x20bfcd,_0x2491f4=_0x206328['get'](ckeditor5['ClipboardPipeline']),_0x5a63dd=_0x206328['get'](FootnotesTracker);this['listenTo'](_0x2491f4,'outputTransformation',(_0x323d98,_0x513071)=>{const _0x46a585=pickAllFootnotesRefsIdsFromRange(_0x866c3a['createRangeIn'](_0x513071['content']));if(!_0x46a585['length'])return;const _0x4ad9c1=_0x5a63dd['getFootnotes'](),_0x19844f=_0x46a585['reduce']((_0x5e2e94,_0x5cfc3d)=>{const _0x3af65e=_0x4ad9c1['find'](_0x597a29=>_0x597a29['id']===_0x5cfc3d);if(_0x3af65e){const _0x1efb7d=_0x20bfcd['data']['toView'](_0x3af65e['definition'],{'isClipboardPipeline':!0x0}),_0x158df5=_0x20bfcd['data']['htmlProcessor']['toData'](_0x1efb7d);_0x5e2e94[_0x3af65e['id']]=_0x158df5;}return _0x5e2e94;},Object['create'](null));_0x513071['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x19844f));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x137764}=this,{model:_0x93a45c,plugins:_0x2713b6}=_0x137764,{view:_0x4a0ef2}=_0x137764['editing'],_0x5d439b=_0x2713b6['get'](ckeditor5['ClipboardPipeline']),_0x39aa55=_0x2713b6['get'](FootnotesTracker),_0x122d41=_0x137764['config']['get']('footnotes.multiBlock');let _0x24cece=null;this['listenTo'](_0x4a0ef2['document'],'clipboardInput',(_0x430a66,_0x401d2b)=>{const _0x5b7bce=_0x401d2b['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x24cece=_0x5b7bce?JSON['parse'](_0x5b7bce):null;}),this['listenTo'](_0x5d439b,'contentInsertion',(_0x114543,_0x98b55c)=>{const _0x1745ec=_0x98b55c['sourceEditorId']===this['editor']['id'];_0x1745ec&&'drop'===_0x98b55c['method']||_0x93a45c['change'](_0x91e392=>{let _0x2740ea=_0x39aa55['getFootnotesDefinitionsObjectElement']();const _0x3fc98a=!!_0x2740ea&&Array['from'](_0x93a45c['document']['selection']['getSelectedBlocks']())['includes'](_0x2740ea);if(!_0x24cece&&areThereFootnotesRefsInRange(_0x93a45c['createRangeIn'](_0x98b55c['content']))&&(_0x24cece=extractFootnotesDefinitionsFromContent(_0x91e392,_0x98b55c['content'])),(_0x2740ea&&!_0x3fc98a||!_0x2740ea&&!_0x24cece)&&removeFootnoteDefinitionsFromFragment(_0x91e392,_0x98b55c['content']),!_0x24cece)return;const {selection:_0x325a64}=_0x93a45c['document'],_0x4db767=_0x325a64['getFirstRange']()['root'];_0x2740ea&&!_0x3fc98a||(_0x2740ea=findFootnoteDefinitionsElementInFragment(_0x91e392,_0x98b55c['content']),_0x2740ea||=_0x39aa55['_insertEmptyFootnotesDefinitionsContainer'](_0x91e392,_0x4db767));const _0x3d8429=Array['from'](_0x325a64['getRanges']())['flatMap'](pickAllFootnotesRefsIdsFromRange),_0x131cc2=regenerateFootnoteIdsInFragment(_0x91e392,_0x98b55c['content'],_0x14327e=>{if(!_0x1745ec)return!0x0;return!!_0x39aa55['getFootnote'](_0x14327e)&&!_0x3d8429['includes'](_0x14327e);});for(const [_0x5c60a4,_0x3d4813]of Object['entries'](_0x24cece)){const _0x4b0d40=_0x131cc2[_0x5c60a4]||_0x5c60a4;let _0x9197b2;if('string'!=typeof _0x3d4813)_0x9197b2=_0x3d4813,_0x4b0d40!==_0x5c60a4&&_0x91e392['setAttribute']('footnoteId',_0x4b0d40,_0x9197b2);else{_0x9197b2=_0x91e392['createElement']('footnoteDefinition',{'footnoteId':_0x4b0d40});const _0x393529=_0x137764['data']['htmlProcessor']['toView'](_0x3d4813);let _0x3ca710;if(_0x122d41)_0x3ca710=_0x137764['data']['toModel'](_0x393529,_0x9197b2);else{_0x3ca710=_0x91e392['createElement']('footnoteInlineContent');const _0x340cd9=_0x137764['data']['toModel'](_0x393529,_0x3ca710);_0x91e392['insert'](_0x340cd9,_0x3ca710);}_0x91e392['append'](_0x3ca710,_0x9197b2);}_0x91e392['insert'](_0x9197b2,_0x2740ea,'end');}_0x24cece=null;});});}}function removeFootnoteDefinitionsFromFragment(_0x36b74d,_0x21a44a){const _0x4d5834=[];for(const {item:_0x2831c3}of _0x36b74d['createRangeIn'](_0x21a44a))_0x2831c3['is']('element','footnotesDefinitions')&&_0x4d5834['push'](_0x2831c3);for(const _0x1df046 of _0x4d5834)_0x36b74d['remove'](_0x1df046);}function findFootnoteDefinitionsElementInFragment(_0x144871,_0x1d6d67){for(const {item:_0x464f3f}of _0x144871['createRangeIn'](_0x1d6d67))if(_0x464f3f['is']('element','footnotesDefinitions'))return _0x464f3f;return null;}function pickAllFootnotesRefsIdsFromRange(_0x161822){const _0x20c832=new Set();for(const {item:_0x48fa04}of _0x161822)_0x48fa04['is']('element','footnoteRef')&&_0x20c832['add'](_0x48fa04['getAttribute']('footnoteId'));return Array['from'](_0x20c832);}function areThereFootnotesRefsInRange(_0x1540ce){for(const {item:_0xf83eec}of _0x1540ce)if(_0xf83eec['is']('element','footnoteRef'))return!0x0;return!0x1;}function extractFootnotesDefinitionsFromContent(_0x55082b,_0x729876){const _0xaf309a=findFootnoteDefinitionsElementInFragment(_0x55082b,_0x729876);if(!_0xaf309a)return null;const _0x9bfef8=Object['create'](null);for(const _0x116d57 of _0xaf309a['getChildren']())_0x116d57['is']('element','footnoteDefinition')&&_0x116d57['hasAttribute']('footnoteId')&&(_0x9bfef8[_0x116d57['getAttribute']('footnoteId')]=_0x55082b['cloneElement'](_0x116d57,!0x0));return Object['keys'](_0x9bfef8)['length']?_0x9bfef8:null;}function regenerateFootnoteIdsInFragment(_0x63da16,_0x524de6,_0x4437e0){const _0x37b8bd=Object['create'](null);for(const {item:_0x966cb7}of _0x63da16['createRangeIn'](_0x524de6))if(_0x966cb7['is']('element','footnoteRef')){const _0x4ca840=_0x966cb7['getAttribute']('footnoteId');if(!_0x4437e0(_0x4ca840))continue;_0x37b8bd[_0x4ca840]||(_0x37b8bd[_0x4ca840]=ckeditor5['uid']()),_0x63da16['setAttribute']('footnoteId',_0x37b8bd[_0x4ca840],_0x966cb7);}return _0x37b8bd;}class FootnotesUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x539dab}=this,{componentFactory:_0x1e639a}=_0x539dab['ui'];_0x1e639a['add']('insertFootnote',getInsertFootnoteButtonCreator(_0x539dab,ckeditor5['ButtonView'])),_0x1e639a['add']('menuBar:insertFootnote',getInsertFootnoteButtonCreator(_0x539dab,ckeditor5['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x430f57=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x527a28;for(const _0x56b822 in _0x430f57){const _0x53f925=_0x56b822,_0x248882=_0x430f57[_0x53f925];if('footnotesLicenseKeyValid'==_0x248882||'footnotesLicenseKeyInvalid'==_0x248882||'footnotesLicenseKeyExpired'==_0x248882||'footnotesLicenseKeyDomainLimit'==_0x248882||'footnotesLicenseKeyNotAllowed'==_0x248882||'footnotesLicenseKeyEvaluationLimit'==_0x248882||'footnotesLicenseKeyUsageLimit'==_0x248882){delete _0x430f57[_0x53f925],_0x527a28=_0x248882,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x527a28&&_0x430f57['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x527a28&&_0x430f57['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x527a28&&_0x430f57['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x527a28&&_0x430f57['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x527a28&&_0x430f57['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x527a28&&_0x430f57['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getInsertFootnoteButtonCreator(_0x296918,_0x3466ff){const _0x1f38e0=_0x296918['commands']['get']('insertFootnote');return _0x243db6=>{const {t:t}=_0x243db6,_0xbe0510=new _0x3466ff(_0x243db6),_0x5a23d4=_0xbe0510 instanceof ckeditor5['MenuBarMenuListItemButtonView'];return _0xbe0510['bind']('isEnabled')['to'](_0x1f38e0,'isEnabled'),_0xbe0510['set']({'label':t(_0x5a23d4?'Footnote':'Insert\x20footnote'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0xbe0510['on']('execute',()=>{_0x1f38e0['execute'](),_0x296918['editing']['view']['focus']();}),_0xbe0510;};}class Footnotes extends ckeditor5['Plugin']{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x491f9a=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class FootnotesStyleCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x1f7bab}=this,_0xa05b63=_0x1f7bab['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xa05b63,this['value']=_0xa05b63?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4f430b}){const {editor:_0x141f4}=this,_0x37dce8=_0x141f4['plugins']['get'](FootnotesTracker),_0x201471=_0x37dce8['getFootnotesDefinitionsObjectElement']();_0x201471&&_0x491f9a['includes'](_0x4f430b)&&_0x141f4['model']['change'](_0x7e4eb=>{_0x7e4eb['setAttribute']('footnotesListStyle',_0x4f430b,_0x201471),_0x37dce8['_updateFootnotesCounters'](_0x7e4eb);});}}class FootnotesStartCommand extends ckeditor5['Command']{['refresh'](){const {editor:_0x285260}=this,_0x16019d=_0x285260['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x16019d,this['value']=_0x16019d?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x13a456}){const {editor:_0x594679}=this,_0x6d210a=_0x594679['plugins']['get'](FootnotesTracker),_0x32be2f=_0x6d210a['getFootnotesDefinitionsObjectElement']();_0x32be2f&&Number['isInteger'](_0x13a456)&&_0x594679['model']['change'](_0x530ba3=>{_0x530ba3['setAttribute']('footnotesListStart',_0x13a456,_0x32be2f),_0x6d210a['_updateFootnotesCounters'](_0x530ba3);});}}class FootnotesPropertiesEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2638ce}=this;_0x2638ce['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2638ce['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2638ce['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x2638ce)),_0x2638ce['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x2638ce)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x372bfe}=this,{schema:_0x3f726d}=_0x372bfe['model'];_0x3f726d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5b3c2e}=this,{conversion:_0x943b24,model:_0x502309}=_0x5b3c2e,{schema:_0x59fcaf}=_0x502309;_0x943b24['for']('upcast')['add'](_0x545936=>{_0x545936['on']('element:ol',(_0x4bfcc5,_0x2ed34d,_0x1f5869)=>{const _0x473d98=_0x2ed34d['viewItem'],_0x292c48=_0x2ed34d['modelCursor']?.['parent'];_0x473d98['hasClass']('footnotes-list')&&_0x292c48?.['is']('element','footnotesDefinitions')&&(upcastFootnotesListStart(_0x473d98,_0x292c48,_0x1f5869,_0x59fcaf),upcastFootnotesListStyle(_0x473d98,_0x292c48,_0x1f5869,_0x59fcaf));});}),_0x943b24['for']('downcast')['add'](_0x2f5e18=>{_0x2f5e18['on']('attribute:footnotesListStart:footnotesDefinitions',downcastFootnotesListStart()),_0x2f5e18['on']('attribute:footnotesListStyle:footnotesDefinitions',downcastFootnotesListStyle());});}['_definePostfixer'](){const {editor:_0x2595e2}=this,{model:_0xbc5eae}=_0x2595e2,_0x27ee8e=_0x2595e2['plugins']['get'](FootnotesTracker),_0x16f3cb=this['_getDefaultListStyle'](),_0x3853ce=this['_getDefaultStartIndex']();_0xbc5eae['document']['registerPostFixer'](_0x58b5eb=>{const _0x3464c3=_0xbc5eae['document']['differ']['getChanges']();let _0x415ce2=!0x1;for(const _0x11cb64 of _0x3464c3){if('insert'!==_0x11cb64['type']||'$text'===_0x11cb64['name'])continue;const _0x15efe8=_0xbc5eae['createRangeOn'](_0x11cb64['position']['nodeAfter']);for(const _0x48fe81 of _0x15efe8['getItems']())_0x48fe81['is']('element','footnotesDefinitions')&&(!_0x48fe81['hasAttribute']('footnotesListStart')&&_0xbc5eae['schema']['checkAttribute'](_0x48fe81,'footnotesListStart')&&(_0x58b5eb['setAttribute']('footnotesListStart',_0x3853ce,_0x48fe81),_0x415ce2=!0x0),!_0x48fe81['hasAttribute']('footnotesListStyle')&&_0xbc5eae['schema']['checkAttribute'](_0x48fe81,'footnotesListStyle')&&(_0x58b5eb['setAttribute']('footnotesListStyle',_0x16f3cb,_0x48fe81),_0x415ce2=!0x0));}return _0x415ce2&&_0x27ee8e['_updateFootnotesCounters'](_0x58b5eb),_0x415ce2;});}['_defineFormatter'](){const {editor:_0x19074d}=this;_0x19074d['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x1ed46f=>this['_formatFootnoteListValue'](_0x1ed46f));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4d82cc,value:_0xa3298a,digits:_0x483d0a}){const _0x223fe9=_0x4d82cc['getAttribute']('footnotesListStyle'),_0x264cc5=_0x4d82cc['getAttribute']('footnotesListStart'),_0x1e0d2d=Math['floor'](_0xa3298a)+(_0x264cc5??0x1)-0x1;switch(_0x223fe9){case'decimal-leading-zero':return formatDecimalLeadingZero(_0x1e0d2d,Math['max'](0x2,_0x483d0a));case'lower-alpha':case'lower-latin':return toLatin(_0x1e0d2d,!0x1);case'upper-alpha':case'upper-latin':return toLatin(_0x1e0d2d,!0x0);case'lower-roman':return toRoman(_0x1e0d2d,!0x1);case'upper-roman':return toRoman(_0x1e0d2d,!0x0);default:return String(_0x1e0d2d);}}}function upcastFootnotesListStart(_0x153a14,_0x4d2c1c,_0xce8d79,_0x232f2b){if(!_0x232f2b['checkAttribute'](_0x4d2c1c,'footnotesListStart'))return;let _0x1f9905=0x1;const _0x1a4e1c=_0xce8d79['consumable']['consume'](_0x153a14,{'attributes':'start'});if(_0x1a4e1c){const _0x17e1b4=Number['parseInt'](_0x153a14['getAttribute']('start'),0xa);Number['isNaN'](_0x17e1b4)||(_0x1f9905=_0x17e1b4);}!_0x1a4e1c&&_0x4d2c1c['hasAttribute']('footnotesListStart')||_0xce8d79['writer']['setAttribute']('footnotesListStart',_0x1f9905,_0x4d2c1c);}function upcastFootnotesListStyle(_0x43c18f,_0x6e1863,_0x3ff39a,_0x43c25a){if(!_0x43c25a['checkAttribute'](_0x6e1863,'footnotesListStyle'))return;let _0x4fde08='decimal',_0x257419=!0x1;if(_0x3ff39a['consumable']['consume'](_0x43c18f,{'attributes':'type'})){const _0x2e63ac={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x43c18f['getAttribute']('type')];_0x2e63ac&&(_0x4fde08=_0x2e63ac),_0x257419=!0x0;}_0x3ff39a['consumable']['consume'](_0x43c18f,{'styles':'list-style-type'})&&(_0x4fde08=normalizeFootnotesListStyle(_0x43c18f['getStyle']('list-style-type')),_0x257419=!0x0),!_0x257419&&_0x6e1863['hasAttribute']('footnotesListStyle')||_0x3ff39a['writer']['setAttribute']('footnotesListStyle',_0x4fde08,_0x6e1863);}function normalizeFootnotesListStyle(_0x296b0f){switch(_0x296b0f){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x296b0f;}}function downcastFootnotesListStart(){return(_0x299a67,_0x42db9d,_0x1754a8)=>{if(!_0x1754a8['consumable']['consume'](_0x42db9d['item'],_0x299a67['name']))return;const _0x16b505=getOlElementFromFootnotesDefinitions(_0x42db9d['item'],_0x1754a8['mapper']),{attributeNewValue:_0xc4d2bb}=_0x42db9d;null==_0xc4d2bb||0x1===_0xc4d2bb?_0x1754a8['writer']['removeAttribute']('start',_0x16b505):_0x1754a8['writer']['setAttribute']('start',String(_0xc4d2bb),_0x16b505);};}function downcastFootnotesListStyle(){return(_0x3a921c,_0x2a53a3,_0x1e4d8a)=>{if(!_0x1e4d8a['consumable']['consume'](_0x2a53a3['item'],_0x3a921c['name']))return;const _0x1e1bda=getOlElementFromFootnotesDefinitions(_0x2a53a3['item'],_0x1e4d8a['mapper']),{attributeNewValue:_0x21b7db}=_0x2a53a3;_0x21b7db&&'decimal'!==_0x21b7db?_0x1e4d8a['writer']['setStyle']('list-style-type',_0x21b7db,_0x1e1bda):_0x1e4d8a['writer']['removeStyle']('list-style-type',_0x1e1bda);};}function getOlElementFromFootnotesDefinitions(_0x5044a4,_0x2982f4){const _0x208cde=_0x2982f4['toViewElement'](_0x5044a4);return Array['from'](_0x208cde['getChildren']())['find'](_0x150701=>_0x150701['is']('element','ol')&&_0x150701['hasClass']('footnotes-list'));}function formatDecimalLeadingZero(_0x516275,_0x7536ae){return String(_0x516275)['padStart'](_0x7536ae,'0');}function toLatin(_0x596183,_0x393c07){let _0x18a27d='',_0x2cf470=_0x596183;for(;_0x2cf470>0x0;){const _0x59353c=(_0x2cf470-0x1)%0x1a;_0x18a27d=String['fromCharCode'](0x61+_0x59353c)+_0x18a27d,_0x2cf470=Math['floor']((_0x2cf470-0x1)/0x1a);}return _0x393c07?_0x18a27d['toUpperCase']():_0x18a27d;}const _0x16af09=[{'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 toRoman(_0x18935b,_0x5ae8a5){let _0x8817a9='',_0x4b1a28=_0x18935b;for(const {value:_0x5813c2,numeral:_0x46c5f2}of _0x16af09)for(;_0x4b1a28>=_0x5813c2;)_0x8817a9+=_0x46c5f2,_0x4b1a28-=_0x5813c2;return _0x5ae8a5?_0x8817a9:_0x8817a9['toLowerCase']();}class FootnotesDefinitionsPropertiesView extends ckeditor5['View']{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusables']=new ckeditor5['ViewCollection']();['focusCycler'];constructor(_0x2689f0,{styleButtonViews:_0x489f34,styleGridAriaLabel:_0x10e596}){super(_0x2689f0),(this['focusCycler']=new ckeditor5['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'](_0x489f34,_0x10e596),[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 _0x2ea67f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2ea67f['element']);ckeditor5['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ckeditor5['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 _0x3bb50d=_0x3c5abb=>_0x3c5abb['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3bb50d),this['keystrokes']['set']('arrowleft',_0x3bb50d),this['keystrokes']['set']('arrowup',_0x3bb50d),this['keystrokes']['set']('arrowdown',_0x3bb50d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4d3166,_0x5f237a){const _0x3fbb5e=new ckeditor5['View'](this['locale']);return _0x3fbb5e['children']=_0x3fbb5e['createCollection'](),_0x3fbb5e['children']['addMany'](_0x4d3166),_0x3fbb5e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5f237a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3fbb5e['children']}),_0x3fbb5e['children']['delegate']('execute')['to'](this),_0x3fbb5e['focus']=function(){for(const _0x5803cd of this['children'])if(_0x5803cd instanceof ckeditor5['ButtonView']&&_0x5803cd['isOn'])return void _0x5803cd['focus']();this['children']['first']['focus']();},_0x3fbb5e['focusTracker']=new ckeditor5['FocusTracker'](),_0x3fbb5e['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x3fbb5e['render'](),_0x3fbb5e['keystrokes']['listenTo'](_0x3fbb5e['element']),this['children']['add'](_0x3fbb5e),_0x3fbb5e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3a53c7=this['_createStartIndexPropertyView'](),_0x1b26c0=[_0x3a53c7],_0x233af5=new ckeditor5['CollapsibleView'](this['locale'],_0x1b26c0);return _0x233af5['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x233af5['buttonView']['bind']('isEnabled')['toMany'](_0x1b26c0,'isEnabled',(..._0x242120)=>_0x242120['some'](_0x5b7046=>_0x5b7046)),_0x233af5['buttonView']['on']('change:isEnabled',(_0x4be130,_0x182dba,_0x28669a)=>{_0x28669a||(_0x233af5['isCollapsed']=!0x0);}),this['children']['add'](_0x233af5),[_0x3a53c7,_0x233af5];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x45f44a=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x45f44a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x45f44a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x45f44a['fieldView']['on']('input',()=>{const _0x19c9c7=_0x45f44a['fieldView']['element'],_0x512cdf=_0x19c9c7['valueAsNumber'];Number['isNaN'](_0x512cdf)?_0x45f44a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x19c9c7['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x512cdf}):_0x45f44a['errorText']=t(_0x512cdf<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x45f44a;}}class FootnotesPropertiesUI extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[ckeditor5['ContextualBalloon'],ckeditor5['WidgetToolbarRepository']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x175a59}=this,{componentFactory:_0x3e0fb9}=_0x175a59['ui'];_0x175a59['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3e0fb9['add']('footnotesStyle',getFootnotesStyleDropdownViewCreator(_0x175a59));}['afterInit'](){const {editor:_0x4a4b2c}=this,{t:t}=_0x4a4b2c['locale'],_0xe3d13f=_0x4a4b2c['plugins']['get'](ckeditor5['WidgetToolbarRepository']),{defaultPositions:_0x4e8443}=ckeditor5['BalloonPanelView'];_0xe3d13f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4a4b2c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x18bbb2=>{let _0x996865=_0x18bbb2['getFirstPosition']()?.['parent'];return _0x996865?.['is']('$text')&&(_0x996865=_0x996865['parent']),_0x996865?.['is']('element')?_0x996865['findAncestor'](isFootnotesDefinitionsWidget):null;},'positions':[_0x4e8443['southArrowNorth'],_0x4e8443['southArrowNorthMiddleWest'],_0x4e8443['southArrowNorthMiddleEast'],_0x4e8443['southArrowNorthWest'],_0x4e8443['southArrowNorthEast'],_0x4e8443['northArrowSouth'],_0x4e8443['northArrowSouthMiddleWest'],_0x4e8443['northArrowSouthMiddleEast'],_0x4e8443['northArrowSouthWest'],_0x4e8443['northArrowSouthEast'],_0x4e8443['viewportStickyNorth']]});}}function getFootnotesStyleDropdownViewCreator(_0x4f670f){return _0x3c563b=>{const {t:t}=_0x3c563b,_0x4b783e=_0x4f670f['commands']['get']('footnotesStyle'),_0x5016f7=ckeditor5['createDropdown'](_0x3c563b),{buttonView:_0x42c7b1}=_0x5016f7;return _0x5016f7['class']='ck-footnotes-styles-dropdown',_0x5016f7['bind']('isEnabled')['to'](_0x4b783e,'isEnabled'),_0x42c7b1['set']({'label':t('Footnotes\x20style'),'icon':ckeditor5['IconFootnote'],'tooltip':!0x0}),_0x5016f7['once']('change:isOpen',()=>{const _0x4dd54=createFootnotesDefinitionsPropertiesView({'editor':_0x4f670f,'dropdownView':_0x5016f7});_0x5016f7['panelView']['children']['add'](_0x4dd54);}),_0x5016f7;};}function createFootnotesDefinitionsPropertiesView({editor:_0x38c7d3,dropdownView:_0x2f9302}){const {t:t}=_0x38c7d3['locale'],_0x56a0b2=t('Footnotes\x20definitions\x20styles'),_0x143938=createFootnotesDefinitionStyleButtons(_0x38c7d3),_0x21a45a=new FootnotesDefinitionsPropertiesView(_0x38c7d3['locale'],{'styleGridAriaLabel':_0x56a0b2,'styleButtonViews':_0x143938}),_0xaca104=_0x38c7d3['commands']['get']('footnotesStart');return _0x21a45a['startIndexFieldView']['bind']('isEnabled')['to'](_0xaca104),_0x21a45a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xaca104),_0x21a45a['on']('footnotesListStart',(_0x274d9e,_0x314b04)=>{_0x38c7d3['execute']('footnotesStart',{'value':_0x314b04['startIndex']});}),_0x21a45a['delegate']('execute')['to'](_0x2f9302),_0x21a45a;}function createFootnotesDefinitionStyleButtons(_0x5f122a){const t=_0x5f122a['locale']['t'];return[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':ckeditor5['IconListStyleDecimal']},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':ckeditor5['IconListStyleDecimalLeadingZero']},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':ckeditor5['IconListStyleLowerRoman']},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':ckeditor5['IconListStyleUpperRoman']},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':ckeditor5['IconListStyleLowerLatin']},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':ckeditor5['IconListStyleUpperLatin']}]['map'](getFootnoteStyleButtonCreator(_0x5f122a));}function getFootnoteStyleButtonCreator(_0xe1f303){const _0x4006aa=_0xe1f303['locale'];return({label:_0x574ed4,icon:_0x245aba,tooltip:_0x4ef718,style:_0x1c3281})=>{const _0x426513=_0xe1f303['commands']['get']('footnotesStyle'),_0x142072=new ckeditor5['ButtonView'](_0x4006aa);return _0x142072['set']({'label':_0x574ed4,'icon':_0x245aba,'tooltip':_0x4ef718}),_0x142072['bind']('isOn')['to'](_0x426513,'value',_0x1f8bfe=>_0x1f8bfe===_0x1c3281),_0x142072['bind']('isEnabled')['to'](_0x426513,'isEnabled'),_0x142072['on']('execute',()=>{_0xe1f303['execute']('footnotesStyle',{'value':_0x1c3281}),_0xe1f303['editing']['view']['focus']();}),_0x142072;};}class FootnotesProperties extends ckeditor5['Plugin']{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x2a0534='copyFormat',_0x13dbe3='pasteFormat',_0x41de7e='ck-format-painter-active';class CopyFormatCommand extends ckeditor5['Command']{constructor(_0x48fb68){super(_0x48fb68),this['value']=void 0x0,this['on']('change:isEnabled',(_0x5e6db0,_0x5eb99c,_0x1ea188)=>{_0x1ea188||this['reset']();}),this['on']('change:value',()=>_0x48fb68['commands']['get'](_0x13dbe3)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x208dd8=this['editor']['model'],_0x4d2567=_0x208dd8['document']['selection'];return Object['fromEntries'](Array['from'](_0x4d2567['getAttributes']())['filter'](([_0x353950])=>_0x208dd8['schema']['getAttributeProperties'](_0x353950)['isFormatting']));}}class PasteFormatCommand extends ckeditor5['Command']{constructor(_0x20b553){super(_0x20b553),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0x20b553);}['execute'](_0x171358={}){const _0xd1a703=this['editor']['model'],_0x796a59=_0xd1a703['document']['selection'],_0x293486=Array['from'](_0x796a59['getRanges']()),_0x54845e=_0x796a59['isCollapsed']?[this['_createRangeOnEntireWord'](_0xd1a703,_0x796a59)]:_0x293486;_0xd1a703['change'](_0x4a78a7=>{_0x4a78a7['setSelection'](_0x54845e),this['_removeFormatCommand']['execute']();for(const _0x53a4bc in _0x171358)for(const _0x169fc4 of _0xd1a703['schema']['getValidRanges'](_0x54845e,_0x53a4bc))_0x4a78a7['setAttribute'](_0x53a4bc,_0x171358[_0x53a4bc],_0x169fc4);_0x4a78a7['setSelection'](_0x293486);});}['_createRangeOnEntireWord'](_0x4cdeba,_0x9bc338){const _0x4105b0=_0x4cdeba['createSelection'](_0x9bc338);_0x4cdeba['modifySelection'](_0x4105b0,{'unit':'word','direction':'backward'});const _0x332569=_0x4105b0['getFirstPosition']();_0x4cdeba['modifySelection'](_0x4105b0,{'unit':'word','direction':'forward'});const _0x202233=_0x4105b0['getLastPosition']();return _0x4cdeba['createRange'](_0x332569,_0x202233);}}class RemoveFormatCommandAlias extends ckeditor5['Command']{['execute'](){const _0x4c685c=this['editor']['model'],_0x2b1b5b=_0x4c685c['schema'];_0x4c685c['change'](_0x339f1e=>{for(const _0x3f5391 of this['_getFormattingItems'](_0x4c685c['document']['selection'],_0x2b1b5b))if(_0x3f5391['is']('selection')){for(const _0x155773 of this['_getFormattingAttributes'](_0x3f5391,_0x2b1b5b))_0x339f1e['removeSelectionAttribute'](_0x155773);}else{const _0x1e6378=_0x339f1e['createRangeOn'](_0x3f5391);for(const _0x51cb9f of this['_getFormattingAttributes'](_0x3f5391,_0x2b1b5b))_0x339f1e['removeAttribute'](_0x51cb9f,_0x1e6378);}});}*['_getFormattingItems'](_0x13bb48,_0xac12ea){const _0x147ab9=_0x25e26e=>!!ckeditor5['first'](this['_getFormattingAttributes'](_0x25e26e,_0xac12ea));for(const _0x326a71 of _0x13bb48['getRanges']())for(const _0x552a67 of _0x326a71['getItems']())!_0xac12ea['isBlock'](_0x552a67)&&_0x147ab9(_0x552a67)&&(yield _0x552a67);for(const _0x5e100a of _0x13bb48['getSelectedBlocks']())_0x147ab9(_0x5e100a)&&(yield _0x5e100a);_0x147ab9(_0x13bb48)&&(yield _0x13bb48);}*['_getFormattingAttributes'](_0x449f4f,_0x46b12c){for(const [_0x1c52be]of _0x449f4f['getAttributes']()){const _0x59b591=_0x46b12c['getAttributeProperties'](_0x1c52be);_0x59b591&&_0x59b591['isFormatting']&&(yield _0x1c52be);}}}class FormatPainterEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x402c06=this['editor'];_0x402c06['commands']['add'](_0x2a0534,new CopyFormatCommand(_0x402c06)),_0x402c06['commands']['add'](_0x13dbe3,new PasteFormatCommand(_0x402c06)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4e4eef=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59d23f;for(const _0x33dbe4 in _0x4e4eef){const _0x867189=_0x33dbe4,_0x26934f=_0x4e4eef[_0x867189];if('formatPainterLicenseKeyValid'==_0x26934f||'formatPainterLicenseKeyInvalid'==_0x26934f||'formatPainterLicenseKeyExpired'==_0x26934f||'formatPainterLicenseKeyDomainLimit'==_0x26934f||'formatPainterLicenseKeyNotAllowed'==_0x26934f||'formatPainterLicenseKeyEvaluationLimit'==_0x26934f||'formatPainterLicenseKeyUsageLimit'==_0x26934f){delete _0x4e4eef[_0x867189],_0x59d23f=_0x26934f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x59d23f&&_0x4e4eef['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x59d23f&&_0x4e4eef['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x59d23f&&_0x4e4eef['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x59d23f&&_0x4e4eef['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x59d23f&&_0x4e4eef['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x59d23f&&_0x4e4eef['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getTranslation$b(_0x4d53b0,_0x5afa0b){const t=_0x4d53b0['t'];switch(_0x5afa0b){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.');default:return _0x5afa0b;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
ckeditor5['DomEmitterMixin'](ckeditor5['Plugin']){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x73326a=this['editor'];_0x73326a['editing']['view']['addObserver'](ckeditor5['ClickObserver']),_0x73326a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':getTranslation$b(_0x73326a['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':getTranslation$b(_0x73326a['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x73326a['ui']['componentFactory']['add']('formatPainter',_0x5a4aae=>{const _0x242e76=ckeditor5['createDropdown'](_0x5a4aae,ckeditor5['SplitButtonView']),_0x2fde1b=_0x73326a['commands']['get'](_0x2a0534);_0x242e76['buttonView']['set']({'label':getTranslation$b(_0x73326a['locale'],'Paint\x20formatting'),'icon':ckeditor5['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x242e76['class']='ck-format-painter-dropdown',_0x2fde1b&&(_0x242e76['bind']('isEnabled')['to'](_0x2fde1b,'isEnabled'),this['listenTo'](_0x2fde1b,'change:isEnabled',(_0x5b0a5b,_0x4f8eb0,_0x11177e)=>{_0x11177e||this['_finishPainting']();}),_0x242e76['buttonView']['bind']('isOn')['to'](_0x2fde1b,'value',_0x14e360=>!!_0x14e360),this['listenTo'](_0x73326a,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x2fde1b,'change:value',(_0x40352f,_0x32eb2e,_0x98d54b)=>{this['_toggleSpecialCursor'](!!_0x98d54b);}));const _0x2b8639=new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$b(_0x73326a['locale'],'Continuous\x20painting'),'tooltip':getTranslation$b(_0x73326a['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});ckeditor5['addListToDropdown'](_0x242e76,new ckeditor5['Collection']([{'type':'switchbutton','model':_0x2b8639}]),{'role':'menu'});const _0x5a67c0=()=>{this['_copyFormatting'](),this['listenTo'](ckeditor5['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x2b8639['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x242e76,'execute',()=>{_0x2b8639['isOn']=!_0x2b8639['isOn'];}),this['listenTo'](_0x242e76['buttonView'],'execute',()=>{_0x73326a['editing']['view']['focus'](),_0x242e76['buttonView']['isOn']?this['_finishPainting']():_0x5a67c0();}),_0x73326a['keystrokes']['set']('Ctrl+Alt+C',(_0x48f1e9,_0x12c54f)=>{_0x5a67c0(),_0x2b8639['isOn']=!0x0,_0x12c54f();},{'priority':'high'}),_0x73326a['keystrokes']['set']('Ctrl+Alt+V',(_0x3083c3,_0x4f5156)=>{_0x242e76['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x2b8639['isOn']||this['_finishPainting'](),_0x4f5156());},{'priority':'high'}),_0x73326a['keystrokes']['set']('Esc',(_0x2b7292,_0x4ecd7e)=>{_0x242e76['buttonView']['isOn']&&(_0x2b8639['isOn']=!0x1,this['_finishPainting'](),_0x4ecd7e());}),_0x242e76;});}['afterInit'](){_0x4a3994(this);}['_toggleSpecialCursor'](_0x32aab1){this['editor']['editing']['view']['change'](_0x337126=>{for(const _0x2a64a0 of this['editor']['editing']['view']['document']['roots'])_0x32aab1?_0x337126['addClass'](_0x41de7e,_0x2a64a0):_0x337126['removeClass'](_0x41de7e,_0x2a64a0);});}['_copyFormatting'](){const {editor:_0x36d3f0}=this;_0x36d3f0['execute'](_0x2a0534),_0x36d3f0['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0x36d3f0['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0xaf9497}=this,_0x213ccf=_0xaf9497['commands']['get'](_0x2a0534)['value'];_0xaf9497['execute'](_0x13dbe3,_0x213ccf),_0xaf9497['ui']['ariaLiveAnnouncer']['announce'](getTranslation$b(_0xaf9497['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x2a0534)['reset'](),this['stopListening'](ckeditor5['global']['window']['document'],'mouseup');}}async function _0x4a3994(_0x4edaea){const _0x1dd20e=_0x1c5061([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0xf37948=window[_0x1c5061([0x44,0x61,0x74,0x65])][_0x1c5061([0x6e,0x6f,0x77])](),_0x4fee48=_0x4edaea[_0x1c5061([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd2569f=new window[(_0x1c5061([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ba120=>{_0x4fee48[_0x1c5061([0x6f,0x6e,0x63,0x65])](_0x1c5061([0x72,0x65,0x61,0x64,0x79]),_0x5ba120);}),_0x427f68={[_0x1c5061([0x6b,0x74,0x79])]:_0x1c5061([0x45,0x43]),[_0x1c5061([0x75,0x73,0x65])]:_0x1c5061([0x73,0x69,0x67]),[_0x1c5061([0x63,0x72,0x76])]:_0x1c5061([0x50,0x2d,0x32,0x35,0x36]),[_0x1c5061([0x78])]:_0x1c5061([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1c5061([0x79])]:_0x1c5061([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1c5061([0x61,0x6c,0x67])]:_0x1c5061([0x45,0x53,0x32,0x35,0x36])},_0x56a298=_0x4fee48[_0x1c5061([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c5061([0x67,0x65,0x74])](_0x1c5061([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1d895c=await(async function(){let _0x4ef000,_0x4e3b54=null,_0x28510c=null;try{if(_0x56a298==_0x1c5061([0x47,0x50,0x4c]))return _0x1c5061([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ef000=(function(){const _0x116b6e=_0x56a298[_0x1c5061([0x73,0x70,0x6c,0x69,0x74])](_0x1c5061([0x2e]));if(0x3!=_0x116b6e[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x4a80ac=_0x116b6e[0x1];return _0x59a114(_0x4a80ac);function _0x59a114(_0x417601){const _0x42afe8=_0x4d83fe(_0x417601);return _0x42afe8&&_0x2debe5()?_0x42afe8:null;function _0x2debe5(){const _0x22ed15=_0x42afe8[_0x1c5061([0x6a,0x74,0x69])],_0x219a9e=window[_0x1c5061([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22ed15[_0x1c5061([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22ed15[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e491f={..._0x42afe8,[_0x1c5061([0x6a,0x74,0x69])]:_0x22ed15[_0x1c5061([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22ed15[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e491f[_0x1c5061([0x76,0x63])],_0x1bdf9b(_0x4e491f)==_0x219a9e;}}}()),!_0x4ef000)return _0x1c5061([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x4ef000[_0x1c5061([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28510c=function(_0x3b699b,_0x568885){return new window[(_0x1c5061([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x162820=>{if(_0x3efe85())return _0x162820(_0x1c5061([0x56,0x61,0x6c,0x69,0x64]));_0x5c3642(),_0x4fee48[_0x1c5061([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c5061([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32ae7f=!0x1;const _0x4b2170=ckeditor5['uid']();function _0x3df410(_0x3d1764){return!!_0x3d1764&&(typeof _0x3d1764===_0x1c5061([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d1764===_0x1c5061([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d1764[_0x1c5061([0x74,0x68,0x65,0x6e])]===_0x1c5061([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d1764[_0x1c5061([0x63,0x61,0x74,0x63,0x68])]===_0x1c5061([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f5ba3(_0x333d9e){_0x5ab217(_0x333d9e)[_0x1c5061([0x74,0x68,0x65,0x6e])](_0x4489f3=>{if(!_0x4489f3||_0x4489f3[_0x1c5061([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c5061([0x6f,0x6b]))return _0x1c5061([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x9a0c18(_0x1bdf9b(_0x4b2170+_0x568885))!=_0x4489f3[_0x1c5061([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c5061([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c5061([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c5061([0x74,0x68,0x65,0x6e])](_0x42ece6=>(_0x338b42(),_0x42ece6),()=>{const _0x14861f=_0x2a441d();return null==_0x14861f?(_0x338b42(),_0x1c5061([0x56,0x61,0x6c,0x69,0x64])):_0x1c5061(_0xf37948-_0x14861f>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c5061([0x74,0x68,0x65,0x6e])](_0x162820)[_0x1c5061([0x63,0x61,0x74,0x63,0x68])](()=>{_0x162820(_0x1c5061([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5109c4=0x36ee80;function _0x338b42(){const _0xc55a22=_0x1c5061([0x6c,0x6c,0x63,0x74,0x2d])+_0x9a0c18(_0x1bdf9b(_0x3b699b)),_0x49d30d=_0x1eec5b(_0x9a0c18(window[_0x1c5061([0x4d,0x61,0x74,0x68])][_0x1c5061([0x63,0x65,0x69,0x6c])](_0xf37948/_0x5109c4)));window[_0x1c5061([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c5061([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc55a22,_0x49d30d);}function _0x2a441d(){const _0x435e79=_0x1c5061([0x6c,0x6c,0x63,0x74,0x2d])+_0x9a0c18(_0x1bdf9b(_0x3b699b)),_0x166566=window[_0x1c5061([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c5061([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x435e79);return _0x166566?window[_0x1c5061([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1eec5b(_0x166566),0x10)*_0x5109c4:null;}function _0x5ab217(_0x44115d){return new window[(_0x1c5061([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x104a41,_0x2cf9cc)=>{_0x44115d[_0x1c5061([0x74,0x68,0x65,0x6e])](_0x104a41,_0x2cf9cc),window[_0x1c5061([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2cf9cc,0x1d4c0);});}}_0x4fee48[_0x1c5061([0x6f,0x6e])](_0x1c5061([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5eb0fd,_0x12fc37)=>{if(_0x12fc37[0x0]!=_0x3b699b)return _0x162820(_0x1c5061([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x12fc37[0x1]={..._0x12fc37[0x1],[_0x1c5061([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b2170};},{[_0x1c5061([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c5061([0x68,0x69,0x67,0x68])}),_0x4fee48[_0x1c5061([0x6f,0x6e])](_0x1c5061([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e6160=>{_0x3df410(_0x5e6160[_0x1c5061([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32ae7f=!0x0,_0x3f5ba3(_0x5e6160[_0x1c5061([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c5061([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c5061([0x6c,0x6f,0x77])}),_0xd2569f[_0x1c5061([0x74,0x68,0x65,0x6e])](()=>{_0x32ae7f||_0x162820(_0x1c5061([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3efe85(){return _0x4fee48[_0x1c5061([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c5061([0x76,0x69,0x65,0x77])][_0x1c5061([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c5061([0x61,0x75,0x74,0x6f]);}function _0x5c3642(){_0x4fee48[_0x1c5061([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c5061([0x76,0x69,0x65,0x77])][_0x1c5061([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c5061([0x61,0x75,0x74,0x6f]);}}(_0x4ef000[_0x1c5061([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ef000[_0x1c5061([0x6a,0x74,0x69])]));const _0x5bea74=await(async function(){let _0x590d76=!0x0;try{const _0x3fbe23=_0x56a298[_0x1c5061([0x73,0x70,0x6c,0x69,0x74])](_0x1c5061([0x2e])),[_0x4fd805,_0x4ccb50,_0xaa93ff]=_0x3fbe23;return _0x293251(_0x4fd805),await _0x5a7c46(_0x4fd805,_0x4ccb50,_0xaa93ff),_0x590d76;}catch{return!0x1;}function _0x293251(_0x257583){const _0x1882c4=_0x4d83fe(_0x257583);_0x1882c4&&_0x1882c4[_0x1c5061([0x61,0x6c,0x67])]==_0x1c5061([0x45,0x53,0x32,0x35,0x36])||(_0x590d76=!0x1);}async function _0x5a7c46(_0x451f8f,_0x512f28,_0x4ea576){const _0x3f16b4=window[_0x1c5061([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c5061([0x66,0x72,0x6f,0x6d])](_0xaf79f0(_0x4ea576),_0x4a933d=>_0x4a933d[_0x1c5061([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f72f5=new window[(_0x1c5061([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c5061([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x451f8f+_0x1c5061([0x2e])+_0x512f28),_0x36999f=window[_0x1c5061([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c5061([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36999f)return;const _0x296290=await _0x36999f[_0x1c5061([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c5061([0x6a,0x77,0x6b]),_0x427f68,{[_0x1c5061([0x6e,0x61,0x6d,0x65])]:_0x1c5061([0x45,0x43,0x44,0x53,0x41]),[_0x1c5061([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c5061([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c5061([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36999f[_0x1c5061([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c5061([0x6e,0x61,0x6d,0x65])]:_0x1c5061([0x45,0x43,0x44,0x53,0x41]),[_0x1c5061([0x68,0x61,0x73,0x68])]:{[_0x1c5061([0x6e,0x61,0x6d,0x65])]:_0x1c5061([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x296290,_0x3f16b4,_0x4f72f5)||(_0x590d76=!0x1);}}());return _0x5bea74?(function(){const _0x3bf3d4=_0x4ef000[_0x1c5061([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3bf3d4)return!0x1;if(_0x3bf3d4[_0x1c5061([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5061([0x2a])))return!0x0;if(_0x3bf3d4[_0x1c5061([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5061([0x46,0x50])))return!0x0;if(_0x3bf3d4[_0x1c5061([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5061([0x50,0x50])))return!0x0;if(_0x3bf3d4[_0x1c5061([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5061([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x1c5061([0x67,0x6c,0x6f,0x62])]&&window[_0x1c5061([0x67,0x6c,0x6f,0x62])][_0x1c5061([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x4f038c=[_0x1c5061([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c5061([0x74,0x72,0x69,0x61,0x6c])][_0x1c5061([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef000[_0x1c5061([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf37948/0x3e8:0x69b0b080;return _0x4ef000[_0x1c5061([0x65,0x78,0x70])]<_0x4f038c;}())?_0x1c5061([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x278916=_0x4ef000[_0x1c5061([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x278916||0x0==_0x278916[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13b165}=new URL(window[_0x1c5061([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x278916[_0x1c5061([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13b165))return!0x0;const _0x4b7964=_0x13b165[_0x1c5061([0x73,0x70,0x6c,0x69,0x74])](_0x1c5061([0x2e]));return _0x278916[_0x1c5061([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb4d00e=>_0xb4d00e[_0x1c5061([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5061([0x2a])))[_0x1c5061([0x6d,0x61,0x70])](_0x245ed8=>_0x245ed8[_0x1c5061([0x73,0x70,0x6c,0x69,0x74])](_0x1c5061([0x2e])))[_0x1c5061([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4443af=>_0x4443af[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b7964[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c5061([0x6d,0x61,0x70])](_0x2a134a=>Array(_0x4b7964[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a134a[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c5061([0x66,0x69,0x6c,0x6c])](_0x2a134a[0x0]===_0x1c5061([0x2a])?_0x1c5061([0x2a]):'')[_0x1c5061([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a134a))[_0x1c5061([0x73,0x6f,0x6d,0x65])](_0x47b00b=>_0x4b7964[_0x1c5061([0x65,0x76,0x65,0x72,0x79])]((_0x50348c,_0x49f3ae)=>_0x47b00b[_0x49f3ae]===_0x50348c||_0x47b00b[_0x49f3ae]===_0x1c5061([0x2a])));}())?(_0x4ef000[_0x1c5061([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c5061([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e3b54=function(_0x38ba83){const _0x8218b7=new window[(_0x1c5061([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5abbd6=>setTimeout(_0x5abbd6,0x93ecc)),_0x277f7a=_0xd2569f[_0x1c5061([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c5061([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x273600=>{let _0x8fc573=0x0;_0x4fee48[_0x1c5061([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5061([0x6f,0x6e])](_0x1c5061([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4335c1,_0x383105)=>{_0x383105[0x0][_0x1c5061([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8fc573++,0x5e8==_0x8fc573&&(_0x273600(),_0x4335c1[_0x1c5061([0x6f,0x66,0x66])]());});})),_0x2aee47=[_0x8218b7,_0x277f7a];return window[_0x1c5061([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c5061([0x72,0x61,0x63,0x65])](_0x2aee47)[_0x1c5061([0x74,0x68,0x65,0x6e])](()=>_0x38ba83);}(_0x1c5061([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x4e3b54&&_0x28510c)return new window[(_0x1c5061([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8168e3,_0x67557c)=>{_0x4e3b54[_0x1c5061([0x74,0x68,0x65,0x6e])](_0x8168e3,_0x67557c),_0x28510c[_0x1c5061([0x74,0x68,0x65,0x6e])](_0xdfcaa6=>{_0xdfcaa6!=_0x1c5061([0x56,0x61,0x6c,0x69,0x64])&&_0x8168e3(_0xdfcaa6);},_0x67557c);});return _0x4e3b54||_0x28510c||_0x1c5061([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1c5061([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c5061([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c5061([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c5061([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4d83fe(_0x294eb2){return _0x294eb2[_0x1c5061([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c5061([0x65,0x79]))?JSON[_0x1c5061([0x70,0x61,0x72,0x73,0x65])](_0xaf79f0(_0x294eb2)):null;}function _0xaf79f0(_0x2615a6){return window[_0x1c5061([0x61,0x74,0x6f,0x62])](_0x2615a6[_0x1c5061([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c5061([0x2b]))[_0x1c5061([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c5061([0x2f])));}function _0x1bdf9b(_0x2bf89c){let _0x46672d=0x1505;function _0xbc1759(_0x97f9d){for(let _0x1664f4=0x0;_0x1664f4<_0x97f9d[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1664f4++){const _0x4beed1=_0x97f9d[_0x1c5061([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1664f4);_0x46672d=(_0x46672d<<0x5)+_0x46672d+_0x4beed1,_0x46672d&=_0x46672d;}}return function _0x36a0c5(_0x2da4f2){Array[_0x1c5061([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2da4f2)?_0x2da4f2[_0x1c5061([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36a0c5):_0x2da4f2&&typeof _0x2da4f2==_0x1c5061([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c5061([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2da4f2)[_0x1c5061([0x73,0x6f,0x72,0x74])]()[_0x1c5061([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x587f31,_0x11fda9])=>{_0xbc1759(_0x587f31),_0x36a0c5(_0x11fda9);}):_0xbc1759(window[_0x1c5061([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2da4f2));}(_0x2bf89c),_0x46672d>>>0x0;}function _0x9a0c18(_0x22a588){return _0x22a588[_0x1c5061([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c5061([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c5061([0x30]));}function _0x1eec5b(_0x24310d){return _0x24310d[_0x1c5061([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c5061([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c5061([0x6a,0x6f,0x69,0x6e])]('');}function _0x383028(){}function _0x1c5061(_0xc10f77){return _0xc10f77['map'](_0x13d9cf=>String['fromCharCode'](_0x13d9cf))['join']('');}!function(_0x57de0b){const _0x524208=(function(){const _0x5ec1a5=window[_0x1c5061([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c5061([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c5061([0x6e,0x6f,0x77])]())[_0x1c5061([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c5061([0x2e]),'');let _0x251b4d=_0x1c5061([0x51]);for(let _0x228bea=0x0;_0x228bea<_0x5ec1a5[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x228bea+=0x2){let _0x36e941=window[_0x1c5061([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ec1a5[_0x1c5061([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x228bea,_0x228bea+0x2));_0x36e941>=_0x1dd20e[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36e941-=_0x1dd20e[_0x1c5061([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x251b4d+=_0x1dd20e[_0x36e941];}return _0x251b4d;}());_0x4fee48[_0x524208]=_0x1c5061([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57de0b,_0x57de0b!=_0x1c5061([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0xd2569f,_0x4fee48[_0x1c5061([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5061([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x383028,_0x4fee48[_0x1c5061([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5061([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x383028,_0x4fee48[_0x1c5061([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c5061([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1d895c);}class FormatPainter extends ckeditor5['Plugin']{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$a(_0x11d46f,_0x3b5853){const t=_0x11d46f['t'];switch(_0x3b5853){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 _0x3b5853;}}class ImportWordUI extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f4309=this['editor'];_0x4f4309['ui']['componentFactory']['add']('importWord',()=>{const _0x17c425=this['_createButton'](ckeditor5['FileDialogButtonView']),_0x844cce=_0x4f4309['commands']['get']('importWord');return _0x17c425['bind']('isOn')['to'](_0x844cce,'isBusy'),_0x17c425['tooltip']=!0x0,_0x17c425;}),_0x4f4309['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](ckeditor5['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x2c8456){const _0x5a8280=this['editor'],_0x2e3a67=_0x5a8280['commands']['get']('importWord'),_0x45ea03=new _0x2c8456(_0x5a8280['locale']),_0x47cd87=new ckeditor5['SpinnerView']();return _0x45ea03['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x45ea03['set']({'icon':ckeditor5['IconImportWord']}),_0x45ea03['bind']('isEnabled')['to'](_0x2e3a67),_0x45ea03['bind']('label')['to'](_0x2e3a67,'isBusy',_0x87f5a3=>getTranslation$a(_0x5a8280['locale'],_0x87f5a3?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x47cd87['bind']('isVisible')['to'](_0x2e3a67,'isBusy'),_0x45ea03['iconView']['bind']('isVisible')['to'](_0x2e3a67,'isBusy',_0xfda378=>!_0xfda378),_0x45ea03['children']['add'](_0x47cd87),_0x45ea03['on']('done',(_0x3bfcf1,_0x2767a6)=>{_0x5a8280['execute']('importWord',_0x2767a6[0x0],{}),_0x5a8280['editing']['view']['focus']();}),_0x45ea03;}}class ImportWordCommand extends ckeditor5['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x12c078){super(_0x12c078),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x2106d0,_0xfdf590)=>{const _0x835036=new DataTransfer();_0x835036['setData']('text/html',_0xfdf590['html']);const _0xaf75e7=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0xbf18dd=>{this['_importMarker']['stopListening'](),_0xbf18dd['setSelection'](_0xaf75e7),_0x12c078['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x835036});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4e9133,_0x49f0e8={}){if(this['isBusy'])return Promise['resolve']();const _0x2442af=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x414c0a,suffix:_0x443924}=this['editor']['config']['get']('mergeFields');_0x49f0e8['merge_fields']={'prefix':_0x414c0a,'suffix':_0x443924};}const _0x2e6f4f={'url':_0x2442af['converterUrl'],'file':_0x4e9133,'serviceConfig':{..._0x49f0e8,'formatting':_0x2442af['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x2e6f4f)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x19b5e4=this['editor']['model'],_0x4b660e=_0x19b5e4['schema'],_0x5418ce=_0x19b5e4['document']['selection'],_0x19b850=ckeditor5['first'](_0x5418ce['getSelectedBlocks']());return!!_0x19b850&&_0x4b660e['checkChild'](_0x19b850['parent'],'paragraph');}['_prepareForImport'](){const _0x3efc67=this['editor'],_0x21f105=_0x3efc67['model'],_0x5a72af=_0x21f105['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x3efc67['model']['createBatch']({'isUndoable':!0x0}),_0x21f105['enqueueChange'](this['_undoStepBatch'],_0xdad1a5=>{_0x5a72af['isCollapsed']||_0x21f105['deleteContent'](_0x5a72af,{'leaveUnmerged':!0x0});const _0x216c26=_0x5a72af['getFirstPosition'](),_0x5a0231=ckeditor5['first'](_0x5a72af['getSelectedBlocks']());let _0x37e433;_0x37e433=_0x5a0231['is']('element','paragraph')&&_0x5a0231['isEmpty']?_0x216c26:_0x216c26['isAtStart']?_0x21f105['createPositionBefore'](_0x5a0231):_0x216c26['isAtEnd']?_0x21f105['createPositionAfter'](_0x5a0231):_0xdad1a5['split'](_0x216c26)['position'],this['_importMarker']=_0xdad1a5['addMarker']('importWord:'+ckeditor5['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new ckeditor5['ModelRange'](_0x37e433)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x2c9f0c=this['editor']['model'];_0x2c9f0c['markers']['has'](this['_importMarker'])&&_0x2c9f0c['enqueueChange'](this['_undoStepBatch'],_0x48b54d=>{_0x48b54d['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x4a9dc8,file:_0x3ef44d,serviceConfig:_0x44b44b}){const _0x2d0f2f=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x4bbf3c=new FormData();_0x4bbf3c['set']('config',JSON['stringify'](_0x44b44b)),_0x4bbf3c['set']('file',_0x3ef44d);const _0x22d22b={'method':'POST','headers':{},'body':_0x4bbf3c,'signal':this['_abortController']['signal']};return _0x2d0f2f&&(_0x22d22b['headers']['Authorization']=_0x2d0f2f['value']),fetch(_0x4a9dc8,_0x22d22b);}['_handleImportResponse'](_0x5b187b){return _0x5b187b['ok']?_0x5b187b['json']()['then'](_0x4c5f13=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x4c5f13,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void ckeditor5['logWarning']('import-word-plugin-import-cancelled');const _0x370398=this['editor'],_0x4205a2=getTranslation$a(_0x370398['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x370398['plugins']['get']('Notification')['showWarning'](_0x4205a2),ckeditor5['logError']('import-word-plugin-conversion-failed');}}class ImportWordEditing extends ckeditor5['Plugin']{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ckeditor5['Notification'],ckeditor5['ClipboardPipeline'],'CloudServices'];}constructor(_0x39c356){super(_0x39c356),this['_token']=null;}async['init'](){const _0x301bac=this['editor'];_0x301bac['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x301bac['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x301bac['commands']['add']('importWord',new ImportWordCommand(_0x301bac));const {tokenUrl:_0x14fe7a}=_0x301bac['config']['get']('importWord');if(_0x14fe7a){const {tokenUrl:_0xb84030}=_0x301bac['config']['get']('cloudServices')||{};this['_token']=_0x14fe7a===_0xb84030?_0x301bac['plugins']['get']('CloudServices')['token']:await _0x301bac['plugins']['get']('CloudServices')['registerTokenUrl'](_0x14fe7a);}}['getToken'](){return this['_token'];}}class ImportWord extends ckeditor5['Plugin']{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class LineHeightCommand extends ckeditor5['Command']{['refresh'](){const _0x1d68fb=this['editor']['model']['document'],_0xefba82=ckeditor5['first'](_0x1d68fb['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0xefba82)&&this['_canHaveLineHeight'](_0xefba82),this['value']=this['isEnabled']&&_0xefba82['getAttribute']('lineHeight');}['execute'](_0x5dc3d5={}){const _0x349aec=this['editor']['model'],_0x3f12aa=_0x349aec['document']['selection'],_0xa1159=_0x5dc3d5['value'];_0x349aec['change'](_0x3c68a9=>{const _0x366d1c=Array['from'](_0x3f12aa['getSelectedBlocks']())['filter'](_0x4206d2=>this['_canHaveLineHeight'](_0x4206d2));for(const _0x3ddfa0 of _0x366d1c)_0xa1159?_0x3c68a9['setAttribute']('lineHeight',_0xa1159,_0x3ddfa0):_0x3c68a9['removeAttribute']('lineHeight',_0x3ddfa0);});}['_canHaveLineHeight'](_0x5a3250){return this['editor']['model']['schema']['checkAttribute'](_0x5a3250,'lineHeight');}}const namedPresets={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 isLineHeightDefaultValue(_0x36ca77){return'string'==typeof _0x36ca77&&'default'===_0x36ca77['toLowerCase']();}function normalizeOptions(_0x9bc610){return _0x9bc610['options']['map'](_0x28de43=>isLineHeightDefaultValue(_0x28de43)?{'title':String(_0x9bc610['defaultValue']),'model':'default'}:('number'==typeof _0x28de43&&(_0x28de43=String(_0x28de43)),'string'!=typeof _0x28de43?_0x28de43:parseFloat(_0x28de43)?{'title':_0x28de43,'model':_0x28de43,'view':{'name':'span','styles':{'line-height':_0x28de43}}}:findPreset(_0x28de43)))['filter'](_0x1fef03=>void 0x0!==_0x1fef03);}function findPreset(_0x3de8ee){return'string'==typeof _0x3de8ee?namedPresets[_0x3de8ee]:namedPresets[_0x3de8ee['model']];}function buildDefinition(_0x57879c,_0x8d04f9){const _0x303a9b={'model':{'key':_0x57879c,'values':[]},'view':{}};for(const _0x53f01d of _0x8d04f9)'class'===_0x53f01d['view']?.['key']?(_0x303a9b['model']['values']['push'](_0x53f01d['model']),_0x303a9b['view'][_0x53f01d['model']]={'key':'class','value':_0x53f01d['view']['value']}):(_0x303a9b['model']['values']['push'](_0x53f01d['model']),_0x303a9b['view'][_0x53f01d['model']]={'key':'style','value':'line-height:'+_0x53f01d['model']+';'});return _0x303a9b;}class LineHeightTodoListIntegration extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0xe675f3,conversion:_0x111ace}=this['editor'];if(!_0xe675f3['has']('ListEditing')||!_0xe675f3['has']('TodoListEditing'))return;_0xe675f3['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x1063ca,_0x1c8fba,_0x7dafed,_0x5aa5bb,_0x36fe2d){'todo'==_0x36fe2d['getAttribute']('listType')&&_0x1c8fba&&(_0x1063ca['addClass']('ck-list-marker-line-height',_0x7dafed),_0x1063ca['setStyle']('--ck-content-list-marker-line-height',_0x1c8fba,_0x7dafed));}}),_0x111ace['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x111ace['for']('upcast')['add'](_0x40eae7=>{_0x40eae7['on']('element:li',attributeUpcastConsumingConverter({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function attributeUpcastConsumingConverter(_0x517174){const _0x1eac6f=new ckeditor5['Matcher'](_0x517174);return(_0xa2ec01,_0x4b672b,_0x5c4480)=>{const _0x35bf6e=_0x1eac6f['match'](_0x4b672b['viewItem']);if(!_0x35bf6e)return;const _0x18cde5=_0x35bf6e['match'];_0x18cde5['name']=!0x1,_0x5c4480['consumable']['consume'](_0x4b672b['viewItem'],_0x18cde5);};}class LineHeightEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x487043){super(_0x487043),_0x487043['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x4fd728=this['editor'];this['_validateConfig'](),_0x4fd728['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x4fd728['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x4fd728['commands']['add']('lineHeight',new LineHeightCommand(_0x4fd728)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){_0x3008ad(this);}['_validateConfig'](){const _0x111515=this['editor'];if(!_0x111515['config']['get']('lineHeight.supportAllValues'))return;const _0x540a4e=_0x111515['config']['get']('lineHeight.options')['filter'](_0x1839ef=>'string'==typeof _0x1839ef&&(!isLineHeightDefaultValue(_0x1839ef)&&isNaN(Number(_0x1839ef))));if(_0x540a4e['length'])throw new ckeditor5['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x540a4e});}['_prepareAnyValueConverters'](){const _0x3501dc=this['editor'],_0x4bebd3=this['editor']['config']['get']('lineHeight.defaultValue');_0x3501dc['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x1b25e3=>String(_0x1b25e3)===String(_0x4bebd3)?null:{'key':'style','value':{'line-height':_0x1b25e3}}}),_0x3501dc['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x4bd1d0=>{let _0x1dc715=_0x4bd1d0['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x1dc715)&&(_0x1dc715=String(Number(_0x1dc715['slice'](0x0,-0x1))/0x64)),String(_0x1dc715)===String(_0x4bebd3)?null:_0x1dc715;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x2f7ae7=this['editor'],_0x16a1dc=this['editor']['config']['get']('lineHeight.defaultValue'),_0x53936c=buildDefinition('lineHeight',normalizeOptions(this['editor']['config']['get']('lineHeight'))['filter'](_0x425b7e=>_0x425b7e['model']));_0x2f7ae7['conversion']['attributeToAttribute'](_0x53936c),_0x2f7ae7['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x2f9cb6=>{let _0x2579f4=_0x2f9cb6['getStyle']('line-height');return ckeditor5['isPercentageStyleValue'](_0x2579f4)&&(_0x2579f4=String(Number(_0x2579f4['slice'](0x0,-0x1))/0x64)),_0x2579f4===String(_0x16a1dc)?null:_0x53936c['model']['values']['includes'](_0x2579f4)?_0x2579f4:null;}}});}}async function _0x3008ad(_0x5e8161){const _0x12b382=_0x4902e1([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x26787b=window[_0x4902e1([0x44,0x61,0x74,0x65])][_0x4902e1([0x6e,0x6f,0x77])](),_0x7861e6=_0x5e8161[_0x4902e1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5abeb2=new window[(_0x4902e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10f1c5=>{_0x7861e6[_0x4902e1([0x6f,0x6e,0x63,0x65])](_0x4902e1([0x72,0x65,0x61,0x64,0x79]),_0x10f1c5);}),_0x2757bd={[_0x4902e1([0x6b,0x74,0x79])]:_0x4902e1([0x45,0x43]),[_0x4902e1([0x75,0x73,0x65])]:_0x4902e1([0x73,0x69,0x67]),[_0x4902e1([0x63,0x72,0x76])]:_0x4902e1([0x50,0x2d,0x32,0x35,0x36]),[_0x4902e1([0x78])]:_0x4902e1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4902e1([0x79])]:_0x4902e1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4902e1([0x61,0x6c,0x67])]:_0x4902e1([0x45,0x53,0x32,0x35,0x36])},_0x3af32d=_0x7861e6[_0x4902e1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4902e1([0x67,0x65,0x74])](_0x4902e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4aee1c=await(async function(){let _0x3cd923,_0x55de64=null,_0x5f7127=null;try{if(_0x3af32d==_0x4902e1([0x47,0x50,0x4c]))return _0x4902e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3cd923=(function(){const _0x5b4712=_0x3af32d[_0x4902e1([0x73,0x70,0x6c,0x69,0x74])](_0x4902e1([0x2e]));if(0x3!=_0x5b4712[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x246300=_0x5b4712[0x1];return _0x1b4473(_0x246300);function _0x1b4473(_0x817f78){const _0x3ef275=_0x428890(_0x817f78);return _0x3ef275&&_0xf99885()?_0x3ef275:null;function _0xf99885(){const _0x19237a=_0x3ef275[_0x4902e1([0x6a,0x74,0x69])],_0x27673b=window[_0x4902e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19237a[_0x4902e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19237a[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x495bc3={..._0x3ef275,[_0x4902e1([0x6a,0x74,0x69])]:_0x19237a[_0x4902e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19237a[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x495bc3[_0x4902e1([0x76,0x63])],_0x1418da(_0x495bc3)==_0x27673b;}}}()),!_0x3cd923)return _0x4902e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x3cd923[_0x4902e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f7127=function(_0x363fc6,_0x42d840){return new window[(_0x4902e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x286c14=>{if(_0x4b8ab5())return _0x286c14(_0x4902e1([0x56,0x61,0x6c,0x69,0x64]));_0x19cea0(),_0x7861e6[_0x4902e1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4902e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x113f9f=!0x1;const _0x53dbc3=ckeditor5['uid']();function _0x27ef52(_0x27b522){return!!_0x27b522&&(typeof _0x27b522===_0x4902e1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27b522===_0x4902e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27b522[_0x4902e1([0x74,0x68,0x65,0x6e])]===_0x4902e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27b522[_0x4902e1([0x63,0x61,0x74,0x63,0x68])]===_0x4902e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x322b96(_0x421a00){_0x520153(_0x421a00)[_0x4902e1([0x74,0x68,0x65,0x6e])](_0x554654=>{if(!_0x554654||_0x554654[_0x4902e1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4902e1([0x6f,0x6b]))return _0x4902e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d1410(_0x1418da(_0x53dbc3+_0x42d840))!=_0x554654[_0x4902e1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4902e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4902e1([0x56,0x61,0x6c,0x69,0x64]);})[_0x4902e1([0x74,0x68,0x65,0x6e])](_0x3e177a=>(_0xe7b201(),_0x3e177a),()=>{const _0x3e6598=_0x17eb84();return null==_0x3e6598?(_0xe7b201(),_0x4902e1([0x56,0x61,0x6c,0x69,0x64])):_0x4902e1(_0x26787b-_0x3e6598>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4902e1([0x74,0x68,0x65,0x6e])](_0x286c14)[_0x4902e1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x286c14(_0x4902e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x598754=0x36ee80;function _0xe7b201(){const _0x4ebeef=_0x4902e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d1410(_0x1418da(_0x363fc6)),_0x353644=_0x106cfd(_0x4d1410(window[_0x4902e1([0x4d,0x61,0x74,0x68])][_0x4902e1([0x63,0x65,0x69,0x6c])](_0x26787b/_0x598754)));window[_0x4902e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4902e1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ebeef,_0x353644);}function _0x17eb84(){const _0x5cf806=_0x4902e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d1410(_0x1418da(_0x363fc6)),_0x45db92=window[_0x4902e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4902e1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cf806);return _0x45db92?window[_0x4902e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x106cfd(_0x45db92),0x10)*_0x598754:null;}function _0x520153(_0x18a11b){return new window[(_0x4902e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40ba41,_0x1e2217)=>{_0x18a11b[_0x4902e1([0x74,0x68,0x65,0x6e])](_0x40ba41,_0x1e2217),window[_0x4902e1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e2217,0x1d4c0);});}}_0x7861e6[_0x4902e1([0x6f,0x6e])](_0x4902e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x36a8ee,_0x1c5d01)=>{if(_0x1c5d01[0x0]!=_0x363fc6)return _0x286c14(_0x4902e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c5d01[0x1]={..._0x1c5d01[0x1],[_0x4902e1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53dbc3};},{[_0x4902e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4902e1([0x68,0x69,0x67,0x68])}),_0x7861e6[_0x4902e1([0x6f,0x6e])](_0x4902e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a4c5f=>{_0x27ef52(_0x3a4c5f[_0x4902e1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x113f9f=!0x0,_0x322b96(_0x3a4c5f[_0x4902e1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4902e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4902e1([0x6c,0x6f,0x77])}),_0x5abeb2[_0x4902e1([0x74,0x68,0x65,0x6e])](()=>{_0x113f9f||_0x286c14(_0x4902e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b8ab5(){return _0x7861e6[_0x4902e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4902e1([0x76,0x69,0x65,0x77])][_0x4902e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4902e1([0x61,0x75,0x74,0x6f]);}function _0x19cea0(){_0x7861e6[_0x4902e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4902e1([0x76,0x69,0x65,0x77])][_0x4902e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4902e1([0x61,0x75,0x74,0x6f]);}}(_0x3cd923[_0x4902e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3cd923[_0x4902e1([0x6a,0x74,0x69])]));const _0x225b77=await(async function(){let _0x212c52=!0x0;try{const _0x254f26=_0x3af32d[_0x4902e1([0x73,0x70,0x6c,0x69,0x74])](_0x4902e1([0x2e])),[_0x112b62,_0x13c4d0,_0x4123bc]=_0x254f26;return _0x4133aa(_0x112b62),await _0x268200(_0x112b62,_0x13c4d0,_0x4123bc),_0x212c52;}catch{return!0x1;}function _0x4133aa(_0x418e01){const _0x176223=_0x428890(_0x418e01);_0x176223&&_0x176223[_0x4902e1([0x61,0x6c,0x67])]==_0x4902e1([0x45,0x53,0x32,0x35,0x36])||(_0x212c52=!0x1);}async function _0x268200(_0x4a19b5,_0x544850,_0x1f87d8){const _0x5c2b02=window[_0x4902e1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4902e1([0x66,0x72,0x6f,0x6d])](_0x49e97a(_0x1f87d8),_0x3ce99f=>_0x3ce99f[_0x4902e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1291a3=new window[(_0x4902e1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4902e1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a19b5+_0x4902e1([0x2e])+_0x544850),_0x23160f=window[_0x4902e1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4902e1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x23160f)return;const _0x2cac46=await _0x23160f[_0x4902e1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4902e1([0x6a,0x77,0x6b]),_0x2757bd,{[_0x4902e1([0x6e,0x61,0x6d,0x65])]:_0x4902e1([0x45,0x43,0x44,0x53,0x41]),[_0x4902e1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4902e1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4902e1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x23160f[_0x4902e1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4902e1([0x6e,0x61,0x6d,0x65])]:_0x4902e1([0x45,0x43,0x44,0x53,0x41]),[_0x4902e1([0x68,0x61,0x73,0x68])]:{[_0x4902e1([0x6e,0x61,0x6d,0x65])]:_0x4902e1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cac46,_0x5c2b02,_0x1291a3)||(_0x212c52=!0x1);}}());return _0x225b77?(function(){const _0xd53160=_0x3cd923[_0x4902e1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xd53160)return!0x1;if(_0xd53160[_0x4902e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4902e1([0x2a])))return!0x0;if(_0xd53160[_0x4902e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4902e1([0x4c,0x48])))return!0x0;return!0x1;}())?(function(){const _0x4ce724=[_0x4902e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4902e1([0x74,0x72,0x69,0x61,0x6c])][_0x4902e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cd923[_0x4902e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26787b/0x3e8:0x69b0b080;return _0x3cd923[_0x4902e1([0x65,0x78,0x70])]<_0x4ce724;}())?_0x4902e1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x3f654e=_0x3cd923[_0x4902e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f654e||0x0==_0x3f654e[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c9383}=new URL(window[_0x4902e1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f654e[_0x4902e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c9383))return!0x0;const _0x527597=_0x1c9383[_0x4902e1([0x73,0x70,0x6c,0x69,0x74])](_0x4902e1([0x2e]));return _0x3f654e[_0x4902e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f0c5a=>_0x5f0c5a[_0x4902e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4902e1([0x2a])))[_0x4902e1([0x6d,0x61,0x70])](_0x394507=>_0x394507[_0x4902e1([0x73,0x70,0x6c,0x69,0x74])](_0x4902e1([0x2e])))[_0x4902e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x99ab08=>_0x99ab08[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x527597[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4902e1([0x6d,0x61,0x70])](_0x2df39f=>Array(_0x527597[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2df39f[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4902e1([0x66,0x69,0x6c,0x6c])](_0x2df39f[0x0]===_0x4902e1([0x2a])?_0x4902e1([0x2a]):'')[_0x4902e1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2df39f))[_0x4902e1([0x73,0x6f,0x6d,0x65])](_0x1fc58c=>_0x527597[_0x4902e1([0x65,0x76,0x65,0x72,0x79])]((_0x3909cd,_0xe33e8c)=>_0x1fc58c[_0xe33e8c]===_0x3909cd||_0x1fc58c[_0xe33e8c]===_0x4902e1([0x2a])));}())?(_0x3cd923[_0x4902e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4902e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55de64=function(_0x506358){const _0x350e4c=new window[(_0x4902e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x228e0d=>setTimeout(_0x228e0d,0x93ecc)),_0x3a343a=_0x5abeb2[_0x4902e1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4902e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdebc19=>{let _0x42391e=0x0;_0x7861e6[_0x4902e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4902e1([0x6f,0x6e])](_0x4902e1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f13c1,_0x2a77ce)=>{_0x2a77ce[0x0][_0x4902e1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42391e++,0x5e8==_0x42391e&&(_0xdebc19(),_0x3f13c1[_0x4902e1([0x6f,0x66,0x66])]());});})),_0x192854=[_0x350e4c,_0x3a343a];return window[_0x4902e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4902e1([0x72,0x61,0x63,0x65])](_0x192854)[_0x4902e1([0x74,0x68,0x65,0x6e])](()=>_0x506358);}(_0x4902e1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x55de64&&_0x5f7127)return new window[(_0x4902e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d086d,_0x2bfcbe)=>{_0x55de64[_0x4902e1([0x74,0x68,0x65,0x6e])](_0x4d086d,_0x2bfcbe),_0x5f7127[_0x4902e1([0x74,0x68,0x65,0x6e])](_0x5e55f1=>{_0x5e55f1!=_0x4902e1([0x56,0x61,0x6c,0x69,0x64])&&_0x4d086d(_0x5e55f1);},_0x2bfcbe);});return _0x55de64||_0x5f7127||_0x4902e1([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4902e1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4902e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4902e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4902e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x428890(_0x4a1792){return _0x4a1792[_0x4902e1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4902e1([0x65,0x79]))?JSON[_0x4902e1([0x70,0x61,0x72,0x73,0x65])](_0x49e97a(_0x4a1792)):null;}function _0x49e97a(_0x373610){return window[_0x4902e1([0x61,0x74,0x6f,0x62])](_0x373610[_0x4902e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4902e1([0x2b]))[_0x4902e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4902e1([0x2f])));}function _0x1418da(_0x5cd310){let _0x472731=0x1505;function _0x3dbcfd(_0x14c337){for(let _0xf8ba91=0x0;_0xf8ba91<_0x14c337[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf8ba91++){const _0x99b4e8=_0x14c337[_0x4902e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf8ba91);_0x472731=(_0x472731<<0x5)+_0x472731+_0x99b4e8,_0x472731&=_0x472731;}}return function _0x8fdd19(_0x40e00d){Array[_0x4902e1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40e00d)?_0x40e00d[_0x4902e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8fdd19):_0x40e00d&&typeof _0x40e00d==_0x4902e1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4902e1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40e00d)[_0x4902e1([0x73,0x6f,0x72,0x74])]()[_0x4902e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbf1383,_0x26f657])=>{_0x3dbcfd(_0xbf1383),_0x8fdd19(_0x26f657);}):_0x3dbcfd(window[_0x4902e1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40e00d));}(_0x5cd310),_0x472731>>>0x0;}function _0x4d1410(_0x27c50e){return _0x27c50e[_0x4902e1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4902e1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4902e1([0x30]));}function _0x106cfd(_0x1183f9){return _0x1183f9[_0x4902e1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4902e1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4902e1([0x6a,0x6f,0x69,0x6e])]('');}function _0xdf9e9f(){}function _0x4902e1(_0x3286a2){return _0x3286a2['map'](_0x425ea1=>String['fromCharCode'](_0x425ea1))['join']('');}!function(_0x31b6cc){const _0x2a12ad=(function(){const _0x32be49=window[_0x4902e1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4902e1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4902e1([0x6e,0x6f,0x77])]())[_0x4902e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4902e1([0x2e]),'');let _0x3083a6=_0x4902e1([0x50]);for(let _0x3a9c8b=0x0;_0x3a9c8b<_0x32be49[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a9c8b+=0x2){let _0xe7132c=window[_0x4902e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32be49[_0x4902e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a9c8b,_0x3a9c8b+0x2));_0xe7132c>=_0x12b382[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe7132c-=_0x12b382[_0x4902e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3083a6+=_0x12b382[_0xe7132c];}return _0x3083a6;}());_0x7861e6[_0x2a12ad]=_0x4902e1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x31b6cc,_0x31b6cc!=_0x4902e1([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5abeb2,_0x7861e6[_0x4902e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4902e1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdf9e9f,_0x7861e6[_0x4902e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4902e1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdf9e9f,_0x7861e6[_0x4902e1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4902e1([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4aee1c);}class LineHeightUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc7c68c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xc7c68c),this['_registerMenuBarComponent'](_0xc7c68c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5da31a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1c2e46;for(const _0x55ef52 in _0x5da31a){const _0x13756c=_0x55ef52,_0x2af3d2=_0x5da31a[_0x13756c];if('lineHeightLicenseKeyValid'==_0x2af3d2||'lineHeightLicenseKeyInvalid'==_0x2af3d2||'lineHeightLicenseKeyExpired'==_0x2af3d2||'lineHeightLicenseKeyDomainLimit'==_0x2af3d2||'lineHeightLicenseKeyNotAllowed'==_0x2af3d2||'lineHeightLicenseKeyEvaluationLimit'==_0x2af3d2||'lineHeightLicenseKeyUsageLimit'==_0x2af3d2){delete _0x5da31a[_0x13756c],_0x1c2e46=_0x2af3d2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1c2e46&&_0x5da31a['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1c2e46&&_0x5da31a['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1c2e46&&_0x5da31a['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1c2e46&&_0x5da31a['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1c2e46&&_0x5da31a['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1c2e46&&_0x5da31a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xf09455=this['editor'],t=_0xf09455['t'],_0x425c5a=_0xf09455['config']['get']('lineHeight'),_0x1160fe={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return normalizeOptions(_0x425c5a)['map'](_0x4a88f6=>{const _0x3b6083=_0x1160fe[_0x4a88f6['title']];return _0x3b6083&&_0x3b6083!=_0x4a88f6['title']&&(_0x4a88f6=Object['assign']({},_0x4a88f6,{'title':_0x3b6083})),_0x4a88f6;});}['_prepareListOptions'](){const _0x2f5182=this['editor']['commands']['get']('lineHeight'),_0x16d379=this['editor']['config']['get']('lineHeight.defaultValue'),_0x123ca7=this['_getLocalizedLineHeightOptions'](),_0x92ae88=new ckeditor5['Collection'](),_0x22a8bb=_0x456cd1=>'default'===_0x456cd1||String(_0x16d379)===_0x456cd1;for(const _0x5e507d of _0x123ca7){const _0x59f407={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5e507d['title'],'withText':!0x0})};_0x22a8bb(_0x5e507d['model'])?(_0x59f407['model']['bind']('isOn')['to'](_0x2f5182,'value',_0x20e968=>!_0x20e968),_0x59f407['model']['commandParam']=void 0x0):(_0x59f407['model']['bind']('isOn')['to'](_0x2f5182,'value',_0x39753f=>_0x39753f===_0x5e507d['model']),_0x59f407['model']['commandParam']=_0x5e507d['model']),_0x92ae88['add'](_0x59f407);}if(this['_shouldRenderCustomValueOption']()){const _0x4c4e6e=this['_getCustomValueOptionDefinition'](_0x123ca7);_0x92ae88['add'](_0x4c4e6e);}return _0x92ae88;}['_getCustomValueOptionDefinition'](_0x352e35){const _0xda399d=this['editor'],t=_0xda399d['t'],_0x562714=_0xda399d['commands']['get']('lineHeight'),_0x3d2981=_0x352e35['map'](_0x19e1cb=>_0x19e1cb['model']),_0x4fd655={'type':'button','model':new ckeditor5['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4fd655['model']['bind']('commandParam')['to'](_0x562714,'value'),_0x4fd655['model']['bind']('isOn')['to'](_0x562714,'value',_0x5164fa=>!!_0x5164fa&&!_0x3d2981['includes'](String(_0x5164fa))),_0x4fd655['model']['bind']('label')['to'](_0x562714,'value',_0x52a721=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x52a721))),_0x4fd655;}['_registerToolbarComponent']({accessibleLabel:_0x586d85,options:_0x1fd0b3}){const _0x1348db=this['editor'],_0x142dc8=_0x1348db['commands']['get']('lineHeight');_0x1348db['ui']['componentFactory']['add']('lineHeight',_0x54f0bb=>{const _0x28efc6=ckeditor5['createDropdown'](_0x54f0bb);return ckeditor5['addListToDropdown'](_0x28efc6,_0x1fd0b3,{'role':'menu','ariaLabel':_0x586d85}),_0x28efc6['buttonView']['set']({'label':_0x586d85,'tooltip':!0x0,'icon':ckeditor5['IconLineHeight']}),_0x28efc6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x28efc6['bind']('isEnabled')['to'](_0x142dc8),this['listenTo'](_0x28efc6,'execute',_0x9d38a5=>{_0x1348db['execute'](_0x9d38a5['source']['commandName'],{'value':_0x9d38a5['source']['commandParam']}),_0x1348db['editing']['view']['focus']();}),_0x28efc6['once']('change:isOpen',()=>{const _0x293f44=_0x28efc6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x28efc6,_0x1fd0b3,_0x293f44);}),_0x28efc6;});}['_registerMenuBarComponent']({accessibleLabel:_0x2b109f,options:_0x2607cc}){const _0x3376e5=this['editor'],_0x1dc3b1=_0x3376e5['commands']['get']('lineHeight');_0x3376e5['ui']['componentFactory']['add']('menuBar:lineHeight',_0x30221c=>{const _0x539243=new ckeditor5['MenuBarMenuView'](_0x30221c);_0x539243['buttonView']['set']({'label':_0x2b109f,'icon':ckeditor5['IconLineHeight']}),_0x539243['bind']('isEnabled')['to'](_0x1dc3b1);const _0x5cdfaa=new ckeditor5['MenuBarMenuListView'](_0x30221c);for(const _0x40b406 of _0x2607cc){const _0x1118f5=new ckeditor5['MenuBarMenuListItemView'](_0x30221c,_0x539243),_0x1df339=new ckeditor5['MenuBarMenuListItemButtonView'](_0x30221c);_0x1df339['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1df339['bind'](...Object['keys'](_0x40b406['model']))['to'](_0x40b406['model']),_0x1df339['delegate']('execute')['to'](_0x539243),_0x1df339['on']('execute',()=>{_0x3376e5['execute'](_0x40b406['model']['commandName'],{'value':_0x40b406['model']['commandParam']}),_0x3376e5['editing']['view']['focus']();}),_0x1118f5['children']['add'](_0x1df339),_0x5cdfaa['items']['add'](_0x1118f5);}return _0x539243['panelView']['children']['add'](_0x5cdfaa),this['_attachCustomOptionVisibilityHandler'](_0x539243,_0x2607cc,_0x5cdfaa),_0x539243;});}['_attachCustomOptionVisibilityHandler'](_0x43196e,_0x3c29f7,_0x54ee98){if(!this['_shouldRenderCustomValueOption']())return;const _0x37cbe2=()=>{if(!_0x43196e['isOpen'])return;_0x54ee98['items']['last']['isVisible']=Boolean(_0x3c29f7['last']['model']['isOn']);};_0x37cbe2(),_0x43196e['on']('change:isOpen',()=>{_0x37cbe2();});}}class LineHeight extends ckeditor5['Plugin']{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class MultiLevelListCommand extends ckeditor5['Command']{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0xdcdf33,_0x55ef0c,_0x122f63){super(_0xdcdf33),this['defaultListMarkerStyle']=_0x55ef0c,this['_listDefinitions']=_0x122f63,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5a917e={}){const _0x4431af=this['editor']['model'],_0x45a2aa=_0x5a917e['listMarkerStyle']||this['defaultListMarkerStyle'];_0x4431af['change'](()=>{const _0x36ce26=this['_getListTypeFromListMarkerStyle'](_0x45a2aa);if(!_0x36ce26)return;const _0x187294=_0x36ce26+'List';this['editor']['execute'](_0x187294,{'additionalAttributes':{'listMarkerStyle':_0x45a2aa}});});}['_getValue'](){const _0xe9f8b8=ckeditor5['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0xe9f8b8)?_0xe9f8b8['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x3d8bf5=this['editor'],_0x106c84=_0x3d8bf5['commands']['get']('customNumberedList'),_0x7d730=_0x3d8bf5['commands']['get']('customBulletedList');return _0x106c84['isEnabled']||_0x7d730['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x491836){const _0x8c7306=this['_listDefinitions']['find'](_0x5018b7=>_0x5018b7['listMarkerStyle']==_0x491836);return _0x8c7306?_0x8c7306['listType']:null;}}class MultiLevelListEditing extends ckeditor5['Plugin']{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['ListEditing'];}constructor(_0x31b0a3){super(_0x31b0a3);const _0x12e5c6=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x237b87=>_0x237b87+'.'}]},..._0x12e5c6];}['init'](){const _0x2d4107=this['editor'],_0x4ab8ca=_0x2d4107['model'],_0x242a27=_0x2d4107['editing']['view'],_0x2e6720=_0x2d4107['plugins']['get']('ListEditing');_0x2d4107['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x2d4107,'legal',this['_listDefinitions'])),_0x4ab8ca['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x4ab8ca['schema']['addAttributeCheck']((_0x15b734,_0x54f9dc)=>{const _0x514d49=_0x15b734['last'];if('listMarker'==_0x54f9dc||'listMarkerStyle'==_0x54f9dc)return!(!_0x514d49['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x76e203=>_0x76e203['listType']==_0x514d49['getAttribute']('listType')))&&void 0x0;});for(const _0x2de8e1 of this['_listDefinitions'])_0x2d4107['conversion']['for']('upcast')['add'](_0x426433=>{_0x426433['on']('element:'+('customNumbered'==_0x2de8e1['listType']?'ol':'ul'),multiLevelListUpcastConverter(_0x2de8e1,_0x4ab8ca['schema']),{'priority':'low'});}),_0x2e6720['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x18d454,_0x33a89e,_0x5b1145){_0x33a89e==_0x2de8e1['listMarkerStyle']?(_0x18d454['addClass'](['multi-level-list',_0x2de8e1['className']],_0x5b1145),_0x18d454['setStyle']('list-style-type','none',_0x5b1145)):(_0x18d454['removeClass'](['multi-level-list',_0x2de8e1['className']],_0x5b1145),_0x18d454['removeStyle']('list-style-type',_0x5b1145));}}),_0x2e6720['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x32fb9e,_0x1b8184,{dataPipeline:_0x3f1e08}){if(!_0x1b8184['hasAttribute']('listMarker'))return null;if(_0x1b8184['getAttribute']('listType')!=_0x2de8e1['listType']||_0x1b8184['getAttribute']('listMarkerStyle')!=_0x2de8e1['listMarkerStyle'])return null;const _0x107a64=String(_0x1b8184['getAttribute']('listMarker')),_0x5975a1=this['canInjectMarkerIntoElement'](_0x1b8184);return _0x32fb9e['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x3f1e08&&{'contenteditable':'false','data-multi-level-list-marker':_0x107a64}},function(_0x371418){const _0x1763f5=this['toDomElement'](_0x371418);return _0x5975a1?(_0x1763f5['appendChild'](ckeditor5['createElement'](_0x371418,'span',{},_0x3f1e08?_0x371418['createTextNode'](_0x107a64):[])),_0x1763f5['appendChild'](_0x371418['createTextNode']('\u00a0'))):_0x3f1e08&&_0x1763f5['appendChild'](_0x371418['createTextNode'](_0x107a64)),_0x1763f5;});},'canInjectMarkerIntoElement':_0x20c8e8=>_0x4ab8ca['schema']['checkChild'](_0x20c8e8,'$text')&&_0x4ab8ca['schema']['checkChild'](_0x20c8e8,'$inlineObject')&&!_0x4ab8ca['schema']['isLimit'](_0x20c8e8)&&_0x20c8e8['getAttribute']('listType')==_0x2de8e1['listType']&&_0x20c8e8['getAttribute']('listMarkerStyle')==_0x2de8e1['listMarkerStyle']});_0x2d4107['conversion']['for']('upcast')['add'](_0x4acade=>{_0x4acade['on']('element:span',multiLevelListMarkerUpcastConverter(_0x242a27));}),_0x2e6720['on']('postFixer',(_0x486cd5,{listNodes:_0x26ce0d,writer:_0x3426b9})=>{const _0x52a05e=[];for(const {node:_0x3c2ceb,previousNodeInList:_0x406772}of _0x26ce0d){const _0x3fccfe=_0x3c2ceb['getAttribute']('listType'),_0x3945a9=_0x3c2ceb['getAttribute']('listMarkerStyle')||('customNumbered'==_0x3fccfe?'legal':void 0x0),_0x2b547c=this['_listDefinitions']['find'](_0x583e78=>_0x583e78['listType']==_0x3fccfe&&_0x583e78['listMarkerStyle']==_0x3945a9);if('customNumbered'!=_0x3fccfe&&'customBulleted'!=_0x3fccfe&&(_0x3c2ceb['hasAttribute']('listMarker')&&(_0x3426b9['removeAttribute']('listMarker',_0x3c2ceb),_0x486cd5['return']=!0x0),_0x3c2ceb['hasAttribute']('listMarkerStyle')&&(_0x3426b9['removeAttribute']('listMarkerStyle',_0x3c2ceb),_0x486cd5['return']=!0x0)),!_0x2b547c){'customBulleted'!=_0x3fccfe||_0x3945a9||(_0x3426b9['setAttribute']('listType','bulleted',_0x3c2ceb),_0x486cd5['return']=!0x0);continue;}_0x3c2ceb['hasAttribute']('listMarkerStyle')||(_0x3426b9['setAttribute']('listMarkerStyle',_0x3945a9,_0x3c2ceb),_0x486cd5['return']=!0x0);const _0x40f39=_0x3c2ceb['getAttribute']('listIndent');if(_0x406772&&_0x406772['getAttribute']('listItemId')==_0x3c2ceb['getAttribute']('listItemId'))continue;_0x52a05e['length']=_0x40f39+0x1,_0x406772||_0x52a05e[_0x40f39]?_0x406772&&_0x406772['getAttribute']('listType')!=_0x2b547c['listType']?_0x52a05e[_0x40f39]=0x1:_0x52a05e[_0x40f39]++:_0x52a05e[_0x40f39]=_0x3c2ceb['getAttribute']('listStart')||0x1;const _0x984c95=generateMarker(_0x40f39,_0x2b547c,_0x52a05e);_0x3c2ceb['getAttribute']('listMarker')!=_0x984c95&&(_0x3426b9['setAttribute']('listMarker',_0x984c95,_0x3c2ceb),_0x486cd5['return']=!0x0);}});const _0x3fa798=_0x2d4107['editing']['view']['document'];this['listenTo'](_0x3fa798,'clipboardOutput',(_0x293561,_0x413d7b)=>{const _0x24de46=new ckeditor5['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x3a61eb=new ckeditor5['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x252265=new ckeditor5['ViewUpcastWriter'](_0x413d7b['content']['document']),_0x122f9d=[];for(const _0x545fbc of _0x252265['createRangeIn'](_0x413d7b['content'])['getItems']())_0x545fbc['is']('element')&&_0x24de46['match'](_0x545fbc)&&_0x122f9d['push'](_0x545fbc),_0x545fbc['is']('element')&&_0x3a61eb['match'](_0x545fbc)&&_0x252265['removeStyle']('list-style-type',_0x545fbc);for(const _0x305f95 of _0x122f9d)_0x252265['remove'](_0x305f95);});}['afterInit'](){_0x15f7e2(this);}}function generateMarker(_0x145e30,_0x2e97a1,_0x409670){let _0x3f79bf=_0x2e97a1['listMarkers'][_0x145e30%_0x2e97a1['listMarkers']['length']];if(void 0x0===_0x3f79bf['showMarkerPath']||_0x3f79bf['showMarkerPath'])return _0x409670['slice'](0x0,_0x145e30+0x1)['map']((_0x3550cb,_0x25bde8)=>(_0x3f79bf=_0x2e97a1['listMarkers'][_0x25bde8%_0x2e97a1['listMarkers']['length']],getMarkerString(_0x3f79bf['marker'],_0x3550cb)))['join']('');{const _0x246b51=_0x409670[_0x409670['length']-0x1];return getMarkerString(_0x3f79bf['marker'],_0x246b51);}}function getMarkerString(_0x2e3643,_0x47ceaa){return'function'==typeof _0x2e3643?_0x2e3643(_0x47ceaa):_0x2e3643;}function multiLevelListUpcastConverter(_0x37de2d,_0x61d17f){return(_0x552388,_0x303e94,_0x5ab9fc)=>{const _0x2b4c33=_0x303e94['viewItem'];if(_0x303e94['modelRange']||Object['assign'](_0x303e94,_0x5ab9fc['convertChildren'](_0x303e94['viewItem'],_0x303e94['modelCursor'])),!_0x5ab9fc['consumable']['test'](_0x2b4c33,{'classes':_0x37de2d['className']}))return;const _0x3d779c=Array['from'](_0x303e94['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x143dbf=>_0x61d17f['checkAttribute'](_0x143dbf,'listItemId'));if(!_0x3d779c['length'])return;_0x5ab9fc['consumable']['consume'](_0x2b4c33,{'classes':_0x37de2d['className']}),_0x5ab9fc['consumable']['consume'](_0x2b4c33,{'classes':'multi-level-list'}),_0x5ab9fc['consumable']['consume'](_0x2b4c33,{'styles':'list-style-type'});const _0x2b22d4=_0x3d779c[0x0]['getAttribute']('listIndent');for(const _0x44c7c5 of _0x3d779c)_0x44c7c5['getAttribute']('listIndent')==_0x2b22d4&&(_0x5ab9fc['writer']['setAttribute']('listType',_0x37de2d['listType'],_0x44c7c5),_0x5ab9fc['writer']['setAttribute']('listMarkerStyle',_0x37de2d['listMarkerStyle'],_0x44c7c5));};}function multiLevelListMarkerUpcastConverter(_0x3a6ad0){return(_0x55d7e5,_0x5af71e,{writer:_0x40c370,consumable:_0x22feaa})=>{const _0x5e77ab=_0x5af71e['modelCursor'],_0x29445f=_0x5e77ab['parent'],_0x7116b4=_0x5af71e['viewItem'];if(_0x22feaa['consume'](_0x7116b4,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x5e77ab['isAtStart']&&_0x29445f['hasAttribute']('listType')&&_0x7116b4['childCount']>0x0){const _0x48a186=_0x3a6ad0['createRangeIn'](_0x7116b4);let _0x5b4071='';for(const _0x210ae7 of _0x48a186['getItems']())_0x210ae7['is']('$textProxy')?(_0x5b4071+=_0x210ae7['data']['trim'](),_0x22feaa['consume'](_0x210ae7['textNode'])):_0x22feaa['consume'](_0x210ae7,{'name':!0x0});_0x40c370['setAttribute']('listMarker',_0x5b4071['trim'](),_0x29445f);}};}async function _0x15f7e2(_0x2b6867){const _0xb84515=_0x27ae7f([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x200b0e=window[_0x27ae7f([0x44,0x61,0x74,0x65])][_0x27ae7f([0x6e,0x6f,0x77])](),_0x1340a6=_0x2b6867[_0x27ae7f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ac8de=new window[(_0x27ae7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50a13c=>{_0x1340a6[_0x27ae7f([0x6f,0x6e,0x63,0x65])](_0x27ae7f([0x72,0x65,0x61,0x64,0x79]),_0x50a13c);}),_0x3a93bb={[_0x27ae7f([0x6b,0x74,0x79])]:_0x27ae7f([0x45,0x43]),[_0x27ae7f([0x75,0x73,0x65])]:_0x27ae7f([0x73,0x69,0x67]),[_0x27ae7f([0x63,0x72,0x76])]:_0x27ae7f([0x50,0x2d,0x32,0x35,0x36]),[_0x27ae7f([0x78])]:_0x27ae7f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x27ae7f([0x79])]:_0x27ae7f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x27ae7f([0x61,0x6c,0x67])]:_0x27ae7f([0x45,0x53,0x32,0x35,0x36])},_0x3d5e08=_0x1340a6[_0x27ae7f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27ae7f([0x67,0x65,0x74])](_0x27ae7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x217d88=await(async function(){let _0x46825d,_0x18c289=null,_0x2576d0=null;try{if(_0x3d5e08==_0x27ae7f([0x47,0x50,0x4c]))return _0x27ae7f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46825d=(function(){const _0x5cf40f=_0x3d5e08[_0x27ae7f([0x73,0x70,0x6c,0x69,0x74])](_0x27ae7f([0x2e]));if(0x3!=_0x5cf40f[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x273311=_0x5cf40f[0x1];return _0x1a74fd(_0x273311);function _0x1a74fd(_0x621892){const _0x56bdc4=_0x27f2fe(_0x621892);return _0x56bdc4&&_0x232e58()?_0x56bdc4:null;function _0x232e58(){const _0x287669=_0x56bdc4[_0x27ae7f([0x6a,0x74,0x69])],_0x4d5447=window[_0x27ae7f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x287669[_0x27ae7f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x287669[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37714a={..._0x56bdc4,[_0x27ae7f([0x6a,0x74,0x69])]:_0x287669[_0x27ae7f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x287669[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37714a[_0x27ae7f([0x76,0x63])],_0x52b013(_0x37714a)==_0x4d5447;}}}()),!_0x46825d)return _0x27ae7f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x46825d[_0x27ae7f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2576d0=function(_0x49f3fb,_0x5c3bec){return new window[(_0x27ae7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17b1b5=>{if(_0x2e2ef4())return _0x17b1b5(_0x27ae7f([0x56,0x61,0x6c,0x69,0x64]));_0x4ea0c3(),_0x1340a6[_0x27ae7f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27ae7f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17d11a=!0x1;const _0x27a939=ckeditor5['uid']();function _0x3f1fcf(_0x2ccd00){return!!_0x2ccd00&&(typeof _0x2ccd00===_0x27ae7f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ccd00===_0x27ae7f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ccd00[_0x27ae7f([0x74,0x68,0x65,0x6e])]===_0x27ae7f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ccd00[_0x27ae7f([0x63,0x61,0x74,0x63,0x68])]===_0x27ae7f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c4068(_0x111ee0){_0x379842(_0x111ee0)[_0x27ae7f([0x74,0x68,0x65,0x6e])](_0x5cc3a3=>{if(!_0x5cc3a3||_0x5cc3a3[_0x27ae7f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27ae7f([0x6f,0x6b]))return _0x27ae7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45fa3f(_0x52b013(_0x27a939+_0x5c3bec))!=_0x5cc3a3[_0x27ae7f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27ae7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27ae7f([0x56,0x61,0x6c,0x69,0x64]);})[_0x27ae7f([0x74,0x68,0x65,0x6e])](_0x204002=>(_0x37c3f7(),_0x204002),()=>{const _0x2f2d6b=_0x372bc4();return null==_0x2f2d6b?(_0x37c3f7(),_0x27ae7f([0x56,0x61,0x6c,0x69,0x64])):_0x27ae7f(_0x200b0e-_0x2f2d6b>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27ae7f([0x74,0x68,0x65,0x6e])](_0x17b1b5)[_0x27ae7f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17b1b5(_0x27ae7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44e861=0x36ee80;function _0x37c3f7(){const _0x5f355f=_0x27ae7f([0x6c,0x6c,0x63,0x74,0x2d])+_0x45fa3f(_0x52b013(_0x49f3fb)),_0x930d3f=_0xdd4e5f(_0x45fa3f(window[_0x27ae7f([0x4d,0x61,0x74,0x68])][_0x27ae7f([0x63,0x65,0x69,0x6c])](_0x200b0e/_0x44e861)));window[_0x27ae7f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27ae7f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f355f,_0x930d3f);}function _0x372bc4(){const _0x368db7=_0x27ae7f([0x6c,0x6c,0x63,0x74,0x2d])+_0x45fa3f(_0x52b013(_0x49f3fb)),_0x2ec013=window[_0x27ae7f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27ae7f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x368db7);return _0x2ec013?window[_0x27ae7f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdd4e5f(_0x2ec013),0x10)*_0x44e861:null;}function _0x379842(_0x2fd3d4){return new window[(_0x27ae7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59ddab,_0x19c746)=>{_0x2fd3d4[_0x27ae7f([0x74,0x68,0x65,0x6e])](_0x59ddab,_0x19c746),window[_0x27ae7f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19c746,0x1d4c0);});}}_0x1340a6[_0x27ae7f([0x6f,0x6e])](_0x27ae7f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2cac97,_0x456499)=>{if(_0x456499[0x0]!=_0x49f3fb)return _0x17b1b5(_0x27ae7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x456499[0x1]={..._0x456499[0x1],[_0x27ae7f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27a939};},{[_0x27ae7f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27ae7f([0x68,0x69,0x67,0x68])}),_0x1340a6[_0x27ae7f([0x6f,0x6e])](_0x27ae7f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5daa4f=>{_0x3f1fcf(_0x5daa4f[_0x27ae7f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17d11a=!0x0,_0x3c4068(_0x5daa4f[_0x27ae7f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27ae7f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27ae7f([0x6c,0x6f,0x77])}),_0x3ac8de[_0x27ae7f([0x74,0x68,0x65,0x6e])](()=>{_0x17d11a||_0x17b1b5(_0x27ae7f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e2ef4(){return _0x1340a6[_0x27ae7f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27ae7f([0x76,0x69,0x65,0x77])][_0x27ae7f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27ae7f([0x61,0x75,0x74,0x6f]);}function _0x4ea0c3(){_0x1340a6[_0x27ae7f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27ae7f([0x76,0x69,0x65,0x77])][_0x27ae7f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27ae7f([0x61,0x75,0x74,0x6f]);}}(_0x46825d[_0x27ae7f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46825d[_0x27ae7f([0x6a,0x74,0x69])]));const _0x1bf943=await(async function(){let _0x24d653=!0x0;try{const _0x15ff66=_0x3d5e08[_0x27ae7f([0x73,0x70,0x6c,0x69,0x74])](_0x27ae7f([0x2e])),[_0x402163,_0xe3a268,_0x1a7b2c]=_0x15ff66;return _0x382426(_0x402163),await _0x3c977a(_0x402163,_0xe3a268,_0x1a7b2c),_0x24d653;}catch{return!0x1;}function _0x382426(_0x18a8bc){const _0xab0960=_0x27f2fe(_0x18a8bc);_0xab0960&&_0xab0960[_0x27ae7f([0x61,0x6c,0x67])]==_0x27ae7f([0x45,0x53,0x32,0x35,0x36])||(_0x24d653=!0x1);}async function _0x3c977a(_0x2a81b7,_0xeb2a50,_0x49329b){const _0x4d0825=window[_0x27ae7f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27ae7f([0x66,0x72,0x6f,0x6d])](_0x64e87e(_0x49329b),_0x4f4c94=>_0x4f4c94[_0x27ae7f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c06ce=new window[(_0x27ae7f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27ae7f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a81b7+_0x27ae7f([0x2e])+_0xeb2a50),_0x290d0d=window[_0x27ae7f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27ae7f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x290d0d)return;const _0x46a502=await _0x290d0d[_0x27ae7f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27ae7f([0x6a,0x77,0x6b]),_0x3a93bb,{[_0x27ae7f([0x6e,0x61,0x6d,0x65])]:_0x27ae7f([0x45,0x43,0x44,0x53,0x41]),[_0x27ae7f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27ae7f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27ae7f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x290d0d[_0x27ae7f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27ae7f([0x6e,0x61,0x6d,0x65])]:_0x27ae7f([0x45,0x43,0x44,0x53,0x41]),[_0x27ae7f([0x68,0x61,0x73,0x68])]:{[_0x27ae7f([0x6e,0x61,0x6d,0x65])]:_0x27ae7f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46a502,_0x4d0825,_0x3c06ce)||(_0x24d653=!0x1);}}());return _0x1bf943?(function(){const _0x57596a=_0x46825d[_0x27ae7f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x57596a)return!0x1;if(_0x57596a[_0x27ae7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27ae7f([0x2a])))return!0x0;if(_0x57596a[_0x27ae7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27ae7f([0x4d,0x4c,0x4c])))return!0x0;return!0x1;}())?(function(){const _0x31f0ee=[_0x27ae7f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27ae7f([0x74,0x72,0x69,0x61,0x6c])][_0x27ae7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46825d[_0x27ae7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x200b0e/0x3e8:0x69b0b080;return _0x46825d[_0x27ae7f([0x65,0x78,0x70])]<_0x31f0ee;}())?_0x27ae7f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x468236=_0x46825d[_0x27ae7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x468236||0x0==_0x468236[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a6f1c}=new URL(window[_0x27ae7f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x468236[_0x27ae7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a6f1c))return!0x0;const _0x5a0f5b=_0x5a6f1c[_0x27ae7f([0x73,0x70,0x6c,0x69,0x74])](_0x27ae7f([0x2e]));return _0x468236[_0x27ae7f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c1a54=>_0x2c1a54[_0x27ae7f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27ae7f([0x2a])))[_0x27ae7f([0x6d,0x61,0x70])](_0x517bb6=>_0x517bb6[_0x27ae7f([0x73,0x70,0x6c,0x69,0x74])](_0x27ae7f([0x2e])))[_0x27ae7f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44f3c3=>_0x44f3c3[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a0f5b[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27ae7f([0x6d,0x61,0x70])](_0x4f10ef=>Array(_0x5a0f5b[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f10ef[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27ae7f([0x66,0x69,0x6c,0x6c])](_0x4f10ef[0x0]===_0x27ae7f([0x2a])?_0x27ae7f([0x2a]):'')[_0x27ae7f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f10ef))[_0x27ae7f([0x73,0x6f,0x6d,0x65])](_0xe27acf=>_0x5a0f5b[_0x27ae7f([0x65,0x76,0x65,0x72,0x79])]((_0x2bbf92,_0x110f57)=>_0xe27acf[_0x110f57]===_0x2bbf92||_0xe27acf[_0x110f57]===_0x27ae7f([0x2a])));}())?(_0x46825d[_0x27ae7f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27ae7f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18c289=function(_0x332e7b){const _0x1322c6=new window[(_0x27ae7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b9c3e=>setTimeout(_0x2b9c3e,0x93ecc)),_0x4c468c=_0x3ac8de[_0x27ae7f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27ae7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x162a6d=>{let _0x47e687=0x0;_0x1340a6[_0x27ae7f([0x6d,0x6f,0x64,0x65,0x6c])][_0x27ae7f([0x6f,0x6e])](_0x27ae7f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x457e51,_0x262ad1)=>{_0x262ad1[0x0][_0x27ae7f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47e687++,0x5e8==_0x47e687&&(_0x162a6d(),_0x457e51[_0x27ae7f([0x6f,0x66,0x66])]());});})),_0x55065d=[_0x1322c6,_0x4c468c];return window[_0x27ae7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27ae7f([0x72,0x61,0x63,0x65])](_0x55065d)[_0x27ae7f([0x74,0x68,0x65,0x6e])](()=>_0x332e7b);}(_0x27ae7f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x18c289&&_0x2576d0)return new window[(_0x27ae7f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x902887,_0x2ca343)=>{_0x18c289[_0x27ae7f([0x74,0x68,0x65,0x6e])](_0x902887,_0x2ca343),_0x2576d0[_0x27ae7f([0x74,0x68,0x65,0x6e])](_0x7b5c3a=>{_0x7b5c3a!=_0x27ae7f([0x56,0x61,0x6c,0x69,0x64])&&_0x902887(_0x7b5c3a);},_0x2ca343);});return _0x18c289||_0x2576d0||_0x27ae7f([0x56,0x61,0x6c,0x69,0x64]);}())):_0x27ae7f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27ae7f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27ae7f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27ae7f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x27f2fe(_0x27cbdc){return _0x27cbdc[_0x27ae7f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27ae7f([0x65,0x79]))?JSON[_0x27ae7f([0x70,0x61,0x72,0x73,0x65])](_0x64e87e(_0x27cbdc)):null;}function _0x64e87e(_0x37f83e){return window[_0x27ae7f([0x61,0x74,0x6f,0x62])](_0x37f83e[_0x27ae7f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27ae7f([0x2b]))[_0x27ae7f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27ae7f([0x2f])));}function _0x52b013(_0x284050){let _0x154665=0x1505;function _0xa2d15e(_0x395d33){for(let _0x2e7217=0x0;_0x2e7217<_0x395d33[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e7217++){const _0x29b8e1=_0x395d33[_0x27ae7f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e7217);_0x154665=(_0x154665<<0x5)+_0x154665+_0x29b8e1,_0x154665&=_0x154665;}}return function _0xb63172(_0x32acf6){Array[_0x27ae7f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32acf6)?_0x32acf6[_0x27ae7f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb63172):_0x32acf6&&typeof _0x32acf6==_0x27ae7f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27ae7f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32acf6)[_0x27ae7f([0x73,0x6f,0x72,0x74])]()[_0x27ae7f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39b2c6,_0x3bcb79])=>{_0xa2d15e(_0x39b2c6),_0xb63172(_0x3bcb79);}):_0xa2d15e(window[_0x27ae7f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32acf6));}(_0x284050),_0x154665>>>0x0;}function _0x45fa3f(_0x469d71){return _0x469d71[_0x27ae7f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27ae7f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27ae7f([0x30]));}function _0xdd4e5f(_0x774788){return _0x774788[_0x27ae7f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27ae7f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27ae7f([0x6a,0x6f,0x69,0x6e])]('');}function _0x34ce88(){}function _0x27ae7f(_0x26f6d2){return _0x26f6d2['map'](_0x16d2b3=>String['fromCharCode'](_0x16d2b3))['join']('');}!function(_0xad5c60){const _0x1a7071=(function(){const _0x55feac=window[_0x27ae7f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27ae7f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27ae7f([0x6e,0x6f,0x77])]())[_0x27ae7f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27ae7f([0x2e]),'');let _0x54e7ce=_0x27ae7f([0x75]);for(let _0x3f43c7=0x0;_0x3f43c7<_0x55feac[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f43c7+=0x2){let _0x449873=window[_0x27ae7f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55feac[_0x27ae7f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f43c7,_0x3f43c7+0x2));_0x449873>=_0xb84515[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x449873-=_0xb84515[_0x27ae7f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54e7ce+=_0xb84515[_0x449873];}return _0x54e7ce;}());_0x1340a6[_0x1a7071]=_0x27ae7f([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xad5c60,_0xad5c60!=_0x27ae7f([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3ac8de,_0x1340a6[_0x27ae7f([0x6d,0x6f,0x64,0x65,0x6c])][_0x27ae7f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34ce88,_0x1340a6[_0x27ae7f([0x6d,0x6f,0x64,0x65,0x6c])][_0x27ae7f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34ce88,_0x1340a6[_0x27ae7f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27ae7f([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x217d88);}function getTranslation$9(_0x2df9f7,_0x235ef8){const _0x2f0a02=_0x2df9f7['t'],t=_0x2df9f7['t'];switch(_0x235ef8){case'Start\x20at':return _0x2f0a02('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x2f0a02('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x2f0a02('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x2f0a02('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 _0x235ef8;}}class MultiLevelListView extends ckeditor5['View']{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new ckeditor5['FocusTracker']();['keystrokes']=new ckeditor5['KeystrokeHandler']();['focusables']=new ckeditor5['ViewCollection']();['focusCycler'];constructor(_0x12c9e9,{enabledProperties:_0x1fe5d3,styleButtonViews:_0x41d82c,styleGridAriaLabel:_0x50a22f}){super(_0x12c9e9);const _0x5c239c=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x1fe5d3['styles']?(this['stylesView']=this['_createStylesView'](_0x41d82c,_0x50a22f),this['children']['add'](this['stylesView'])):_0x5c239c['push']('ck-multi-level-list-properties_without-styles'),_0x1fe5d3['startIndex']&&(this['_addListPropertyViews'](_0x1fe5d3),_0x5c239c['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x5c239c},'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 _0x26d661 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x26d661['element']);ckeditor5['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ckeditor5['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 _0x34534e=_0x17257d=>_0x17257d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x34534e),this['keystrokes']['set']('arrowleft',_0x34534e),this['keystrokes']['set']('arrowup',_0x34534e),this['keystrokes']['set']('arrowdown',_0x34534e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x4c3e64,_0x234f2b){const _0x29e9b5=new ckeditor5['View'](this['locale']);return _0x29e9b5['children']=_0x29e9b5['createCollection'](),_0x29e9b5['children']['addMany'](_0x4c3e64),_0x29e9b5['setTemplate']({'tag':'div','attributes':{'aria-label':_0x234f2b,'class':['ck','ck-multi-level-list-styles']},'children':_0x29e9b5['children']}),_0x29e9b5['children']['delegate']('execute')['to'](this),_0x29e9b5['focus']=function(){this['children']['first']['focus']();},_0x29e9b5['focusTracker']=new ckeditor5['FocusTracker'](),_0x29e9b5['keystrokes']=new ckeditor5['KeystrokeHandler'](),_0x29e9b5['render'](),_0x29e9b5['keystrokes']['listenTo'](_0x29e9b5['element']),_0x29e9b5;}['_addListPropertyViews'](_0x4bec06){const _0xe812f2=[];_0x4bec06['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0xe812f2['push'](this['startIndexFieldView'])),_0x4bec06['styles']?(this['additionalPropertiesCollapsibleView']=new ckeditor5['CollapsibleView'](this['locale'],_0xe812f2),this['additionalPropertiesCollapsibleView']['set']({'label':getTranslation$9(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0xe812f2,'isEnabled',(..._0x4ea277)=>_0x4ea277['some'](_0xf3f83b=>_0xf3f83b)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x4b8eb2,_0x272287,_0x332e04)=>{_0x332e04||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0xe812f2);}['_createStartIndexField'](){const _0x19207d=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputNumber']);return _0x19207d['set']({'label':getTranslation$9(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x19207d['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x19207d['fieldView']['on']('input',()=>{const _0x49cbbc=_0x19207d['fieldView']['element'],_0x56897d=_0x49cbbc['valueAsNumber'];Number['isNaN'](_0x56897d)?_0x19207d['errorText']=getTranslation$9(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x49cbbc['checkValidity']()?this['fire']('listStart',{'startIndex':_0x56897d}):_0x19207d['errorText']=getTranslation$9(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x19207d;}}class MultiLevelListUI extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5069ea=this['editor'];_0x5069ea['ui']['componentFactory']['add']('multiLevelList',getViewCreator({'editor':_0x5069ea,'parentCommandName':'multiLevelList','buttonLabel':getTranslation$9(_0x5069ea['locale'],'Multi-level\x20List'),'buttonIcon':ckeditor5['IconMultiLevelList'],'styleGridAriaLabel':getTranslation$9(_0x5069ea['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x5069ea['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x903773=_0x5069ea['commands']['get']('multiLevelList'),_0x7f0f5a=new ckeditor5['MenuBarMenuListItemButtonView'](_0x5069ea['locale']);return _0x7f0f5a['set']({'label':getTranslation$9(_0x5069ea['locale'],'Multi-level\x20List'),'icon':ckeditor5['IconMultiLevelList']}),_0x7f0f5a['bind']('isEnabled')['to'](_0x903773),_0x7f0f5a['bind']('isOn')['to'](_0x903773,'value',_0x39dc0c=>!!_0x39dc0c),_0x7f0f5a['on']('execute',()=>{_0x5069ea['execute']('multiLevelList'),_0x5069ea['editing']['view']['focus']();}),_0x7f0f5a;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x54cce4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc242b7;for(const _0x5b4256 in _0x54cce4){const _0x3f03a3=_0x5b4256,_0x2690ae=_0x54cce4[_0x3f03a3];if('multiLevelListLicenseKeyValid'==_0x2690ae||'multiLevelListLicenseKeyInvalid'==_0x2690ae||'multiLevelListLicenseKeyExpired'==_0x2690ae||'multiLevelListLicenseKeyDomainLimit'==_0x2690ae||'multiLevelListLicenseKeyNotAllowed'==_0x2690ae||'multiLevelListLicenseKeyEvaluationLimit'==_0x2690ae||'multiLevelListLicenseKeyUsageLimit'==_0x2690ae){delete _0x54cce4[_0x3f03a3],_0xc242b7=_0x2690ae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0xc242b7&&_0x54cce4['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0xc242b7&&_0x54cce4['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0xc242b7&&_0x54cce4['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0xc242b7&&_0x54cce4['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0xc242b7&&_0x54cce4['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0xc242b7&&_0x54cce4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function getViewCreator({editor:_0x459f49,parentCommandName:_0x13edf3,buttonLabel:_0x4cafac,buttonIcon:_0x376c28,styleGridAriaLabel:_0x2562b7,styleDefinitions:_0x5a33cc}){const _0x1d2ee6=_0x459f49['commands']['get'](_0x13edf3),_0x5e7361=_0x459f49['config']['get']('list.properties')||{},_0x4b6f52=_0x459f49['plugins']['has']('ListProperties'),_0x45344a=_0x5e7361['startIndex'];return _0x4b6f52&&_0x45344a?_0x19c16d=>{const _0x460b70=ckeditor5['createDropdown'](_0x19c16d,ckeditor5['SplitButtonView']),_0x5bcb5a=_0x460b70['buttonView'];return _0x460b70['bind']('isEnabled')['to'](_0x1d2ee6),_0x460b70['class']='ck-list-styles-dropdown',_0x5bcb5a['on']('execute',()=>{_0x459f49['execute'](_0x13edf3),_0x459f49['editing']['view']['focus']();}),_0x5bcb5a['set']({'label':_0x4cafac,'icon':_0x376c28,'tooltip':!0x0,'isToggleable':!0x0}),_0x5bcb5a['bind']('isOn')['to'](_0x1d2ee6,'value',_0x4fcf08=>!!_0x4fcf08),_0x460b70['once']('change:isOpen',()=>{const _0x3957ef=createListPropertiesView({'editor':_0x459f49,'dropdownView':_0x460b70,'styleGridAriaLabel':_0x2562b7,'styleDefinitions':_0x5a33cc});_0x460b70['panelView']['children']['add'](_0x3957ef);}),_0x460b70['on']('execute',()=>{_0x459f49['editing']['view']['focus']();}),_0x460b70;}:_0x55fa3e=>{const _0x18116e=new ckeditor5['ButtonView'](_0x55fa3e);return _0x18116e['set']({'label':_0x4cafac,'icon':_0x376c28,'tooltip':!0x0,'isToggleable':!0x0}),_0x18116e['bind']('isOn')['to'](_0x1d2ee6,'value',_0x5bf99c=>!!_0x5bf99c),_0x18116e['on']('execute',()=>{_0x459f49['execute'](_0x13edf3),_0x459f49['editing']['view']['focus']();}),_0x18116e;};}function createListPropertiesView({editor:_0x391bb6,dropdownView:_0x5c8330,styleDefinitions:_0x9118db,styleGridAriaLabel:_0x2ec61d}){const _0x597435=_0x391bb6['locale'],_0x405128=_0x391bb6['config']['get']('list.properties');_0x405128['reversed']=!0x1,_0x9118db['length']||(_0x405128['styles']=!0x1);const _0x1cca1e=new MultiLevelListView(_0x597435,{'styleGridAriaLabel':_0x2ec61d,'enabledProperties':_0x405128,'styleButtonViews':null});if(_0x405128['startIndex']){const _0x5ed3ac=_0x391bb6['commands']['get']('listStart');_0x1cca1e['startIndexFieldView']['bind']('isEnabled')['to'](_0x5ed3ac),_0x1cca1e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5ed3ac),_0x1cca1e['on']('listStart',(_0x43c923,_0x5c6c25)=>_0x391bb6['execute']('listStart',_0x5c6c25));}return _0x1cca1e['delegate']('execute')['to'](_0x5c8330),_0x1cca1e;}class MultiLevelList extends ckeditor5['Plugin']{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}class InsertMergeFieldCommand extends ckeditor5['Command']{['refresh'](){const _0x10f402=this['editor']['model'],_0x378158=_0x10f402['schema']['checkChild'](_0x10f402['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x378158;}['execute'](_0x18f281){if(!_0x18f281||'string'!=typeof _0x18f281)return;const _0x2eb2b9=this['editor']['model'];_0x2eb2b9['change'](_0x938246=>{_0x2eb2b9['deleteContent'](_0x2eb2b9['document']['selection']);const _0x203b66=_0x938246['createElement']('mergeField',{'id':_0x18f281});for(const [_0x4c4a28,_0x5e8bbb]of _0x2eb2b9['document']['selection']['getAttributes']())_0x2eb2b9['schema']['checkAttribute'](_0x203b66,_0x4c4a28)&&_0x938246['setAttribute'](_0x4c4a28,_0x5e8bbb,_0x203b66);_0x2eb2b9['insertContent'](_0x203b66,_0x2eb2b9['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends ckeditor5['Command']{['refresh'](){const _0x2f866d=this['editor']['model'],_0x343ec7=_0x2f866d['document']['selection'];this['isEnabled']=isAllowedInParent(_0x343ec7,_0x2f866d);}['execute'](_0x48e4ad,_0x2e21a2){if(!_0x48e4ad||'string'!=typeof _0x48e4ad)return;const _0xee11ad=this['editor']['model'];_0xee11ad['change'](_0x30a231=>{const _0x25df4e=_0x30a231['createElement']('mergeFieldBlock',{'id':_0x48e4ad});_0xee11ad['insertObject'](_0x25df4e,_0xee11ad['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x2e21a2?void 0x0:'auto'});});}}function isAllowedInParent(_0x5c109d,_0x52a53a){let _0x3ae452=ckeditor5['findOptimalInsertionRange'](_0x5c109d,_0x52a53a)['start']['parent'];return _0x3ae452['isEmpty']&&!_0x52a53a['schema']['isLimit'](_0x3ae452)&&(_0x3ae452=_0x3ae452['parent']),_0x52a53a['schema']['checkChild'](_0x3ae452,'mergeFieldBlock');}class InsertMergeFieldImageCommand extends ckeditor5['Command']{constructor(_0x3ab9f4){super(_0x3ab9f4),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x18bdb3,_0x3997cb){if(!_0x18bdb3||'string'!=typeof _0x18bdb3)return;const _0x39d298=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x57472a=_0x39d298['getMergeFieldWidth'](_0x18bdb3),_0x5768a2=_0x39d298['getMergeFieldHeight'](_0x18bdb3);this['editor']['execute']('insertImage',{'source':{'src':_0x39d298['wrapInAffixes'](_0x18bdb3),'width':_0x57472a,'height':_0x5768a2},'breakBlock':_0x3997cb&&_0x3997cb['breakBlock']});}}class _0x4fb9a2 extends ckeditor5['Command']{constructor(_0xda5e78){super(_0xda5e78);const _0x527333=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x527333,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x593f88){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x593f88;}}const _0xfbe2b8=0x78,_0x51616e=0x190,_0x5deb51=0x190,_0x4318e4=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends ckeditor5['Plugin']{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return['ImageUtils','ImageEditing'];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f19f6){super(_0x1f19f6),_0x1f19f6['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x1f19f6['config']['define']('mergeFields.dataSets',[]),_0x1f19f6['config']['define']('mergeFields.definitions',[]),_0x1f19f6['config']['define']('mergeFields.prefix','{{'),_0x1f19f6['config']['define']('mergeFields.suffix','}}'),_0x1f19f6['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x1f19f6['config']['define']('mergeFields.sanitizeHtml',_0x44ac5c=>(ckeditor5['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x44ac5c,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x1f19f6['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x1f19f6['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x1f19f6['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x4399a5='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0xbb52='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x4399a5+'[^'+(_0x4399a5+_0xbb52)+'\x20]+'+_0xbb52+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x2afa23=_0x1f19f6['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x2afa23),this['set']('previewMode',_0x2afa23),this['_mergeFieldElements']=new Set();}['init'](){const _0x5bbaf1=this['editor'];_0x5bbaf1['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x5bbaf1)),_0x5bbaf1['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x5bbaf1)),_0x5bbaf1['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x5bbaf1)),_0x5bbaf1['commands']['add']('previewMergeFields',new _0x4fb9a2(_0x5bbaf1)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x25d362,_0x117958,_0x4963fc)=>{this['_validatePreviewMode'](_0x4963fc),this['refreshMergeFields']();}),this['listenTo'](_0x5bbaf1['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x5bbaf1['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x5bbaf1['model'],_0x2dca84=>_0x2dca84['hasClass']('ck-merge-field'))),_0x5bbaf1['editing']['mapper']['on']('viewToModelPosition',ckeditor5['viewToModelPositionOutsideModelElement'](_0x5bbaf1['model'],_0x52fa23=>_0x52fa23['hasClass']('ck-merge-field-block'))),_0x5bbaf1['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),_0x3d4372(this);}['isMergeField'](_0x2a71ee){return'mergeField'===_0x2a71ee['name']||'mergeFieldBlock'===_0x2a71ee['name']||!!('imageBlock'===_0x2a71ee['name']||'imageInline'===_0x2a71ee['name']&&_0x2a71ee['getAttribute']('src'))&&!!_0x2a71ee['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x4d3a35={},_0x23b3e3=this['getMergeFieldsIds']();for(const _0x2f94f1 of _0x23b3e3)_0x4d3a35[_0x2f94f1]=this['getMergeFieldDefaultValue'](_0x2f94f1);return _0x4d3a35;}['getDataSetValues'](_0x3be995,_0x11c855=!0x1){const _0x5d9602={},_0x4c94b7=this['getMergeFieldsIds']();for(const _0x21e0ad of _0x4c94b7){let _0x47d1a1=this['getMergeFieldValue'](_0x21e0ad,_0x3be995);null===_0x47d1a1&&_0x11c855&&(_0x47d1a1=this['getMergeFieldDefaultValue'](_0x21e0ad)),_0x5d9602[_0x21e0ad]=_0x47d1a1;}return _0x5d9602;}['getLabel'](_0x58cf58){const _0xb08755=this['getDefinition'](_0x58cf58);return _0xb08755&&_0xb08755['label']?_0xb08755['label']:null;}['getMergeFieldDefaultValue'](_0x270c0c){const _0x462bde=this['getDefinition'](_0x270c0c);if(!_0x462bde||void 0x0===_0x462bde['defaultValue'])return null;const _0x34032e='function'==typeof _0x462bde['defaultValue']?_0x462bde['defaultValue'](this['editor']):_0x462bde['defaultValue'];return String(_0x34032e);}['getMergeFieldValue'](_0x5b5f44,_0x3bbc32){const _0x4a2942=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x489a54=>_0x489a54['id']===_0x3bbc32);if(!_0x4a2942)throw new ckeditor5['CKEditorError']('merge-fields-data-set-not-found',null);const _0x39a29b=_0x4a2942['values'][_0x5b5f44];if(void 0x0===_0x39a29b)return null;const _0x34829b='function'==typeof _0x39a29b?_0x39a29b(this['editor']):_0x39a29b;return String(_0x34829b);}['getMergeFieldType'](_0x144b19){if('string'!=typeof _0x144b19){const _0x518d0d=_0x144b19;return'mergeField'===_0x518d0d['name']?'text':'mergeFieldBlock'===_0x518d0d['name']?'block':'imageBlock'!==_0x518d0d['name']&&'imageInline'!==_0x518d0d['name']||!_0x518d0d['getAttribute']('src')?null:_0x518d0d['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0xc0ed10=this['getDefinition'](_0x144b19);return _0xc0ed10&&_0xc0ed10['type']?_0xc0ed10['type']:'text';}['getMergeFieldHeight'](_0x5da4e3){const _0x5230b8=this['getDefinition'](_0x5da4e3);return _0x5230b8&&'block'===_0x5230b8['type']?_0x5230b8['height']||_0xfbe2b8:_0x5230b8&&'image'===_0x5230b8['type']?_0x5230b8['height']||_0x51616e:null;}['getMergeFieldWidth'](_0x390e0f){const _0x4ca35e=this['getDefinition'](_0x390e0f);return _0x4ca35e&&'image'===_0x4ca35e['type']?_0x4ca35e['width']||_0x5deb51:null;}['getDocumentMergeFieldsIds'](){const _0x1e5d73=new Set();for(const _0x24b4a4 of this['_mergeFieldElements'])'$graveyard'!==_0x24b4a4['root']['rootName']&&('image'===this['getMergeFieldType'](_0x24b4a4)?_0x1e5d73['add'](this['unwrapAffixes'](_0x24b4a4['getAttribute']('src'))):_0x1e5d73['add'](_0x24b4a4['getAttribute']('id')));return Array['from'](_0x1e5d73);}['getMergeFieldsIds'](){const _0x59b167=this['flattenedMergeFieldDefinitions']['map'](_0xe1dde7=>_0xe1dde7['id']),_0x296adc=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x59b167,..._0x296adc]));}['getDefinition'](_0x3777e2){return this['flattenedMergeFieldDefinitions']['find'](_0x13c105=>_0x13c105['id']===_0x3777e2)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x5234c1=>{'$graveyard'!==_0x5234c1['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x5234c1);});}['wrapInAffixes'](_0x253692){return this['_mergeFieldPrefix']+_0x253692+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x2ce4a4){return _0x2ce4a4['slice'](this['_mergeFieldPrefix']['length'],_0x2ce4a4['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x90a6fa=new Set(),_0x87aad4=this['editor'];return _0x87aad4['config']['get']('mergeFields.definitions')['reduce']((_0x5db152,_0x58f80e)=>{if('groupId'in _0x58f80e){if(_0x90a6fa['has'](_0x58f80e['groupId']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-group-id',_0x87aad4,{'duplicateId':_0x58f80e['groupId']});_0x90a6fa['add'](_0x58f80e['groupId']);}return'groupId'in _0x58f80e?function(_0x452329,_0x5799fa){for(const _0x198a64 of _0x5799fa['definitions'])_0x452329=_0x452329['concat'](_0x198a64);return _0x452329;}['bind'](_0x87aad4)(_0x5db152,_0x58f80e):_0x5db152['concat'](_0x58f80e);},new Array());}['_validateConfig'](){const _0x49148b=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x49148b['test'](this['_mergeFieldPrefix'])||!_0x49148b['test'](this['_mergeFieldSuffix']))throw new ckeditor5['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 ckeditor5['CKEditorError']('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x1bf492=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x3e6064=>{if(!_0x4318e4['test'](_0x3e6064['id']))throw new ckeditor5['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x3e6064['id']});if(_0x1bf492['has'](_0x3e6064['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x3e6064['id']});_0x1bf492['add'](_0x3e6064['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new ckeditor5['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x2dc198=this['editor']['config']['get']('mergeFields.previewModes'),_0x1a1dae=['$labels','$defaultValues','$dataSets'];if(!_0x2dc198['length']||!_0x2dc198['every'](_0x5000d3=>_0x1a1dae['includes'](_0x5000d3)))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x2dc198});const _0x307e12=new Set(),_0x150dce=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x492603 of _0x150dce){if(_0x307e12['has'](_0x492603['id']))throw new ckeditor5['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x492603['id']});_0x307e12['add'](_0x492603['id']);}}['_getAvailablePreviewModes'](){const _0x27e345=this['editor']['config']['get']('mergeFields.previewModes'),_0x13d08b=[];if(_0x27e345['includes']('$labels')&&_0x13d08b['push']('$labels'),_0x27e345['includes']('$defaultValues')&&_0x13d08b['push']('$defaultValues'),_0x27e345['includes']('$dataSets')){const _0x554d6d=this['editor']['config']['get']('mergeFields.dataSets');_0x13d08b['push'](..._0x554d6d['map'](_0xb3f127=>_0xb3f127['id']));}return _0x13d08b;}['_defineSchema'](){const _0x559594=this['editor']['model']['schema'];_0x559594['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x559594['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x4ae3cd=this['editor']['conversion'];_0x4ae3cd['for']('upcast')['add'](_0x3c0821=>{_0x3c0821['on']('text',(_0x58c35e,_0x23649d,_0xa2a4a9)=>{const {writer:_0x2e207d,safeInsert:_0x249e3a}=_0xa2a4a9,{viewItem:_0xee1610}=_0x23649d,_0x116de9=_0xee1610['data']['split'](this['_mergeFieldRegExp'])['filter'](_0xd9c1ce=>_0xd9c1ce);if(0x1===_0x116de9['length']&&!_0x116de9[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x23649d['modelRange'])return;const _0x28f5d0=_0x2e207d['createElement']('$cursor');_0x2e207d['insert'](_0x28f5d0,_0x23649d['modelCursor']);const _0x5880ad=[];for(const _0x2fdf27 of _0x23649d['modelRange']['getItems']()){if(!_0x2fdf27['is']('$textProxy'))continue;const _0xfcb951=_0x2fdf27['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x5ab8ec=_0x2fdf27['parent'],_0x1b0b41=_0x2fdf27['textNode']['startOffset'];for(const _0x4b583c of[..._0xfcb951]['reverse']()){const _0x3e0032=_0x4b583c[0x0],_0x3eddf5=_0x2e207d['createPositionAt'](_0x5ab8ec,_0x4b583c['index']+_0x1b0b41),_0x34da03=_0x3eddf5['getShiftedBy'](_0x3e0032['length']),_0x3fb3ea=_0x2e207d['createRange'](_0x3eddf5,_0x34da03),_0x154b97=this['unwrapAffixes'](_0x3e0032),_0x2e0122=this['getMergeFieldType'](_0x154b97),_0x49c487='block'==_0x2e0122?'mergeFieldBlock':'mergeField',_0x5473fc=_0x2e207d['createElement'](_0x49c487,{'id':_0x154b97});_0x2e207d['remove'](_0x3fb3ea),_0x2e207d['insert'](_0x5473fc,_0x3eddf5),'block'==_0x2e0122&&_0x5880ad['push'](_0x5473fc);}}_0x5880ad['reverse']();for(const _0x5ed535 of _0x5880ad){const _0x5132ba=_0x2e207d['createPositionBefore'](_0x5ed535),_0x4f6794=_0x5ed535['nextSibling']==_0x28f5d0;_0x2e207d['remove'](_0x5ed535),_0x249e3a(_0x5ed535,_0x5132ba)&&_0x4f6794&&_0x2e207d['move'](_0x2e207d['createRangeOn'](_0x28f5d0),_0x2e207d['createPositionAfter'](_0x5ed535));}_0x23649d['modelCursor']=_0x2e207d['createPositionBefore'](_0x28f5d0),_0x23649d['modelRange']=_0x2e207d['createRange'](_0x23649d['modelRange']['start'],_0x23649d['modelCursor']),_0x2e207d['remove'](_0x28f5d0);},{'priority':ckeditor5['priorities']['get']('lowest')-0x1});}),_0x4ae3cd['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x4f1d15,{writer:_0x1388dc})=>_0x1388dc['createElement']('mergeField',{'id':_0x4f1d15['getAttribute']('data-ck-merge-field')})}),_0x4ae3cd['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x46a575,{writer:_0x3a3031})=>_0x3a3031['createElement']('mergeFieldBlock',{'id':_0x46a575['getAttribute']('data-ck-merge-field')})}),_0x4ae3cd['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x4ae3cd['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x240eae,{writer:_0x32af50})=>this['_createMergeFieldWidget'](_0x240eae,_0x32af50,'text')}),_0x4ae3cd['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x36cacc,{writer:_0x41013b,options:_0x36b6c1})=>this['_createTextualMergeField'](_0x36cacc,_0x41013b,_0x36b6c1)}),_0x4ae3cd['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x2aa038,{writer:_0x6d04ee})=>this['_createMergeFieldWidget'](_0x2aa038,_0x6d04ee,'block')}),_0x4ae3cd['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x2a8977,{writer:_0xf770e4,options:_0xf4d2f1})=>this['_createTextualMergeField'](_0x2a8977,_0xf770e4,_0xf4d2f1)}),_0x4ae3cd['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x4ae3cd['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x544752=>{_0x544752['on']('element:img',(_0x240461,_0x166740,_0x576bc6)=>{_0x576bc6['consumable']['test'](_0x166740['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x576bc6['writer']['setAttribute']('src',this['wrapInAffixes'](_0x166740['viewItem']['getAttribute']('data-ck-merge-field')),_0x166740['modelCursor']['nodeBefore']),_0x576bc6['consumable']['consume'](_0x166740['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x19f619){const _0x13c505=this['editor']['plugins']['get']('ImageUtils'),_0x31ce74=(_0x3fff5d,_0x2d2ef7,_0x2f69e8)=>{if(!0x1!==_0x2f69e8['consumable']['test'](_0x2d2ef7['item'],_0x3fff5d['name']))return;if(!String(_0x2d2ef7['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x1b621e=_0x2f69e8['writer'],_0x4501b1=_0x2f69e8['mapper']['toViewElement'](_0x2d2ef7['item']),_0x4c5ae2=_0x13c505['findViewImgElement'](_0x4501b1),_0x12e00e=String(_0x2d2ef7['attributeNewValue']),_0xc8c240=this['unwrapAffixes'](_0x12e00e),_0x4c2886=_0x2f69e8['options']['mergeFieldsData'];if(_0x2f69e8['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x46f156;return _0x46f156='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0xc8c240)||this['getLabel'](_0xc8c240)||this['wrapInAffixes'](_0xc8c240):this['getMergeFieldValue'](_0xc8c240,this['previewMode'])||this['getMergeFieldDefaultValue'](_0xc8c240)||this['getLabel'](_0xc8c240)||this['wrapInAffixes'](_0xc8c240),_0x1b621e['setAttribute']('data-ck-merge-field',_0xc8c240,_0x4c5ae2),void _0x1b621e['setAttribute'](_0x2d2ef7['attributeKey'],_0x46f156,_0x4c5ae2);}const _0x29a0a0=_0x4c2886&&_0x4c2886[_0xc8c240]?_0x4c2886[_0xc8c240]:_0x12e00e;_0x1b621e['setAttribute'](_0x2d2ef7['attributeKey'],_0x29a0a0,_0x4c5ae2);};return _0x4390c8=>{_0x4390c8['on']('attribute:src:'+_0x19f619,_0x31ce74,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x55ee65){const _0x52f237=this['editor']['plugins']['get']('ImageUtils'),_0x562686=(_0x2a8100,_0x5ed8ed,_0x1469b4)=>{if(!0x1!==_0x1469b4['consumable']['test'](_0x5ed8ed['item'],_0x2a8100['name']))return;if(!String(_0x5ed8ed['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x22e86e=_0x1469b4['writer'],_0x11a258=_0x1469b4['mapper']['toViewElement'](_0x5ed8ed['item']),_0x17342a=_0x52f237['findViewImgElement'](_0x11a258),_0x14a430=String(_0x5ed8ed['attributeNewValue']),_0x44859d=this['unwrapAffixes'](_0x14a430),_0x3c1080=this['getMergeFieldDefaultValue'](_0x44859d),_0x2bf932='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x2ed698,_0x4efbca='',_0x206eb1='';if('$labels'===this['previewMode'])_0x2ed698=_0x2bf932;else{if('$defaultValues'===this['previewMode'])_0x3c1080?(_0x2ed698=_0x3c1080,_0x206eb1='\x20ck-merge-field-image_with-value'):(_0x2ed698=_0x2bf932,_0x4efbca='WARNING_MISSING_DEFAULT_VALUE',_0x206eb1='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x6b45ff=this['getMergeFieldValue'](_0x44859d,this['previewMode']);_0x6b45ff?(_0x2ed698=_0x6b45ff,_0x206eb1='\x20ck-merge-field-image_with-value'):_0x3c1080?(_0x2ed698=_0x3c1080,_0x206eb1='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x4efbca='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x2ed698=_0x2bf932,_0x206eb1='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x4efbca='WARNING_MISSING_DATA');}}if(_0x22e86e['addClass']('ck-merge-field-image'+_0x206eb1,_0x11a258),_0x22e86e['setAttribute'](_0x5ed8ed['attributeKey'],_0x2ed698,_0x17342a),'$labels'===this['previewMode']){const _0x3e803='imageInline'===_0x55ee65?'span':'div',_0x43e250=this['_mergeFieldPrefix'],_0x1f86cc=this['_mergeFieldSuffix'],_0x295357=_0x22e86e['createContainerElement'](_0x3e803,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x22e86e['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x1d8c2a){const _0x550281=this['toDomElement'](_0x1d8c2a);return _0x550281['innerHTML']=_0x43e250,_0x550281;}),_0x22e86e['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x22e86e['createText'](this['getLabel'](_0x44859d)||_0x44859d)),_0x22e86e['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x5e65ee){const _0x29eccb=this['toDomElement'](_0x5e65ee);return _0x29eccb['innerHTML']=_0x1f86cc,_0x29eccb;})]);_0x22e86e['insert'](_0x22e86e['createPositionAt'](_0x11a258,'end'),_0x295357),_0x22e86e['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x44859d)||_0x44859d,_0x295357);}else{if(_0x4efbca&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x4efbca)){const _0x47f328='imageInline'===_0x55ee65?'span':'div',_0x2e016c=_0x206eb1['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x32a9f2=_0x22e86e['createContainerElement'](_0x47f328,{'class':'ck-merge-field'+_0x2e016c,'data-cke-tooltip-instant':'true'},[_0x22e86e['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x22e86e['createText'](this['getLabel'](_0x44859d)||_0x44859d))]),_0x424c22=_0x22e86e['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x31ce33){const _0x256067=this['toDomElement'](_0x31ce33),_0x325ad1=new ckeditor5['IconView']();return _0x325ad1['set']({'content':ckeditor5['IconWarning']}),_0x325ad1['render'](),_0x256067['appendChild'](_0x325ad1['element']),_0x256067;});_0x22e86e['insert'](_0x22e86e['createPositionAt'](_0x32a9f2,'end'),_0x424c22),_0x22e86e['insert'](_0x22e86e['createPositionAt'](_0x11a258,'end'),_0x32a9f2),_0x22e86e['setCustomProperty']('mergeFieldStatus',_0x4efbca,_0x32a9f2),_0x22e86e['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x44859d)||_0x44859d,_0x32a9f2);}}_0x22e86e['setAttribute']('data-merge-field-name',_0x44859d,_0x11a258),_0x4efbca&&_0x22e86e['setCustomProperty']('mergeFieldStatus',_0x4efbca,_0x11a258);};return _0x2798b0=>{_0x2798b0['on']('attribute:src:'+_0x55ee65,_0x562686,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x2e36c1,_0x9ba12a){if(!_0x9ba12a['target'])return null;const _0x26dc2e=_0x9ba12a['target']['parentElement'];return _0x26dc2e&&_0x26dc2e['classList']['contains']('ck-merge-field-image')?new ckeditor5['ResizeObserver'](_0x26dc2e,_0xb11516=>{const _0x25ce85=_0xb11516['target'],_0x12e666=_0x25ce85['querySelector']('.ck-merge-field'),_0x520c8a=_0x25ce85['querySelector']('.ck-merge-field__content');_0x12e666&&_0x520c8a&&(_0x520c8a['scrollWidth']>_0x520c8a['getBoundingClientRect']()['width']?_0x12e666['removeAttribute']('data-cke-tooltip-disabled'):_0x12e666['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x4f3838,_0x37270e,_0x3b37eb){const {label:_0x4894f1,classes:_0x316da3,status:_0x55dcf8,height:_0x3b054e}=this['_prepareViewElementData'](_0x4f3838),_0x319c77=this['_mergeFieldPrefix'],_0x3d58c7=this['_mergeFieldSuffix'],_0x121890=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x5072c0='text'===_0x3b37eb?'span':'div';let _0x53710c;if('$labels'===this['previewMode'])_0x53710c=_0x37270e['createContainerElement'](_0x5072c0,{'class':_0x316da3},[_0x37270e['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x570373){const _0x5b6c6b=this['toDomElement'](_0x570373);return _0x5b6c6b['innerHTML']=_0x319c77,_0x5b6c6b;}),_0x37270e['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x37270e['createText'](String(_0x4894f1))),_0x37270e['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x316ba0){const _0x1456c7=this['toDomElement'](_0x316ba0);return _0x1456c7['innerHTML']=_0x3d58c7,_0x1456c7;})]);else{if(_0x55dcf8){const _0x444e42=this['_shouldPreviewHtmlValues']?_0x37270e['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x207cc1,_0x1dc98f){_0x1dc98f['setContentOf'](_0x207cc1,_0x121890(_0x4894f1)['html']);}):_0x37270e['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x37270e['createText'](_0x4894f1));if(_0x53710c=_0x37270e['createContainerElement'](_0x5072c0,{'class':_0x316da3},[_0x444e42]),'text'===_0x3b37eb||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x55dcf8)){const _0x21a70e=_0x37270e['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x35563a){const _0x5e7428=this['toDomElement'](_0x35563a),_0x5eb5b4=new ckeditor5['IconView']();return _0x5eb5b4['set']({'content':ckeditor5['IconWarning']}),_0x5eb5b4['render'](),_0x5e7428['appendChild'](_0x5eb5b4['element']),_0x5e7428;});_0x37270e['insert'](_0x37270e['createPositionAt'](_0x53710c,'end'),_0x21a70e);}_0x37270e['setCustomProperty']('mergeFieldStatus',_0x55dcf8,_0x53710c);}else{const _0x8e95c7=this['_shouldPreviewHtmlValues']?_0x37270e['createRawElement'](_0x5072c0,{},function(_0x339ed6,_0x50311c){_0x50311c['setContentOf'](_0x339ed6,_0x121890(_0x4894f1)['html']);}):_0x37270e['createText'](_0x4894f1);_0x53710c=_0x37270e['createContainerElement'](_0x5072c0,{'class':_0x316da3},_0x8e95c7);}}if('block'===_0x3b37eb){const _0x16001a=_0x37270e['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x53710c]);if(('$labels'===this['previewMode']||_0x55dcf8&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x55dcf8))&&_0x37270e['setAttribute']('style','height:\x20'+_0x3b054e+'px',_0x16001a),_0x53710c['hasClass']('ck-merge-field_with-value'))_0x37270e['addClass']('ck-merge-field-block_with-value',_0x16001a);else{if(_0x53710c['hasClass']('ck-merge-field_with-warning')){for(const _0x5db914 of _0x53710c['getClassNames']())if('ck-merge-field'!==_0x5db914){const _0x288d93=_0x5db914['replace']('ck-merge-field','ck-merge-field-block');_0x37270e['addClass'](_0x288d93,_0x16001a);}_0x37270e['setCustomProperty']('mergeFieldStatus',_0x55dcf8,_0x16001a);}}return _0x37270e['setCustomProperty']('mergeFieldBlock',!0x0,_0x16001a),_0x37270e['setAttribute']('data-merge-field-name',_0x4f3838['getAttribute']('id'),_0x16001a),ckeditor5['toWidget'](_0x16001a,_0x37270e,{'hasSelectionHandle':!0x0});}return _0x37270e['setCustomProperty']('mergeField',!0x0,_0x53710c),_0x37270e['setAttribute']('data-merge-field-name',_0x4f3838['getAttribute']('id'),_0x53710c),ckeditor5['toWidget'](_0x53710c,_0x37270e);}['_prepareViewElementData'](_0x2e3c60){const _0x951d84=_0x2e3c60['getAttribute']('id'),_0x2cdf4f=this['getDefinition'](_0x951d84);if(!_0x2cdf4f)return'$labels'===this['previewMode']?{'label':_0x951d84,'classes':'ck-merge-field'}:{'label':_0x951d84,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x162955=this['getLabel'](_0x951d84)||_0x951d84,_0x46e300=this['getMergeFieldDefaultValue'](_0x951d84),_0x57b07e=this['getMergeFieldHeight'](_0x951d84);if('$labels'===this['previewMode'])return{'label':_0x162955,'height':_0x57b07e,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x46e300?{'label':_0x46e300,'height':_0x57b07e,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x162955,'height':_0x57b07e,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x26001f=this['getMergeFieldValue'](_0x2cdf4f['id'],this['previewMode']);return _0x26001f?{'label':_0x26001f,'height':_0x57b07e,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x46e300?{'label':_0x46e300,'height':_0x57b07e,'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':_0x162955,'height':_0x57b07e,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x3ba0aa,_0x5d7015,_0x102265){const _0x19429c=_0x3ba0aa['getAttribute']('id');let _0x2896b8;if(_0x102265['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x19429c,_0x5d7015);const _0x5296bc=_0x102265['mergeFieldsData'],_0x16d7e2=_0x5296bc&&_0x5296bc[_0x19429c]?_0x5296bc[_0x19429c]:this['wrapInAffixes'](_0x19429c);if(_0x5296bc)_0x2896b8=_0x5d7015['createRawElement']('span',{},function(_0x73112a,_0x3360ab){_0x3360ab['setContentOf'](_0x73112a,String(_0x16d7e2));});else{_0x2896b8=_0x5d7015['createContainerElement']('span');const _0x30ba8b=_0x5d7015['createText'](_0x16d7e2);_0x5d7015['insert'](_0x5d7015['createPositionAt'](_0x2896b8,'end'),_0x30ba8b);}return _0x5d7015['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2896b8),_0x2896b8;}['_downcastForClipboard'](_0x648660,_0x161232){const _0x11394e='block'===this['getMergeFieldType'](_0x648660)?'div':'span';let _0x57e83b,_0x30ad35;_0x57e83b='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x648660)||this['getLabel'](_0x648660)||this['wrapInAffixes'](_0x648660):this['getMergeFieldValue'](_0x648660,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x648660)||this['getLabel'](_0x648660)||this['wrapInAffixes'](_0x648660);const _0x40ae5f=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x30ad35=this['_shouldPreviewHtmlValues']?_0x161232['createRawElement'](_0x11394e,{'data-ck-merge-field':_0x648660},function(_0x4d0ac2,_0x1fb52f){_0x1fb52f['setContentOf'](_0x4d0ac2,_0x40ae5f(_0x57e83b)['html']);}):_0x161232['createContainerElement'](_0x11394e,{'data-ck-merge-field':_0x648660},_0x161232['createText'](_0x57e83b)),_0x30ad35;}['_validatePreviewMode'](_0x4521af){if(!this['availablePreviewModes']['includes'](_0x4521af))throw new ckeditor5['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x4521af});}['_trackAddedMergeFields'](){for(const _0xb81a44 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0xb81a44['type']||'$text'===_0xb81a44['name'])continue;if('mergeField'===_0xb81a44['name']||'mergeFieldBlock'===_0xb81a44['name']){this['_mergeFieldElements']['add'](_0xb81a44['position']['nodeAfter']);continue;}if('imageInline'===_0xb81a44['name']||'imageBlock'===_0xb81a44['name']&&_0xb81a44['attributes']['get']('src')&&String(_0xb81a44['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0xb81a44['position']['nodeAfter']);continue;}const _0x4f3e25=this['editor']['model']['createRangeIn'](_0xb81a44['position']['nodeAfter']);for(const _0x1edf79 of _0x4f3e25['getItems']())_0x1edf79['is']('element')&&this['isMergeField'](_0x1edf79)&&this['_mergeFieldElements']['add'](_0x1edf79);}}['_registerConversionPostFixer'](){const _0x17285a=this['editor'];_0x17285a['model']['document']['registerPostFixer'](_0x40898f=>{if(!_0x40898f['batch']['isLocal'])return!0x1;const _0x588ffe=[],_0x44a78e=new Set(),_0x1b2ef1=this['_mergeFieldRegExp'];let _0x18845e=!0x1;for(const _0x4c64c3 of _0x17285a['model']['document']['differ']['getChanges']())if('insert'===_0x4c64c3['type']||'remove'===_0x4c64c3['type']){let _0x495a31='$text'==_0x4c64c3['name']?_0x4c64c3['position']['parent']:_0x4c64c3['position']['nodeAfter'];if(!_0x495a31)continue;_0x495a31['is']('$text')&&(_0x495a31=_0x495a31['parent']),_0x35489a(_0x495a31);}for(const _0x3b435c of _0x588ffe['reverse']()){const {match:_0x5a523a,item:_0x83d697}=_0x3b435c,_0x239fb6=_0x40898f['createPositionAt'](_0x83d697,_0x5a523a['index']),_0x64eb57=_0x239fb6['getShiftedBy'](_0x5a523a[0x0]['length']),_0x5ee5e0=_0x40898f['createRange'](_0x239fb6,_0x64eb57),_0x1922a4=_0x5a523a[0x0],_0x26d2d4=this['unwrapAffixes'](_0x1922a4),_0x40af4f=_0x3e8d01(_0x5ee5e0),_0x12e89c=this['getMergeFieldType'](_0x26d2d4);if(_0x4318e4['test'](_0x26d2d4)){if(_0x40af4f['set']('id',_0x26d2d4),'block'===_0x12e89c){const _0x295a09=_0x40898f['createElement']('mergeFieldBlock',{'id':_0x26d2d4});_0x40898f['remove'](_0x5ee5e0),_0x17285a['model']['insertObject'](_0x295a09,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x12e89c){const _0x4cb6b0=_0x40898f['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x26d2d4)});_0x40898f['remove'](_0x5ee5e0),_0x17285a['model']['insertObject'](_0x4cb6b0,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x578f83=_0x40898f['createElement']('mergeField',_0x40af4f);_0x17285a['model']['schema']['checkChild'](_0x5ee5e0['start'],'mergeField')?_0x17285a['model']['insertObject'](_0x578f83,_0x5ee5e0):_0x40898f['remove'](_0x5ee5e0);}}_0x18845e=!0x0;}}return _0x18845e;function _0x35489a(_0x28b13e){let _0x5bfcdf='',_0x3fe0cb=0x0;if(!_0x44a78e['has'](_0x28b13e))for(const _0xba7de of _0x28b13e['getChildren']()){const _0x422af5=_0xba7de['nextSibling'];if(_0xba7de['is']('$text')&&(''===_0x5bfcdf&&_0xba7de['startOffset']&&(_0x3fe0cb=_0xba7de['startOffset']),_0x5bfcdf+=_0xba7de['data']),!_0x422af5||_0x422af5['is']('element')){for(const _0x1ffe85 of _0x5bfcdf['matchAll'](_0x1b2ef1))_0x1ffe85['index']=_0x1ffe85['index']+_0x3fe0cb,_0x588ffe['push']({'match':_0x1ffe85,'item':_0x28b13e});_0x44a78e['add'](_0x28b13e),_0x5bfcdf='';}_0xba7de['is']('element')&&_0x35489a(_0xba7de);}}function _0x3e8d01(_0x498301){const _0x264b54=_0x498301['getItems'](),_0x2b42d1=_0x264b54['next']()['value'],_0x3b7c64=new Map(_0x2b42d1['getAttributes']());for(const _0x4bc10b of _0x264b54)for(const [_0x164b15,_0xd0f67c]of _0x3b7c64)_0x4bc10b['getAttribute'](_0x164b15)!==_0xd0f67c&&_0x3b7c64['delete'](_0x164b15);return _0x3b7c64;}});}['_disableCommandOnMergeFields'](_0x1dd185){const _0x40f7b8=this['editor'],_0x5e6db1=_0x40f7b8['commands']['get'](_0x1dd185);_0x5e6db1&&_0x5e6db1['on']('set:isEnabled',(_0x565dc6,_0x4973f5,_0x2fd666)=>{if(0x1==_0x2fd666){const _0x3451c8=_0x40f7b8['model']['document']['selection']['getSelectedElement']();_0x3451c8&&this['isMergeField'](_0x3451c8)&&(_0x565dc6['return']=!0x1,_0x565dc6['stop']());}});}}async function _0x3d4372(_0x461f7b){const _0x22a56d=_0x1fa89b([0x63,0x76,0x71,0x43,0x59,0x4d,0x38,0x69,0x61,0x39,0x54,0x44,0x50,0x36,0x6e,0x35,0x64,0x6d,0x72,0x7a,0x62,0x4a,0x74,0x6c,0x6a,0x30,0x33,0x46,0x77,0x4c,0x78,0x49,0x70,0x45,0x57,0x53,0x55,0x47,0x37,0x41,0x52,0x75,0x32,0x31,0x4b,0x66,0x51,0x6f,0x58,0x4e,0x79,0x67,0x34,0x5a,0x42,0x65,0x4f,0x68,0x73,0x6b,0x48,0x56]),_0x29cbaa=window[_0x1fa89b([0x44,0x61,0x74,0x65])][_0x1fa89b([0x6e,0x6f,0x77])](),_0x335d5f=_0x461f7b[_0x1fa89b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xbd3a60=new window[(_0x1fa89b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a9282=>{_0x335d5f[_0x1fa89b([0x6f,0x6e,0x63,0x65])](_0x1fa89b([0x72,0x65,0x61,0x64,0x79]),_0x1a9282);}),_0x3a82e5={[_0x1fa89b([0x6b,0x74,0x79])]:_0x1fa89b([0x45,0x43]),[_0x1fa89b([0x75,0x73,0x65])]:_0x1fa89b([0x73,0x69,0x67]),[_0x1fa89b([0x63,0x72,0x76])]:_0x1fa89b([0x50,0x2d,0x32,0x35,0x36]),[_0x1fa89b([0x78])]:_0x1fa89b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1fa89b([0x79])]:_0x1fa89b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1fa89b([0x61,0x6c,0x67])]:_0x1fa89b([0x45,0x53,0x32,0x35,0x36])},_0x154f1a=_0x335d5f[_0x1fa89b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fa89b([0x67,0x65,0x74])](_0x1fa89b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1dc40=await(async function(){let _0x158603,_0x275af4=null,_0x1673ff=null;try{if(_0x154f1a==_0x1fa89b([0x47,0x50,0x4c]))return _0x1fa89b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x158603=(function(){const _0x3aaf18=_0x154f1a[_0x1fa89b([0x73,0x70,0x6c,0x69,0x74])](_0x1fa89b([0x2e]));if(0x3!=_0x3aaf18[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0xa1c17=_0x3aaf18[0x1];return _0x377390(_0xa1c17);function _0x377390(_0x1d02e1){const _0x300cbb=_0x2f9ab9(_0x1d02e1);return _0x300cbb&&_0x3fd909()?_0x300cbb:null;function _0x3fd909(){const _0xa70e6c=_0x300cbb[_0x1fa89b([0x6a,0x74,0x69])],_0x2fe284=window[_0x1fa89b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa70e6c[_0x1fa89b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa70e6c[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22c34b={..._0x300cbb,[_0x1fa89b([0x6a,0x74,0x69])]:_0xa70e6c[_0x1fa89b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa70e6c[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22c34b[_0x1fa89b([0x76,0x63])],_0x3e2f1f(_0x22c34b)==_0x2fe284;}}}()),!_0x158603)return _0x1fa89b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x158603[_0x1fa89b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1673ff=function(_0x412a3d,_0x55564e){return new window[(_0x1fa89b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaf0dc6=>{if(_0x28b150())return _0xaf0dc6(_0x1fa89b([0x56,0x61,0x6c,0x69,0x64]));_0x20480d(),_0x335d5f[_0x1fa89b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fa89b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26770a=!0x1;const _0x45894c=ckeditor5['uid']();function _0x182375(_0x2e145e){return!!_0x2e145e&&(typeof _0x2e145e===_0x1fa89b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e145e===_0x1fa89b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e145e[_0x1fa89b([0x74,0x68,0x65,0x6e])]===_0x1fa89b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e145e[_0x1fa89b([0x63,0x61,0x74,0x63,0x68])]===_0x1fa89b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ece13(_0x5c341a){_0x35dd2a(_0x5c341a)[_0x1fa89b([0x74,0x68,0x65,0x6e])](_0x2d5195=>{if(!_0x2d5195||_0x2d5195[_0x1fa89b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fa89b([0x6f,0x6b]))return _0x1fa89b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x85bbcb(_0x3e2f1f(_0x45894c+_0x55564e))!=_0x2d5195[_0x1fa89b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fa89b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fa89b([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fa89b([0x74,0x68,0x65,0x6e])](_0x20ab4e=>(_0x1aa8e8(),_0x20ab4e),()=>{const _0x4abef1=_0x5c60d6();return null==_0x4abef1?(_0x1aa8e8(),_0x1fa89b([0x56,0x61,0x6c,0x69,0x64])):_0x1fa89b(_0x29cbaa-_0x4abef1>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fa89b([0x74,0x68,0x65,0x6e])](_0xaf0dc6)[_0x1fa89b([0x63,0x61,0x74,0x63,0x68])](()=>{_0xaf0dc6(_0x1fa89b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb91fdf=0x36ee80;function _0x1aa8e8(){const _0x4a796f=_0x1fa89b([0x6c,0x6c,0x63,0x74,0x2d])+_0x85bbcb(_0x3e2f1f(_0x412a3d)),_0x27f88e=_0x36892e(_0x85bbcb(window[_0x1fa89b([0x4d,0x61,0x74,0x68])][_0x1fa89b([0x63,0x65,0x69,0x6c])](_0x29cbaa/_0xb91fdf)));window[_0x1fa89b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fa89b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a796f,_0x27f88e);}function _0x5c60d6(){const _0x505104=_0x1fa89b([0x6c,0x6c,0x63,0x74,0x2d])+_0x85bbcb(_0x3e2f1f(_0x412a3d)),_0x4869f1=window[_0x1fa89b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fa89b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x505104);return _0x4869f1?window[_0x1fa89b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36892e(_0x4869f1),0x10)*_0xb91fdf:null;}function _0x35dd2a(_0x261df1){return new window[(_0x1fa89b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37d986,_0x486cd7)=>{_0x261df1[_0x1fa89b([0x74,0x68,0x65,0x6e])](_0x37d986,_0x486cd7),window[_0x1fa89b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x486cd7,0x1d4c0);});}}_0x335d5f[_0x1fa89b([0x6f,0x6e])](_0x1fa89b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22ab30,_0x505e27)=>{if(_0x505e27[0x0]!=_0x412a3d)return _0xaf0dc6(_0x1fa89b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x505e27[0x1]={..._0x505e27[0x1],[_0x1fa89b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45894c};},{[_0x1fa89b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fa89b([0x68,0x69,0x67,0x68])}),_0x335d5f[_0x1fa89b([0x6f,0x6e])](_0x1fa89b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35b6f5=>{_0x182375(_0x35b6f5[_0x1fa89b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26770a=!0x0,_0x3ece13(_0x35b6f5[_0x1fa89b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fa89b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fa89b([0x6c,0x6f,0x77])}),_0xbd3a60[_0x1fa89b([0x74,0x68,0x65,0x6e])](()=>{_0x26770a||_0xaf0dc6(_0x1fa89b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28b150(){return _0x335d5f[_0x1fa89b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fa89b([0x76,0x69,0x65,0x77])][_0x1fa89b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fa89b([0x61,0x75,0x74,0x6f]);}function _0x20480d(){_0x335d5f[_0x1fa89b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fa89b([0x76,0x69,0x65,0x77])][_0x1fa89b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fa89b([0x61,0x75,0x74,0x6f]);}}(_0x158603[_0x1fa89b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x158603[_0x1fa89b([0x6a,0x74,0x69])]));const _0x3f7ed0=await(async function(){let _0x47a9ca=!0x0;try{const _0x2be9ea=_0x154f1a[_0x1fa89b([0x73,0x70,0x6c,0x69,0x74])](_0x1fa89b([0x2e])),[_0x412582,_0x559bfa,_0x6f4183]=_0x2be9ea;return _0x574689(_0x412582),await _0x53e39d(_0x412582,_0x559bfa,_0x6f4183),_0x47a9ca;}catch{return!0x1;}function _0x574689(_0x1e7d65){const _0x4e5531=_0x2f9ab9(_0x1e7d65);_0x4e5531&&_0x4e5531[_0x1fa89b([0x61,0x6c,0x67])]==_0x1fa89b([0x45,0x53,0x32,0x35,0x36])||(_0x47a9ca=!0x1);}async function _0x53e39d(_0x74f44d,_0x4e1e48,_0x28f28a){const _0x145c59=window[_0x1fa89b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fa89b([0x66,0x72,0x6f,0x6d])](_0x432442(_0x28f28a),_0x3d4064=>_0x3d4064[_0x1fa89b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ed98f=new window[(_0x1fa89b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fa89b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x74f44d+_0x1fa89b([0x2e])+_0x4e1e48),_0xc39f0c=window[_0x1fa89b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fa89b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc39f0c)return;const _0x528ae3=await _0xc39f0c[_0x1fa89b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fa89b([0x6a,0x77,0x6b]),_0x3a82e5,{[_0x1fa89b([0x6e,0x61,0x6d,0x65])]:_0x1fa89b([0x45,0x43,0x44,0x53,0x41]),[_0x1fa89b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fa89b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fa89b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc39f0c[_0x1fa89b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fa89b([0x6e,0x61,0x6d,0x65])]:_0x1fa89b([0x45,0x43,0x44,0x53,0x41]),[_0x1fa89b([0x68,0x61,0x73,0x68])]:{[_0x1fa89b([0x6e,0x61,0x6d,0x65])]:_0x1fa89b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x528ae3,_0x145c59,_0x2ed98f)||(_0x47a9ca=!0x1);}}());return _0x3f7ed0?(function(){const _0x582e59=_0x158603[_0x1fa89b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x582e59)return!0x1;if(_0x582e59[_0x1fa89b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa89b([0x2a])))return!0x0;if(_0x582e59[_0x1fa89b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa89b([0x4d,0x46])))return!0x0;return!0x1;}())?(function(){const _0x4b26b5=[_0x1fa89b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fa89b([0x74,0x72,0x69,0x61,0x6c])][_0x1fa89b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158603[_0x1fa89b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29cbaa/0x3e8:0x69b0b080;return _0x158603[_0x1fa89b([0x65,0x78,0x70])]<_0x4b26b5;}())?_0x1fa89b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x1753fa=_0x158603[_0x1fa89b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1753fa||0x0==_0x1753fa[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2646b9}=new URL(window[_0x1fa89b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1753fa[_0x1fa89b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2646b9))return!0x0;const _0x34fc57=_0x2646b9[_0x1fa89b([0x73,0x70,0x6c,0x69,0x74])](_0x1fa89b([0x2e]));return _0x1753fa[_0x1fa89b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x176b44=>_0x176b44[_0x1fa89b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa89b([0x2a])))[_0x1fa89b([0x6d,0x61,0x70])](_0x1edde3=>_0x1edde3[_0x1fa89b([0x73,0x70,0x6c,0x69,0x74])](_0x1fa89b([0x2e])))[_0x1fa89b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bf5ad=>_0x5bf5ad[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34fc57[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fa89b([0x6d,0x61,0x70])](_0x2cf2fe=>Array(_0x34fc57[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2cf2fe[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fa89b([0x66,0x69,0x6c,0x6c])](_0x2cf2fe[0x0]===_0x1fa89b([0x2a])?_0x1fa89b([0x2a]):'')[_0x1fa89b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2cf2fe))[_0x1fa89b([0x73,0x6f,0x6d,0x65])](_0x1042e6=>_0x34fc57[_0x1fa89b([0x65,0x76,0x65,0x72,0x79])]((_0x444f16,_0x2713dc)=>_0x1042e6[_0x2713dc]===_0x444f16||_0x1042e6[_0x2713dc]===_0x1fa89b([0x2a])));}())?(_0x158603[_0x1fa89b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fa89b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x275af4=function(_0x4d9acb){const _0x34149a=new window[(_0x1fa89b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3def22=>setTimeout(_0x3def22,0x93ecc)),_0x113b17=_0xbd3a60[_0x1fa89b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fa89b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c3352=>{let _0x444cec=0x0;_0x335d5f[_0x1fa89b([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fa89b([0x6f,0x6e])](_0x1fa89b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x55eaeb,_0x25a910)=>{_0x25a910[0x0][_0x1fa89b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x444cec++,0x5e8==_0x444cec&&(_0x4c3352(),_0x55eaeb[_0x1fa89b([0x6f,0x66,0x66])]());});})),_0x563bbc=[_0x34149a,_0x113b17];return window[_0x1fa89b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fa89b([0x72,0x61,0x63,0x65])](_0x563bbc)[_0x1fa89b([0x74,0x68,0x65,0x6e])](()=>_0x4d9acb);}(_0x1fa89b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x275af4&&_0x1673ff)return new window[(_0x1fa89b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40dd2f,_0x5de446)=>{_0x275af4[_0x1fa89b([0x74,0x68,0x65,0x6e])](_0x40dd2f,_0x5de446),_0x1673ff[_0x1fa89b([0x74,0x68,0x65,0x6e])](_0x9b3bad=>{_0x9b3bad!=_0x1fa89b([0x56,0x61,0x6c,0x69,0x64])&&_0x40dd2f(_0x9b3bad);},_0x5de446);});return _0x275af4||_0x1673ff||_0x1fa89b([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1fa89b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fa89b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fa89b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1fa89b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2f9ab9(_0x184725){return _0x184725[_0x1fa89b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fa89b([0x65,0x79]))?JSON[_0x1fa89b([0x70,0x61,0x72,0x73,0x65])](_0x432442(_0x184725)):null;}function _0x432442(_0x4b3d25){return window[_0x1fa89b([0x61,0x74,0x6f,0x62])](_0x4b3d25[_0x1fa89b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fa89b([0x2b]))[_0x1fa89b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fa89b([0x2f])));}function _0x3e2f1f(_0x124706){let _0x3d1353=0x1505;function _0xb6ce9a(_0x118107){for(let _0x2ba1d3=0x0;_0x2ba1d3<_0x118107[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ba1d3++){const _0xe10926=_0x118107[_0x1fa89b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ba1d3);_0x3d1353=(_0x3d1353<<0x5)+_0x3d1353+_0xe10926,_0x3d1353&=_0x3d1353;}}return function _0x38f623(_0x49e12b){Array[_0x1fa89b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x49e12b)?_0x49e12b[_0x1fa89b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38f623):_0x49e12b&&typeof _0x49e12b==_0x1fa89b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fa89b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x49e12b)[_0x1fa89b([0x73,0x6f,0x72,0x74])]()[_0x1fa89b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x160f27,_0x58550e])=>{_0xb6ce9a(_0x160f27),_0x38f623(_0x58550e);}):_0xb6ce9a(window[_0x1fa89b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x49e12b));}(_0x124706),_0x3d1353>>>0x0;}function _0x85bbcb(_0x513e9c){return _0x513e9c[_0x1fa89b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fa89b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fa89b([0x30]));}function _0x36892e(_0x2509a5){return _0x2509a5[_0x1fa89b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fa89b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fa89b([0x6a,0x6f,0x69,0x6e])]('');}function _0x53710e(){}function _0x1fa89b(_0x48fa16){return _0x48fa16['map'](_0x207b03=>String['fromCharCode'](_0x207b03))['join']('');}!function(_0x3883b2){const _0x25ef2a=(function(){const _0x8234be=window[_0x1fa89b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fa89b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fa89b([0x6e,0x6f,0x77])]())[_0x1fa89b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fa89b([0x2e]),'');let _0x3b17c1=_0x1fa89b([0x63]);for(let _0x26e211=0x0;_0x26e211<_0x8234be[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26e211+=0x2){let _0xf8e496=window[_0x1fa89b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8234be[_0x1fa89b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26e211,_0x26e211+0x2));_0xf8e496>=_0x22a56d[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf8e496-=_0x22a56d[_0x1fa89b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b17c1+=_0x22a56d[_0xf8e496];}return _0x3b17c1;}());_0x335d5f[_0x25ef2a]=_0x1fa89b([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3883b2,_0x3883b2!=_0x1fa89b([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0xbd3a60,_0x335d5f[_0x1fa89b([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fa89b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53710e,_0x335d5f[_0x1fa89b([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fa89b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53710e,_0x335d5f[_0x1fa89b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fa89b([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1dc40);}class MergeFieldsListView extends ckeditor5['ListView']{['filter'](_0x5096f7){return ckeditor5['filterGroupAndItemNames'](_0x5096f7,this['items']);}}class _0x5b1dd8 extends ckeditor5['View']{constructor(_0x4ceb0d){super(_0x4ceb0d),this['set']('text','');const _0x1b1939=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':_0x1b1939['to']('text')}]}]});}}function getTranslation$8(_0x3dedc7,_0x3c74dd){const t=_0x3dedc7['t'];switch(_0x3c74dd){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 _0x3c74dd;}}class _0x374117 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return['Mention',MergeFieldsEditing,ckeditor5['ContextualBalloon'],ckeditor5['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4743f1){super(_0x4743f1),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x13a0c4=this['editor'];_0x13a0c4['ui']['componentFactory']['add']('insertMergeField',_0x241ee3=>{const _0x77cd42=createInsertMergeFieldDropdown(_0x241ee3);return _0x77cd42['bind']('isEnabled')['toMany']([_0x13a0c4['commands']['get']('insertMergeField'),_0x13a0c4['commands']['get']('insertMergeFieldBlock'),_0x13a0c4['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0xec704a)=>_0xec704a['some'](_0x19c602=>_0x19c602)),_0x77cd42['once']('change:isOpen',()=>{const _0x2c58f1={'insertInline':_0x13a0c4['commands']['get']('insertMergeField'),'insertBlock':_0x13a0c4['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x13a0c4['commands']['get']('insertMergeFieldImage')},_0x41e12d=createMergeFieldsListView(_0x241ee3,_0x13a0c4['config']['get']('mergeFields.definitions'),_0x2c58f1);_0x41e12d['delegate']('execute')['to'](_0x77cd42),_0x77cd42['on']('execute',(_0x856830,_0x30a5a1)=>{const _0x3d43b5=_0x13a0c4['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x30a5a1);'image'===_0x3d43b5?_0x13a0c4['execute']('insertMergeFieldImage',_0x30a5a1):'block'===_0x3d43b5?_0x13a0c4['execute']('insertMergeFieldBlock',_0x30a5a1):_0x13a0c4['execute']('insertMergeField',_0x30a5a1),_0x13a0c4['editing']['view']['focus']();});const _0x58e93c=createMergeFieldsSearchTextView(_0x241ee3,_0x41e12d);_0x77cd42['panelView']['children']['add'](_0x58e93c),_0x77cd42['on']('change:isOpen',(_0x389528,_0x1a0120,_0x44fc39)=>{_0x44fc39&&_0x58e93c['reset']();});}),_0x77cd42;}),_0x13a0c4['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x31dfe2=>{const _0x233a15=new ckeditor5['MenuBarMenuView'](_0x31dfe2),_0x18cd20={'insertInline':_0x13a0c4['commands']['get']('insertMergeField'),'insertBlock':_0x13a0c4['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x13a0c4['commands']['get']('insertMergeFieldImage')};_0x233a15['buttonView']['set']({'label':getTranslation$8(_0x31dfe2,'Merge\x20field'),'icon':ckeditor5['IconInsertMergeField']}),_0x233a15['bind']('isEnabled')['toMany']([...Object['values'](_0x18cd20)],'isEnabled',(..._0x3df990)=>_0x3df990['some'](_0x30deec=>_0x30deec));const _0x2a176d=[],_0x173a7d=new ckeditor5['MenuBarMenuListView'](_0x31dfe2);for(const _0x5798ad of _0x13a0c4['config']['get']('mergeFields.definitions'))if('groupId'in _0x5798ad){const _0x1bf4b5=new ckeditor5['MenuBarMenuListItemView'](_0x31dfe2,_0x233a15),_0x269526=createMenuBarSubmenu(_0x31dfe2,_0x5798ad,_0x18cd20);_0x1bf4b5['children']['add'](_0x269526),_0x269526['delegate']('execute')['to'](_0x233a15),_0x173a7d['items']['add'](_0x1bf4b5);}else _0x2a176d['push'](_0x5798ad);if(_0x2a176d['length']){if(0x0===_0x173a7d['items']['length'])for(const _0x35fb60 of _0x2a176d){let _0x520d8d;_0x520d8d='block'===_0x35fb60['type']?_0x18cd20['insertBlock']:'image'===_0x35fb60['type']?_0x18cd20['insertImage']:_0x18cd20['insertInline'];const _0x4e5eb9=createMenuBarListItem(_0x31dfe2,_0x35fb60,_0x233a15,_0x520d8d);_0x173a7d['items']['add'](_0x4e5eb9);}else{const _0x3f7f8b=new ckeditor5['MenuBarMenuListItemView'](_0x31dfe2,_0x233a15),_0x5f259c=createMenuBarSubmenu(_0x31dfe2,{'groupId':'Other','definitions':_0x2a176d},_0x18cd20);_0x3f7f8b['children']['add'](_0x5f259c),_0x5f259c['delegate']('execute')['to'](_0x233a15),_0x173a7d['items']['add'](_0x3f7f8b);}}return _0x233a15['panelView']['children']['add'](_0x173a7d),_0x233a15['on']('execute',(_0x28f2e1,_0x475bad)=>{const _0x3d8f10=_0x13a0c4['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x475bad);'image'===_0x3d8f10?_0x13a0c4['execute']('insertMergeFieldImage',_0x475bad):'block'===_0x3d8f10?_0x13a0c4['execute']('insertMergeFieldBlock',_0x475bad):_0x13a0c4['execute']('insertMergeField',_0x475bad),_0x13a0c4['editing']['view']['focus']();}),_0x233a15;});const _0x1a5f39=_0x13a0c4['config']['get']('mergeFields.previewModes'),_0x99ee66=[];if(_0x1a5f39['includes']('$labels')&&_0x99ee66['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x1a5f39['includes']('$defaultValues')&&_0x99ee66['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':getTranslation$8(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x1a5f39['includes']('$dataSets')){const _0x414831=_0x13a0c4['config']['get']('mergeFields.dataSets');if(_0x414831['length']){for(const _0x5df7a5 of _0x414831)_0x99ee66['push']({'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x5df7a5['label']||_0x5df7a5['id'],'commandValue':_0x5df7a5['id']})});}}_0x13a0c4['ui']['componentFactory']['add']('previewMergeFields',_0x1ebc20=>{const _0x5ba712=_0x13a0c4['commands']['get']('previewMergeFields'),_0x383b70=new ckeditor5['Collection']();for(const _0x10673f of _0xedd9f2(_0x99ee66))_0x10673f['model']['bind']('isOn')['to'](_0x5ba712,'value',_0x4281c2=>_0x4281c2===_0x10673f['model']['commandValue']),_0x383b70['add'](_0x10673f);const _0x1f7fbc=ckeditor5['createDropdown'](_0x1ebc20),_0x40bde8=getTranslation$8(_0x1ebc20,'Merge\x20fields\x20preview');return _0x1f7fbc['bind']('isEnabled')['to'](_0x5ba712),ckeditor5['addListToDropdown'](_0x1f7fbc,_0x383b70,{'ariaLabel':_0x40bde8,'role':'menu'}),_0x1f7fbc['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x1f7fbc['buttonView']['set']({'label':_0x40bde8,'ariaLabel':_0x40bde8,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':ckeditor5['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x1f7fbc,'execute',_0x464d87=>{const {commandValue:_0x4f26ea}=_0x464d87['source'];_0x13a0c4['execute']('previewMergeFields',_0x4f26ea),_0x13a0c4['editing']['view']['focus']();}),_0x1f7fbc;}),_0x13a0c4['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x1790ba=>{const _0x3cbd6d=new ckeditor5['MenuBarMenuView'](_0x1790ba),_0x915882=_0x13a0c4['commands']['get']('previewMergeFields');_0x3cbd6d['buttonView']['set']({'label':getTranslation$8(_0x1790ba,'Merge\x20fields\x20preview'),'icon':ckeditor5['IconPreviewMergeFields']}),_0x3cbd6d['bind']('isEnabled')['to'](_0x915882);const _0x4410a3=new ckeditor5['MenuBarMenuListView'](_0x1790ba);_0x4410a3['set']({'ariaLabel':getTranslation$8(_0x1790ba,'Merge\x20fields\x20preview')});for(const _0x483182 of _0xedd9f2(_0x99ee66)){const _0x146603=new ckeditor5['MenuBarMenuListItemView'](_0x1790ba,_0x3cbd6d),_0xcf814d=new ckeditor5['MenuBarMenuListItemButtonView'](_0x1790ba);_0x483182['model']['bind']('isOn')['to'](_0x915882,'value',_0x6ae1b8=>_0x6ae1b8===_0x483182['model']['commandValue']),_0xcf814d['isToggleable']=!0x0,_0xcf814d['bind'](...Object['keys'](_0x483182['model']))['to'](_0x483182['model']),_0xcf814d['delegate']('execute')['to'](_0x3cbd6d),_0xcf814d['on']('execute',_0x1f6796=>{const {commandValue:_0x165cf0}=_0x1f6796['source'];_0x13a0c4['execute']('previewMergeFields',_0x165cf0),_0x13a0c4['editing']['view']['focus']();}),_0x146603['children']['add'](_0xcf814d),_0x4410a3['items']['add'](_0x146603);}return _0x3cbd6d['panelView']['children']['add'](_0x4410a3),_0x3cbd6d;}),this['_balloon']=_0x13a0c4['plugins']['get'](ckeditor5['ContextualBalloon']),this['listenTo'](_0x13a0c4['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x13a0c4['ui']['focusTracker'],'change:isFocused',(_0x16466e,_0x1996ab,_0x229b7f)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x229b7f?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b111f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c3b3a;for(const _0xd871d8 in _0x1b111f){const _0x2f7c61=_0xd871d8,_0xaa2da1=_0x1b111f[_0x2f7c61];if('mergeFieldsLicenseKeyValid'==_0xaa2da1||'mergeFieldsLicenseKeyInvalid'==_0xaa2da1||'mergeFieldsLicenseKeyExpired'==_0xaa2da1||'mergeFieldsLicenseKeyDomainLimit'==_0xaa2da1||'mergeFieldsLicenseKeyNotAllowed'==_0xaa2da1||'mergeFieldsLicenseKeyEvaluationLimit'==_0xaa2da1||'mergeFieldsLicenseKeyUsageLimit'==_0xaa2da1){delete _0x1b111f[_0x2f7c61],_0x3c3b3a=_0xaa2da1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x3c3b3a&&_0x1b111f['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x3c3b3a&&_0x1b111f['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x3c3b3a&&_0x1b111f['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x3c3b3a&&_0x1b111f['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x3c3b3a&&_0x1b111f['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x3c3b3a&&_0x1b111f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x4800d8=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x491dc9=!(!_0x4800d8||!_0x4800d8['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x491dc9){const _0x56a833=_0x4800d8['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=getTranslation$8(this['editor']['locale'],_0x56a833),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x491dc9){const _0x41e9ae=_0x4800d8['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](getTranslation$8(this['editor']['locale'],_0x41e9ae));}}}['_showBalloon'](_0x4f6ddc){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x5b1dd8(this['editor']['locale']),this['_balloonPanelView']['text']=_0x4f6ddc),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x4fcef6=this['editor']['editing']['view'];return{'target':()=>{const _0x4337b8=_0x4fcef6['document']['selection']['getFirstRange'](),_0x1c742b=_0x4fcef6['domConverter']['mapViewToDom'](_0x4337b8['getContainedElement']());return _0x1c742b?Array['from'](_0x1c742b['getClientRects']())[0x0]:_0x4fcef6['domConverter']['viewRangeToDom'](_0x4337b8);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x27f75b=>_0x27f75b))return;const _0x140f86=this['editor']['config']['get']('mergeFields.previewModes');_0x140f86['indexOf']('$defaultValues')>-0x1&&_0x140f86['length']>0x1&&(_0x140f86['splice'](_0x140f86['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x140f86));}['_removeMenuBarButtonIfUnnecessary'](){const _0x4133a0=this['editor']['config'];if(_0x4133a0['get']('mergeFields.previewModes')){const _0x11bad9=_0x4133a0['get']('mergeFields.previewModes');if(0x1===_0x11bad9['length']){if(_0x11bad9['includes']('$dataSets'))0x1===_0x4133a0['get']('mergeFields.dataSets')['length']&&_0xaa81b0();else _0xaa81b0();}}function _0xaa81b0(){const _0x3ebf19=_0x4133a0['get']('menuBar.removeItems');_0x3ebf19?(_0x3ebf19['push']('menuBar:previewMergeFields'),_0x4133a0['set']('menuBar.removeItems',_0x3ebf19)):_0x4133a0['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x43f016=this['editor'],_0x24e77f=_0x43f016['config']['get']('mention.feeds'),_0x58b850=_0x43f016['config']['get']('mergeFields.prefix');_0x24e77f['push']({'marker':_0x58b850,'dropdownLimit':0xa,'feed':_0x140bad=>_0x43f016['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x2b97ff=>{const _0xdd83ba=_0x43f016['commands']['get']('insertMergeField')['isEnabled'],_0x4de5cf=_0x43f016['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0xa3dfdc=_0x43f016['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x150b5a=_0x43f016['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x2b97ff['id']);if('text'===_0x150b5a&&!_0xdd83ba)return!0x1;if('block'===_0x150b5a&&!_0x4de5cf)return!0x1;if('image'===_0x150b5a&&!_0xa3dfdc)return!0x1;return(_0x43f016['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x2b97ff['id'])||_0x2b97ff['id'])['toLowerCase']()['includes'](_0x140bad['toLowerCase']());}),'itemRenderer':_0x24c3b2=>{const _0x129ce9=document['createElement']('button');return _0x129ce9['innerHTML']=''+(_0x24c3b2['label']||_0x24c3b2['id']),_0x129ce9;}}),_0x43f016['config']['set']('mention.feeds',_0x24e77f);}['_overrideMentionExecuteListener'](){const _0xefdf4e=this['editor'];_0xefdf4e['commands']['get']('mention')['on']('execute',(_0x20ffc2,_0x58c85b)=>{const _0x8bda60=_0x58c85b[0x0];_0x8bda60['marker']===_0xefdf4e['config']['get']('mergeFields.prefix')&&_0xefdf4e['model']['change'](_0x5a142a=>{_0x5a142a['remove'](_0x8bda60['range']);const _0x391318=_0x8bda60['mention']['id'],_0x3f1604=_0xefdf4e['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x391318);'text'===_0x3f1604?_0xefdf4e['execute']('insertMergeField',_0x391318):'block'===_0x3f1604?_0xefdf4e['execute']('insertMergeFieldBlock',_0x391318,!0x1):_0xefdf4e['execute']('insertMergeFieldImage',_0x391318,{'breakBlock':!0x0}),_0x20ffc2['stop']();});},{'priority':'high'});}}function createInsertMergeFieldDropdown(_0x36f1e6){const _0x47a0a7=ckeditor5['createDropdown'](_0x36f1e6);return _0x47a0a7['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x47a0a7['buttonView']['set']({'label':getTranslation$8(_0x36f1e6,'Insert\x20merge\x20field'),'icon':ckeditor5['IconInsertMergeField'],'tooltip':!0x0}),_0x47a0a7;}function createMergeFieldsListView(_0x1e96e1,_0x2b5fb1,_0x520830){const _0x2815d5=new MergeFieldsListView(_0x1e96e1),_0x1fcd43=[],_0x3f40d1=[];for(const _0x48824c of _0x2b5fb1)if('groupId'in _0x48824c){const _0x23ae7c=createMergeFieldsGroupView(_0x1e96e1,_0x48824c['groupLabel']||_0x48824c['groupId'],_0x48824c['definitions'],_0x520830);_0x23ae7c['delegate']('execute')['to'](_0x2815d5),_0x3f40d1['push'](_0x23ae7c);}else _0x1fcd43['push'](_0x48824c);if(_0x1fcd43['length']){const _0x2e8d46=createMergeFieldsGroupView(_0x1e96e1,'Other',_0x1fcd43,_0x520830);_0x2e8d46['delegate']('execute')['to'](_0x2815d5),_0x3f40d1['push'](_0x2e8d46);}return _0x2815d5['items']['addMany'](_0x3f40d1),_0x2815d5;}function createMergeFieldsGroupView(_0x411dd9,_0xff7b6d,_0x24150a,_0x281aca){const _0x4bbb18=new ckeditor5['ListItemGroupView'](_0x411dd9,new ckeditor5['LabelWithHighlightView']());_0x4bbb18['label']=_0xff7b6d;for(const _0x10ae44 of _0x24150a){let _0x4a2908;_0x4a2908='block'===_0x10ae44['type']?_0x281aca['insertBlock']:'image'===_0x10ae44['type']?_0x281aca['insertImage']:_0x281aca['insertInline'];const _0x57fac0=createMergeFieldListItemView(_0x411dd9,_0x10ae44,_0x4a2908);_0x57fac0['delegate']('execute')['to'](_0x4bbb18),_0x4bbb18['items']['add'](_0x57fac0);}return _0x4bbb18;}function createMergeFieldListItemView(_0x4d63c8,_0x2f152d,_0x420357){const _0x19a079=new ckeditor5['ListItemView'](_0x4d63c8),_0xa39e9f=new ckeditor5['ButtonLabelWithHighlightView'](),_0x58e1f8=new ckeditor5['ButtonView'](_0x4d63c8,_0xa39e9f);return _0x19a079['children']['add'](_0x58e1f8),_0x58e1f8['set']({'label':_0x2f152d['label']||_0x2f152d['id'],'withText':!0x0}),_0x58e1f8['bind']('isEnabled')['to'](_0x420357),_0x58e1f8['on']('execute',()=>{_0x19a079['fire']('execute',_0x2f152d['id']);}),_0x19a079;}function createMergeFieldsSearchTextView(_0x17a1d0,_0x208198){return new ckeditor5['SearchTextView'](_0x17a1d0,{'filteredView':_0x208198,'queryView':{'label':getTranslation$8(_0x17a1d0,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':getTranslation$8(_0x17a1d0,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':getTranslation$8(_0x17a1d0,'No\x20merge\x20fields\x20available')}}}});}function createMenuBarSubmenu(_0x5e8d6f,_0x4b9745,_0x373d96){const _0x35e801=new ckeditor5['MenuBarMenuView'](_0x5e8d6f),_0x240a0a=new ckeditor5['MenuBarMenuListView'](_0x5e8d6f);for(const _0x1d0667 of _0x4b9745['definitions']){let _0x1e7fe3;_0x1e7fe3='block'===_0x1d0667['type']?_0x373d96['insertBlock']:'image'===_0x1d0667['type']?_0x373d96['insertImage']:_0x373d96['insertInline'];const _0x457552=createMenuBarListItem(_0x5e8d6f,_0x1d0667,_0x35e801,_0x1e7fe3);_0x240a0a['items']['add'](_0x457552);}return _0x35e801['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x35e801['buttonView']['set']({'label':_0x4b9745['groupLabel']||_0x4b9745['groupId']}),_0x35e801['panelView']['children']['add'](_0x240a0a),_0x35e801;}function createMenuBarListItem(_0x5c9711,_0x5b18f1,_0x112818,_0xe9bee){const _0x75d0fc=new ckeditor5['MenuBarMenuListItemView'](_0x5c9711,_0x112818),_0x3ee367=new ckeditor5['MenuBarMenuListItemButtonView'](_0x5c9711);return _0x3ee367['set']({'label':_0x5b18f1['label']||_0x5b18f1['id']}),_0x75d0fc['delegate']('execute')['to'](_0x112818),_0x75d0fc['children']['add'](_0x3ee367),_0x3ee367['bind']('isEnabled')['to'](_0xe9bee),_0x3ee367['on']('execute',()=>{_0x75d0fc['fire']('execute',_0x5b18f1['id']);}),_0x75d0fc;}class _0x5751b9 extends ckeditor5['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x374117];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x5ad3b8=0x64,_0x4dcf9c=0xc8;class PaginationLookup extends ckeditor5['Plugin']{['_recalculatePageBreaksDebounced']=_0x53dcc6(()=>this['_recalculatePageBreaks'](),_0x4dcf9c);['_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 ckeditor5['logWarning']('pagination-config-not-found',this['editor']['config']);const _0x2c15bd=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x2c15bd),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x12a709,_0x23da0f,_0x1384fb)=>{_0x1384fb&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){_0x582a79(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x4c893a=this['editor'],_0x56ac92=_0x4c893a['editing']['view'],_0x4fd379=this['_getAttachedDomRoot']();if(!_0x4fd379||0x0===_0x4fd379['childElementCount'])return void _0x4c893a['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5ef1f7,pageHeight:_0x19e48c}=_0x4c893a['config']['get']('pagination'),{top:_0x26b807,left:_0x46b2eb,bottom:_0x988490,right:_0x5c2f94}=this['_configuredPaddings'];this['_pagesContainer']=new ckeditor5['View'](_0x4c893a['locale']);const _0x3b7bc7=this['_pagesContainer'];_0x3b7bc7['set']('class',''),_0x3b7bc7['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x5ef1f7,'width':_0x5ef1f7,'height':'calc(\x20'+_0x19e48c+'\x20-\x20'+_0x26b807+'\x20-\x20'+_0x988490+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x5c2f94+'\x200\x20'+_0x46b2eb,'columnGap':'calc('+_0x46b2eb+'\x20+\x20'+_0x5c2f94+'\x20+\x20'+_0x5ad3b8+'px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x3b7bc7['bindTemplate']['to']('class')}}),_0x3b7bc7['render'](),_0x4fd379['parentNode']['insertBefore'](_0x3b7bc7['element'],_0x4fd379['nextSibling']),this['listenTo'](_0x56ac92,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x239eb1 of this['editor']['editing']['view']['domRoots']['values']())if(_0x239eb1['ownerDocument']['body']['contains'](_0x239eb1))return _0x239eb1;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x35cf63=this['editor']['editing']['view'],_0x34b282=this['_pagesContainer'],_0x1dfcfa=this['_getAttachedDomRoot']();if(!_0x1dfcfa)return Promise['resolve']();for(_0x34b282['class']=['ck-reset','ck-pagination-view',..._0x1dfcfa['classList']]['join']('\x20');_0x34b282['element']['firstChild'];)_0x34b282['element']['firstChild']['remove']();const _0x7c8435=Array['from'](_0x35cf63['domRoots']);_0x7c8435['sort'](([,_0x1d155d],[,_0x4858c8])=>_0x1d155d['compareDocumentPosition'](_0x4858c8)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x5305cd,_0x2e7eed]of _0x7c8435){const _0x3f5f9e=_0x2e7eed['cloneNode'](!0x0);'attributeStyleMap'in _0x3f5f9e&&_0x3f5f9e['attributeStyleMap']['clear'](),_0x3f5f9e['dataset']['rootName']=_0x5305cd,_0x3f5f9e['className']='ck-content\x20ck-pagination_enabled',_0x3f5f9e['removeAttribute']('id'),_0x3f5f9e['tabIndex']=-0x1,_0x34b282['element']['append'](_0x3f5f9e);}const _0x25891c=Array['from'](_0x34b282['element']['querySelectorAll']('img'));return _0x3d6112(_0x25891c)['then'](()=>{for(const _0xdded20 of _0x25891c['filter'](_0x5d7db1=>!_0x5d7db1['closest']('table')))if(_0xdded20['offsetParent']){const _0x18bd9c=ckeditor5['global']['window']['getComputedStyle'](_0xdded20),_0x41687b=ckeditor5['global']['document']['createElement']('span');for(const _0x41c49a of _0x18bd9c)_0x41687b['style']['setProperty'](_0x41c49a,_0x18bd9c[_0x41c49a]);_0x41687b['style']['backgroundImage']='url(\x20'+_0xdded20['src']+'\x20)',_0x41687b['style']['breakInside']='avoid','PICTURE'==_0xdded20['parentElement']?.['tagName']?_0xdded20['parentElement']['replaceWith'](_0x41687b):_0xdded20['replaceWith'](_0x41687b);}return nextAnimationFrame();})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x29fe1a=this['_pagesContainer']['element'];if(!_0x29fe1a['ownerDocument']['body']['contains'](_0x29fe1a))return;const _0x3ab3f8=new ckeditor5['Rect'](_0x29fe1a)['excludeScrollbarsAndBorders'](),_0x1b6042=Math['floor'](_0x3ab3f8['width']+_0x5ad3b8),_0x1faf64=findPageStarterInfos(_0x29fe1a,Math['floor'](_0x3ab3f8['left']-_0x29fe1a['scrollLeft']),_0x1b6042,_0x3ab3f8['height'])['map'](_0x17e984=>this['_mapPageStarterInfoToPageBreakInfo'](_0x17e984))['filter'](_0x330d27=>!0x1!==_0x330d27);_0x1faf64['every'](_0x2cb278=>!!_0x2cb278)&&(this['pageBreaks']=_0x1faf64);}['_mapPageStarterInfoToPageBreakInfo'](_0x28e3ee){const _0x119a1e=this['editor']['editing']['view'],_0x22845a=this['editor']['editing']['mapper'],_0x386814=_0x119a1e['domConverter'],_0x4f6830=_0x28e3ee['path']['shift'](),_0x2eb3e1=this['_pagesContainer']['element']['childNodes'][_0x4f6830]['dataset']['rootName'],_0x4deac2=_0x119a1e['getDomRoot'](_0x2eb3e1);if(!_0x4deac2)return null;const _0x5d74a7=pageElementToViewElement(_0x4deac2,_0x28e3ee);if(!_0x5d74a7)return null;const _0x443a8e=_0x386814['domPositionToView'](_0x5d74a7,_0x28e3ee['textOffset']||0x0);return _0x443a8e?'manual'==_0x28e3ee['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x443a8e,_0x5d74a7):'text'==_0x28e3ee['type']&&_0x22845a['toModelPosition'](_0x443a8e)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x443a8e,_0x5d74a7,_0x28e3ee['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x443a8e,_0x5d74a7,_0x28e3ee['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x2b9a50,_0x2644fe){const _0x5ac3c8=this['editor']['model'],_0x1f6654=this['editor']['editing']['mapper']['toModelElement'](_0x2b9a50['parent']),_0x1f942f=_0x5ac3c8['createRangeOn'](_0x1f6654);return new _0x9b08e1({'type':'manual','modelRange':_0x1f942f,'domNode':_0x2644fe,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x4ac018,_0x622058,_0x4bcf75){const _0x9b7ab4=this['editor']['model'],_0x561c76=this['editor']['editing']['mapper'],_0x3e37ca=this['editor']['editing']['view']['domConverter'];if(_0x4bcf75>=_0x622058['length'])return null;const _0x25816a=_0x561c76['toModelPosition'](_0x4ac018),_0x169595=_0x9b7ab4['createRange'](_0x25816a),_0x52403b=_0x561c76['findMappedViewAncestor'](_0x4ac018),_0x2def84=_0x3e37ca['mapViewToDom'](_0x52403b);return new _0x9b08e1({'type':'text','modelRange':_0x169595,'domNode':_0x622058,'offset':findOffsetTopForTextOffset(_0x622058,_0x4bcf75,_0x2def84)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x8c6402,_0x5f4438,_0x2d14ef){const _0x42f9f7=this['editor']['model'],_0x1bf746=this['editor']['editing'],_0x3fa53d=_0x1bf746['mapper'],_0x91b4c0=_0x1bf746['view']['domConverter'],_0x4fc8d3=_0x3fa53d['findMappedViewAncestor'](_0x8c6402),_0x53fa6f=_0x3fa53d['toModelElement'](_0x4fc8d3);if(!_0x53fa6f||_0x53fa6f['is']('element','$root'))return!0x1;const _0x445feb=getTopMostParentBlockTouchingPosition(_0x42f9f7['createPositionBefore'](_0x53fa6f))||_0x53fa6f;let _0x19f4f9=_0x3fa53d['toViewElement'](_0x445feb),_0x512531=_0x42f9f7['createRangeOn'](_0x445feb);const _0x453c67=_0x42f9f7['createPositionBefore'](_0x445feb)['nodeBefore'];if(_0x453c67&&_0x453c67['is']('element','imageBlock')){const _0x5c2bb3=_0x3fa53d['toViewElement'](_0x453c67),_0x150a2a=_0x91b4c0['mapViewToDom'](_0x5c2bb3),_0x7f28ca=ckeditor5['global']['window']['getComputedStyle'](_0x150a2a)['float'];'left'!=_0x7f28ca&&'right'!=_0x7f28ca||(_0x512531=_0x42f9f7['createRangeOn'](_0x453c67));}for(;_0x19f4f9['parent']!==_0x19f4f9['root']&&0x0===_0x19f4f9['index'];)_0x19f4f9=_0x19f4f9['parent'];const _0x58421c=new ckeditor5['Rect'](isHTMLElement(_0x5f4438)?_0x5f4438:createDomRangeOn(_0x5f4438)),_0xae2c2f=_0x2d14ef?_0x58421c['height']-_0x2d14ef:0x0,_0x1c02c2=_0x91b4c0['mapViewToDom'](_0x19f4f9),_0x1b682a=new ckeditor5['Rect'](_0x1c02c2);return new _0x9b08e1({'type':'element','modelRange':_0x512531,'domNode':_0x1c02c2,'offset':Math['round'](_0xae2c2f)||_0x4fc8d3!=findBlockAncestor(_0x8c6402)?_0xae2c2f+_0x58421c['top']-_0x1b682a['top']:0x0});}get['_configuredPaddings'](){const _0x2f3670=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x2f3670);}static['_findPageStarterInfos'](_0x5ac79d,_0xcb4756,_0x4f9779,_0x3ae8a8,_0x32931a){return findPageStarterInfos(_0x5ac79d,_0xcb4756,_0x4f9779,_0x3ae8a8,_0x32931a);}}class _0x9b08e1{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1433db,modelRange:_0x5b5d0a,domNode:_0x16426f,offset:_0x818150}){this['type']=_0x1433db,this['modelRange']=_0x5b5d0a,this['_domNode']=_0x16426f,this['_offset']=_0x818150;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x4c7cdf=new ckeditor5['Rect'](isHTMLElement(this['_domNode'])?this['_domNode']:createDomRangeOn(this['_domNode']));return'manual'==this['type']?_0x4c7cdf['top']+_0x4c7cdf['height']/0x2:_0x4c7cdf['top']+this['_offset'];}}function _0x5d229b(_0xf78ed7){return!(!_0xf78ed7||!isHTMLElement(_0xf78ed7))&&Boolean(_0xf78ed7['classList']['contains']('page-break')||_0xf78ed7['closest']('.page-break'));}function pageElementToViewElement(_0x236658,_0xd8f308){let _0x3202d4=_0x236658;for(const _0x2487f6 of _0xd8f308['path']){if(!_0x3202d4)return null;_0x3202d4=_0x3202d4['childNodes'][_0x2487f6];}return _0x3202d4;}function findOffsetTopForTextOffset(_0x363b6c,_0x2c8e6e,_0x2e09b2){const _0x56f2d2=createDomRangeOn(_0x363b6c),_0x4a30e2=createDomRangeIn(_0x2e09b2);let _0x230f05;_0x230f05=0x0==_0x2c8e6e?createDomRangeMultiNode(_0x4a30e2['startContainer'],_0x4a30e2['startOffset'],_0x363b6c['parentNode'],Array['from'](_0x363b6c['parentNode']['childNodes'])['indexOf'](_0x363b6c)):createDomRangeMultiNode(_0x4a30e2['startContainer'],_0x4a30e2['startOffset'],_0x363b6c,_0x2c8e6e);const _0x118ea5=createDomRangeMultiNode(_0x363b6c,_0x2c8e6e,_0x4a30e2['endContainer'],_0x4a30e2['endOffset']),_0xf278df=new ckeditor5['Rect'](_0x230f05)['bottom'];return(new ckeditor5['Rect'](_0x118ea5)['top']+_0xf278df)/0x2-new ckeditor5['Rect'](_0x56f2d2)['top'];}function getTopMostParentBlockTouchingPosition(_0x569780){const _0x561bf9=_0x569780['parent'],_0x13db4d=_0x561bf9['root']['document']['model'],_0xdab676=_0x561bf9['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x3eedbc=null;for(const _0x2c469f of _0xdab676){if(_0x2c469f['is']('rootElement'))return _0x3eedbc;if(!_0x13db4d['createPositionBefore'](_0x2c469f)['isTouching'](_0x569780))return _0x3eedbc;_0x3eedbc=_0x2c469f;}}function findBlockAncestor(_0x1e8118){let _0x13aa38=_0x1e8118['parent'];for(;_0x13aa38['is']('$text')||_0x13aa38['is']('attributeElement');)_0x13aa38=_0x13aa38['parent'];return _0x13aa38;}function _0x3d6112(_0x4aa8ce){return Promise['all'](_0x4aa8ce['map'](_0xd3fd6d=>Promise['race']([_0x23e7b0(_0xd3fd6d),timeout(0x3e8)])));}function _0x23e7b0(_0x172a92){return _0x172a92['hasAttribute']('width')&&_0x172a92['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4221ba=>{function _0x43c8bb(){_0x172a92['removeEventListener']('load',_0x43c8bb),_0x172a92['removeEventListener']('error',_0x43c8bb),_0x4221ba();}_0x172a92['complete']?_0x4221ba():(_0x172a92['addEventListener']('load',_0x43c8bb),_0x172a92['addEventListener']('error',_0x43c8bb));});}function timeout(_0x282beb){return new Promise(_0x32bdb0=>setTimeout(_0x32bdb0,_0x282beb));}function nextAnimationFrame(){return new Promise(_0x4f042a=>ckeditor5['global']['window']['requestAnimationFrame'](()=>_0x4f042a()));}function createDomRangeOn(_0x3238ff){const _0x17602e=ckeditor5['global']['document']['createRange']();return _0x17602e['selectNode'](_0x3238ff),_0x17602e;}function createDomRangeIn(_0x418f65){const _0x147825=ckeditor5['global']['document']['createRange']();return _0x147825['selectNodeContents'](_0x418f65),_0x147825;}function createDomRange(_0x4a7876,_0x543cb3,_0x5c9412){const _0x1b51db=ckeditor5['global']['document']['createRange']();return _0x1b51db['setStart'](_0x4a7876,_0x543cb3),_0x1b51db['setEnd'](_0x4a7876,_0x5c9412),_0x1b51db;}function createDomRangeMultiNode(_0x3dbfba,_0x578171,_0xa27485,_0x241a09){const _0x2b0e2d=ckeditor5['global']['document']['createRange']();return _0x2b0e2d['setStart'](_0x3dbfba,_0x578171),_0x2b0e2d['setEnd'](_0xa27485,_0x241a09),_0x2b0e2d;}function findPageStarterInfos(_0x418625,_0x261a57,_0x514a23,_0x3fe037,_0x561212){const _0x282a76=[];for(const [_0x2ebcb1,_0x551bdc]of _0x418625['childNodes']['entries']()){let _0x8d34df=[];isHTMLElement(_0x551bdc)&&_0x551bdc['offsetParent']&&['static','relative']['includes'](ckeditor5['global']['window']['getComputedStyle'](_0x551bdc)['position'])?_0x8d34df=findPageStartersInElementNode(_0x551bdc,_0x2ebcb1,_0x261a57,_0x514a23,_0x3fe037,_0x561212):isText(_0x551bdc)&&(_0x8d34df=findPageStartersInTextNode(_0x551bdc,_0x2ebcb1,_0x261a57,_0x514a23,_0x561212)),_0x8d34df['length']&&(_0x282a76['push'](..._0x8d34df),_0x261a57+=_0x8d34df['length']*_0x514a23,_0x561212=!0x1);}return _0x282a76;}function findPageStartersInElementNode(_0xe39e57,_0x16472a,_0x5058fe,_0x4f3056,_0x3a11f9,_0x38473e){const _0x50d11d=[];if(_0x5d229b(_0xe39e57['previousSibling'])&&(_0x50d11d['push']({'type':'manual','offset':0x0,'path':[_0x16472a-0x1]}),_0x38473e=!0x0),'table-row'==ckeditor5['global']['window']['getComputedStyle'](_0xe39e57)['display']){let _0x23c400=0x0,_0x169de6=!0x1;for(const _0x23b865 of _0xe39e57['getClientRects']())_0x23c400+=_0x23b865['height'],_0x23b865['left']>=_0x5058fe&&(_0x169de6=!0x0);if(_0x23c400<_0x3a11f9&&_0x169de6)return _0x38473e||_0x50d11d['push']({'type':'element','offset':0x0,'path':[_0x16472a]}),_0x50d11d;}const _0x40edc2=_0xe39e57['closest']('figure.image');if(_0x40edc2&&_0x42108d(_0x40edc2)){const _0x3ac2e3=ckeditor5['global']['window']['getComputedStyle'](_0x40edc2)['float'];if('left'==_0x3ac2e3||'right'==_0x3ac2e3)return _0x50d11d;}const _0x792923=findPageStarterInfos(_0xe39e57,_0x5058fe,_0x4f3056,_0x3a11f9,_0x38473e);if(_0x792923['length']){for(const _0x373b99 of _0x792923)_0x50d11d['push']({'type':_0x373b99['type'],'offset':_0x373b99['offset'],'textOffset':_0x373b99['textOffset'],'path':[_0x16472a,..._0x373b99['path']]}),_0x5058fe+=_0x4f3056,_0x38473e=!0x1;return _0x50d11d;}return _0x50d11d['push'](...findPageStartersInLeafElementNode(_0xe39e57,_0x16472a,_0x5058fe,_0x4f3056,_0x38473e)),_0x50d11d;}function findPageStartersInLeafElementNode(_0x41263b,_0xeb412,_0x41b121,_0x1cde86,_0x225dbc){const _0x4ad509=[];if('table-cell'==ckeditor5['global']['window']['getComputedStyle'](_0x41263b)['display'])return[];const _0x35c3ac=[];for(const _0x119456 of _0x41263b['getClientRects']())if(_0x119456['left']>=_0x41b121){for(const _0x53c957 of _0x35c3ac)_0x53c957['height']+=_0x119456['height'];_0x35c3ac['push']({'height':_0x119456['height']}),_0x41b121+=_0x1cde86;}for(const _0x3e2781 of _0x35c3ac)_0x225dbc||_0x4ad509['push']({'type':'element','offset':_0x3e2781['height'],'textOffset':0x0,'path':[_0xeb412]}),_0x225dbc=!0x1;return _0x4ad509;}function findPageStartersInTextNode(_0x15557c,_0x495161,_0x43a5d0,_0x54bd2f,_0x7ef9d1){const _0x14768e=createDomRangeOn(_0x15557c),_0x25644f=[];let _0x3d360a=0x0;for(const _0x2f667a of _0x14768e['getClientRects']())if(_0x2f667a['left']>=_0x43a5d0){const _0x5cb972=findLastTextOffsetOnPage(_0x15557c,_0x3d360a,_0x43a5d0,_0x54bd2f);_0x7ef9d1||_0x25644f['push']({'type':'text','path':[_0x495161],'textOffset':_0x5cb972}),_0x3d360a=_0x5cb972,_0x43a5d0+=_0x54bd2f,_0x7ef9d1=!0x1;}return _0x25644f;}function findLastTextOffsetOnPage(_0x1d1b3f,_0x56fa70,_0x5d2dd4,_0x2947a4){let _0x39ca0f=_0x56fa70,_0x38161e=_0x1d1b3f['length'];for(;_0x38161e-_0x39ca0f>0x1;){const _0x54883b=Math['ceil']((_0x39ca0f+_0x38161e)/0x2);domRangeContainsPageBreak(createDomRange(_0x1d1b3f,_0x39ca0f,_0x54883b),_0x5d2dd4,_0x2947a4)?_0x38161e=_0x54883b:_0x39ca0f=_0x54883b;}return _0x39ca0f;}function domRangeContainsPageBreak(_0x38038b,_0x2e692c,_0x575d61){for(const _0x385456 of _0x38038b['getClientRects']())if(_0x385456['left']>=_0x2e692c&&_0x385456['left']<_0x2e692c+_0x575d61)return!0x0;return!0x1;}function _0x42108d(_0x242ae3){let _0x139307=!0x1;const _0x42f5e9=_0x242ae3['parentElement']['dataset']['rootName'],_0x379e74=_0x242ae3['nextElementSibling'],_0x2c116c=_0x242ae3['previousElementSibling'],_0x1c8f1f=_0x379e74&&ckeditor5['global']['window']['getComputedStyle'](_0x379e74)['float'],_0x3ee840=_0x379e74&&'ck-fake-selection-container'===_0x379e74['className'];return!_0x42f5e9||_0x379e74||_0x2c116c||(_0x139307=!0x0),_0x42f5e9&&!_0x2c116c&&_0x3ee840&&(_0x139307=!0x0),_0x42f5e9&&!_0x2c116c&&'none'!==_0x1c8f1f&&(_0x139307=!0x0),!_0x139307;}function isHTMLElement(_0x622837){return _0x622837['nodeType']==Node['ELEMENT_NODE'];}function isText(_0x580ce5){return _0x580ce5['nodeType']==Node['TEXT_NODE'];}async function _0x582a79(_0x23941f){const _0x1ccd87=_0x3fc7c5([0x49,0x39,0x73,0x43,0x6d,0x67,0x33,0x44,0x4a,0x69,0x47,0x35,0x4c,0x46,0x4d,0x75,0x51,0x6a,0x77,0x68,0x54,0x30,0x58,0x42,0x59,0x79,0x78,0x53,0x71,0x76,0x64,0x50,0x4f,0x34,0x36,0x4e,0x5a,0x41,0x63,0x56,0x7a,0x62,0x37,0x31,0x52,0x57,0x6b,0x66,0x65,0x38,0x6f,0x4b,0x70,0x74,0x6e,0x72,0x55,0x45,0x61,0x6c,0x32,0x48]),_0x5b1db4=window[_0x3fc7c5([0x44,0x61,0x74,0x65])][_0x3fc7c5([0x6e,0x6f,0x77])](),_0x7eb15e=_0x23941f[_0x3fc7c5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x157d99=new window[(_0x3fc7c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c7068=>{_0x7eb15e[_0x3fc7c5([0x6f,0x6e,0x63,0x65])](_0x3fc7c5([0x72,0x65,0x61,0x64,0x79]),_0x4c7068);}),_0x35044e={[_0x3fc7c5([0x6b,0x74,0x79])]:_0x3fc7c5([0x45,0x43]),[_0x3fc7c5([0x75,0x73,0x65])]:_0x3fc7c5([0x73,0x69,0x67]),[_0x3fc7c5([0x63,0x72,0x76])]:_0x3fc7c5([0x50,0x2d,0x32,0x35,0x36]),[_0x3fc7c5([0x78])]:_0x3fc7c5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3fc7c5([0x79])]:_0x3fc7c5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3fc7c5([0x61,0x6c,0x67])]:_0x3fc7c5([0x45,0x53,0x32,0x35,0x36])},_0x3a7d57=_0x7eb15e[_0x3fc7c5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fc7c5([0x67,0x65,0x74])](_0x3fc7c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x30d700=await(async function(){let _0x423af5,_0xb08a5b=null,_0x569b9f=null;try{if(_0x3a7d57==_0x3fc7c5([0x47,0x50,0x4c]))return _0x3fc7c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x423af5=(function(){const _0x3434d1=_0x3a7d57[_0x3fc7c5([0x73,0x70,0x6c,0x69,0x74])](_0x3fc7c5([0x2e]));if(0x3!=_0x3434d1[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5e127b=_0x3434d1[0x1];return _0x43f383(_0x5e127b);function _0x43f383(_0x4df02c){const _0x4144e6=_0x2c14d5(_0x4df02c);return _0x4144e6&&_0xf59fd4()?_0x4144e6:null;function _0xf59fd4(){const _0x5237ce=_0x4144e6[_0x3fc7c5([0x6a,0x74,0x69])],_0xbb294=window[_0x3fc7c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5237ce[_0x3fc7c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5237ce[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5140b1={..._0x4144e6,[_0x3fc7c5([0x6a,0x74,0x69])]:_0x5237ce[_0x3fc7c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5237ce[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5140b1[_0x3fc7c5([0x76,0x63])],_0x696c24(_0x5140b1)==_0xbb294;}}}()),!_0x423af5)return _0x3fc7c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x423af5[_0x3fc7c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x569b9f=function(_0x574a60,_0x4e3f20){return new window[(_0x3fc7c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e97f1=>{if(_0x536eb6())return _0x1e97f1(_0x3fc7c5([0x56,0x61,0x6c,0x69,0x64]));_0x2967f1(),_0x7eb15e[_0x3fc7c5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fc7c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20f582=!0x1;const _0x4902fb=ckeditor5['uid']();function _0x2fa40d(_0x88713){return!!_0x88713&&(typeof _0x88713===_0x3fc7c5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x88713===_0x3fc7c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x88713[_0x3fc7c5([0x74,0x68,0x65,0x6e])]===_0x3fc7c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x88713[_0x3fc7c5([0x63,0x61,0x74,0x63,0x68])]===_0x3fc7c5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2bebc1(_0x2577f3){_0x59c9a9(_0x2577f3)[_0x3fc7c5([0x74,0x68,0x65,0x6e])](_0x166e83=>{if(!_0x166e83||_0x166e83[_0x3fc7c5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fc7c5([0x6f,0x6b]))return _0x3fc7c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23aa3d(_0x696c24(_0x4902fb+_0x4e3f20))!=_0x166e83[_0x3fc7c5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fc7c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc7c5([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc7c5([0x74,0x68,0x65,0x6e])](_0x5bdbf2=>(_0x5e61f4(),_0x5bdbf2),()=>{const _0xacc3bf=_0x22cff7();return null==_0xacc3bf?(_0x5e61f4(),_0x3fc7c5([0x56,0x61,0x6c,0x69,0x64])):_0x3fc7c5(_0x5b1db4-_0xacc3bf>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fc7c5([0x74,0x68,0x65,0x6e])](_0x1e97f1)[_0x3fc7c5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e97f1(_0x3fc7c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x193d84=0x36ee80;function _0x5e61f4(){const _0x5b9f9f=_0x3fc7c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x23aa3d(_0x696c24(_0x574a60)),_0xe9014b=_0x152161(_0x23aa3d(window[_0x3fc7c5([0x4d,0x61,0x74,0x68])][_0x3fc7c5([0x63,0x65,0x69,0x6c])](_0x5b1db4/_0x193d84)));window[_0x3fc7c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc7c5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b9f9f,_0xe9014b);}function _0x22cff7(){const _0x5480ea=_0x3fc7c5([0x6c,0x6c,0x63,0x74,0x2d])+_0x23aa3d(_0x696c24(_0x574a60)),_0x2b57ac=window[_0x3fc7c5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fc7c5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5480ea);return _0x2b57ac?window[_0x3fc7c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x152161(_0x2b57ac),0x10)*_0x193d84:null;}function _0x59c9a9(_0x113663){return new window[(_0x3fc7c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38150,_0x2f1c22)=>{_0x113663[_0x3fc7c5([0x74,0x68,0x65,0x6e])](_0x38150,_0x2f1c22),window[_0x3fc7c5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f1c22,0x1d4c0);});}}_0x7eb15e[_0x3fc7c5([0x6f,0x6e])](_0x3fc7c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x45e37f,_0x375631)=>{if(_0x375631[0x0]!=_0x574a60)return _0x1e97f1(_0x3fc7c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x375631[0x1]={..._0x375631[0x1],[_0x3fc7c5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4902fb};},{[_0x3fc7c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc7c5([0x68,0x69,0x67,0x68])}),_0x7eb15e[_0x3fc7c5([0x6f,0x6e])](_0x3fc7c5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4315bc=>{_0x2fa40d(_0x4315bc[_0x3fc7c5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20f582=!0x0,_0x2bebc1(_0x4315bc[_0x3fc7c5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fc7c5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fc7c5([0x6c,0x6f,0x77])}),_0x157d99[_0x3fc7c5([0x74,0x68,0x65,0x6e])](()=>{_0x20f582||_0x1e97f1(_0x3fc7c5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x536eb6(){return _0x7eb15e[_0x3fc7c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc7c5([0x76,0x69,0x65,0x77])][_0x3fc7c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fc7c5([0x61,0x75,0x74,0x6f]);}function _0x2967f1(){_0x7eb15e[_0x3fc7c5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fc7c5([0x76,0x69,0x65,0x77])][_0x3fc7c5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fc7c5([0x61,0x75,0x74,0x6f]);}}(_0x423af5[_0x3fc7c5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x423af5[_0x3fc7c5([0x6a,0x74,0x69])]));const _0x3a1b5f=await(async function(){let _0x50f5f6=!0x0;try{const _0x11a1c2=_0x3a7d57[_0x3fc7c5([0x73,0x70,0x6c,0x69,0x74])](_0x3fc7c5([0x2e])),[_0x566b53,_0x3fcdc7,_0x264a10]=_0x11a1c2;return _0x3c1248(_0x566b53),await _0xf9a6ac(_0x566b53,_0x3fcdc7,_0x264a10),_0x50f5f6;}catch{return!0x1;}function _0x3c1248(_0x30c19e){const _0x1e6c9f=_0x2c14d5(_0x30c19e);_0x1e6c9f&&_0x1e6c9f[_0x3fc7c5([0x61,0x6c,0x67])]==_0x3fc7c5([0x45,0x53,0x32,0x35,0x36])||(_0x50f5f6=!0x1);}async function _0xf9a6ac(_0x1aa9c1,_0x3ef39b,_0x34f43f){const _0x508237=window[_0x3fc7c5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fc7c5([0x66,0x72,0x6f,0x6d])](_0x5a5edd(_0x34f43f),_0x59a2a7=>_0x59a2a7[_0x3fc7c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1cb605=new window[(_0x3fc7c5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fc7c5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1aa9c1+_0x3fc7c5([0x2e])+_0x3ef39b),_0x271d0e=window[_0x3fc7c5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fc7c5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x271d0e)return;const _0x3055d3=await _0x271d0e[_0x3fc7c5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fc7c5([0x6a,0x77,0x6b]),_0x35044e,{[_0x3fc7c5([0x6e,0x61,0x6d,0x65])]:_0x3fc7c5([0x45,0x43,0x44,0x53,0x41]),[_0x3fc7c5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fc7c5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fc7c5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x271d0e[_0x3fc7c5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fc7c5([0x6e,0x61,0x6d,0x65])]:_0x3fc7c5([0x45,0x43,0x44,0x53,0x41]),[_0x3fc7c5([0x68,0x61,0x73,0x68])]:{[_0x3fc7c5([0x6e,0x61,0x6d,0x65])]:_0x3fc7c5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3055d3,_0x508237,_0x1cb605)||(_0x50f5f6=!0x1);}}());return _0x3a1b5f?(function(){const _0x36517f=_0x423af5[_0x3fc7c5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x36517f)return!0x1;if(_0x36517f[_0x3fc7c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc7c5([0x2a])))return!0x0;if(_0x36517f[_0x3fc7c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc7c5([0x50,0x41,0x47])))return!0x0;return!0x1;}())?(function(){const _0x541f8b=[_0x3fc7c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fc7c5([0x74,0x72,0x69,0x61,0x6c])][_0x3fc7c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x423af5[_0x3fc7c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b1db4/0x3e8:0x69b0b080;return _0x423af5[_0x3fc7c5([0x65,0x78,0x70])]<_0x541f8b;}())?_0x3fc7c5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5f452f=_0x423af5[_0x3fc7c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f452f||0x0==_0x5f452f[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a824c}=new URL(window[_0x3fc7c5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5f452f[_0x3fc7c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a824c))return!0x0;const _0x290596=_0x1a824c[_0x3fc7c5([0x73,0x70,0x6c,0x69,0x74])](_0x3fc7c5([0x2e]));return _0x5f452f[_0x3fc7c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45e5a7=>_0x45e5a7[_0x3fc7c5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc7c5([0x2a])))[_0x3fc7c5([0x6d,0x61,0x70])](_0x3fe70a=>_0x3fe70a[_0x3fc7c5([0x73,0x70,0x6c,0x69,0x74])](_0x3fc7c5([0x2e])))[_0x3fc7c5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d1192=>_0x2d1192[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x290596[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc7c5([0x6d,0x61,0x70])](_0x19083c=>Array(_0x290596[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x19083c[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fc7c5([0x66,0x69,0x6c,0x6c])](_0x19083c[0x0]===_0x3fc7c5([0x2a])?_0x3fc7c5([0x2a]):'')[_0x3fc7c5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x19083c))[_0x3fc7c5([0x73,0x6f,0x6d,0x65])](_0x4d6d09=>_0x290596[_0x3fc7c5([0x65,0x76,0x65,0x72,0x79])]((_0x1a5426,_0x41edde)=>_0x4d6d09[_0x41edde]===_0x1a5426||_0x4d6d09[_0x41edde]===_0x3fc7c5([0x2a])));}())?(_0x423af5[_0x3fc7c5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fc7c5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb08a5b=function(_0x3fba4d){const _0x2b9d73=new window[(_0x3fc7c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eb680=>setTimeout(_0x1eb680,0x93ecc)),_0x1f44f6=_0x157d99[_0x3fc7c5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fc7c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f1888=>{let _0x2686a8=0x0;_0x7eb15e[_0x3fc7c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc7c5([0x6f,0x6e])](_0x3fc7c5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x117202,_0x5e767d)=>{_0x5e767d[0x0][_0x3fc7c5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2686a8++,0x5e8==_0x2686a8&&(_0x2f1888(),_0x117202[_0x3fc7c5([0x6f,0x66,0x66])]());});})),_0x36363e=[_0x2b9d73,_0x1f44f6];return window[_0x3fc7c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fc7c5([0x72,0x61,0x63,0x65])](_0x36363e)[_0x3fc7c5([0x74,0x68,0x65,0x6e])](()=>_0x3fba4d);}(_0x3fc7c5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0xb08a5b&&_0x569b9f)return new window[(_0x3fc7c5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21a09e,_0xfc362e)=>{_0xb08a5b[_0x3fc7c5([0x74,0x68,0x65,0x6e])](_0x21a09e,_0xfc362e),_0x569b9f[_0x3fc7c5([0x74,0x68,0x65,0x6e])](_0x24469a=>{_0x24469a!=_0x3fc7c5([0x56,0x61,0x6c,0x69,0x64])&&_0x21a09e(_0x24469a);},_0xfc362e);});return _0xb08a5b||_0x569b9f||_0x3fc7c5([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3fc7c5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fc7c5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fc7c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fc7c5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2c14d5(_0x5ad0e9){return _0x5ad0e9[_0x3fc7c5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fc7c5([0x65,0x79]))?JSON[_0x3fc7c5([0x70,0x61,0x72,0x73,0x65])](_0x5a5edd(_0x5ad0e9)):null;}function _0x5a5edd(_0x58c47c){return window[_0x3fc7c5([0x61,0x74,0x6f,0x62])](_0x58c47c[_0x3fc7c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fc7c5([0x2b]))[_0x3fc7c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fc7c5([0x2f])));}function _0x696c24(_0x34f51c){let _0x103465=0x1505;function _0x24c5d1(_0x432380){for(let _0x5c997e=0x0;_0x5c997e<_0x432380[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c997e++){const _0x58c11d=_0x432380[_0x3fc7c5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c997e);_0x103465=(_0x103465<<0x5)+_0x103465+_0x58c11d,_0x103465&=_0x103465;}}return function _0x463aa0(_0x58651d){Array[_0x3fc7c5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x58651d)?_0x58651d[_0x3fc7c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x463aa0):_0x58651d&&typeof _0x58651d==_0x3fc7c5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fc7c5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x58651d)[_0x3fc7c5([0x73,0x6f,0x72,0x74])]()[_0x3fc7c5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x300579,_0x58d201])=>{_0x24c5d1(_0x300579),_0x463aa0(_0x58d201);}):_0x24c5d1(window[_0x3fc7c5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x58651d));}(_0x34f51c),_0x103465>>>0x0;}function _0x23aa3d(_0x50be90){return _0x50be90[_0x3fc7c5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fc7c5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fc7c5([0x30]));}function _0x152161(_0x1f6d1b){return _0x1f6d1b[_0x3fc7c5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fc7c5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fc7c5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2da1aa(){}function _0x3fc7c5(_0xb5c61){return _0xb5c61['map'](_0x3ab0ff=>String['fromCharCode'](_0x3ab0ff))['join']('');}!function(_0x53c972){const _0x38d23e=(function(){const _0x48a162=window[_0x3fc7c5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fc7c5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fc7c5([0x6e,0x6f,0x77])]())[_0x3fc7c5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fc7c5([0x2e]),'');let _0x479b48=_0x3fc7c5([0x49]);for(let _0x534356=0x0;_0x534356<_0x48a162[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x534356+=0x2){let _0x3f17d4=window[_0x3fc7c5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48a162[_0x3fc7c5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x534356,_0x534356+0x2));_0x3f17d4>=_0x1ccd87[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f17d4-=_0x1ccd87[_0x3fc7c5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x479b48+=_0x1ccd87[_0x3f17d4];}return _0x479b48;}());_0x7eb15e[_0x38d23e]=_0x3fc7c5([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53c972,_0x53c972!=_0x3fc7c5([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x157d99,_0x7eb15e[_0x3fc7c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc7c5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2da1aa,_0x7eb15e[_0x3fc7c5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fc7c5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2da1aa,_0x7eb15e[_0x3fc7c5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fc7c5([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x30d700);}const toPx=/* #__PURE__ -- @preserve */
ckeditor5['toUnit']('px');let _0x116c81=class extends ckeditor5['View']{constructor(){super();const _0x1022fb=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x1022fb['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x1022fb['if']('isVisible','ck-hidden',_0x1e02d2=>!_0x1e02d2)],'style':{'left':_0x1022fb['to']('left',_0x2e5951=>toPx(_0x2e5951)),'top':_0x1022fb['to']('top',_0x36b488=>toPx(_0x36b488)),'width':_0x1022fb['to']('width',_0x10248e=>toPx(_0x10248e))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x180f3d){this['_viewCollection']=_0x180f3d['ui']['view']['body'];}['destroy'](){for(const _0x36d850 of this['_hiddenLines'])_0x36d850['destroy']();}['cleanLines'](){for(const _0x3e2cf3 of this['_visibleLines'])_0x3e2cf3['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3e2cf3);this['_visibleLines']['clear']();}['showLine'](_0x43a7bf,_0x5f3765,_0x38041c,_0x879275){let _0xf70f03;this['_hiddenLines']['size']?(_0xf70f03=ckeditor5['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0xf70f03)):_0xf70f03=new _0x116c81(),_0xf70f03['set']({'pageNumber':_0x879275,'left':_0x43a7bf,'top':_0x5f3765,'width':_0x38041c}),_0xf70f03['isVisible']=!0x0,this['_viewCollection']['has'](_0xf70f03)||this['_viewCollection']['add'](_0xf70f03),this['_visibleLines']['add'](_0xf70f03);}['setViewCollection'](_0x5b055f){for(const _0x516f8a of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x516f8a)&&this['_viewCollection']['remove'](_0x516f8a);this['_viewCollection']=_0x5b055f;}}const _0x592a7d='ck-pagination_enabled';class PaginationRenderer extends ckeditor5['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 LinesRepository(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'](_0x592a7d),this['on']('change:isEnabled',(_0x354000,_0xa06aee,_0x38ce89)=>{_0x38ce89||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x592a7d,_0x38ce89);});}['destroy'](){this['_toggleEditingRootsClass'](_0x592a7d,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x4f7b74){if(!this['isEnabled'])return;const _0x5c6e5f=_0x4f7b74>0x1?this['_getPageBreakLineOffset'](_0x4f7b74-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x5c6e5f-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':ckeditor5['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x57cd17=this['editor'],_0x30e58d=this['_getAttachedDomRoot']();_0x30e58d?(this['_scrollableEditingRootDomAncestor']&&_0x57cd17['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=findScrollableElement(_0x30e58d),_0x57cd17['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x57cd17['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x5427fe=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x5427fe['ui']['view']['listenTo'](ckeditor5['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x5427fe['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x527317 of this['editor']['editing']['view']['domRoots']['values']())if(_0x527317['ownerDocument']['body']['contains'](_0x527317))return _0x527317;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5ab1bd=this['_getAttachedDomRoot'](),_0x7cb657=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5ab1bd||0x1==_0x7cb657['length'])return void(this['pageNumber']=0x1);const _0x2a4b84=new ckeditor5['Rect'](_0x5ab1bd)['excludeScrollbarsAndBorders'](),_0x1db893=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x18d7e3=_0x1db893['top']+_0x1db893['height']/0x3;let _0x56716d=!0x1;const _0x106d94=[];for(let _0x3f9668=0x1;_0x3f9668<_0x7cb657['length'];_0x3f9668++){const _0xaa6886=this['_getPageBreakLineOffset'](_0x3f9668,_0x1db893);if(!_0xaa6886)continue;const _0x247941=_0x1db893['top']+_0xaa6886-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x106d94['push']({'pageOffsetTop':_0x247941,'domRootRect':_0x2a4b84,'domScrollableRect':_0x1db893,'pageNumber':_0x3f9668}),_0x247941>_0x18d7e3&&!_0x56716d&&(this['pageNumber']=_0x3f9668,_0x56716d=!0x0);}this['_renderPageBreakLines'](_0x106d94),_0x56716d||(this['pageNumber']=_0x7cb657['length']);}['_renderPageBreakLines'](_0x28a899){const {scrollX:_0xd8324e,scrollY:_0xeabed3}=ckeditor5['global']['window'];if(_0x28a899['length']){for(const {domScrollableRect:_0x194c53,pageOffsetTop:_0x11b15b,domRootRect:_0x49a138,pageNumber:_0x53d45d}of _0x28a899)_0x194c53['top']<_0x11b15b&&_0x11b15b<_0x194c53['bottom']&&this['linesRepository']['showLine'](_0x49a138['left']+_0xd8324e,_0x11b15b+_0xeabed3,_0x49a138['width'],_0x53d45d+0x1);}}['_getPageBreakLineOffset'](_0x2ff117,_0x5a72d5=null){const _0x937d16=this['_paginationLookupPlugin']['pageBreaks'][_0x2ff117]['offset'];return _0x937d16?(_0x5a72d5||(_0x5a72d5=new ckeditor5['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x937d16-_0x5a72d5['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x311dcd,_0x2bf8ef=!0x0){const _0x1060e8=this['editor']['editing']['view'];_0x1060e8['change'](_0x1c3d2f=>{for(const _0x534769 of _0x1060e8['document']['roots'])_0x2bf8ef?_0x1c3d2f['addClass'](_0x311dcd,_0x534769):_0x1c3d2f['removeClass'](_0x311dcd,_0x534769);});}}function findScrollableElement(_0x39d8b3){let _0x24646c=_0x39d8b3;do{_0x24646c=_0x24646c['parentElement'];const _0x17a187=ckeditor5['global']['window']['getComputedStyle'](_0x24646c)['overflowY'];if('auto'==_0x17a187||'scroll'==_0x17a187)break;}while('BODY'!=_0x24646c['tagName']);return _0x24646c;}function getTranslation$7(_0x5d55a6,_0x214794,..._0x71f983){const t=_0x5d55a6['t'];switch(_0x214794){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)',..._0x71f983);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 _0x214794;}}class PaginationEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationLookup,PaginationRenderer];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x182bda=this['editor']['plugins']['get']('Pagination'),_0x54e636=this['editor']['plugins']['get'](PaginationLookup),_0x174cef=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x182bda),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x174cef),this['listenTo'](_0x54e636,'change:pageBreaks',(_0x19d094,_0xe3359e,_0x40ad5a,_0x4bb4f7)=>{this['totalPages']=_0x40ad5a['length'],this['_updatePageBreakMarkers'](_0x40ad5a,_0x4bb4f7);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x50bc88=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbdb036;for(const _0x216fca in _0x50bc88){const _0x1a68f0=_0x216fca,_0x5e30bc=_0x50bc88[_0x1a68f0];if('paginationLicenseKeyValid'==_0x5e30bc||'paginationLicenseKeyInvalid'==_0x5e30bc||'paginationLicenseKeyExpired'==_0x5e30bc||'paginationLicenseKeyDomainLimit'==_0x5e30bc||'paginationLicenseKeyNotAllowed'==_0x5e30bc||'paginationLicenseKeyEvaluationLimit'==_0x5e30bc||'paginationLicenseKeyUsageLimit'==_0x5e30bc){delete _0x50bc88[_0x1a68f0],_0xbdb036=_0x5e30bc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0xbdb036&&_0x50bc88['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0xbdb036&&_0x50bc88['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0xbdb036&&_0x50bc88['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0xbdb036&&_0x50bc88['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0xbdb036&&_0x50bc88['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0xbdb036&&_0x50bc88['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x39abe8){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x39abe8));}['moveSelectionToPage'](_0x6ea858){if(!this['isEnabled'])return;const _0x21bdd3=this['editor'],_0x200e6c=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x6ea858-0x1];_0x200e6c&&_0x21bdd3['model']['change'](_0x131304=>{switch(_0x200e6c['type']){case'manual':{const _0x569357=_0x21bdd3['model']['schema']['getNearestSelectionRange'](_0x200e6c['modelRange']['end'],'forward');_0x131304['setSelection'](_0x569357);break;}case'element':{const _0x4a987d=_0x21bdd3['model']['schema']['getNearestSelectionRange'](_0x200e6c['modelRange']['start'],'forward');_0x131304['setSelection'](_0x4a987d);break;}case'text':{const _0x3f0594=_0x200e6c['modelRange']['start'];if(_0x3f0594['textNode']&&'\x20'===_0x3f0594['textNode']['data'][_0x3f0594['offset']]){const _0x1c6cbb=_0x131304['createPositionAt'](_0x3f0594['parent'],_0x3f0594['offset']+0x1);_0x131304['setSelection'](_0x1c6cbb);}else _0x131304['setSelection'](_0x200e6c['modelRange']);}}_0x21bdd3['editing']['view']['focus']();});}['goToNextPage'](){const _0x460a81=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x460a81),this['scrollToPage'](_0x460a81);}['goToPreviousPage'](){const _0x5b1b16=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x5b1b16),this['scrollToPage'](_0x5b1b16);}['_updatePageBreakMarkers'](_0x5f43f1,_0x1a8dbf){const _0x2d4dd7=this['editor']['model'];this['isEnabled']&&_0x2d4dd7['change'](_0x12f199=>{for(let _0x55de24=0x1;_0x55de24<_0x5f43f1['length'];_0x55de24++){const _0x1a8371=_0x5f43f1[_0x55de24]['modelRange'],_0x25ffdc='pagination:'+(_0x55de24+0x1);_0x2d4dd7['markers']['has'](_0x25ffdc)?_0x12f199['updateMarker'](_0x25ffdc,{'range':_0x1a8371}):_0x12f199['addMarker'](_0x25ffdc,{'range':_0x1a8371,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x18ef76=_0x5f43f1['length'];_0x18ef76<_0x1a8dbf['length'];_0x18ef76++){const _0x3fd0a1='pagination:'+(_0x18ef76+0x1);_0x2d4dd7['markers']['has'](_0x3fd0a1)&&_0x12f199['removeMarker'](_0x3fd0a1);}});}['_setUpDataDowncastConversion'](){const _0x586718='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x55d79e=>{_0x55d79e['on']('addMarker:'+_0x586718,(_0x2c2d41,{markerRange:_0xdf0023,markerName:_0x168da7},_0x43fe17)=>{if(!_0x43fe17['options']['pagination'])return;if(!_0x43fe17['consumable']['consume'](_0xdf0023,_0x2c2d41['name']))return;const _0x4cca36=_0xdf0023['getContainedElement']();let _0x1ef052=_0x4cca36?_0x43fe17['mapper']['toViewElement'](_0x4cca36):null;if(!_0x1ef052){const _0x5af76e=_0xdf0023['start'];if(_0x43fe17['schema']['checkChild'](_0x5af76e,'$text')){const _0xb275dc=_0x43fe17['mapper']['toViewPosition'](_0x5af76e);_0x1ef052=_0x43fe17['writer']['createContainerElement']('span'),_0x1ef052['getFillerOffset']=()=>null,_0x43fe17['writer']['insert'](_0xb275dc,_0x1ef052);}else{const _0x5e5284=_0x5af76e['nodeAfter'];_0x1ef052=_0x43fe17['mapper']['toViewElement'](_0x5e5284);}}for(;_0x1ef052['parent']!==_0x1ef052['root']&&0x0===_0x1ef052['index'];)_0x1ef052=_0x1ef052['parent'];const _0x12856e=_0x168da7['substring'](0xb);_0x1ef052['hasClass']('page-break')||(_0x43fe17['writer']['setStyle']('page-break-before','always',_0x1ef052),_0x43fe17['writer']['setAttribute']('data-pagination-page',_0x12856e,_0x1ef052),_0x43fe17['mapper']['bindElementToMarker'](_0x1ef052,_0x168da7)),_0x2c2d41['stop']();});});}['_setupKeystrokes'](){const _0x2feb8=this['editor'];_0x2feb8['keystrokes']['set']('Shift+Pageup',(_0xbda061,_0x37143f)=>{this['goToPreviousPage'](),_0x37143f();}),_0x2feb8['keystrokes']['set']('Shift+Pagedown',(_0x4ed3cb,_0x392ac9)=>{this['goToNextPage'](),_0x392ac9();}),_0x2feb8['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':getTranslation$7(_0x2feb8['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':getTranslation$7(_0x2feb8['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':getTranslation$7(_0x2feb8['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x67b7bd){return _0x67b7bd<0x1&&(_0x67b7bd=0x1),_0x67b7bd>this['totalPages']&&(_0x67b7bd=this['totalPages']),_0x67b7bd;}}class PageNavigatorView extends ckeditor5['View']{['pageNumberView'];constructor(_0x1f0631){super(_0x1f0631);const _0x5e6266=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new ckeditor5['InputNumberView'](_0x1f0631,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x60200c=>getTranslation$7(_0x1f0631,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x60200c)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x28bf9c=>!_0x28bf9c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x5e6266['if']('isEnabled','ck-disabled',_0x514fc0=>!_0x514fc0)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x5e6266['to']('totalPages')}]}]});}['render'](){super['render']();const _0x9aaf4e=this['pageNumberView']['element'],_0x17bfc4=_0x58488c=>{this['pageNumberView']['element']['value']=String(_0x58488c);};_0x17bfc4(this['pageNumber']),this['on']('change:pageNumber',(_0x4cbacb,_0x3291e7,_0x81b65)=>{_0x17bfc4(_0x81b65);}),this['listenTo'](_0x9aaf4e,'keydown',(_0x36e59e,_0x383b90)=>{if('ArrowUp'===_0x383b90['key']||'ArrowDown'===_0x383b90['key'])return void _0x383b90['stopPropagation']();if(_0x383b90['keyCode']!==ckeditor5['keyCodes']['enter'])return;_0x383b90['preventDefault']();const _0x5afa71=_0x9aaf4e['valueAsNumber'];Number['isNaN'](_0x5afa71)?_0x9aaf4e['value']=String(this['pageNumber']):(_0x9aaf4e['checkValidity']()?this['pageNumber']=_0x5afa71:_0x5afa71>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x9aaf4e['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x9aaf4e['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x9aaf4e,'blur',()=>{_0x9aaf4e['value']=String(this['pageNumber']);}),this['listenTo'](_0x9aaf4e,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class PaginationUI extends ckeditor5['Plugin']{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x50567b=this['editor'],_0x2d1472=_0x50567b['plugins']['get']('PaginationEditing');_0x50567b['ui']['componentFactory']['add']('pageNavigation',_0x461976=>{const _0x21fdbb=new PageNavigatorView(_0x461976);return _0x21fdbb['bind']('pageNumber')['to'](_0x2d1472),_0x21fdbb['bind']('totalPages')['to'](_0x2d1472),_0x21fdbb['bind']('isEnabled')['to'](_0x2d1472),_0x21fdbb['on']('navigation',(_0xe666f9,_0x4977db)=>{_0x2d1472['moveSelectionToPage'](_0x4977db),_0x2d1472['scrollToPage'](_0x4977db);}),_0x21fdbb;}),_0x50567b['ui']['componentFactory']['add']('nextPage',_0x401fb1=>{const _0x287ea8=new ckeditor5['ButtonView'](_0x401fb1);return _0x287ea8['isEnabled']=!0x0,_0x287ea8['label']=getTranslation$7(_0x50567b['locale'],'Go\x20to\x20next\x20page'),_0x287ea8['icon']=ckeditor5['IconArrowDown'],_0x287ea8['tooltip']=!0x0,_0x287ea8['keystroke']='Shift+PageDown',_0x287ea8['bind']('isEnabled')['to'](_0x2d1472),this['listenTo'](_0x287ea8,'execute',()=>{_0x2d1472['goToNextPage']();}),_0x287ea8;}),_0x50567b['ui']['componentFactory']['add']('previousPage',_0x54fb0e=>{const _0x147217=new ckeditor5['ButtonView'](_0x54fb0e);return _0x147217['isEnabled']=!0x0,_0x147217['label']=getTranslation$7(_0x50567b['locale'],'Go\x20to\x20previous\x20page'),_0x147217['icon']=ckeditor5['IconArrowUp'],_0x147217['tooltip']=!0x0,_0x147217['keystroke']='Shift+PageUp',_0x147217['bind']('isEnabled')['to'](_0x2d1472),this['listenTo'](_0x147217,'execute',()=>{_0x2d1472['goToPreviousPage']();}),_0x147217;});}}class Pagination extends ckeditor5['Plugin']{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x27d7b7){super(_0x27d7b7),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x52f2f0=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x52f2f0),this['bind']('totalPages')['to'](_0x52f2f0),ckeditor5['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0xa9d1f1){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0xa9d1f1);}}const _0x3dff9f=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function isMSExcelContent(_0x28e3a5){return _0x3dff9f['test'](_0x28e3a5);}const _0x556a92=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function getMatchingStyles(_0x4230cd,_0xcdf69b){const _0x45c735=new Map();for(const [_0x122991,_0x5058a1]of _0xcdf69b){if(!_0x122991['tagName']&&!_0x122991['className'])continue;const _0x11e54d=!_0x122991['tagName']||_0x4230cd['name']===_0x122991['tagName'],_0x4c5928=!_0x122991['className']||_0x4230cd['hasClass'](_0x122991['className']);_0x11e54d&&_0x4c5928&&_0x45c735['set'](_0x122991,_0x5058a1);}return _0x45c735;}function extractStyles(_0x1c91d2){const _0x333ad4={};for(const _0x54ffd3 of _0x1c91d2)for(const _0xa105c6 of _0x54ffd3['cssRules'])if(_0xa105c6 instanceof CSSStyleRule){const _0x441c8a=parseCSSStyleDeclaration(_0xa105c6['style']);_0x333ad4[_0xa105c6['selectorText']]=Object['assign']({},_0x333ad4[_0xa105c6['selectorText']]||{},_0x441c8a);}return _0x333ad4;}function expandStyles(_0x4db441){const _0x434b2a=new Map();for(const _0x1c74de in _0x4db441){const _0x134833=parseCSSSelector(_0x1c74de),_0x5101b1=_0x4db441[_0x1c74de];for(const _0x6591db of _0x134833)_0x434b2a['set'](_0x6591db,_0x5101b1);}return _0x434b2a;}function parseCSSStyleDeclaration(_0x11802b){const _0x35b7f7={};for(let _0x53e5b3=0x0;_0x53e5b3<_0x11802b['length'];_0x53e5b3++){const _0x35c04f=_0x11802b[_0x53e5b3],_0x232d54=_0x11802b['getPropertyValue'](_0x35c04f);'initial'!==_0x232d54&&(_0x35b7f7[_0x35c04f]=_0x232d54);}return _0x35b7f7;}function parseCSSSelector(_0x479569){const _0x1c3853=_0x479569['split'](',')['map'](_0x46166a=>_0x46166a['trim']()),_0x4f67c3=[];for(const _0x51736c of _0x1c3853){const _0x187085=_0x556a92['exec'](_0x51736c);_0x187085&&_0x4f67c3['push'](_0x187085['groups']);}return _0x4f67c3;}function flattenStyleDefinitions(_0x53ed81){const _0x5caba0={};for(const _0x425d05 of _0x53ed81)Object['assign'](_0x5caba0,_0x425d05);return _0x5caba0;}class MSOfficeStylesInliner extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0xb08693){const {body:_0x23dcdd,styles:_0x443aa3}=_0xb08693['_parsedData'],_0x5e0d78=new ckeditor5['ViewUpcastWriter'](_0x23dcdd['document']),_0x250388=_0x5e0d78['createRangeIn'](_0x23dcdd),_0x46e28e=expandStyles(extractStyles(_0x443aa3));for(const _0x5b3ffc of _0x250388){if('elementStart'!==_0x5b3ffc['type'])continue;const _0x4b74dd=getMatchingStyles(_0x5b3ffc['item'],_0x46e28e);if(_0x4b74dd['size']){const _0xcd3b56=flattenStyleDefinitions(Array['from'](_0x4b74dd['values']()));for(const _0x4ce701 in _0xcd3b56){const _0x4e3e8c=_0x5b3ffc['item'];_0x4e3e8c['hasStyle'](_0x4ce701)||_0x5e0d78['setStyle'](_0x4ce701,_0xcd3b56[_0x4ce701],_0x4e3e8c);}}}_0xb08693['content']=_0x23dcdd;}['isActive'](_0xa27e52){return super['isActive'](_0xa27e52)||isMSExcelContent(_0xa27e52);}}class PasteFromOfficeEnhancedInliner extends ckeditor5['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x4b0ae5=this['editor'],_0xda3425=_0x4b0ae5['plugins']['get']('ClipboardPipeline'),_0x2ccafb=_0x4b0ae5['editing']['view']['document'],_0x56ac24=new MSOfficeStylesInliner(_0x2ccafb);_0xda3425['on']('inputTransformation',(_0x370609,_0xed48bc)=>{const _0x5a3364=_0xed48bc['dataTransfer']['getData']('text/html');_0x56ac24['isActive'](_0x5a3364)&&(_0xed48bc['_parsedData']||(_0xed48bc['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x5a3364,_0x2ccafb['stylesProcessor'])),_0x56ac24['execute'](_0xed48bc));},{'priority':ckeditor5['priorities']['get']('high')+0xb});}['afterInit'](){_0x1101be(this);}}async function _0x1101be(_0x6af9e0){const _0x4b472b=_0x208927([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x442853=window[_0x208927([0x44,0x61,0x74,0x65])][_0x208927([0x6e,0x6f,0x77])](),_0x33f9fa=_0x6af9e0[_0x208927([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ee36d=new window[(_0x208927([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e2f4e=>{_0x33f9fa[_0x208927([0x6f,0x6e,0x63,0x65])](_0x208927([0x72,0x65,0x61,0x64,0x79]),_0x2e2f4e);}),_0x2360ba={[_0x208927([0x6b,0x74,0x79])]:_0x208927([0x45,0x43]),[_0x208927([0x75,0x73,0x65])]:_0x208927([0x73,0x69,0x67]),[_0x208927([0x63,0x72,0x76])]:_0x208927([0x50,0x2d,0x32,0x35,0x36]),[_0x208927([0x78])]:_0x208927([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x208927([0x79])]:_0x208927([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x208927([0x61,0x6c,0x67])]:_0x208927([0x45,0x53,0x32,0x35,0x36])},_0x545a6d=_0x33f9fa[_0x208927([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x208927([0x67,0x65,0x74])](_0x208927([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x37f77d=await(async function(){let _0x2c2f10,_0x21ab65=null,_0x3a02c1=null;try{if(_0x545a6d==_0x208927([0x47,0x50,0x4c]))return _0x208927([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c2f10=(function(){const _0x33a2a2=_0x545a6d[_0x208927([0x73,0x70,0x6c,0x69,0x74])](_0x208927([0x2e]));if(0x3!=_0x33a2a2[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x5d12df=_0x33a2a2[0x1];return _0x1d21db(_0x5d12df);function _0x1d21db(_0x1dfa0a){const _0x41449f=_0x426647(_0x1dfa0a);return _0x41449f&&_0x54c3f3()?_0x41449f:null;function _0x54c3f3(){const _0x17d023=_0x41449f[_0x208927([0x6a,0x74,0x69])],_0x185c5d=window[_0x208927([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17d023[_0x208927([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17d023[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x370a1b={..._0x41449f,[_0x208927([0x6a,0x74,0x69])]:_0x17d023[_0x208927([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17d023[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x370a1b[_0x208927([0x76,0x63])],_0x3b41de(_0x370a1b)==_0x185c5d;}}}()),!_0x2c2f10)return _0x208927([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x2c2f10[_0x208927([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3a02c1=function(_0x3d6b0c,_0x467a6e){return new window[(_0x208927([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c244f=>{if(_0xb942a())return _0x4c244f(_0x208927([0x56,0x61,0x6c,0x69,0x64]));_0x3d44d9(),_0x33f9fa[_0x208927([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x208927([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfc69ef=!0x1;const _0x2a8146=ckeditor5['uid']();function _0x9ec86(_0x270fc9){return!!_0x270fc9&&(typeof _0x270fc9===_0x208927([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x270fc9===_0x208927([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x270fc9[_0x208927([0x74,0x68,0x65,0x6e])]===_0x208927([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x270fc9[_0x208927([0x63,0x61,0x74,0x63,0x68])]===_0x208927([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x414c84(_0xc2dbb3){_0x3ba3ba(_0xc2dbb3)[_0x208927([0x74,0x68,0x65,0x6e])](_0x53c91e=>{if(!_0x53c91e||_0x53c91e[_0x208927([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x208927([0x6f,0x6b]))return _0x208927([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43979c(_0x3b41de(_0x2a8146+_0x467a6e))!=_0x53c91e[_0x208927([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x208927([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x208927([0x56,0x61,0x6c,0x69,0x64]);})[_0x208927([0x74,0x68,0x65,0x6e])](_0x49d9dc=>(_0x208295(),_0x49d9dc),()=>{const _0x25d19f=_0x457481();return null==_0x25d19f?(_0x208295(),_0x208927([0x56,0x61,0x6c,0x69,0x64])):_0x208927(_0x442853-_0x25d19f>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x208927([0x74,0x68,0x65,0x6e])](_0x4c244f)[_0x208927([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c244f(_0x208927([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bf3e5=0x36ee80;function _0x208295(){const _0x229b0a=_0x208927([0x6c,0x6c,0x63,0x74,0x2d])+_0x43979c(_0x3b41de(_0x3d6b0c)),_0x4c34b0=_0xc94147(_0x43979c(window[_0x208927([0x4d,0x61,0x74,0x68])][_0x208927([0x63,0x65,0x69,0x6c])](_0x442853/_0x3bf3e5)));window[_0x208927([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x208927([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x229b0a,_0x4c34b0);}function _0x457481(){const _0x2fb84e=_0x208927([0x6c,0x6c,0x63,0x74,0x2d])+_0x43979c(_0x3b41de(_0x3d6b0c)),_0x1a1488=window[_0x208927([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x208927([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fb84e);return _0x1a1488?window[_0x208927([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc94147(_0x1a1488),0x10)*_0x3bf3e5:null;}function _0x3ba3ba(_0x5f3d11){return new window[(_0x208927([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aee06,_0x261388)=>{_0x5f3d11[_0x208927([0x74,0x68,0x65,0x6e])](_0x4aee06,_0x261388),window[_0x208927([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x261388,0x1d4c0);});}}_0x33f9fa[_0x208927([0x6f,0x6e])](_0x208927([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5f5c81,_0x50c0c7)=>{if(_0x50c0c7[0x0]!=_0x3d6b0c)return _0x4c244f(_0x208927([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50c0c7[0x1]={..._0x50c0c7[0x1],[_0x208927([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a8146};},{[_0x208927([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x208927([0x68,0x69,0x67,0x68])}),_0x33f9fa[_0x208927([0x6f,0x6e])](_0x208927([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x775a95=>{_0x9ec86(_0x775a95[_0x208927([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfc69ef=!0x0,_0x414c84(_0x775a95[_0x208927([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x208927([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x208927([0x6c,0x6f,0x77])}),_0x3ee36d[_0x208927([0x74,0x68,0x65,0x6e])](()=>{_0xfc69ef||_0x4c244f(_0x208927([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb942a(){return _0x33f9fa[_0x208927([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x208927([0x76,0x69,0x65,0x77])][_0x208927([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x208927([0x61,0x75,0x74,0x6f]);}function _0x3d44d9(){_0x33f9fa[_0x208927([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x208927([0x76,0x69,0x65,0x77])][_0x208927([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x208927([0x61,0x75,0x74,0x6f]);}}(_0x2c2f10[_0x208927([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c2f10[_0x208927([0x6a,0x74,0x69])]));const _0x19ad0b=await(async function(){let _0x58e99b=!0x0;try{const _0x7124e2=_0x545a6d[_0x208927([0x73,0x70,0x6c,0x69,0x74])](_0x208927([0x2e])),[_0x34e58f,_0x14b19d,_0x362ee5]=_0x7124e2;return _0x114dfa(_0x34e58f),await _0x54db2d(_0x34e58f,_0x14b19d,_0x362ee5),_0x58e99b;}catch{return!0x1;}function _0x114dfa(_0x4e8fad){const _0x2e202e=_0x426647(_0x4e8fad);_0x2e202e&&_0x2e202e[_0x208927([0x61,0x6c,0x67])]==_0x208927([0x45,0x53,0x32,0x35,0x36])||(_0x58e99b=!0x1);}async function _0x54db2d(_0x225ca2,_0x340fe1,_0x1063db){const _0x3f7cfc=window[_0x208927([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x208927([0x66,0x72,0x6f,0x6d])](_0x14c78b(_0x1063db),_0x26e558=>_0x26e558[_0x208927([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e9b1f=new window[(_0x208927([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x208927([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x225ca2+_0x208927([0x2e])+_0x340fe1),_0x22b637=window[_0x208927([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x208927([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x22b637)return;const _0x8fb6a0=await _0x22b637[_0x208927([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x208927([0x6a,0x77,0x6b]),_0x2360ba,{[_0x208927([0x6e,0x61,0x6d,0x65])]:_0x208927([0x45,0x43,0x44,0x53,0x41]),[_0x208927([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x208927([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x208927([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x22b637[_0x208927([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x208927([0x6e,0x61,0x6d,0x65])]:_0x208927([0x45,0x43,0x44,0x53,0x41]),[_0x208927([0x68,0x61,0x73,0x68])]:{[_0x208927([0x6e,0x61,0x6d,0x65])]:_0x208927([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8fb6a0,_0x3f7cfc,_0x1e9b1f)||(_0x58e99b=!0x1);}}());return _0x19ad0b?(function(){const _0x5b912b=_0x2c2f10[_0x208927([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5b912b)return!0x1;if(_0x5b912b[_0x208927([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x208927([0x2a])))return!0x0;if(_0x5b912b[_0x208927([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x208927([0x50,0x4f,0x45])))return!0x0;if(_0x5b912b[_0x208927([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x208927([0x50,0x50])))return!0x0;if(_0x5b912b[_0x208927([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x208927([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x208927([0x67,0x6c,0x6f,0x62])]&&window[_0x208927([0x67,0x6c,0x6f,0x62])][_0x208927([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x833409=[_0x208927([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x208927([0x74,0x72,0x69,0x61,0x6c])][_0x208927([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c2f10[_0x208927([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x442853/0x3e8:0x69b0b080;return _0x2c2f10[_0x208927([0x65,0x78,0x70])]<_0x833409;}())?_0x208927([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x38996c=_0x2c2f10[_0x208927([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38996c||0x0==_0x38996c[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4301d7}=new URL(window[_0x208927([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x38996c[_0x208927([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4301d7))return!0x0;const _0x1384bc=_0x4301d7[_0x208927([0x73,0x70,0x6c,0x69,0x74])](_0x208927([0x2e]));return _0x38996c[_0x208927([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39b950=>_0x39b950[_0x208927([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x208927([0x2a])))[_0x208927([0x6d,0x61,0x70])](_0x5400c2=>_0x5400c2[_0x208927([0x73,0x70,0x6c,0x69,0x74])](_0x208927([0x2e])))[_0x208927([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fc55a=>_0x3fc55a[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1384bc[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x208927([0x6d,0x61,0x70])](_0x5b9983=>Array(_0x1384bc[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b9983[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x208927([0x66,0x69,0x6c,0x6c])](_0x5b9983[0x0]===_0x208927([0x2a])?_0x208927([0x2a]):'')[_0x208927([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b9983))[_0x208927([0x73,0x6f,0x6d,0x65])](_0x37c00e=>_0x1384bc[_0x208927([0x65,0x76,0x65,0x72,0x79])]((_0x56f3c8,_0x3f1fcb)=>_0x37c00e[_0x3f1fcb]===_0x56f3c8||_0x37c00e[_0x3f1fcb]===_0x208927([0x2a])));}())?(_0x2c2f10[_0x208927([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x208927([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21ab65=function(_0x4e1f78){const _0x2a6d88=new window[(_0x208927([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f1536=>setTimeout(_0x5f1536,0x93ecc)),_0x1a678f=_0x3ee36d[_0x208927([0x74,0x68,0x65,0x6e])](()=>new window[(_0x208927([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c4a30=>{let _0x4c5f48=0x0;_0x33f9fa[_0x208927([0x6d,0x6f,0x64,0x65,0x6c])][_0x208927([0x6f,0x6e])](_0x208927([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c0373,_0x5d1a34)=>{_0x5d1a34[0x0][_0x208927([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c5f48++,0x5e8==_0x4c5f48&&(_0x2c4a30(),_0x1c0373[_0x208927([0x6f,0x66,0x66])]());});})),_0x274e21=[_0x2a6d88,_0x1a678f];return window[_0x208927([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x208927([0x72,0x61,0x63,0x65])](_0x274e21)[_0x208927([0x74,0x68,0x65,0x6e])](()=>_0x4e1f78);}(_0x208927([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x21ab65&&_0x3a02c1)return new window[(_0x208927([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bd27e,_0x12e459)=>{_0x21ab65[_0x208927([0x74,0x68,0x65,0x6e])](_0x5bd27e,_0x12e459),_0x3a02c1[_0x208927([0x74,0x68,0x65,0x6e])](_0xb1a9b6=>{_0xb1a9b6!=_0x208927([0x56,0x61,0x6c,0x69,0x64])&&_0x5bd27e(_0xb1a9b6);},_0x12e459);});return _0x21ab65||_0x3a02c1||_0x208927([0x56,0x61,0x6c,0x69,0x64]);}())):_0x208927([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x208927([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x208927([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x208927([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x426647(_0x41b446){return _0x41b446[_0x208927([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x208927([0x65,0x79]))?JSON[_0x208927([0x70,0x61,0x72,0x73,0x65])](_0x14c78b(_0x41b446)):null;}function _0x14c78b(_0x3a5146){return window[_0x208927([0x61,0x74,0x6f,0x62])](_0x3a5146[_0x208927([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x208927([0x2b]))[_0x208927([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x208927([0x2f])));}function _0x3b41de(_0x5c35b8){let _0xc5e3c=0x1505;function _0x11c976(_0x2a96c2){for(let _0x33672c=0x0;_0x33672c<_0x2a96c2[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33672c++){const _0x231926=_0x2a96c2[_0x208927([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33672c);_0xc5e3c=(_0xc5e3c<<0x5)+_0xc5e3c+_0x231926,_0xc5e3c&=_0xc5e3c;}}return function _0x2d3a94(_0x26338e){Array[_0x208927([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26338e)?_0x26338e[_0x208927([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d3a94):_0x26338e&&typeof _0x26338e==_0x208927([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x208927([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26338e)[_0x208927([0x73,0x6f,0x72,0x74])]()[_0x208927([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3101bb,_0x317206])=>{_0x11c976(_0x3101bb),_0x2d3a94(_0x317206);}):_0x11c976(window[_0x208927([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26338e));}(_0x5c35b8),_0xc5e3c>>>0x0;}function _0x43979c(_0x3d4b3a){return _0x3d4b3a[_0x208927([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x208927([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x208927([0x30]));}function _0xc94147(_0x1c64de){return _0x1c64de[_0x208927([0x73,0x70,0x6c,0x69,0x74])]('')[_0x208927([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x208927([0x6a,0x6f,0x69,0x6e])]('');}function _0x5156d7(){}function _0x208927(_0x593f6e){return _0x593f6e['map'](_0x160c63=>String['fromCharCode'](_0x160c63))['join']('');}!function(_0xc79b79){const _0x3a7c5a=(function(){const _0x1af9b4=window[_0x208927([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x208927([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x208927([0x6e,0x6f,0x77])]())[_0x208927([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x208927([0x2e]),'');let _0x3fbb94=_0x208927([0x73]);for(let _0x2e8f1f=0x0;_0x2e8f1f<_0x1af9b4[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e8f1f+=0x2){let _0x1ebb9a=window[_0x208927([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af9b4[_0x208927([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e8f1f,_0x2e8f1f+0x2));_0x1ebb9a>=_0x4b472b[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ebb9a-=_0x4b472b[_0x208927([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fbb94+=_0x4b472b[_0x1ebb9a];}return _0x3fbb94;}());_0x33f9fa[_0x3a7c5a]=_0x208927([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc79b79,_0xc79b79!=_0x208927([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x3ee36d,_0x33f9fa[_0x208927([0x6d,0x6f,0x64,0x65,0x6c])][_0x208927([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5156d7,_0x33f9fa[_0x208927([0x6d,0x6f,0x64,0x65,0x6c])][_0x208927([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5156d7,_0x33f9fa[_0x208927([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x208927([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x37f77d);}const _0x5552e5=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x1ab5df=['color','font-family','font-size'],_0x1d3862={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x4b08a6=>Number(_0x4b08a6)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function isPropertyToBePropagated(_0x38c11f){return _0x5552e5['includes'](_0x38c11f);}function isPropertyToBePropagatedAsSpan(_0x54af0c){return _0x1ab5df['includes'](_0x54af0c);}function isPropertyToBePropagatedAsHTMLElement(_0x5421b7){return _0x5421b7 in _0x1d3862;}function getStylePropertyNamesToPropagate(_0x2fdd72){return Array['from'](_0x2fdd72['getStyleNames']())['filter'](isPropertyToBePropagated);}function propagateStyleProperties(_0x463e94,_0x5960d7,_0x3ec461){const {spanStyles:_0x1e106e,stylesToBeHtmlElements:_0x3e7c45}=getStylesToPropagate(_0x463e94,_0x3ec461);propagateStylesAsHTMLElements(_0x463e94,_0x5960d7,_0x3e7c45),propagateStylesAsSpan(_0x463e94,_0x5960d7,_0x1e106e);}function propagateStylesAsHTMLElements(_0x5efbea,_0x45c487,_0x3459c2){for(const _0x1b6167 in _0x3459c2){_0x3459c2[_0x1b6167]['forEach'](([,_0x328487])=>{const _0x1f0ab2=_0x45c487['createElement'](_0x328487,[],_0x5efbea['getChildren']());_0x45c487['insertChild'](0x0,_0x1f0ab2,_0x5efbea);}),_0x45c487['removeStyle'](_0x1b6167,_0x5efbea);}}function propagateStylesAsSpan(_0x407abd,_0x133244,_0x218476){if(!Object['keys'](_0x218476)['length'])return;const _0x47d90d=_0x133244['createElement']('span',[],_0x407abd['getChildren']());_0x133244['setStyle'](_0x218476,_0x47d90d),_0x133244['insertChild'](0x0,_0x47d90d,_0x407abd),_0x133244['removeStyle'](Object['keys'](_0x218476),_0x407abd);}function getStylesToPropagate(_0x4f072a,_0x1eb3c0){const _0x275238={},_0x29a107={};return _0x1eb3c0['forEach'](_0x529e48=>{const _0x6a7dcb=_0x4f072a['getStyle'](_0x529e48);if(_0x6a7dcb){if(isPropertyToBePropagatedAsSpan(_0x529e48))_0x275238[_0x529e48]=_0x6a7dcb;else{if(isPropertyToBePropagatedAsHTMLElement(_0x529e48)){const _0x315b5f=_0x6a7dcb['split']('\x20');_0x1d3862[_0x529e48]['forEach'](([_0x17a155,_0x515741])=>{for(const _0xdcc8fc of _0x315b5f){('function'==typeof _0x17a155&&_0x17a155(_0xdcc8fc)||_0x17a155===_0xdcc8fc)&&(_0x29a107[_0x529e48]=[..._0x29a107[_0x529e48]||[],[_0x17a155,_0x515741]]);}});}}}}),{'spanStyles':_0x275238,'stylesToBeHtmlElements':_0x29a107};}class MSOfficeInlineStylePropagator extends ckeditor5['PasteFromOfficeMSWordNormalizer']{['execute'](_0x2e0263){const {body:_0x23ed30}=_0x2e0263['_parsedData'],_0x3f5543=new ckeditor5['ViewUpcastWriter'](_0x23ed30['document']),_0x5ce1fe=_0x3f5543['createRangeIn'](_0x23ed30),_0x5a9f6b=new ckeditor5['ViewDocument'](_0x3f5543['document']['stylesProcessor']),_0x107fff=[...new ckeditor5['ViewDomConverter'](_0x5a9f6b)['blockElements'],'font'],_0x37d446=_0x5ce1fe['getItems']();for(const _0xc0ce44 of _0x37d446)_0xc0ce44['is']('element')&&_0x107fff['includes'](_0xc0ce44['name'])&&propagateStyleProperties(_0xc0ce44,_0x3f5543,getStylePropertyNamesToPropagate(_0xc0ce44));_0x2e0263['content']=_0x23ed30;}['isActive'](_0x11f3a0){return super['isActive'](_0x11f3a0)||isMSExcelContent(_0x11f3a0);}}class PasteFromOfficeEnhancedPropagator extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x5c2559=this['editor'],_0x39d35a=_0x5c2559['plugins']['get']('ClipboardPipeline'),_0x25ac44=_0x5c2559['editing']['view']['document'],_0x43ce33=new MSOfficeInlineStylePropagator(_0x25ac44);_0x39d35a['on']('inputTransformation',(_0x338416,_0xd2a443)=>{const _0x22f0e4=_0xd2a443['dataTransfer']['getData']('text/html');_0x43ce33['isActive'](_0x22f0e4)&&(_0xd2a443['_parsedData']||(_0xd2a443['_parsedData']=ckeditor5['parsePasteOfficeHtml'](_0x22f0e4,_0x25ac44['stylesProcessor'])),_0x43ce33['execute'](_0xd2a443));},{'priority':ckeditor5['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x40b417=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x58ef57;for(const _0x412c7e in _0x40b417){const _0x3d0dcc=_0x412c7e,_0x75d99e=_0x40b417[_0x3d0dcc];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x75d99e||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x75d99e||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x75d99e||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x75d99e||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x75d99e||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x75d99e||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x75d99e){delete _0x40b417[_0x3d0dcc],_0x58ef57=_0x75d99e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x58ef57&&_0x40b417['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x58ef57&&_0x40b417['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x58ef57&&_0x40b417['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x58ef57&&_0x40b417['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x58ef57&&_0x40b417['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x58ef57&&_0x40b417['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends ckeditor5['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var _0x3e72ba='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x26f6e6={},_0x509ece={},_0x4a6e33,_0x3707d2;function requireAspromise(){if(_0x3707d2)return _0x4a6e33;return _0x3707d2=0x1,_0x4a6e33=function(_0x37a0ff,_0x25326c){var _0x30e20a=new Array(arguments['length']-0x1),_0x396bef=0x0,_0x48291f=0x2,_0x229f49=!0x0;for(;_0x48291f<arguments['length'];)_0x30e20a[_0x396bef++]=arguments[_0x48291f++];return new Promise(function(_0x2e07d3,_0xff6fae){_0x30e20a[_0x396bef]=function(_0x46e18d){if(_0x229f49){if(_0x229f49=!0x1,_0x46e18d)_0xff6fae(_0x46e18d);else{for(var _0x13ef86=new Array(arguments['length']-0x1),_0x35b0f8=0x0;_0x35b0f8<_0x13ef86['length'];)_0x13ef86[_0x35b0f8++]=arguments[_0x35b0f8];_0x2e07d3['apply'](null,_0x13ef86);}}};try{_0x37a0ff['apply'](_0x25326c||null,_0x30e20a);}catch(_0x2090a4){_0x229f49&&(_0x229f49=!0x1,_0xff6fae(_0x2090a4));}});},_0x4a6e33;}var _0x5c8143={},_0x46dd7b,eventemitter,hasRequiredEventemitter,float,hasRequiredFloat,_0xb54fab,_0x173b44;function requireBase64(){return _0x46dd7b||(_0x46dd7b=0x1,function(_0x21700e){var _0x4e8c75=_0x21700e;_0x4e8c75['length']=function(_0x49a4c0){var _0x588745=_0x49a4c0['length'];if(!_0x588745)return 0x0;for(var _0x469a0b=0x0;--_0x588745%0x4>0x1&&'='===_0x49a4c0['charAt'](_0x588745);)++_0x469a0b;return Math['ceil'](0x3*_0x49a4c0['length'])/0x4-_0x469a0b;};for(var _0x27d32c=new Array(0x40),_0x5c3959=new Array(0x7b),_0x54d8f2=0x0;_0x54d8f2<0x40;)_0x5c3959[_0x27d32c[_0x54d8f2]=_0x54d8f2<0x1a?_0x54d8f2+0x41:_0x54d8f2<0x34?_0x54d8f2+0x47:_0x54d8f2<0x3e?_0x54d8f2-0x4:_0x54d8f2-0x3b|0x2b]=_0x54d8f2++;_0x4e8c75['encode']=function(_0x2f6fae,_0x5c958d,_0x4c09c7){for(var t,_0x34c133=null,_0xf9ae1a=[],_0x31d4f5=0x0,_0x5d0c42=0x0;_0x5c958d<_0x4c09c7;){var _0x32dc3f=_0x2f6fae[_0x5c958d++];switch(_0x5d0c42){case 0x0:_0xf9ae1a[_0x31d4f5++]=_0x27d32c[_0x32dc3f>>0x2],t=(0x3&_0x32dc3f)<<0x4,_0x5d0c42=0x1;break;case 0x1:_0xf9ae1a[_0x31d4f5++]=_0x27d32c[t|_0x32dc3f>>0x4],t=(0xf&_0x32dc3f)<<0x2,_0x5d0c42=0x2;break;case 0x2:_0xf9ae1a[_0x31d4f5++]=_0x27d32c[t|_0x32dc3f>>0x6],_0xf9ae1a[_0x31d4f5++]=_0x27d32c[0x3f&_0x32dc3f],_0x5d0c42=0x0;}_0x31d4f5>0x1fff&&((_0x34c133||(_0x34c133=[]))['push'](String['fromCharCode']['apply'](String,_0xf9ae1a)),_0x31d4f5=0x0);}return _0x5d0c42&&(_0xf9ae1a[_0x31d4f5++]=_0x27d32c[t],_0xf9ae1a[_0x31d4f5++]=0x3d,0x1===_0x5d0c42&&(_0xf9ae1a[_0x31d4f5++]=0x3d)),_0x34c133?(_0x31d4f5&&_0x34c133['push'](String['fromCharCode']['apply'](String,_0xf9ae1a['slice'](0x0,_0x31d4f5))),_0x34c133['join']('')):String['fromCharCode']['apply'](String,_0xf9ae1a['slice'](0x0,_0x31d4f5));};var _0x2cbca2='invalid\x20encoding';_0x4e8c75['decode']=function(_0x3d6f0d,_0x3b940b,_0x1830c1){for(var t,_0x4a1ae5=_0x1830c1,_0x55793a=0x0,_0x27ac1b=0x0;_0x27ac1b<_0x3d6f0d['length'];){var _0x320e3f=_0x3d6f0d['charCodeAt'](_0x27ac1b++);if(0x3d===_0x320e3f&&_0x55793a>0x1)break;if(void 0x0===(_0x320e3f=_0x5c3959[_0x320e3f]))throw Error(_0x2cbca2);switch(_0x55793a){case 0x0:t=_0x320e3f,_0x55793a=0x1;break;case 0x1:_0x3b940b[_0x1830c1++]=t<<0x2|(0x30&_0x320e3f)>>0x4,t=_0x320e3f,_0x55793a=0x2;break;case 0x2:_0x3b940b[_0x1830c1++]=(0xf&t)<<0x4|(0x3c&_0x320e3f)>>0x2,t=_0x320e3f,_0x55793a=0x3;break;case 0x3:_0x3b940b[_0x1830c1++]=(0x3&t)<<0x6|_0x320e3f,_0x55793a=0x0;}}if(0x1===_0x55793a)throw Error(_0x2cbca2);return _0x1830c1-_0x4a1ae5;},_0x4e8c75['test']=function(_0x1e391a){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x1e391a);};}(_0x5c8143)),_0x5c8143;}function requireEventemitter(){if(hasRequiredEventemitter)return eventemitter;function _0x101407(){this['_listeners']={};}return hasRequiredEventemitter=0x1,eventemitter=_0x101407,_0x101407['prototype']['on']=function(_0xfe76cc,_0x3e8fe4,_0x5291e7){return(this['_listeners'][_0xfe76cc]||(this['_listeners'][_0xfe76cc]=[]))['push']({'fn':_0x3e8fe4,'ctx':_0x5291e7||this}),this;},_0x101407['prototype']['off']=function(_0x39da92,_0x1dca84){if(void 0x0===_0x39da92)this['_listeners']={};else{if(void 0x0===_0x1dca84)this['_listeners'][_0x39da92]=[];else{for(var _0x34765c=this['_listeners'][_0x39da92],_0x6c1977=0x0;_0x6c1977<_0x34765c['length'];)_0x34765c[_0x6c1977]['fn']===_0x1dca84?_0x34765c['splice'](_0x6c1977,0x1):++_0x6c1977;}}return this;},_0x101407['prototype']['emit']=function(_0x7b3cff){var _0x1d996e=this['_listeners'][_0x7b3cff];if(_0x1d996e){for(var _0x384cb9=[],_0x147cfe=0x1;_0x147cfe<arguments['length'];)_0x384cb9['push'](arguments[_0x147cfe++]);for(_0x147cfe=0x0;_0x147cfe<_0x1d996e['length'];)_0x1d996e[_0x147cfe]['fn']['apply'](_0x1d996e[_0x147cfe++]['ctx'],_0x384cb9);}return this;},eventemitter;}function requireFloat(){if(hasRequiredFloat)return float;function _0x60f9ee(_0xfc50db){return'undefined'!=typeof Float32Array?(function(){var _0x56e4e5=new Float32Array([-0x0]),_0x15c7d6=new Uint8Array(_0x56e4e5['buffer']),_0x21eea5=0x80===_0x15c7d6[0x3];function _0x4f615f(_0x12f2ff,_0x3c06a1,_0x455c50){_0x56e4e5[0x0]=_0x12f2ff,_0x3c06a1[_0x455c50]=_0x15c7d6[0x0],_0x3c06a1[_0x455c50+0x1]=_0x15c7d6[0x1],_0x3c06a1[_0x455c50+0x2]=_0x15c7d6[0x2],_0x3c06a1[_0x455c50+0x3]=_0x15c7d6[0x3];}function _0x7dcd71(_0xa926e6,_0x1a9066,_0x44253f){_0x56e4e5[0x0]=_0xa926e6,_0x1a9066[_0x44253f]=_0x15c7d6[0x3],_0x1a9066[_0x44253f+0x1]=_0x15c7d6[0x2],_0x1a9066[_0x44253f+0x2]=_0x15c7d6[0x1],_0x1a9066[_0x44253f+0x3]=_0x15c7d6[0x0];}function _0x3b9c71(_0x55f650,_0x58cda2){return _0x15c7d6[0x0]=_0x55f650[_0x58cda2],_0x15c7d6[0x1]=_0x55f650[_0x58cda2+0x1],_0x15c7d6[0x2]=_0x55f650[_0x58cda2+0x2],_0x15c7d6[0x3]=_0x55f650[_0x58cda2+0x3],_0x56e4e5[0x0];}function _0x2ca964(_0x500bb2,_0x35beef){return _0x15c7d6[0x3]=_0x500bb2[_0x35beef],_0x15c7d6[0x2]=_0x500bb2[_0x35beef+0x1],_0x15c7d6[0x1]=_0x500bb2[_0x35beef+0x2],_0x15c7d6[0x0]=_0x500bb2[_0x35beef+0x3],_0x56e4e5[0x0];}_0xfc50db['writeFloatLE']=_0x21eea5?_0x4f615f:_0x7dcd71,_0xfc50db['writeFloatBE']=_0x21eea5?_0x7dcd71:_0x4f615f,_0xfc50db['readFloatLE']=_0x21eea5?_0x3b9c71:_0x2ca964,_0xfc50db['readFloatBE']=_0x21eea5?_0x2ca964:_0x3b9c71;}()):(function(){function _0x3b13bf(_0x45d172,_0x28a1a2,_0x69541c,_0x35eaf4){var _0x1b54c8=_0x28a1a2<0x0?0x1:0x0;if(_0x1b54c8&&(_0x28a1a2=-_0x28a1a2),0x0===_0x28a1a2)_0x45d172(0x1/_0x28a1a2>0x0?0x0:0x80000000,_0x69541c,_0x35eaf4);else{if(isNaN(_0x28a1a2))_0x45d172(0x7fc00000,_0x69541c,_0x35eaf4);else{if(_0x28a1a2>0xffffff00000000000000000000000000)_0x45d172((_0x1b54c8<<0x1f|0x7f800000)>>>0x0,_0x69541c,_0x35eaf4);else{if(_0x28a1a2<1.1754943508222875e-38)_0x45d172((_0x1b54c8<<0x1f|Math['round'](_0x28a1a2/1.401298464324817e-45))>>>0x0,_0x69541c,_0x35eaf4);else{var _0x3ff213=Math['floor'](Math['log'](_0x28a1a2)/Math['LN2']);_0x45d172((_0x1b54c8<<0x1f|_0x3ff213+0x7f<<0x17|0x7fffff&Math['round'](_0x28a1a2*Math['pow'](0x2,-_0x3ff213)*0x800000))>>>0x0,_0x69541c,_0x35eaf4);}}}}}function _0x416d4d(_0x27aee9,_0x8594e1,_0x4028d8){var _0x1cd514=_0x27aee9(_0x8594e1,_0x4028d8),_0x295d0c=0x2*(_0x1cd514>>0x1f)+0x1,_0x519f00=_0x1cd514>>>0x17&0xff,_0x1c56f9=0x7fffff&_0x1cd514;return 0xff===_0x519f00?_0x1c56f9?NaN:_0x295d0c*(0x1/0x0):0x0===_0x519f00?1.401298464324817e-45*_0x295d0c*_0x1c56f9:_0x295d0c*Math['pow'](0x2,_0x519f00-0x96)*(_0x1c56f9+0x800000);}_0xfc50db['writeFloatLE']=_0x3b13bf['bind'](null,_0x299c26),_0xfc50db['writeFloatBE']=_0x3b13bf['bind'](null,_0x2e5afc),_0xfc50db['readFloatLE']=_0x416d4d['bind'](null,_0x2bd134),_0xfc50db['readFloatBE']=_0x416d4d['bind'](null,_0x4824bb);}()),'undefined'!=typeof Float64Array?(function(){var _0x157d37=new Float64Array([-0x0]),_0xf3b78a=new Uint8Array(_0x157d37['buffer']),_0x2e5f05=0x80===_0xf3b78a[0x7];function _0x2df845(_0x3a39da,_0x17aa4b,_0x563702){_0x157d37[0x0]=_0x3a39da,_0x17aa4b[_0x563702]=_0xf3b78a[0x0],_0x17aa4b[_0x563702+0x1]=_0xf3b78a[0x1],_0x17aa4b[_0x563702+0x2]=_0xf3b78a[0x2],_0x17aa4b[_0x563702+0x3]=_0xf3b78a[0x3],_0x17aa4b[_0x563702+0x4]=_0xf3b78a[0x4],_0x17aa4b[_0x563702+0x5]=_0xf3b78a[0x5],_0x17aa4b[_0x563702+0x6]=_0xf3b78a[0x6],_0x17aa4b[_0x563702+0x7]=_0xf3b78a[0x7];}function _0x1688e7(_0x3252ef,_0x4179c7,_0xbe5954){_0x157d37[0x0]=_0x3252ef,_0x4179c7[_0xbe5954]=_0xf3b78a[0x7],_0x4179c7[_0xbe5954+0x1]=_0xf3b78a[0x6],_0x4179c7[_0xbe5954+0x2]=_0xf3b78a[0x5],_0x4179c7[_0xbe5954+0x3]=_0xf3b78a[0x4],_0x4179c7[_0xbe5954+0x4]=_0xf3b78a[0x3],_0x4179c7[_0xbe5954+0x5]=_0xf3b78a[0x2],_0x4179c7[_0xbe5954+0x6]=_0xf3b78a[0x1],_0x4179c7[_0xbe5954+0x7]=_0xf3b78a[0x0];}function _0x4675ef(_0x13fcd6,_0x4242f1){return _0xf3b78a[0x0]=_0x13fcd6[_0x4242f1],_0xf3b78a[0x1]=_0x13fcd6[_0x4242f1+0x1],_0xf3b78a[0x2]=_0x13fcd6[_0x4242f1+0x2],_0xf3b78a[0x3]=_0x13fcd6[_0x4242f1+0x3],_0xf3b78a[0x4]=_0x13fcd6[_0x4242f1+0x4],_0xf3b78a[0x5]=_0x13fcd6[_0x4242f1+0x5],_0xf3b78a[0x6]=_0x13fcd6[_0x4242f1+0x6],_0xf3b78a[0x7]=_0x13fcd6[_0x4242f1+0x7],_0x157d37[0x0];}function _0x49cb21(_0x11c449,_0x2a05df){return _0xf3b78a[0x7]=_0x11c449[_0x2a05df],_0xf3b78a[0x6]=_0x11c449[_0x2a05df+0x1],_0xf3b78a[0x5]=_0x11c449[_0x2a05df+0x2],_0xf3b78a[0x4]=_0x11c449[_0x2a05df+0x3],_0xf3b78a[0x3]=_0x11c449[_0x2a05df+0x4],_0xf3b78a[0x2]=_0x11c449[_0x2a05df+0x5],_0xf3b78a[0x1]=_0x11c449[_0x2a05df+0x6],_0xf3b78a[0x0]=_0x11c449[_0x2a05df+0x7],_0x157d37[0x0];}_0xfc50db['writeDoubleLE']=_0x2e5f05?_0x2df845:_0x1688e7,_0xfc50db['writeDoubleBE']=_0x2e5f05?_0x1688e7:_0x2df845,_0xfc50db['readDoubleLE']=_0x2e5f05?_0x4675ef:_0x49cb21,_0xfc50db['readDoubleBE']=_0x2e5f05?_0x49cb21:_0x4675ef;}()):(function(){function _0x415584(_0x1ffde3,_0x5b354a,_0x4ffb39,_0x549d70,_0x5c097b,_0x412933){var _0x338d11=_0x549d70<0x0?0x1:0x0;if(_0x338d11&&(_0x549d70=-_0x549d70),0x0===_0x549d70)_0x1ffde3(0x0,_0x5c097b,_0x412933+_0x5b354a),_0x1ffde3(0x1/_0x549d70>0x0?0x0:0x80000000,_0x5c097b,_0x412933+_0x4ffb39);else{if(isNaN(_0x549d70))_0x1ffde3(0x0,_0x5c097b,_0x412933+_0x5b354a),_0x1ffde3(0x7ff80000,_0x5c097b,_0x412933+_0x4ffb39);else{if(_0x549d70>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x1ffde3(0x0,_0x5c097b,_0x412933+_0x5b354a),_0x1ffde3((_0x338d11<<0x1f|0x7ff00000)>>>0x0,_0x5c097b,_0x412933+_0x4ffb39);else{var _0x2bb8e5;if(_0x549d70<2.2250738585072014e-308)_0x1ffde3((_0x2bb8e5=_0x549d70/5e-324)>>>0x0,_0x5c097b,_0x412933+_0x5b354a),_0x1ffde3((_0x338d11<<0x1f|_0x2bb8e5/0x100000000)>>>0x0,_0x5c097b,_0x412933+_0x4ffb39);else{var _0x2c63c9=Math['floor'](Math['log'](_0x549d70)/Math['LN2']);0x400===_0x2c63c9&&(_0x2c63c9=0x3ff),_0x1ffde3(0x10000000000000*(_0x2bb8e5=_0x549d70*Math['pow'](0x2,-_0x2c63c9))>>>0x0,_0x5c097b,_0x412933+_0x5b354a),_0x1ffde3((_0x338d11<<0x1f|_0x2c63c9+0x3ff<<0x14|0x100000*_0x2bb8e5&0xfffff)>>>0x0,_0x5c097b,_0x412933+_0x4ffb39);}}}}}function _0x47d464(_0x535dfe,_0x2ecbe1,_0xdb0795,_0x55cb0f,_0x261e53){var _0x285411=_0x535dfe(_0x55cb0f,_0x261e53+_0x2ecbe1),_0x4ccca8=_0x535dfe(_0x55cb0f,_0x261e53+_0xdb0795),_0x125dcc=0x2*(_0x4ccca8>>0x1f)+0x1,_0x237054=_0x4ccca8>>>0x14&0x7ff,_0x41fcd8=0x100000000*(0xfffff&_0x4ccca8)+_0x285411;return 0x7ff===_0x237054?_0x41fcd8?NaN:_0x125dcc*(0x1/0x0):0x0===_0x237054?5e-324*_0x125dcc*_0x41fcd8:_0x125dcc*Math['pow'](0x2,_0x237054-0x433)*(_0x41fcd8+0x10000000000000);}_0xfc50db['writeDoubleLE']=_0x415584['bind'](null,_0x299c26,0x0,0x4),_0xfc50db['writeDoubleBE']=_0x415584['bind'](null,_0x2e5afc,0x4,0x0),_0xfc50db['readDoubleLE']=_0x47d464['bind'](null,_0x2bd134,0x0,0x4),_0xfc50db['readDoubleBE']=_0x47d464['bind'](null,_0x4824bb,0x4,0x0);}()),_0xfc50db;}function _0x299c26(_0xf5ccdf,_0x5e3590,_0x2fbace){_0x5e3590[_0x2fbace]=0xff&_0xf5ccdf,_0x5e3590[_0x2fbace+0x1]=_0xf5ccdf>>>0x8&0xff,_0x5e3590[_0x2fbace+0x2]=_0xf5ccdf>>>0x10&0xff,_0x5e3590[_0x2fbace+0x3]=_0xf5ccdf>>>0x18;}function _0x2e5afc(_0x1e8d24,_0x53a2d8,_0x212db5){_0x53a2d8[_0x212db5]=_0x1e8d24>>>0x18,_0x53a2d8[_0x212db5+0x1]=_0x1e8d24>>>0x10&0xff,_0x53a2d8[_0x212db5+0x2]=_0x1e8d24>>>0x8&0xff,_0x53a2d8[_0x212db5+0x3]=0xff&_0x1e8d24;}function _0x2bd134(_0x15c789,_0x4c31e2){return(_0x15c789[_0x4c31e2]|_0x15c789[_0x4c31e2+0x1]<<0x8|_0x15c789[_0x4c31e2+0x2]<<0x10|_0x15c789[_0x4c31e2+0x3]<<0x18)>>>0x0;}function _0x4824bb(_0x4c09a2,_0x34dc0c){return(_0x4c09a2[_0x34dc0c]<<0x18|_0x4c09a2[_0x34dc0c+0x1]<<0x10|_0x4c09a2[_0x34dc0c+0x2]<<0x8|_0x4c09a2[_0x34dc0c+0x3])>>>0x0;}return hasRequiredFloat=0x1,float=_0x60f9ee(_0x60f9ee);}function requireInquire(){if(_0x173b44)return _0xb54fab;function _0x26b3cb(_0x9ea652){try{var _0x10a356=eval('quire'['replace'](/^/,'re'))(_0x9ea652);if(_0x10a356&&(_0x10a356['length']||Object['keys'](_0x10a356)['length']))return _0x10a356;}catch(_0x59b629){}return null;}return _0x173b44=0x1,_0xb54fab=_0x26b3cb,_0xb54fab;}var utf8={},hasRequiredUtf8,_0x7d1cb0,_0xfe1803,longbits,hasRequiredLongbits,_0x364e0c,writer,hasRequiredWriter,writer_buffer,hasRequiredWriter_buffer,_0x3192f8,_0x32fb0a,_0x5c2a2e,_0x527f2e;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=0x1,function(_0x55bbb6){var _0x17cef0=_0x55bbb6;_0x17cef0['length']=function(_0x352e41){for(var _0x58b5c5=0x0,_0x5351d9=0x0,_0x3af115=0x0;_0x3af115<_0x352e41['length'];++_0x3af115)(_0x5351d9=_0x352e41['charCodeAt'](_0x3af115))<0x80?_0x58b5c5+=0x1:_0x5351d9<0x800?_0x58b5c5+=0x2:0xd800==(0xfc00&_0x5351d9)&&0xdc00==(0xfc00&_0x352e41['charCodeAt'](_0x3af115+0x1))?(++_0x3af115,_0x58b5c5+=0x4):_0x58b5c5+=0x3;return _0x58b5c5;},_0x17cef0['read']=function(_0x703ba2,_0x565bcd,_0x504cf5){if(_0x504cf5-_0x565bcd<0x1)return'';for(var t,_0x3ec888=null,_0x55f65c=[],_0x5f147e=0x0;_0x565bcd<_0x504cf5;)(t=_0x703ba2[_0x565bcd++])<0x80?_0x55f65c[_0x5f147e++]=t:t>0xbf&&t<0xe0?_0x55f65c[_0x5f147e++]=(0x1f&t)<<0x6|0x3f&_0x703ba2[_0x565bcd++]:t>0xef&&t<0x16d?(t=((0x7&t)<<0x12|(0x3f&_0x703ba2[_0x565bcd++])<<0xc|(0x3f&_0x703ba2[_0x565bcd++])<<0x6|0x3f&_0x703ba2[_0x565bcd++])-0x10000,_0x55f65c[_0x5f147e++]=0xd800+(t>>0xa),_0x55f65c[_0x5f147e++]=0xdc00+(0x3ff&t)):_0x55f65c[_0x5f147e++]=(0xf&t)<<0xc|(0x3f&_0x703ba2[_0x565bcd++])<<0x6|0x3f&_0x703ba2[_0x565bcd++],_0x5f147e>0x1fff&&((_0x3ec888||(_0x3ec888=[]))['push'](String['fromCharCode']['apply'](String,_0x55f65c)),_0x5f147e=0x0);return _0x3ec888?(_0x5f147e&&_0x3ec888['push'](String['fromCharCode']['apply'](String,_0x55f65c['slice'](0x0,_0x5f147e))),_0x3ec888['join']('')):String['fromCharCode']['apply'](String,_0x55f65c['slice'](0x0,_0x5f147e));},_0x17cef0['write']=function(_0x31750b,_0x3d2c02,_0x27cd38){for(var _0x1b31ff,_0x5c2a94,_0x2568f2=_0x27cd38,_0x56a032=0x0;_0x56a032<_0x31750b['length'];++_0x56a032)(_0x1b31ff=_0x31750b['charCodeAt'](_0x56a032))<0x80?_0x3d2c02[_0x27cd38++]=_0x1b31ff:_0x1b31ff<0x800?(_0x3d2c02[_0x27cd38++]=_0x1b31ff>>0x6|0xc0,_0x3d2c02[_0x27cd38++]=0x3f&_0x1b31ff|0x80):0xd800==(0xfc00&_0x1b31ff)&&0xdc00==(0xfc00&(_0x5c2a94=_0x31750b['charCodeAt'](_0x56a032+0x1)))?(_0x1b31ff=0x10000+((0x3ff&_0x1b31ff)<<0xa)+(0x3ff&_0x5c2a94),++_0x56a032,_0x3d2c02[_0x27cd38++]=_0x1b31ff>>0x12|0xf0,_0x3d2c02[_0x27cd38++]=_0x1b31ff>>0xc&0x3f|0x80,_0x3d2c02[_0x27cd38++]=_0x1b31ff>>0x6&0x3f|0x80,_0x3d2c02[_0x27cd38++]=0x3f&_0x1b31ff|0x80):(_0x3d2c02[_0x27cd38++]=_0x1b31ff>>0xc|0xe0,_0x3d2c02[_0x27cd38++]=_0x1b31ff>>0x6&0x3f|0x80,_0x3d2c02[_0x27cd38++]=0x3f&_0x1b31ff|0x80);return _0x27cd38-_0x2568f2;};}(utf8)),utf8;}function requirePool(){if(_0xfe1803)return _0x7d1cb0;return _0xfe1803=0x1,_0x7d1cb0=function(_0x25e173,_0xee8355,_0x3dadf1){var _0x4a6bb7=_0x3dadf1||0x2000,_0x145083=_0x4a6bb7>>>0x1,_0x1a724d=null,_0x19ccf8=_0x4a6bb7;return function(_0x692e3d){if(_0x692e3d<0x1||_0x692e3d>_0x145083)return _0x25e173(_0x692e3d);_0x19ccf8+_0x692e3d>_0x4a6bb7&&(_0x1a724d=_0x25e173(_0x4a6bb7),_0x19ccf8=0x0);var _0xfacdc0=_0xee8355['call'](_0x1a724d,_0x19ccf8,_0x19ccf8+=_0x692e3d);return 0x7&_0x19ccf8&&(_0x19ccf8=0x1+(0x7|_0x19ccf8)),_0xfacdc0;};},_0x7d1cb0;}function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=0x1,longbits=_0x2c20d1;var _0x3ee595=requireMinimal$1();function _0x2c20d1(_0x24446c,_0x123920){this['lo']=_0x24446c>>>0x0,this['hi']=_0x123920>>>0x0;}var _0x5541ed=_0x2c20d1['zero']=new _0x2c20d1(0x0,0x0);_0x5541ed['toNumber']=function(){return 0x0;},_0x5541ed['zzEncode']=_0x5541ed['zzDecode']=function(){return this;},_0x5541ed['length']=function(){return 0x1;};var _0x21df44=_0x2c20d1['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x2c20d1['fromNumber']=function(_0x25c7db){if(0x0===_0x25c7db)return _0x5541ed;var _0x2aaba4=_0x25c7db<0x0;_0x2aaba4&&(_0x25c7db=-_0x25c7db);var _0xb60c10=_0x25c7db>>>0x0,_0x21b1c6=(_0x25c7db-_0xb60c10)/0x100000000>>>0x0;return _0x2aaba4&&(_0x21b1c6=~_0x21b1c6>>>0x0,_0xb60c10=~_0xb60c10>>>0x0,++_0xb60c10>0xffffffff&&(_0xb60c10=0x0,++_0x21b1c6>0xffffffff&&(_0x21b1c6=0x0))),new _0x2c20d1(_0xb60c10,_0x21b1c6);},_0x2c20d1['from']=function(_0x5d5377){if('number'==typeof _0x5d5377)return _0x2c20d1['fromNumber'](_0x5d5377);if(_0x3ee595['isString'](_0x5d5377)){if(!_0x3ee595['Long'])return _0x2c20d1['fromNumber'](parseInt(_0x5d5377,0xa));_0x5d5377=_0x3ee595['Long']['fromString'](_0x5d5377);}return _0x5d5377['low']||_0x5d5377['high']?new _0x2c20d1(_0x5d5377['low']>>>0x0,_0x5d5377['high']>>>0x0):_0x5541ed;},_0x2c20d1['prototype']['toNumber']=function(_0x58afeb){if(!_0x58afeb&&this['hi']>>>0x1f){var _0x3ce1bb=0x1+~this['lo']>>>0x0,_0x240598=~this['hi']>>>0x0;return _0x3ce1bb||(_0x240598=_0x240598+0x1>>>0x0),-(_0x3ce1bb+0x100000000*_0x240598);}return this['lo']+0x100000000*this['hi'];},_0x2c20d1['prototype']['toLong']=function(_0x337e89){return _0x3ee595['Long']?new _0x3ee595['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x337e89)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x337e89)};};var _0x413f2f=String['prototype']['charCodeAt'];return _0x2c20d1['fromHash']=function(_0x1e639b){return _0x1e639b===_0x21df44?_0x5541ed:new _0x2c20d1((_0x413f2f['call'](_0x1e639b,0x0)|_0x413f2f['call'](_0x1e639b,0x1)<<0x8|_0x413f2f['call'](_0x1e639b,0x2)<<0x10|_0x413f2f['call'](_0x1e639b,0x3)<<0x18)>>>0x0,(_0x413f2f['call'](_0x1e639b,0x4)|_0x413f2f['call'](_0x1e639b,0x5)<<0x8|_0x413f2f['call'](_0x1e639b,0x6)<<0x10|_0x413f2f['call'](_0x1e639b,0x7)<<0x18)>>>0x0);},_0x2c20d1['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);},_0x2c20d1['prototype']['zzEncode']=function(){var _0x3d6883=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x3d6883)>>>0x0,this['lo']=(this['lo']<<0x1^_0x3d6883)>>>0x0,this;},_0x2c20d1['prototype']['zzDecode']=function(){var _0x33b1b6=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x33b1b6)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x33b1b6)>>>0x0,this;},_0x2c20d1['prototype']['length']=function(){var _0x2fb439=this['lo'],_0x3cd307=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x504af7=this['hi']>>>0x18;return 0x0===_0x504af7?0x0===_0x3cd307?_0x2fb439<0x4000?_0x2fb439<0x80?0x1:0x2:_0x2fb439<0x200000?0x3:0x4:_0x3cd307<0x4000?_0x3cd307<0x80?0x5:0x6:_0x3cd307<0x200000?0x7:0x8:_0x504af7<0x80?0x9:0xa;},longbits;}function requireMinimal$1(){return _0x364e0c||(_0x364e0c=0x1,function(_0xb59562){var _0x2b0b5c=_0xb59562;function _0x4e1071(_0x41a024,_0xaa72c2,_0x1c2ab7){for(var _0x41f358=Object['keys'](_0xaa72c2),_0x17b884=0x0;_0x17b884<_0x41f358['length'];++_0x17b884)void 0x0!==_0x41a024[_0x41f358[_0x17b884]]&&_0x1c2ab7||(_0x41a024[_0x41f358[_0x17b884]]=_0xaa72c2[_0x41f358[_0x17b884]]);return _0x41a024;}function _0xcc2f14(_0x166006){function _0x18f462(_0x317d67,_0x356d0b){if(!(this instanceof _0x18f462))return new _0x18f462(_0x317d67,_0x356d0b);Object['defineProperty'](this,'message',{'get':function(){return _0x317d67;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x18f462):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x356d0b&&_0x4e1071(this,_0x356d0b);}return _0x18f462['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x18f462,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x166006;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x18f462;}_0x2b0b5c['asPromise']=requireAspromise(),_0x2b0b5c['base64']=requireBase64(),_0x2b0b5c['EventEmitter']=requireEventemitter(),_0x2b0b5c['float']=requireFloat(),_0x2b0b5c['inquire']=requireInquire(),_0x2b0b5c['utf8']=requireUtf8(),_0x2b0b5c['pool']=requirePool(),_0x2b0b5c['LongBits']=requireLongbits(),_0x2b0b5c['isNode']=Boolean(void 0x0!==_0x3e72ba&&_0x3e72ba&&_0x3e72ba['process']&&_0x3e72ba['process']['versions']&&_0x3e72ba['process']['versions']['node']),_0x2b0b5c['global']=_0x2b0b5c['isNode']&&_0x3e72ba||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x509ece,_0x2b0b5c['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x2b0b5c['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x2b0b5c['isInteger']=Number['isInteger']||function(_0x21b244){return'number'==typeof _0x21b244&&isFinite(_0x21b244)&&Math['floor'](_0x21b244)===_0x21b244;},_0x2b0b5c['isString']=function(_0x3be487){return'string'==typeof _0x3be487||_0x3be487 instanceof String;},_0x2b0b5c['isObject']=function(_0x9aa8ad){return _0x9aa8ad&&'object'==typeof _0x9aa8ad;},_0x2b0b5c['isset']=_0x2b0b5c['isSet']=function(_0x511ef7,_0x4d14f3){var _0x79b7e2=_0x511ef7[_0x4d14f3];return!(null==_0x79b7e2||!_0x511ef7['hasOwnProperty'](_0x4d14f3))&&('object'!=typeof _0x79b7e2||(Array['isArray'](_0x79b7e2)?_0x79b7e2['length']:Object['keys'](_0x79b7e2)['length'])>0x0);},_0x2b0b5c['Buffer']=(function(){try{var _0x42f3dc=_0x2b0b5c['inquire']('buffer')['Buffer'];return _0x42f3dc['prototype']['utf8Write']?_0x42f3dc:null;}catch(_0x95bea0){return null;}}()),_0x2b0b5c['_Buffer_from']=null,_0x2b0b5c['_Buffer_allocUnsafe']=null,_0x2b0b5c['newBuffer']=function(_0x4c90f1){return'number'==typeof _0x4c90f1?_0x2b0b5c['Buffer']?_0x2b0b5c['_Buffer_allocUnsafe'](_0x4c90f1):new _0x2b0b5c['Array'](_0x4c90f1):_0x2b0b5c['Buffer']?_0x2b0b5c['_Buffer_from'](_0x4c90f1):'undefined'==typeof Uint8Array?_0x4c90f1:new Uint8Array(_0x4c90f1);},_0x2b0b5c['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x2b0b5c['Long']=_0x2b0b5c['global']['dcodeIO']&&_0x2b0b5c['global']['dcodeIO']['Long']||_0x2b0b5c['global']['Long']||_0x2b0b5c['inquire']('long'),_0x2b0b5c['key2Re']=/^true|false|0|1$/,_0x2b0b5c['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x2b0b5c['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x2b0b5c['longToHash']=function(_0xc678ed){return _0xc678ed?_0x2b0b5c['LongBits']['from'](_0xc678ed)['toHash']():_0x2b0b5c['LongBits']['zeroHash'];},_0x2b0b5c['longFromHash']=function(_0x1f19a5,_0x495ef7){var _0x1fcd66=_0x2b0b5c['LongBits']['fromHash'](_0x1f19a5);return _0x2b0b5c['Long']?_0x2b0b5c['Long']['fromBits'](_0x1fcd66['lo'],_0x1fcd66['hi'],_0x495ef7):_0x1fcd66['toNumber'](Boolean(_0x495ef7));},_0x2b0b5c['merge']=_0x4e1071,_0x2b0b5c['lcFirst']=function(_0xbd89c8){return _0xbd89c8['charAt'](0x0)['toLowerCase']()+_0xbd89c8['substring'](0x1);},_0x2b0b5c['newError']=_0xcc2f14,_0x2b0b5c['ProtocolError']=_0xcc2f14('ProtocolError'),_0x2b0b5c['oneOfGetter']=function(_0xb02e93){for(var _0x43a6f7={},_0x578032=0x0;_0x578032<_0xb02e93['length'];++_0x578032)_0x43a6f7[_0xb02e93[_0x578032]]=0x1;return function(){for(var _0x539339=Object['keys'](this),_0x542ad2=_0x539339['length']-0x1;_0x542ad2>-0x1;--_0x542ad2)if(0x1===_0x43a6f7[_0x539339[_0x542ad2]]&&void 0x0!==this[_0x539339[_0x542ad2]]&&null!==this[_0x539339[_0x542ad2]])return _0x539339[_0x542ad2];};},_0x2b0b5c['oneOfSetter']=function(_0x498042){return function(_0x47274c){for(var _0x412dc2=0x0;_0x412dc2<_0x498042['length'];++_0x412dc2)_0x498042[_0x412dc2]!==_0x47274c&&delete this[_0x498042[_0x412dc2]];};},_0x2b0b5c['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x2b0b5c['_configure']=function(){var _0x43ca2b=_0x2b0b5c['Buffer'];_0x43ca2b?(_0x2b0b5c['_Buffer_from']=_0x43ca2b['from']!==Uint8Array['from']&&_0x43ca2b['from']||function(_0x250c8d,_0x561521){return new _0x43ca2b(_0x250c8d,_0x561521);},_0x2b0b5c['_Buffer_allocUnsafe']=_0x43ca2b['allocUnsafe']||function(_0x5a64af){return new _0x43ca2b(_0x5a64af);}):_0x2b0b5c['_Buffer_from']=_0x2b0b5c['_Buffer_allocUnsafe']=null;};}(_0x509ece)),_0x509ece;}function requireWriter(){if(hasRequiredWriter)return writer;hasRequiredWriter=0x1,writer=_0x19841e;var _0x402d1a,_0x5c50be=requireMinimal$1(),_0x45ce89=_0x5c50be['LongBits'],_0x471105=_0x5c50be['base64'],_0x18eee7=_0x5c50be['utf8'];function _0x327694(_0x1ea6ce,_0x3188b1,_0x4f2dfe){this['fn']=_0x1ea6ce,this['len']=_0x3188b1,this['next']=void 0x0,this['val']=_0x4f2dfe;}function _0x4da317(){}function _0x6f9fee(_0x3bcb93){this['head']=_0x3bcb93['head'],this['tail']=_0x3bcb93['tail'],this['len']=_0x3bcb93['len'],this['next']=_0x3bcb93['states'];}function _0x19841e(){this['len']=0x0,this['head']=new _0x327694(_0x4da317,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x2779cc=function(){return _0x5c50be['Buffer']?function(){return(_0x19841e['create']=function(){return new _0x402d1a();})();}:function(){return new _0x19841e();};};function _0x4bc144(_0x45f350,_0x288ebb,_0x5718a4){_0x288ebb[_0x5718a4]=0xff&_0x45f350;}function _0x24664a(_0x1f5846,_0x11c6fe){this['len']=_0x1f5846,this['next']=void 0x0,this['val']=_0x11c6fe;}function _0x3c1929(_0x58d8e2,_0x17c49d,_0x3cb269){for(;_0x58d8e2['hi'];)_0x17c49d[_0x3cb269++]=0x7f&_0x58d8e2['lo']|0x80,_0x58d8e2['lo']=(_0x58d8e2['lo']>>>0x7|_0x58d8e2['hi']<<0x19)>>>0x0,_0x58d8e2['hi']>>>=0x7;for(;_0x58d8e2['lo']>0x7f;)_0x17c49d[_0x3cb269++]=0x7f&_0x58d8e2['lo']|0x80,_0x58d8e2['lo']=_0x58d8e2['lo']>>>0x7;_0x17c49d[_0x3cb269++]=_0x58d8e2['lo'];}function _0x50a12a(_0x2c1316,_0x55f574,_0x25f9ce){_0x55f574[_0x25f9ce]=0xff&_0x2c1316,_0x55f574[_0x25f9ce+0x1]=_0x2c1316>>>0x8&0xff,_0x55f574[_0x25f9ce+0x2]=_0x2c1316>>>0x10&0xff,_0x55f574[_0x25f9ce+0x3]=_0x2c1316>>>0x18;}_0x19841e['create']=_0x2779cc(),_0x19841e['alloc']=function(_0x50b1ad){return new _0x5c50be['Array'](_0x50b1ad);},_0x5c50be['Array']!==Array&&(_0x19841e['alloc']=_0x5c50be['pool'](_0x19841e['alloc'],_0x5c50be['Array']['prototype']['subarray'])),_0x19841e['prototype']['_push']=function(_0x4f1206,_0xaa0d44,_0x5e8bd0){return this['tail']=this['tail']['next']=new _0x327694(_0x4f1206,_0xaa0d44,_0x5e8bd0),this['len']+=_0xaa0d44,this;},_0x24664a['prototype']=Object['create'](_0x327694['prototype']),_0x24664a['prototype']['fn']=function(_0x3f6957,_0x4bb977,_0x9c9236){for(;_0x3f6957>0x7f;)_0x4bb977[_0x9c9236++]=0x7f&_0x3f6957|0x80,_0x3f6957>>>=0x7;_0x4bb977[_0x9c9236]=_0x3f6957;},_0x19841e['prototype']['uint32']=function(_0x40ddd3){return this['len']+=(this['tail']=this['tail']['next']=new _0x24664a((_0x40ddd3>>>=0x0)<0x80?0x1:_0x40ddd3<0x4000?0x2:_0x40ddd3<0x200000?0x3:_0x40ddd3<0x10000000?0x4:0x5,_0x40ddd3))['len'],this;},_0x19841e['prototype']['int32']=function(_0xa9f96a){return _0xa9f96a<0x0?this['_push'](_0x3c1929,0xa,_0x45ce89['fromNumber'](_0xa9f96a)):this['uint32'](_0xa9f96a);},_0x19841e['prototype']['sint32']=function(_0xe97196){return this['uint32']((_0xe97196<<0x1^_0xe97196>>0x1f)>>>0x0);},_0x19841e['prototype']['uint64']=function(_0x4bdec2){var _0x12431b=_0x45ce89['from'](_0x4bdec2);return this['_push'](_0x3c1929,_0x12431b['length'](),_0x12431b);},_0x19841e['prototype']['int64']=_0x19841e['prototype']['uint64'],_0x19841e['prototype']['sint64']=function(_0xdcbb4a){var _0x54fa19=_0x45ce89['from'](_0xdcbb4a)['zzEncode']();return this['_push'](_0x3c1929,_0x54fa19['length'](),_0x54fa19);},_0x19841e['prototype']['bool']=function(_0x6a68ba){return this['_push'](_0x4bc144,0x1,_0x6a68ba?0x1:0x0);},_0x19841e['prototype']['fixed32']=function(_0x5374bf){return this['_push'](_0x50a12a,0x4,_0x5374bf>>>0x0);},_0x19841e['prototype']['sfixed32']=_0x19841e['prototype']['fixed32'],_0x19841e['prototype']['fixed64']=function(_0x431706){var _0x5eb274=_0x45ce89['from'](_0x431706);return this['_push'](_0x50a12a,0x4,_0x5eb274['lo'])['_push'](_0x50a12a,0x4,_0x5eb274['hi']);},_0x19841e['prototype']['sfixed64']=_0x19841e['prototype']['fixed64'],_0x19841e['prototype']['float']=function(_0x2f2301){return this['_push'](_0x5c50be['float']['writeFloatLE'],0x4,_0x2f2301);},_0x19841e['prototype']['double']=function(_0x12e0a6){return this['_push'](_0x5c50be['float']['writeDoubleLE'],0x8,_0x12e0a6);};var _0x204b21=_0x5c50be['Array']['prototype']['set']?function(_0x53d024,_0x4b1963,_0x328fa){_0x4b1963['set'](_0x53d024,_0x328fa);}:function(_0x337087,_0x3b9902,_0x5bf47d){for(var _0x5ca160=0x0;_0x5ca160<_0x337087['length'];++_0x5ca160)_0x3b9902[_0x5bf47d+_0x5ca160]=_0x337087[_0x5ca160];};return _0x19841e['prototype']['bytes']=function(_0x5cf501){var _0x1cb551=_0x5cf501['length']>>>0x0;if(!_0x1cb551)return this['_push'](_0x4bc144,0x1,0x0);if(_0x5c50be['isString'](_0x5cf501)){var _0x19a1d4=_0x19841e['alloc'](_0x1cb551=_0x471105['length'](_0x5cf501));_0x471105['decode'](_0x5cf501,_0x19a1d4,0x0),_0x5cf501=_0x19a1d4;}return this['uint32'](_0x1cb551)['_push'](_0x204b21,_0x1cb551,_0x5cf501);},_0x19841e['prototype']['string']=function(_0x2db53e){var _0x29dc15=_0x18eee7['length'](_0x2db53e);return _0x29dc15?this['uint32'](_0x29dc15)['_push'](_0x18eee7['write'],_0x29dc15,_0x2db53e):this['_push'](_0x4bc144,0x1,0x0);},_0x19841e['prototype']['fork']=function(){return this['states']=new _0x6f9fee(this),this['head']=this['tail']=new _0x327694(_0x4da317,0x0,0x0),this['len']=0x0,this;},_0x19841e['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 _0x327694(_0x4da317,0x0,0x0),this['len']=0x0),this;},_0x19841e['prototype']['ldelim']=function(){var _0x20b6cd=this['head'],_0x5f1ba5=this['tail'],_0x813fe6=this['len'];return this['reset']()['uint32'](_0x813fe6),_0x813fe6&&(this['tail']['next']=_0x20b6cd['next'],this['tail']=_0x5f1ba5,this['len']+=_0x813fe6),this;},_0x19841e['prototype']['finish']=function(){for(var _0x2eff9f=this['head']['next'],_0x56aade=this['constructor']['alloc'](this['len']),_0x219117=0x0;_0x2eff9f;)_0x2eff9f['fn'](_0x2eff9f['val'],_0x56aade,_0x219117),_0x219117+=_0x2eff9f['len'],_0x2eff9f=_0x2eff9f['next'];return _0x56aade;},_0x19841e['_configure']=function(_0x27f661){_0x402d1a=_0x27f661,_0x19841e['create']=_0x2779cc(),_0x402d1a['_configure']();},writer;}function requireWriter_buffer(){if(hasRequiredWriter_buffer)return writer_buffer;hasRequiredWriter_buffer=0x1,writer_buffer=_0x287ad7;var _0x426dce=requireWriter();(_0x287ad7['prototype']=Object['create'](_0x426dce['prototype']))['constructor']=_0x287ad7;var _0x4b7e80=requireMinimal$1();function _0x287ad7(){_0x426dce['call'](this);}function _0x5788e2(_0x36a1f2,_0x5b1b72,_0x356218){_0x36a1f2['length']<0x28?_0x4b7e80['utf8']['write'](_0x36a1f2,_0x5b1b72,_0x356218):_0x5b1b72['utf8Write']?_0x5b1b72['utf8Write'](_0x36a1f2,_0x356218):_0x5b1b72['write'](_0x36a1f2,_0x356218);}return _0x287ad7['_configure']=function(){_0x287ad7['alloc']=_0x4b7e80['_Buffer_allocUnsafe'],_0x287ad7['writeBytesBuffer']=_0x4b7e80['Buffer']&&_0x4b7e80['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x4b7e80['Buffer']['prototype']['set']['name']?function(_0x470469,_0x58a57c,_0x2a2d76){_0x58a57c['set'](_0x470469,_0x2a2d76);}:function(_0x28943f,_0x202d7a,_0x2e6591){if(_0x28943f['copy'])_0x28943f['copy'](_0x202d7a,_0x2e6591,0x0,_0x28943f['length']);else{for(var _0x28dd00=0x0;_0x28dd00<_0x28943f['length'];)_0x202d7a[_0x2e6591++]=_0x28943f[_0x28dd00++];}};},_0x287ad7['prototype']['bytes']=function(_0x2f7d3e){_0x4b7e80['isString'](_0x2f7d3e)&&(_0x2f7d3e=_0x4b7e80['_Buffer_from'](_0x2f7d3e,'base64'));var _0x3fc4b6=_0x2f7d3e['length']>>>0x0;return this['uint32'](_0x3fc4b6),_0x3fc4b6&&this['_push'](_0x287ad7['writeBytesBuffer'],_0x3fc4b6,_0x2f7d3e),this;},_0x287ad7['prototype']['string']=function(_0x2e9f56){var _0x5c4723=_0x4b7e80['Buffer']['byteLength'](_0x2e9f56);return this['uint32'](_0x5c4723),_0x5c4723&&this['_push'](_0x5788e2,_0x5c4723,_0x2e9f56),this;},_0x287ad7['_configure'](),writer_buffer;}function requireReader(){if(_0x32fb0a)return _0x3192f8;_0x32fb0a=0x1,_0x3192f8=_0xb64611;var _0x27e021,_0x107843=requireMinimal$1(),_0x34af8f=_0x107843['LongBits'],_0x3dc318=_0x107843['utf8'];function _0x5a35a8(_0x1b4abb,_0x1bed18){return RangeError('index\x20out\x20of\x20range:\x20'+_0x1b4abb['pos']+'\x20+\x20'+(_0x1bed18||0x1)+'\x20>\x20'+_0x1b4abb['len']);}function _0xb64611(_0x3d6ef3){this['buf']=_0x3d6ef3,this['pos']=0x0,this['len']=_0x3d6ef3['length'];}var _0x427b17='undefined'!=typeof Uint8Array?function(_0x2d2e49){if(_0x2d2e49 instanceof Uint8Array||Array['isArray'](_0x2d2e49))return new _0xb64611(_0x2d2e49);throw Error('illegal\x20buffer');}:function(_0x15c864){if(Array['isArray'](_0x15c864))return new _0xb64611(_0x15c864);throw Error('illegal\x20buffer');},_0x1be325=function(){return _0x107843['Buffer']?function(_0x31cecf){return(_0xb64611['create']=function(_0x38d1d4){return _0x107843['Buffer']['isBuffer'](_0x38d1d4)?new _0x27e021(_0x38d1d4):_0x427b17(_0x38d1d4);})(_0x31cecf);}:_0x427b17;};function _0x2ac615(){var _0x22db0f=new _0x34af8f(0x0,0x0),_0x58fd7a=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x58fd7a<0x3;++_0x58fd7a){if(this['pos']>=this['len'])throw _0x5a35a8(this);if(_0x22db0f['lo']=(_0x22db0f['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x58fd7a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x22db0f;}return _0x22db0f['lo']=(_0x22db0f['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x58fd7a)>>>0x0,_0x22db0f;}for(;_0x58fd7a<0x4;++_0x58fd7a)if(_0x22db0f['lo']=(_0x22db0f['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x58fd7a)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x22db0f;if(_0x22db0f['lo']=(_0x22db0f['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x22db0f['hi']=(_0x22db0f['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x22db0f;if(_0x58fd7a=0x0,this['len']-this['pos']>0x4){for(;_0x58fd7a<0x5;++_0x58fd7a)if(_0x22db0f['hi']=(_0x22db0f['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x58fd7a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x22db0f;}else for(;_0x58fd7a<0x5;++_0x58fd7a){if(this['pos']>=this['len'])throw _0x5a35a8(this);if(_0x22db0f['hi']=(_0x22db0f['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x58fd7a+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x22db0f;}throw Error('invalid\x20varint\x20encoding');}function _0x24df06(_0x46bd2c,_0x2328ac){return(_0x46bd2c[_0x2328ac-0x4]|_0x46bd2c[_0x2328ac-0x3]<<0x8|_0x46bd2c[_0x2328ac-0x2]<<0x10|_0x46bd2c[_0x2328ac-0x1]<<0x18)>>>0x0;}function _0x2f19d3(){if(this['pos']+0x8>this['len'])throw _0x5a35a8(this,0x8);return new _0x34af8f(_0x24df06(this['buf'],this['pos']+=0x4),_0x24df06(this['buf'],this['pos']+=0x4));}return _0xb64611['create']=_0x1be325(),_0xb64611['prototype']['_slice']=_0x107843['Array']['prototype']['subarray']||_0x107843['Array']['prototype']['slice'],_0xb64611['prototype']['uint32']=(function(){var _0x3f77f6=0xffffffff;return function(){if(_0x3f77f6=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3f77f6;if(_0x3f77f6=(_0x3f77f6|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3f77f6;if(_0x3f77f6=(_0x3f77f6|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3f77f6;if(_0x3f77f6=(_0x3f77f6|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3f77f6;if(_0x3f77f6=(_0x3f77f6|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3f77f6;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x5a35a8(this,0xa);return _0x3f77f6;};}()),_0xb64611['prototype']['int32']=function(){return 0x0|this['uint32']();},_0xb64611['prototype']['sint32']=function(){var _0x471c99=this['uint32']();return _0x471c99>>>0x1^-(0x1&_0x471c99);},_0xb64611['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0xb64611['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x5a35a8(this,0x4);return _0x24df06(this['buf'],this['pos']+=0x4);},_0xb64611['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x5a35a8(this,0x4);return 0x0|_0x24df06(this['buf'],this['pos']+=0x4);},_0xb64611['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x5a35a8(this,0x4);var _0x1c5c72=_0x107843['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x1c5c72;},_0xb64611['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x5a35a8(this,0x4);var _0x137961=_0x107843['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x137961;},_0xb64611['prototype']['bytes']=function(){var _0x252c68=this['uint32'](),_0x5dc0ee=this['pos'],_0x522604=this['pos']+_0x252c68;if(_0x522604>this['len'])throw _0x5a35a8(this,_0x252c68);if(this['pos']+=_0x252c68,Array['isArray'](this['buf']))return this['buf']['slice'](_0x5dc0ee,_0x522604);if(_0x5dc0ee===_0x522604){var _0x1938d9=_0x107843['Buffer'];return _0x1938d9?_0x1938d9['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x5dc0ee,_0x522604);},_0xb64611['prototype']['string']=function(){var _0x33cdec=this['bytes']();return _0x3dc318['read'](_0x33cdec,0x0,_0x33cdec['length']);},_0xb64611['prototype']['skip']=function(_0x2335d1){if('number'==typeof _0x2335d1){if(this['pos']+_0x2335d1>this['len'])throw _0x5a35a8(this,_0x2335d1);this['pos']+=_0x2335d1;}else do{if(this['pos']>=this['len'])throw _0x5a35a8(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0xb64611['prototype']['skipType']=function(_0x5c2a7e){switch(_0x5c2a7e){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x5c2a7e=0x7&this['uint32']());)this['skipType'](_0x5c2a7e);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x5c2a7e+'\x20at\x20offset\x20'+this['pos']);}return this;},_0xb64611['_configure']=function(_0x2ddba9){_0x27e021=_0x2ddba9,_0xb64611['create']=_0x1be325(),_0x27e021['_configure']();var _0x4ffe37=_0x107843['Long']?'toLong':'toNumber';_0x107843['merge'](_0xb64611['prototype'],{'int64':function(){return _0x2ac615['call'](this)[_0x4ffe37](!0x1);},'uint64':function(){return _0x2ac615['call'](this)[_0x4ffe37](!0x0);},'sint64':function(){return _0x2ac615['call'](this)['zzDecode']()[_0x4ffe37](!0x1);},'fixed64':function(){return _0x2f19d3['call'](this)[_0x4ffe37](!0x0);},'sfixed64':function(){return _0x2f19d3['call'](this)[_0x4ffe37](!0x1);}});},_0x3192f8;}function requireReader_buffer(){if(_0x527f2e)return _0x5c2a2e;_0x527f2e=0x1,_0x5c2a2e=_0x545e75;var _0x4a4e34=requireReader();(_0x545e75['prototype']=Object['create'](_0x4a4e34['prototype']))['constructor']=_0x545e75;var _0x882263=requireMinimal$1();function _0x545e75(_0x394aa4){_0x4a4e34['call'](this,_0x394aa4);}return _0x545e75['_configure']=function(){_0x882263['Buffer']&&(_0x545e75['prototype']['_slice']=_0x882263['Buffer']['prototype']['slice']);},_0x545e75['prototype']['string']=function(){var _0xde00cf=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0xde00cf,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0xde00cf,this['len']));},_0x545e75['_configure'](),_0x5c2a2e;}var _0x4776cc={},_0x3a0610,_0x329194,_0x120e39,roots,hasRequiredRoots,_0x38c998,_0x3f0370,_0x54f732;function requireService(){if(_0x329194)return _0x3a0610;_0x329194=0x1,_0x3a0610=_0x515f28;var _0x452b3a=requireMinimal$1();function _0x515f28(_0x3124df,_0x10c60c,_0x524d67){if('function'!=typeof _0x3124df)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x452b3a['EventEmitter']['call'](this),this['rpcImpl']=_0x3124df,this['requestDelimited']=Boolean(_0x10c60c),this['responseDelimited']=Boolean(_0x524d67);}return(_0x515f28['prototype']=Object['create'](_0x452b3a['EventEmitter']['prototype']))['constructor']=_0x515f28,_0x515f28['prototype']['rpcCall']=function _0x37dd35(_0x26fdec,_0x18dc05,_0x22d343,_0x44d475,_0x48cd8d){if(!_0x44d475)throw TypeError('request\x20must\x20be\x20specified');var _0x598f8b=this;if(!_0x48cd8d)return _0x452b3a['asPromise'](_0x37dd35,_0x598f8b,_0x26fdec,_0x18dc05,_0x22d343,_0x44d475);if(_0x598f8b['rpcImpl'])try{return _0x598f8b['rpcImpl'](_0x26fdec,_0x18dc05[_0x598f8b['requestDelimited']?'encodeDelimited':'encode'](_0x44d475)['finish'](),function(_0x72dede,_0x3daae0){if(_0x72dede)return _0x598f8b['emit']('error',_0x72dede,_0x26fdec),_0x48cd8d(_0x72dede);if(null!==_0x3daae0){if(!(_0x3daae0 instanceof _0x22d343))try{_0x3daae0=_0x22d343[_0x598f8b['responseDelimited']?'decodeDelimited':'decode'](_0x3daae0);}catch(_0x12f77f){return _0x598f8b['emit']('error',_0x12f77f,_0x26fdec),_0x48cd8d(_0x12f77f);}return _0x598f8b['emit']('data',_0x3daae0,_0x26fdec),_0x48cd8d(null,_0x3daae0);}_0x598f8b['end'](!0x0);});}catch(_0x2c85a2){return _0x598f8b['emit']('error',_0x2c85a2,_0x26fdec),void setTimeout(function(){_0x48cd8d(_0x2c85a2);},0x0);}else setTimeout(function(){_0x48cd8d(Error('already\x20ended'));},0x0);},_0x515f28['prototype']['end']=function(_0x3defd1){return this['rpcImpl']&&(_0x3defd1||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x3a0610;}function requireRpc(){return _0x120e39||(_0x120e39=0x1,_0x4776cc['Service']=requireService()),_0x4776cc;}function requireRoots(){return hasRequiredRoots?roots:(hasRequiredRoots=0x1,roots={});}function requireIndexMinimal(){return _0x38c998||(_0x38c998=0x1,function(_0x28ba0d){var _0x17f167=_0x28ba0d;function _0x3605bb(){_0x17f167['util']['_configure'](),_0x17f167['Writer']['_configure'](_0x17f167['BufferWriter']),_0x17f167['Reader']['_configure'](_0x17f167['BufferReader']);}_0x17f167['build']='minimal',_0x17f167['Writer']=requireWriter(),_0x17f167['BufferWriter']=requireWriter_buffer(),_0x17f167['Reader']=requireReader(),_0x17f167['BufferReader']=requireReader_buffer(),_0x17f167['util']=requireMinimal$1(),_0x17f167['rpc']=requireRpc(),_0x17f167['roots']=requireRoots(),_0x17f167['configure']=_0x3605bb,_0x3605bb();}(_0x26f6e6)),_0x26f6e6;}function requireMinimal(){return _0x54f732?_0x3f0370:(_0x54f732=0x1,_0x3f0370=requireIndexMinimal());}var minimalExports=requireMinimal();const _0x4bb95f=Object['create'](null);_0x4bb95f['open']='0',_0x4bb95f['close']='1',_0x4bb95f['ping']='2',_0x4bb95f['pong']='3',_0x4bb95f['message']='4',_0x4bb95f['upgrade']='5',_0x4bb95f['noop']='6';const _0x5da48f=Object['create'](null);Object['keys'](_0x4bb95f)['forEach'](_0x37ebb2=>{_0x5da48f[_0x4bb95f[_0x37ebb2]]=_0x37ebb2;});const _0x54f2ff={'type':'error','data':'parser\x20error'},withNativeBlob$1='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),withNativeArrayBuffer$2='function'==typeof ArrayBuffer,_0x2bc7f6=_0x4ad9af=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x4ad9af):_0x4ad9af&&_0x4ad9af['buffer']instanceof ArrayBuffer,encodePacket=({type:_0x3fc159,data:_0x348be4},_0x3088fc,_0x4ff967)=>withNativeBlob$1&&_0x348be4 instanceof Blob?_0x3088fc?_0x4ff967(_0x348be4):_0x3d5e02(_0x348be4,_0x4ff967):withNativeArrayBuffer$2&&(_0x348be4 instanceof ArrayBuffer||_0x2bc7f6(_0x348be4))?_0x3088fc?_0x4ff967(_0x348be4):_0x3d5e02(new Blob([_0x348be4]),_0x4ff967):_0x4ff967(_0x4bb95f[_0x3fc159]+(_0x348be4||'')),_0x3d5e02=(_0x4d7fc0,_0x4b8ff0)=>{const _0x4f5a3c=new FileReader();return _0x4f5a3c['onload']=function(){const _0x5d46e3=_0x4f5a3c['result']['split'](',')[0x1];_0x4b8ff0('b'+(_0x5d46e3||''));},_0x4f5a3c['readAsDataURL'](_0x4d7fc0);};function toArray(_0x1b5cc4){return _0x1b5cc4 instanceof Uint8Array?_0x1b5cc4:_0x1b5cc4 instanceof ArrayBuffer?new Uint8Array(_0x1b5cc4):new Uint8Array(_0x1b5cc4['buffer'],_0x1b5cc4['byteOffset'],_0x1b5cc4['byteLength']);}let _0x87f56a;function encodePacketToBinary(_0x2c4d48,_0xe41b46){return withNativeBlob$1&&_0x2c4d48['data']instanceof Blob?_0x2c4d48['data']['arrayBuffer']()['then'](toArray)['then'](_0xe41b46):withNativeArrayBuffer$2&&(_0x2c4d48['data']instanceof ArrayBuffer||_0x2bc7f6(_0x2c4d48['data']))?_0xe41b46(toArray(_0x2c4d48['data'])):void encodePacket(_0x2c4d48,!0x1,_0x4f9aea=>{_0x87f56a||(_0x87f56a=new TextEncoder()),_0xe41b46(_0x87f56a['encode'](_0x4f9aea));});}const _0x4a6d3c='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x20b4a2='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x470561=0x0;_0x470561<_0x4a6d3c['length'];_0x470561++)_0x20b4a2[_0x4a6d3c['charCodeAt'](_0x470561)]=_0x470561;const _0x180de4=_0x44596e=>{let _0x2e922b,_0x452a98,_0x14951b,_0xb92bab,_0x54bd9b,_0x59827c=0.75*_0x44596e['length'],_0x1c6a89=_0x44596e['length'],_0x15c7d3=0x0;'='===_0x44596e[_0x44596e['length']-0x1]&&(_0x59827c--,'='===_0x44596e[_0x44596e['length']-0x2]&&_0x59827c--);const _0x3e23fc=new ArrayBuffer(_0x59827c),_0x4137fe=new Uint8Array(_0x3e23fc);for(_0x2e922b=0x0;_0x2e922b<_0x1c6a89;_0x2e922b+=0x4)_0x452a98=_0x20b4a2[_0x44596e['charCodeAt'](_0x2e922b)],_0x14951b=_0x20b4a2[_0x44596e['charCodeAt'](_0x2e922b+0x1)],_0xb92bab=_0x20b4a2[_0x44596e['charCodeAt'](_0x2e922b+0x2)],_0x54bd9b=_0x20b4a2[_0x44596e['charCodeAt'](_0x2e922b+0x3)],_0x4137fe[_0x15c7d3++]=_0x452a98<<0x2|_0x14951b>>0x4,_0x4137fe[_0x15c7d3++]=(0xf&_0x14951b)<<0x4|_0xb92bab>>0x2,_0x4137fe[_0x15c7d3++]=(0x3&_0xb92bab)<<0x6|0x3f&_0x54bd9b;return _0x3e23fc;},withNativeArrayBuffer$1='function'==typeof ArrayBuffer,decodePacket=(_0x22abe5,_0x5367d3)=>{if('string'!=typeof _0x22abe5)return{'type':'message','data':_0x5b4de5(_0x22abe5,_0x5367d3)};const _0x503cd2=_0x22abe5['charAt'](0x0);if('b'===_0x503cd2)return{'type':'message','data':decodeBase64Packet(_0x22abe5['substring'](0x1),_0x5367d3)};return _0x5da48f[_0x503cd2]?_0x22abe5['length']>0x1?{'type':_0x5da48f[_0x503cd2],'data':_0x22abe5['substring'](0x1)}:{'type':_0x5da48f[_0x503cd2]}:_0x54f2ff;},decodeBase64Packet=(_0x5eadce,_0x338d6d)=>{if(withNativeArrayBuffer$1){const _0x1e0acf=_0x180de4(_0x5eadce);return _0x5b4de5(_0x1e0acf,_0x338d6d);}return{'base64':!0x0,'data':_0x5eadce};},_0x5b4de5=(_0x4be4f6,_0x3e627b)=>'blob'===_0x3e627b?_0x4be4f6 instanceof Blob?_0x4be4f6:new Blob([_0x4be4f6]):_0x4be4f6 instanceof ArrayBuffer?_0x4be4f6:_0x4be4f6['buffer'],_0x57ba3e=String['fromCharCode'](0x1e),_0x4a8019=(_0x578cba,_0x2ffc06)=>{const _0x2b1e65=_0x578cba['length'],_0x317736=new Array(_0x2b1e65);let _0x50e1b7=0x0;_0x578cba['forEach']((_0xb650ad,_0x37dc15)=>{encodePacket(_0xb650ad,!0x1,_0x1b9f5e=>{_0x317736[_0x37dc15]=_0x1b9f5e,++_0x50e1b7===_0x2b1e65&&_0x2ffc06(_0x317736['join'](_0x57ba3e));});});},_0x18b8ca=(_0x326ab0,_0x17d6a5)=>{const _0x4712be=_0x326ab0['split'](_0x57ba3e),_0x4ea83b=[];for(let _0x429881=0x0;_0x429881<_0x4712be['length'];_0x429881++){const _0x5dba4c=decodePacket(_0x4712be[_0x429881],_0x17d6a5);if(_0x4ea83b['push'](_0x5dba4c),'error'===_0x5dba4c['type'])break;}return _0x4ea83b;};function createPacketEncoderStream(){return new TransformStream({'transform'(_0x3c4633,_0x138749){encodePacketToBinary(_0x3c4633,_0x5dedb7=>{const _0x205b07=_0x5dedb7['length'];let _0x1f6c5d;if(_0x205b07<0x7e)_0x1f6c5d=new Uint8Array(0x1),new DataView(_0x1f6c5d['buffer'])['setUint8'](0x0,_0x205b07);else{if(_0x205b07<0x10000){_0x1f6c5d=new Uint8Array(0x3);const _0x4321ac=new DataView(_0x1f6c5d['buffer']);_0x4321ac['setUint8'](0x0,0x7e),_0x4321ac['setUint16'](0x1,_0x205b07);}else{_0x1f6c5d=new Uint8Array(0x9);const _0x36d516=new DataView(_0x1f6c5d['buffer']);_0x36d516['setUint8'](0x0,0x7f),_0x36d516['setBigUint64'](0x1,BigInt(_0x205b07));}}_0x3c4633['data']&&'string'!=typeof _0x3c4633['data']&&(_0x1f6c5d[0x0]|=0x80),_0x138749['enqueue'](_0x1f6c5d),_0x138749['enqueue'](_0x5dedb7);});}});}let _0x590c61;function totalLength(_0x44c742){return _0x44c742['reduce']((_0x4b9e02,_0x5c4b80)=>_0x4b9e02+_0x5c4b80['length'],0x0);}function concatChunks(_0x4778d3,_0x4b8063){if(_0x4778d3[0x0]['length']===_0x4b8063)return _0x4778d3['shift']();const _0x30f8d3=new Uint8Array(_0x4b8063);let _0x278d0e=0x0;for(let _0x298268=0x0;_0x298268<_0x4b8063;_0x298268++)_0x30f8d3[_0x298268]=_0x4778d3[0x0][_0x278d0e++],_0x278d0e===_0x4778d3[0x0]['length']&&(_0x4778d3['shift'](),_0x278d0e=0x0);return _0x4778d3['length']&&_0x278d0e<_0x4778d3[0x0]['length']&&(_0x4778d3[0x0]=_0x4778d3[0x0]['slice'](_0x278d0e)),_0x30f8d3;}function createPacketDecoderStream(_0x18a235,_0x2f6d44){_0x590c61||(_0x590c61=new TextDecoder());const _0x503718=[];let _0x282383=0x0,_0x1b405d=-0x1,_0x399dce=!0x1;return new TransformStream({'transform'(_0x4d464c,_0x3d6736){for(_0x503718['push'](_0x4d464c);;){if(0x0===_0x282383){if(totalLength(_0x503718)<0x1)break;const _0x262941=concatChunks(_0x503718,0x1);_0x399dce=!(0x80&~_0x262941[0x0]),_0x1b405d=0x7f&_0x262941[0x0],_0x282383=_0x1b405d<0x7e?0x3:0x7e===_0x1b405d?0x1:0x2;}else{if(0x1===_0x282383){if(totalLength(_0x503718)<0x2)break;const _0x4bf363=concatChunks(_0x503718,0x2);_0x1b405d=new DataView(_0x4bf363['buffer'],_0x4bf363['byteOffset'],_0x4bf363['length'])['getUint16'](0x0),_0x282383=0x3;}else{if(0x2===_0x282383){if(totalLength(_0x503718)<0x8)break;const _0x17f00=concatChunks(_0x503718,0x8),_0x467a55=new DataView(_0x17f00['buffer'],_0x17f00['byteOffset'],_0x17f00['length']),_0x314432=_0x467a55['getUint32'](0x0);if(_0x314432>Math['pow'](0x2,0x15)-0x1){_0x3d6736['enqueue'](_0x54f2ff);break;}_0x1b405d=_0x314432*Math['pow'](0x2,0x20)+_0x467a55['getUint32'](0x4),_0x282383=0x3;}else{if(totalLength(_0x503718)<_0x1b405d)break;const _0x2e9c86=concatChunks(_0x503718,_0x1b405d);_0x3d6736['enqueue'](decodePacket(_0x399dce?_0x2e9c86:_0x590c61['decode'](_0x2e9c86),_0x2f6d44)),_0x282383=0x0;}}}if(0x0===_0x1b405d||_0x1b405d>_0x18a235){_0x3d6736['enqueue'](_0x54f2ff);break;}}}});}const protocol$1=0x4;function Emitter(_0x535afd){if(_0x535afd)return _0x5c6354(_0x535afd);}function _0x5c6354(_0x244c34){for(var _0x9fdf4d in Emitter['prototype'])_0x244c34[_0x9fdf4d]=Emitter['prototype'][_0x9fdf4d];return _0x244c34;}Emitter['prototype']['on']=Emitter['prototype']['addEventListener']=function(_0x1404c2,_0x519e25){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x1404c2]=this['_callbacks']['$'+_0x1404c2]||[])['push'](_0x519e25),this;},Emitter['prototype']['once']=function(_0x274c5f,_0xb5146e){function _0x41cdde(){this['off'](_0x274c5f,_0x41cdde),_0xb5146e['apply'](this,arguments);}return _0x41cdde['fn']=_0xb5146e,this['on'](_0x274c5f,_0x41cdde),this;},Emitter['prototype']['off']=Emitter['prototype']['removeListener']=Emitter['prototype']['removeAllListeners']=Emitter['prototype']['removeEventListener']=function(_0xec0f60,_0x7ec198){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x3d806f,_0x150884=this['_callbacks']['$'+_0xec0f60];if(!_0x150884)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0xec0f60],this;for(var _0x405ee7=0x0;_0x405ee7<_0x150884['length'];_0x405ee7++)if((_0x3d806f=_0x150884[_0x405ee7])===_0x7ec198||_0x3d806f['fn']===_0x7ec198){_0x150884['splice'](_0x405ee7,0x1);break;}return 0x0===_0x150884['length']&&delete this['_callbacks']['$'+_0xec0f60],this;},Emitter['prototype']['emit']=function(_0x44178c){this['_callbacks']=this['_callbacks']||{};for(var _0xd70f62=new Array(arguments['length']-0x1),_0x2af219=this['_callbacks']['$'+_0x44178c],_0x1e8329=0x1;_0x1e8329<arguments['length'];_0x1e8329++)_0xd70f62[_0x1e8329-0x1]=arguments[_0x1e8329];if(_0x2af219){_0x1e8329=0x0;for(var _0x495251=(_0x2af219=_0x2af219['slice'](0x0))['length'];_0x1e8329<_0x495251;++_0x1e8329)_0x2af219[_0x1e8329]['apply'](this,_0xd70f62);}return this;},Emitter['prototype']['emitReserved']=Emitter['prototype']['emit'],Emitter['prototype']['listeners']=function(_0x36005a){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x36005a]||[];},Emitter['prototype']['hasListeners']=function(_0x19e1ff){return!!this['listeners'](_0x19e1ff)['length'];};const _0x1c1673='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x51057a(_0x4e72a0,..._0x15d697){return _0x15d697['reduce']((_0x473840,_0x25570a)=>(_0x4e72a0['hasOwnProperty'](_0x25570a)&&(_0x473840[_0x25570a]=_0x4e72a0[_0x25570a]),_0x473840),{});}const _0x1bd601=_0x1c1673['setTimeout'],_0x35b104=_0x1c1673['clearTimeout'];function installTimerFunctions(_0x1ec4e5,_0x7b410f){_0x7b410f['useNativeTimers']?(_0x1ec4e5['setTimeoutFn']=_0x1bd601['bind'](_0x1c1673),_0x1ec4e5['clearTimeoutFn']=_0x35b104['bind'](_0x1c1673)):(_0x1ec4e5['setTimeoutFn']=_0x1c1673['setTimeout']['bind'](_0x1c1673),_0x1ec4e5['clearTimeoutFn']=_0x1c1673['clearTimeout']['bind'](_0x1c1673));}const _0x5105ae=1.33;function byteLength(_0x54813d){return'string'==typeof _0x54813d?utf8Length(_0x54813d):Math['ceil']((_0x54813d['byteLength']||_0x54813d['size'])*_0x5105ae);}function utf8Length(_0x1bd398){let _0x2680fa=0x0,_0x32a28e=0x0;for(let _0x235d32=0x0,_0x12cade=_0x1bd398['length'];_0x235d32<_0x12cade;_0x235d32++)_0x2680fa=_0x1bd398['charCodeAt'](_0x235d32),_0x2680fa<0x80?_0x32a28e+=0x1:_0x2680fa<0x800?_0x32a28e+=0x2:_0x2680fa<0xd800||_0x2680fa>=0xe000?_0x32a28e+=0x3:(_0x235d32++,_0x32a28e+=0x4);return _0x32a28e;}function _0x56aa52(_0x1da626){let _0x3680cb='';for(let _0x33bde6 in _0x1da626)_0x1da626['hasOwnProperty'](_0x33bde6)&&(_0x3680cb['length']&&(_0x3680cb+='&'),_0x3680cb+=encodeURIComponent(_0x33bde6)+'='+encodeURIComponent(_0x1da626[_0x33bde6]));return _0x3680cb;}function _0x1fba43(_0x1e97ba){let _0x5cbba1={},_0xd3de59=_0x1e97ba['split']('&');for(let _0xe1e1e7=0x0,_0x2c9aad=_0xd3de59['length'];_0xe1e1e7<_0x2c9aad;_0xe1e1e7++){let _0x17150d=_0xd3de59[_0xe1e1e7]['split']('=');_0x5cbba1[decodeURIComponent(_0x17150d[0x0])]=decodeURIComponent(_0x17150d[0x1]);}return _0x5cbba1;}class TransportError extends Error{constructor(_0x3ac173,_0x5ea200,_0x1b2060){super(_0x3ac173),this['description']=_0x5ea200,this['context']=_0x1b2060,this['type']='TransportError';}}class Transport extends Emitter{constructor(_0x58444b){super(),this['writable']=!0x1,installTimerFunctions(this,_0x58444b),this['opts']=_0x58444b,this['query']=_0x58444b['query'],this['socket']=_0x58444b['socket'];}['onError'](_0x398e35,_0x166ebe,_0x45ec13){return super['emitReserved']('error',new TransportError(_0x398e35,_0x166ebe,_0x45ec13)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x33fb16){'open'===this['readyState']&&this['write'](_0x33fb16);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x584035){const _0x5972f3=decodePacket(_0x584035,this['socket']['binaryType']);this['onPacket'](_0x5972f3);}['onPacket'](_0x55ca33){super['emitReserved']('packet',_0x55ca33);}['onClose'](_0x2cff93){this['readyState']='closed',super['emitReserved']('close',_0x2cff93);}['pause'](_0x356328){}['createUri'](_0x11688b,_0x267202={}){return _0x11688b+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x267202);}['_hostname'](){const _0x13e58c=this['opts']['hostname'];return-0x1===_0x13e58c['indexOf'](':')?_0x13e58c:'['+_0x13e58c+']';}['_port'](){return this['opts']['port']&&(this['opts']['secure']&&Number(0x1bb!==this['opts']['port'])||!this['opts']['secure']&&0x50!==Number(this['opts']['port']))?':'+this['opts']['port']:'';}['_query'](_0x9cfa71){const _0x499cf3=_0x56aa52(_0x9cfa71);return _0x499cf3['length']?'?'+_0x499cf3:'';}}const alphabet='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),length=0x40,_0x4febc1={};let _0x50bff8=0x0,_0x3cb5b7=0x0,_0x191e68;function _0x18a216(_0xd5fe3f){let _0x446c94='';do{_0x446c94=alphabet[_0xd5fe3f%length]+_0x446c94,_0xd5fe3f=Math['floor'](_0xd5fe3f/length);}while(_0xd5fe3f>0x0);return _0x446c94;}function yeast(){const _0x127fa0=_0x18a216(+new Date());return _0x127fa0!==_0x191e68?(_0x50bff8=0x0,_0x191e68=_0x127fa0):_0x127fa0+'.'+_0x18a216(_0x50bff8++);}for(;_0x3cb5b7<length;_0x3cb5b7++)_0x4febc1[alphabet[_0x3cb5b7]]=_0x3cb5b7;let _0x2a30ab=!0x1;try{_0x2a30ab='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x4ffbd1){}const _0x1876fe=_0x2a30ab;function _0x15bc40(_0x4f2228){const _0x38774b=_0x4f2228['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x38774b||_0x1876fe))return new XMLHttpRequest();}catch(_0x52303b){}if(!_0x38774b)try{return new _0x1c1673[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0xfdfb58){}}function createCookieJar(){}function empty(){}const _0xb36c36=null!=new _0x15bc40({'xdomain':!0x1})['responseType'];class _0x2c3577 extends Transport{constructor(_0x51e071){if(super(_0x51e071),this['polling']=!0x1,'undefined'!=typeof location){const _0x571d61='https:'===location['protocol'];let _0x23b062=location['port'];_0x23b062||(_0x23b062=_0x571d61?'443':'80'),this['xd']='undefined'!=typeof location&&_0x51e071['hostname']!==location['hostname']||_0x23b062!==_0x51e071['port'];}const _0x811e57=_0x51e071&&_0x51e071['forceBase64'];this['supportsBinary']=_0xb36c36&&!_0x811e57,this['opts']['withCredentials']&&(this['cookieJar']=createCookieJar());}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x27e538){this['readyState']='pausing';const _0x5bc1a2=()=>{this['readyState']='paused',_0x27e538();};if(this['polling']||!this['writable']){let _0x3f06f7=0x0;this['polling']&&(_0x3f06f7++,this['once']('pollComplete',function(){--_0x3f06f7||_0x5bc1a2();})),this['writable']||(_0x3f06f7++,this['once']('drain',function(){--_0x3f06f7||_0x5bc1a2();}));}else _0x5bc1a2();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x31f13d){_0x18b8ca(_0x31f13d,this['socket']['binaryType'])['forEach'](_0x23c3ec=>{if('opening'===this['readyState']&&'open'===_0x23c3ec['type']&&this['onOpen'](),'close'===_0x23c3ec['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x23c3ec);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x3aa71a=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x3aa71a():this['once']('open',_0x3aa71a);}['write'](_0x2654ce){this['writable']=!0x1,_0x4a8019(_0x2654ce,_0x131140=>{this['doWrite'](_0x131140,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x210ecc=this['opts']['secure']?'https':'http',_0x27f201=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x27f201[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||_0x27f201['sid']||(_0x27f201['b64']=0x1),this['createUri'](_0x210ecc,_0x27f201);}['request'](_0x1fbdc2={}){return Object['assign'](_0x1fbdc2,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request$1(this['uri'](),_0x1fbdc2);}['doWrite'](_0xe2f674,_0x5a46cf){const _0x536edc=this['request']({'method':'POST','data':_0xe2f674});_0x536edc['on']('success',_0x5a46cf),_0x536edc['on']('error',(_0x130299,_0x1b36cd)=>{this['onError']('xhr\x20post\x20error',_0x130299,_0x1b36cd);});}['doPoll'](){const _0x50660c=this['request']();_0x50660c['on']('data',this['onData']['bind'](this)),_0x50660c['on']('error',(_0x1c162d,_0x5d39df)=>{this['onError']('xhr\x20poll\x20error',_0x1c162d,_0x5d39df);}),this['pollXhr']=_0x50660c;}}let Request$1=class _0x33cb8d extends Emitter{constructor(_0x4078ee,_0x43121b){super(),installTimerFunctions(this,_0x43121b),this['opts']=_0x43121b,this['method']=_0x43121b['method']||'GET',this['uri']=_0x4078ee,this['data']=void 0x0!==_0x43121b['data']?_0x43121b['data']:null,this['create']();}['create'](){var _0x1a9f44;const _0x56d5c4=_0x51057a(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x56d5c4['xdomain']=!!this['opts']['xd'];const _0x22cbab=this['xhr']=new _0x15bc40(_0x56d5c4);try{_0x22cbab['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x22cbab['setDisableHeaderCheck']&&_0x22cbab['setDisableHeaderCheck'](!0x0);for(let _0x2b2c24 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x2b2c24)&&_0x22cbab['setRequestHeader'](_0x2b2c24,this['opts']['extraHeaders'][_0x2b2c24]);}}catch(_0x1f27e2){}if('POST'===this['method'])try{_0x22cbab['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x48c74d){}try{_0x22cbab['setRequestHeader']('Accept','*/*');}catch(_0x78bf50){}null===(_0x1a9f44=this['opts']['cookieJar'])||void 0x0===_0x1a9f44||_0x1a9f44['addCookies'](_0x22cbab),'withCredentials'in _0x22cbab&&(_0x22cbab['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x22cbab['timeout']=this['opts']['requestTimeout']),_0x22cbab['onreadystatechange']=()=>{var _0x1c973d;0x3===_0x22cbab['readyState']&&(null===(_0x1c973d=this['opts']['cookieJar'])||void 0x0===_0x1c973d||_0x1c973d['parseCookies'](_0x22cbab)),0x4===_0x22cbab['readyState']&&(0xc8===_0x22cbab['status']||0x4c7===_0x22cbab['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x22cbab['status']?_0x22cbab['status']:0x0);},0x0));},_0x22cbab['send'](this['data']);}catch(_0x5cfc89){return void this['setTimeoutFn'](()=>{this['onError'](_0x5cfc89);},0x0);}'undefined'!=typeof document&&(this['index']=_0x33cb8d['requestsCount']++,_0x33cb8d['requests'][this['index']]=this);}['onError'](_0xc0a6ba){this['emitReserved']('error',_0xc0a6ba,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x14055b){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=empty,_0x14055b)try{this['xhr']['abort']();}catch(_0x42855a){}'undefined'!=typeof document&&delete _0x33cb8d['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x487ca7=this['xhr']['responseText'];null!==_0x487ca7&&(this['emitReserved']('data',_0x487ca7),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}};if(Request$1['requestsCount']=0x0,Request$1['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x5ce30d);else{if('function'==typeof addEventListener){const _0x6dcda='onpagehide'in _0x1c1673?'pagehide':'unload';addEventListener(_0x6dcda,_0x5ce30d,!0x1);}}}function _0x5ce30d(){for(let _0x188b6e in Request$1['requests'])Request$1['requests']['hasOwnProperty'](_0x188b6e)&&Request$1['requests'][_0x188b6e]['abort']();}const nextTick='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x1ceea5=>Promise['resolve']()['then'](_0x1ceea5):(_0x4ed358,_0x435e54)=>_0x435e54(_0x4ed358,0x0),WebSocket$3=_0x1c1673['WebSocket']||_0x1c1673['MozWebSocket'],usingBrowserWebSocket=!0x0,defaultBinaryType='arraybuffer',isReactNative='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase']();class _0xc4ed09 extends Transport{constructor(_0x54e365){super(_0x54e365),this['supportsBinary']=!_0x54e365['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x4d117b=this['uri'](),_0x4b764c=this['opts']['protocols'],_0x15c205=isReactNative?{}:_0x51057a(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x15c205['headers']=this['opts']['extraHeaders']);try{this['ws']=usingBrowserWebSocket&&!isReactNative?_0x4b764c?new WebSocket$3(_0x4d117b,_0x4b764c):new WebSocket$3(_0x4d117b):new WebSocket$3(_0x4d117b,_0x4b764c,_0x15c205);}catch(_0x38ca50){return this['emitReserved']('error',_0x38ca50);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x316f44=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x316f44}),this['ws']['onmessage']=_0x2eeece=>this['onData'](_0x2eeece['data']),this['ws']['onerror']=_0x9a0a46=>this['onError']('websocket\x20error',_0x9a0a46);}['write'](_0x458ad4){this['writable']=!0x1;for(let _0x462f9b=0x0;_0x462f9b<_0x458ad4['length'];_0x462f9b++){const _0x2294c8=_0x458ad4[_0x462f9b],_0x4e7556=_0x462f9b===_0x458ad4['length']-0x1;encodePacket(_0x2294c8,this['supportsBinary'],_0x3c07a1=>{try{usingBrowserWebSocket&&this['ws']['send'](_0x3c07a1);}catch(_0x335dfc){}_0x4e7556&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x5d4bcb=this['opts']['secure']?'wss':'ws',_0x2ba0e1=this['query']||{};return this['opts']['timestampRequests']&&(_0x2ba0e1[this['opts']['timestampParam']]=yeast()),this['supportsBinary']||(_0x2ba0e1['b64']=0x1),this['createUri'](_0x5d4bcb,_0x2ba0e1);}['check'](){return!!WebSocket$3;}}class _0x462d88 extends Transport{get['name'](){return'webtransport';}['doOpen'](){'function'==typeof WebTransport&&(this['transport']=new WebTransport(this['createUri']('https'),this['opts']['transportOptions'][this['name']]),this['transport']['closed']['then'](()=>{this['onClose']();})['catch'](_0x3d279c=>{this['onError']('webtransport\x20error',_0x3d279c);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x4f7f5b=>{const _0xfa16ec=createPacketDecoderStream(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x2f11fe=_0x4f7f5b['readable']['pipeThrough'](_0xfa16ec)['getReader'](),_0x5b427f=createPacketEncoderStream();_0x5b427f['readable']['pipeTo'](_0x4f7f5b['writable']),this['writer']=_0x5b427f['writable']['getWriter']();const _0x40bd4f=()=>{_0x2f11fe['read']()['then'](({done:_0x58f60e,value:_0x528ead})=>{_0x58f60e||(this['onPacket'](_0x528ead),_0x40bd4f());})['catch'](_0x4020d5=>{});};_0x40bd4f();const _0x1ec80f={'type':'open'};this['query']['sid']&&(_0x1ec80f['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x1ec80f)['then'](()=>this['onOpen']());});}));}['write'](_0x3f96d7){this['writable']=!0x1;for(let _0x14a3a2=0x0;_0x14a3a2<_0x3f96d7['length'];_0x14a3a2++){const _0x1e1270=_0x3f96d7[_0x14a3a2],_0x461134=_0x14a3a2===_0x3f96d7['length']-0x1;this['writer']['write'](_0x1e1270)['then'](()=>{_0x461134&&nextTick(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x55a70d;null===(_0x55a70d=this['transport'])||void 0x0===_0x55a70d||_0x55a70d['close']();}}const transports={'websocket':_0xc4ed09,'webtransport':_0x462d88,'polling':_0x2c3577},_0x5cd229=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _0x4fdc3f(_0x53e940){if(_0x53e940['length']>0x7d0)throw'URI\x20too\x20long';const _0xf5b9f4=_0x53e940,_0x29b771=_0x53e940['indexOf']('['),_0x5400f9=_0x53e940['indexOf'](']');-0x1!=_0x29b771&&-0x1!=_0x5400f9&&(_0x53e940=_0x53e940['substring'](0x0,_0x29b771)+_0x53e940['substring'](_0x29b771,_0x5400f9)['replace'](/:/g,';')+_0x53e940['substring'](_0x5400f9,_0x53e940['length']));let _0x57e26c=_0x5cd229['exec'](_0x53e940||''),_0x32187e={},_0xfc1bf2=0xe;for(;_0xfc1bf2--;)_0x32187e[parts[_0xfc1bf2]]=_0x57e26c[_0xfc1bf2]||'';return-0x1!=_0x29b771&&-0x1!=_0x5400f9&&(_0x32187e['source']=_0xf5b9f4,_0x32187e['host']=_0x32187e['host']['substring'](0x1,_0x32187e['host']['length']-0x1)['replace'](/;/g,':'),_0x32187e['authority']=_0x32187e['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x32187e['ipv6uri']=!0x0),_0x32187e['pathNames']=pathNames(_0x32187e,_0x32187e['path']),_0x32187e['queryKey']=_0x4c9ddc(_0x32187e,_0x32187e['query']),_0x32187e;}function pathNames(_0x477e29,_0x3d040d){const _0x319700=_0x3d040d['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x3d040d['slice'](0x0,0x1)&&0x0!==_0x3d040d['length']||_0x319700['splice'](0x0,0x1),'/'==_0x3d040d['slice'](-0x1)&&_0x319700['splice'](_0x319700['length']-0x1,0x1),_0x319700;}function _0x4c9ddc(_0x1eda3c,_0x3d8d70){const _0x4a88f={};return _0x3d8d70['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x446dc1,_0x3ab70f,_0x431a8d){_0x3ab70f&&(_0x4a88f[_0x3ab70f]=_0x431a8d);}),_0x4a88f;}let Socket$1=class _0x4859c7 extends Emitter{constructor(_0x514a9f,_0x114ff4={}){super(),this['binaryType']=defaultBinaryType,this['writeBuffer']=[],_0x514a9f&&'object'==typeof _0x514a9f&&(_0x114ff4=_0x514a9f,_0x514a9f=null),_0x514a9f?(_0x514a9f=_0x4fdc3f(_0x514a9f),_0x114ff4['hostname']=_0x514a9f['host'],_0x114ff4['secure']='https'===_0x514a9f['protocol']||'wss'===_0x514a9f['protocol'],_0x114ff4['port']=_0x514a9f['port'],_0x514a9f['query']&&(_0x114ff4['query']=_0x514a9f['query'])):_0x114ff4['host']&&(_0x114ff4['hostname']=_0x4fdc3f(_0x114ff4['host'])['host']),installTimerFunctions(this,_0x114ff4),this['secure']=null!=_0x114ff4['secure']?_0x114ff4['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x114ff4['hostname']&&!_0x114ff4['port']&&(_0x114ff4['port']=this['secure']?'443':'80'),this['hostname']=_0x114ff4['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x114ff4['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x114ff4['transports']||['polling','websocket','webtransport'],this['writeBuffer']=[],this['prevBufferLen']=0x0,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},_0x114ff4),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=_0x1fba43(this['opts']['query'])),this['id']=null,this['upgrades']=null,this['pingInterval']=null,this['pingTimeout']=null,this['pingTimeoutTimer']=null,'function'==typeof addEventListener&&(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'});},addEventListener('offline',this['offlineEventListener'],!0x1))),this['open']();}['createTransport'](_0x4052f5){const _0xa6e1bc=Object['assign']({},this['opts']['query']);_0xa6e1bc['EIO']=protocol$1,_0xa6e1bc['transport']=_0x4052f5,this['id']&&(_0xa6e1bc['sid']=this['id']);const _0x5954aa=Object['assign']({},this['opts'],{'query':_0xa6e1bc,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x4052f5]);return new transports[_0x4052f5](_0x5954aa);}['open'](){let _0x9ad71a;if(this['opts']['rememberUpgrade']&&_0x4859c7['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x9ad71a='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x9ad71a=this['transports'][0x0];}this['readyState']='opening';try{_0x9ad71a=this['createTransport'](_0x9ad71a);}catch(_0x3880a7){return this['transports']['shift'](),void this['open']();}_0x9ad71a['open'](),this['setTransport'](_0x9ad71a);}['setTransport'](_0x5e3ac9){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x5e3ac9,_0x5e3ac9['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x43680e=>this['onClose']('transport\x20close',_0x43680e));}['probe'](_0x4928b5){let _0x25a9f1=this['createTransport'](_0x4928b5),_0x57a5be=!0x1;_0x4859c7['priorWebsocketSuccess']=!0x1;const _0x407774=()=>{_0x57a5be||(_0x25a9f1['send']([{'type':'ping','data':'probe'}]),_0x25a9f1['once']('packet',_0x58913f=>{if(!_0x57a5be){if('pong'===_0x58913f['type']&&'probe'===_0x58913f['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x25a9f1),!_0x25a9f1)return;_0x4859c7['priorWebsocketSuccess']='websocket'===_0x25a9f1['name'],this['transport']['pause'](()=>{_0x57a5be||'closed'!==this['readyState']&&(_0x328d8a(),this['setTransport'](_0x25a9f1),_0x25a9f1['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x25a9f1),_0x25a9f1=null,this['upgrading']=!0x1,this['flush']());});}else{const _0xe9a761=new Error('probe\x20error');_0xe9a761['transport']=_0x25a9f1['name'],this['emitReserved']('upgradeError',_0xe9a761);}}}));};function _0x468594(){_0x57a5be||(_0x57a5be=!0x0,_0x328d8a(),_0x25a9f1['close'](),_0x25a9f1=null);}const _0x4fe267=_0x396c12=>{const _0x4cef3d=new Error('probe\x20error:\x20'+_0x396c12);_0x4cef3d['transport']=_0x25a9f1['name'],_0x468594(),this['emitReserved']('upgradeError',_0x4cef3d);};function _0x3dfd44(){_0x4fe267('transport\x20closed');}function _0x2a2b5b(){_0x4fe267('socket\x20closed');}function _0x10d45b(_0x3d557a){_0x25a9f1&&_0x3d557a['name']!==_0x25a9f1['name']&&_0x468594();}const _0x328d8a=()=>{_0x25a9f1['removeListener']('open',_0x407774),_0x25a9f1['removeListener']('error',_0x4fe267),_0x25a9f1['removeListener']('close',_0x3dfd44),this['off']('close',_0x2a2b5b),this['off']('upgrading',_0x10d45b);};_0x25a9f1['once']('open',_0x407774),_0x25a9f1['once']('error',_0x4fe267),_0x25a9f1['once']('close',_0x3dfd44),this['once']('close',_0x2a2b5b),this['once']('upgrading',_0x10d45b),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x4928b5?this['setTimeoutFn'](()=>{_0x57a5be||_0x25a9f1['open']();},0xc8):_0x25a9f1['open']();}['onOpen'](){if(this['readyState']='open',_0x4859c7['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x1f1bce=0x0;const _0x55339e=this['upgrades']['length'];for(;_0x1f1bce<_0x55339e;_0x1f1bce++)this['probe'](this['upgrades'][_0x1f1bce]);}}['onPacket'](_0x3174ee){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x3174ee),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x3174ee['type']){case'open':this['onHandshake'](JSON['parse'](_0x3174ee['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x581d80=new Error('server\x20error');_0x581d80['code']=_0x3174ee['data'],this['onError'](_0x581d80);break;case'message':this['emitReserved']('data',_0x3174ee['data']),this['emitReserved']('message',_0x3174ee['data']);}}['onHandshake'](_0x478a5e){this['emitReserved']('handshake',_0x478a5e),this['id']=_0x478a5e['sid'],this['transport']['query']['sid']=_0x478a5e['sid'],this['upgrades']=this['filterUpgrades'](_0x478a5e['upgrades']),this['pingInterval']=_0x478a5e['pingInterval'],this['pingTimeout']=_0x478a5e['pingTimeout'],this['maxPayload']=_0x478a5e['maxPayload'],this['onOpen'](),'closed'!==this['readyState']&&this['resetPingTimeout']();}['resetPingTimeout'](){this['clearTimeoutFn'](this['pingTimeoutTimer']),this['pingTimeoutTimer']=this['setTimeoutFn'](()=>{this['onClose']('ping\x20timeout');},this['pingInterval']+this['pingTimeout']),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 _0xbc6fdf=this['getWritablePackets']();this['transport']['send'](_0xbc6fdf),this['prevBufferLen']=_0xbc6fdf['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x1fe9f5=0x1;for(let _0x33622e=0x0;_0x33622e<this['writeBuffer']['length'];_0x33622e++){const _0x524da2=this['writeBuffer'][_0x33622e]['data'];if(_0x524da2&&(_0x1fe9f5+=byteLength(_0x524da2)),_0x33622e>0x0&&_0x1fe9f5>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x33622e);_0x1fe9f5+=0x2;}return this['writeBuffer'];}['write'](_0x2f1d4a,_0x23bf2d,_0xbc671f){return this['sendPacket']('message',_0x2f1d4a,_0x23bf2d,_0xbc671f),this;}['send'](_0x42cdf1,_0x303815,_0x3bc196){return this['sendPacket']('message',_0x42cdf1,_0x303815,_0x3bc196),this;}['sendPacket'](_0x3277f,_0x234bc1,_0x3270c7,_0xed98d){if('function'==typeof _0x234bc1&&(_0xed98d=_0x234bc1,_0x234bc1=void 0x0),'function'==typeof _0x3270c7&&(_0xed98d=_0x3270c7,_0x3270c7=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x3270c7=_0x3270c7||{})['compress']=!0x1!==_0x3270c7['compress'];const _0xc1f010={'type':_0x3277f,'data':_0x234bc1,'options':_0x3270c7};this['emitReserved']('packetCreate',_0xc1f010),this['writeBuffer']['push'](_0xc1f010),_0xed98d&&this['once']('flush',_0xed98d),this['flush']();}['close'](){const _0x1784cc=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x8fe5df=()=>{this['off']('upgrade',_0x8fe5df),this['off']('upgradeError',_0x8fe5df),_0x1784cc();},_0x2de9ef=()=>{this['once']('upgrade',_0x8fe5df),this['once']('upgradeError',_0x8fe5df);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x2de9ef():_0x1784cc();}):this['upgrading']?_0x2de9ef():_0x1784cc()),this;}['onError'](_0x1d9862){_0x4859c7['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x1d9862),this['onClose']('transport\x20error',_0x1d9862);}['onClose'](_0x170500,_0x413dd3){'opening'!==this['readyState']&&'open'!==this['readyState']&&'closing'!==this['readyState']||(this['clearTimeoutFn'](this['pingTimeoutTimer']),this['transport']['removeAllListeners']('close'),this['transport']['close'](),this['transport']['removeAllListeners'](),'function'==typeof removeEventListener&&(removeEventListener('beforeunload',this['beforeunloadEventListener'],!0x1),removeEventListener('offline',this['offlineEventListener'],!0x1)),this['readyState']='closed',this['id']=null,this['emitReserved']('close',_0x170500,_0x413dd3),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x28e2dd){const _0x32a26f=[];let _0x440244=0x0;const _0x33ee22=_0x28e2dd['length'];for(;_0x440244<_0x33ee22;_0x440244++)~this['transports']['indexOf'](_0x28e2dd[_0x440244])&&_0x32a26f['push'](_0x28e2dd[_0x440244]);return _0x32a26f;}};function _0x4af7a4(_0x2831a8,_0x3c7e19='',_0x1f9739){let _0x96c4e2=_0x2831a8;_0x1f9739=_0x1f9739||'undefined'!=typeof location&&location,null==_0x2831a8&&(_0x2831a8=_0x1f9739['protocol']+'//'+_0x1f9739['host']),'string'==typeof _0x2831a8&&('/'===_0x2831a8['charAt'](0x0)&&(_0x2831a8='/'===_0x2831a8['charAt'](0x1)?_0x1f9739['protocol']+_0x2831a8:_0x1f9739['host']+_0x2831a8),/^(https?|wss?):\/\//['test'](_0x2831a8)||(_0x2831a8=void 0x0!==_0x1f9739?_0x1f9739['protocol']+'//'+_0x2831a8:'https://'+_0x2831a8),_0x96c4e2=_0x4fdc3f(_0x2831a8)),_0x96c4e2['port']||(/^(http|ws)$/['test'](_0x96c4e2['protocol'])?_0x96c4e2['port']='80':/^(http|ws)s$/['test'](_0x96c4e2['protocol'])&&(_0x96c4e2['port']='443')),_0x96c4e2['path']=_0x96c4e2['path']||'/';const _0x5bc09d=-0x1!==_0x96c4e2['host']['indexOf'](':')?'['+_0x96c4e2['host']+']':_0x96c4e2['host'];return _0x96c4e2['id']=_0x96c4e2['protocol']+'://'+_0x5bc09d+':'+_0x96c4e2['port']+_0x3c7e19,_0x96c4e2['href']=_0x96c4e2['protocol']+'://'+_0x5bc09d+(_0x1f9739&&_0x1f9739['port']===_0x96c4e2['port']?'':':'+_0x96c4e2['port']),_0x96c4e2;}Socket$1['protocol']=protocol$1;const withNativeArrayBuffer='function'==typeof ArrayBuffer,_0x23a36b=_0x4434b5=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x4434b5):_0x4434b5['buffer']instanceof ArrayBuffer,toString=Object['prototype']['toString'],withNativeBlob='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===toString['call'](Blob),withNativeFile='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===toString['call'](File);function _0x49007b(_0x4f8bb5){return withNativeArrayBuffer&&(_0x4f8bb5 instanceof ArrayBuffer||_0x23a36b(_0x4f8bb5))||withNativeBlob&&_0x4f8bb5 instanceof Blob||withNativeFile&&_0x4f8bb5 instanceof File;}function _0x18a1d6(_0x6f72bb,_0x4cb09f){if(!_0x6f72bb||'object'!=typeof _0x6f72bb)return!0x1;if(Array['isArray'](_0x6f72bb)){for(let _0x58f87f=0x0,_0x217dd2=_0x6f72bb['length'];_0x58f87f<_0x217dd2;_0x58f87f++)if(_0x18a1d6(_0x6f72bb[_0x58f87f]))return!0x0;return!0x1;}if(_0x49007b(_0x6f72bb))return!0x0;if(_0x6f72bb['toJSON']&&'function'==typeof _0x6f72bb['toJSON']&&0x1===arguments['length'])return _0x18a1d6(_0x6f72bb['toJSON'](),!0x0);for(const _0x3f3186 in _0x6f72bb)if(Object['prototype']['hasOwnProperty']['call'](_0x6f72bb,_0x3f3186)&&_0x18a1d6(_0x6f72bb[_0x3f3186]))return!0x0;return!0x1;}function deconstructPacket(_0x1a0cda){const _0x4fdfd8=[],_0x55ffa2=_0x1a0cda['data'],_0x4cbd86=_0x1a0cda;return _0x4cbd86['data']=_deconstructPacket(_0x55ffa2,_0x4fdfd8),_0x4cbd86['attachments']=_0x4fdfd8['length'],{'packet':_0x4cbd86,'buffers':_0x4fdfd8};}function _deconstructPacket(_0x2b13ef,_0xe8bef4){if(!_0x2b13ef)return _0x2b13ef;if(_0x49007b(_0x2b13ef)){const _0x397a94={'_placeholder':!0x0,'num':_0xe8bef4['length']};return _0xe8bef4['push'](_0x2b13ef),_0x397a94;}if(Array['isArray'](_0x2b13ef)){const _0x54535f=new Array(_0x2b13ef['length']);for(let _0x41f1be=0x0;_0x41f1be<_0x2b13ef['length'];_0x41f1be++)_0x54535f[_0x41f1be]=_deconstructPacket(_0x2b13ef[_0x41f1be],_0xe8bef4);return _0x54535f;}if('object'==typeof _0x2b13ef&&!(_0x2b13ef instanceof Date)){const _0x4e86b0={};for(const _0x3e7430 in _0x2b13ef)Object['prototype']['hasOwnProperty']['call'](_0x2b13ef,_0x3e7430)&&(_0x4e86b0[_0x3e7430]=_deconstructPacket(_0x2b13ef[_0x3e7430],_0xe8bef4));return _0x4e86b0;}return _0x2b13ef;}function reconstructPacket(_0x585ac5,_0x52b2c0){return _0x585ac5['data']=_reconstructPacket(_0x585ac5['data'],_0x52b2c0),delete _0x585ac5['attachments'],_0x585ac5;}function _reconstructPacket(_0x30b693,_0xcf0236){if(!_0x30b693)return _0x30b693;if(_0x30b693&&!0x0===_0x30b693['_placeholder']){if('number'==typeof _0x30b693['num']&&_0x30b693['num']>=0x0&&_0x30b693['num']<_0xcf0236['length'])return _0xcf0236[_0x30b693['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x30b693)){for(let _0x6a077c=0x0;_0x6a077c<_0x30b693['length'];_0x6a077c++)_0x30b693[_0x6a077c]=_reconstructPacket(_0x30b693[_0x6a077c],_0xcf0236);}else{if('object'==typeof _0x30b693){for(const _0x8ed737 in _0x30b693)Object['prototype']['hasOwnProperty']['call'](_0x30b693,_0x8ed737)&&(_0x30b693[_0x8ed737]=_reconstructPacket(_0x30b693[_0x8ed737],_0xcf0236));}}return _0x30b693;}const _0x103f9f=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'],protocol=0x5;var PacketType;!function(_0x246fc5){_0x246fc5[_0x246fc5['CONNECT']=0x0]='CONNECT',_0x246fc5[_0x246fc5['DISCONNECT']=0x1]='DISCONNECT',_0x246fc5[_0x246fc5['EVENT']=0x2]='EVENT',_0x246fc5[_0x246fc5['ACK']=0x3]='ACK',_0x246fc5[_0x246fc5['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x246fc5[_0x246fc5['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x246fc5[_0x246fc5['BINARY_ACK']=0x6]='BINARY_ACK';}(PacketType||(PacketType={}));let _0x393bc5=class{constructor(_0x24ff0d){this['replacer']=_0x24ff0d;}['encode'](_0x3f7afd){return _0x3f7afd['type']!==PacketType['EVENT']&&_0x3f7afd['type']!==PacketType['ACK']||!_0x18a1d6(_0x3f7afd)?[this['encodeAsString'](_0x3f7afd)]:this['encodeAsBinary']({'type':_0x3f7afd['type']===PacketType['EVENT']?PacketType['BINARY_EVENT']:PacketType['BINARY_ACK'],'nsp':_0x3f7afd['nsp'],'data':_0x3f7afd['data'],'id':_0x3f7afd['id']});}['encodeAsString'](_0x4141f2){let _0x5775fc=''+_0x4141f2['type'];return _0x4141f2['type']!==PacketType['BINARY_EVENT']&&_0x4141f2['type']!==PacketType['BINARY_ACK']||(_0x5775fc+=_0x4141f2['attachments']+'-'),_0x4141f2['nsp']&&'/'!==_0x4141f2['nsp']&&(_0x5775fc+=_0x4141f2['nsp']+','),null!=_0x4141f2['id']&&(_0x5775fc+=_0x4141f2['id']),null!=_0x4141f2['data']&&(_0x5775fc+=JSON['stringify'](_0x4141f2['data'],this['replacer'])),_0x5775fc;}['encodeAsBinary'](_0xeab5eb){const _0x49c27c=deconstructPacket(_0xeab5eb),_0x2e925b=this['encodeAsString'](_0x49c27c['packet']),_0x54e2d8=_0x49c27c['buffers'];return _0x54e2d8['unshift'](_0x2e925b),_0x54e2d8;}};function isObject$2(_0x14a745){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x14a745);}let _0x1ab98d=class _0x270845 extends Emitter{constructor(_0x40a3bc){super(),this['reviver']=_0x40a3bc;}['add'](_0x254f3d){let _0x511138;if('string'==typeof _0x254f3d){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x511138=this['decodeString'](_0x254f3d);const _0x56c4fc=_0x511138['type']===PacketType['BINARY_EVENT'];_0x56c4fc||_0x511138['type']===PacketType['BINARY_ACK']?(_0x511138['type']=_0x56c4fc?PacketType['EVENT']:PacketType['ACK'],this['reconstructor']=new BinaryReconstructor(_0x511138),0x0===_0x511138['attachments']&&super['emitReserved']('decoded',_0x511138)):super['emitReserved']('decoded',_0x511138);}else{if(!_0x49007b(_0x254f3d)&&!_0x254f3d['base64'])throw new Error('Unknown\x20type:\x20'+_0x254f3d);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x511138=this['reconstructor']['takeBinaryData'](_0x254f3d),_0x511138&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x511138));}}['decodeString'](_0x3f222b){let _0x2b17b0=0x0;const _0x5e21be={'type':Number(_0x3f222b['charAt'](0x0))};if(void 0x0===PacketType[_0x5e21be['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x5e21be['type']);if(_0x5e21be['type']===PacketType['BINARY_EVENT']||_0x5e21be['type']===PacketType['BINARY_ACK']){const _0x1dd211=_0x2b17b0+0x1;for(;'-'!==_0x3f222b['charAt'](++_0x2b17b0)&&_0x2b17b0!=_0x3f222b['length'];);const _0x596800=_0x3f222b['substring'](_0x1dd211,_0x2b17b0);if(_0x596800!=Number(_0x596800)||'-'!==_0x3f222b['charAt'](_0x2b17b0))throw new Error('Illegal\x20attachments');_0x5e21be['attachments']=Number(_0x596800);}if('/'===_0x3f222b['charAt'](_0x2b17b0+0x1)){const _0x46494c=_0x2b17b0+0x1;for(;++_0x2b17b0;){if(','===_0x3f222b['charAt'](_0x2b17b0))break;if(_0x2b17b0===_0x3f222b['length'])break;}_0x5e21be['nsp']=_0x3f222b['substring'](_0x46494c,_0x2b17b0);}else _0x5e21be['nsp']='/';const _0x461820=_0x3f222b['charAt'](_0x2b17b0+0x1);if(''!==_0x461820&&Number(_0x461820)==_0x461820){const _0x339cc0=_0x2b17b0+0x1;for(;++_0x2b17b0;){const _0x4033f9=_0x3f222b['charAt'](_0x2b17b0);if(null==_0x4033f9||Number(_0x4033f9)!=_0x4033f9){--_0x2b17b0;break;}if(_0x2b17b0===_0x3f222b['length'])break;}_0x5e21be['id']=Number(_0x3f222b['substring'](_0x339cc0,_0x2b17b0+0x1));}if(_0x3f222b['charAt'](++_0x2b17b0)){const _0x3310ca=this['tryParse'](_0x3f222b['substr'](_0x2b17b0));if(!_0x270845['isPayloadValid'](_0x5e21be['type'],_0x3310ca))throw new Error('invalid\x20payload');_0x5e21be['data']=_0x3310ca;}return _0x5e21be;}['tryParse'](_0x315ddb){try{return JSON['parse'](_0x315ddb,this['reviver']);}catch(_0x201c0e){return!0x1;}}static['isPayloadValid'](_0x1ebf5d,_0x39fbaa){switch(_0x1ebf5d){case PacketType['CONNECT']:return isObject$2(_0x39fbaa);case PacketType['DISCONNECT']:return void 0x0===_0x39fbaa;case PacketType['CONNECT_ERROR']:return'string'==typeof _0x39fbaa||isObject$2(_0x39fbaa);case PacketType['EVENT']:case PacketType['BINARY_EVENT']:return Array['isArray'](_0x39fbaa)&&('number'==typeof _0x39fbaa[0x0]||'string'==typeof _0x39fbaa[0x0]&&-0x1===_0x103f9f['indexOf'](_0x39fbaa[0x0]));case PacketType['ACK']:case PacketType['BINARY_ACK']:return Array['isArray'](_0x39fbaa);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x18aedb){this['packet']=_0x18aedb,this['buffers']=[],this['reconPack']=_0x18aedb;}['takeBinaryData'](_0x54b80a){if(this['buffers']['push'](_0x54b80a),this['buffers']['length']===this['reconPack']['attachments']){const _0x58b5b9=reconstructPacket(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x58b5b9;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}var _0x55f173=Object['freeze']({'__proto__':null,'Decoder':_0x1ab98d,'Encoder':_0x393bc5,get 'PacketType'(){return PacketType;},'protocol':protocol});function _0x5bf7a2(_0x5b0bc9,_0x4fc661,_0x194e3f){return _0x5b0bc9['on'](_0x4fc661,_0x194e3f),function(){_0x5b0bc9['off'](_0x4fc661,_0x194e3f);};}const _0x3a48bb=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends Emitter{constructor(_0x3130ae,_0x42c12c,_0x277200){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']=_0x3130ae,this['nsp']=_0x42c12c,_0x277200&&_0x277200['auth']&&(this['auth']=_0x277200['auth']),this['_opts']=Object['assign']({},_0x277200),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x1b5e00=this['io'];this['subs']=[_0x5bf7a2(_0x1b5e00,'open',this['onopen']['bind'](this)),_0x5bf7a2(_0x1b5e00,'packet',this['onpacket']['bind'](this)),_0x5bf7a2(_0x1b5e00,'error',this['onerror']['bind'](this)),_0x5bf7a2(_0x1b5e00,'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'](..._0x4f529c){return _0x4f529c['unshift']('message'),this['emit']['apply'](this,_0x4f529c),this;}['emit'](_0x3e382b,..._0x145207){if(_0x3a48bb['hasOwnProperty'](_0x3e382b))throw new Error('\x22'+_0x3e382b['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x145207['unshift'](_0x3e382b),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x145207),this;const _0xca2f5f={'type':PacketType['EVENT'],'data':_0x145207,'options':{}};if(_0xca2f5f['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x145207[_0x145207['length']-0x1]){const _0x1e7e57=this['ids']++,_0x215491=_0x145207['pop']();this['_registerAckCallback'](_0x1e7e57,_0x215491),_0xca2f5f['id']=_0x1e7e57;}const _0x5ca983=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x5ca983||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0xca2f5f),this['packet'](_0xca2f5f)):this['sendBuffer']['push'](_0xca2f5f)),this['flags']={},this;}['_registerAckCallback'](_0x1f66e1,_0x1cc725){var _0x2b0d56;const _0x5411ea=null!==(_0x2b0d56=this['flags']['timeout'])&&void 0x0!==_0x2b0d56?_0x2b0d56:this['_opts']['ackTimeout'];if(void 0x0===_0x5411ea)return void(this['acks'][_0x1f66e1]=_0x1cc725);const _0x9116f5=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x1f66e1];for(let _0x467251=0x0;_0x467251<this['sendBuffer']['length'];_0x467251++)this['sendBuffer'][_0x467251]['id']===_0x1f66e1&&this['sendBuffer']['splice'](_0x467251,0x1);_0x1cc725['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x5411ea);this['acks'][_0x1f66e1]=(..._0x42f6c1)=>{this['io']['clearTimeoutFn'](_0x9116f5),_0x1cc725['apply'](this,[null,..._0x42f6c1]);};}['emitWithAck'](_0x5b0a93,..._0x3700aa){const _0x36e4c9=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x20ccb9,_0x311155)=>{_0x3700aa['push']((_0x4814db,_0x3dcf79)=>_0x36e4c9?_0x4814db?_0x311155(_0x4814db):_0x20ccb9(_0x3dcf79):_0x20ccb9(_0x4814db)),this['emit'](_0x5b0a93,..._0x3700aa);});}['_addToQueue'](_0x938098){let _0x463451;'function'==typeof _0x938098[_0x938098['length']-0x1]&&(_0x463451=_0x938098['pop']());const _0x1b9b05={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x938098,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x938098['push']((_0x4a15cd,..._0x37c2e1)=>{if(_0x1b9b05!==this['_queue'][0x0])return;return null!==_0x4a15cd?_0x1b9b05['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x463451&&_0x463451(_0x4a15cd)):(this['_queue']['shift'](),_0x463451&&_0x463451(null,..._0x37c2e1)),_0x1b9b05['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x1b9b05),this['_drainQueue']();}['_drainQueue'](_0x493bf8=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x471e09=this['_queue'][0x0];_0x471e09['pending']&&!_0x493bf8||(_0x471e09['pending']=!0x0,_0x471e09['tryCount']++,this['flags']=_0x471e09['flags'],this['emit']['apply'](this,_0x471e09['args']));}['packet'](_0x5ae87b){_0x5ae87b['nsp']=this['nsp'],this['io']['_packet'](_0x5ae87b);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x52d71e=>{this['_sendConnectPacket'](_0x52d71e);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x4a0d8f){this['packet']({'type':PacketType['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x4a0d8f):_0x4a0d8f});}['onerror'](_0x12c58e){this['connected']||this['emitReserved']('connect_error',_0x12c58e);}['onclose'](_0x2446c5,_0x2c3a00){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x2446c5,_0x2c3a00);}['onpacket'](_0x2c4a3d){if(_0x2c4a3d['nsp']===this['nsp'])switch(_0x2c4a3d['type']){case PacketType['CONNECT']:_0x2c4a3d['data']&&_0x2c4a3d['data']['sid']?this['onconnect'](_0x2c4a3d['data']['sid'],_0x2c4a3d['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 PacketType['EVENT']:case PacketType['BINARY_EVENT']:this['onevent'](_0x2c4a3d);break;case PacketType['ACK']:case PacketType['BINARY_ACK']:this['onack'](_0x2c4a3d);break;case PacketType['DISCONNECT']:this['ondisconnect']();break;case PacketType['CONNECT_ERROR']:this['destroy']();const _0x556553=new Error(_0x2c4a3d['data']['message']);_0x556553['data']=_0x2c4a3d['data']['data'],this['emitReserved']('connect_error',_0x556553);}}['onevent'](_0x1bc1d1){const _0x2e50cf=_0x1bc1d1['data']||[];null!=_0x1bc1d1['id']&&_0x2e50cf['push'](this['ack'](_0x1bc1d1['id'])),this['connected']?this['emitEvent'](_0x2e50cf):this['receiveBuffer']['push'](Object['freeze'](_0x2e50cf));}['emitEvent'](_0x40c107){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x977e70=this['_anyListeners']['slice']();for(const _0x233f2e of _0x977e70)_0x233f2e['apply'](this,_0x40c107);}super['emit']['apply'](this,_0x40c107),this['_pid']&&_0x40c107['length']&&'string'==typeof _0x40c107[_0x40c107['length']-0x1]&&(this['_lastOffset']=_0x40c107[_0x40c107['length']-0x1]);}['ack'](_0x114854){const _0x77514b=this;let _0xd775a0=!0x1;return function(..._0x959389){_0xd775a0||(_0xd775a0=!0x0,_0x77514b['packet']({'type':PacketType['ACK'],'id':_0x114854,'data':_0x959389}));};}['onack'](_0x34a8f2){const _0x2f40bb=this['acks'][_0x34a8f2['id']];'function'==typeof _0x2f40bb&&(_0x2f40bb['apply'](this,_0x34a8f2['data']),delete this['acks'][_0x34a8f2['id']]);}['onconnect'](_0x1dc17e,_0x346f25){this['id']=_0x1dc17e,this['recovered']=_0x346f25&&this['_pid']===_0x346f25,this['_pid']=_0x346f25,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x10738e=>this['emitEvent'](_0x10738e)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x16f57e=>{this['notifyOutgoingListeners'](_0x16f57e),this['packet'](_0x16f57e);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x3f6dfd=>_0x3f6dfd()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':PacketType['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x196a20){return this['flags']['compress']=_0x196a20,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x70df9f){return this['flags']['timeout']=_0x70df9f,this;}['onAny'](_0x55f60d){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x55f60d),this;}['prependAny'](_0x9b151e){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x9b151e),this;}['offAny'](_0x366b10){if(!this['_anyListeners'])return this;if(_0x366b10){const _0x10a8ee=this['_anyListeners'];for(let _0x4bdd5b=0x0;_0x4bdd5b<_0x10a8ee['length'];_0x4bdd5b++)if(_0x366b10===_0x10a8ee[_0x4bdd5b])return _0x10a8ee['splice'](_0x4bdd5b,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x1ce815){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x1ce815),this;}['prependAnyOutgoing'](_0x54a21b){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x54a21b),this;}['offAnyOutgoing'](_0xb88627){if(!this['_anyOutgoingListeners'])return this;if(_0xb88627){const _0x2cda92=this['_anyOutgoingListeners'];for(let _0x19e018=0x0;_0x19e018<_0x2cda92['length'];_0x19e018++)if(_0xb88627===_0x2cda92[_0x19e018])return _0x2cda92['splice'](_0x19e018,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0xc5796d){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x51e5a6=this['_anyOutgoingListeners']['slice']();for(const _0x3527a0 of _0x51e5a6)_0x3527a0['apply'](this,_0xc5796d['data']);}}}function _0x6a1dd1(_0x4ed1bf){_0x4ed1bf=_0x4ed1bf||{},this['ms']=_0x4ed1bf['min']||0x64,this['max']=_0x4ed1bf['max']||0x2710,this['factor']=_0x4ed1bf['factor']||0x2,this['jitter']=_0x4ed1bf['jitter']>0x0&&_0x4ed1bf['jitter']<=0x1?_0x4ed1bf['jitter']:0x0,this['attempts']=0x0;}_0x6a1dd1['prototype']['duration']=function(){var _0x5f37f2=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x3fecca=Math['random'](),_0x413719=Math['floor'](_0x3fecca*this['jitter']*_0x5f37f2);_0x5f37f2=0x1&Math['floor'](0xa*_0x3fecca)?_0x5f37f2+_0x413719:_0x5f37f2-_0x413719;}return 0x0|Math['min'](_0x5f37f2,this['max']);},_0x6a1dd1['prototype']['reset']=function(){this['attempts']=0x0;},_0x6a1dd1['prototype']['setMin']=function(_0x5892fd){this['ms']=_0x5892fd;},_0x6a1dd1['prototype']['setMax']=function(_0x166109){this['max']=_0x166109;},_0x6a1dd1['prototype']['setJitter']=function(_0x4af55d){this['jitter']=_0x4af55d;};class _0x4d7c3b extends Emitter{constructor(_0x1964c1,_0x2465f4){var _0x8f8e0b;super(),this['nsps']={},this['subs']=[],_0x1964c1&&'object'==typeof _0x1964c1&&(_0x2465f4=_0x1964c1,_0x1964c1=void 0x0),(_0x2465f4=_0x2465f4||{})['path']=_0x2465f4['path']||'/socket.io',this['opts']=_0x2465f4,installTimerFunctions(this,_0x2465f4),this['reconnection'](!0x1!==_0x2465f4['reconnection']),this['reconnectionAttempts'](_0x2465f4['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x2465f4['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x2465f4['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x8f8e0b=_0x2465f4['randomizationFactor'])&&void 0x0!==_0x8f8e0b?_0x8f8e0b:0.5),this['backoff']=new _0x6a1dd1({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x2465f4['timeout']?0x4e20:_0x2465f4['timeout']),this['_readyState']='closed',this['uri']=_0x1964c1;const _0x3ba2f9=_0x2465f4['parser']||_0x55f173;this['encoder']=new _0x3ba2f9['Encoder'](),this['decoder']=new _0x3ba2f9['Decoder'](),this['_autoConnect']=!0x1!==_0x2465f4['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x458bdc){return arguments['length']?(this['_reconnection']=!!_0x458bdc,this):this['_reconnection'];}['reconnectionAttempts'](_0x1b8b79){return void 0x0===_0x1b8b79?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x1b8b79,this);}['reconnectionDelay'](_0x2b6b59){var _0x293322;return void 0x0===_0x2b6b59?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x2b6b59,null===(_0x293322=this['backoff'])||void 0x0===_0x293322||_0x293322['setMin'](_0x2b6b59),this);}['randomizationFactor'](_0x5e84c3){var _0x53c31b;return void 0x0===_0x5e84c3?this['_randomizationFactor']:(this['_randomizationFactor']=_0x5e84c3,null===(_0x53c31b=this['backoff'])||void 0x0===_0x53c31b||_0x53c31b['setJitter'](_0x5e84c3),this);}['reconnectionDelayMax'](_0x340290){var _0x46dc08;return void 0x0===_0x340290?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x340290,null===(_0x46dc08=this['backoff'])||void 0x0===_0x46dc08||_0x46dc08['setMax'](_0x340290),this);}['timeout'](_0x1710a0){return arguments['length']?(this['_timeout']=_0x1710a0,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x2def7a){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Socket$1(this['uri'],this['opts']);const _0x17c0d6=this['engine'],_0x210032=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x593ccc=_0x5bf7a2(_0x17c0d6,'open',function(){_0x210032['onopen'](),_0x2def7a&&_0x2def7a();}),_0x228a27=_0x574f51=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x574f51),_0x2def7a?_0x2def7a(_0x574f51):this['maybeReconnectOnOpen']();},_0x334ec2=_0x5bf7a2(_0x17c0d6,'error',_0x228a27);if(!0x1!==this['_timeout']){const _0xba25b8=this['_timeout'],_0x49a820=this['setTimeoutFn'](()=>{_0x593ccc(),_0x228a27(new Error('timeout')),_0x17c0d6['close']();},_0xba25b8);this['opts']['autoUnref']&&_0x49a820['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x49a820);});}return this['subs']['push'](_0x593ccc),this['subs']['push'](_0x334ec2),this;}['connect'](_0x3e07a0){return this['open'](_0x3e07a0);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x88c8d7=this['engine'];this['subs']['push'](_0x5bf7a2(_0x88c8d7,'ping',this['onping']['bind'](this)),_0x5bf7a2(_0x88c8d7,'data',this['ondata']['bind'](this)),_0x5bf7a2(_0x88c8d7,'error',this['onerror']['bind'](this)),_0x5bf7a2(_0x88c8d7,'close',this['onclose']['bind'](this)),_0x5bf7a2(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x68109d){try{this['decoder']['add'](_0x68109d);}catch(_0xf21b34){this['onclose']('parse\x20error',_0xf21b34);}}['ondecoded'](_0x51443f){nextTick(()=>{this['emitReserved']('packet',_0x51443f);},this['setTimeoutFn']);}['onerror'](_0x21842f){this['emitReserved']('error',_0x21842f);}['socket'](_0xd30891,_0x3ec3fe){let _0x17615d=this['nsps'][_0xd30891];return _0x17615d?this['_autoConnect']&&!_0x17615d['active']&&_0x17615d['connect']():(_0x17615d=new Socket(this,_0xd30891,_0x3ec3fe),this['nsps'][_0xd30891]=_0x17615d),_0x17615d;}['_destroy'](_0x4b4679){const _0x296099=Object['keys'](this['nsps']);for(const _0x1c0620 of _0x296099){if(this['nsps'][_0x1c0620]['active'])return;}this['_close']();}['_packet'](_0x33dddf){const _0x49abee=this['encoder']['encode'](_0x33dddf);for(let _0x1c28c5=0x0;_0x1c28c5<_0x49abee['length'];_0x1c28c5++)this['engine']['write'](_0x49abee[_0x1c28c5],_0x33dddf['options']);}['cleanup'](){this['subs']['forEach'](_0x2d6bf3=>_0x2d6bf3()),this['subs']['length']=0x0,this['decoder']['destroy']();}['_close'](){this['skipReconnect']=!0x0,this['_reconnecting']=!0x1,this['onclose']('forced\x20close'),this['engine']&&this['engine']['close']();}['disconnect'](){return this['_close']();}['onclose'](_0x41e176,_0x3081ce){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x41e176,_0x3081ce),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x12be93=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x343d46=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x385c59=this['setTimeoutFn'](()=>{_0x12be93['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x12be93['backoff']['attempts']),_0x12be93['skipReconnect']||_0x12be93['open'](_0xd52777=>{_0xd52777?(_0x12be93['_reconnecting']=!0x1,_0x12be93['reconnect'](),this['emitReserved']('reconnect_error',_0xd52777)):_0x12be93['onreconnect']();}));},_0x343d46);this['opts']['autoUnref']&&_0x385c59['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x385c59);});}}['onreconnect'](){const _0x1dcb7b=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x1dcb7b);}}const _0x2f85dd={};function _0x2dfce8(_0x5ccd45,_0x897c55){'object'==typeof _0x5ccd45&&(_0x897c55=_0x5ccd45,_0x5ccd45=void 0x0);const _0x154cc8=_0x4af7a4(_0x5ccd45,(_0x897c55=_0x897c55||{})['path']||'/socket.io'),_0x30f4d0=_0x154cc8['source'],_0x3cf599=_0x154cc8['id'],_0x277703=_0x154cc8['path'],_0x458bfc=_0x2f85dd[_0x3cf599]&&_0x277703 in _0x2f85dd[_0x3cf599]['nsps'];let _0x5c35aa;return _0x897c55['forceNew']||_0x897c55['force\x20new\x20connection']||!0x1===_0x897c55['multiplex']||_0x458bfc?_0x5c35aa=new _0x4d7c3b(_0x30f4d0,_0x897c55):(_0x2f85dd[_0x3cf599]||(_0x2f85dd[_0x3cf599]=new _0x4d7c3b(_0x30f4d0,_0x897c55)),_0x5c35aa=_0x2f85dd[_0x3cf599]),_0x154cc8['query']&&!_0x897c55['query']&&(_0x897c55['query']=_0x154cc8['queryKey']),_0x5c35aa['socket'](_0x154cc8['path'],_0x897c55);}var requiresPort,hasRequiredRequiresPort;function requireRequiresPort(){return hasRequiredRequiresPort||(hasRequiredRequiresPort=0x1,requiresPort=function(_0xf5f8b1,_0xff2367){if(_0xff2367=_0xff2367['split'](':')[0x0],!(_0xf5f8b1=+_0xf5f8b1))return!0x1;switch(_0xff2367){case'http':case'ws':return 0x50!==_0xf5f8b1;case'https':case'wss':return 0x1bb!==_0xf5f8b1;case'ftp':return 0x15!==_0xf5f8b1;case'gopher':return 0x46!==_0xf5f8b1;case'file':return!0x1;}return 0x0!==_0xf5f8b1;}),requiresPort;}Object['assign'](_0x2dfce8,{'Manager':_0x4d7c3b,'Socket':Socket,'io':_0x2dfce8,'connect':_0x2dfce8});var querystringify={},hasRequiredQuerystringify,_0x12a66a,_0x4cc142;function requireQuerystringify(){if(hasRequiredQuerystringify)return querystringify;hasRequiredQuerystringify=0x1;var _0xd1c0ff=Object['prototype']['hasOwnProperty'];function _0x533d23(_0x204cfd){try{return decodeURIComponent(_0x204cfd['replace'](/\+/g,'\x20'));}catch(_0x46a56f){return null;}}function _0x2617f3(_0x416517){try{return encodeURIComponent(_0x416517);}catch(_0x41c810){return null;}}return querystringify['stringify']=function(_0x5c3e74,_0x8cf24d){_0x8cf24d=_0x8cf24d||'';var _0xc09eae,_0xcffbc6,_0x30083f=[];for(_0xcffbc6 in('string'!=typeof _0x8cf24d&&(_0x8cf24d='?'),_0x5c3e74))if(_0xd1c0ff['call'](_0x5c3e74,_0xcffbc6)){if((_0xc09eae=_0x5c3e74[_0xcffbc6])||null!=_0xc09eae&&!isNaN(_0xc09eae)||(_0xc09eae=''),_0xcffbc6=_0x2617f3(_0xcffbc6),_0xc09eae=_0x2617f3(_0xc09eae),null===_0xcffbc6||null===_0xc09eae)continue;_0x30083f['push'](_0xcffbc6+'='+_0xc09eae);}return _0x30083f['length']?_0x8cf24d+_0x30083f['join']('&'):'';},querystringify['parse']=function(_0x2a2f88){for(var _0x4ace92,_0x52dbda=/([^=?#&]+)=?([^&]*)/g,_0x4cb354={};_0x4ace92=_0x52dbda['exec'](_0x2a2f88);){var _0xb11dce=_0x533d23(_0x4ace92[0x1]),_0xe1ee26=_0x533d23(_0x4ace92[0x2]);null===_0xb11dce||null===_0xe1ee26||_0xb11dce in _0x4cb354||(_0x4cb354[_0xb11dce]=_0xe1ee26);}return _0x4cb354;},querystringify;}function requireUrlParse(){if(_0x4cc142)return _0x12a66a;_0x4cc142=0x1;var _0x4859f9=requireRequiresPort(),_0xf7b7f2=requireQuerystringify(),_0xa65fc4=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x1607b5=/[\n\r\t]/g,_0x214eca=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x3e74ad=/:\d+$/,_0x3ce0b6=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x3e088e=/^[a-zA-Z]:/;function _0x141b81(_0x112480){return(_0x112480||'')['toString']()['replace'](_0xa65fc4,'');}var _0x2e7ed1=[['#','hash'],['?','query'],function(_0x3aa121,_0x27cf31){return _0x1c1d94(_0x27cf31['protocol'])?_0x3aa121['replace'](/\\/g,'/'):_0x3aa121;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x5cee35={'hash':0x1,'query':0x1};function _0xffcd9a(_0x2c4efd){var _0x57c63d,_0x1d1add=('undefined'!=typeof window?window:void 0x0!==_0x3e72ba?_0x3e72ba:'undefined'!=typeof self?self:{})['location']||{},_0x1d9ebe={},_0x37f294=typeof(_0x2c4efd=_0x2c4efd||_0x1d1add);if('blob:'===_0x2c4efd['protocol'])_0x1d9ebe=new _0x11a75a(unescape(_0x2c4efd['pathname']),{});else{if('string'===_0x37f294){for(_0x57c63d in(_0x1d9ebe=new _0x11a75a(_0x2c4efd,{}),_0x5cee35))delete _0x1d9ebe[_0x57c63d];}else{if('object'===_0x37f294){for(_0x57c63d in _0x2c4efd)_0x57c63d in _0x5cee35||(_0x1d9ebe[_0x57c63d]=_0x2c4efd[_0x57c63d]);void 0x0===_0x1d9ebe['slashes']&&(_0x1d9ebe['slashes']=_0x214eca['test'](_0x2c4efd['href']));}}}return _0x1d9ebe;}function _0x1c1d94(_0x16f1d8){return'file:'===_0x16f1d8||'ftp:'===_0x16f1d8||'http:'===_0x16f1d8||'https:'===_0x16f1d8||'ws:'===_0x16f1d8||'wss:'===_0x16f1d8;}function _0xca114(_0x3be240,_0x3f2d7a){_0x3be240=(_0x3be240=_0x141b81(_0x3be240))['replace'](_0x1607b5,''),_0x3f2d7a=_0x3f2d7a||{};var _0x2e55ea,_0x17b573=_0x3ce0b6['exec'](_0x3be240),_0x45973a=_0x17b573[0x1]?_0x17b573[0x1]['toLowerCase']():'',_0x19c7aa=!!_0x17b573[0x2],_0x50c705=!!_0x17b573[0x3],_0x5c8e02=0x0;return _0x19c7aa?_0x50c705?(_0x2e55ea=_0x17b573[0x2]+_0x17b573[0x3]+_0x17b573[0x4],_0x5c8e02=_0x17b573[0x2]['length']+_0x17b573[0x3]['length']):(_0x2e55ea=_0x17b573[0x2]+_0x17b573[0x4],_0x5c8e02=_0x17b573[0x2]['length']):_0x50c705?(_0x2e55ea=_0x17b573[0x3]+_0x17b573[0x4],_0x5c8e02=_0x17b573[0x3]['length']):_0x2e55ea=_0x17b573[0x4],'file:'===_0x45973a?_0x5c8e02>=0x2&&(_0x2e55ea=_0x2e55ea['slice'](0x2)):_0x1c1d94(_0x45973a)?_0x2e55ea=_0x17b573[0x4]:_0x45973a?_0x19c7aa&&(_0x2e55ea=_0x2e55ea['slice'](0x2)):_0x5c8e02>=0x2&&_0x1c1d94(_0x3f2d7a['protocol'])&&(_0x2e55ea=_0x17b573[0x4]),{'protocol':_0x45973a,'slashes':_0x19c7aa||_0x1c1d94(_0x45973a),'slashesCount':_0x5c8e02,'rest':_0x2e55ea};}function _0x11a75a(_0x41042e,_0x282272,_0x128052){if(_0x41042e=(_0x41042e=_0x141b81(_0x41042e))['replace'](_0x1607b5,''),!(this instanceof _0x11a75a))return new _0x11a75a(_0x41042e,_0x282272,_0x128052);var _0x57efdb,_0x7bf0b7,_0x5690cc,_0x3441e5,_0x56385b,_0x3e3d71,_0x53b545=_0x2e7ed1['slice'](),_0x3aa11d=typeof _0x282272,_0x2f731a=this,_0x56e968=0x0;for('object'!==_0x3aa11d&&'string'!==_0x3aa11d&&(_0x128052=_0x282272,_0x282272=null),_0x128052&&'function'!=typeof _0x128052&&(_0x128052=_0xf7b7f2['parse']),_0x57efdb=!(_0x7bf0b7=_0xca114(_0x41042e||'',_0x282272=_0xffcd9a(_0x282272)))['protocol']&&!_0x7bf0b7['slashes'],_0x2f731a['slashes']=_0x7bf0b7['slashes']||_0x57efdb&&_0x282272['slashes'],_0x2f731a['protocol']=_0x7bf0b7['protocol']||_0x282272['protocol']||'',_0x41042e=_0x7bf0b7['rest'],('file:'===_0x7bf0b7['protocol']&&(0x2!==_0x7bf0b7['slashesCount']||_0x3e088e['test'](_0x41042e))||!_0x7bf0b7['slashes']&&(_0x7bf0b7['protocol']||_0x7bf0b7['slashesCount']<0x2||!_0x1c1d94(_0x2f731a['protocol'])))&&(_0x53b545[0x3]=[/(.*)/,'pathname']);_0x56e968<_0x53b545['length'];_0x56e968++)'function'!=typeof(_0x3441e5=_0x53b545[_0x56e968])?(_0x5690cc=_0x3441e5[0x0],_0x3e3d71=_0x3441e5[0x1],_0x5690cc!=_0x5690cc?_0x2f731a[_0x3e3d71]=_0x41042e:'string'==typeof _0x5690cc?~(_0x56385b='@'===_0x5690cc?_0x41042e['lastIndexOf'](_0x5690cc):_0x41042e['indexOf'](_0x5690cc))&&('number'==typeof _0x3441e5[0x2]?(_0x2f731a[_0x3e3d71]=_0x41042e['slice'](0x0,_0x56385b),_0x41042e=_0x41042e['slice'](_0x56385b+_0x3441e5[0x2])):(_0x2f731a[_0x3e3d71]=_0x41042e['slice'](_0x56385b),_0x41042e=_0x41042e['slice'](0x0,_0x56385b))):(_0x56385b=_0x5690cc['exec'](_0x41042e))&&(_0x2f731a[_0x3e3d71]=_0x56385b[0x1],_0x41042e=_0x41042e['slice'](0x0,_0x56385b['index'])),_0x2f731a[_0x3e3d71]=_0x2f731a[_0x3e3d71]||_0x57efdb&&_0x3441e5[0x3]&&_0x282272[_0x3e3d71]||'',_0x3441e5[0x4]&&(_0x2f731a[_0x3e3d71]=_0x2f731a[_0x3e3d71]['toLowerCase']())):_0x41042e=_0x3441e5(_0x41042e,_0x2f731a);_0x128052&&(_0x2f731a['query']=_0x128052(_0x2f731a['query'])),_0x57efdb&&_0x282272['slashes']&&'/'!==_0x2f731a['pathname']['charAt'](0x0)&&(''!==_0x2f731a['pathname']||''!==_0x282272['pathname'])&&(_0x2f731a['pathname']=function(_0x6ebd70,_0x1d00f8){if(''===_0x6ebd70)return _0x1d00f8;for(var _0x38a90f=(_0x1d00f8||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x6ebd70['split']('/')),_0x41ceb2=_0x38a90f['length'],_0x341fc0=_0x38a90f[_0x41ceb2-0x1],_0x1be104=!0x1,_0x98d7ca=0x0;_0x41ceb2--;)'.'===_0x38a90f[_0x41ceb2]?_0x38a90f['splice'](_0x41ceb2,0x1):'..'===_0x38a90f[_0x41ceb2]?(_0x38a90f['splice'](_0x41ceb2,0x1),_0x98d7ca++):_0x98d7ca&&(0x0===_0x41ceb2&&(_0x1be104=!0x0),_0x38a90f['splice'](_0x41ceb2,0x1),_0x98d7ca--);return _0x1be104&&_0x38a90f['unshift'](''),'.'!==_0x341fc0&&'..'!==_0x341fc0||_0x38a90f['push'](''),_0x38a90f['join']('/');}(_0x2f731a['pathname'],_0x282272['pathname'])),'/'!==_0x2f731a['pathname']['charAt'](0x0)&&_0x1c1d94(_0x2f731a['protocol'])&&(_0x2f731a['pathname']='/'+_0x2f731a['pathname']),_0x4859f9(_0x2f731a['port'],_0x2f731a['protocol'])||(_0x2f731a['host']=_0x2f731a['hostname'],_0x2f731a['port']=''),_0x2f731a['username']=_0x2f731a['password']='',_0x2f731a['auth']&&(~(_0x56385b=_0x2f731a['auth']['indexOf'](':'))?(_0x2f731a['username']=_0x2f731a['auth']['slice'](0x0,_0x56385b),_0x2f731a['username']=encodeURIComponent(decodeURIComponent(_0x2f731a['username'])),_0x2f731a['password']=_0x2f731a['auth']['slice'](_0x56385b+0x1),_0x2f731a['password']=encodeURIComponent(decodeURIComponent(_0x2f731a['password']))):_0x2f731a['username']=encodeURIComponent(decodeURIComponent(_0x2f731a['auth'])),_0x2f731a['auth']=_0x2f731a['password']?_0x2f731a['username']+':'+_0x2f731a['password']:_0x2f731a['username']),_0x2f731a['origin']='file:'!==_0x2f731a['protocol']&&_0x1c1d94(_0x2f731a['protocol'])&&_0x2f731a['host']?_0x2f731a['protocol']+'//'+_0x2f731a['host']:'null',_0x2f731a['href']=_0x2f731a['toString']();}return _0x11a75a['prototype']={'set':function(_0x4e4d3b,_0x521a61,_0x1ef7b9){var _0x50b363=this;switch(_0x4e4d3b){case'query':'string'==typeof _0x521a61&&_0x521a61['length']&&(_0x521a61=(_0x1ef7b9||_0xf7b7f2['parse'])(_0x521a61)),_0x50b363[_0x4e4d3b]=_0x521a61;break;case'port':_0x50b363[_0x4e4d3b]=_0x521a61,_0x4859f9(_0x521a61,_0x50b363['protocol'])?_0x521a61&&(_0x50b363['host']=_0x50b363['hostname']+':'+_0x521a61):(_0x50b363['host']=_0x50b363['hostname'],_0x50b363[_0x4e4d3b]='');break;case'hostname':_0x50b363[_0x4e4d3b]=_0x521a61,_0x50b363['port']&&(_0x521a61+=':'+_0x50b363['port']),_0x50b363['host']=_0x521a61;break;case'host':_0x50b363[_0x4e4d3b]=_0x521a61,_0x3e74ad['test'](_0x521a61)?(_0x521a61=_0x521a61['split'](':'),_0x50b363['port']=_0x521a61['pop'](),_0x50b363['hostname']=_0x521a61['join'](':')):(_0x50b363['hostname']=_0x521a61,_0x50b363['port']='');break;case'protocol':_0x50b363['protocol']=_0x521a61['toLowerCase'](),_0x50b363['slashes']=!_0x1ef7b9;break;case'pathname':case'hash':if(_0x521a61){var _0x5aa2c1='pathname'===_0x4e4d3b?'/':'#';_0x50b363[_0x4e4d3b]=_0x521a61['charAt'](0x0)!==_0x5aa2c1?_0x5aa2c1+_0x521a61:_0x521a61;}else _0x50b363[_0x4e4d3b]=_0x521a61;break;case'username':case'password':_0x50b363[_0x4e4d3b]=encodeURIComponent(_0x521a61);break;case'auth':var _0x3508d9=_0x521a61['indexOf'](':');~_0x3508d9?(_0x50b363['username']=_0x521a61['slice'](0x0,_0x3508d9),_0x50b363['username']=encodeURIComponent(decodeURIComponent(_0x50b363['username'])),_0x50b363['password']=_0x521a61['slice'](_0x3508d9+0x1),_0x50b363['password']=encodeURIComponent(decodeURIComponent(_0x50b363['password']))):_0x50b363['username']=encodeURIComponent(decodeURIComponent(_0x521a61));}for(var _0x3921da=0x0;_0x3921da<_0x2e7ed1['length'];_0x3921da++){var _0x31ccd0=_0x2e7ed1[_0x3921da];_0x31ccd0[0x4]&&(_0x50b363[_0x31ccd0[0x1]]=_0x50b363[_0x31ccd0[0x1]]['toLowerCase']());}return _0x50b363['auth']=_0x50b363['password']?_0x50b363['username']+':'+_0x50b363['password']:_0x50b363['username'],_0x50b363['origin']='file:'!==_0x50b363['protocol']&&_0x1c1d94(_0x50b363['protocol'])&&_0x50b363['host']?_0x50b363['protocol']+'//'+_0x50b363['host']:'null',_0x50b363['href']=_0x50b363['toString'](),_0x50b363;},'toString':function(_0x331263){_0x331263&&'function'==typeof _0x331263||(_0x331263=_0xf7b7f2['stringify']);var _0xb4ddf9,_0x252ab1=this,_0x2ecb37=_0x252ab1['host'],_0x4b8ba4=_0x252ab1['protocol'];_0x4b8ba4&&':'!==_0x4b8ba4['charAt'](_0x4b8ba4['length']-0x1)&&(_0x4b8ba4+=':');var _0x334678=_0x4b8ba4+(_0x252ab1['protocol']&&_0x252ab1['slashes']||_0x1c1d94(_0x252ab1['protocol'])?'//':'');return _0x252ab1['username']?(_0x334678+=_0x252ab1['username'],_0x252ab1['password']&&(_0x334678+=':'+_0x252ab1['password']),_0x334678+='@'):_0x252ab1['password']?(_0x334678+=':'+_0x252ab1['password'],_0x334678+='@'):'file:'!==_0x252ab1['protocol']&&_0x1c1d94(_0x252ab1['protocol'])&&!_0x2ecb37&&'/'!==_0x252ab1['pathname']&&(_0x334678+='@'),(':'===_0x2ecb37[_0x2ecb37['length']-0x1]||_0x3e74ad['test'](_0x252ab1['hostname'])&&!_0x252ab1['port'])&&(_0x2ecb37+=':'),_0x334678+=_0x2ecb37+_0x252ab1['pathname'],(_0xb4ddf9='object'==typeof _0x252ab1['query']?_0x331263(_0x252ab1['query']):_0x252ab1['query'])&&(_0x334678+='?'!==_0xb4ddf9['charAt'](0x0)?'?'+_0xb4ddf9:_0xb4ddf9),_0x252ab1['hash']&&(_0x334678+=_0x252ab1['hash']),_0x334678;}},_0x11a75a['extractProtocol']=_0xca114,_0x11a75a['location']=_0xffcd9a,_0x11a75a['trimLeft']=_0x141b81,_0x11a75a['qs']=_0xf7b7f2,_0x12a66a=_0x11a75a;}var urlParseExports=requireUrlParse();let getRandomValues;const _0x32e3db=new Uint8Array(0x10);function _0x286aad(){if(!getRandomValues&&(getRandomValues='undefined'!=typeof crypto&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto),!getRandomValues))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return getRandomValues(_0x32e3db);}const byteToHex=[];for(let _0x414f44=0x0;_0x414f44<0x100;++_0x414f44)byteToHex['push']((_0x414f44+0x100)['toString'](0x10)['slice'](0x1));function unsafeStringify(_0x162de6,_0x1bc6de=0x0){return byteToHex[_0x162de6[_0x1bc6de+0x0]]+byteToHex[_0x162de6[_0x1bc6de+0x1]]+byteToHex[_0x162de6[_0x1bc6de+0x2]]+byteToHex[_0x162de6[_0x1bc6de+0x3]]+'-'+byteToHex[_0x162de6[_0x1bc6de+0x4]]+byteToHex[_0x162de6[_0x1bc6de+0x5]]+'-'+byteToHex[_0x162de6[_0x1bc6de+0x6]]+byteToHex[_0x162de6[_0x1bc6de+0x7]]+'-'+byteToHex[_0x162de6[_0x1bc6de+0x8]]+byteToHex[_0x162de6[_0x1bc6de+0x9]]+'-'+byteToHex[_0x162de6[_0x1bc6de+0xa]]+byteToHex[_0x162de6[_0x1bc6de+0xb]]+byteToHex[_0x162de6[_0x1bc6de+0xc]]+byteToHex[_0x162de6[_0x1bc6de+0xd]]+byteToHex[_0x162de6[_0x1bc6de+0xe]]+byteToHex[_0x162de6[_0x1bc6de+0xf]];}const _0x80150e='undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto);var native$1={'randomUUID':_0x80150e};function _0x3c8cbf(_0x3b32d6,_0x40f1da,_0x4c4036){if(native$1['randomUUID']&&!_0x3b32d6)return native$1['randomUUID']();const _0x4db001=(_0x3b32d6=_0x3b32d6||{})['random']||(_0x3b32d6['rng']||_0x286aad)();return _0x4db001[0x6]=0xf&_0x4db001[0x6]|0x40,_0x4db001[0x8]=0x3f&_0x4db001[0x8]|0x80,unsafeStringify(_0x4db001);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x558d2f){}}class _0x3759ba extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x39331e){super();}static['fromJSON'](_0xa823ce){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x3759ba{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x328a78){super(),this['id']=_0x328a78;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x1a6317){return new GetUserMessage(_0x1a6317['id']);}}class GetUserResponse extends _0x3759ba{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x3bd25b){super(),this['attributes']=_0x3bd25b;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x409c33=>({'key':_0x409c33,'value':JSON['stringify'](this['attributes'][_0x409c33])}))};}static['fromJSON'](_0x32b58e){const _0x40e5d9=_0x32b58e['attributes']['reduce']((_0x2ea08d,_0x55cf61)=>(_0x2ea08d[_0x55cf61['key']]=_0x55cf61['value']?JSON['parse'](_0x55cf61['value']):null,_0x2ea08d),{});return new GetUserResponse(_0x40e5d9);}}const _0x4a0d69=/* #__PURE__ -- @preserve */
((()=>{var _0x57f37b=minimalExports['Reader'],_0x186223=minimalExports['Writer'],_0x2e4f36=minimalExports['util'],_0x37f903=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x37f903['StringStringPacketDataMessage']=(function(){function _0x4681e9(_0x4fc614){if(_0x4fc614){for(var _0x29d89=Object['keys'](_0x4fc614),_0x129cac=0x0;_0x129cac<_0x29d89['length'];++_0x129cac)null!=_0x4fc614[_0x29d89[_0x129cac]]&&(this[_0x29d89[_0x129cac]]=_0x4fc614[_0x29d89[_0x129cac]]);}}return _0x4681e9['prototype']['data']='',_0x4681e9['prototype']['data1']='',_0x4681e9['create']=function(_0x24dda8){return new _0x4681e9(_0x24dda8);},_0x4681e9['encode']=function(_0x26d7a4,_0x57252f){return _0x57252f||(_0x57252f=_0x186223['create']()),null!=_0x26d7a4['data']&&Object['hasOwnProperty']['call'](_0x26d7a4,'data')&&_0x57252f['uint32'](0xa)['string'](_0x26d7a4['data']),null!=_0x26d7a4['data1']&&Object['hasOwnProperty']['call'](_0x26d7a4,'data1')&&_0x57252f['uint32'](0x12)['string'](_0x26d7a4['data1']),_0x57252f;},_0x4681e9['encodeDelimited']=function(_0x4fa269,_0x37fc3c){return this['encode'](_0x4fa269,_0x37fc3c)['ldelim']();},_0x4681e9['decode']=function(_0xf254b3,_0x28f3ec,_0x896da2){_0xf254b3 instanceof _0x57f37b||(_0xf254b3=_0x57f37b['create'](_0xf254b3));for(var _0x40a3ac=void 0x0===_0x28f3ec?_0xf254b3['len']:_0xf254b3['pos']+_0x28f3ec,_0x27d2f9=new _0x37f903['StringStringPacketDataMessage']();_0xf254b3['pos']<_0x40a3ac;){var _0x5c9c7f=_0xf254b3['uint32']();if(_0x5c9c7f===_0x896da2)break;switch(_0x5c9c7f>>>0x3){case 0x1:_0x27d2f9['data']=_0xf254b3['string']();break;case 0x2:_0x27d2f9['data1']=_0xf254b3['string']();break;default:_0xf254b3['skipType'](0x7&_0x5c9c7f);}}return _0x27d2f9;},_0x4681e9['decodeDelimited']=function(_0x45e188){return _0x45e188 instanceof _0x57f37b||(_0x45e188=new _0x57f37b(_0x45e188)),this['decode'](_0x45e188,_0x45e188['uint32']());},_0x4681e9['verify']=function(_0x357387){return'object'!=typeof _0x357387||null===_0x357387?'object\x20expected':null!=_0x357387['data']&&_0x357387['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0x357387['data'])?'data:\x20string\x20expected':null!=_0x357387['data1']&&_0x357387['hasOwnProperty']('data1')&&!_0x2e4f36['isString'](_0x357387['data1'])?'data1:\x20string\x20expected':null;},_0x4681e9['fromObject']=function(_0x27468c){if(_0x27468c instanceof _0x37f903['StringStringPacketDataMessage'])return _0x27468c;var _0x8f28e2=new _0x37f903['StringStringPacketDataMessage']();return null!=_0x27468c['data']&&(_0x8f28e2['data']=String(_0x27468c['data'])),null!=_0x27468c['data1']&&(_0x8f28e2['data1']=String(_0x27468c['data1'])),_0x8f28e2;},_0x4681e9['toObject']=function(_0x41d4e6,_0x1f7686){_0x1f7686||(_0x1f7686={});var _0x9b7d8={};return _0x1f7686['defaults']&&(_0x9b7d8['data']='',_0x9b7d8['data1']=''),null!=_0x41d4e6['data']&&_0x41d4e6['hasOwnProperty']('data')&&(_0x9b7d8['data']=_0x41d4e6['data']),null!=_0x41d4e6['data1']&&_0x41d4e6['hasOwnProperty']('data1')&&(_0x9b7d8['data1']=_0x41d4e6['data1']),_0x9b7d8;},_0x4681e9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4681e9['getTypeUrl']=function(_0x418ebf){return void 0x0===_0x418ebf&&(_0x418ebf='type.googleapis.com'),_0x418ebf+'/StringStringPacketDataMessage';},_0x4681e9;}()),_0x37f903['StringObjectPacketDataMessage']=(function(){function _0x41684f(_0x17068a){if(_0x17068a){for(var _0x1b2ce0=Object['keys'](_0x17068a),_0x1ce257=0x0;_0x1ce257<_0x1b2ce0['length'];++_0x1ce257)null!=_0x17068a[_0x1b2ce0[_0x1ce257]]&&(this[_0x1b2ce0[_0x1ce257]]=_0x17068a[_0x1b2ce0[_0x1ce257]]);}}return _0x41684f['prototype']['data']='',_0x41684f['prototype']['data1']='',_0x41684f['create']=function(_0x3bc867){return new _0x41684f(_0x3bc867);},_0x41684f['encode']=function(_0x5ad20d,_0xf03c4b){return _0xf03c4b||(_0xf03c4b=_0x186223['create']()),null!=_0x5ad20d['data']&&Object['hasOwnProperty']['call'](_0x5ad20d,'data')&&_0xf03c4b['uint32'](0xa)['string'](_0x5ad20d['data']),null!=_0x5ad20d['data1']&&Object['hasOwnProperty']['call'](_0x5ad20d,'data1')&&_0xf03c4b['uint32'](0x12)['string'](_0x5ad20d['data1']),_0xf03c4b;},_0x41684f['encodeDelimited']=function(_0x5497bd,_0x41eb71){return this['encode'](_0x5497bd,_0x41eb71)['ldelim']();},_0x41684f['decode']=function(_0x4268eb,_0x2e8e0c,_0x82e27a){_0x4268eb instanceof _0x57f37b||(_0x4268eb=_0x57f37b['create'](_0x4268eb));for(var _0x22e407=void 0x0===_0x2e8e0c?_0x4268eb['len']:_0x4268eb['pos']+_0x2e8e0c,_0x5dd6ff=new _0x37f903['StringObjectPacketDataMessage']();_0x4268eb['pos']<_0x22e407;){var _0x96cbc7=_0x4268eb['uint32']();if(_0x96cbc7===_0x82e27a)break;switch(_0x96cbc7>>>0x3){case 0x1:_0x5dd6ff['data']=_0x4268eb['string']();break;case 0x2:_0x5dd6ff['data1']=_0x4268eb['string']();break;default:_0x4268eb['skipType'](0x7&_0x96cbc7);}}return _0x5dd6ff;},_0x41684f['decodeDelimited']=function(_0x320117){return _0x320117 instanceof _0x57f37b||(_0x320117=new _0x57f37b(_0x320117)),this['decode'](_0x320117,_0x320117['uint32']());},_0x41684f['verify']=function(_0xfaf5a9){return'object'!=typeof _0xfaf5a9||null===_0xfaf5a9?'object\x20expected':null!=_0xfaf5a9['data']&&_0xfaf5a9['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0xfaf5a9['data'])?'data:\x20string\x20expected':null!=_0xfaf5a9['data1']&&_0xfaf5a9['hasOwnProperty']('data1')&&!_0x2e4f36['isString'](_0xfaf5a9['data1'])?'data1:\x20string\x20expected':null;},_0x41684f['fromObject']=function(_0x3a5bec){if(_0x3a5bec instanceof _0x37f903['StringObjectPacketDataMessage'])return _0x3a5bec;var _0x268be1=new _0x37f903['StringObjectPacketDataMessage']();return null!=_0x3a5bec['data']&&(_0x268be1['data']=String(_0x3a5bec['data'])),null!=_0x3a5bec['data1']&&(_0x268be1['data1']=String(_0x3a5bec['data1'])),_0x268be1;},_0x41684f['toObject']=function(_0x30e0e5,_0x403679){_0x403679||(_0x403679={});var _0x3699a0={};return _0x403679['defaults']&&(_0x3699a0['data']='',_0x3699a0['data1']=''),null!=_0x30e0e5['data']&&_0x30e0e5['hasOwnProperty']('data')&&(_0x3699a0['data']=_0x30e0e5['data']),null!=_0x30e0e5['data1']&&_0x30e0e5['hasOwnProperty']('data1')&&(_0x3699a0['data1']=_0x30e0e5['data1']),_0x3699a0;},_0x41684f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x41684f['getTypeUrl']=function(_0x36dede){return void 0x0===_0x36dede&&(_0x36dede='type.googleapis.com'),_0x36dede+'/StringObjectPacketDataMessage';},_0x41684f;}()),_0x37f903['StringNumberPacketDataMessage']=(function(){function _0x5eeab0(_0x33f406){if(_0x33f406){for(var _0x41a7bd=Object['keys'](_0x33f406),_0x434fec=0x0;_0x434fec<_0x41a7bd['length'];++_0x434fec)null!=_0x33f406[_0x41a7bd[_0x434fec]]&&(this[_0x41a7bd[_0x434fec]]=_0x33f406[_0x41a7bd[_0x434fec]]);}}return _0x5eeab0['prototype']['data']='',_0x5eeab0['prototype']['data1']=0x0,_0x5eeab0['create']=function(_0xfd8179){return new _0x5eeab0(_0xfd8179);},_0x5eeab0['encode']=function(_0x135d16,_0x3f6f25){return _0x3f6f25||(_0x3f6f25=_0x186223['create']()),null!=_0x135d16['data']&&Object['hasOwnProperty']['call'](_0x135d16,'data')&&_0x3f6f25['uint32'](0xa)['string'](_0x135d16['data']),null!=_0x135d16['data1']&&Object['hasOwnProperty']['call'](_0x135d16,'data1')&&_0x3f6f25['uint32'](0x10)['uint32'](_0x135d16['data1']),_0x3f6f25;},_0x5eeab0['encodeDelimited']=function(_0xa83b22,_0x49855){return this['encode'](_0xa83b22,_0x49855)['ldelim']();},_0x5eeab0['decode']=function(_0x38a6ad,_0x489ce2,_0x2c4a5f){_0x38a6ad instanceof _0x57f37b||(_0x38a6ad=_0x57f37b['create'](_0x38a6ad));for(var _0x56ab49=void 0x0===_0x489ce2?_0x38a6ad['len']:_0x38a6ad['pos']+_0x489ce2,_0x2ecd60=new _0x37f903['StringNumberPacketDataMessage']();_0x38a6ad['pos']<_0x56ab49;){var _0x25faf0=_0x38a6ad['uint32']();if(_0x25faf0===_0x2c4a5f)break;switch(_0x25faf0>>>0x3){case 0x1:_0x2ecd60['data']=_0x38a6ad['string']();break;case 0x2:_0x2ecd60['data1']=_0x38a6ad['uint32']();break;default:_0x38a6ad['skipType'](0x7&_0x25faf0);}}return _0x2ecd60;},_0x5eeab0['decodeDelimited']=function(_0x21ec4f){return _0x21ec4f instanceof _0x57f37b||(_0x21ec4f=new _0x57f37b(_0x21ec4f)),this['decode'](_0x21ec4f,_0x21ec4f['uint32']());},_0x5eeab0['verify']=function(_0x59c1aa){return'object'!=typeof _0x59c1aa||null===_0x59c1aa?'object\x20expected':null!=_0x59c1aa['data']&&_0x59c1aa['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0x59c1aa['data'])?'data:\x20string\x20expected':null!=_0x59c1aa['data1']&&_0x59c1aa['hasOwnProperty']('data1')&&!_0x2e4f36['isInteger'](_0x59c1aa['data1'])?'data1:\x20integer\x20expected':null;},_0x5eeab0['fromObject']=function(_0x5b183e){if(_0x5b183e instanceof _0x37f903['StringNumberPacketDataMessage'])return _0x5b183e;var _0xdb41b3=new _0x37f903['StringNumberPacketDataMessage']();return null!=_0x5b183e['data']&&(_0xdb41b3['data']=String(_0x5b183e['data'])),null!=_0x5b183e['data1']&&(_0xdb41b3['data1']=_0x5b183e['data1']>>>0x0),_0xdb41b3;},_0x5eeab0['toObject']=function(_0x5bfb7e,_0x5b64a6){_0x5b64a6||(_0x5b64a6={});var _0x5152f3={};return _0x5b64a6['defaults']&&(_0x5152f3['data']='',_0x5152f3['data1']=0x0),null!=_0x5bfb7e['data']&&_0x5bfb7e['hasOwnProperty']('data')&&(_0x5152f3['data']=_0x5bfb7e['data']),null!=_0x5bfb7e['data1']&&_0x5bfb7e['hasOwnProperty']('data1')&&(_0x5152f3['data1']=_0x5bfb7e['data1']),_0x5152f3;},_0x5eeab0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5eeab0['getTypeUrl']=function(_0x464b01){return void 0x0===_0x464b01&&(_0x464b01='type.googleapis.com'),_0x464b01+'/StringNumberPacketDataMessage';},_0x5eeab0;}()),_0x37f903['StringBytesPacketDataMessage']=(function(){function _0x33a423(_0x147dcc){if(_0x147dcc){for(var _0x457278=Object['keys'](_0x147dcc),_0x134e55=0x0;_0x134e55<_0x457278['length'];++_0x134e55)null!=_0x147dcc[_0x457278[_0x134e55]]&&(this[_0x457278[_0x134e55]]=_0x147dcc[_0x457278[_0x134e55]]);}}return _0x33a423['prototype']['data']='',_0x33a423['prototype']['data1']=_0x2e4f36['newBuffer']([]),_0x33a423['create']=function(_0x149521){return new _0x33a423(_0x149521);},_0x33a423['encode']=function(_0x527936,_0x365242){return _0x365242||(_0x365242=_0x186223['create']()),null!=_0x527936['data']&&Object['hasOwnProperty']['call'](_0x527936,'data')&&_0x365242['uint32'](0xa)['string'](_0x527936['data']),null!=_0x527936['data1']&&Object['hasOwnProperty']['call'](_0x527936,'data1')&&_0x365242['uint32'](0x12)['bytes'](_0x527936['data1']),_0x365242;},_0x33a423['encodeDelimited']=function(_0xd135b3,_0x122b45){return this['encode'](_0xd135b3,_0x122b45)['ldelim']();},_0x33a423['decode']=function(_0x4b9c62,_0x23f0a9,_0x53cc13){_0x4b9c62 instanceof _0x57f37b||(_0x4b9c62=_0x57f37b['create'](_0x4b9c62));for(var _0x39f6c6=void 0x0===_0x23f0a9?_0x4b9c62['len']:_0x4b9c62['pos']+_0x23f0a9,_0x1f7a76=new _0x37f903['StringBytesPacketDataMessage']();_0x4b9c62['pos']<_0x39f6c6;){var _0x116879=_0x4b9c62['uint32']();if(_0x116879===_0x53cc13)break;switch(_0x116879>>>0x3){case 0x1:_0x1f7a76['data']=_0x4b9c62['string']();break;case 0x2:_0x1f7a76['data1']=_0x4b9c62['bytes']();break;default:_0x4b9c62['skipType'](0x7&_0x116879);}}return _0x1f7a76;},_0x33a423['decodeDelimited']=function(_0x4ed998){return _0x4ed998 instanceof _0x57f37b||(_0x4ed998=new _0x57f37b(_0x4ed998)),this['decode'](_0x4ed998,_0x4ed998['uint32']());},_0x33a423['verify']=function(_0x4d3d78){return'object'!=typeof _0x4d3d78||null===_0x4d3d78?'object\x20expected':null!=_0x4d3d78['data']&&_0x4d3d78['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0x4d3d78['data'])?'data:\x20string\x20expected':null!=_0x4d3d78['data1']&&_0x4d3d78['hasOwnProperty']('data1')&&!(_0x4d3d78['data1']&&'number'==typeof _0x4d3d78['data1']['length']||_0x2e4f36['isString'](_0x4d3d78['data1']))?'data1:\x20buffer\x20expected':null;},_0x33a423['fromObject']=function(_0xa73949){if(_0xa73949 instanceof _0x37f903['StringBytesPacketDataMessage'])return _0xa73949;var _0x27e03d=new _0x37f903['StringBytesPacketDataMessage']();return null!=_0xa73949['data']&&(_0x27e03d['data']=String(_0xa73949['data'])),null!=_0xa73949['data1']&&('string'==typeof _0xa73949['data1']?_0x2e4f36['base64']['decode'](_0xa73949['data1'],_0x27e03d['data1']=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0xa73949['data1'])),0x0):_0xa73949['data1']['length']>=0x0&&(_0x27e03d['data1']=_0xa73949['data1'])),_0x27e03d;},_0x33a423['toObject']=function(_0x1fdcd3,_0x53d9ce){_0x53d9ce||(_0x53d9ce={});var _0x4cdcd4={};return _0x53d9ce['defaults']&&(_0x4cdcd4['data']='',_0x53d9ce['bytes']===String?_0x4cdcd4['data1']='':(_0x4cdcd4['data1']=[],_0x53d9ce['bytes']!==Array&&(_0x4cdcd4['data1']=_0x2e4f36['newBuffer'](_0x4cdcd4['data1'])))),null!=_0x1fdcd3['data']&&_0x1fdcd3['hasOwnProperty']('data')&&(_0x4cdcd4['data']=_0x1fdcd3['data']),null!=_0x1fdcd3['data1']&&_0x1fdcd3['hasOwnProperty']('data1')&&(_0x4cdcd4['data1']=_0x53d9ce['bytes']===String?_0x2e4f36['base64']['encode'](_0x1fdcd3['data1'],0x0,_0x1fdcd3['data1']['length']):_0x53d9ce['bytes']===Array?Array['prototype']['slice']['call'](_0x1fdcd3['data1']):_0x1fdcd3['data1']),_0x4cdcd4;},_0x33a423['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x33a423['getTypeUrl']=function(_0x2e51bd){return void 0x0===_0x2e51bd&&(_0x2e51bd='type.googleapis.com'),_0x2e51bd+'/StringBytesPacketDataMessage';},_0x33a423;}()),_0x37f903['PacketOptionsMessage']=(function(){function _0x10e2df(_0x15bd95){if(this['rooms']=[],this['except']=[],_0x15bd95){for(var _0xd10545=Object['keys'](_0x15bd95),_0x405ed2=0x0;_0x405ed2<_0xd10545['length'];++_0x405ed2)null!=_0x15bd95[_0xd10545[_0x405ed2]]&&(this[_0xd10545[_0x405ed2]]=_0x15bd95[_0xd10545[_0x405ed2]]);}}return _0x10e2df['prototype']['flags']='',_0x10e2df['prototype']['rooms']=_0x2e4f36['emptyArray'],_0x10e2df['prototype']['except']=_0x2e4f36['emptyArray'],_0x10e2df['create']=function(_0x33de83){return new _0x10e2df(_0x33de83);},_0x10e2df['encode']=function(_0x43d24a,_0x2e37d3){if(_0x2e37d3||(_0x2e37d3=_0x186223['create']()),null!=_0x43d24a['flags']&&Object['hasOwnProperty']['call'](_0x43d24a,'flags')&&_0x2e37d3['uint32'](0xa)['string'](_0x43d24a['flags']),null!=_0x43d24a['rooms']&&_0x43d24a['rooms']['length']){for(var _0x1ab83c=0x0;_0x1ab83c<_0x43d24a['rooms']['length'];++_0x1ab83c)_0x2e37d3['uint32'](0x12)['string'](_0x43d24a['rooms'][_0x1ab83c]);}if(null!=_0x43d24a['except']&&_0x43d24a['except']['length']){for(_0x1ab83c=0x0;_0x1ab83c<_0x43d24a['except']['length'];++_0x1ab83c)_0x2e37d3['uint32'](0x1a)['string'](_0x43d24a['except'][_0x1ab83c]);}return _0x2e37d3;},_0x10e2df['encodeDelimited']=function(_0x834f40,_0x313895){return this['encode'](_0x834f40,_0x313895)['ldelim']();},_0x10e2df['decode']=function(_0x2cc94e,_0x18dd33,_0x44d458){_0x2cc94e instanceof _0x57f37b||(_0x2cc94e=_0x57f37b['create'](_0x2cc94e));for(var _0x2cd4c8=void 0x0===_0x18dd33?_0x2cc94e['len']:_0x2cc94e['pos']+_0x18dd33,_0xb9d641=new _0x37f903['PacketOptionsMessage']();_0x2cc94e['pos']<_0x2cd4c8;){var _0x570f5a=_0x2cc94e['uint32']();if(_0x570f5a===_0x44d458)break;switch(_0x570f5a>>>0x3){case 0x1:_0xb9d641['flags']=_0x2cc94e['string']();break;case 0x2:_0xb9d641['rooms']&&_0xb9d641['rooms']['length']||(_0xb9d641['rooms']=[]),_0xb9d641['rooms']['push'](_0x2cc94e['string']());break;case 0x3:_0xb9d641['except']&&_0xb9d641['except']['length']||(_0xb9d641['except']=[]),_0xb9d641['except']['push'](_0x2cc94e['string']());break;default:_0x2cc94e['skipType'](0x7&_0x570f5a);}}return _0xb9d641;},_0x10e2df['decodeDelimited']=function(_0x3628a9){return _0x3628a9 instanceof _0x57f37b||(_0x3628a9=new _0x57f37b(_0x3628a9)),this['decode'](_0x3628a9,_0x3628a9['uint32']());},_0x10e2df['verify']=function(_0x4d7912){if('object'!=typeof _0x4d7912||null===_0x4d7912)return'object\x20expected';if(null!=_0x4d7912['flags']&&_0x4d7912['hasOwnProperty']('flags')&&!_0x2e4f36['isString'](_0x4d7912['flags']))return'flags:\x20string\x20expected';if(null!=_0x4d7912['rooms']&&_0x4d7912['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x4d7912['rooms']))return'rooms:\x20array\x20expected';for(var _0x4df2a9=0x0;_0x4df2a9<_0x4d7912['rooms']['length'];++_0x4df2a9)if(!_0x2e4f36['isString'](_0x4d7912['rooms'][_0x4df2a9]))return'rooms:\x20string[]\x20expected';}if(null!=_0x4d7912['except']&&_0x4d7912['hasOwnProperty']('except')){if(!Array['isArray'](_0x4d7912['except']))return'except:\x20array\x20expected';for(_0x4df2a9=0x0;_0x4df2a9<_0x4d7912['except']['length'];++_0x4df2a9)if(!_0x2e4f36['isString'](_0x4d7912['except'][_0x4df2a9]))return'except:\x20string[]\x20expected';}return null;},_0x10e2df['fromObject']=function(_0x5f18ed){if(_0x5f18ed instanceof _0x37f903['PacketOptionsMessage'])return _0x5f18ed;var _0x2c7ced=new _0x37f903['PacketOptionsMessage']();if(null!=_0x5f18ed['flags']&&(_0x2c7ced['flags']=String(_0x5f18ed['flags'])),_0x5f18ed['rooms']){if(!Array['isArray'](_0x5f18ed['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x2c7ced['rooms']=[];for(var _0x50a289=0x0;_0x50a289<_0x5f18ed['rooms']['length'];++_0x50a289)_0x2c7ced['rooms'][_0x50a289]=String(_0x5f18ed['rooms'][_0x50a289]);}if(_0x5f18ed['except']){if(!Array['isArray'](_0x5f18ed['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x2c7ced['except']=[],_0x50a289=0x0;_0x50a289<_0x5f18ed['except']['length'];++_0x50a289)_0x2c7ced['except'][_0x50a289]=String(_0x5f18ed['except'][_0x50a289]);}return _0x2c7ced;},_0x10e2df['toObject']=function(_0x13116a,_0x9dda21){_0x9dda21||(_0x9dda21={});var _0x390e97={};if((_0x9dda21['arrays']||_0x9dda21['defaults'])&&(_0x390e97['rooms']=[],_0x390e97['except']=[]),_0x9dda21['defaults']&&(_0x390e97['flags']=''),null!=_0x13116a['flags']&&_0x13116a['hasOwnProperty']('flags')&&(_0x390e97['flags']=_0x13116a['flags']),_0x13116a['rooms']&&_0x13116a['rooms']['length']){_0x390e97['rooms']=[];for(var _0x1db25f=0x0;_0x1db25f<_0x13116a['rooms']['length'];++_0x1db25f)_0x390e97['rooms'][_0x1db25f]=_0x13116a['rooms'][_0x1db25f];}if(_0x13116a['except']&&_0x13116a['except']['length']){for(_0x390e97['except']=[],_0x1db25f=0x0;_0x1db25f<_0x13116a['except']['length'];++_0x1db25f)_0x390e97['except'][_0x1db25f]=_0x13116a['except'][_0x1db25f];}return _0x390e97;},_0x10e2df['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x10e2df['getTypeUrl']=function(_0x1374f8){return void 0x0===_0x1374f8&&(_0x1374f8='type.googleapis.com'),_0x1374f8+'/PacketOptionsMessage';},_0x10e2df;}()),_0x37f903['PacketMessage']=(function(){function _0x3e18d0(_0x33804a){if(_0x33804a){for(var _0x52cd17=Object['keys'](_0x33804a),_0x60deee=0x0;_0x60deee<_0x52cd17['length'];++_0x60deee)null!=_0x33804a[_0x52cd17[_0x60deee]]&&(this[_0x52cd17[_0x60deee]]=_0x33804a[_0x52cd17[_0x60deee]]);}}return _0x3e18d0['prototype']['type']=0x0,_0x3e18d0['prototype']['id']=0x0,_0x3e18d0['prototype']['nsp']='',_0x3e18d0['prototype']['data']=_0x2e4f36['newBuffer']([]),_0x3e18d0['prototype']['options']=_0x2e4f36['newBuffer']([]),_0x3e18d0['create']=function(_0x4f0db9){return new _0x3e18d0(_0x4f0db9);},_0x3e18d0['encode']=function(_0x23c1a7,_0x52de6c){return _0x52de6c||(_0x52de6c=_0x186223['create']()),null!=_0x23c1a7['type']&&Object['hasOwnProperty']['call'](_0x23c1a7,'type')&&_0x52de6c['uint32'](0x8)['uint32'](_0x23c1a7['type']),null!=_0x23c1a7['id']&&Object['hasOwnProperty']['call'](_0x23c1a7,'id')&&_0x52de6c['uint32'](0x10)['uint32'](_0x23c1a7['id']),null!=_0x23c1a7['nsp']&&Object['hasOwnProperty']['call'](_0x23c1a7,'nsp')&&_0x52de6c['uint32'](0x1a)['string'](_0x23c1a7['nsp']),null!=_0x23c1a7['data']&&Object['hasOwnProperty']['call'](_0x23c1a7,'data')&&_0x52de6c['uint32'](0x22)['bytes'](_0x23c1a7['data']),null!=_0x23c1a7['options']&&Object['hasOwnProperty']['call'](_0x23c1a7,'options')&&_0x52de6c['uint32'](0x2a)['bytes'](_0x23c1a7['options']),_0x52de6c;},_0x3e18d0['encodeDelimited']=function(_0xbc4160,_0x3ac852){return this['encode'](_0xbc4160,_0x3ac852)['ldelim']();},_0x3e18d0['decode']=function(_0x39bff0,_0x463e7e,_0x2f004a){_0x39bff0 instanceof _0x57f37b||(_0x39bff0=_0x57f37b['create'](_0x39bff0));for(var _0x308e37=void 0x0===_0x463e7e?_0x39bff0['len']:_0x39bff0['pos']+_0x463e7e,_0x2381bb=new _0x37f903['PacketMessage']();_0x39bff0['pos']<_0x308e37;){var _0x4899c3=_0x39bff0['uint32']();if(_0x4899c3===_0x2f004a)break;switch(_0x4899c3>>>0x3){case 0x1:_0x2381bb['type']=_0x39bff0['uint32']();break;case 0x2:_0x2381bb['id']=_0x39bff0['uint32']();break;case 0x3:_0x2381bb['nsp']=_0x39bff0['string']();break;case 0x4:_0x2381bb['data']=_0x39bff0['bytes']();break;case 0x5:_0x2381bb['options']=_0x39bff0['bytes']();break;default:_0x39bff0['skipType'](0x7&_0x4899c3);}}return _0x2381bb;},_0x3e18d0['decodeDelimited']=function(_0x25259e){return _0x25259e instanceof _0x57f37b||(_0x25259e=new _0x57f37b(_0x25259e)),this['decode'](_0x25259e,_0x25259e['uint32']());},_0x3e18d0['verify']=function(_0x46a7ef){return'object'!=typeof _0x46a7ef||null===_0x46a7ef?'object\x20expected':null!=_0x46a7ef['type']&&_0x46a7ef['hasOwnProperty']('type')&&!_0x2e4f36['isInteger'](_0x46a7ef['type'])?'type:\x20integer\x20expected':null!=_0x46a7ef['id']&&_0x46a7ef['hasOwnProperty']('id')&&!_0x2e4f36['isInteger'](_0x46a7ef['id'])?'id:\x20integer\x20expected':null!=_0x46a7ef['nsp']&&_0x46a7ef['hasOwnProperty']('nsp')&&!_0x2e4f36['isString'](_0x46a7ef['nsp'])?'nsp:\x20string\x20expected':null!=_0x46a7ef['data']&&_0x46a7ef['hasOwnProperty']('data')&&!(_0x46a7ef['data']&&'number'==typeof _0x46a7ef['data']['length']||_0x2e4f36['isString'](_0x46a7ef['data']))?'data:\x20buffer\x20expected':null!=_0x46a7ef['options']&&_0x46a7ef['hasOwnProperty']('options')&&!(_0x46a7ef['options']&&'number'==typeof _0x46a7ef['options']['length']||_0x2e4f36['isString'](_0x46a7ef['options']))?'options:\x20buffer\x20expected':null;},_0x3e18d0['fromObject']=function(_0xb73524){if(_0xb73524 instanceof _0x37f903['PacketMessage'])return _0xb73524;var _0x165c34=new _0x37f903['PacketMessage']();return null!=_0xb73524['type']&&(_0x165c34['type']=_0xb73524['type']>>>0x0),null!=_0xb73524['id']&&(_0x165c34['id']=_0xb73524['id']>>>0x0),null!=_0xb73524['nsp']&&(_0x165c34['nsp']=String(_0xb73524['nsp'])),null!=_0xb73524['data']&&('string'==typeof _0xb73524['data']?_0x2e4f36['base64']['decode'](_0xb73524['data'],_0x165c34['data']=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0xb73524['data'])),0x0):_0xb73524['data']['length']>=0x0&&(_0x165c34['data']=_0xb73524['data'])),null!=_0xb73524['options']&&('string'==typeof _0xb73524['options']?_0x2e4f36['base64']['decode'](_0xb73524['options'],_0x165c34['options']=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0xb73524['options'])),0x0):_0xb73524['options']['length']>=0x0&&(_0x165c34['options']=_0xb73524['options'])),_0x165c34;},_0x3e18d0['toObject']=function(_0x5b4188,_0x2b7cd4){_0x2b7cd4||(_0x2b7cd4={});var _0x44c035={};return _0x2b7cd4['defaults']&&(_0x44c035['type']=0x0,_0x44c035['id']=0x0,_0x44c035['nsp']='',_0x2b7cd4['bytes']===String?_0x44c035['data']='':(_0x44c035['data']=[],_0x2b7cd4['bytes']!==Array&&(_0x44c035['data']=_0x2e4f36['newBuffer'](_0x44c035['data']))),_0x2b7cd4['bytes']===String?_0x44c035['options']='':(_0x44c035['options']=[],_0x2b7cd4['bytes']!==Array&&(_0x44c035['options']=_0x2e4f36['newBuffer'](_0x44c035['options'])))),null!=_0x5b4188['type']&&_0x5b4188['hasOwnProperty']('type')&&(_0x44c035['type']=_0x5b4188['type']),null!=_0x5b4188['id']&&_0x5b4188['hasOwnProperty']('id')&&(_0x44c035['id']=_0x5b4188['id']),null!=_0x5b4188['nsp']&&_0x5b4188['hasOwnProperty']('nsp')&&(_0x44c035['nsp']=_0x5b4188['nsp']),null!=_0x5b4188['data']&&_0x5b4188['hasOwnProperty']('data')&&(_0x44c035['data']=_0x2b7cd4['bytes']===String?_0x2e4f36['base64']['encode'](_0x5b4188['data'],0x0,_0x5b4188['data']['length']):_0x2b7cd4['bytes']===Array?Array['prototype']['slice']['call'](_0x5b4188['data']):_0x5b4188['data']),null!=_0x5b4188['options']&&_0x5b4188['hasOwnProperty']('options')&&(_0x44c035['options']=_0x2b7cd4['bytes']===String?_0x2e4f36['base64']['encode'](_0x5b4188['options'],0x0,_0x5b4188['options']['length']):_0x2b7cd4['bytes']===Array?Array['prototype']['slice']['call'](_0x5b4188['options']):_0x5b4188['options']),_0x44c035;},_0x3e18d0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3e18d0['getTypeUrl']=function(_0x5eaab1){return void 0x0===_0x5eaab1&&(_0x5eaab1='type.googleapis.com'),_0x5eaab1+'/PacketMessage';},_0x3e18d0;}()),_0x37f903['ObjectObjectPacketDataMessage']=(function(){function _0x2277c1(_0x245801){if(_0x245801){for(var _0x4d8e6a=Object['keys'](_0x245801),_0x100827=0x0;_0x100827<_0x4d8e6a['length'];++_0x100827)null!=_0x245801[_0x4d8e6a[_0x100827]]&&(this[_0x4d8e6a[_0x100827]]=_0x245801[_0x4d8e6a[_0x100827]]);}}return _0x2277c1['prototype']['data']='',_0x2277c1['prototype']['data1']='',_0x2277c1['create']=function(_0x2810a7){return new _0x2277c1(_0x2810a7);},_0x2277c1['encode']=function(_0x70894a,_0x1b2c5b){return _0x1b2c5b||(_0x1b2c5b=_0x186223['create']()),null!=_0x70894a['data']&&Object['hasOwnProperty']['call'](_0x70894a,'data')&&_0x1b2c5b['uint32'](0xa)['string'](_0x70894a['data']),null!=_0x70894a['data1']&&Object['hasOwnProperty']['call'](_0x70894a,'data1')&&_0x1b2c5b['uint32'](0x12)['string'](_0x70894a['data1']),_0x1b2c5b;},_0x2277c1['encodeDelimited']=function(_0x4606ed,_0x1099ef){return this['encode'](_0x4606ed,_0x1099ef)['ldelim']();},_0x2277c1['decode']=function(_0x3146c7,_0xf93e34,_0x29811d){_0x3146c7 instanceof _0x57f37b||(_0x3146c7=_0x57f37b['create'](_0x3146c7));for(var _0x5849df=void 0x0===_0xf93e34?_0x3146c7['len']:_0x3146c7['pos']+_0xf93e34,_0xeeb329=new _0x37f903['ObjectObjectPacketDataMessage']();_0x3146c7['pos']<_0x5849df;){var _0x393f31=_0x3146c7['uint32']();if(_0x393f31===_0x29811d)break;switch(_0x393f31>>>0x3){case 0x1:_0xeeb329['data']=_0x3146c7['string']();break;case 0x2:_0xeeb329['data1']=_0x3146c7['string']();break;default:_0x3146c7['skipType'](0x7&_0x393f31);}}return _0xeeb329;},_0x2277c1['decodeDelimited']=function(_0x522727){return _0x522727 instanceof _0x57f37b||(_0x522727=new _0x57f37b(_0x522727)),this['decode'](_0x522727,_0x522727['uint32']());},_0x2277c1['verify']=function(_0x243c73){return'object'!=typeof _0x243c73||null===_0x243c73?'object\x20expected':null!=_0x243c73['data']&&_0x243c73['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0x243c73['data'])?'data:\x20string\x20expected':null!=_0x243c73['data1']&&_0x243c73['hasOwnProperty']('data1')&&!_0x2e4f36['isString'](_0x243c73['data1'])?'data1:\x20string\x20expected':null;},_0x2277c1['fromObject']=function(_0x2ed78f){if(_0x2ed78f instanceof _0x37f903['ObjectObjectPacketDataMessage'])return _0x2ed78f;var _0x55a3ab=new _0x37f903['ObjectObjectPacketDataMessage']();return null!=_0x2ed78f['data']&&(_0x55a3ab['data']=String(_0x2ed78f['data'])),null!=_0x2ed78f['data1']&&(_0x55a3ab['data1']=String(_0x2ed78f['data1'])),_0x55a3ab;},_0x2277c1['toObject']=function(_0x6ed71a,_0x5ce6b7){_0x5ce6b7||(_0x5ce6b7={});var _0x2113d7={};return _0x5ce6b7['defaults']&&(_0x2113d7['data']='',_0x2113d7['data1']=''),null!=_0x6ed71a['data']&&_0x6ed71a['hasOwnProperty']('data')&&(_0x2113d7['data']=_0x6ed71a['data']),null!=_0x6ed71a['data1']&&_0x6ed71a['hasOwnProperty']('data1')&&(_0x2113d7['data1']=_0x6ed71a['data1']),_0x2113d7;},_0x2277c1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2277c1['getTypeUrl']=function(_0x4ea980){return void 0x0===_0x4ea980&&(_0x4ea980='type.googleapis.com'),_0x4ea980+'/ObjectObjectPacketDataMessage';},_0x2277c1;}()),_0x37f903['ObjectBufferPacketDataMessage']=(function(){function _0x56b6c1(_0x345069){if(_0x345069){for(var _0x532a26=Object['keys'](_0x345069),_0x5463db=0x0;_0x5463db<_0x532a26['length'];++_0x5463db)null!=_0x345069[_0x532a26[_0x5463db]]&&(this[_0x532a26[_0x5463db]]=_0x345069[_0x532a26[_0x5463db]]);}}return _0x56b6c1['prototype']['data']='',_0x56b6c1['prototype']['data1']=_0x2e4f36['newBuffer']([]),_0x56b6c1['create']=function(_0x46cd03){return new _0x56b6c1(_0x46cd03);},_0x56b6c1['encode']=function(_0x5cc939,_0x2ddfdc){return _0x2ddfdc||(_0x2ddfdc=_0x186223['create']()),null!=_0x5cc939['data']&&Object['hasOwnProperty']['call'](_0x5cc939,'data')&&_0x2ddfdc['uint32'](0xa)['string'](_0x5cc939['data']),null!=_0x5cc939['data1']&&Object['hasOwnProperty']['call'](_0x5cc939,'data1')&&_0x2ddfdc['uint32'](0x12)['bytes'](_0x5cc939['data1']),_0x2ddfdc;},_0x56b6c1['encodeDelimited']=function(_0x4b0d90,_0x5df08a){return this['encode'](_0x4b0d90,_0x5df08a)['ldelim']();},_0x56b6c1['decode']=function(_0x3c2233,_0x4a9bd9,_0x499004){_0x3c2233 instanceof _0x57f37b||(_0x3c2233=_0x57f37b['create'](_0x3c2233));for(var _0x46d191=void 0x0===_0x4a9bd9?_0x3c2233['len']:_0x3c2233['pos']+_0x4a9bd9,_0x3b7b28=new _0x37f903['ObjectBufferPacketDataMessage']();_0x3c2233['pos']<_0x46d191;){var _0x12b0df=_0x3c2233['uint32']();if(_0x12b0df===_0x499004)break;switch(_0x12b0df>>>0x3){case 0x1:_0x3b7b28['data']=_0x3c2233['string']();break;case 0x2:_0x3b7b28['data1']=_0x3c2233['bytes']();break;default:_0x3c2233['skipType'](0x7&_0x12b0df);}}return _0x3b7b28;},_0x56b6c1['decodeDelimited']=function(_0x48d015){return _0x48d015 instanceof _0x57f37b||(_0x48d015=new _0x57f37b(_0x48d015)),this['decode'](_0x48d015,_0x48d015['uint32']());},_0x56b6c1['verify']=function(_0x328640){return'object'!=typeof _0x328640||null===_0x328640?'object\x20expected':null!=_0x328640['data']&&_0x328640['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0x328640['data'])?'data:\x20string\x20expected':null!=_0x328640['data1']&&_0x328640['hasOwnProperty']('data1')&&!(_0x328640['data1']&&'number'==typeof _0x328640['data1']['length']||_0x2e4f36['isString'](_0x328640['data1']))?'data1:\x20buffer\x20expected':null;},_0x56b6c1['fromObject']=function(_0x19f0fc){if(_0x19f0fc instanceof _0x37f903['ObjectBufferPacketDataMessage'])return _0x19f0fc;var _0x3f43a2=new _0x37f903['ObjectBufferPacketDataMessage']();return null!=_0x19f0fc['data']&&(_0x3f43a2['data']=String(_0x19f0fc['data'])),null!=_0x19f0fc['data1']&&('string'==typeof _0x19f0fc['data1']?_0x2e4f36['base64']['decode'](_0x19f0fc['data1'],_0x3f43a2['data1']=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0x19f0fc['data1'])),0x0):_0x19f0fc['data1']['length']>=0x0&&(_0x3f43a2['data1']=_0x19f0fc['data1'])),_0x3f43a2;},_0x56b6c1['toObject']=function(_0x31174b,_0x46c094){_0x46c094||(_0x46c094={});var _0x373ef8={};return _0x46c094['defaults']&&(_0x373ef8['data']='',_0x46c094['bytes']===String?_0x373ef8['data1']='':(_0x373ef8['data1']=[],_0x46c094['bytes']!==Array&&(_0x373ef8['data1']=_0x2e4f36['newBuffer'](_0x373ef8['data1'])))),null!=_0x31174b['data']&&_0x31174b['hasOwnProperty']('data')&&(_0x373ef8['data']=_0x31174b['data']),null!=_0x31174b['data1']&&_0x31174b['hasOwnProperty']('data1')&&(_0x373ef8['data1']=_0x46c094['bytes']===String?_0x2e4f36['base64']['encode'](_0x31174b['data1'],0x0,_0x31174b['data1']['length']):_0x46c094['bytes']===Array?Array['prototype']['slice']['call'](_0x31174b['data1']):_0x31174b['data1']),_0x373ef8;},_0x56b6c1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x56b6c1['getTypeUrl']=function(_0x4f9709){return void 0x0===_0x4f9709&&(_0x4f9709='type.googleapis.com'),_0x4f9709+'/ObjectBufferPacketDataMessage';},_0x56b6c1;}()),_0x37f903['NumberStringPacketDataMessage']=(function(){function _0x1fdab3(_0x21b92d){if(_0x21b92d){for(var _0x1b6993=Object['keys'](_0x21b92d),_0x54150e=0x0;_0x54150e<_0x1b6993['length'];++_0x54150e)null!=_0x21b92d[_0x1b6993[_0x54150e]]&&(this[_0x1b6993[_0x54150e]]=_0x21b92d[_0x1b6993[_0x54150e]]);}}return _0x1fdab3['prototype']['data']=0x0,_0x1fdab3['prototype']['data1']='',_0x1fdab3['create']=function(_0x2cf882){return new _0x1fdab3(_0x2cf882);},_0x1fdab3['encode']=function(_0x35386a,_0x436e83){return _0x436e83||(_0x436e83=_0x186223['create']()),null!=_0x35386a['data']&&Object['hasOwnProperty']['call'](_0x35386a,'data')&&_0x436e83['uint32'](0x8)['uint32'](_0x35386a['data']),null!=_0x35386a['data1']&&Object['hasOwnProperty']['call'](_0x35386a,'data1')&&_0x436e83['uint32'](0x12)['string'](_0x35386a['data1']),_0x436e83;},_0x1fdab3['encodeDelimited']=function(_0x3948cf,_0x14706e){return this['encode'](_0x3948cf,_0x14706e)['ldelim']();},_0x1fdab3['decode']=function(_0x872a7f,_0xc2e4ad,_0x17481f){_0x872a7f instanceof _0x57f37b||(_0x872a7f=_0x57f37b['create'](_0x872a7f));for(var _0x27ff2b=void 0x0===_0xc2e4ad?_0x872a7f['len']:_0x872a7f['pos']+_0xc2e4ad,_0x50852a=new _0x37f903['NumberStringPacketDataMessage']();_0x872a7f['pos']<_0x27ff2b;){var _0x2609f5=_0x872a7f['uint32']();if(_0x2609f5===_0x17481f)break;switch(_0x2609f5>>>0x3){case 0x1:_0x50852a['data']=_0x872a7f['uint32']();break;case 0x2:_0x50852a['data1']=_0x872a7f['string']();break;default:_0x872a7f['skipType'](0x7&_0x2609f5);}}return _0x50852a;},_0x1fdab3['decodeDelimited']=function(_0x1f14e0){return _0x1f14e0 instanceof _0x57f37b||(_0x1f14e0=new _0x57f37b(_0x1f14e0)),this['decode'](_0x1f14e0,_0x1f14e0['uint32']());},_0x1fdab3['verify']=function(_0x427308){return'object'!=typeof _0x427308||null===_0x427308?'object\x20expected':null!=_0x427308['data']&&_0x427308['hasOwnProperty']('data')&&!_0x2e4f36['isInteger'](_0x427308['data'])?'data:\x20integer\x20expected':null!=_0x427308['data1']&&_0x427308['hasOwnProperty']('data1')&&!_0x2e4f36['isString'](_0x427308['data1'])?'data1:\x20string\x20expected':null;},_0x1fdab3['fromObject']=function(_0x22714f){if(_0x22714f instanceof _0x37f903['NumberStringPacketDataMessage'])return _0x22714f;var _0x30915c=new _0x37f903['NumberStringPacketDataMessage']();return null!=_0x22714f['data']&&(_0x30915c['data']=_0x22714f['data']>>>0x0),null!=_0x22714f['data1']&&(_0x30915c['data1']=String(_0x22714f['data1'])),_0x30915c;},_0x1fdab3['toObject']=function(_0x5951e4,_0x4779ee){_0x4779ee||(_0x4779ee={});var _0x187eae={};return _0x4779ee['defaults']&&(_0x187eae['data']=0x0,_0x187eae['data1']=''),null!=_0x5951e4['data']&&_0x5951e4['hasOwnProperty']('data')&&(_0x187eae['data']=_0x5951e4['data']),null!=_0x5951e4['data1']&&_0x5951e4['hasOwnProperty']('data1')&&(_0x187eae['data1']=_0x5951e4['data1']),_0x187eae;},_0x1fdab3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1fdab3['getTypeUrl']=function(_0x326c4b){return void 0x0===_0x326c4b&&(_0x326c4b='type.googleapis.com'),_0x326c4b+'/NumberStringPacketDataMessage';},_0x1fdab3;}()),_0x37f903['NumberObjectPacketDataMessage']=(function(){function _0x3516c(_0x3b34f8){if(_0x3b34f8){for(var _0x4eee25=Object['keys'](_0x3b34f8),_0x467d1e=0x0;_0x467d1e<_0x4eee25['length'];++_0x467d1e)null!=_0x3b34f8[_0x4eee25[_0x467d1e]]&&(this[_0x4eee25[_0x467d1e]]=_0x3b34f8[_0x4eee25[_0x467d1e]]);}}return _0x3516c['prototype']['data']=0x0,_0x3516c['prototype']['data1']='',_0x3516c['create']=function(_0x3310df){return new _0x3516c(_0x3310df);},_0x3516c['encode']=function(_0x409762,_0x5d6fed){return _0x5d6fed||(_0x5d6fed=_0x186223['create']()),null!=_0x409762['data']&&Object['hasOwnProperty']['call'](_0x409762,'data')&&_0x5d6fed['uint32'](0x8)['uint32'](_0x409762['data']),null!=_0x409762['data1']&&Object['hasOwnProperty']['call'](_0x409762,'data1')&&_0x5d6fed['uint32'](0x12)['string'](_0x409762['data1']),_0x5d6fed;},_0x3516c['encodeDelimited']=function(_0x133aad,_0x132d01){return this['encode'](_0x133aad,_0x132d01)['ldelim']();},_0x3516c['decode']=function(_0x25ac2f,_0x4d1bfb,_0x247950){_0x25ac2f instanceof _0x57f37b||(_0x25ac2f=_0x57f37b['create'](_0x25ac2f));for(var _0x47e718=void 0x0===_0x4d1bfb?_0x25ac2f['len']:_0x25ac2f['pos']+_0x4d1bfb,_0x5a3074=new _0x37f903['NumberObjectPacketDataMessage']();_0x25ac2f['pos']<_0x47e718;){var _0x4f13c6=_0x25ac2f['uint32']();if(_0x4f13c6===_0x247950)break;switch(_0x4f13c6>>>0x3){case 0x1:_0x5a3074['data']=_0x25ac2f['uint32']();break;case 0x2:_0x5a3074['data1']=_0x25ac2f['string']();break;default:_0x25ac2f['skipType'](0x7&_0x4f13c6);}}return _0x5a3074;},_0x3516c['decodeDelimited']=function(_0x3fe2a0){return _0x3fe2a0 instanceof _0x57f37b||(_0x3fe2a0=new _0x57f37b(_0x3fe2a0)),this['decode'](_0x3fe2a0,_0x3fe2a0['uint32']());},_0x3516c['verify']=function(_0x317741){return'object'!=typeof _0x317741||null===_0x317741?'object\x20expected':null!=_0x317741['data']&&_0x317741['hasOwnProperty']('data')&&!_0x2e4f36['isInteger'](_0x317741['data'])?'data:\x20integer\x20expected':null!=_0x317741['data1']&&_0x317741['hasOwnProperty']('data1')&&!_0x2e4f36['isString'](_0x317741['data1'])?'data1:\x20string\x20expected':null;},_0x3516c['fromObject']=function(_0x4c180b){if(_0x4c180b instanceof _0x37f903['NumberObjectPacketDataMessage'])return _0x4c180b;var _0x166cb3=new _0x37f903['NumberObjectPacketDataMessage']();return null!=_0x4c180b['data']&&(_0x166cb3['data']=_0x4c180b['data']>>>0x0),null!=_0x4c180b['data1']&&(_0x166cb3['data1']=String(_0x4c180b['data1'])),_0x166cb3;},_0x3516c['toObject']=function(_0x1779c9,_0x2dae11){_0x2dae11||(_0x2dae11={});var _0x1afcba={};return _0x2dae11['defaults']&&(_0x1afcba['data']=0x0,_0x1afcba['data1']=''),null!=_0x1779c9['data']&&_0x1779c9['hasOwnProperty']('data')&&(_0x1afcba['data']=_0x1779c9['data']),null!=_0x1779c9['data1']&&_0x1779c9['hasOwnProperty']('data1')&&(_0x1afcba['data1']=_0x1779c9['data1']),_0x1afcba;},_0x3516c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3516c['getTypeUrl']=function(_0x27750f){return void 0x0===_0x27750f&&(_0x27750f='type.googleapis.com'),_0x27750f+'/NumberObjectPacketDataMessage';},_0x3516c;}()),_0x37f903['NumberNumberPacketDataMessage']=(function(){function _0x41bb34(_0x3a9fbb){if(_0x3a9fbb){for(var _0x3d7022=Object['keys'](_0x3a9fbb),_0x7bf037=0x0;_0x7bf037<_0x3d7022['length'];++_0x7bf037)null!=_0x3a9fbb[_0x3d7022[_0x7bf037]]&&(this[_0x3d7022[_0x7bf037]]=_0x3a9fbb[_0x3d7022[_0x7bf037]]);}}return _0x41bb34['prototype']['data']=0x0,_0x41bb34['prototype']['data1']=0x0,_0x41bb34['create']=function(_0x536df8){return new _0x41bb34(_0x536df8);},_0x41bb34['encode']=function(_0xa7ac08,_0x5e3ee6){return _0x5e3ee6||(_0x5e3ee6=_0x186223['create']()),null!=_0xa7ac08['data']&&Object['hasOwnProperty']['call'](_0xa7ac08,'data')&&_0x5e3ee6['uint32'](0x8)['uint32'](_0xa7ac08['data']),null!=_0xa7ac08['data1']&&Object['hasOwnProperty']['call'](_0xa7ac08,'data1')&&_0x5e3ee6['uint32'](0x10)['uint32'](_0xa7ac08['data1']),_0x5e3ee6;},_0x41bb34['encodeDelimited']=function(_0x226959,_0xd041b2){return this['encode'](_0x226959,_0xd041b2)['ldelim']();},_0x41bb34['decode']=function(_0x2cd99c,_0x58e8db,_0x5c9ee1){_0x2cd99c instanceof _0x57f37b||(_0x2cd99c=_0x57f37b['create'](_0x2cd99c));for(var _0x59fa8c=void 0x0===_0x58e8db?_0x2cd99c['len']:_0x2cd99c['pos']+_0x58e8db,_0x34c4e7=new _0x37f903['NumberNumberPacketDataMessage']();_0x2cd99c['pos']<_0x59fa8c;){var _0xd2f863=_0x2cd99c['uint32']();if(_0xd2f863===_0x5c9ee1)break;switch(_0xd2f863>>>0x3){case 0x1:_0x34c4e7['data']=_0x2cd99c['uint32']();break;case 0x2:_0x34c4e7['data1']=_0x2cd99c['uint32']();break;default:_0x2cd99c['skipType'](0x7&_0xd2f863);}}return _0x34c4e7;},_0x41bb34['decodeDelimited']=function(_0x354543){return _0x354543 instanceof _0x57f37b||(_0x354543=new _0x57f37b(_0x354543)),this['decode'](_0x354543,_0x354543['uint32']());},_0x41bb34['verify']=function(_0x5d4677){return'object'!=typeof _0x5d4677||null===_0x5d4677?'object\x20expected':null!=_0x5d4677['data']&&_0x5d4677['hasOwnProperty']('data')&&!_0x2e4f36['isInteger'](_0x5d4677['data'])?'data:\x20integer\x20expected':null!=_0x5d4677['data1']&&_0x5d4677['hasOwnProperty']('data1')&&!_0x2e4f36['isInteger'](_0x5d4677['data1'])?'data1:\x20integer\x20expected':null;},_0x41bb34['fromObject']=function(_0x320367){if(_0x320367 instanceof _0x37f903['NumberNumberPacketDataMessage'])return _0x320367;var _0x517c97=new _0x37f903['NumberNumberPacketDataMessage']();return null!=_0x320367['data']&&(_0x517c97['data']=_0x320367['data']>>>0x0),null!=_0x320367['data1']&&(_0x517c97['data1']=_0x320367['data1']>>>0x0),_0x517c97;},_0x41bb34['toObject']=function(_0x24304c,_0x4722e3){_0x4722e3||(_0x4722e3={});var _0x42575f={};return _0x4722e3['defaults']&&(_0x42575f['data']=0x0,_0x42575f['data1']=0x0),null!=_0x24304c['data']&&_0x24304c['hasOwnProperty']('data')&&(_0x42575f['data']=_0x24304c['data']),null!=_0x24304c['data1']&&_0x24304c['hasOwnProperty']('data1')&&(_0x42575f['data1']=_0x24304c['data1']),_0x42575f;},_0x41bb34['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x41bb34['getTypeUrl']=function(_0x40b24d){return void 0x0===_0x40b24d&&(_0x40b24d='type.googleapis.com'),_0x40b24d+'/NumberNumberPacketDataMessage';},_0x41bb34;}()),_0x37f903['NumberBytesPacketDataMessage']=(function(){function _0x5823a3(_0x48a6fd){if(_0x48a6fd){for(var _0x1d40cc=Object['keys'](_0x48a6fd),_0x78427b=0x0;_0x78427b<_0x1d40cc['length'];++_0x78427b)null!=_0x48a6fd[_0x1d40cc[_0x78427b]]&&(this[_0x1d40cc[_0x78427b]]=_0x48a6fd[_0x1d40cc[_0x78427b]]);}}return _0x5823a3['prototype']['data']=0x0,_0x5823a3['prototype']['data1']=_0x2e4f36['newBuffer']([]),_0x5823a3['create']=function(_0x5d92f0){return new _0x5823a3(_0x5d92f0);},_0x5823a3['encode']=function(_0x165660,_0x10c92d){return _0x10c92d||(_0x10c92d=_0x186223['create']()),null!=_0x165660['data']&&Object['hasOwnProperty']['call'](_0x165660,'data')&&_0x10c92d['uint32'](0x8)['uint32'](_0x165660['data']),null!=_0x165660['data1']&&Object['hasOwnProperty']['call'](_0x165660,'data1')&&_0x10c92d['uint32'](0x12)['bytes'](_0x165660['data1']),_0x10c92d;},_0x5823a3['encodeDelimited']=function(_0x2c188f,_0xed5a5){return this['encode'](_0x2c188f,_0xed5a5)['ldelim']();},_0x5823a3['decode']=function(_0x5f3795,_0x4b48fe,_0x1ce359){_0x5f3795 instanceof _0x57f37b||(_0x5f3795=_0x57f37b['create'](_0x5f3795));for(var _0x17bbd5=void 0x0===_0x4b48fe?_0x5f3795['len']:_0x5f3795['pos']+_0x4b48fe,_0x1919c7=new _0x37f903['NumberBytesPacketDataMessage']();_0x5f3795['pos']<_0x17bbd5;){var _0x758f09=_0x5f3795['uint32']();if(_0x758f09===_0x1ce359)break;switch(_0x758f09>>>0x3){case 0x1:_0x1919c7['data']=_0x5f3795['uint32']();break;case 0x2:_0x1919c7['data1']=_0x5f3795['bytes']();break;default:_0x5f3795['skipType'](0x7&_0x758f09);}}return _0x1919c7;},_0x5823a3['decodeDelimited']=function(_0x29010d){return _0x29010d instanceof _0x57f37b||(_0x29010d=new _0x57f37b(_0x29010d)),this['decode'](_0x29010d,_0x29010d['uint32']());},_0x5823a3['verify']=function(_0x14913b){return'object'!=typeof _0x14913b||null===_0x14913b?'object\x20expected':null!=_0x14913b['data']&&_0x14913b['hasOwnProperty']('data')&&!_0x2e4f36['isInteger'](_0x14913b['data'])?'data:\x20integer\x20expected':null!=_0x14913b['data1']&&_0x14913b['hasOwnProperty']('data1')&&!(_0x14913b['data1']&&'number'==typeof _0x14913b['data1']['length']||_0x2e4f36['isString'](_0x14913b['data1']))?'data1:\x20buffer\x20expected':null;},_0x5823a3['fromObject']=function(_0x39eab5){if(_0x39eab5 instanceof _0x37f903['NumberBytesPacketDataMessage'])return _0x39eab5;var _0x89ed91=new _0x37f903['NumberBytesPacketDataMessage']();return null!=_0x39eab5['data']&&(_0x89ed91['data']=_0x39eab5['data']>>>0x0),null!=_0x39eab5['data1']&&('string'==typeof _0x39eab5['data1']?_0x2e4f36['base64']['decode'](_0x39eab5['data1'],_0x89ed91['data1']=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0x39eab5['data1'])),0x0):_0x39eab5['data1']['length']>=0x0&&(_0x89ed91['data1']=_0x39eab5['data1'])),_0x89ed91;},_0x5823a3['toObject']=function(_0x5c5fc4,_0x558c07){_0x558c07||(_0x558c07={});var _0x5d756a={};return _0x558c07['defaults']&&(_0x5d756a['data']=0x0,_0x558c07['bytes']===String?_0x5d756a['data1']='':(_0x5d756a['data1']=[],_0x558c07['bytes']!==Array&&(_0x5d756a['data1']=_0x2e4f36['newBuffer'](_0x5d756a['data1'])))),null!=_0x5c5fc4['data']&&_0x5c5fc4['hasOwnProperty']('data')&&(_0x5d756a['data']=_0x5c5fc4['data']),null!=_0x5c5fc4['data1']&&_0x5c5fc4['hasOwnProperty']('data1')&&(_0x5d756a['data1']=_0x558c07['bytes']===String?_0x2e4f36['base64']['encode'](_0x5c5fc4['data1'],0x0,_0x5c5fc4['data1']['length']):_0x558c07['bytes']===Array?Array['prototype']['slice']['call'](_0x5c5fc4['data1']):_0x5c5fc4['data1']),_0x5d756a;},_0x5823a3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5823a3['getTypeUrl']=function(_0x53ab61){return void 0x0===_0x53ab61&&(_0x53ab61='type.googleapis.com'),_0x53ab61+'/NumberBytesPacketDataMessage';},_0x5823a3;}()),_0x37f903['BytesBytesPacketDataMessage']=(function(){function _0x3c79b3(_0x563a25){if(_0x563a25){for(var _0x2a2c84=Object['keys'](_0x563a25),_0x402e55=0x0;_0x402e55<_0x2a2c84['length'];++_0x402e55)null!=_0x563a25[_0x2a2c84[_0x402e55]]&&(this[_0x2a2c84[_0x402e55]]=_0x563a25[_0x2a2c84[_0x402e55]]);}}return _0x3c79b3['prototype']['data']=_0x2e4f36['newBuffer']([]),_0x3c79b3['prototype']['data1']=_0x2e4f36['newBuffer']([]),_0x3c79b3['create']=function(_0x149942){return new _0x3c79b3(_0x149942);},_0x3c79b3['encode']=function(_0x380b9a,_0x2652e7){return _0x2652e7||(_0x2652e7=_0x186223['create']()),null!=_0x380b9a['data']&&Object['hasOwnProperty']['call'](_0x380b9a,'data')&&_0x2652e7['uint32'](0xa)['bytes'](_0x380b9a['data']),null!=_0x380b9a['data1']&&Object['hasOwnProperty']['call'](_0x380b9a,'data1')&&_0x2652e7['uint32'](0x12)['bytes'](_0x380b9a['data1']),_0x2652e7;},_0x3c79b3['encodeDelimited']=function(_0x5349da,_0x457fcb){return this['encode'](_0x5349da,_0x457fcb)['ldelim']();},_0x3c79b3['decode']=function(_0x3d6c16,_0x40501c,_0x286dad){_0x3d6c16 instanceof _0x57f37b||(_0x3d6c16=_0x57f37b['create'](_0x3d6c16));for(var _0x52551c=void 0x0===_0x40501c?_0x3d6c16['len']:_0x3d6c16['pos']+_0x40501c,_0x5a3449=new _0x37f903['BytesBytesPacketDataMessage']();_0x3d6c16['pos']<_0x52551c;){var _0x7bf0ad=_0x3d6c16['uint32']();if(_0x7bf0ad===_0x286dad)break;switch(_0x7bf0ad>>>0x3){case 0x1:_0x5a3449['data']=_0x3d6c16['bytes']();break;case 0x2:_0x5a3449['data1']=_0x3d6c16['bytes']();break;default:_0x3d6c16['skipType'](0x7&_0x7bf0ad);}}return _0x5a3449;},_0x3c79b3['decodeDelimited']=function(_0x422070){return _0x422070 instanceof _0x57f37b||(_0x422070=new _0x57f37b(_0x422070)),this['decode'](_0x422070,_0x422070['uint32']());},_0x3c79b3['verify']=function(_0x320a19){return'object'!=typeof _0x320a19||null===_0x320a19?'object\x20expected':null!=_0x320a19['data']&&_0x320a19['hasOwnProperty']('data')&&!(_0x320a19['data']&&'number'==typeof _0x320a19['data']['length']||_0x2e4f36['isString'](_0x320a19['data']))?'data:\x20buffer\x20expected':null!=_0x320a19['data1']&&_0x320a19['hasOwnProperty']('data1')&&!(_0x320a19['data1']&&'number'==typeof _0x320a19['data1']['length']||_0x2e4f36['isString'](_0x320a19['data1']))?'data1:\x20buffer\x20expected':null;},_0x3c79b3['fromObject']=function(_0x1ab603){if(_0x1ab603 instanceof _0x37f903['BytesBytesPacketDataMessage'])return _0x1ab603;var _0x1528cf=new _0x37f903['BytesBytesPacketDataMessage']();return null!=_0x1ab603['data']&&('string'==typeof _0x1ab603['data']?_0x2e4f36['base64']['decode'](_0x1ab603['data'],_0x1528cf['data']=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0x1ab603['data'])),0x0):_0x1ab603['data']['length']>=0x0&&(_0x1528cf['data']=_0x1ab603['data'])),null!=_0x1ab603['data1']&&('string'==typeof _0x1ab603['data1']?_0x2e4f36['base64']['decode'](_0x1ab603['data1'],_0x1528cf['data1']=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0x1ab603['data1'])),0x0):_0x1ab603['data1']['length']>=0x0&&(_0x1528cf['data1']=_0x1ab603['data1'])),_0x1528cf;},_0x3c79b3['toObject']=function(_0x4db4a5,_0x4800b6){_0x4800b6||(_0x4800b6={});var _0x23435e={};return _0x4800b6['defaults']&&(_0x4800b6['bytes']===String?_0x23435e['data']='':(_0x23435e['data']=[],_0x4800b6['bytes']!==Array&&(_0x23435e['data']=_0x2e4f36['newBuffer'](_0x23435e['data']))),_0x4800b6['bytes']===String?_0x23435e['data1']='':(_0x23435e['data1']=[],_0x4800b6['bytes']!==Array&&(_0x23435e['data1']=_0x2e4f36['newBuffer'](_0x23435e['data1'])))),null!=_0x4db4a5['data']&&_0x4db4a5['hasOwnProperty']('data')&&(_0x23435e['data']=_0x4800b6['bytes']===String?_0x2e4f36['base64']['encode'](_0x4db4a5['data'],0x0,_0x4db4a5['data']['length']):_0x4800b6['bytes']===Array?Array['prototype']['slice']['call'](_0x4db4a5['data']):_0x4db4a5['data']),null!=_0x4db4a5['data1']&&_0x4db4a5['hasOwnProperty']('data1')&&(_0x23435e['data1']=_0x4800b6['bytes']===String?_0x2e4f36['base64']['encode'](_0x4db4a5['data1'],0x0,_0x4db4a5['data1']['length']):_0x4800b6['bytes']===Array?Array['prototype']['slice']['call'](_0x4db4a5['data1']):_0x4db4a5['data1']),_0x23435e;},_0x3c79b3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3c79b3['getTypeUrl']=function(_0x1fff94){return void 0x0===_0x1fff94&&(_0x1fff94='type.googleapis.com'),_0x1fff94+'/BytesBytesPacketDataMessage';},_0x3c79b3;}()),_0x37f903['ChannelMessage']=(function(){function _0x2657f8(_0x306577){if(_0x306577){for(var _0x196ad1=Object['keys'](_0x306577),_0x4e7112=0x0;_0x4e7112<_0x196ad1['length'];++_0x4e7112)null!=_0x306577[_0x196ad1[_0x4e7112]]&&(this[_0x196ad1[_0x4e7112]]=_0x306577[_0x196ad1[_0x4e7112]]);}}return _0x2657f8['prototype']['type']=0x0,_0x2657f8['prototype']['socketId']='',_0x2657f8['prototype']['data']=_0x2e4f36['newBuffer']([]),_0x2657f8['create']=function(_0x4a8b44){return new _0x2657f8(_0x4a8b44);},_0x2657f8['encode']=function(_0x149534,_0x140d58){return _0x140d58||(_0x140d58=_0x186223['create']()),null!=_0x149534['type']&&Object['hasOwnProperty']['call'](_0x149534,'type')&&_0x140d58['uint32'](0x8)['uint32'](_0x149534['type']),null!=_0x149534['socketId']&&Object['hasOwnProperty']['call'](_0x149534,'socketId')&&_0x140d58['uint32'](0x12)['string'](_0x149534['socketId']),null!=_0x149534['data']&&Object['hasOwnProperty']['call'](_0x149534,'data')&&_0x140d58['uint32'](0x1a)['bytes'](_0x149534['data']),_0x140d58;},_0x2657f8['encodeDelimited']=function(_0x54f7a1,_0x14ad55){return this['encode'](_0x54f7a1,_0x14ad55)['ldelim']();},_0x2657f8['decode']=function(_0x47ac50,_0x1e3705,_0x22cc10){_0x47ac50 instanceof _0x57f37b||(_0x47ac50=_0x57f37b['create'](_0x47ac50));for(var _0x1076b6=void 0x0===_0x1e3705?_0x47ac50['len']:_0x47ac50['pos']+_0x1e3705,_0x325726=new _0x37f903['ChannelMessage']();_0x47ac50['pos']<_0x1076b6;){var _0x297e71=_0x47ac50['uint32']();if(_0x297e71===_0x22cc10)break;switch(_0x297e71>>>0x3){case 0x1:_0x325726['type']=_0x47ac50['uint32']();break;case 0x2:_0x325726['socketId']=_0x47ac50['string']();break;case 0x3:_0x325726['data']=_0x47ac50['bytes']();break;default:_0x47ac50['skipType'](0x7&_0x297e71);}}return _0x325726;},_0x2657f8['decodeDelimited']=function(_0x42ce9f){return _0x42ce9f instanceof _0x57f37b||(_0x42ce9f=new _0x57f37b(_0x42ce9f)),this['decode'](_0x42ce9f,_0x42ce9f['uint32']());},_0x2657f8['verify']=function(_0x50bd6c){return'object'!=typeof _0x50bd6c||null===_0x50bd6c?'object\x20expected':null!=_0x50bd6c['type']&&_0x50bd6c['hasOwnProperty']('type')&&!_0x2e4f36['isInteger'](_0x50bd6c['type'])?'type:\x20integer\x20expected':null!=_0x50bd6c['socketId']&&_0x50bd6c['hasOwnProperty']('socketId')&&!_0x2e4f36['isString'](_0x50bd6c['socketId'])?'socketId:\x20string\x20expected':null!=_0x50bd6c['data']&&_0x50bd6c['hasOwnProperty']('data')&&!(_0x50bd6c['data']&&'number'==typeof _0x50bd6c['data']['length']||_0x2e4f36['isString'](_0x50bd6c['data']))?'data:\x20buffer\x20expected':null;},_0x2657f8['fromObject']=function(_0x44f597){if(_0x44f597 instanceof _0x37f903['ChannelMessage'])return _0x44f597;var _0x1597b0=new _0x37f903['ChannelMessage']();return null!=_0x44f597['type']&&(_0x1597b0['type']=_0x44f597['type']>>>0x0),null!=_0x44f597['socketId']&&(_0x1597b0['socketId']=String(_0x44f597['socketId'])),null!=_0x44f597['data']&&('string'==typeof _0x44f597['data']?_0x2e4f36['base64']['decode'](_0x44f597['data'],_0x1597b0['data']=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0x44f597['data'])),0x0):_0x44f597['data']['length']>=0x0&&(_0x1597b0['data']=_0x44f597['data'])),_0x1597b0;},_0x2657f8['toObject']=function(_0x32e486,_0x5a3a85){_0x5a3a85||(_0x5a3a85={});var _0x3c107a={};return _0x5a3a85['defaults']&&(_0x3c107a['type']=0x0,_0x3c107a['socketId']='',_0x5a3a85['bytes']===String?_0x3c107a['data']='':(_0x3c107a['data']=[],_0x5a3a85['bytes']!==Array&&(_0x3c107a['data']=_0x2e4f36['newBuffer'](_0x3c107a['data'])))),null!=_0x32e486['type']&&_0x32e486['hasOwnProperty']('type')&&(_0x3c107a['type']=_0x32e486['type']),null!=_0x32e486['socketId']&&_0x32e486['hasOwnProperty']('socketId')&&(_0x3c107a['socketId']=_0x32e486['socketId']),null!=_0x32e486['data']&&_0x32e486['hasOwnProperty']('data')&&(_0x3c107a['data']=_0x5a3a85['bytes']===String?_0x2e4f36['base64']['encode'](_0x32e486['data'],0x0,_0x32e486['data']['length']):_0x5a3a85['bytes']===Array?Array['prototype']['slice']['call'](_0x32e486['data']):_0x32e486['data']),_0x3c107a;},_0x2657f8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2657f8['getTypeUrl']=function(_0x326c55){return void 0x0===_0x326c55&&(_0x326c55='type.googleapis.com'),_0x326c55+'/ChannelMessage';},_0x2657f8;}()),_0x37f903['GetUserResponse']=(function(){function _0x55bdd4(_0x23e7d0){if(this['attributes']=[],_0x23e7d0){for(var _0x38ae61=Object['keys'](_0x23e7d0),_0xf672a3=0x0;_0xf672a3<_0x38ae61['length'];++_0xf672a3)null!=_0x23e7d0[_0x38ae61[_0xf672a3]]&&(this[_0x38ae61[_0xf672a3]]=_0x23e7d0[_0x38ae61[_0xf672a3]]);}}return _0x55bdd4['prototype']['attributes']=_0x2e4f36['emptyArray'],_0x55bdd4['create']=function(_0x1e41b1){return new _0x55bdd4(_0x1e41b1);},_0x55bdd4['encode']=function(_0x4d824b,_0x44f19f){if(_0x44f19f||(_0x44f19f=_0x186223['create']()),null!=_0x4d824b['attributes']&&_0x4d824b['attributes']['length']){for(var _0x148655=0x0;_0x148655<_0x4d824b['attributes']['length'];++_0x148655)_0x37f903['KeyValueDescriptor']['encode'](_0x4d824b['attributes'][_0x148655],_0x44f19f['uint32'](0xa)['fork']())['ldelim']();}return _0x44f19f;},_0x55bdd4['encodeDelimited']=function(_0x2418fd,_0x52368d){return this['encode'](_0x2418fd,_0x52368d)['ldelim']();},_0x55bdd4['decode']=function(_0x2411d9,_0x3a26fb,_0x4a7f5a){_0x2411d9 instanceof _0x57f37b||(_0x2411d9=_0x57f37b['create'](_0x2411d9));for(var _0x35ceac=void 0x0===_0x3a26fb?_0x2411d9['len']:_0x2411d9['pos']+_0x3a26fb,_0xfcc067=new _0x37f903['GetUserResponse']();_0x2411d9['pos']<_0x35ceac;){var _0x4be151=_0x2411d9['uint32']();if(_0x4be151===_0x4a7f5a)break;_0x4be151>>>0x3==0x1?(_0xfcc067['attributes']&&_0xfcc067['attributes']['length']||(_0xfcc067['attributes']=[]),_0xfcc067['attributes']['push'](_0x37f903['KeyValueDescriptor']['decode'](_0x2411d9,_0x2411d9['uint32']()))):_0x2411d9['skipType'](0x7&_0x4be151);}return _0xfcc067;},_0x55bdd4['decodeDelimited']=function(_0x50089b){return _0x50089b instanceof _0x57f37b||(_0x50089b=new _0x57f37b(_0x50089b)),this['decode'](_0x50089b,_0x50089b['uint32']());},_0x55bdd4['verify']=function(_0x408da0){if('object'!=typeof _0x408da0||null===_0x408da0)return'object\x20expected';if(null!=_0x408da0['attributes']&&_0x408da0['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x408da0['attributes']))return'attributes:\x20array\x20expected';for(var _0x1e7f3b=0x0;_0x1e7f3b<_0x408da0['attributes']['length'];++_0x1e7f3b){var _0x252790=_0x37f903['KeyValueDescriptor']['verify'](_0x408da0['attributes'][_0x1e7f3b]);if(_0x252790)return'attributes.'+_0x252790;}}return null;},_0x55bdd4['fromObject']=function(_0x44001f){if(_0x44001f instanceof _0x37f903['GetUserResponse'])return _0x44001f;var _0x1c4bfb=new _0x37f903['GetUserResponse']();if(_0x44001f['attributes']){if(!Array['isArray'](_0x44001f['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x1c4bfb['attributes']=[];for(var _0x3393bc=0x0;_0x3393bc<_0x44001f['attributes']['length'];++_0x3393bc){if('object'!=typeof _0x44001f['attributes'][_0x3393bc])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x1c4bfb['attributes'][_0x3393bc]=_0x37f903['KeyValueDescriptor']['fromObject'](_0x44001f['attributes'][_0x3393bc]);}}return _0x1c4bfb;},_0x55bdd4['toObject']=function(_0x5b7d74,_0x3a4a51){_0x3a4a51||(_0x3a4a51={});var _0x258f8e={};if((_0x3a4a51['arrays']||_0x3a4a51['defaults'])&&(_0x258f8e['attributes']=[]),_0x5b7d74['attributes']&&_0x5b7d74['attributes']['length']){_0x258f8e['attributes']=[];for(var _0x2464ad=0x0;_0x2464ad<_0x5b7d74['attributes']['length'];++_0x2464ad)_0x258f8e['attributes'][_0x2464ad]=_0x37f903['KeyValueDescriptor']['toObject'](_0x5b7d74['attributes'][_0x2464ad],_0x3a4a51);}return _0x258f8e;},_0x55bdd4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x55bdd4['getTypeUrl']=function(_0x32d344){return void 0x0===_0x32d344&&(_0x32d344='type.googleapis.com'),_0x32d344+'/GetUserResponse';},_0x55bdd4;}()),_0x37f903['GetManyUsersResponse']=(function(){function _0x1593db(_0x2bb949){if(this['users']=[],_0x2bb949){for(var _0x350eb3=Object['keys'](_0x2bb949),_0x512d63=0x0;_0x512d63<_0x350eb3['length'];++_0x512d63)null!=_0x2bb949[_0x350eb3[_0x512d63]]&&(this[_0x350eb3[_0x512d63]]=_0x2bb949[_0x350eb3[_0x512d63]]);}}return _0x1593db['prototype']['users']=_0x2e4f36['emptyArray'],_0x1593db['create']=function(_0x3edd9e){return new _0x1593db(_0x3edd9e);},_0x1593db['encode']=function(_0x4f757a,_0x44d7e7){if(_0x44d7e7||(_0x44d7e7=_0x186223['create']()),null!=_0x4f757a['users']&&_0x4f757a['users']['length']){for(var _0x2df649=0x0;_0x2df649<_0x4f757a['users']['length'];++_0x2df649)_0x37f903['UserDescriptor']['encode'](_0x4f757a['users'][_0x2df649],_0x44d7e7['uint32'](0xa)['fork']())['ldelim']();}return _0x44d7e7;},_0x1593db['encodeDelimited']=function(_0x4ce472,_0x5b0f48){return this['encode'](_0x4ce472,_0x5b0f48)['ldelim']();},_0x1593db['decode']=function(_0x4d3ae9,_0x4a9874,_0x43ba41){_0x4d3ae9 instanceof _0x57f37b||(_0x4d3ae9=_0x57f37b['create'](_0x4d3ae9));for(var _0x4d3dde=void 0x0===_0x4a9874?_0x4d3ae9['len']:_0x4d3ae9['pos']+_0x4a9874,_0x30ce1f=new _0x37f903['GetManyUsersResponse']();_0x4d3ae9['pos']<_0x4d3dde;){var _0x26f62e=_0x4d3ae9['uint32']();if(_0x26f62e===_0x43ba41)break;_0x26f62e>>>0x3==0x1?(_0x30ce1f['users']&&_0x30ce1f['users']['length']||(_0x30ce1f['users']=[]),_0x30ce1f['users']['push'](_0x37f903['UserDescriptor']['decode'](_0x4d3ae9,_0x4d3ae9['uint32']()))):_0x4d3ae9['skipType'](0x7&_0x26f62e);}return _0x30ce1f;},_0x1593db['decodeDelimited']=function(_0x12756c){return _0x12756c instanceof _0x57f37b||(_0x12756c=new _0x57f37b(_0x12756c)),this['decode'](_0x12756c,_0x12756c['uint32']());},_0x1593db['verify']=function(_0x537138){if('object'!=typeof _0x537138||null===_0x537138)return'object\x20expected';if(null!=_0x537138['users']&&_0x537138['hasOwnProperty']('users')){if(!Array['isArray'](_0x537138['users']))return'users:\x20array\x20expected';for(var _0x250cb4=0x0;_0x250cb4<_0x537138['users']['length'];++_0x250cb4){var _0x3688b7=_0x37f903['UserDescriptor']['verify'](_0x537138['users'][_0x250cb4]);if(_0x3688b7)return'users.'+_0x3688b7;}}return null;},_0x1593db['fromObject']=function(_0x29af43){if(_0x29af43 instanceof _0x37f903['GetManyUsersResponse'])return _0x29af43;var _0x33a941=new _0x37f903['GetManyUsersResponse']();if(_0x29af43['users']){if(!Array['isArray'](_0x29af43['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x33a941['users']=[];for(var _0x217ff0=0x0;_0x217ff0<_0x29af43['users']['length'];++_0x217ff0){if('object'!=typeof _0x29af43['users'][_0x217ff0])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x33a941['users'][_0x217ff0]=_0x37f903['UserDescriptor']['fromObject'](_0x29af43['users'][_0x217ff0]);}}return _0x33a941;},_0x1593db['toObject']=function(_0x1461c5,_0x19a2b0){_0x19a2b0||(_0x19a2b0={});var _0x1ce663={};if((_0x19a2b0['arrays']||_0x19a2b0['defaults'])&&(_0x1ce663['users']=[]),_0x1461c5['users']&&_0x1461c5['users']['length']){_0x1ce663['users']=[];for(var _0x366265=0x0;_0x366265<_0x1461c5['users']['length'];++_0x366265)_0x1ce663['users'][_0x366265]=_0x37f903['UserDescriptor']['toObject'](_0x1461c5['users'][_0x366265],_0x19a2b0);}return _0x1ce663;},_0x1593db['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1593db['getTypeUrl']=function(_0x93944d){return void 0x0===_0x93944d&&(_0x93944d='type.googleapis.com'),_0x93944d+'/GetManyUsersResponse';},_0x1593db;}()),_0x37f903['GetUserMessage']=(function(){function _0x456b53(_0x3041b1){if(_0x3041b1){for(var _0x227a49=Object['keys'](_0x3041b1),_0x531b37=0x0;_0x531b37<_0x227a49['length'];++_0x531b37)null!=_0x3041b1[_0x227a49[_0x531b37]]&&(this[_0x227a49[_0x531b37]]=_0x3041b1[_0x227a49[_0x531b37]]);}}return _0x456b53['prototype']['id']='',_0x456b53['create']=function(_0x13b3da){return new _0x456b53(_0x13b3da);},_0x456b53['encode']=function(_0x2b8972,_0x590211){return _0x590211||(_0x590211=_0x186223['create']()),null!=_0x2b8972['id']&&Object['hasOwnProperty']['call'](_0x2b8972,'id')&&_0x590211['uint32'](0xa)['string'](_0x2b8972['id']),_0x590211;},_0x456b53['encodeDelimited']=function(_0x41401b,_0x1c8ff5){return this['encode'](_0x41401b,_0x1c8ff5)['ldelim']();},_0x456b53['decode']=function(_0x2415f1,_0x18d3f8,_0x5325d5){_0x2415f1 instanceof _0x57f37b||(_0x2415f1=_0x57f37b['create'](_0x2415f1));for(var _0x351be6=void 0x0===_0x18d3f8?_0x2415f1['len']:_0x2415f1['pos']+_0x18d3f8,_0xd8ea95=new _0x37f903['GetUserMessage']();_0x2415f1['pos']<_0x351be6;){var _0x66bb21=_0x2415f1['uint32']();if(_0x66bb21===_0x5325d5)break;_0x66bb21>>>0x3==0x1?_0xd8ea95['id']=_0x2415f1['string']():_0x2415f1['skipType'](0x7&_0x66bb21);}return _0xd8ea95;},_0x456b53['decodeDelimited']=function(_0x486e2f){return _0x486e2f instanceof _0x57f37b||(_0x486e2f=new _0x57f37b(_0x486e2f)),this['decode'](_0x486e2f,_0x486e2f['uint32']());},_0x456b53['verify']=function(_0x670cef){return'object'!=typeof _0x670cef||null===_0x670cef?'object\x20expected':null!=_0x670cef['id']&&_0x670cef['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x670cef['id'])?'id:\x20string\x20expected':null;},_0x456b53['fromObject']=function(_0x46bdd8){if(_0x46bdd8 instanceof _0x37f903['GetUserMessage'])return _0x46bdd8;var _0x5d902f=new _0x37f903['GetUserMessage']();return null!=_0x46bdd8['id']&&(_0x5d902f['id']=String(_0x46bdd8['id'])),_0x5d902f;},_0x456b53['toObject']=function(_0x3eba8e,_0x3ade32){_0x3ade32||(_0x3ade32={});var _0x5098bf={};return _0x3ade32['defaults']&&(_0x5098bf['id']=''),null!=_0x3eba8e['id']&&_0x3eba8e['hasOwnProperty']('id')&&(_0x5098bf['id']=_0x3eba8e['id']),_0x5098bf;},_0x456b53['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x456b53['getTypeUrl']=function(_0x1f5667){return void 0x0===_0x1f5667&&(_0x1f5667='type.googleapis.com'),_0x1f5667+'/GetUserMessage';},_0x456b53;}()),_0x37f903['GetManyUsersMessage']=(function(){function _0x5d02ac(_0x12cb39){if(this['ids']=[],_0x12cb39){for(var _0x13e7ed=Object['keys'](_0x12cb39),_0x4f2940=0x0;_0x4f2940<_0x13e7ed['length'];++_0x4f2940)null!=_0x12cb39[_0x13e7ed[_0x4f2940]]&&(this[_0x13e7ed[_0x4f2940]]=_0x12cb39[_0x13e7ed[_0x4f2940]]);}}return _0x5d02ac['prototype']['ids']=_0x2e4f36['emptyArray'],_0x5d02ac['create']=function(_0xa461b8){return new _0x5d02ac(_0xa461b8);},_0x5d02ac['encode']=function(_0x1ab38f,_0x237c5c){if(_0x237c5c||(_0x237c5c=_0x186223['create']()),null!=_0x1ab38f['ids']&&_0x1ab38f['ids']['length']){for(var _0x57498a=0x0;_0x57498a<_0x1ab38f['ids']['length'];++_0x57498a)_0x237c5c['uint32'](0xa)['string'](_0x1ab38f['ids'][_0x57498a]);}return _0x237c5c;},_0x5d02ac['encodeDelimited']=function(_0x1b7ad8,_0x1db57e){return this['encode'](_0x1b7ad8,_0x1db57e)['ldelim']();},_0x5d02ac['decode']=function(_0x56a2d2,_0x42a082,_0x1dbb9a){_0x56a2d2 instanceof _0x57f37b||(_0x56a2d2=_0x57f37b['create'](_0x56a2d2));for(var _0x51b05c=void 0x0===_0x42a082?_0x56a2d2['len']:_0x56a2d2['pos']+_0x42a082,_0x5941dc=new _0x37f903['GetManyUsersMessage']();_0x56a2d2['pos']<_0x51b05c;){var _0xb1aa9f=_0x56a2d2['uint32']();if(_0xb1aa9f===_0x1dbb9a)break;_0xb1aa9f>>>0x3==0x1?(_0x5941dc['ids']&&_0x5941dc['ids']['length']||(_0x5941dc['ids']=[]),_0x5941dc['ids']['push'](_0x56a2d2['string']())):_0x56a2d2['skipType'](0x7&_0xb1aa9f);}return _0x5941dc;},_0x5d02ac['decodeDelimited']=function(_0xffa8a3){return _0xffa8a3 instanceof _0x57f37b||(_0xffa8a3=new _0x57f37b(_0xffa8a3)),this['decode'](_0xffa8a3,_0xffa8a3['uint32']());},_0x5d02ac['verify']=function(_0x4a46f5){if('object'!=typeof _0x4a46f5||null===_0x4a46f5)return'object\x20expected';if(null!=_0x4a46f5['ids']&&_0x4a46f5['hasOwnProperty']('ids')){if(!Array['isArray'](_0x4a46f5['ids']))return'ids:\x20array\x20expected';for(var _0x523d99=0x0;_0x523d99<_0x4a46f5['ids']['length'];++_0x523d99)if(!_0x2e4f36['isString'](_0x4a46f5['ids'][_0x523d99]))return'ids:\x20string[]\x20expected';}return null;},_0x5d02ac['fromObject']=function(_0x30f67a){if(_0x30f67a instanceof _0x37f903['GetManyUsersMessage'])return _0x30f67a;var _0x1cbfdd=new _0x37f903['GetManyUsersMessage']();if(_0x30f67a['ids']){if(!Array['isArray'](_0x30f67a['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x1cbfdd['ids']=[];for(var _0x55b7a4=0x0;_0x55b7a4<_0x30f67a['ids']['length'];++_0x55b7a4)_0x1cbfdd['ids'][_0x55b7a4]=String(_0x30f67a['ids'][_0x55b7a4]);}return _0x1cbfdd;},_0x5d02ac['toObject']=function(_0x419cb0,_0x3af3bd){_0x3af3bd||(_0x3af3bd={});var _0xb4a108={};if((_0x3af3bd['arrays']||_0x3af3bd['defaults'])&&(_0xb4a108['ids']=[]),_0x419cb0['ids']&&_0x419cb0['ids']['length']){_0xb4a108['ids']=[];for(var _0x4f1f6f=0x0;_0x4f1f6f<_0x419cb0['ids']['length'];++_0x4f1f6f)_0xb4a108['ids'][_0x4f1f6f]=_0x419cb0['ids'][_0x4f1f6f];}return _0xb4a108;},_0x5d02ac['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5d02ac['getTypeUrl']=function(_0xf2699d){return void 0x0===_0xf2699d&&(_0xf2699d='type.googleapis.com'),_0xf2699d+'/GetManyUsersMessage';},_0x5d02ac;}()),_0x37f903['UserDescriptor']=(function(){function _0x99bbc2(_0x12b200){if(this['attributes']=[],_0x12b200){for(var _0x5a13bc=Object['keys'](_0x12b200),_0x21a51d=0x0;_0x21a51d<_0x5a13bc['length'];++_0x21a51d)null!=_0x12b200[_0x5a13bc[_0x21a51d]]&&(this[_0x5a13bc[_0x21a51d]]=_0x12b200[_0x5a13bc[_0x21a51d]]);}}return _0x99bbc2['prototype']['attributes']=_0x2e4f36['emptyArray'],_0x99bbc2['create']=function(_0x550b6a){return new _0x99bbc2(_0x550b6a);},_0x99bbc2['encode']=function(_0x10af3a,_0x4b61e0){if(_0x4b61e0||(_0x4b61e0=_0x186223['create']()),null!=_0x10af3a['attributes']&&_0x10af3a['attributes']['length']){for(var _0x368d1f=0x0;_0x368d1f<_0x10af3a['attributes']['length'];++_0x368d1f)_0x37f903['KeyValueDescriptor']['encode'](_0x10af3a['attributes'][_0x368d1f],_0x4b61e0['uint32'](0xa)['fork']())['ldelim']();}return _0x4b61e0;},_0x99bbc2['encodeDelimited']=function(_0x2c167f,_0xe1248f){return this['encode'](_0x2c167f,_0xe1248f)['ldelim']();},_0x99bbc2['decode']=function(_0x3b692a,_0x175e42,_0xcb1c1e){_0x3b692a instanceof _0x57f37b||(_0x3b692a=_0x57f37b['create'](_0x3b692a));for(var _0x37d23b=void 0x0===_0x175e42?_0x3b692a['len']:_0x3b692a['pos']+_0x175e42,_0x393111=new _0x37f903['UserDescriptor']();_0x3b692a['pos']<_0x37d23b;){var _0x56dab5=_0x3b692a['uint32']();if(_0x56dab5===_0xcb1c1e)break;_0x56dab5>>>0x3==0x1?(_0x393111['attributes']&&_0x393111['attributes']['length']||(_0x393111['attributes']=[]),_0x393111['attributes']['push'](_0x37f903['KeyValueDescriptor']['decode'](_0x3b692a,_0x3b692a['uint32']()))):_0x3b692a['skipType'](0x7&_0x56dab5);}return _0x393111;},_0x99bbc2['decodeDelimited']=function(_0x13d369){return _0x13d369 instanceof _0x57f37b||(_0x13d369=new _0x57f37b(_0x13d369)),this['decode'](_0x13d369,_0x13d369['uint32']());},_0x99bbc2['verify']=function(_0xe478b1){if('object'!=typeof _0xe478b1||null===_0xe478b1)return'object\x20expected';if(null!=_0xe478b1['attributes']&&_0xe478b1['hasOwnProperty']('attributes')){if(!Array['isArray'](_0xe478b1['attributes']))return'attributes:\x20array\x20expected';for(var _0xa5aae6=0x0;_0xa5aae6<_0xe478b1['attributes']['length'];++_0xa5aae6){var _0x586dfe=_0x37f903['KeyValueDescriptor']['verify'](_0xe478b1['attributes'][_0xa5aae6]);if(_0x586dfe)return'attributes.'+_0x586dfe;}}return null;},_0x99bbc2['fromObject']=function(_0x329f77){if(_0x329f77 instanceof _0x37f903['UserDescriptor'])return _0x329f77;var _0x549395=new _0x37f903['UserDescriptor']();if(_0x329f77['attributes']){if(!Array['isArray'](_0x329f77['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x549395['attributes']=[];for(var _0x3bcb68=0x0;_0x3bcb68<_0x329f77['attributes']['length'];++_0x3bcb68){if('object'!=typeof _0x329f77['attributes'][_0x3bcb68])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x549395['attributes'][_0x3bcb68]=_0x37f903['KeyValueDescriptor']['fromObject'](_0x329f77['attributes'][_0x3bcb68]);}}return _0x549395;},_0x99bbc2['toObject']=function(_0x32ceef,_0x259ac6){_0x259ac6||(_0x259ac6={});var _0x18ee2f={};if((_0x259ac6['arrays']||_0x259ac6['defaults'])&&(_0x18ee2f['attributes']=[]),_0x32ceef['attributes']&&_0x32ceef['attributes']['length']){_0x18ee2f['attributes']=[];for(var _0x4deaa6=0x0;_0x4deaa6<_0x32ceef['attributes']['length'];++_0x4deaa6)_0x18ee2f['attributes'][_0x4deaa6]=_0x37f903['KeyValueDescriptor']['toObject'](_0x32ceef['attributes'][_0x4deaa6],_0x259ac6);}return _0x18ee2f;},_0x99bbc2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x99bbc2['getTypeUrl']=function(_0x2351f9){return void 0x0===_0x2351f9&&(_0x2351f9='type.googleapis.com'),_0x2351f9+'/UserDescriptor';},_0x99bbc2;}()),_0x37f903['TrackChangesGetSuggestionResponse']=(function(){function _0x4c5e54(_0x3f3f56){if(_0x3f3f56){for(var _0x54b12f=Object['keys'](_0x3f3f56),_0x3f7273=0x0;_0x3f7273<_0x54b12f['length'];++_0x3f7273)null!=_0x3f3f56[_0x54b12f[_0x3f7273]]&&(this[_0x54b12f[_0x3f7273]]=_0x3f3f56[_0x54b12f[_0x3f7273]]);}}return _0x4c5e54['prototype']['id']='',_0x4c5e54['prototype']['authorId']='',_0x4c5e54['prototype']['type']='',_0x4c5e54['prototype']['createdAt']='',_0x4c5e54['prototype']['data']='',_0x4c5e54['prototype']['hasComments']=!0x1,_0x4c5e54['prototype']['state']='',_0x4c5e54['prototype']['attributes']='',_0x4c5e54['create']=function(_0x47f9cd){return new _0x4c5e54(_0x47f9cd);},_0x4c5e54['encode']=function(_0x4aa957,_0x3c95fb){return _0x3c95fb||(_0x3c95fb=_0x186223['create']()),null!=_0x4aa957['id']&&Object['hasOwnProperty']['call'](_0x4aa957,'id')&&_0x3c95fb['uint32'](0xa)['string'](_0x4aa957['id']),null!=_0x4aa957['authorId']&&Object['hasOwnProperty']['call'](_0x4aa957,'authorId')&&_0x3c95fb['uint32'](0x12)['string'](_0x4aa957['authorId']),null!=_0x4aa957['type']&&Object['hasOwnProperty']['call'](_0x4aa957,'type')&&_0x3c95fb['uint32'](0x1a)['string'](_0x4aa957['type']),null!=_0x4aa957['createdAt']&&Object['hasOwnProperty']['call'](_0x4aa957,'createdAt')&&_0x3c95fb['uint32'](0x22)['string'](_0x4aa957['createdAt']),null!=_0x4aa957['data']&&Object['hasOwnProperty']['call'](_0x4aa957,'data')&&_0x3c95fb['uint32'](0x2a)['string'](_0x4aa957['data']),null!=_0x4aa957['hasComments']&&Object['hasOwnProperty']['call'](_0x4aa957,'hasComments')&&_0x3c95fb['uint32'](0x30)['bool'](_0x4aa957['hasComments']),null!=_0x4aa957['state']&&Object['hasOwnProperty']['call'](_0x4aa957,'state')&&_0x3c95fb['uint32'](0x3a)['string'](_0x4aa957['state']),null!=_0x4aa957['attributes']&&Object['hasOwnProperty']['call'](_0x4aa957,'attributes')&&_0x3c95fb['uint32'](0x42)['string'](_0x4aa957['attributes']),_0x3c95fb;},_0x4c5e54['encodeDelimited']=function(_0x4f4db1,_0x13b9af){return this['encode'](_0x4f4db1,_0x13b9af)['ldelim']();},_0x4c5e54['decode']=function(_0x521044,_0x22c66e,_0x462ec9){_0x521044 instanceof _0x57f37b||(_0x521044=_0x57f37b['create'](_0x521044));for(var _0x55d8cc=void 0x0===_0x22c66e?_0x521044['len']:_0x521044['pos']+_0x22c66e,_0x1276a1=new _0x37f903['TrackChangesGetSuggestionResponse']();_0x521044['pos']<_0x55d8cc;){var _0x3b2d0b=_0x521044['uint32']();if(_0x3b2d0b===_0x462ec9)break;switch(_0x3b2d0b>>>0x3){case 0x1:_0x1276a1['id']=_0x521044['string']();break;case 0x2:_0x1276a1['authorId']=_0x521044['string']();break;case 0x3:_0x1276a1['type']=_0x521044['string']();break;case 0x4:_0x1276a1['createdAt']=_0x521044['string']();break;case 0x5:_0x1276a1['data']=_0x521044['string']();break;case 0x6:_0x1276a1['hasComments']=_0x521044['bool']();break;case 0x7:_0x1276a1['state']=_0x521044['string']();break;case 0x8:_0x1276a1['attributes']=_0x521044['string']();break;default:_0x521044['skipType'](0x7&_0x3b2d0b);}}return _0x1276a1;},_0x4c5e54['decodeDelimited']=function(_0x49b1a3){return _0x49b1a3 instanceof _0x57f37b||(_0x49b1a3=new _0x57f37b(_0x49b1a3)),this['decode'](_0x49b1a3,_0x49b1a3['uint32']());},_0x4c5e54['verify']=function(_0x10cb5f){return'object'!=typeof _0x10cb5f||null===_0x10cb5f?'object\x20expected':null!=_0x10cb5f['id']&&_0x10cb5f['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x10cb5f['id'])?'id:\x20string\x20expected':null!=_0x10cb5f['authorId']&&_0x10cb5f['hasOwnProperty']('authorId')&&!_0x2e4f36['isString'](_0x10cb5f['authorId'])?'authorId:\x20string\x20expected':null!=_0x10cb5f['type']&&_0x10cb5f['hasOwnProperty']('type')&&!_0x2e4f36['isString'](_0x10cb5f['type'])?'type:\x20string\x20expected':null!=_0x10cb5f['createdAt']&&_0x10cb5f['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x10cb5f['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x10cb5f['data']&&_0x10cb5f['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0x10cb5f['data'])?'data:\x20string\x20expected':null!=_0x10cb5f['hasComments']&&_0x10cb5f['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x10cb5f['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x10cb5f['state']&&_0x10cb5f['hasOwnProperty']('state')&&!_0x2e4f36['isString'](_0x10cb5f['state'])?'state:\x20string\x20expected':null!=_0x10cb5f['attributes']&&_0x10cb5f['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x10cb5f['attributes'])?'attributes:\x20string\x20expected':null;},_0x4c5e54['fromObject']=function(_0x587213){if(_0x587213 instanceof _0x37f903['TrackChangesGetSuggestionResponse'])return _0x587213;var _0x1d37ae=new _0x37f903['TrackChangesGetSuggestionResponse']();return null!=_0x587213['id']&&(_0x1d37ae['id']=String(_0x587213['id'])),null!=_0x587213['authorId']&&(_0x1d37ae['authorId']=String(_0x587213['authorId'])),null!=_0x587213['type']&&(_0x1d37ae['type']=String(_0x587213['type'])),null!=_0x587213['createdAt']&&(_0x1d37ae['createdAt']=String(_0x587213['createdAt'])),null!=_0x587213['data']&&(_0x1d37ae['data']=String(_0x587213['data'])),null!=_0x587213['hasComments']&&(_0x1d37ae['hasComments']=Boolean(_0x587213['hasComments'])),null!=_0x587213['state']&&(_0x1d37ae['state']=String(_0x587213['state'])),null!=_0x587213['attributes']&&(_0x1d37ae['attributes']=String(_0x587213['attributes'])),_0x1d37ae;},_0x4c5e54['toObject']=function(_0x318888,_0x87cc7e){_0x87cc7e||(_0x87cc7e={});var _0x5b31b7={};return _0x87cc7e['defaults']&&(_0x5b31b7['id']='',_0x5b31b7['authorId']='',_0x5b31b7['type']='',_0x5b31b7['createdAt']='',_0x5b31b7['data']='',_0x5b31b7['hasComments']=!0x1,_0x5b31b7['state']='',_0x5b31b7['attributes']=''),null!=_0x318888['id']&&_0x318888['hasOwnProperty']('id')&&(_0x5b31b7['id']=_0x318888['id']),null!=_0x318888['authorId']&&_0x318888['hasOwnProperty']('authorId')&&(_0x5b31b7['authorId']=_0x318888['authorId']),null!=_0x318888['type']&&_0x318888['hasOwnProperty']('type')&&(_0x5b31b7['type']=_0x318888['type']),null!=_0x318888['createdAt']&&_0x318888['hasOwnProperty']('createdAt')&&(_0x5b31b7['createdAt']=_0x318888['createdAt']),null!=_0x318888['data']&&_0x318888['hasOwnProperty']('data')&&(_0x5b31b7['data']=_0x318888['data']),null!=_0x318888['hasComments']&&_0x318888['hasOwnProperty']('hasComments')&&(_0x5b31b7['hasComments']=_0x318888['hasComments']),null!=_0x318888['state']&&_0x318888['hasOwnProperty']('state')&&(_0x5b31b7['state']=_0x318888['state']),null!=_0x318888['attributes']&&_0x318888['hasOwnProperty']('attributes')&&(_0x5b31b7['attributes']=_0x318888['attributes']),_0x5b31b7;},_0x4c5e54['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4c5e54['getTypeUrl']=function(_0x54448d){return void 0x0===_0x54448d&&(_0x54448d='type.googleapis.com'),_0x54448d+'/TrackChangesGetSuggestionResponse';},_0x4c5e54;}()),_0x37f903['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x1c698a(_0x3fc0ce){if(this['suggestions']=[],this['suggestionsV2']=[],_0x3fc0ce){for(var _0x4286ae=Object['keys'](_0x3fc0ce),_0x10cf15=0x0;_0x10cf15<_0x4286ae['length'];++_0x10cf15)null!=_0x3fc0ce[_0x4286ae[_0x10cf15]]&&(this[_0x4286ae[_0x10cf15]]=_0x3fc0ce[_0x4286ae[_0x10cf15]]);}}return _0x1c698a['prototype']['suggestions']=_0x2e4f36['emptyArray'],_0x1c698a['prototype']['suggestionsV2']=_0x2e4f36['emptyArray'],_0x1c698a['create']=function(_0x2ea91a){return new _0x1c698a(_0x2ea91a);},_0x1c698a['encode']=function(_0x1ac15b,_0x1e68a7){if(_0x1e68a7||(_0x1e68a7=_0x186223['create']()),null!=_0x1ac15b['suggestions']&&_0x1ac15b['suggestions']['length']){for(var _0x29a348=0x0;_0x29a348<_0x1ac15b['suggestions']['length'];++_0x29a348)_0x1e68a7['uint32'](0xa)['string'](_0x1ac15b['suggestions'][_0x29a348]);}if(null!=_0x1ac15b['suggestionsV2']&&_0x1ac15b['suggestionsV2']['length']){for(_0x29a348=0x0;_0x29a348<_0x1ac15b['suggestionsV2']['length'];++_0x29a348)_0x37f903['SuggestionDescriptor']['encode'](_0x1ac15b['suggestionsV2'][_0x29a348],_0x1e68a7['uint32'](0x12)['fork']())['ldelim']();}return _0x1e68a7;},_0x1c698a['encodeDelimited']=function(_0x1392cf,_0x5c445f){return this['encode'](_0x1392cf,_0x5c445f)['ldelim']();},_0x1c698a['decode']=function(_0x3347d7,_0x342954,_0x4b4a94){_0x3347d7 instanceof _0x57f37b||(_0x3347d7=_0x57f37b['create'](_0x3347d7));for(var _0x1d9666=void 0x0===_0x342954?_0x3347d7['len']:_0x3347d7['pos']+_0x342954,_0xb47241=new _0x37f903['TrackChangesGetAllSuggestionsResponse']();_0x3347d7['pos']<_0x1d9666;){var _0x570f2c=_0x3347d7['uint32']();if(_0x570f2c===_0x4b4a94)break;switch(_0x570f2c>>>0x3){case 0x1:_0xb47241['suggestions']&&_0xb47241['suggestions']['length']||(_0xb47241['suggestions']=[]),_0xb47241['suggestions']['push'](_0x3347d7['string']());break;case 0x2:_0xb47241['suggestionsV2']&&_0xb47241['suggestionsV2']['length']||(_0xb47241['suggestionsV2']=[]),_0xb47241['suggestionsV2']['push'](_0x37f903['SuggestionDescriptor']['decode'](_0x3347d7,_0x3347d7['uint32']()));break;default:_0x3347d7['skipType'](0x7&_0x570f2c);}}return _0xb47241;},_0x1c698a['decodeDelimited']=function(_0x32a23a){return _0x32a23a instanceof _0x57f37b||(_0x32a23a=new _0x57f37b(_0x32a23a)),this['decode'](_0x32a23a,_0x32a23a['uint32']());},_0x1c698a['verify']=function(_0x1b713d){if('object'!=typeof _0x1b713d||null===_0x1b713d)return'object\x20expected';if(null!=_0x1b713d['suggestions']&&_0x1b713d['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x1b713d['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x2f14ce=0x0;_0x2f14ce<_0x1b713d['suggestions']['length'];++_0x2f14ce)if(!_0x2e4f36['isString'](_0x1b713d['suggestions'][_0x2f14ce]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x1b713d['suggestionsV2']&&_0x1b713d['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x1b713d['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x2f14ce=0x0;_0x2f14ce<_0x1b713d['suggestionsV2']['length'];++_0x2f14ce){var _0x50d7f5=_0x37f903['SuggestionDescriptor']['verify'](_0x1b713d['suggestionsV2'][_0x2f14ce]);if(_0x50d7f5)return'suggestionsV2.'+_0x50d7f5;}}return null;},_0x1c698a['fromObject']=function(_0x4033fc){if(_0x4033fc instanceof _0x37f903['TrackChangesGetAllSuggestionsResponse'])return _0x4033fc;var _0x27106e=new _0x37f903['TrackChangesGetAllSuggestionsResponse']();if(_0x4033fc['suggestions']){if(!Array['isArray'](_0x4033fc['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x27106e['suggestions']=[];for(var _0xd29518=0x0;_0xd29518<_0x4033fc['suggestions']['length'];++_0xd29518)_0x27106e['suggestions'][_0xd29518]=String(_0x4033fc['suggestions'][_0xd29518]);}if(_0x4033fc['suggestionsV2']){if(!Array['isArray'](_0x4033fc['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x27106e['suggestionsV2']=[],_0xd29518=0x0;_0xd29518<_0x4033fc['suggestionsV2']['length'];++_0xd29518){if('object'!=typeof _0x4033fc['suggestionsV2'][_0xd29518])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x27106e['suggestionsV2'][_0xd29518]=_0x37f903['SuggestionDescriptor']['fromObject'](_0x4033fc['suggestionsV2'][_0xd29518]);}}return _0x27106e;},_0x1c698a['toObject']=function(_0x1d3d72,_0x3c4046){_0x3c4046||(_0x3c4046={});var _0x5ba4af={};if((_0x3c4046['arrays']||_0x3c4046['defaults'])&&(_0x5ba4af['suggestions']=[],_0x5ba4af['suggestionsV2']=[]),_0x1d3d72['suggestions']&&_0x1d3d72['suggestions']['length']){_0x5ba4af['suggestions']=[];for(var _0x2d1971=0x0;_0x2d1971<_0x1d3d72['suggestions']['length'];++_0x2d1971)_0x5ba4af['suggestions'][_0x2d1971]=_0x1d3d72['suggestions'][_0x2d1971];}if(_0x1d3d72['suggestionsV2']&&_0x1d3d72['suggestionsV2']['length']){for(_0x5ba4af['suggestionsV2']=[],_0x2d1971=0x0;_0x2d1971<_0x1d3d72['suggestionsV2']['length'];++_0x2d1971)_0x5ba4af['suggestionsV2'][_0x2d1971]=_0x37f903['SuggestionDescriptor']['toObject'](_0x1d3d72['suggestionsV2'][_0x2d1971],_0x3c4046);}return _0x5ba4af;},_0x1c698a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1c698a['getTypeUrl']=function(_0x1b6a23){return void 0x0===_0x1b6a23&&(_0x1b6a23='type.googleapis.com'),_0x1b6a23+'/TrackChangesGetAllSuggestionsResponse';},_0x1c698a;}()),_0x37f903['TrackChangesConnectResponse']=(function(){function _0x4972b1(_0x58f2ad){if(this['suggestions']=[],this['suggestionsV2']=[],_0x58f2ad){for(var _0x975b22=Object['keys'](_0x58f2ad),_0x32cf67=0x0;_0x32cf67<_0x975b22['length'];++_0x32cf67)null!=_0x58f2ad[_0x975b22[_0x32cf67]]&&(this[_0x975b22[_0x32cf67]]=_0x58f2ad[_0x975b22[_0x32cf67]]);}}return _0x4972b1['prototype']['channel']='',_0x4972b1['prototype']['suggestions']=_0x2e4f36['emptyArray'],_0x4972b1['prototype']['suggestionsV2']=_0x2e4f36['emptyArray'],_0x4972b1['create']=function(_0xaa11ce){return new _0x4972b1(_0xaa11ce);},_0x4972b1['encode']=function(_0x44444e,_0x2c6c6a){if(_0x2c6c6a||(_0x2c6c6a=_0x186223['create']()),null!=_0x44444e['channel']&&Object['hasOwnProperty']['call'](_0x44444e,'channel')&&_0x2c6c6a['uint32'](0xa)['string'](_0x44444e['channel']),null!=_0x44444e['suggestions']&&_0x44444e['suggestions']['length']){for(var _0x4cbc23=0x0;_0x4cbc23<_0x44444e['suggestions']['length'];++_0x4cbc23)_0x2c6c6a['uint32'](0x12)['string'](_0x44444e['suggestions'][_0x4cbc23]);}if(null!=_0x44444e['suggestionsV2']&&_0x44444e['suggestionsV2']['length']){for(_0x4cbc23=0x0;_0x4cbc23<_0x44444e['suggestionsV2']['length'];++_0x4cbc23)_0x37f903['SuggestionDescriptor']['encode'](_0x44444e['suggestionsV2'][_0x4cbc23],_0x2c6c6a['uint32'](0x1a)['fork']())['ldelim']();}return _0x2c6c6a;},_0x4972b1['encodeDelimited']=function(_0x788bc6,_0x385320){return this['encode'](_0x788bc6,_0x385320)['ldelim']();},_0x4972b1['decode']=function(_0x5437bf,_0x182b37,_0x89f22e){_0x5437bf instanceof _0x57f37b||(_0x5437bf=_0x57f37b['create'](_0x5437bf));for(var _0x16a2cd=void 0x0===_0x182b37?_0x5437bf['len']:_0x5437bf['pos']+_0x182b37,_0x4779fc=new _0x37f903['TrackChangesConnectResponse']();_0x5437bf['pos']<_0x16a2cd;){var _0x4a6301=_0x5437bf['uint32']();if(_0x4a6301===_0x89f22e)break;switch(_0x4a6301>>>0x3){case 0x1:_0x4779fc['channel']=_0x5437bf['string']();break;case 0x2:_0x4779fc['suggestions']&&_0x4779fc['suggestions']['length']||(_0x4779fc['suggestions']=[]),_0x4779fc['suggestions']['push'](_0x5437bf['string']());break;case 0x3:_0x4779fc['suggestionsV2']&&_0x4779fc['suggestionsV2']['length']||(_0x4779fc['suggestionsV2']=[]),_0x4779fc['suggestionsV2']['push'](_0x37f903['SuggestionDescriptor']['decode'](_0x5437bf,_0x5437bf['uint32']()));break;default:_0x5437bf['skipType'](0x7&_0x4a6301);}}return _0x4779fc;},_0x4972b1['decodeDelimited']=function(_0x361ce6){return _0x361ce6 instanceof _0x57f37b||(_0x361ce6=new _0x57f37b(_0x361ce6)),this['decode'](_0x361ce6,_0x361ce6['uint32']());},_0x4972b1['verify']=function(_0x3688a1){if('object'!=typeof _0x3688a1||null===_0x3688a1)return'object\x20expected';if(null!=_0x3688a1['channel']&&_0x3688a1['hasOwnProperty']('channel')&&!_0x2e4f36['isString'](_0x3688a1['channel']))return'channel:\x20string\x20expected';if(null!=_0x3688a1['suggestions']&&_0x3688a1['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x3688a1['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x56da4c=0x0;_0x56da4c<_0x3688a1['suggestions']['length'];++_0x56da4c)if(!_0x2e4f36['isString'](_0x3688a1['suggestions'][_0x56da4c]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x3688a1['suggestionsV2']&&_0x3688a1['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x3688a1['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x56da4c=0x0;_0x56da4c<_0x3688a1['suggestionsV2']['length'];++_0x56da4c){var _0x465a2e=_0x37f903['SuggestionDescriptor']['verify'](_0x3688a1['suggestionsV2'][_0x56da4c]);if(_0x465a2e)return'suggestionsV2.'+_0x465a2e;}}return null;},_0x4972b1['fromObject']=function(_0x1621a2){if(_0x1621a2 instanceof _0x37f903['TrackChangesConnectResponse'])return _0x1621a2;var _0x90b9c7=new _0x37f903['TrackChangesConnectResponse']();if(null!=_0x1621a2['channel']&&(_0x90b9c7['channel']=String(_0x1621a2['channel'])),_0x1621a2['suggestions']){if(!Array['isArray'](_0x1621a2['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x90b9c7['suggestions']=[];for(var _0x24df2c=0x0;_0x24df2c<_0x1621a2['suggestions']['length'];++_0x24df2c)_0x90b9c7['suggestions'][_0x24df2c]=String(_0x1621a2['suggestions'][_0x24df2c]);}if(_0x1621a2['suggestionsV2']){if(!Array['isArray'](_0x1621a2['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x90b9c7['suggestionsV2']=[],_0x24df2c=0x0;_0x24df2c<_0x1621a2['suggestionsV2']['length'];++_0x24df2c){if('object'!=typeof _0x1621a2['suggestionsV2'][_0x24df2c])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x90b9c7['suggestionsV2'][_0x24df2c]=_0x37f903['SuggestionDescriptor']['fromObject'](_0x1621a2['suggestionsV2'][_0x24df2c]);}}return _0x90b9c7;},_0x4972b1['toObject']=function(_0x576df5,_0x38b691){_0x38b691||(_0x38b691={});var _0x56ea41={};if((_0x38b691['arrays']||_0x38b691['defaults'])&&(_0x56ea41['suggestions']=[],_0x56ea41['suggestionsV2']=[]),_0x38b691['defaults']&&(_0x56ea41['channel']=''),null!=_0x576df5['channel']&&_0x576df5['hasOwnProperty']('channel')&&(_0x56ea41['channel']=_0x576df5['channel']),_0x576df5['suggestions']&&_0x576df5['suggestions']['length']){_0x56ea41['suggestions']=[];for(var _0x5b954e=0x0;_0x5b954e<_0x576df5['suggestions']['length'];++_0x5b954e)_0x56ea41['suggestions'][_0x5b954e]=_0x576df5['suggestions'][_0x5b954e];}if(_0x576df5['suggestionsV2']&&_0x576df5['suggestionsV2']['length']){for(_0x56ea41['suggestionsV2']=[],_0x5b954e=0x0;_0x5b954e<_0x576df5['suggestionsV2']['length'];++_0x5b954e)_0x56ea41['suggestionsV2'][_0x5b954e]=_0x37f903['SuggestionDescriptor']['toObject'](_0x576df5['suggestionsV2'][_0x5b954e],_0x38b691);}return _0x56ea41;},_0x4972b1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4972b1['getTypeUrl']=function(_0xbb8358){return void 0x0===_0xbb8358&&(_0xbb8358='type.googleapis.com'),_0xbb8358+'/TrackChangesConnectResponse';},_0x4972b1;}()),_0x37f903['TrackChangesAddSuggestionResponse']=(function(){function _0x51b2bd(_0x570885){if(_0x570885){for(var _0x273a6c=Object['keys'](_0x570885),_0x12079c=0x0;_0x12079c<_0x273a6c['length'];++_0x12079c)null!=_0x570885[_0x273a6c[_0x12079c]]&&(this[_0x273a6c[_0x12079c]]=_0x570885[_0x273a6c[_0x12079c]]);}}return _0x51b2bd['prototype']['id']='',_0x51b2bd['prototype']['authorId']='',_0x51b2bd['prototype']['type']='',_0x51b2bd['prototype']['createdAt']='',_0x51b2bd['prototype']['data']='',_0x51b2bd['prototype']['hasComments']=!0x1,_0x51b2bd['prototype']['state']='',_0x51b2bd['prototype']['attributes']='',_0x51b2bd['create']=function(_0x12258f){return new _0x51b2bd(_0x12258f);},_0x51b2bd['encode']=function(_0x289d1b,_0x4150d){return _0x4150d||(_0x4150d=_0x186223['create']()),null!=_0x289d1b['id']&&Object['hasOwnProperty']['call'](_0x289d1b,'id')&&_0x4150d['uint32'](0xa)['string'](_0x289d1b['id']),null!=_0x289d1b['authorId']&&Object['hasOwnProperty']['call'](_0x289d1b,'authorId')&&_0x4150d['uint32'](0x12)['string'](_0x289d1b['authorId']),null!=_0x289d1b['type']&&Object['hasOwnProperty']['call'](_0x289d1b,'type')&&_0x4150d['uint32'](0x1a)['string'](_0x289d1b['type']),null!=_0x289d1b['createdAt']&&Object['hasOwnProperty']['call'](_0x289d1b,'createdAt')&&_0x4150d['uint32'](0x22)['string'](_0x289d1b['createdAt']),null!=_0x289d1b['data']&&Object['hasOwnProperty']['call'](_0x289d1b,'data')&&_0x4150d['uint32'](0x2a)['string'](_0x289d1b['data']),null!=_0x289d1b['hasComments']&&Object['hasOwnProperty']['call'](_0x289d1b,'hasComments')&&_0x4150d['uint32'](0x30)['bool'](_0x289d1b['hasComments']),null!=_0x289d1b['state']&&Object['hasOwnProperty']['call'](_0x289d1b,'state')&&_0x4150d['uint32'](0x3a)['string'](_0x289d1b['state']),null!=_0x289d1b['attributes']&&Object['hasOwnProperty']['call'](_0x289d1b,'attributes')&&_0x4150d['uint32'](0x42)['string'](_0x289d1b['attributes']),_0x4150d;},_0x51b2bd['encodeDelimited']=function(_0x4da5fa,_0x482abd){return this['encode'](_0x4da5fa,_0x482abd)['ldelim']();},_0x51b2bd['decode']=function(_0x18dea2,_0x4711dc,_0x457ecc){_0x18dea2 instanceof _0x57f37b||(_0x18dea2=_0x57f37b['create'](_0x18dea2));for(var _0x4a1a58=void 0x0===_0x4711dc?_0x18dea2['len']:_0x18dea2['pos']+_0x4711dc,_0x17eb7f=new _0x37f903['TrackChangesAddSuggestionResponse']();_0x18dea2['pos']<_0x4a1a58;){var _0x3a1ba5=_0x18dea2['uint32']();if(_0x3a1ba5===_0x457ecc)break;switch(_0x3a1ba5>>>0x3){case 0x1:_0x17eb7f['id']=_0x18dea2['string']();break;case 0x2:_0x17eb7f['authorId']=_0x18dea2['string']();break;case 0x3:_0x17eb7f['type']=_0x18dea2['string']();break;case 0x4:_0x17eb7f['createdAt']=_0x18dea2['string']();break;case 0x5:_0x17eb7f['data']=_0x18dea2['string']();break;case 0x6:_0x17eb7f['hasComments']=_0x18dea2['bool']();break;case 0x7:_0x17eb7f['state']=_0x18dea2['string']();break;case 0x8:_0x17eb7f['attributes']=_0x18dea2['string']();break;default:_0x18dea2['skipType'](0x7&_0x3a1ba5);}}return _0x17eb7f;},_0x51b2bd['decodeDelimited']=function(_0x37d505){return _0x37d505 instanceof _0x57f37b||(_0x37d505=new _0x57f37b(_0x37d505)),this['decode'](_0x37d505,_0x37d505['uint32']());},_0x51b2bd['verify']=function(_0x3a3d39){return'object'!=typeof _0x3a3d39||null===_0x3a3d39?'object\x20expected':null!=_0x3a3d39['id']&&_0x3a3d39['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x3a3d39['id'])?'id:\x20string\x20expected':null!=_0x3a3d39['authorId']&&_0x3a3d39['hasOwnProperty']('authorId')&&!_0x2e4f36['isString'](_0x3a3d39['authorId'])?'authorId:\x20string\x20expected':null!=_0x3a3d39['type']&&_0x3a3d39['hasOwnProperty']('type')&&!_0x2e4f36['isString'](_0x3a3d39['type'])?'type:\x20string\x20expected':null!=_0x3a3d39['createdAt']&&_0x3a3d39['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x3a3d39['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3a3d39['data']&&_0x3a3d39['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0x3a3d39['data'])?'data:\x20string\x20expected':null!=_0x3a3d39['hasComments']&&_0x3a3d39['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x3a3d39['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x3a3d39['state']&&_0x3a3d39['hasOwnProperty']('state')&&!_0x2e4f36['isString'](_0x3a3d39['state'])?'state:\x20string\x20expected':null!=_0x3a3d39['attributes']&&_0x3a3d39['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x3a3d39['attributes'])?'attributes:\x20string\x20expected':null;},_0x51b2bd['fromObject']=function(_0x5e6af3){if(_0x5e6af3 instanceof _0x37f903['TrackChangesAddSuggestionResponse'])return _0x5e6af3;var _0x45578c=new _0x37f903['TrackChangesAddSuggestionResponse']();return null!=_0x5e6af3['id']&&(_0x45578c['id']=String(_0x5e6af3['id'])),null!=_0x5e6af3['authorId']&&(_0x45578c['authorId']=String(_0x5e6af3['authorId'])),null!=_0x5e6af3['type']&&(_0x45578c['type']=String(_0x5e6af3['type'])),null!=_0x5e6af3['createdAt']&&(_0x45578c['createdAt']=String(_0x5e6af3['createdAt'])),null!=_0x5e6af3['data']&&(_0x45578c['data']=String(_0x5e6af3['data'])),null!=_0x5e6af3['hasComments']&&(_0x45578c['hasComments']=Boolean(_0x5e6af3['hasComments'])),null!=_0x5e6af3['state']&&(_0x45578c['state']=String(_0x5e6af3['state'])),null!=_0x5e6af3['attributes']&&(_0x45578c['attributes']=String(_0x5e6af3['attributes'])),_0x45578c;},_0x51b2bd['toObject']=function(_0x89bf4b,_0x131abb){_0x131abb||(_0x131abb={});var _0x52b054={};return _0x131abb['defaults']&&(_0x52b054['id']='',_0x52b054['authorId']='',_0x52b054['type']='',_0x52b054['createdAt']='',_0x52b054['data']='',_0x52b054['hasComments']=!0x1,_0x52b054['state']='',_0x52b054['attributes']=''),null!=_0x89bf4b['id']&&_0x89bf4b['hasOwnProperty']('id')&&(_0x52b054['id']=_0x89bf4b['id']),null!=_0x89bf4b['authorId']&&_0x89bf4b['hasOwnProperty']('authorId')&&(_0x52b054['authorId']=_0x89bf4b['authorId']),null!=_0x89bf4b['type']&&_0x89bf4b['hasOwnProperty']('type')&&(_0x52b054['type']=_0x89bf4b['type']),null!=_0x89bf4b['createdAt']&&_0x89bf4b['hasOwnProperty']('createdAt')&&(_0x52b054['createdAt']=_0x89bf4b['createdAt']),null!=_0x89bf4b['data']&&_0x89bf4b['hasOwnProperty']('data')&&(_0x52b054['data']=_0x89bf4b['data']),null!=_0x89bf4b['hasComments']&&_0x89bf4b['hasOwnProperty']('hasComments')&&(_0x52b054['hasComments']=_0x89bf4b['hasComments']),null!=_0x89bf4b['state']&&_0x89bf4b['hasOwnProperty']('state')&&(_0x52b054['state']=_0x89bf4b['state']),null!=_0x89bf4b['attributes']&&_0x89bf4b['hasOwnProperty']('attributes')&&(_0x52b054['attributes']=_0x89bf4b['attributes']),_0x52b054;},_0x51b2bd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x51b2bd['getTypeUrl']=function(_0x18383b){return void 0x0===_0x18383b&&(_0x18383b='type.googleapis.com'),_0x18383b+'/TrackChangesAddSuggestionResponse';},_0x51b2bd;}()),_0x37f903['TrackChangesUpdateSuggestionMessage']=(function(){function _0x1031bc(_0x40c14a){if(_0x40c14a){for(var _0x1f576c=Object['keys'](_0x40c14a),_0x54f1bb=0x0;_0x54f1bb<_0x1f576c['length'];++_0x54f1bb)null!=_0x40c14a[_0x1f576c[_0x54f1bb]]&&(this[_0x1f576c[_0x54f1bb]]=_0x40c14a[_0x1f576c[_0x54f1bb]]);}}return _0x1031bc['prototype']['id']='',_0x1031bc['prototype']['documentId']='',_0x1031bc['prototype']['hasComments']=!0x1,_0x1031bc['prototype']['isHasCommentsModified']=!0x1,_0x1031bc['prototype']['state']='',_0x1031bc['prototype']['attributes']='',_0x1031bc['create']=function(_0x1946a7){return new _0x1031bc(_0x1946a7);},_0x1031bc['encode']=function(_0x38eeb3,_0x12279f){return _0x12279f||(_0x12279f=_0x186223['create']()),null!=_0x38eeb3['id']&&Object['hasOwnProperty']['call'](_0x38eeb3,'id')&&_0x12279f['uint32'](0xa)['string'](_0x38eeb3['id']),null!=_0x38eeb3['documentId']&&Object['hasOwnProperty']['call'](_0x38eeb3,'documentId')&&_0x12279f['uint32'](0x12)['string'](_0x38eeb3['documentId']),null!=_0x38eeb3['hasComments']&&Object['hasOwnProperty']['call'](_0x38eeb3,'hasComments')&&_0x12279f['uint32'](0x18)['bool'](_0x38eeb3['hasComments']),null!=_0x38eeb3['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x38eeb3,'isHasCommentsModified')&&_0x12279f['uint32'](0x20)['bool'](_0x38eeb3['isHasCommentsModified']),null!=_0x38eeb3['state']&&Object['hasOwnProperty']['call'](_0x38eeb3,'state')&&_0x12279f['uint32'](0x2a)['string'](_0x38eeb3['state']),null!=_0x38eeb3['attributes']&&Object['hasOwnProperty']['call'](_0x38eeb3,'attributes')&&_0x12279f['uint32'](0x32)['string'](_0x38eeb3['attributes']),_0x12279f;},_0x1031bc['encodeDelimited']=function(_0x569771,_0x7e3a1d){return this['encode'](_0x569771,_0x7e3a1d)['ldelim']();},_0x1031bc['decode']=function(_0x35d530,_0x5ef73b,_0x14c4be){_0x35d530 instanceof _0x57f37b||(_0x35d530=_0x57f37b['create'](_0x35d530));for(var _0x50f295=void 0x0===_0x5ef73b?_0x35d530['len']:_0x35d530['pos']+_0x5ef73b,_0x152513=new _0x37f903['TrackChangesUpdateSuggestionMessage']();_0x35d530['pos']<_0x50f295;){var _0x26ad21=_0x35d530['uint32']();if(_0x26ad21===_0x14c4be)break;switch(_0x26ad21>>>0x3){case 0x1:_0x152513['id']=_0x35d530['string']();break;case 0x2:_0x152513['documentId']=_0x35d530['string']();break;case 0x3:_0x152513['hasComments']=_0x35d530['bool']();break;case 0x4:_0x152513['isHasCommentsModified']=_0x35d530['bool']();break;case 0x5:_0x152513['state']=_0x35d530['string']();break;case 0x6:_0x152513['attributes']=_0x35d530['string']();break;default:_0x35d530['skipType'](0x7&_0x26ad21);}}return _0x152513;},_0x1031bc['decodeDelimited']=function(_0x211a21){return _0x211a21 instanceof _0x57f37b||(_0x211a21=new _0x57f37b(_0x211a21)),this['decode'](_0x211a21,_0x211a21['uint32']());},_0x1031bc['verify']=function(_0x4f779f){return'object'!=typeof _0x4f779f||null===_0x4f779f?'object\x20expected':null!=_0x4f779f['id']&&_0x4f779f['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x4f779f['id'])?'id:\x20string\x20expected':null!=_0x4f779f['documentId']&&_0x4f779f['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x4f779f['documentId'])?'documentId:\x20string\x20expected':null!=_0x4f779f['hasComments']&&_0x4f779f['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x4f779f['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x4f779f['isHasCommentsModified']&&_0x4f779f['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x4f779f['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x4f779f['state']&&_0x4f779f['hasOwnProperty']('state')&&!_0x2e4f36['isString'](_0x4f779f['state'])?'state:\x20string\x20expected':null!=_0x4f779f['attributes']&&_0x4f779f['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x4f779f['attributes'])?'attributes:\x20string\x20expected':null;},_0x1031bc['fromObject']=function(_0x1e0a14){if(_0x1e0a14 instanceof _0x37f903['TrackChangesUpdateSuggestionMessage'])return _0x1e0a14;var _0x18d650=new _0x37f903['TrackChangesUpdateSuggestionMessage']();return null!=_0x1e0a14['id']&&(_0x18d650['id']=String(_0x1e0a14['id'])),null!=_0x1e0a14['documentId']&&(_0x18d650['documentId']=String(_0x1e0a14['documentId'])),null!=_0x1e0a14['hasComments']&&(_0x18d650['hasComments']=Boolean(_0x1e0a14['hasComments'])),null!=_0x1e0a14['isHasCommentsModified']&&(_0x18d650['isHasCommentsModified']=Boolean(_0x1e0a14['isHasCommentsModified'])),null!=_0x1e0a14['state']&&(_0x18d650['state']=String(_0x1e0a14['state'])),null!=_0x1e0a14['attributes']&&(_0x18d650['attributes']=String(_0x1e0a14['attributes'])),_0x18d650;},_0x1031bc['toObject']=function(_0xa6e8ea,_0x22c5d1){_0x22c5d1||(_0x22c5d1={});var _0x1bd548={};return _0x22c5d1['defaults']&&(_0x1bd548['id']='',_0x1bd548['documentId']='',_0x1bd548['hasComments']=!0x1,_0x1bd548['isHasCommentsModified']=!0x1,_0x1bd548['state']='',_0x1bd548['attributes']=''),null!=_0xa6e8ea['id']&&_0xa6e8ea['hasOwnProperty']('id')&&(_0x1bd548['id']=_0xa6e8ea['id']),null!=_0xa6e8ea['documentId']&&_0xa6e8ea['hasOwnProperty']('documentId')&&(_0x1bd548['documentId']=_0xa6e8ea['documentId']),null!=_0xa6e8ea['hasComments']&&_0xa6e8ea['hasOwnProperty']('hasComments')&&(_0x1bd548['hasComments']=_0xa6e8ea['hasComments']),null!=_0xa6e8ea['isHasCommentsModified']&&_0xa6e8ea['hasOwnProperty']('isHasCommentsModified')&&(_0x1bd548['isHasCommentsModified']=_0xa6e8ea['isHasCommentsModified']),null!=_0xa6e8ea['state']&&_0xa6e8ea['hasOwnProperty']('state')&&(_0x1bd548['state']=_0xa6e8ea['state']),null!=_0xa6e8ea['attributes']&&_0xa6e8ea['hasOwnProperty']('attributes')&&(_0x1bd548['attributes']=_0xa6e8ea['attributes']),_0x1bd548;},_0x1031bc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1031bc['getTypeUrl']=function(_0xd39f73){return void 0x0===_0xd39f73&&(_0xd39f73='type.googleapis.com'),_0xd39f73+'/TrackChangesUpdateSuggestionMessage';},_0x1031bc;}()),_0x37f903['TrackChangesGetSuggestionMessage']=(function(){function _0x2c4bb0(_0x5e352c){if(_0x5e352c){for(var _0x256642=Object['keys'](_0x5e352c),_0x24ac6a=0x0;_0x24ac6a<_0x256642['length'];++_0x24ac6a)null!=_0x5e352c[_0x256642[_0x24ac6a]]&&(this[_0x256642[_0x24ac6a]]=_0x5e352c[_0x256642[_0x24ac6a]]);}}return _0x2c4bb0['prototype']['id']='',_0x2c4bb0['prototype']['documentId']='',_0x2c4bb0['create']=function(_0x4a80ff){return new _0x2c4bb0(_0x4a80ff);},_0x2c4bb0['encode']=function(_0x19073b,_0x4ea983){return _0x4ea983||(_0x4ea983=_0x186223['create']()),null!=_0x19073b['id']&&Object['hasOwnProperty']['call'](_0x19073b,'id')&&_0x4ea983['uint32'](0xa)['string'](_0x19073b['id']),null!=_0x19073b['documentId']&&Object['hasOwnProperty']['call'](_0x19073b,'documentId')&&_0x4ea983['uint32'](0x12)['string'](_0x19073b['documentId']),_0x4ea983;},_0x2c4bb0['encodeDelimited']=function(_0x3b2e2b,_0x1c47b5){return this['encode'](_0x3b2e2b,_0x1c47b5)['ldelim']();},_0x2c4bb0['decode']=function(_0x496f4a,_0x8393c5,_0x140858){_0x496f4a instanceof _0x57f37b||(_0x496f4a=_0x57f37b['create'](_0x496f4a));for(var _0x4e239d=void 0x0===_0x8393c5?_0x496f4a['len']:_0x496f4a['pos']+_0x8393c5,_0x34dd71=new _0x37f903['TrackChangesGetSuggestionMessage']();_0x496f4a['pos']<_0x4e239d;){var _0x215839=_0x496f4a['uint32']();if(_0x215839===_0x140858)break;switch(_0x215839>>>0x3){case 0x1:_0x34dd71['id']=_0x496f4a['string']();break;case 0x2:_0x34dd71['documentId']=_0x496f4a['string']();break;default:_0x496f4a['skipType'](0x7&_0x215839);}}return _0x34dd71;},_0x2c4bb0['decodeDelimited']=function(_0x5de7a8){return _0x5de7a8 instanceof _0x57f37b||(_0x5de7a8=new _0x57f37b(_0x5de7a8)),this['decode'](_0x5de7a8,_0x5de7a8['uint32']());},_0x2c4bb0['verify']=function(_0x2d6561){return'object'!=typeof _0x2d6561||null===_0x2d6561?'object\x20expected':null!=_0x2d6561['id']&&_0x2d6561['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x2d6561['id'])?'id:\x20string\x20expected':null!=_0x2d6561['documentId']&&_0x2d6561['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x2d6561['documentId'])?'documentId:\x20string\x20expected':null;},_0x2c4bb0['fromObject']=function(_0xab90f){if(_0xab90f instanceof _0x37f903['TrackChangesGetSuggestionMessage'])return _0xab90f;var _0x37959f=new _0x37f903['TrackChangesGetSuggestionMessage']();return null!=_0xab90f['id']&&(_0x37959f['id']=String(_0xab90f['id'])),null!=_0xab90f['documentId']&&(_0x37959f['documentId']=String(_0xab90f['documentId'])),_0x37959f;},_0x2c4bb0['toObject']=function(_0x143e34,_0x392348){_0x392348||(_0x392348={});var _0x24593f={};return _0x392348['defaults']&&(_0x24593f['id']='',_0x24593f['documentId']=''),null!=_0x143e34['id']&&_0x143e34['hasOwnProperty']('id')&&(_0x24593f['id']=_0x143e34['id']),null!=_0x143e34['documentId']&&_0x143e34['hasOwnProperty']('documentId')&&(_0x24593f['documentId']=_0x143e34['documentId']),_0x24593f;},_0x2c4bb0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2c4bb0['getTypeUrl']=function(_0x46a1fd){return void 0x0===_0x46a1fd&&(_0x46a1fd='type.googleapis.com'),_0x46a1fd+'/TrackChangesGetSuggestionMessage';},_0x2c4bb0;}()),_0x37f903['TrackChangesGetAllSuggestionMessage']=(function(){function _0x4fb5da(_0x3f4753){if(_0x3f4753){for(var _0x4cb14b=Object['keys'](_0x3f4753),_0x348b26=0x0;_0x348b26<_0x4cb14b['length'];++_0x348b26)null!=_0x3f4753[_0x4cb14b[_0x348b26]]&&(this[_0x4cb14b[_0x348b26]]=_0x3f4753[_0x4cb14b[_0x348b26]]);}}return _0x4fb5da['prototype']['documentId']='',_0x4fb5da['create']=function(_0x139e90){return new _0x4fb5da(_0x139e90);},_0x4fb5da['encode']=function(_0x58aa2c,_0x4a6b5b){return _0x4a6b5b||(_0x4a6b5b=_0x186223['create']()),null!=_0x58aa2c['documentId']&&Object['hasOwnProperty']['call'](_0x58aa2c,'documentId')&&_0x4a6b5b['uint32'](0xa)['string'](_0x58aa2c['documentId']),_0x4a6b5b;},_0x4fb5da['encodeDelimited']=function(_0x179ed5,_0x327ee3){return this['encode'](_0x179ed5,_0x327ee3)['ldelim']();},_0x4fb5da['decode']=function(_0x3a811c,_0x1b55b7,_0xf94935){_0x3a811c instanceof _0x57f37b||(_0x3a811c=_0x57f37b['create'](_0x3a811c));for(var _0x3ba096=void 0x0===_0x1b55b7?_0x3a811c['len']:_0x3a811c['pos']+_0x1b55b7,_0x32edea=new _0x37f903['TrackChangesGetAllSuggestionMessage']();_0x3a811c['pos']<_0x3ba096;){var _0x3d30a2=_0x3a811c['uint32']();if(_0x3d30a2===_0xf94935)break;_0x3d30a2>>>0x3==0x1?_0x32edea['documentId']=_0x3a811c['string']():_0x3a811c['skipType'](0x7&_0x3d30a2);}return _0x32edea;},_0x4fb5da['decodeDelimited']=function(_0x4038b8){return _0x4038b8 instanceof _0x57f37b||(_0x4038b8=new _0x57f37b(_0x4038b8)),this['decode'](_0x4038b8,_0x4038b8['uint32']());},_0x4fb5da['verify']=function(_0x48dbdf){return'object'!=typeof _0x48dbdf||null===_0x48dbdf?'object\x20expected':null!=_0x48dbdf['documentId']&&_0x48dbdf['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x48dbdf['documentId'])?'documentId:\x20string\x20expected':null;},_0x4fb5da['fromObject']=function(_0x5db80f){if(_0x5db80f instanceof _0x37f903['TrackChangesGetAllSuggestionMessage'])return _0x5db80f;var _0x7aed89=new _0x37f903['TrackChangesGetAllSuggestionMessage']();return null!=_0x5db80f['documentId']&&(_0x7aed89['documentId']=String(_0x5db80f['documentId'])),_0x7aed89;},_0x4fb5da['toObject']=function(_0x519fc0,_0x4220de){_0x4220de||(_0x4220de={});var _0x359b73={};return _0x4220de['defaults']&&(_0x359b73['documentId']=''),null!=_0x519fc0['documentId']&&_0x519fc0['hasOwnProperty']('documentId')&&(_0x359b73['documentId']=_0x519fc0['documentId']),_0x359b73;},_0x4fb5da['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4fb5da['getTypeUrl']=function(_0x74c97f){return void 0x0===_0x74c97f&&(_0x74c97f='type.googleapis.com'),_0x74c97f+'/TrackChangesGetAllSuggestionMessage';},_0x4fb5da;}()),_0x37f903['TrackChangesConnectMessage']=(function(){function _0x142dbd(_0x3a34c8){if(_0x3a34c8){for(var _0x360291=Object['keys'](_0x3a34c8),_0x344aeb=0x0;_0x344aeb<_0x360291['length'];++_0x344aeb)null!=_0x3a34c8[_0x360291[_0x344aeb]]&&(this[_0x360291[_0x344aeb]]=_0x3a34c8[_0x360291[_0x344aeb]]);}}return _0x142dbd['prototype']['documentId']='',_0x142dbd['create']=function(_0x52547b){return new _0x142dbd(_0x52547b);},_0x142dbd['encode']=function(_0x258c96,_0x60ae76){return _0x60ae76||(_0x60ae76=_0x186223['create']()),null!=_0x258c96['documentId']&&Object['hasOwnProperty']['call'](_0x258c96,'documentId')&&_0x60ae76['uint32'](0xa)['string'](_0x258c96['documentId']),_0x60ae76;},_0x142dbd['encodeDelimited']=function(_0x397a5d,_0x481b7b){return this['encode'](_0x397a5d,_0x481b7b)['ldelim']();},_0x142dbd['decode']=function(_0x14c622,_0x3ad190,_0x2401be){_0x14c622 instanceof _0x57f37b||(_0x14c622=_0x57f37b['create'](_0x14c622));for(var _0x1c298b=void 0x0===_0x3ad190?_0x14c622['len']:_0x14c622['pos']+_0x3ad190,_0x2ae672=new _0x37f903['TrackChangesConnectMessage']();_0x14c622['pos']<_0x1c298b;){var _0x5abeeb=_0x14c622['uint32']();if(_0x5abeeb===_0x2401be)break;_0x5abeeb>>>0x3==0x1?_0x2ae672['documentId']=_0x14c622['string']():_0x14c622['skipType'](0x7&_0x5abeeb);}return _0x2ae672;},_0x142dbd['decodeDelimited']=function(_0x429775){return _0x429775 instanceof _0x57f37b||(_0x429775=new _0x57f37b(_0x429775)),this['decode'](_0x429775,_0x429775['uint32']());},_0x142dbd['verify']=function(_0x52c0af){return'object'!=typeof _0x52c0af||null===_0x52c0af?'object\x20expected':null!=_0x52c0af['documentId']&&_0x52c0af['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x52c0af['documentId'])?'documentId:\x20string\x20expected':null;},_0x142dbd['fromObject']=function(_0x1b3a62){if(_0x1b3a62 instanceof _0x37f903['TrackChangesConnectMessage'])return _0x1b3a62;var _0x214550=new _0x37f903['TrackChangesConnectMessage']();return null!=_0x1b3a62['documentId']&&(_0x214550['documentId']=String(_0x1b3a62['documentId'])),_0x214550;},_0x142dbd['toObject']=function(_0x18e358,_0x3755d7){_0x3755d7||(_0x3755d7={});var _0x5b0279={};return _0x3755d7['defaults']&&(_0x5b0279['documentId']=''),null!=_0x18e358['documentId']&&_0x18e358['hasOwnProperty']('documentId')&&(_0x5b0279['documentId']=_0x18e358['documentId']),_0x5b0279;},_0x142dbd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x142dbd['getTypeUrl']=function(_0x189580){return void 0x0===_0x189580&&(_0x189580='type.googleapis.com'),_0x189580+'/TrackChangesConnectMessage';},_0x142dbd;}()),_0x37f903['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x2346be(_0x5d551){if(this['ids']=[],_0x5d551){for(var _0x51848f=Object['keys'](_0x5d551),_0x3060dd=0x0;_0x3060dd<_0x51848f['length'];++_0x3060dd)null!=_0x5d551[_0x51848f[_0x3060dd]]&&(this[_0x51848f[_0x3060dd]]=_0x5d551[_0x51848f[_0x3060dd]]);}}return _0x2346be['prototype']['ids']=_0x2e4f36['emptyArray'],_0x2346be['prototype']['documentId']='',_0x2346be['prototype']['state']='',_0x2346be['create']=function(_0x2becf9){return new _0x2346be(_0x2becf9);},_0x2346be['encode']=function(_0x1c1acf,_0x5b3f08){if(_0x5b3f08||(_0x5b3f08=_0x186223['create']()),null!=_0x1c1acf['ids']&&_0x1c1acf['ids']['length']){for(var _0x2d88f4=0x0;_0x2d88f4<_0x1c1acf['ids']['length'];++_0x2d88f4)_0x5b3f08['uint32'](0xa)['string'](_0x1c1acf['ids'][_0x2d88f4]);}return null!=_0x1c1acf['documentId']&&Object['hasOwnProperty']['call'](_0x1c1acf,'documentId')&&_0x5b3f08['uint32'](0x12)['string'](_0x1c1acf['documentId']),null!=_0x1c1acf['state']&&Object['hasOwnProperty']['call'](_0x1c1acf,'state')&&_0x5b3f08['uint32'](0x1a)['string'](_0x1c1acf['state']),_0x5b3f08;},_0x2346be['encodeDelimited']=function(_0x5d4d69,_0x28488c){return this['encode'](_0x5d4d69,_0x28488c)['ldelim']();},_0x2346be['decode']=function(_0x37aad8,_0x3f697f,_0x25dec1){_0x37aad8 instanceof _0x57f37b||(_0x37aad8=_0x57f37b['create'](_0x37aad8));for(var _0x227cb=void 0x0===_0x3f697f?_0x37aad8['len']:_0x37aad8['pos']+_0x3f697f,_0x50a6ba=new _0x37f903['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x37aad8['pos']<_0x227cb;){var _0x19c5d0=_0x37aad8['uint32']();if(_0x19c5d0===_0x25dec1)break;switch(_0x19c5d0>>>0x3){case 0x1:_0x50a6ba['ids']&&_0x50a6ba['ids']['length']||(_0x50a6ba['ids']=[]),_0x50a6ba['ids']['push'](_0x37aad8['string']());break;case 0x2:_0x50a6ba['documentId']=_0x37aad8['string']();break;case 0x3:_0x50a6ba['state']=_0x37aad8['string']();break;default:_0x37aad8['skipType'](0x7&_0x19c5d0);}}return _0x50a6ba;},_0x2346be['decodeDelimited']=function(_0xb2bc52){return _0xb2bc52 instanceof _0x57f37b||(_0xb2bc52=new _0x57f37b(_0xb2bc52)),this['decode'](_0xb2bc52,_0xb2bc52['uint32']());},_0x2346be['verify']=function(_0x1f05bd){if('object'!=typeof _0x1f05bd||null===_0x1f05bd)return'object\x20expected';if(null!=_0x1f05bd['ids']&&_0x1f05bd['hasOwnProperty']('ids')){if(!Array['isArray'](_0x1f05bd['ids']))return'ids:\x20array\x20expected';for(var _0x34557c=0x0;_0x34557c<_0x1f05bd['ids']['length'];++_0x34557c)if(!_0x2e4f36['isString'](_0x1f05bd['ids'][_0x34557c]))return'ids:\x20string[]\x20expected';}return null!=_0x1f05bd['documentId']&&_0x1f05bd['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x1f05bd['documentId'])?'documentId:\x20string\x20expected':null!=_0x1f05bd['state']&&_0x1f05bd['hasOwnProperty']('state')&&!_0x2e4f36['isString'](_0x1f05bd['state'])?'state:\x20string\x20expected':null;},_0x2346be['fromObject']=function(_0x3a7227){if(_0x3a7227 instanceof _0x37f903['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x3a7227;var _0x1051a8=new _0x37f903['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x3a7227['ids']){if(!Array['isArray'](_0x3a7227['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x1051a8['ids']=[];for(var _0x2b06ec=0x0;_0x2b06ec<_0x3a7227['ids']['length'];++_0x2b06ec)_0x1051a8['ids'][_0x2b06ec]=String(_0x3a7227['ids'][_0x2b06ec]);}return null!=_0x3a7227['documentId']&&(_0x1051a8['documentId']=String(_0x3a7227['documentId'])),null!=_0x3a7227['state']&&(_0x1051a8['state']=String(_0x3a7227['state'])),_0x1051a8;},_0x2346be['toObject']=function(_0x16afbf,_0x40c96b){_0x40c96b||(_0x40c96b={});var _0x7c97ae={};if((_0x40c96b['arrays']||_0x40c96b['defaults'])&&(_0x7c97ae['ids']=[]),_0x40c96b['defaults']&&(_0x7c97ae['documentId']='',_0x7c97ae['state']=''),_0x16afbf['ids']&&_0x16afbf['ids']['length']){_0x7c97ae['ids']=[];for(var _0x1ce93d=0x0;_0x1ce93d<_0x16afbf['ids']['length'];++_0x1ce93d)_0x7c97ae['ids'][_0x1ce93d]=_0x16afbf['ids'][_0x1ce93d];}return null!=_0x16afbf['documentId']&&_0x16afbf['hasOwnProperty']('documentId')&&(_0x7c97ae['documentId']=_0x16afbf['documentId']),null!=_0x16afbf['state']&&_0x16afbf['hasOwnProperty']('state')&&(_0x7c97ae['state']=_0x16afbf['state']),_0x7c97ae;},_0x2346be['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2346be['getTypeUrl']=function(_0x1a0658){return void 0x0===_0x1a0658&&(_0x1a0658='type.googleapis.com'),_0x1a0658+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x2346be;}()),_0x37f903['TrackChangesAddSuggestionMessage']=(function(){function _0x494964(_0x3e1404){if(_0x3e1404){for(var _0x56a379=Object['keys'](_0x3e1404),_0x1082ce=0x0;_0x1082ce<_0x56a379['length'];++_0x1082ce)null!=_0x3e1404[_0x56a379[_0x1082ce]]&&(this[_0x56a379[_0x1082ce]]=_0x3e1404[_0x56a379[_0x1082ce]]);}}return _0x494964['prototype']['id']='',_0x494964['prototype']['documentId']='',_0x494964['prototype']['type']='',_0x494964['prototype']['data']='',_0x494964['prototype']['originalSuggestionId']='',_0x494964['prototype']['attributes']='',_0x494964['create']=function(_0x56809e){return new _0x494964(_0x56809e);},_0x494964['encode']=function(_0x51b229,_0x294eb1){return _0x294eb1||(_0x294eb1=_0x186223['create']()),null!=_0x51b229['id']&&Object['hasOwnProperty']['call'](_0x51b229,'id')&&_0x294eb1['uint32'](0xa)['string'](_0x51b229['id']),null!=_0x51b229['documentId']&&Object['hasOwnProperty']['call'](_0x51b229,'documentId')&&_0x294eb1['uint32'](0x12)['string'](_0x51b229['documentId']),null!=_0x51b229['type']&&Object['hasOwnProperty']['call'](_0x51b229,'type')&&_0x294eb1['uint32'](0x1a)['string'](_0x51b229['type']),null!=_0x51b229['data']&&Object['hasOwnProperty']['call'](_0x51b229,'data')&&_0x294eb1['uint32'](0x22)['string'](_0x51b229['data']),null!=_0x51b229['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x51b229,'originalSuggestionId')&&_0x294eb1['uint32'](0x2a)['string'](_0x51b229['originalSuggestionId']),null!=_0x51b229['attributes']&&Object['hasOwnProperty']['call'](_0x51b229,'attributes')&&_0x294eb1['uint32'](0x32)['string'](_0x51b229['attributes']),_0x294eb1;},_0x494964['encodeDelimited']=function(_0x1c4567,_0x282bd2){return this['encode'](_0x1c4567,_0x282bd2)['ldelim']();},_0x494964['decode']=function(_0x19affd,_0x4237cd,_0x57b750){_0x19affd instanceof _0x57f37b||(_0x19affd=_0x57f37b['create'](_0x19affd));for(var _0x16c549=void 0x0===_0x4237cd?_0x19affd['len']:_0x19affd['pos']+_0x4237cd,_0x18acf9=new _0x37f903['TrackChangesAddSuggestionMessage']();_0x19affd['pos']<_0x16c549;){var _0x2ea3d5=_0x19affd['uint32']();if(_0x2ea3d5===_0x57b750)break;switch(_0x2ea3d5>>>0x3){case 0x1:_0x18acf9['id']=_0x19affd['string']();break;case 0x2:_0x18acf9['documentId']=_0x19affd['string']();break;case 0x3:_0x18acf9['type']=_0x19affd['string']();break;case 0x4:_0x18acf9['data']=_0x19affd['string']();break;case 0x5:_0x18acf9['originalSuggestionId']=_0x19affd['string']();break;case 0x6:_0x18acf9['attributes']=_0x19affd['string']();break;default:_0x19affd['skipType'](0x7&_0x2ea3d5);}}return _0x18acf9;},_0x494964['decodeDelimited']=function(_0x57edf0){return _0x57edf0 instanceof _0x57f37b||(_0x57edf0=new _0x57f37b(_0x57edf0)),this['decode'](_0x57edf0,_0x57edf0['uint32']());},_0x494964['verify']=function(_0x5e4777){return'object'!=typeof _0x5e4777||null===_0x5e4777?'object\x20expected':null!=_0x5e4777['id']&&_0x5e4777['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x5e4777['id'])?'id:\x20string\x20expected':null!=_0x5e4777['documentId']&&_0x5e4777['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x5e4777['documentId'])?'documentId:\x20string\x20expected':null!=_0x5e4777['type']&&_0x5e4777['hasOwnProperty']('type')&&!_0x2e4f36['isString'](_0x5e4777['type'])?'type:\x20string\x20expected':null!=_0x5e4777['data']&&_0x5e4777['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0x5e4777['data'])?'data:\x20string\x20expected':null!=_0x5e4777['originalSuggestionId']&&_0x5e4777['hasOwnProperty']('originalSuggestionId')&&!_0x2e4f36['isString'](_0x5e4777['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x5e4777['attributes']&&_0x5e4777['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x5e4777['attributes'])?'attributes:\x20string\x20expected':null;},_0x494964['fromObject']=function(_0x2e6d80){if(_0x2e6d80 instanceof _0x37f903['TrackChangesAddSuggestionMessage'])return _0x2e6d80;var _0x28a151=new _0x37f903['TrackChangesAddSuggestionMessage']();return null!=_0x2e6d80['id']&&(_0x28a151['id']=String(_0x2e6d80['id'])),null!=_0x2e6d80['documentId']&&(_0x28a151['documentId']=String(_0x2e6d80['documentId'])),null!=_0x2e6d80['type']&&(_0x28a151['type']=String(_0x2e6d80['type'])),null!=_0x2e6d80['data']&&(_0x28a151['data']=String(_0x2e6d80['data'])),null!=_0x2e6d80['originalSuggestionId']&&(_0x28a151['originalSuggestionId']=String(_0x2e6d80['originalSuggestionId'])),null!=_0x2e6d80['attributes']&&(_0x28a151['attributes']=String(_0x2e6d80['attributes'])),_0x28a151;},_0x494964['toObject']=function(_0x21c5d5,_0x4c07d8){_0x4c07d8||(_0x4c07d8={});var _0x4e1154={};return _0x4c07d8['defaults']&&(_0x4e1154['id']='',_0x4e1154['documentId']='',_0x4e1154['type']='',_0x4e1154['data']='',_0x4e1154['originalSuggestionId']='',_0x4e1154['attributes']=''),null!=_0x21c5d5['id']&&_0x21c5d5['hasOwnProperty']('id')&&(_0x4e1154['id']=_0x21c5d5['id']),null!=_0x21c5d5['documentId']&&_0x21c5d5['hasOwnProperty']('documentId')&&(_0x4e1154['documentId']=_0x21c5d5['documentId']),null!=_0x21c5d5['type']&&_0x21c5d5['hasOwnProperty']('type')&&(_0x4e1154['type']=_0x21c5d5['type']),null!=_0x21c5d5['data']&&_0x21c5d5['hasOwnProperty']('data')&&(_0x4e1154['data']=_0x21c5d5['data']),null!=_0x21c5d5['originalSuggestionId']&&_0x21c5d5['hasOwnProperty']('originalSuggestionId')&&(_0x4e1154['originalSuggestionId']=_0x21c5d5['originalSuggestionId']),null!=_0x21c5d5['attributes']&&_0x21c5d5['hasOwnProperty']('attributes')&&(_0x4e1154['attributes']=_0x21c5d5['attributes']),_0x4e1154;},_0x494964['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x494964['getTypeUrl']=function(_0x123428){return void 0x0===_0x123428&&(_0x123428='type.googleapis.com'),_0x123428+'/TrackChangesAddSuggestionMessage';},_0x494964;}()),_0x37f903['SuggestionDescriptor']=(function(){function _0x331dc7(_0x4a78e4){if(_0x4a78e4){for(var _0x222776=Object['keys'](_0x4a78e4),_0x389a5b=0x0;_0x389a5b<_0x222776['length'];++_0x389a5b)null!=_0x4a78e4[_0x222776[_0x389a5b]]&&(this[_0x222776[_0x389a5b]]=_0x4a78e4[_0x222776[_0x389a5b]]);}}return _0x331dc7['prototype']['id']='',_0x331dc7['prototype']['authorId']='',_0x331dc7['prototype']['type']='',_0x331dc7['prototype']['createdAt']='',_0x331dc7['prototype']['data']='',_0x331dc7['prototype']['hasComments']=!0x1,_0x331dc7['prototype']['state']='',_0x331dc7['prototype']['attributes']='',_0x331dc7['create']=function(_0x2e6db4){return new _0x331dc7(_0x2e6db4);},_0x331dc7['encode']=function(_0x10c3ac,_0x3b2bdd){return _0x3b2bdd||(_0x3b2bdd=_0x186223['create']()),null!=_0x10c3ac['id']&&Object['hasOwnProperty']['call'](_0x10c3ac,'id')&&_0x3b2bdd['uint32'](0xa)['string'](_0x10c3ac['id']),null!=_0x10c3ac['authorId']&&Object['hasOwnProperty']['call'](_0x10c3ac,'authorId')&&_0x3b2bdd['uint32'](0x12)['string'](_0x10c3ac['authorId']),null!=_0x10c3ac['type']&&Object['hasOwnProperty']['call'](_0x10c3ac,'type')&&_0x3b2bdd['uint32'](0x1a)['string'](_0x10c3ac['type']),null!=_0x10c3ac['createdAt']&&Object['hasOwnProperty']['call'](_0x10c3ac,'createdAt')&&_0x3b2bdd['uint32'](0x22)['string'](_0x10c3ac['createdAt']),null!=_0x10c3ac['data']&&Object['hasOwnProperty']['call'](_0x10c3ac,'data')&&_0x3b2bdd['uint32'](0x2a)['string'](_0x10c3ac['data']),null!=_0x10c3ac['hasComments']&&Object['hasOwnProperty']['call'](_0x10c3ac,'hasComments')&&_0x3b2bdd['uint32'](0x30)['bool'](_0x10c3ac['hasComments']),null!=_0x10c3ac['state']&&Object['hasOwnProperty']['call'](_0x10c3ac,'state')&&_0x3b2bdd['uint32'](0x3a)['string'](_0x10c3ac['state']),null!=_0x10c3ac['attributes']&&Object['hasOwnProperty']['call'](_0x10c3ac,'attributes')&&_0x3b2bdd['uint32'](0x42)['string'](_0x10c3ac['attributes']),_0x3b2bdd;},_0x331dc7['encodeDelimited']=function(_0x205cfa,_0x29cb6d){return this['encode'](_0x205cfa,_0x29cb6d)['ldelim']();},_0x331dc7['decode']=function(_0x447ead,_0xc2465a,_0x204181){_0x447ead instanceof _0x57f37b||(_0x447ead=_0x57f37b['create'](_0x447ead));for(var _0x262cd0=void 0x0===_0xc2465a?_0x447ead['len']:_0x447ead['pos']+_0xc2465a,_0x1b51b8=new _0x37f903['SuggestionDescriptor']();_0x447ead['pos']<_0x262cd0;){var _0x330ee1=_0x447ead['uint32']();if(_0x330ee1===_0x204181)break;switch(_0x330ee1>>>0x3){case 0x1:_0x1b51b8['id']=_0x447ead['string']();break;case 0x2:_0x1b51b8['authorId']=_0x447ead['string']();break;case 0x3:_0x1b51b8['type']=_0x447ead['string']();break;case 0x4:_0x1b51b8['createdAt']=_0x447ead['string']();break;case 0x5:_0x1b51b8['data']=_0x447ead['string']();break;case 0x6:_0x1b51b8['hasComments']=_0x447ead['bool']();break;case 0x7:_0x1b51b8['state']=_0x447ead['string']();break;case 0x8:_0x1b51b8['attributes']=_0x447ead['string']();break;default:_0x447ead['skipType'](0x7&_0x330ee1);}}return _0x1b51b8;},_0x331dc7['decodeDelimited']=function(_0x528c49){return _0x528c49 instanceof _0x57f37b||(_0x528c49=new _0x57f37b(_0x528c49)),this['decode'](_0x528c49,_0x528c49['uint32']());},_0x331dc7['verify']=function(_0xdc0039){return'object'!=typeof _0xdc0039||null===_0xdc0039?'object\x20expected':null!=_0xdc0039['id']&&_0xdc0039['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0xdc0039['id'])?'id:\x20string\x20expected':null!=_0xdc0039['authorId']&&_0xdc0039['hasOwnProperty']('authorId')&&!_0x2e4f36['isString'](_0xdc0039['authorId'])?'authorId:\x20string\x20expected':null!=_0xdc0039['type']&&_0xdc0039['hasOwnProperty']('type')&&!_0x2e4f36['isString'](_0xdc0039['type'])?'type:\x20string\x20expected':null!=_0xdc0039['createdAt']&&_0xdc0039['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0xdc0039['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xdc0039['data']&&_0xdc0039['hasOwnProperty']('data')&&!_0x2e4f36['isString'](_0xdc0039['data'])?'data:\x20string\x20expected':null!=_0xdc0039['hasComments']&&_0xdc0039['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0xdc0039['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0xdc0039['state']&&_0xdc0039['hasOwnProperty']('state')&&!_0x2e4f36['isString'](_0xdc0039['state'])?'state:\x20string\x20expected':null!=_0xdc0039['attributes']&&_0xdc0039['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0xdc0039['attributes'])?'attributes:\x20string\x20expected':null;},_0x331dc7['fromObject']=function(_0x503a43){if(_0x503a43 instanceof _0x37f903['SuggestionDescriptor'])return _0x503a43;var _0x2840ee=new _0x37f903['SuggestionDescriptor']();return null!=_0x503a43['id']&&(_0x2840ee['id']=String(_0x503a43['id'])),null!=_0x503a43['authorId']&&(_0x2840ee['authorId']=String(_0x503a43['authorId'])),null!=_0x503a43['type']&&(_0x2840ee['type']=String(_0x503a43['type'])),null!=_0x503a43['createdAt']&&(_0x2840ee['createdAt']=String(_0x503a43['createdAt'])),null!=_0x503a43['data']&&(_0x2840ee['data']=String(_0x503a43['data'])),null!=_0x503a43['hasComments']&&(_0x2840ee['hasComments']=Boolean(_0x503a43['hasComments'])),null!=_0x503a43['state']&&(_0x2840ee['state']=String(_0x503a43['state'])),null!=_0x503a43['attributes']&&(_0x2840ee['attributes']=String(_0x503a43['attributes'])),_0x2840ee;},_0x331dc7['toObject']=function(_0x24820d,_0x158851){_0x158851||(_0x158851={});var _0xe98c99={};return _0x158851['defaults']&&(_0xe98c99['id']='',_0xe98c99['authorId']='',_0xe98c99['type']='',_0xe98c99['createdAt']='',_0xe98c99['data']='',_0xe98c99['hasComments']=!0x1,_0xe98c99['state']='',_0xe98c99['attributes']=''),null!=_0x24820d['id']&&_0x24820d['hasOwnProperty']('id')&&(_0xe98c99['id']=_0x24820d['id']),null!=_0x24820d['authorId']&&_0x24820d['hasOwnProperty']('authorId')&&(_0xe98c99['authorId']=_0x24820d['authorId']),null!=_0x24820d['type']&&_0x24820d['hasOwnProperty']('type')&&(_0xe98c99['type']=_0x24820d['type']),null!=_0x24820d['createdAt']&&_0x24820d['hasOwnProperty']('createdAt')&&(_0xe98c99['createdAt']=_0x24820d['createdAt']),null!=_0x24820d['data']&&_0x24820d['hasOwnProperty']('data')&&(_0xe98c99['data']=_0x24820d['data']),null!=_0x24820d['hasComments']&&_0x24820d['hasOwnProperty']('hasComments')&&(_0xe98c99['hasComments']=_0x24820d['hasComments']),null!=_0x24820d['state']&&_0x24820d['hasOwnProperty']('state')&&(_0xe98c99['state']=_0x24820d['state']),null!=_0x24820d['attributes']&&_0x24820d['hasOwnProperty']('attributes')&&(_0xe98c99['attributes']=_0x24820d['attributes']),_0xe98c99;},_0x331dc7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x331dc7['getTypeUrl']=function(_0x2edd24){return void 0x0===_0x2edd24&&(_0x2edd24='type.googleapis.com'),_0x2edd24+'/SuggestionDescriptor';},_0x331dc7;}()),_0x37f903['SessionsConnectResponse']=(function(){function _0xe048ee(_0x3f9f26){if(this['sockets']=[],_0x3f9f26){for(var _0x40cef9=Object['keys'](_0x3f9f26),_0x39002e=0x0;_0x39002e<_0x40cef9['length'];++_0x39002e)null!=_0x3f9f26[_0x40cef9[_0x39002e]]&&(this[_0x40cef9[_0x39002e]]=_0x3f9f26[_0x40cef9[_0x39002e]]);}}return _0xe048ee['prototype']['channel']='',_0xe048ee['prototype']['sockets']=_0x2e4f36['emptyArray'],_0xe048ee['create']=function(_0xa6c680){return new _0xe048ee(_0xa6c680);},_0xe048ee['encode']=function(_0x27d416,_0x4e64af){if(_0x4e64af||(_0x4e64af=_0x186223['create']()),null!=_0x27d416['channel']&&Object['hasOwnProperty']['call'](_0x27d416,'channel')&&_0x4e64af['uint32'](0xa)['string'](_0x27d416['channel']),null!=_0x27d416['sockets']&&_0x27d416['sockets']['length']){for(var _0x4e2d4a=0x0;_0x4e2d4a<_0x27d416['sockets']['length'];++_0x4e2d4a)_0x37f903['SessionsSocketDescriptor']['encode'](_0x27d416['sockets'][_0x4e2d4a],_0x4e64af['uint32'](0x12)['fork']())['ldelim']();}return _0x4e64af;},_0xe048ee['encodeDelimited']=function(_0x524300,_0x331434){return this['encode'](_0x524300,_0x331434)['ldelim']();},_0xe048ee['decode']=function(_0x3fe336,_0x36d683,_0x4629f5){_0x3fe336 instanceof _0x57f37b||(_0x3fe336=_0x57f37b['create'](_0x3fe336));for(var _0x39dacc=void 0x0===_0x36d683?_0x3fe336['len']:_0x3fe336['pos']+_0x36d683,_0x2e78ff=new _0x37f903['SessionsConnectResponse']();_0x3fe336['pos']<_0x39dacc;){var _0x4e9c6a=_0x3fe336['uint32']();if(_0x4e9c6a===_0x4629f5)break;switch(_0x4e9c6a>>>0x3){case 0x1:_0x2e78ff['channel']=_0x3fe336['string']();break;case 0x2:_0x2e78ff['sockets']&&_0x2e78ff['sockets']['length']||(_0x2e78ff['sockets']=[]),_0x2e78ff['sockets']['push'](_0x37f903['SessionsSocketDescriptor']['decode'](_0x3fe336,_0x3fe336['uint32']()));break;default:_0x3fe336['skipType'](0x7&_0x4e9c6a);}}return _0x2e78ff;},_0xe048ee['decodeDelimited']=function(_0x1a1b31){return _0x1a1b31 instanceof _0x57f37b||(_0x1a1b31=new _0x57f37b(_0x1a1b31)),this['decode'](_0x1a1b31,_0x1a1b31['uint32']());},_0xe048ee['verify']=function(_0x4ae19c){if('object'!=typeof _0x4ae19c||null===_0x4ae19c)return'object\x20expected';if(null!=_0x4ae19c['channel']&&_0x4ae19c['hasOwnProperty']('channel')&&!_0x2e4f36['isString'](_0x4ae19c['channel']))return'channel:\x20string\x20expected';if(null!=_0x4ae19c['sockets']&&_0x4ae19c['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x4ae19c['sockets']))return'sockets:\x20array\x20expected';for(var _0x8e454f=0x0;_0x8e454f<_0x4ae19c['sockets']['length'];++_0x8e454f){var _0x5e6b44=_0x37f903['SessionsSocketDescriptor']['verify'](_0x4ae19c['sockets'][_0x8e454f]);if(_0x5e6b44)return'sockets.'+_0x5e6b44;}}return null;},_0xe048ee['fromObject']=function(_0x5ac2e7){if(_0x5ac2e7 instanceof _0x37f903['SessionsConnectResponse'])return _0x5ac2e7;var _0x5ede04=new _0x37f903['SessionsConnectResponse']();if(null!=_0x5ac2e7['channel']&&(_0x5ede04['channel']=String(_0x5ac2e7['channel'])),_0x5ac2e7['sockets']){if(!Array['isArray'](_0x5ac2e7['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x5ede04['sockets']=[];for(var _0x3add6a=0x0;_0x3add6a<_0x5ac2e7['sockets']['length'];++_0x3add6a){if('object'!=typeof _0x5ac2e7['sockets'][_0x3add6a])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x5ede04['sockets'][_0x3add6a]=_0x37f903['SessionsSocketDescriptor']['fromObject'](_0x5ac2e7['sockets'][_0x3add6a]);}}return _0x5ede04;},_0xe048ee['toObject']=function(_0xfb8921,_0x58c995){_0x58c995||(_0x58c995={});var _0x1ecf99={};if((_0x58c995['arrays']||_0x58c995['defaults'])&&(_0x1ecf99['sockets']=[]),_0x58c995['defaults']&&(_0x1ecf99['channel']=''),null!=_0xfb8921['channel']&&_0xfb8921['hasOwnProperty']('channel')&&(_0x1ecf99['channel']=_0xfb8921['channel']),_0xfb8921['sockets']&&_0xfb8921['sockets']['length']){_0x1ecf99['sockets']=[];for(var _0x237041=0x0;_0x237041<_0xfb8921['sockets']['length'];++_0x237041)_0x1ecf99['sockets'][_0x237041]=_0x37f903['SessionsSocketDescriptor']['toObject'](_0xfb8921['sockets'][_0x237041],_0x58c995);}return _0x1ecf99;},_0xe048ee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xe048ee['getTypeUrl']=function(_0x35efd3){return void 0x0===_0x35efd3&&(_0x35efd3='type.googleapis.com'),_0x35efd3+'/SessionsConnectResponse';},_0xe048ee;}()),_0x37f903['SocketDisconnectMessage']=(function(){function _0xb25e66(_0x4de64b){if(_0x4de64b){for(var _0x41692e=Object['keys'](_0x4de64b),_0x1d8803=0x0;_0x1d8803<_0x41692e['length'];++_0x1d8803)null!=_0x4de64b[_0x41692e[_0x1d8803]]&&(this[_0x41692e[_0x1d8803]]=_0x4de64b[_0x41692e[_0x1d8803]]);}}return _0xb25e66['prototype']['id']='',_0xb25e66['create']=function(_0x3c02f2){return new _0xb25e66(_0x3c02f2);},_0xb25e66['encode']=function(_0x3e448a,_0x411b39){return _0x411b39||(_0x411b39=_0x186223['create']()),null!=_0x3e448a['id']&&Object['hasOwnProperty']['call'](_0x3e448a,'id')&&_0x411b39['uint32'](0xa)['string'](_0x3e448a['id']),_0x411b39;},_0xb25e66['encodeDelimited']=function(_0xb2ee2e,_0x2a7429){return this['encode'](_0xb2ee2e,_0x2a7429)['ldelim']();},_0xb25e66['decode']=function(_0x4b5a8b,_0x2a5139,_0x5ca53e){_0x4b5a8b instanceof _0x57f37b||(_0x4b5a8b=_0x57f37b['create'](_0x4b5a8b));for(var _0x312735=void 0x0===_0x2a5139?_0x4b5a8b['len']:_0x4b5a8b['pos']+_0x2a5139,_0x328ff7=new _0x37f903['SocketDisconnectMessage']();_0x4b5a8b['pos']<_0x312735;){var _0x3cf4a8=_0x4b5a8b['uint32']();if(_0x3cf4a8===_0x5ca53e)break;_0x3cf4a8>>>0x3==0x1?_0x328ff7['id']=_0x4b5a8b['string']():_0x4b5a8b['skipType'](0x7&_0x3cf4a8);}return _0x328ff7;},_0xb25e66['decodeDelimited']=function(_0x290da5){return _0x290da5 instanceof _0x57f37b||(_0x290da5=new _0x57f37b(_0x290da5)),this['decode'](_0x290da5,_0x290da5['uint32']());},_0xb25e66['verify']=function(_0x5585cb){return'object'!=typeof _0x5585cb||null===_0x5585cb?'object\x20expected':null!=_0x5585cb['id']&&_0x5585cb['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x5585cb['id'])?'id:\x20string\x20expected':null;},_0xb25e66['fromObject']=function(_0x54d326){if(_0x54d326 instanceof _0x37f903['SocketDisconnectMessage'])return _0x54d326;var _0x48e1a0=new _0x37f903['SocketDisconnectMessage']();return null!=_0x54d326['id']&&(_0x48e1a0['id']=String(_0x54d326['id'])),_0x48e1a0;},_0xb25e66['toObject']=function(_0x36d9cf,_0x3f9324){_0x3f9324||(_0x3f9324={});var _0x4cc091={};return _0x3f9324['defaults']&&(_0x4cc091['id']=''),null!=_0x36d9cf['id']&&_0x36d9cf['hasOwnProperty']('id')&&(_0x4cc091['id']=_0x36d9cf['id']),_0x4cc091;},_0xb25e66['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xb25e66['getTypeUrl']=function(_0x13c4bb){return void 0x0===_0x13c4bb&&(_0x13c4bb='type.googleapis.com'),_0x13c4bb+'/SocketDisconnectMessage';},_0xb25e66;}()),_0x37f903['SocketConnectMessage']=(function(){function _0x32e3f6(_0x3b63a9){if(this['permissions']=[],_0x3b63a9){for(var _0x2fefcc=Object['keys'](_0x3b63a9),_0x34d37c=0x0;_0x34d37c<_0x2fefcc['length'];++_0x34d37c)null!=_0x3b63a9[_0x2fefcc[_0x34d37c]]&&(this[_0x2fefcc[_0x34d37c]]=_0x3b63a9[_0x2fefcc[_0x34d37c]]);}}return _0x32e3f6['prototype']['id']='',_0x32e3f6['prototype']['userId']='',_0x32e3f6['prototype']['role']='',_0x32e3f6['prototype']['permissions']=_0x2e4f36['emptyArray'],_0x32e3f6['create']=function(_0x507570){return new _0x32e3f6(_0x507570);},_0x32e3f6['encode']=function(_0x37cd38,_0x1149d1){if(_0x1149d1||(_0x1149d1=_0x186223['create']()),null!=_0x37cd38['id']&&Object['hasOwnProperty']['call'](_0x37cd38,'id')&&_0x1149d1['uint32'](0xa)['string'](_0x37cd38['id']),null!=_0x37cd38['userId']&&Object['hasOwnProperty']['call'](_0x37cd38,'userId')&&_0x1149d1['uint32'](0x12)['string'](_0x37cd38['userId']),null!=_0x37cd38['role']&&Object['hasOwnProperty']['call'](_0x37cd38,'role')&&_0x1149d1['uint32'](0x1a)['string'](_0x37cd38['role']),null!=_0x37cd38['permissions']&&_0x37cd38['permissions']['length']){for(var _0x389a05=0x0;_0x389a05<_0x37cd38['permissions']['length'];++_0x389a05)_0x1149d1['uint32'](0x22)['string'](_0x37cd38['permissions'][_0x389a05]);}return _0x1149d1;},_0x32e3f6['encodeDelimited']=function(_0x1486b4,_0x289134){return this['encode'](_0x1486b4,_0x289134)['ldelim']();},_0x32e3f6['decode']=function(_0x3f5360,_0x399c48,_0x2f8bef){_0x3f5360 instanceof _0x57f37b||(_0x3f5360=_0x57f37b['create'](_0x3f5360));for(var _0x2116c7=void 0x0===_0x399c48?_0x3f5360['len']:_0x3f5360['pos']+_0x399c48,_0x2265fc=new _0x37f903['SocketConnectMessage']();_0x3f5360['pos']<_0x2116c7;){var _0x18abbe=_0x3f5360['uint32']();if(_0x18abbe===_0x2f8bef)break;switch(_0x18abbe>>>0x3){case 0x1:_0x2265fc['id']=_0x3f5360['string']();break;case 0x2:_0x2265fc['userId']=_0x3f5360['string']();break;case 0x3:_0x2265fc['role']=_0x3f5360['string']();break;case 0x4:_0x2265fc['permissions']&&_0x2265fc['permissions']['length']||(_0x2265fc['permissions']=[]),_0x2265fc['permissions']['push'](_0x3f5360['string']());break;default:_0x3f5360['skipType'](0x7&_0x18abbe);}}return _0x2265fc;},_0x32e3f6['decodeDelimited']=function(_0x2f6682){return _0x2f6682 instanceof _0x57f37b||(_0x2f6682=new _0x57f37b(_0x2f6682)),this['decode'](_0x2f6682,_0x2f6682['uint32']());},_0x32e3f6['verify']=function(_0x26bb12){if('object'!=typeof _0x26bb12||null===_0x26bb12)return'object\x20expected';if(null!=_0x26bb12['id']&&_0x26bb12['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x26bb12['id']))return'id:\x20string\x20expected';if(null!=_0x26bb12['userId']&&_0x26bb12['hasOwnProperty']('userId')&&!_0x2e4f36['isString'](_0x26bb12['userId']))return'userId:\x20string\x20expected';if(null!=_0x26bb12['role']&&_0x26bb12['hasOwnProperty']('role')&&!_0x2e4f36['isString'](_0x26bb12['role']))return'role:\x20string\x20expected';if(null!=_0x26bb12['permissions']&&_0x26bb12['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x26bb12['permissions']))return'permissions:\x20array\x20expected';for(var _0x1314b4=0x0;_0x1314b4<_0x26bb12['permissions']['length'];++_0x1314b4)if(!_0x2e4f36['isString'](_0x26bb12['permissions'][_0x1314b4]))return'permissions:\x20string[]\x20expected';}return null;},_0x32e3f6['fromObject']=function(_0x1c7d4d){if(_0x1c7d4d instanceof _0x37f903['SocketConnectMessage'])return _0x1c7d4d;var _0x110fbb=new _0x37f903['SocketConnectMessage']();if(null!=_0x1c7d4d['id']&&(_0x110fbb['id']=String(_0x1c7d4d['id'])),null!=_0x1c7d4d['userId']&&(_0x110fbb['userId']=String(_0x1c7d4d['userId'])),null!=_0x1c7d4d['role']&&(_0x110fbb['role']=String(_0x1c7d4d['role'])),_0x1c7d4d['permissions']){if(!Array['isArray'](_0x1c7d4d['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x110fbb['permissions']=[];for(var _0xd6dca=0x0;_0xd6dca<_0x1c7d4d['permissions']['length'];++_0xd6dca)_0x110fbb['permissions'][_0xd6dca]=String(_0x1c7d4d['permissions'][_0xd6dca]);}return _0x110fbb;},_0x32e3f6['toObject']=function(_0x2450df,_0x5dfc6b){_0x5dfc6b||(_0x5dfc6b={});var _0x39619b={};if((_0x5dfc6b['arrays']||_0x5dfc6b['defaults'])&&(_0x39619b['permissions']=[]),_0x5dfc6b['defaults']&&(_0x39619b['id']='',_0x39619b['userId']='',_0x39619b['role']=''),null!=_0x2450df['id']&&_0x2450df['hasOwnProperty']('id')&&(_0x39619b['id']=_0x2450df['id']),null!=_0x2450df['userId']&&_0x2450df['hasOwnProperty']('userId')&&(_0x39619b['userId']=_0x2450df['userId']),null!=_0x2450df['role']&&_0x2450df['hasOwnProperty']('role')&&(_0x39619b['role']=_0x2450df['role']),_0x2450df['permissions']&&_0x2450df['permissions']['length']){_0x39619b['permissions']=[];for(var _0x51ad22=0x0;_0x51ad22<_0x2450df['permissions']['length'];++_0x51ad22)_0x39619b['permissions'][_0x51ad22]=_0x2450df['permissions'][_0x51ad22];}return _0x39619b;},_0x32e3f6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x32e3f6['getTypeUrl']=function(_0x509701){return void 0x0===_0x509701&&(_0x509701='type.googleapis.com'),_0x509701+'/SocketConnectMessage';},_0x32e3f6;}()),_0x37f903['SessionsConnectMessage']=(function(){function _0x3f34fc(_0x580940){if(_0x580940){for(var _0x5cdce3=Object['keys'](_0x580940),_0x4f17f8=0x0;_0x4f17f8<_0x5cdce3['length'];++_0x4f17f8)null!=_0x580940[_0x5cdce3[_0x4f17f8]]&&(this[_0x5cdce3[_0x4f17f8]]=_0x580940[_0x5cdce3[_0x4f17f8]]);}}return _0x3f34fc['prototype']['id']='',_0x3f34fc['prototype']['sessionType']=0x0,_0x3f34fc['create']=function(_0xfb00e){return new _0x3f34fc(_0xfb00e);},_0x3f34fc['encode']=function(_0x1a6bee,_0x529463){return _0x529463||(_0x529463=_0x186223['create']()),null!=_0x1a6bee['id']&&Object['hasOwnProperty']['call'](_0x1a6bee,'id')&&_0x529463['uint32'](0xa)['string'](_0x1a6bee['id']),null!=_0x1a6bee['sessionType']&&Object['hasOwnProperty']['call'](_0x1a6bee,'sessionType')&&_0x529463['uint32'](0x10)['uint32'](_0x1a6bee['sessionType']),_0x529463;},_0x3f34fc['encodeDelimited']=function(_0x3629f1,_0x11b129){return this['encode'](_0x3629f1,_0x11b129)['ldelim']();},_0x3f34fc['decode']=function(_0x26019c,_0x303a34,_0xd0f6f9){_0x26019c instanceof _0x57f37b||(_0x26019c=_0x57f37b['create'](_0x26019c));for(var _0x129898=void 0x0===_0x303a34?_0x26019c['len']:_0x26019c['pos']+_0x303a34,_0x3dc8ad=new _0x37f903['SessionsConnectMessage']();_0x26019c['pos']<_0x129898;){var _0x3a507a=_0x26019c['uint32']();if(_0x3a507a===_0xd0f6f9)break;switch(_0x3a507a>>>0x3){case 0x1:_0x3dc8ad['id']=_0x26019c['string']();break;case 0x2:_0x3dc8ad['sessionType']=_0x26019c['uint32']();break;default:_0x26019c['skipType'](0x7&_0x3a507a);}}return _0x3dc8ad;},_0x3f34fc['decodeDelimited']=function(_0x3705b3){return _0x3705b3 instanceof _0x57f37b||(_0x3705b3=new _0x57f37b(_0x3705b3)),this['decode'](_0x3705b3,_0x3705b3['uint32']());},_0x3f34fc['verify']=function(_0x33cd34){return'object'!=typeof _0x33cd34||null===_0x33cd34?'object\x20expected':null!=_0x33cd34['id']&&_0x33cd34['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x33cd34['id'])?'id:\x20string\x20expected':null!=_0x33cd34['sessionType']&&_0x33cd34['hasOwnProperty']('sessionType')&&!_0x2e4f36['isInteger'](_0x33cd34['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x3f34fc['fromObject']=function(_0x12ab70){if(_0x12ab70 instanceof _0x37f903['SessionsConnectMessage'])return _0x12ab70;var _0x178e18=new _0x37f903['SessionsConnectMessage']();return null!=_0x12ab70['id']&&(_0x178e18['id']=String(_0x12ab70['id'])),null!=_0x12ab70['sessionType']&&(_0x178e18['sessionType']=_0x12ab70['sessionType']>>>0x0),_0x178e18;},_0x3f34fc['toObject']=function(_0x3327a5,_0x202a9a){_0x202a9a||(_0x202a9a={});var _0x4341d1={};return _0x202a9a['defaults']&&(_0x4341d1['id']='',_0x4341d1['sessionType']=0x0),null!=_0x3327a5['id']&&_0x3327a5['hasOwnProperty']('id')&&(_0x4341d1['id']=_0x3327a5['id']),null!=_0x3327a5['sessionType']&&_0x3327a5['hasOwnProperty']('sessionType')&&(_0x4341d1['sessionType']=_0x3327a5['sessionType']),_0x4341d1;},_0x3f34fc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3f34fc['getTypeUrl']=function(_0x176601){return void 0x0===_0x176601&&(_0x176601='type.googleapis.com'),_0x176601+'/SessionsConnectMessage';},_0x3f34fc;}()),_0x37f903['SessionsSocketDescriptor']=(function(){function _0x2cadd5(_0x2e3268){if(this['permissions']=[],_0x2e3268){for(var _0xf135b8=Object['keys'](_0x2e3268),_0x5cd9dd=0x0;_0x5cd9dd<_0xf135b8['length'];++_0x5cd9dd)null!=_0x2e3268[_0xf135b8[_0x5cd9dd]]&&(this[_0xf135b8[_0x5cd9dd]]=_0x2e3268[_0xf135b8[_0x5cd9dd]]);}}return _0x2cadd5['prototype']['session']='',_0x2cadd5['prototype']['user']='',_0x2cadd5['prototype']['role']='',_0x2cadd5['prototype']['permissions']=_0x2e4f36['emptyArray'],_0x2cadd5['create']=function(_0x2c630c){return new _0x2cadd5(_0x2c630c);},_0x2cadd5['encode']=function(_0x5ef770,_0x17d843){if(_0x17d843||(_0x17d843=_0x186223['create']()),null!=_0x5ef770['session']&&Object['hasOwnProperty']['call'](_0x5ef770,'session')&&_0x17d843['uint32'](0xa)['string'](_0x5ef770['session']),null!=_0x5ef770['user']&&Object['hasOwnProperty']['call'](_0x5ef770,'user')&&_0x17d843['uint32'](0x12)['string'](_0x5ef770['user']),null!=_0x5ef770['role']&&Object['hasOwnProperty']['call'](_0x5ef770,'role')&&_0x17d843['uint32'](0x1a)['string'](_0x5ef770['role']),null!=_0x5ef770['permissions']&&_0x5ef770['permissions']['length']){for(var _0x101288=0x0;_0x101288<_0x5ef770['permissions']['length'];++_0x101288)_0x17d843['uint32'](0x22)['string'](_0x5ef770['permissions'][_0x101288]);}return _0x17d843;},_0x2cadd5['encodeDelimited']=function(_0x525af0,_0x2ea3f4){return this['encode'](_0x525af0,_0x2ea3f4)['ldelim']();},_0x2cadd5['decode']=function(_0x2e3573,_0x32e1bd,_0x5c5336){_0x2e3573 instanceof _0x57f37b||(_0x2e3573=_0x57f37b['create'](_0x2e3573));for(var _0x29000e=void 0x0===_0x32e1bd?_0x2e3573['len']:_0x2e3573['pos']+_0x32e1bd,_0x1801af=new _0x37f903['SessionsSocketDescriptor']();_0x2e3573['pos']<_0x29000e;){var _0x79ac1d=_0x2e3573['uint32']();if(_0x79ac1d===_0x5c5336)break;switch(_0x79ac1d>>>0x3){case 0x1:_0x1801af['session']=_0x2e3573['string']();break;case 0x2:_0x1801af['user']=_0x2e3573['string']();break;case 0x3:_0x1801af['role']=_0x2e3573['string']();break;case 0x4:_0x1801af['permissions']&&_0x1801af['permissions']['length']||(_0x1801af['permissions']=[]),_0x1801af['permissions']['push'](_0x2e3573['string']());break;default:_0x2e3573['skipType'](0x7&_0x79ac1d);}}return _0x1801af;},_0x2cadd5['decodeDelimited']=function(_0x5d5a7d){return _0x5d5a7d instanceof _0x57f37b||(_0x5d5a7d=new _0x57f37b(_0x5d5a7d)),this['decode'](_0x5d5a7d,_0x5d5a7d['uint32']());},_0x2cadd5['verify']=function(_0x3b6171){if('object'!=typeof _0x3b6171||null===_0x3b6171)return'object\x20expected';if(null!=_0x3b6171['session']&&_0x3b6171['hasOwnProperty']('session')&&!_0x2e4f36['isString'](_0x3b6171['session']))return'session:\x20string\x20expected';if(null!=_0x3b6171['user']&&_0x3b6171['hasOwnProperty']('user')&&!_0x2e4f36['isString'](_0x3b6171['user']))return'user:\x20string\x20expected';if(null!=_0x3b6171['role']&&_0x3b6171['hasOwnProperty']('role')&&!_0x2e4f36['isString'](_0x3b6171['role']))return'role:\x20string\x20expected';if(null!=_0x3b6171['permissions']&&_0x3b6171['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x3b6171['permissions']))return'permissions:\x20array\x20expected';for(var _0x62b1c2=0x0;_0x62b1c2<_0x3b6171['permissions']['length'];++_0x62b1c2)if(!_0x2e4f36['isString'](_0x3b6171['permissions'][_0x62b1c2]))return'permissions:\x20string[]\x20expected';}return null;},_0x2cadd5['fromObject']=function(_0x1cffd5){if(_0x1cffd5 instanceof _0x37f903['SessionsSocketDescriptor'])return _0x1cffd5;var _0x17912b=new _0x37f903['SessionsSocketDescriptor']();if(null!=_0x1cffd5['session']&&(_0x17912b['session']=String(_0x1cffd5['session'])),null!=_0x1cffd5['user']&&(_0x17912b['user']=String(_0x1cffd5['user'])),null!=_0x1cffd5['role']&&(_0x17912b['role']=String(_0x1cffd5['role'])),_0x1cffd5['permissions']){if(!Array['isArray'](_0x1cffd5['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x17912b['permissions']=[];for(var _0x1ad649=0x0;_0x1ad649<_0x1cffd5['permissions']['length'];++_0x1ad649)_0x17912b['permissions'][_0x1ad649]=String(_0x1cffd5['permissions'][_0x1ad649]);}return _0x17912b;},_0x2cadd5['toObject']=function(_0x4d3bb7,_0x24238f){_0x24238f||(_0x24238f={});var _0x23fddd={};if((_0x24238f['arrays']||_0x24238f['defaults'])&&(_0x23fddd['permissions']=[]),_0x24238f['defaults']&&(_0x23fddd['session']='',_0x23fddd['user']='',_0x23fddd['role']=''),null!=_0x4d3bb7['session']&&_0x4d3bb7['hasOwnProperty']('session')&&(_0x23fddd['session']=_0x4d3bb7['session']),null!=_0x4d3bb7['user']&&_0x4d3bb7['hasOwnProperty']('user')&&(_0x23fddd['user']=_0x4d3bb7['user']),null!=_0x4d3bb7['role']&&_0x4d3bb7['hasOwnProperty']('role')&&(_0x23fddd['role']=_0x4d3bb7['role']),_0x4d3bb7['permissions']&&_0x4d3bb7['permissions']['length']){_0x23fddd['permissions']=[];for(var _0x468a54=0x0;_0x468a54<_0x4d3bb7['permissions']['length'];++_0x468a54)_0x23fddd['permissions'][_0x468a54]=_0x4d3bb7['permissions'][_0x468a54];}return _0x23fddd;},_0x2cadd5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2cadd5['getTypeUrl']=function(_0x29d724){return void 0x0===_0x29d724&&(_0x29d724='type.googleapis.com'),_0x29d724+'/SessionsSocketDescriptor';},_0x2cadd5;}()),_0x37f903['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0xace1dd(_0x291315){if(_0x291315){for(var _0x5dc82b=Object['keys'](_0x291315),_0x495ae7=0x0;_0x495ae7<_0x5dc82b['length'];++_0x495ae7)null!=_0x291315[_0x5dc82b[_0x495ae7]]&&(this[_0x5dc82b[_0x495ae7]]=_0x291315[_0x5dc82b[_0x495ae7]]);}}return _0xace1dd['prototype']['requestId']=0x0,_0xace1dd['create']=function(_0x5f0e8d){return new _0xace1dd(_0x5f0e8d);},_0xace1dd['encode']=function(_0x58e611,_0x592567){return _0x592567||(_0x592567=_0x186223['create']()),null!=_0x58e611['requestId']&&Object['hasOwnProperty']['call'](_0x58e611,'requestId')&&_0x592567['uint32'](0x8)['uint32'](_0x58e611['requestId']),_0x592567;},_0xace1dd['encodeDelimited']=function(_0x2880a3,_0xe5d5e0){return this['encode'](_0x2880a3,_0xe5d5e0)['ldelim']();},_0xace1dd['decode']=function(_0x195f31,_0x142c98,_0x80ca9f){_0x195f31 instanceof _0x57f37b||(_0x195f31=_0x57f37b['create'](_0x195f31));for(var _0xc444fc=void 0x0===_0x142c98?_0x195f31['len']:_0x195f31['pos']+_0x142c98,_0x1e7de4=new _0x37f903['RevisionHistoryUpdateRevisionsResponse']();_0x195f31['pos']<_0xc444fc;){var _0x358b67=_0x195f31['uint32']();if(_0x358b67===_0x80ca9f)break;_0x358b67>>>0x3==0x1?_0x1e7de4['requestId']=_0x195f31['uint32']():_0x195f31['skipType'](0x7&_0x358b67);}return _0x1e7de4;},_0xace1dd['decodeDelimited']=function(_0xc71ca2){return _0xc71ca2 instanceof _0x57f37b||(_0xc71ca2=new _0x57f37b(_0xc71ca2)),this['decode'](_0xc71ca2,_0xc71ca2['uint32']());},_0xace1dd['verify']=function(_0x2fd5ab){return'object'!=typeof _0x2fd5ab||null===_0x2fd5ab?'object\x20expected':null!=_0x2fd5ab['requestId']&&_0x2fd5ab['hasOwnProperty']('requestId')&&!_0x2e4f36['isInteger'](_0x2fd5ab['requestId'])?'requestId:\x20integer\x20expected':null;},_0xace1dd['fromObject']=function(_0x2716fe){if(_0x2716fe instanceof _0x37f903['RevisionHistoryUpdateRevisionsResponse'])return _0x2716fe;var _0x5e3d3a=new _0x37f903['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x2716fe['requestId']&&(_0x5e3d3a['requestId']=_0x2716fe['requestId']>>>0x0),_0x5e3d3a;},_0xace1dd['toObject']=function(_0x4c0ec5,_0x64c76b){_0x64c76b||(_0x64c76b={});var _0x1e93ba={};return _0x64c76b['defaults']&&(_0x1e93ba['requestId']=0x0),null!=_0x4c0ec5['requestId']&&_0x4c0ec5['hasOwnProperty']('requestId')&&(_0x1e93ba['requestId']=_0x4c0ec5['requestId']),_0x1e93ba;},_0xace1dd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xace1dd['getTypeUrl']=function(_0x21b178){return void 0x0===_0x21b178&&(_0x21b178='type.googleapis.com'),_0x21b178+'/RevisionHistoryUpdateRevisionsResponse';},_0xace1dd;}()),_0x37f903['RevisionHistoryGetRevisionResponse']=(function(){function _0x42d41c(_0x49f194){if(_0x49f194){for(var _0x5e41ff=Object['keys'](_0x49f194),_0x1916ae=0x0;_0x1916ae<_0x5e41ff['length'];++_0x1916ae)null!=_0x49f194[_0x5e41ff[_0x1916ae]]&&(this[_0x5e41ff[_0x1916ae]]=_0x49f194[_0x5e41ff[_0x1916ae]]);}}return _0x42d41c['prototype']['revisionId']='',_0x42d41c['prototype']['name']='',_0x42d41c['prototype']['creatorId']='',_0x42d41c['prototype']['authorsIds']='',_0x42d41c['prototype']['diffData']='',_0x42d41c['prototype']['createdAt']='',_0x42d41c['prototype']['attributes']='',_0x42d41c['prototype']['toVersion']=0x0,_0x42d41c['prototype']['fromVersion']=0x0,_0x42d41c['prototype']['isEmptyCurrent']=!0x1,_0x42d41c['create']=function(_0xa899bd){return new _0x42d41c(_0xa899bd);},_0x42d41c['encode']=function(_0x380c36,_0x44f073){return _0x44f073||(_0x44f073=_0x186223['create']()),null!=_0x380c36['revisionId']&&Object['hasOwnProperty']['call'](_0x380c36,'revisionId')&&_0x44f073['uint32'](0xa)['string'](_0x380c36['revisionId']),null!=_0x380c36['name']&&Object['hasOwnProperty']['call'](_0x380c36,'name')&&_0x44f073['uint32'](0x12)['string'](_0x380c36['name']),null!=_0x380c36['creatorId']&&Object['hasOwnProperty']['call'](_0x380c36,'creatorId')&&_0x44f073['uint32'](0x1a)['string'](_0x380c36['creatorId']),null!=_0x380c36['authorsIds']&&Object['hasOwnProperty']['call'](_0x380c36,'authorsIds')&&_0x44f073['uint32'](0x22)['string'](_0x380c36['authorsIds']),null!=_0x380c36['diffData']&&Object['hasOwnProperty']['call'](_0x380c36,'diffData')&&_0x44f073['uint32'](0x2a)['string'](_0x380c36['diffData']),null!=_0x380c36['createdAt']&&Object['hasOwnProperty']['call'](_0x380c36,'createdAt')&&_0x44f073['uint32'](0x32)['string'](_0x380c36['createdAt']),null!=_0x380c36['attributes']&&Object['hasOwnProperty']['call'](_0x380c36,'attributes')&&_0x44f073['uint32'](0x3a)['string'](_0x380c36['attributes']),null!=_0x380c36['toVersion']&&Object['hasOwnProperty']['call'](_0x380c36,'toVersion')&&_0x44f073['uint32'](0x40)['uint32'](_0x380c36['toVersion']),null!=_0x380c36['fromVersion']&&Object['hasOwnProperty']['call'](_0x380c36,'fromVersion')&&_0x44f073['uint32'](0x48)['uint32'](_0x380c36['fromVersion']),null!=_0x380c36['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x380c36,'isEmptyCurrent')&&_0x44f073['uint32'](0x50)['bool'](_0x380c36['isEmptyCurrent']),_0x44f073;},_0x42d41c['encodeDelimited']=function(_0x200c80,_0x3dc3a2){return this['encode'](_0x200c80,_0x3dc3a2)['ldelim']();},_0x42d41c['decode']=function(_0x4a5387,_0x26344a,_0x50cee2){_0x4a5387 instanceof _0x57f37b||(_0x4a5387=_0x57f37b['create'](_0x4a5387));for(var _0x342e41=void 0x0===_0x26344a?_0x4a5387['len']:_0x4a5387['pos']+_0x26344a,_0x444416=new _0x37f903['RevisionHistoryGetRevisionResponse']();_0x4a5387['pos']<_0x342e41;){var _0x38dbca=_0x4a5387['uint32']();if(_0x38dbca===_0x50cee2)break;switch(_0x38dbca>>>0x3){case 0x1:_0x444416['revisionId']=_0x4a5387['string']();break;case 0x2:_0x444416['name']=_0x4a5387['string']();break;case 0x3:_0x444416['creatorId']=_0x4a5387['string']();break;case 0x4:_0x444416['authorsIds']=_0x4a5387['string']();break;case 0x5:_0x444416['diffData']=_0x4a5387['string']();break;case 0x6:_0x444416['createdAt']=_0x4a5387['string']();break;case 0x7:_0x444416['attributes']=_0x4a5387['string']();break;case 0x8:_0x444416['toVersion']=_0x4a5387['uint32']();break;case 0x9:_0x444416['fromVersion']=_0x4a5387['uint32']();break;case 0xa:_0x444416['isEmptyCurrent']=_0x4a5387['bool']();break;default:_0x4a5387['skipType'](0x7&_0x38dbca);}}return _0x444416;},_0x42d41c['decodeDelimited']=function(_0x20fc8b){return _0x20fc8b instanceof _0x57f37b||(_0x20fc8b=new _0x57f37b(_0x20fc8b)),this['decode'](_0x20fc8b,_0x20fc8b['uint32']());},_0x42d41c['verify']=function(_0x46b5d7){return'object'!=typeof _0x46b5d7||null===_0x46b5d7?'object\x20expected':null!=_0x46b5d7['revisionId']&&_0x46b5d7['hasOwnProperty']('revisionId')&&!_0x2e4f36['isString'](_0x46b5d7['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x46b5d7['name']&&_0x46b5d7['hasOwnProperty']('name')&&!_0x2e4f36['isString'](_0x46b5d7['name'])?'name:\x20string\x20expected':null!=_0x46b5d7['creatorId']&&_0x46b5d7['hasOwnProperty']('creatorId')&&!_0x2e4f36['isString'](_0x46b5d7['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x46b5d7['authorsIds']&&_0x46b5d7['hasOwnProperty']('authorsIds')&&!_0x2e4f36['isString'](_0x46b5d7['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x46b5d7['diffData']&&_0x46b5d7['hasOwnProperty']('diffData')&&!_0x2e4f36['isString'](_0x46b5d7['diffData'])?'diffData:\x20string\x20expected':null!=_0x46b5d7['createdAt']&&_0x46b5d7['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x46b5d7['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x46b5d7['attributes']&&_0x46b5d7['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x46b5d7['attributes'])?'attributes:\x20string\x20expected':null!=_0x46b5d7['toVersion']&&_0x46b5d7['hasOwnProperty']('toVersion')&&!_0x2e4f36['isInteger'](_0x46b5d7['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x46b5d7['fromVersion']&&_0x46b5d7['hasOwnProperty']('fromVersion')&&!_0x2e4f36['isInteger'](_0x46b5d7['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x46b5d7['isEmptyCurrent']&&_0x46b5d7['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x46b5d7['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x42d41c['fromObject']=function(_0x5e5988){if(_0x5e5988 instanceof _0x37f903['RevisionHistoryGetRevisionResponse'])return _0x5e5988;var _0x2ab695=new _0x37f903['RevisionHistoryGetRevisionResponse']();return null!=_0x5e5988['revisionId']&&(_0x2ab695['revisionId']=String(_0x5e5988['revisionId'])),null!=_0x5e5988['name']&&(_0x2ab695['name']=String(_0x5e5988['name'])),null!=_0x5e5988['creatorId']&&(_0x2ab695['creatorId']=String(_0x5e5988['creatorId'])),null!=_0x5e5988['authorsIds']&&(_0x2ab695['authorsIds']=String(_0x5e5988['authorsIds'])),null!=_0x5e5988['diffData']&&(_0x2ab695['diffData']=String(_0x5e5988['diffData'])),null!=_0x5e5988['createdAt']&&(_0x2ab695['createdAt']=String(_0x5e5988['createdAt'])),null!=_0x5e5988['attributes']&&(_0x2ab695['attributes']=String(_0x5e5988['attributes'])),null!=_0x5e5988['toVersion']&&(_0x2ab695['toVersion']=_0x5e5988['toVersion']>>>0x0),null!=_0x5e5988['fromVersion']&&(_0x2ab695['fromVersion']=_0x5e5988['fromVersion']>>>0x0),null!=_0x5e5988['isEmptyCurrent']&&(_0x2ab695['isEmptyCurrent']=Boolean(_0x5e5988['isEmptyCurrent'])),_0x2ab695;},_0x42d41c['toObject']=function(_0x3dc996,_0xf2fe39){_0xf2fe39||(_0xf2fe39={});var _0x4fc7cd={};return _0xf2fe39['defaults']&&(_0x4fc7cd['revisionId']='',_0x4fc7cd['name']='',_0x4fc7cd['creatorId']='',_0x4fc7cd['authorsIds']='',_0x4fc7cd['diffData']='',_0x4fc7cd['createdAt']='',_0x4fc7cd['attributes']='',_0x4fc7cd['toVersion']=0x0,_0x4fc7cd['fromVersion']=0x0,_0x4fc7cd['isEmptyCurrent']=!0x1),null!=_0x3dc996['revisionId']&&_0x3dc996['hasOwnProperty']('revisionId')&&(_0x4fc7cd['revisionId']=_0x3dc996['revisionId']),null!=_0x3dc996['name']&&_0x3dc996['hasOwnProperty']('name')&&(_0x4fc7cd['name']=_0x3dc996['name']),null!=_0x3dc996['creatorId']&&_0x3dc996['hasOwnProperty']('creatorId')&&(_0x4fc7cd['creatorId']=_0x3dc996['creatorId']),null!=_0x3dc996['authorsIds']&&_0x3dc996['hasOwnProperty']('authorsIds')&&(_0x4fc7cd['authorsIds']=_0x3dc996['authorsIds']),null!=_0x3dc996['diffData']&&_0x3dc996['hasOwnProperty']('diffData')&&(_0x4fc7cd['diffData']=_0x3dc996['diffData']),null!=_0x3dc996['createdAt']&&_0x3dc996['hasOwnProperty']('createdAt')&&(_0x4fc7cd['createdAt']=_0x3dc996['createdAt']),null!=_0x3dc996['attributes']&&_0x3dc996['hasOwnProperty']('attributes')&&(_0x4fc7cd['attributes']=_0x3dc996['attributes']),null!=_0x3dc996['toVersion']&&_0x3dc996['hasOwnProperty']('toVersion')&&(_0x4fc7cd['toVersion']=_0x3dc996['toVersion']),null!=_0x3dc996['fromVersion']&&_0x3dc996['hasOwnProperty']('fromVersion')&&(_0x4fc7cd['fromVersion']=_0x3dc996['fromVersion']),null!=_0x3dc996['isEmptyCurrent']&&_0x3dc996['hasOwnProperty']('isEmptyCurrent')&&(_0x4fc7cd['isEmptyCurrent']=_0x3dc996['isEmptyCurrent']),_0x4fc7cd;},_0x42d41c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x42d41c['getTypeUrl']=function(_0x6c5b97){return void 0x0===_0x6c5b97&&(_0x6c5b97='type.googleapis.com'),_0x6c5b97+'/RevisionHistoryGetRevisionResponse';},_0x42d41c;}()),_0x37f903['RevisionHistoryConnectResponse']=(function(){function _0xc03972(_0x4ec887){if(this['revisions']=[],_0x4ec887){for(var _0x3c6517=Object['keys'](_0x4ec887),_0x4686d4=0x0;_0x4686d4<_0x3c6517['length'];++_0x4686d4)null!=_0x4ec887[_0x3c6517[_0x4686d4]]&&(this[_0x3c6517[_0x4686d4]]=_0x4ec887[_0x3c6517[_0x4686d4]]);}}return _0xc03972['prototype']['channel']='',_0xc03972['prototype']['requestId']=0x0,_0xc03972['prototype']['revisions']=_0x2e4f36['emptyArray'],_0xc03972['create']=function(_0x1d0d55){return new _0xc03972(_0x1d0d55);},_0xc03972['encode']=function(_0x2561eb,_0x368650){if(_0x368650||(_0x368650=_0x186223['create']()),null!=_0x2561eb['channel']&&Object['hasOwnProperty']['call'](_0x2561eb,'channel')&&_0x368650['uint32'](0xa)['string'](_0x2561eb['channel']),null!=_0x2561eb['requestId']&&Object['hasOwnProperty']['call'](_0x2561eb,'requestId')&&_0x368650['uint32'](0x10)['uint32'](_0x2561eb['requestId']),null!=_0x2561eb['revisions']&&_0x2561eb['revisions']['length']){for(var _0x322d02=0x0;_0x322d02<_0x2561eb['revisions']['length'];++_0x322d02)_0x37f903['RevisionDescriptor']['encode'](_0x2561eb['revisions'][_0x322d02],_0x368650['uint32'](0x1a)['fork']())['ldelim']();}return _0x368650;},_0xc03972['encodeDelimited']=function(_0x20e44d,_0x434c93){return this['encode'](_0x20e44d,_0x434c93)['ldelim']();},_0xc03972['decode']=function(_0x2c4e01,_0x33abe8,_0x2e4889){_0x2c4e01 instanceof _0x57f37b||(_0x2c4e01=_0x57f37b['create'](_0x2c4e01));for(var _0x1492d0=void 0x0===_0x33abe8?_0x2c4e01['len']:_0x2c4e01['pos']+_0x33abe8,_0x2c793d=new _0x37f903['RevisionHistoryConnectResponse']();_0x2c4e01['pos']<_0x1492d0;){var _0x18c28b=_0x2c4e01['uint32']();if(_0x18c28b===_0x2e4889)break;switch(_0x18c28b>>>0x3){case 0x1:_0x2c793d['channel']=_0x2c4e01['string']();break;case 0x2:_0x2c793d['requestId']=_0x2c4e01['uint32']();break;case 0x3:_0x2c793d['revisions']&&_0x2c793d['revisions']['length']||(_0x2c793d['revisions']=[]),_0x2c793d['revisions']['push'](_0x37f903['RevisionDescriptor']['decode'](_0x2c4e01,_0x2c4e01['uint32']()));break;default:_0x2c4e01['skipType'](0x7&_0x18c28b);}}return _0x2c793d;},_0xc03972['decodeDelimited']=function(_0x6859de){return _0x6859de instanceof _0x57f37b||(_0x6859de=new _0x57f37b(_0x6859de)),this['decode'](_0x6859de,_0x6859de['uint32']());},_0xc03972['verify']=function(_0x47c007){if('object'!=typeof _0x47c007||null===_0x47c007)return'object\x20expected';if(null!=_0x47c007['channel']&&_0x47c007['hasOwnProperty']('channel')&&!_0x2e4f36['isString'](_0x47c007['channel']))return'channel:\x20string\x20expected';if(null!=_0x47c007['requestId']&&_0x47c007['hasOwnProperty']('requestId')&&!_0x2e4f36['isInteger'](_0x47c007['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x47c007['revisions']&&_0x47c007['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x47c007['revisions']))return'revisions:\x20array\x20expected';for(var _0x255cf3=0x0;_0x255cf3<_0x47c007['revisions']['length'];++_0x255cf3){var _0x59382a=_0x37f903['RevisionDescriptor']['verify'](_0x47c007['revisions'][_0x255cf3]);if(_0x59382a)return'revisions.'+_0x59382a;}}return null;},_0xc03972['fromObject']=function(_0x29473f){if(_0x29473f instanceof _0x37f903['RevisionHistoryConnectResponse'])return _0x29473f;var _0x7b903e=new _0x37f903['RevisionHistoryConnectResponse']();if(null!=_0x29473f['channel']&&(_0x7b903e['channel']=String(_0x29473f['channel'])),null!=_0x29473f['requestId']&&(_0x7b903e['requestId']=_0x29473f['requestId']>>>0x0),_0x29473f['revisions']){if(!Array['isArray'](_0x29473f['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x7b903e['revisions']=[];for(var _0x499370=0x0;_0x499370<_0x29473f['revisions']['length'];++_0x499370){if('object'!=typeof _0x29473f['revisions'][_0x499370])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x7b903e['revisions'][_0x499370]=_0x37f903['RevisionDescriptor']['fromObject'](_0x29473f['revisions'][_0x499370]);}}return _0x7b903e;},_0xc03972['toObject']=function(_0x35f33d,_0x47b9c9){_0x47b9c9||(_0x47b9c9={});var _0x4b56cc={};if((_0x47b9c9['arrays']||_0x47b9c9['defaults'])&&(_0x4b56cc['revisions']=[]),_0x47b9c9['defaults']&&(_0x4b56cc['channel']='',_0x4b56cc['requestId']=0x0),null!=_0x35f33d['channel']&&_0x35f33d['hasOwnProperty']('channel')&&(_0x4b56cc['channel']=_0x35f33d['channel']),null!=_0x35f33d['requestId']&&_0x35f33d['hasOwnProperty']('requestId')&&(_0x4b56cc['requestId']=_0x35f33d['requestId']),_0x35f33d['revisions']&&_0x35f33d['revisions']['length']){_0x4b56cc['revisions']=[];for(var _0x1c5661=0x0;_0x1c5661<_0x35f33d['revisions']['length'];++_0x1c5661)_0x4b56cc['revisions'][_0x1c5661]=_0x37f903['RevisionDescriptor']['toObject'](_0x35f33d['revisions'][_0x1c5661],_0x47b9c9);}return _0x4b56cc;},_0xc03972['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xc03972['getTypeUrl']=function(_0x2e8633){return void 0x0===_0x2e8633&&(_0x2e8633='type.googleapis.com'),_0x2e8633+'/RevisionHistoryConnectResponse';},_0xc03972;}()),_0x37f903['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x5b32b6(_0x25ca1e){if(this['revisions']=[],_0x25ca1e){for(var _0x36d6ed=Object['keys'](_0x25ca1e),_0x3f19cb=0x0;_0x3f19cb<_0x36d6ed['length'];++_0x3f19cb)null!=_0x25ca1e[_0x36d6ed[_0x3f19cb]]&&(this[_0x36d6ed[_0x3f19cb]]=_0x25ca1e[_0x36d6ed[_0x3f19cb]]);}}return _0x5b32b6['prototype']['documentId']='',_0x5b32b6['prototype']['requestId']=0x0,_0x5b32b6['prototype']['revisions']=_0x2e4f36['emptyArray'],_0x5b32b6['create']=function(_0x28146d){return new _0x5b32b6(_0x28146d);},_0x5b32b6['encode']=function(_0x4f09ab,_0x3d4c40){if(_0x3d4c40||(_0x3d4c40=_0x186223['create']()),null!=_0x4f09ab['documentId']&&Object['hasOwnProperty']['call'](_0x4f09ab,'documentId')&&_0x3d4c40['uint32'](0xa)['string'](_0x4f09ab['documentId']),null!=_0x4f09ab['requestId']&&Object['hasOwnProperty']['call'](_0x4f09ab,'requestId')&&_0x3d4c40['uint32'](0x10)['uint32'](_0x4f09ab['requestId']),null!=_0x4f09ab['revisions']&&_0x4f09ab['revisions']['length']){for(var _0x42fd47=0x0;_0x42fd47<_0x4f09ab['revisions']['length'];++_0x42fd47)_0x37f903['RevisionDescriptor']['encode'](_0x4f09ab['revisions'][_0x42fd47],_0x3d4c40['uint32'](0x1a)['fork']())['ldelim']();}return _0x3d4c40;},_0x5b32b6['encodeDelimited']=function(_0x23fc7a,_0x9bf303){return this['encode'](_0x23fc7a,_0x9bf303)['ldelim']();},_0x5b32b6['decode']=function(_0xc651c4,_0x3d3900,_0x3350cc){_0xc651c4 instanceof _0x57f37b||(_0xc651c4=_0x57f37b['create'](_0xc651c4));for(var _0x3b58e3=void 0x0===_0x3d3900?_0xc651c4['len']:_0xc651c4['pos']+_0x3d3900,_0x89144=new _0x37f903['RevisionHistoryUpdateRevisionsMessage']();_0xc651c4['pos']<_0x3b58e3;){var _0x5451a9=_0xc651c4['uint32']();if(_0x5451a9===_0x3350cc)break;switch(_0x5451a9>>>0x3){case 0x1:_0x89144['documentId']=_0xc651c4['string']();break;case 0x2:_0x89144['requestId']=_0xc651c4['uint32']();break;case 0x3:_0x89144['revisions']&&_0x89144['revisions']['length']||(_0x89144['revisions']=[]),_0x89144['revisions']['push'](_0x37f903['RevisionDescriptor']['decode'](_0xc651c4,_0xc651c4['uint32']()));break;default:_0xc651c4['skipType'](0x7&_0x5451a9);}}return _0x89144;},_0x5b32b6['decodeDelimited']=function(_0x5d0830){return _0x5d0830 instanceof _0x57f37b||(_0x5d0830=new _0x57f37b(_0x5d0830)),this['decode'](_0x5d0830,_0x5d0830['uint32']());},_0x5b32b6['verify']=function(_0x36dd0a){if('object'!=typeof _0x36dd0a||null===_0x36dd0a)return'object\x20expected';if(null!=_0x36dd0a['documentId']&&_0x36dd0a['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x36dd0a['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x36dd0a['requestId']&&_0x36dd0a['hasOwnProperty']('requestId')&&!_0x2e4f36['isInteger'](_0x36dd0a['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x36dd0a['revisions']&&_0x36dd0a['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x36dd0a['revisions']))return'revisions:\x20array\x20expected';for(var _0x263369=0x0;_0x263369<_0x36dd0a['revisions']['length'];++_0x263369){var _0x19910d=_0x37f903['RevisionDescriptor']['verify'](_0x36dd0a['revisions'][_0x263369]);if(_0x19910d)return'revisions.'+_0x19910d;}}return null;},_0x5b32b6['fromObject']=function(_0x3e4892){if(_0x3e4892 instanceof _0x37f903['RevisionHistoryUpdateRevisionsMessage'])return _0x3e4892;var _0x598df0=new _0x37f903['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x3e4892['documentId']&&(_0x598df0['documentId']=String(_0x3e4892['documentId'])),null!=_0x3e4892['requestId']&&(_0x598df0['requestId']=_0x3e4892['requestId']>>>0x0),_0x3e4892['revisions']){if(!Array['isArray'](_0x3e4892['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x598df0['revisions']=[];for(var _0x5615e5=0x0;_0x5615e5<_0x3e4892['revisions']['length'];++_0x5615e5){if('object'!=typeof _0x3e4892['revisions'][_0x5615e5])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x598df0['revisions'][_0x5615e5]=_0x37f903['RevisionDescriptor']['fromObject'](_0x3e4892['revisions'][_0x5615e5]);}}return _0x598df0;},_0x5b32b6['toObject']=function(_0x40eb73,_0xbecaba){_0xbecaba||(_0xbecaba={});var _0x2ef807={};if((_0xbecaba['arrays']||_0xbecaba['defaults'])&&(_0x2ef807['revisions']=[]),_0xbecaba['defaults']&&(_0x2ef807['documentId']='',_0x2ef807['requestId']=0x0),null!=_0x40eb73['documentId']&&_0x40eb73['hasOwnProperty']('documentId')&&(_0x2ef807['documentId']=_0x40eb73['documentId']),null!=_0x40eb73['requestId']&&_0x40eb73['hasOwnProperty']('requestId')&&(_0x2ef807['requestId']=_0x40eb73['requestId']),_0x40eb73['revisions']&&_0x40eb73['revisions']['length']){_0x2ef807['revisions']=[];for(var _0x189129=0x0;_0x189129<_0x40eb73['revisions']['length'];++_0x189129)_0x2ef807['revisions'][_0x189129]=_0x37f903['RevisionDescriptor']['toObject'](_0x40eb73['revisions'][_0x189129],_0xbecaba);}return _0x2ef807;},_0x5b32b6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5b32b6['getTypeUrl']=function(_0x5c1814){return void 0x0===_0x5c1814&&(_0x5c1814='type.googleapis.com'),_0x5c1814+'/RevisionHistoryUpdateRevisionsMessage';},_0x5b32b6;}()),_0x37f903['RevisionHistoryReconnectMessage']=(function(){function _0x2a1626(_0x16d245){if(_0x16d245){for(var _0x1ceae8=Object['keys'](_0x16d245),_0x4aef0e=0x0;_0x4aef0e<_0x1ceae8['length'];++_0x4aef0e)null!=_0x16d245[_0x1ceae8[_0x4aef0e]]&&(this[_0x1ceae8[_0x4aef0e]]=_0x16d245[_0x1ceae8[_0x4aef0e]]);}}return _0x2a1626['prototype']['documentId']='',_0x2a1626['prototype']['requestId']=0x0,_0x2a1626['create']=function(_0xb63823){return new _0x2a1626(_0xb63823);},_0x2a1626['encode']=function(_0x502eaa,_0x483417){return _0x483417||(_0x483417=_0x186223['create']()),null!=_0x502eaa['documentId']&&Object['hasOwnProperty']['call'](_0x502eaa,'documentId')&&_0x483417['uint32'](0xa)['string'](_0x502eaa['documentId']),null!=_0x502eaa['requestId']&&Object['hasOwnProperty']['call'](_0x502eaa,'requestId')&&_0x483417['uint32'](0x10)['uint32'](_0x502eaa['requestId']),_0x483417;},_0x2a1626['encodeDelimited']=function(_0x597ee0,_0x49b81e){return this['encode'](_0x597ee0,_0x49b81e)['ldelim']();},_0x2a1626['decode']=function(_0x193872,_0x168f5f,_0x5f2528){_0x193872 instanceof _0x57f37b||(_0x193872=_0x57f37b['create'](_0x193872));for(var _0x1bbbb3=void 0x0===_0x168f5f?_0x193872['len']:_0x193872['pos']+_0x168f5f,_0x104e90=new _0x37f903['RevisionHistoryReconnectMessage']();_0x193872['pos']<_0x1bbbb3;){var _0x38a2f0=_0x193872['uint32']();if(_0x38a2f0===_0x5f2528)break;switch(_0x38a2f0>>>0x3){case 0x1:_0x104e90['documentId']=_0x193872['string']();break;case 0x2:_0x104e90['requestId']=_0x193872['uint32']();break;default:_0x193872['skipType'](0x7&_0x38a2f0);}}return _0x104e90;},_0x2a1626['decodeDelimited']=function(_0x50de51){return _0x50de51 instanceof _0x57f37b||(_0x50de51=new _0x57f37b(_0x50de51)),this['decode'](_0x50de51,_0x50de51['uint32']());},_0x2a1626['verify']=function(_0x1f40b2){return'object'!=typeof _0x1f40b2||null===_0x1f40b2?'object\x20expected':null!=_0x1f40b2['documentId']&&_0x1f40b2['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x1f40b2['documentId'])?'documentId:\x20string\x20expected':null!=_0x1f40b2['requestId']&&_0x1f40b2['hasOwnProperty']('requestId')&&!_0x2e4f36['isInteger'](_0x1f40b2['requestId'])?'requestId:\x20integer\x20expected':null;},_0x2a1626['fromObject']=function(_0x502866){if(_0x502866 instanceof _0x37f903['RevisionHistoryReconnectMessage'])return _0x502866;var _0x2b8a8c=new _0x37f903['RevisionHistoryReconnectMessage']();return null!=_0x502866['documentId']&&(_0x2b8a8c['documentId']=String(_0x502866['documentId'])),null!=_0x502866['requestId']&&(_0x2b8a8c['requestId']=_0x502866['requestId']>>>0x0),_0x2b8a8c;},_0x2a1626['toObject']=function(_0x1042a4,_0x53223f){_0x53223f||(_0x53223f={});var _0x4ec6c0={};return _0x53223f['defaults']&&(_0x4ec6c0['documentId']='',_0x4ec6c0['requestId']=0x0),null!=_0x1042a4['documentId']&&_0x1042a4['hasOwnProperty']('documentId')&&(_0x4ec6c0['documentId']=_0x1042a4['documentId']),null!=_0x1042a4['requestId']&&_0x1042a4['hasOwnProperty']('requestId')&&(_0x4ec6c0['requestId']=_0x1042a4['requestId']),_0x4ec6c0;},_0x2a1626['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2a1626['getTypeUrl']=function(_0x1f94e5){return void 0x0===_0x1f94e5&&(_0x1f94e5='type.googleapis.com'),_0x1f94e5+'/RevisionHistoryReconnectMessage';},_0x2a1626;}()),_0x37f903['RevisionHistoryGetRevisionMessage']=(function(){function _0x186321(_0x4dd277){if(_0x4dd277){for(var _0x1754d7=Object['keys'](_0x4dd277),_0x2ca1d4=0x0;_0x2ca1d4<_0x1754d7['length'];++_0x2ca1d4)null!=_0x4dd277[_0x1754d7[_0x2ca1d4]]&&(this[_0x1754d7[_0x2ca1d4]]=_0x4dd277[_0x1754d7[_0x2ca1d4]]);}}return _0x186321['prototype']['documentId']='',_0x186321['prototype']['revisionId']='',_0x186321['create']=function(_0x42a8aa){return new _0x186321(_0x42a8aa);},_0x186321['encode']=function(_0x3bf8a7,_0x165e60){return _0x165e60||(_0x165e60=_0x186223['create']()),null!=_0x3bf8a7['documentId']&&Object['hasOwnProperty']['call'](_0x3bf8a7,'documentId')&&_0x165e60['uint32'](0xa)['string'](_0x3bf8a7['documentId']),null!=_0x3bf8a7['revisionId']&&Object['hasOwnProperty']['call'](_0x3bf8a7,'revisionId')&&_0x165e60['uint32'](0x12)['string'](_0x3bf8a7['revisionId']),_0x165e60;},_0x186321['encodeDelimited']=function(_0x567c3e,_0x14867c){return this['encode'](_0x567c3e,_0x14867c)['ldelim']();},_0x186321['decode']=function(_0x47405c,_0xb1465f,_0x57e1a3){_0x47405c instanceof _0x57f37b||(_0x47405c=_0x57f37b['create'](_0x47405c));for(var _0x2a9242=void 0x0===_0xb1465f?_0x47405c['len']:_0x47405c['pos']+_0xb1465f,_0x1320e3=new _0x37f903['RevisionHistoryGetRevisionMessage']();_0x47405c['pos']<_0x2a9242;){var _0x3bceeb=_0x47405c['uint32']();if(_0x3bceeb===_0x57e1a3)break;switch(_0x3bceeb>>>0x3){case 0x1:_0x1320e3['documentId']=_0x47405c['string']();break;case 0x2:_0x1320e3['revisionId']=_0x47405c['string']();break;default:_0x47405c['skipType'](0x7&_0x3bceeb);}}return _0x1320e3;},_0x186321['decodeDelimited']=function(_0x6bea36){return _0x6bea36 instanceof _0x57f37b||(_0x6bea36=new _0x57f37b(_0x6bea36)),this['decode'](_0x6bea36,_0x6bea36['uint32']());},_0x186321['verify']=function(_0x5c9fe0){return'object'!=typeof _0x5c9fe0||null===_0x5c9fe0?'object\x20expected':null!=_0x5c9fe0['documentId']&&_0x5c9fe0['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x5c9fe0['documentId'])?'documentId:\x20string\x20expected':null!=_0x5c9fe0['revisionId']&&_0x5c9fe0['hasOwnProperty']('revisionId')&&!_0x2e4f36['isString'](_0x5c9fe0['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x186321['fromObject']=function(_0x10a14f){if(_0x10a14f instanceof _0x37f903['RevisionHistoryGetRevisionMessage'])return _0x10a14f;var _0x17bdbe=new _0x37f903['RevisionHistoryGetRevisionMessage']();return null!=_0x10a14f['documentId']&&(_0x17bdbe['documentId']=String(_0x10a14f['documentId'])),null!=_0x10a14f['revisionId']&&(_0x17bdbe['revisionId']=String(_0x10a14f['revisionId'])),_0x17bdbe;},_0x186321['toObject']=function(_0x566c4b,_0x31f8e1){_0x31f8e1||(_0x31f8e1={});var _0x50997f={};return _0x31f8e1['defaults']&&(_0x50997f['documentId']='',_0x50997f['revisionId']=''),null!=_0x566c4b['documentId']&&_0x566c4b['hasOwnProperty']('documentId')&&(_0x50997f['documentId']=_0x566c4b['documentId']),null!=_0x566c4b['revisionId']&&_0x566c4b['hasOwnProperty']('revisionId')&&(_0x50997f['revisionId']=_0x566c4b['revisionId']),_0x50997f;},_0x186321['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x186321['getTypeUrl']=function(_0x30e220){return void 0x0===_0x30e220&&(_0x30e220='type.googleapis.com'),_0x30e220+'/RevisionHistoryGetRevisionMessage';},_0x186321;}()),_0x37f903['RevisionHistoryConnectMessage']=(function(){function _0x525d88(_0x5eaeba){if(_0x5eaeba){for(var _0x56fee6=Object['keys'](_0x5eaeba),_0x21fed3=0x0;_0x21fed3<_0x56fee6['length'];++_0x21fed3)null!=_0x5eaeba[_0x56fee6[_0x21fed3]]&&(this[_0x56fee6[_0x21fed3]]=_0x5eaeba[_0x56fee6[_0x21fed3]]);}}return _0x525d88['prototype']['documentId']='',_0x525d88['create']=function(_0x1a79a5){return new _0x525d88(_0x1a79a5);},_0x525d88['encode']=function(_0xaaf4b,_0x203bbc){return _0x203bbc||(_0x203bbc=_0x186223['create']()),null!=_0xaaf4b['documentId']&&Object['hasOwnProperty']['call'](_0xaaf4b,'documentId')&&_0x203bbc['uint32'](0xa)['string'](_0xaaf4b['documentId']),_0x203bbc;},_0x525d88['encodeDelimited']=function(_0x5656a7,_0x10482f){return this['encode'](_0x5656a7,_0x10482f)['ldelim']();},_0x525d88['decode']=function(_0x102318,_0x1cb39f,_0x16ded2){_0x102318 instanceof _0x57f37b||(_0x102318=_0x57f37b['create'](_0x102318));for(var _0x38cb4f=void 0x0===_0x1cb39f?_0x102318['len']:_0x102318['pos']+_0x1cb39f,_0x1edf73=new _0x37f903['RevisionHistoryConnectMessage']();_0x102318['pos']<_0x38cb4f;){var _0x1f3db6=_0x102318['uint32']();if(_0x1f3db6===_0x16ded2)break;_0x1f3db6>>>0x3==0x1?_0x1edf73['documentId']=_0x102318['string']():_0x102318['skipType'](0x7&_0x1f3db6);}return _0x1edf73;},_0x525d88['decodeDelimited']=function(_0x3c42db){return _0x3c42db instanceof _0x57f37b||(_0x3c42db=new _0x57f37b(_0x3c42db)),this['decode'](_0x3c42db,_0x3c42db['uint32']());},_0x525d88['verify']=function(_0x18e142){return'object'!=typeof _0x18e142||null===_0x18e142?'object\x20expected':null!=_0x18e142['documentId']&&_0x18e142['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x18e142['documentId'])?'documentId:\x20string\x20expected':null;},_0x525d88['fromObject']=function(_0x354de7){if(_0x354de7 instanceof _0x37f903['RevisionHistoryConnectMessage'])return _0x354de7;var _0x11049e=new _0x37f903['RevisionHistoryConnectMessage']();return null!=_0x354de7['documentId']&&(_0x11049e['documentId']=String(_0x354de7['documentId'])),_0x11049e;},_0x525d88['toObject']=function(_0x4f4ce6,_0x5f276b){_0x5f276b||(_0x5f276b={});var _0x510a3e={};return _0x5f276b['defaults']&&(_0x510a3e['documentId']=''),null!=_0x4f4ce6['documentId']&&_0x4f4ce6['hasOwnProperty']('documentId')&&(_0x510a3e['documentId']=_0x4f4ce6['documentId']),_0x510a3e;},_0x525d88['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x525d88['getTypeUrl']=function(_0x30c0b8){return void 0x0===_0x30c0b8&&(_0x30c0b8='type.googleapis.com'),_0x30c0b8+'/RevisionHistoryConnectMessage';},_0x525d88;}()),_0x37f903['RevisionDescriptor']=(function(){function _0xce2c50(_0x1bcec6){if(_0x1bcec6){for(var _0x49cf15=Object['keys'](_0x1bcec6),_0x1d4941=0x0;_0x1d4941<_0x49cf15['length'];++_0x1d4941)null!=_0x1bcec6[_0x49cf15[_0x1d4941]]&&(this[_0x49cf15[_0x1d4941]]=_0x1bcec6[_0x49cf15[_0x1d4941]]);}}return _0xce2c50['prototype']['revisionId']='',_0xce2c50['prototype']['name']='',_0xce2c50['prototype']['creatorId']='',_0xce2c50['prototype']['authorsIds']='',_0xce2c50['prototype']['diffData']='',_0xce2c50['prototype']['createdAt']='',_0xce2c50['prototype']['attributes']='',_0xce2c50['prototype']['toVersion']=0x0,_0xce2c50['prototype']['fromVersion']=0x0,_0xce2c50['prototype']['isEmptyCurrent']=!0x1,_0xce2c50['create']=function(_0x19bd24){return new _0xce2c50(_0x19bd24);},_0xce2c50['encode']=function(_0x13ee4d,_0x5d9047){return _0x5d9047||(_0x5d9047=_0x186223['create']()),null!=_0x13ee4d['revisionId']&&Object['hasOwnProperty']['call'](_0x13ee4d,'revisionId')&&_0x5d9047['uint32'](0xa)['string'](_0x13ee4d['revisionId']),null!=_0x13ee4d['name']&&Object['hasOwnProperty']['call'](_0x13ee4d,'name')&&_0x5d9047['uint32'](0x12)['string'](_0x13ee4d['name']),null!=_0x13ee4d['creatorId']&&Object['hasOwnProperty']['call'](_0x13ee4d,'creatorId')&&_0x5d9047['uint32'](0x1a)['string'](_0x13ee4d['creatorId']),null!=_0x13ee4d['authorsIds']&&Object['hasOwnProperty']['call'](_0x13ee4d,'authorsIds')&&_0x5d9047['uint32'](0x22)['string'](_0x13ee4d['authorsIds']),null!=_0x13ee4d['diffData']&&Object['hasOwnProperty']['call'](_0x13ee4d,'diffData')&&_0x5d9047['uint32'](0x2a)['string'](_0x13ee4d['diffData']),null!=_0x13ee4d['createdAt']&&Object['hasOwnProperty']['call'](_0x13ee4d,'createdAt')&&_0x5d9047['uint32'](0x32)['string'](_0x13ee4d['createdAt']),null!=_0x13ee4d['attributes']&&Object['hasOwnProperty']['call'](_0x13ee4d,'attributes')&&_0x5d9047['uint32'](0x3a)['string'](_0x13ee4d['attributes']),null!=_0x13ee4d['toVersion']&&Object['hasOwnProperty']['call'](_0x13ee4d,'toVersion')&&_0x5d9047['uint32'](0x40)['uint32'](_0x13ee4d['toVersion']),null!=_0x13ee4d['fromVersion']&&Object['hasOwnProperty']['call'](_0x13ee4d,'fromVersion')&&_0x5d9047['uint32'](0x48)['uint32'](_0x13ee4d['fromVersion']),null!=_0x13ee4d['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x13ee4d,'isEmptyCurrent')&&_0x5d9047['uint32'](0x50)['bool'](_0x13ee4d['isEmptyCurrent']),_0x5d9047;},_0xce2c50['encodeDelimited']=function(_0x1880e2,_0x3bad91){return this['encode'](_0x1880e2,_0x3bad91)['ldelim']();},_0xce2c50['decode']=function(_0x1e70de,_0x5db15b,_0x317487){_0x1e70de instanceof _0x57f37b||(_0x1e70de=_0x57f37b['create'](_0x1e70de));for(var _0x2c5949=void 0x0===_0x5db15b?_0x1e70de['len']:_0x1e70de['pos']+_0x5db15b,_0x334410=new _0x37f903['RevisionDescriptor']();_0x1e70de['pos']<_0x2c5949;){var _0x77d73e=_0x1e70de['uint32']();if(_0x77d73e===_0x317487)break;switch(_0x77d73e>>>0x3){case 0x1:_0x334410['revisionId']=_0x1e70de['string']();break;case 0x2:_0x334410['name']=_0x1e70de['string']();break;case 0x3:_0x334410['creatorId']=_0x1e70de['string']();break;case 0x4:_0x334410['authorsIds']=_0x1e70de['string']();break;case 0x5:_0x334410['diffData']=_0x1e70de['string']();break;case 0x6:_0x334410['createdAt']=_0x1e70de['string']();break;case 0x7:_0x334410['attributes']=_0x1e70de['string']();break;case 0x8:_0x334410['toVersion']=_0x1e70de['uint32']();break;case 0x9:_0x334410['fromVersion']=_0x1e70de['uint32']();break;case 0xa:_0x334410['isEmptyCurrent']=_0x1e70de['bool']();break;default:_0x1e70de['skipType'](0x7&_0x77d73e);}}return _0x334410;},_0xce2c50['decodeDelimited']=function(_0x47393f){return _0x47393f instanceof _0x57f37b||(_0x47393f=new _0x57f37b(_0x47393f)),this['decode'](_0x47393f,_0x47393f['uint32']());},_0xce2c50['verify']=function(_0x4f66bf){return'object'!=typeof _0x4f66bf||null===_0x4f66bf?'object\x20expected':null!=_0x4f66bf['revisionId']&&_0x4f66bf['hasOwnProperty']('revisionId')&&!_0x2e4f36['isString'](_0x4f66bf['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x4f66bf['name']&&_0x4f66bf['hasOwnProperty']('name')&&!_0x2e4f36['isString'](_0x4f66bf['name'])?'name:\x20string\x20expected':null!=_0x4f66bf['creatorId']&&_0x4f66bf['hasOwnProperty']('creatorId')&&!_0x2e4f36['isString'](_0x4f66bf['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x4f66bf['authorsIds']&&_0x4f66bf['hasOwnProperty']('authorsIds')&&!_0x2e4f36['isString'](_0x4f66bf['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x4f66bf['diffData']&&_0x4f66bf['hasOwnProperty']('diffData')&&!_0x2e4f36['isString'](_0x4f66bf['diffData'])?'diffData:\x20string\x20expected':null!=_0x4f66bf['createdAt']&&_0x4f66bf['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x4f66bf['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4f66bf['attributes']&&_0x4f66bf['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x4f66bf['attributes'])?'attributes:\x20string\x20expected':null!=_0x4f66bf['toVersion']&&_0x4f66bf['hasOwnProperty']('toVersion')&&!_0x2e4f36['isInteger'](_0x4f66bf['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x4f66bf['fromVersion']&&_0x4f66bf['hasOwnProperty']('fromVersion')&&!_0x2e4f36['isInteger'](_0x4f66bf['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x4f66bf['isEmptyCurrent']&&_0x4f66bf['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x4f66bf['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0xce2c50['fromObject']=function(_0x89e385){if(_0x89e385 instanceof _0x37f903['RevisionDescriptor'])return _0x89e385;var _0x490778=new _0x37f903['RevisionDescriptor']();return null!=_0x89e385['revisionId']&&(_0x490778['revisionId']=String(_0x89e385['revisionId'])),null!=_0x89e385['name']&&(_0x490778['name']=String(_0x89e385['name'])),null!=_0x89e385['creatorId']&&(_0x490778['creatorId']=String(_0x89e385['creatorId'])),null!=_0x89e385['authorsIds']&&(_0x490778['authorsIds']=String(_0x89e385['authorsIds'])),null!=_0x89e385['diffData']&&(_0x490778['diffData']=String(_0x89e385['diffData'])),null!=_0x89e385['createdAt']&&(_0x490778['createdAt']=String(_0x89e385['createdAt'])),null!=_0x89e385['attributes']&&(_0x490778['attributes']=String(_0x89e385['attributes'])),null!=_0x89e385['toVersion']&&(_0x490778['toVersion']=_0x89e385['toVersion']>>>0x0),null!=_0x89e385['fromVersion']&&(_0x490778['fromVersion']=_0x89e385['fromVersion']>>>0x0),null!=_0x89e385['isEmptyCurrent']&&(_0x490778['isEmptyCurrent']=Boolean(_0x89e385['isEmptyCurrent'])),_0x490778;},_0xce2c50['toObject']=function(_0x39879e,_0x2dd312){_0x2dd312||(_0x2dd312={});var _0x3ddf27={};return _0x2dd312['defaults']&&(_0x3ddf27['revisionId']='',_0x3ddf27['name']='',_0x3ddf27['creatorId']='',_0x3ddf27['authorsIds']='',_0x3ddf27['diffData']='',_0x3ddf27['createdAt']='',_0x3ddf27['attributes']='',_0x3ddf27['toVersion']=0x0,_0x3ddf27['fromVersion']=0x0,_0x3ddf27['isEmptyCurrent']=!0x1),null!=_0x39879e['revisionId']&&_0x39879e['hasOwnProperty']('revisionId')&&(_0x3ddf27['revisionId']=_0x39879e['revisionId']),null!=_0x39879e['name']&&_0x39879e['hasOwnProperty']('name')&&(_0x3ddf27['name']=_0x39879e['name']),null!=_0x39879e['creatorId']&&_0x39879e['hasOwnProperty']('creatorId')&&(_0x3ddf27['creatorId']=_0x39879e['creatorId']),null!=_0x39879e['authorsIds']&&_0x39879e['hasOwnProperty']('authorsIds')&&(_0x3ddf27['authorsIds']=_0x39879e['authorsIds']),null!=_0x39879e['diffData']&&_0x39879e['hasOwnProperty']('diffData')&&(_0x3ddf27['diffData']=_0x39879e['diffData']),null!=_0x39879e['createdAt']&&_0x39879e['hasOwnProperty']('createdAt')&&(_0x3ddf27['createdAt']=_0x39879e['createdAt']),null!=_0x39879e['attributes']&&_0x39879e['hasOwnProperty']('attributes')&&(_0x3ddf27['attributes']=_0x39879e['attributes']),null!=_0x39879e['toVersion']&&_0x39879e['hasOwnProperty']('toVersion')&&(_0x3ddf27['toVersion']=_0x39879e['toVersion']),null!=_0x39879e['fromVersion']&&_0x39879e['hasOwnProperty']('fromVersion')&&(_0x3ddf27['fromVersion']=_0x39879e['fromVersion']),null!=_0x39879e['isEmptyCurrent']&&_0x39879e['hasOwnProperty']('isEmptyCurrent')&&(_0x3ddf27['isEmptyCurrent']=_0x39879e['isEmptyCurrent']),_0x3ddf27;},_0xce2c50['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xce2c50['getTypeUrl']=function(_0x513141){return void 0x0===_0x513141&&(_0x513141='type.googleapis.com'),_0x513141+'/RevisionDescriptor';},_0xce2c50;}()),_0x37f903['IsEditorBundleUploadedResponse']=(function(){function _0x1ced33(_0xffed55){if(_0xffed55){for(var _0x54ff17=Object['keys'](_0xffed55),_0x236732=0x0;_0x236732<_0x54ff17['length'];++_0x236732)null!=_0xffed55[_0x54ff17[_0x236732]]&&(this[_0x54ff17[_0x236732]]=_0xffed55[_0x54ff17[_0x236732]]);}}return _0x1ced33['prototype']['isUploaded']=!0x1,_0x1ced33['create']=function(_0x3af452){return new _0x1ced33(_0x3af452);},_0x1ced33['encode']=function(_0x4602a0,_0x4aad2d){return _0x4aad2d||(_0x4aad2d=_0x186223['create']()),null!=_0x4602a0['isUploaded']&&Object['hasOwnProperty']['call'](_0x4602a0,'isUploaded')&&_0x4aad2d['uint32'](0x8)['bool'](_0x4602a0['isUploaded']),_0x4aad2d;},_0x1ced33['encodeDelimited']=function(_0x15722f,_0x31164b){return this['encode'](_0x15722f,_0x31164b)['ldelim']();},_0x1ced33['decode']=function(_0x3fff51,_0x4dce56,_0x13ad87){_0x3fff51 instanceof _0x57f37b||(_0x3fff51=_0x57f37b['create'](_0x3fff51));for(var _0x4adb14=void 0x0===_0x4dce56?_0x3fff51['len']:_0x3fff51['pos']+_0x4dce56,_0x3b1d75=new _0x37f903['IsEditorBundleUploadedResponse']();_0x3fff51['pos']<_0x4adb14;){var _0x3582d9=_0x3fff51['uint32']();if(_0x3582d9===_0x13ad87)break;_0x3582d9>>>0x3==0x1?_0x3b1d75['isUploaded']=_0x3fff51['bool']():_0x3fff51['skipType'](0x7&_0x3582d9);}return _0x3b1d75;},_0x1ced33['decodeDelimited']=function(_0x2f5ba){return _0x2f5ba instanceof _0x57f37b||(_0x2f5ba=new _0x57f37b(_0x2f5ba)),this['decode'](_0x2f5ba,_0x2f5ba['uint32']());},_0x1ced33['verify']=function(_0x6ca9c2){return'object'!=typeof _0x6ca9c2||null===_0x6ca9c2?'object\x20expected':null!=_0x6ca9c2['isUploaded']&&_0x6ca9c2['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x6ca9c2['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x1ced33['fromObject']=function(_0x25276b){if(_0x25276b instanceof _0x37f903['IsEditorBundleUploadedResponse'])return _0x25276b;var _0x1a90ac=new _0x37f903['IsEditorBundleUploadedResponse']();return null!=_0x25276b['isUploaded']&&(_0x1a90ac['isUploaded']=Boolean(_0x25276b['isUploaded'])),_0x1a90ac;},_0x1ced33['toObject']=function(_0x2d04a9,_0xdd70bb){_0xdd70bb||(_0xdd70bb={});var _0x191050={};return _0xdd70bb['defaults']&&(_0x191050['isUploaded']=!0x1),null!=_0x2d04a9['isUploaded']&&_0x2d04a9['hasOwnProperty']('isUploaded')&&(_0x191050['isUploaded']=_0x2d04a9['isUploaded']),_0x191050;},_0x1ced33['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1ced33['getTypeUrl']=function(_0x334dac){return void 0x0===_0x334dac&&(_0x334dac='type.googleapis.com'),_0x334dac+'/IsEditorBundleUploadedResponse';},_0x1ced33;}()),_0x37f903['IsEditorBundleUploadedMessage']=(function(){function _0x25b11e(_0x5c1f44){if(_0x5c1f44){for(var _0x28973d=Object['keys'](_0x5c1f44),_0x4a3876=0x0;_0x4a3876<_0x28973d['length'];++_0x4a3876)null!=_0x5c1f44[_0x28973d[_0x4a3876]]&&(this[_0x28973d[_0x4a3876]]=_0x5c1f44[_0x28973d[_0x4a3876]]);}}return _0x25b11e['prototype']['bundleVersion']='',_0x25b11e['create']=function(_0x6280b5){return new _0x25b11e(_0x6280b5);},_0x25b11e['encode']=function(_0x56ce81,_0x1e7dd8){return _0x1e7dd8||(_0x1e7dd8=_0x186223['create']()),null!=_0x56ce81['bundleVersion']&&Object['hasOwnProperty']['call'](_0x56ce81,'bundleVersion')&&_0x1e7dd8['uint32'](0xa)['string'](_0x56ce81['bundleVersion']),_0x1e7dd8;},_0x25b11e['encodeDelimited']=function(_0x210092,_0x40f6c4){return this['encode'](_0x210092,_0x40f6c4)['ldelim']();},_0x25b11e['decode']=function(_0x587471,_0x5b87b8,_0x1e238e){_0x587471 instanceof _0x57f37b||(_0x587471=_0x57f37b['create'](_0x587471));for(var _0x3be76e=void 0x0===_0x5b87b8?_0x587471['len']:_0x587471['pos']+_0x5b87b8,_0x129f7d=new _0x37f903['IsEditorBundleUploadedMessage']();_0x587471['pos']<_0x3be76e;){var _0x2bafb1=_0x587471['uint32']();if(_0x2bafb1===_0x1e238e)break;_0x2bafb1>>>0x3==0x1?_0x129f7d['bundleVersion']=_0x587471['string']():_0x587471['skipType'](0x7&_0x2bafb1);}return _0x129f7d;},_0x25b11e['decodeDelimited']=function(_0xcaf3d8){return _0xcaf3d8 instanceof _0x57f37b||(_0xcaf3d8=new _0x57f37b(_0xcaf3d8)),this['decode'](_0xcaf3d8,_0xcaf3d8['uint32']());},_0x25b11e['verify']=function(_0x359421){return'object'!=typeof _0x359421||null===_0x359421?'object\x20expected':null!=_0x359421['bundleVersion']&&_0x359421['hasOwnProperty']('bundleVersion')&&!_0x2e4f36['isString'](_0x359421['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x25b11e['fromObject']=function(_0x117864){if(_0x117864 instanceof _0x37f903['IsEditorBundleUploadedMessage'])return _0x117864;var _0x56bd50=new _0x37f903['IsEditorBundleUploadedMessage']();return null!=_0x117864['bundleVersion']&&(_0x56bd50['bundleVersion']=String(_0x117864['bundleVersion'])),_0x56bd50;},_0x25b11e['toObject']=function(_0x486bac,_0x492cdd){_0x492cdd||(_0x492cdd={});var _0x107d03={};return _0x492cdd['defaults']&&(_0x107d03['bundleVersion']=''),null!=_0x486bac['bundleVersion']&&_0x486bac['hasOwnProperty']('bundleVersion')&&(_0x107d03['bundleVersion']=_0x486bac['bundleVersion']),_0x107d03;},_0x25b11e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x25b11e['getTypeUrl']=function(_0x481b1f){return void 0x0===_0x481b1f&&(_0x481b1f='type.googleapis.com'),_0x481b1f+'/IsEditorBundleUploadedMessage';},_0x25b11e;}()),_0x37f903['KeyValueDescriptor']=(function(){function _0x110e37(_0x12ab7d){if(_0x12ab7d){for(var _0x145468=Object['keys'](_0x12ab7d),_0x1356c0=0x0;_0x1356c0<_0x145468['length'];++_0x1356c0)null!=_0x12ab7d[_0x145468[_0x1356c0]]&&(this[_0x145468[_0x1356c0]]=_0x12ab7d[_0x145468[_0x1356c0]]);}}return _0x110e37['prototype']['key']='',_0x110e37['prototype']['value']='',_0x110e37['create']=function(_0x145573){return new _0x110e37(_0x145573);},_0x110e37['encode']=function(_0x125786,_0x224764){return _0x224764||(_0x224764=_0x186223['create']()),null!=_0x125786['key']&&Object['hasOwnProperty']['call'](_0x125786,'key')&&_0x224764['uint32'](0xa)['string'](_0x125786['key']),null!=_0x125786['value']&&Object['hasOwnProperty']['call'](_0x125786,'value')&&_0x224764['uint32'](0x12)['string'](_0x125786['value']),_0x224764;},_0x110e37['encodeDelimited']=function(_0x2fdb68,_0x453058){return this['encode'](_0x2fdb68,_0x453058)['ldelim']();},_0x110e37['decode']=function(_0x239684,_0xc44528,_0x34696c){_0x239684 instanceof _0x57f37b||(_0x239684=_0x57f37b['create'](_0x239684));for(var _0x22429b=void 0x0===_0xc44528?_0x239684['len']:_0x239684['pos']+_0xc44528,_0x2c45c3=new _0x37f903['KeyValueDescriptor']();_0x239684['pos']<_0x22429b;){var _0xf2e252=_0x239684['uint32']();if(_0xf2e252===_0x34696c)break;switch(_0xf2e252>>>0x3){case 0x1:_0x2c45c3['key']=_0x239684['string']();break;case 0x2:_0x2c45c3['value']=_0x239684['string']();break;default:_0x239684['skipType'](0x7&_0xf2e252);}}return _0x2c45c3;},_0x110e37['decodeDelimited']=function(_0x1fa21f){return _0x1fa21f instanceof _0x57f37b||(_0x1fa21f=new _0x57f37b(_0x1fa21f)),this['decode'](_0x1fa21f,_0x1fa21f['uint32']());},_0x110e37['verify']=function(_0x1f9e02){return'object'!=typeof _0x1f9e02||null===_0x1f9e02?'object\x20expected':null!=_0x1f9e02['key']&&_0x1f9e02['hasOwnProperty']('key')&&!_0x2e4f36['isString'](_0x1f9e02['key'])?'key:\x20string\x20expected':null!=_0x1f9e02['value']&&_0x1f9e02['hasOwnProperty']('value')&&!_0x2e4f36['isString'](_0x1f9e02['value'])?'value:\x20string\x20expected':null;},_0x110e37['fromObject']=function(_0x2f37b6){if(_0x2f37b6 instanceof _0x37f903['KeyValueDescriptor'])return _0x2f37b6;var _0x466f4e=new _0x37f903['KeyValueDescriptor']();return null!=_0x2f37b6['key']&&(_0x466f4e['key']=String(_0x2f37b6['key'])),null!=_0x2f37b6['value']&&(_0x466f4e['value']=String(_0x2f37b6['value'])),_0x466f4e;},_0x110e37['toObject']=function(_0x11d81d,_0x58773d){_0x58773d||(_0x58773d={});var _0x3c3720={};return _0x58773d['defaults']&&(_0x3c3720['key']='',_0x3c3720['value']=''),null!=_0x11d81d['key']&&_0x11d81d['hasOwnProperty']('key')&&(_0x3c3720['key']=_0x11d81d['key']),null!=_0x11d81d['value']&&_0x11d81d['hasOwnProperty']('value')&&(_0x3c3720['value']=_0x11d81d['value']),_0x3c3720;},_0x110e37['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x110e37['getTypeUrl']=function(_0x51bca7){return void 0x0===_0x51bca7&&(_0x51bca7='type.googleapis.com'),_0x51bca7+'/KeyValueDescriptor';},_0x110e37;}()),_0x37f903['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x2fae12(_0x4f0523){if(this['threads']=[],this['threadsV2']=[],_0x4f0523){for(var _0x559722=Object['keys'](_0x4f0523),_0x5704bc=0x0;_0x5704bc<_0x559722['length'];++_0x5704bc)null!=_0x4f0523[_0x559722[_0x5704bc]]&&(this[_0x559722[_0x5704bc]]=_0x4f0523[_0x559722[_0x5704bc]]);}}return _0x2fae12['prototype']['threads']=_0x2e4f36['emptyArray'],_0x2fae12['prototype']['threadsV2']=_0x2e4f36['emptyArray'],_0x2fae12['create']=function(_0x2cefee){return new _0x2fae12(_0x2cefee);},_0x2fae12['encode']=function(_0x27feac,_0x5f21f4){if(_0x5f21f4||(_0x5f21f4=_0x186223['create']()),null!=_0x27feac['threads']&&_0x27feac['threads']['length']){for(var _0x4e1e9d=0x0;_0x4e1e9d<_0x27feac['threads']['length'];++_0x4e1e9d)_0x5f21f4['uint32'](0xa)['string'](_0x27feac['threads'][_0x4e1e9d]);}if(null!=_0x27feac['threadsV2']&&_0x27feac['threadsV2']['length']){for(_0x4e1e9d=0x0;_0x4e1e9d<_0x27feac['threadsV2']['length'];++_0x4e1e9d)_0x37f903['CommentsThreadDescriptor']['encode'](_0x27feac['threadsV2'][_0x4e1e9d],_0x5f21f4['uint32'](0x12)['fork']())['ldelim']();}return _0x5f21f4;},_0x2fae12['encodeDelimited']=function(_0x40df55,_0x3e204c){return this['encode'](_0x40df55,_0x3e204c)['ldelim']();},_0x2fae12['decode']=function(_0x127e1d,_0x1d524f,_0x15cf12){_0x127e1d instanceof _0x57f37b||(_0x127e1d=_0x57f37b['create'](_0x127e1d));for(var _0x23a692=void 0x0===_0x1d524f?_0x127e1d['len']:_0x127e1d['pos']+_0x1d524f,_0x399ea3=new _0x37f903['CommentsV2GetDocumentThreadsResponse']();_0x127e1d['pos']<_0x23a692;){var _0x50def9=_0x127e1d['uint32']();if(_0x50def9===_0x15cf12)break;switch(_0x50def9>>>0x3){case 0x1:_0x399ea3['threads']&&_0x399ea3['threads']['length']||(_0x399ea3['threads']=[]),_0x399ea3['threads']['push'](_0x127e1d['string']());break;case 0x2:_0x399ea3['threadsV2']&&_0x399ea3['threadsV2']['length']||(_0x399ea3['threadsV2']=[]),_0x399ea3['threadsV2']['push'](_0x37f903['CommentsThreadDescriptor']['decode'](_0x127e1d,_0x127e1d['uint32']()));break;default:_0x127e1d['skipType'](0x7&_0x50def9);}}return _0x399ea3;},_0x2fae12['decodeDelimited']=function(_0x1792ad){return _0x1792ad instanceof _0x57f37b||(_0x1792ad=new _0x57f37b(_0x1792ad)),this['decode'](_0x1792ad,_0x1792ad['uint32']());},_0x2fae12['verify']=function(_0x30f41c){if('object'!=typeof _0x30f41c||null===_0x30f41c)return'object\x20expected';if(null!=_0x30f41c['threads']&&_0x30f41c['hasOwnProperty']('threads')){if(!Array['isArray'](_0x30f41c['threads']))return'threads:\x20array\x20expected';for(var _0x317e5e=0x0;_0x317e5e<_0x30f41c['threads']['length'];++_0x317e5e)if(!_0x2e4f36['isString'](_0x30f41c['threads'][_0x317e5e]))return'threads:\x20string[]\x20expected';}if(null!=_0x30f41c['threadsV2']&&_0x30f41c['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x30f41c['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x317e5e=0x0;_0x317e5e<_0x30f41c['threadsV2']['length'];++_0x317e5e){var _0x996c1c=_0x37f903['CommentsThreadDescriptor']['verify'](_0x30f41c['threadsV2'][_0x317e5e]);if(_0x996c1c)return'threadsV2.'+_0x996c1c;}}return null;},_0x2fae12['fromObject']=function(_0x56a47e){if(_0x56a47e instanceof _0x37f903['CommentsV2GetDocumentThreadsResponse'])return _0x56a47e;var _0x4e3090=new _0x37f903['CommentsV2GetDocumentThreadsResponse']();if(_0x56a47e['threads']){if(!Array['isArray'](_0x56a47e['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x4e3090['threads']=[];for(var _0x2b69c8=0x0;_0x2b69c8<_0x56a47e['threads']['length'];++_0x2b69c8)_0x4e3090['threads'][_0x2b69c8]=String(_0x56a47e['threads'][_0x2b69c8]);}if(_0x56a47e['threadsV2']){if(!Array['isArray'](_0x56a47e['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x4e3090['threadsV2']=[],_0x2b69c8=0x0;_0x2b69c8<_0x56a47e['threadsV2']['length'];++_0x2b69c8){if('object'!=typeof _0x56a47e['threadsV2'][_0x2b69c8])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x4e3090['threadsV2'][_0x2b69c8]=_0x37f903['CommentsThreadDescriptor']['fromObject'](_0x56a47e['threadsV2'][_0x2b69c8]);}}return _0x4e3090;},_0x2fae12['toObject']=function(_0x39da38,_0x31f50d){_0x31f50d||(_0x31f50d={});var _0x2dfb11={};if((_0x31f50d['arrays']||_0x31f50d['defaults'])&&(_0x2dfb11['threads']=[],_0x2dfb11['threadsV2']=[]),_0x39da38['threads']&&_0x39da38['threads']['length']){_0x2dfb11['threads']=[];for(var _0x4735dc=0x0;_0x4735dc<_0x39da38['threads']['length'];++_0x4735dc)_0x2dfb11['threads'][_0x4735dc]=_0x39da38['threads'][_0x4735dc];}if(_0x39da38['threadsV2']&&_0x39da38['threadsV2']['length']){for(_0x2dfb11['threadsV2']=[],_0x4735dc=0x0;_0x4735dc<_0x39da38['threadsV2']['length'];++_0x4735dc)_0x2dfb11['threadsV2'][_0x4735dc]=_0x37f903['CommentsThreadDescriptor']['toObject'](_0x39da38['threadsV2'][_0x4735dc],_0x31f50d);}return _0x2dfb11;},_0x2fae12['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2fae12['getTypeUrl']=function(_0x4ba9fb){return void 0x0===_0x4ba9fb&&(_0x4ba9fb='type.googleapis.com'),_0x4ba9fb+'/CommentsV2GetDocumentThreadsResponse';},_0x2fae12;}()),_0x37f903['CommentsV2GetCommentThreadResponse']=(function(){function _0x472041(_0x2d32ec){if(this['comments']=[],this['commentsV2']=[],_0x2d32ec){for(var _0x3b279a=Object['keys'](_0x2d32ec),_0x359425=0x0;_0x359425<_0x3b279a['length'];++_0x359425)null!=_0x2d32ec[_0x3b279a[_0x359425]]&&(this[_0x3b279a[_0x359425]]=_0x2d32ec[_0x3b279a[_0x359425]]);}}return _0x472041['prototype']['commentThreadId']='',_0x472041['prototype']['comments']=_0x2e4f36['emptyArray'],_0x472041['prototype']['commentsV2']=_0x2e4f36['emptyArray'],_0x472041['prototype']['resolvedAt']='',_0x472041['prototype']['resolvedBy']='',_0x472041['prototype']['context']='',_0x472041['prototype']['createdAt']='',_0x472041['prototype']['deletedAt']='',_0x472041['prototype']['attributes']='',_0x472041['prototype']['unlinkedAt']='',_0x472041['create']=function(_0x35c393){return new _0x472041(_0x35c393);},_0x472041['encode']=function(_0x560ed4,_0x46a8ea){if(_0x46a8ea||(_0x46a8ea=_0x186223['create']()),null!=_0x560ed4['commentThreadId']&&Object['hasOwnProperty']['call'](_0x560ed4,'commentThreadId')&&_0x46a8ea['uint32'](0xa)['string'](_0x560ed4['commentThreadId']),null!=_0x560ed4['comments']&&_0x560ed4['comments']['length']){for(var _0x28611b=0x0;_0x28611b<_0x560ed4['comments']['length'];++_0x28611b)_0x46a8ea['uint32'](0x12)['string'](_0x560ed4['comments'][_0x28611b]);}if(null!=_0x560ed4['commentsV2']&&_0x560ed4['commentsV2']['length']){for(_0x28611b=0x0;_0x28611b<_0x560ed4['commentsV2']['length'];++_0x28611b)_0x37f903['CommentDescriptor']['encode'](_0x560ed4['commentsV2'][_0x28611b],_0x46a8ea['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x560ed4['resolvedAt']&&Object['hasOwnProperty']['call'](_0x560ed4,'resolvedAt')&&_0x46a8ea['uint32'](0x22)['string'](_0x560ed4['resolvedAt']),null!=_0x560ed4['resolvedBy']&&Object['hasOwnProperty']['call'](_0x560ed4,'resolvedBy')&&_0x46a8ea['uint32'](0x2a)['string'](_0x560ed4['resolvedBy']),null!=_0x560ed4['context']&&Object['hasOwnProperty']['call'](_0x560ed4,'context')&&_0x46a8ea['uint32'](0x32)['string'](_0x560ed4['context']),null!=_0x560ed4['createdAt']&&Object['hasOwnProperty']['call'](_0x560ed4,'createdAt')&&_0x46a8ea['uint32'](0x3a)['string'](_0x560ed4['createdAt']),null!=_0x560ed4['deletedAt']&&Object['hasOwnProperty']['call'](_0x560ed4,'deletedAt')&&_0x46a8ea['uint32'](0x42)['string'](_0x560ed4['deletedAt']),null!=_0x560ed4['attributes']&&Object['hasOwnProperty']['call'](_0x560ed4,'attributes')&&_0x46a8ea['uint32'](0x4a)['string'](_0x560ed4['attributes']),null!=_0x560ed4['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x560ed4,'unlinkedAt')&&_0x46a8ea['uint32'](0x52)['string'](_0x560ed4['unlinkedAt']),_0x46a8ea;},_0x472041['encodeDelimited']=function(_0x33009b,_0x50ed29){return this['encode'](_0x33009b,_0x50ed29)['ldelim']();},_0x472041['decode']=function(_0x42d444,_0x1f13b7,_0x4a2ae6){_0x42d444 instanceof _0x57f37b||(_0x42d444=_0x57f37b['create'](_0x42d444));for(var _0x19cdd9=void 0x0===_0x1f13b7?_0x42d444['len']:_0x42d444['pos']+_0x1f13b7,_0xf5732a=new _0x37f903['CommentsV2GetCommentThreadResponse']();_0x42d444['pos']<_0x19cdd9;){var _0x1f62d6=_0x42d444['uint32']();if(_0x1f62d6===_0x4a2ae6)break;switch(_0x1f62d6>>>0x3){case 0x1:_0xf5732a['commentThreadId']=_0x42d444['string']();break;case 0x2:_0xf5732a['comments']&&_0xf5732a['comments']['length']||(_0xf5732a['comments']=[]),_0xf5732a['comments']['push'](_0x42d444['string']());break;case 0x3:_0xf5732a['commentsV2']&&_0xf5732a['commentsV2']['length']||(_0xf5732a['commentsV2']=[]),_0xf5732a['commentsV2']['push'](_0x37f903['CommentDescriptor']['decode'](_0x42d444,_0x42d444['uint32']()));break;case 0x4:_0xf5732a['resolvedAt']=_0x42d444['string']();break;case 0x5:_0xf5732a['resolvedBy']=_0x42d444['string']();break;case 0x6:_0xf5732a['context']=_0x42d444['string']();break;case 0x7:_0xf5732a['createdAt']=_0x42d444['string']();break;case 0x8:_0xf5732a['deletedAt']=_0x42d444['string']();break;case 0x9:_0xf5732a['attributes']=_0x42d444['string']();break;case 0xa:_0xf5732a['unlinkedAt']=_0x42d444['string']();break;default:_0x42d444['skipType'](0x7&_0x1f62d6);}}return _0xf5732a;},_0x472041['decodeDelimited']=function(_0x3aed5a){return _0x3aed5a instanceof _0x57f37b||(_0x3aed5a=new _0x57f37b(_0x3aed5a)),this['decode'](_0x3aed5a,_0x3aed5a['uint32']());},_0x472041['verify']=function(_0x6ca0c3){if('object'!=typeof _0x6ca0c3||null===_0x6ca0c3)return'object\x20expected';if(null!=_0x6ca0c3['commentThreadId']&&_0x6ca0c3['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x6ca0c3['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x6ca0c3['comments']&&_0x6ca0c3['hasOwnProperty']('comments')){if(!Array['isArray'](_0x6ca0c3['comments']))return'comments:\x20array\x20expected';for(var _0x39d0ce=0x0;_0x39d0ce<_0x6ca0c3['comments']['length'];++_0x39d0ce)if(!_0x2e4f36['isString'](_0x6ca0c3['comments'][_0x39d0ce]))return'comments:\x20string[]\x20expected';}if(null!=_0x6ca0c3['commentsV2']&&_0x6ca0c3['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x6ca0c3['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x39d0ce=0x0;_0x39d0ce<_0x6ca0c3['commentsV2']['length'];++_0x39d0ce){var _0x275e9f=_0x37f903['CommentDescriptor']['verify'](_0x6ca0c3['commentsV2'][_0x39d0ce]);if(_0x275e9f)return'commentsV2.'+_0x275e9f;}}return null!=_0x6ca0c3['resolvedAt']&&_0x6ca0c3['hasOwnProperty']('resolvedAt')&&!_0x2e4f36['isString'](_0x6ca0c3['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x6ca0c3['resolvedBy']&&_0x6ca0c3['hasOwnProperty']('resolvedBy')&&!_0x2e4f36['isString'](_0x6ca0c3['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x6ca0c3['context']&&_0x6ca0c3['hasOwnProperty']('context')&&!_0x2e4f36['isString'](_0x6ca0c3['context'])?'context:\x20string\x20expected':null!=_0x6ca0c3['createdAt']&&_0x6ca0c3['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x6ca0c3['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x6ca0c3['deletedAt']&&_0x6ca0c3['hasOwnProperty']('deletedAt')&&!_0x2e4f36['isString'](_0x6ca0c3['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x6ca0c3['attributes']&&_0x6ca0c3['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x6ca0c3['attributes'])?'attributes:\x20string\x20expected':null!=_0x6ca0c3['unlinkedAt']&&_0x6ca0c3['hasOwnProperty']('unlinkedAt')&&!_0x2e4f36['isString'](_0x6ca0c3['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x472041['fromObject']=function(_0x51abdc){if(_0x51abdc instanceof _0x37f903['CommentsV2GetCommentThreadResponse'])return _0x51abdc;var _0x2f5cf1=new _0x37f903['CommentsV2GetCommentThreadResponse']();if(null!=_0x51abdc['commentThreadId']&&(_0x2f5cf1['commentThreadId']=String(_0x51abdc['commentThreadId'])),_0x51abdc['comments']){if(!Array['isArray'](_0x51abdc['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x2f5cf1['comments']=[];for(var _0x3652e3=0x0;_0x3652e3<_0x51abdc['comments']['length'];++_0x3652e3)_0x2f5cf1['comments'][_0x3652e3]=String(_0x51abdc['comments'][_0x3652e3]);}if(_0x51abdc['commentsV2']){if(!Array['isArray'](_0x51abdc['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x2f5cf1['commentsV2']=[],_0x3652e3=0x0;_0x3652e3<_0x51abdc['commentsV2']['length'];++_0x3652e3){if('object'!=typeof _0x51abdc['commentsV2'][_0x3652e3])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x2f5cf1['commentsV2'][_0x3652e3]=_0x37f903['CommentDescriptor']['fromObject'](_0x51abdc['commentsV2'][_0x3652e3]);}}return null!=_0x51abdc['resolvedAt']&&(_0x2f5cf1['resolvedAt']=String(_0x51abdc['resolvedAt'])),null!=_0x51abdc['resolvedBy']&&(_0x2f5cf1['resolvedBy']=String(_0x51abdc['resolvedBy'])),null!=_0x51abdc['context']&&(_0x2f5cf1['context']=String(_0x51abdc['context'])),null!=_0x51abdc['createdAt']&&(_0x2f5cf1['createdAt']=String(_0x51abdc['createdAt'])),null!=_0x51abdc['deletedAt']&&(_0x2f5cf1['deletedAt']=String(_0x51abdc['deletedAt'])),null!=_0x51abdc['attributes']&&(_0x2f5cf1['attributes']=String(_0x51abdc['attributes'])),null!=_0x51abdc['unlinkedAt']&&(_0x2f5cf1['unlinkedAt']=String(_0x51abdc['unlinkedAt'])),_0x2f5cf1;},_0x472041['toObject']=function(_0x3d7acc,_0x18bbc5){_0x18bbc5||(_0x18bbc5={});var _0x1ea3ba={};if((_0x18bbc5['arrays']||_0x18bbc5['defaults'])&&(_0x1ea3ba['comments']=[],_0x1ea3ba['commentsV2']=[]),_0x18bbc5['defaults']&&(_0x1ea3ba['commentThreadId']='',_0x1ea3ba['resolvedAt']='',_0x1ea3ba['resolvedBy']='',_0x1ea3ba['context']='',_0x1ea3ba['createdAt']='',_0x1ea3ba['deletedAt']='',_0x1ea3ba['attributes']='',_0x1ea3ba['unlinkedAt']=''),null!=_0x3d7acc['commentThreadId']&&_0x3d7acc['hasOwnProperty']('commentThreadId')&&(_0x1ea3ba['commentThreadId']=_0x3d7acc['commentThreadId']),_0x3d7acc['comments']&&_0x3d7acc['comments']['length']){_0x1ea3ba['comments']=[];for(var _0x3a2e25=0x0;_0x3a2e25<_0x3d7acc['comments']['length'];++_0x3a2e25)_0x1ea3ba['comments'][_0x3a2e25]=_0x3d7acc['comments'][_0x3a2e25];}if(_0x3d7acc['commentsV2']&&_0x3d7acc['commentsV2']['length']){for(_0x1ea3ba['commentsV2']=[],_0x3a2e25=0x0;_0x3a2e25<_0x3d7acc['commentsV2']['length'];++_0x3a2e25)_0x1ea3ba['commentsV2'][_0x3a2e25]=_0x37f903['CommentDescriptor']['toObject'](_0x3d7acc['commentsV2'][_0x3a2e25],_0x18bbc5);}return null!=_0x3d7acc['resolvedAt']&&_0x3d7acc['hasOwnProperty']('resolvedAt')&&(_0x1ea3ba['resolvedAt']=_0x3d7acc['resolvedAt']),null!=_0x3d7acc['resolvedBy']&&_0x3d7acc['hasOwnProperty']('resolvedBy')&&(_0x1ea3ba['resolvedBy']=_0x3d7acc['resolvedBy']),null!=_0x3d7acc['context']&&_0x3d7acc['hasOwnProperty']('context')&&(_0x1ea3ba['context']=_0x3d7acc['context']),null!=_0x3d7acc['createdAt']&&_0x3d7acc['hasOwnProperty']('createdAt')&&(_0x1ea3ba['createdAt']=_0x3d7acc['createdAt']),null!=_0x3d7acc['deletedAt']&&_0x3d7acc['hasOwnProperty']('deletedAt')&&(_0x1ea3ba['deletedAt']=_0x3d7acc['deletedAt']),null!=_0x3d7acc['attributes']&&_0x3d7acc['hasOwnProperty']('attributes')&&(_0x1ea3ba['attributes']=_0x3d7acc['attributes']),null!=_0x3d7acc['unlinkedAt']&&_0x3d7acc['hasOwnProperty']('unlinkedAt')&&(_0x1ea3ba['unlinkedAt']=_0x3d7acc['unlinkedAt']),_0x1ea3ba;},_0x472041['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x472041['getTypeUrl']=function(_0x1bf250){return void 0x0===_0x1bf250&&(_0x1bf250='type.googleapis.com'),_0x1bf250+'/CommentsV2GetCommentThreadResponse';},_0x472041;}()),_0x37f903['CommentsV2ConnectResponse']=(function(){function _0x7a219e(_0xc4c726){if(this['threads']=[],this['threadsV2']=[],_0xc4c726){for(var _0x32c470=Object['keys'](_0xc4c726),_0x27fb3c=0x0;_0x27fb3c<_0x32c470['length'];++_0x27fb3c)null!=_0xc4c726[_0x32c470[_0x27fb3c]]&&(this[_0x32c470[_0x27fb3c]]=_0xc4c726[_0x32c470[_0x27fb3c]]);}}return _0x7a219e['prototype']['channel']='',_0x7a219e['prototype']['threads']=_0x2e4f36['emptyArray'],_0x7a219e['prototype']['threadsV2']=_0x2e4f36['emptyArray'],_0x7a219e['create']=function(_0x28965e){return new _0x7a219e(_0x28965e);},_0x7a219e['encode']=function(_0x44dbfd,_0x4c6984){if(_0x4c6984||(_0x4c6984=_0x186223['create']()),null!=_0x44dbfd['channel']&&Object['hasOwnProperty']['call'](_0x44dbfd,'channel')&&_0x4c6984['uint32'](0xa)['string'](_0x44dbfd['channel']),null!=_0x44dbfd['threads']&&_0x44dbfd['threads']['length']){for(var _0x3b7600=0x0;_0x3b7600<_0x44dbfd['threads']['length'];++_0x3b7600)_0x4c6984['uint32'](0x12)['string'](_0x44dbfd['threads'][_0x3b7600]);}if(null!=_0x44dbfd['threadsV2']&&_0x44dbfd['threadsV2']['length']){for(_0x3b7600=0x0;_0x3b7600<_0x44dbfd['threadsV2']['length'];++_0x3b7600)_0x37f903['CommentsThreadDescriptor']['encode'](_0x44dbfd['threadsV2'][_0x3b7600],_0x4c6984['uint32'](0x1a)['fork']())['ldelim']();}return _0x4c6984;},_0x7a219e['encodeDelimited']=function(_0x248b6b,_0x457372){return this['encode'](_0x248b6b,_0x457372)['ldelim']();},_0x7a219e['decode']=function(_0x17ff03,_0x3a73c5,_0x3c25ca){_0x17ff03 instanceof _0x57f37b||(_0x17ff03=_0x57f37b['create'](_0x17ff03));for(var _0x40e938=void 0x0===_0x3a73c5?_0x17ff03['len']:_0x17ff03['pos']+_0x3a73c5,_0x17a3a0=new _0x37f903['CommentsV2ConnectResponse']();_0x17ff03['pos']<_0x40e938;){var _0x274f09=_0x17ff03['uint32']();if(_0x274f09===_0x3c25ca)break;switch(_0x274f09>>>0x3){case 0x1:_0x17a3a0['channel']=_0x17ff03['string']();break;case 0x2:_0x17a3a0['threads']&&_0x17a3a0['threads']['length']||(_0x17a3a0['threads']=[]),_0x17a3a0['threads']['push'](_0x17ff03['string']());break;case 0x3:_0x17a3a0['threadsV2']&&_0x17a3a0['threadsV2']['length']||(_0x17a3a0['threadsV2']=[]),_0x17a3a0['threadsV2']['push'](_0x37f903['CommentsThreadDescriptor']['decode'](_0x17ff03,_0x17ff03['uint32']()));break;default:_0x17ff03['skipType'](0x7&_0x274f09);}}return _0x17a3a0;},_0x7a219e['decodeDelimited']=function(_0x11ea99){return _0x11ea99 instanceof _0x57f37b||(_0x11ea99=new _0x57f37b(_0x11ea99)),this['decode'](_0x11ea99,_0x11ea99['uint32']());},_0x7a219e['verify']=function(_0x317b74){if('object'!=typeof _0x317b74||null===_0x317b74)return'object\x20expected';if(null!=_0x317b74['channel']&&_0x317b74['hasOwnProperty']('channel')&&!_0x2e4f36['isString'](_0x317b74['channel']))return'channel:\x20string\x20expected';if(null!=_0x317b74['threads']&&_0x317b74['hasOwnProperty']('threads')){if(!Array['isArray'](_0x317b74['threads']))return'threads:\x20array\x20expected';for(var _0x5c940b=0x0;_0x5c940b<_0x317b74['threads']['length'];++_0x5c940b)if(!_0x2e4f36['isString'](_0x317b74['threads'][_0x5c940b]))return'threads:\x20string[]\x20expected';}if(null!=_0x317b74['threadsV2']&&_0x317b74['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x317b74['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x5c940b=0x0;_0x5c940b<_0x317b74['threadsV2']['length'];++_0x5c940b){var _0x54ed71=_0x37f903['CommentsThreadDescriptor']['verify'](_0x317b74['threadsV2'][_0x5c940b]);if(_0x54ed71)return'threadsV2.'+_0x54ed71;}}return null;},_0x7a219e['fromObject']=function(_0x100037){if(_0x100037 instanceof _0x37f903['CommentsV2ConnectResponse'])return _0x100037;var _0x5559ec=new _0x37f903['CommentsV2ConnectResponse']();if(null!=_0x100037['channel']&&(_0x5559ec['channel']=String(_0x100037['channel'])),_0x100037['threads']){if(!Array['isArray'](_0x100037['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x5559ec['threads']=[];for(var _0xaba316=0x0;_0xaba316<_0x100037['threads']['length'];++_0xaba316)_0x5559ec['threads'][_0xaba316]=String(_0x100037['threads'][_0xaba316]);}if(_0x100037['threadsV2']){if(!Array['isArray'](_0x100037['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x5559ec['threadsV2']=[],_0xaba316=0x0;_0xaba316<_0x100037['threadsV2']['length'];++_0xaba316){if('object'!=typeof _0x100037['threadsV2'][_0xaba316])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x5559ec['threadsV2'][_0xaba316]=_0x37f903['CommentsThreadDescriptor']['fromObject'](_0x100037['threadsV2'][_0xaba316]);}}return _0x5559ec;},_0x7a219e['toObject']=function(_0x2e2b8d,_0x4326fd){_0x4326fd||(_0x4326fd={});var _0x337922={};if((_0x4326fd['arrays']||_0x4326fd['defaults'])&&(_0x337922['threads']=[],_0x337922['threadsV2']=[]),_0x4326fd['defaults']&&(_0x337922['channel']=''),null!=_0x2e2b8d['channel']&&_0x2e2b8d['hasOwnProperty']('channel')&&(_0x337922['channel']=_0x2e2b8d['channel']),_0x2e2b8d['threads']&&_0x2e2b8d['threads']['length']){_0x337922['threads']=[];for(var _0xc75979=0x0;_0xc75979<_0x2e2b8d['threads']['length'];++_0xc75979)_0x337922['threads'][_0xc75979]=_0x2e2b8d['threads'][_0xc75979];}if(_0x2e2b8d['threadsV2']&&_0x2e2b8d['threadsV2']['length']){for(_0x337922['threadsV2']=[],_0xc75979=0x0;_0xc75979<_0x2e2b8d['threadsV2']['length'];++_0xc75979)_0x337922['threadsV2'][_0xc75979]=_0x37f903['CommentsThreadDescriptor']['toObject'](_0x2e2b8d['threadsV2'][_0xc75979],_0x4326fd);}return _0x337922;},_0x7a219e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x7a219e['getTypeUrl']=function(_0x3f9550){return void 0x0===_0x3f9550&&(_0x3f9550='type.googleapis.com'),_0x3f9550+'/CommentsV2ConnectResponse';},_0x7a219e;}()),_0x37f903['CommentsV2AddCommentResponse']=(function(){function _0x551e68(_0x9e0bcb){if(_0x9e0bcb){for(var _0x5f40c2=Object['keys'](_0x9e0bcb),_0x220528=0x0;_0x220528<_0x5f40c2['length'];++_0x220528)null!=_0x9e0bcb[_0x5f40c2[_0x220528]]&&(this[_0x5f40c2[_0x220528]]=_0x9e0bcb[_0x5f40c2[_0x220528]]);}}return _0x551e68['prototype']['commentThreadId']='',_0x551e68['prototype']['commentId']='',_0x551e68['prototype']['createdAt']='',_0x551e68['create']=function(_0x2d29a8){return new _0x551e68(_0x2d29a8);},_0x551e68['encode']=function(_0x1cab1b,_0xb87417){return _0xb87417||(_0xb87417=_0x186223['create']()),null!=_0x1cab1b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1cab1b,'commentThreadId')&&_0xb87417['uint32'](0xa)['string'](_0x1cab1b['commentThreadId']),null!=_0x1cab1b['commentId']&&Object['hasOwnProperty']['call'](_0x1cab1b,'commentId')&&_0xb87417['uint32'](0x12)['string'](_0x1cab1b['commentId']),null!=_0x1cab1b['createdAt']&&Object['hasOwnProperty']['call'](_0x1cab1b,'createdAt')&&_0xb87417['uint32'](0x1a)['string'](_0x1cab1b['createdAt']),_0xb87417;},_0x551e68['encodeDelimited']=function(_0x125767,_0x389037){return this['encode'](_0x125767,_0x389037)['ldelim']();},_0x551e68['decode']=function(_0x32e0f8,_0x55e4c0,_0x228d4d){_0x32e0f8 instanceof _0x57f37b||(_0x32e0f8=_0x57f37b['create'](_0x32e0f8));for(var _0x4d4575=void 0x0===_0x55e4c0?_0x32e0f8['len']:_0x32e0f8['pos']+_0x55e4c0,_0x1e4c3a=new _0x37f903['CommentsV2AddCommentResponse']();_0x32e0f8['pos']<_0x4d4575;){var _0x264465=_0x32e0f8['uint32']();if(_0x264465===_0x228d4d)break;switch(_0x264465>>>0x3){case 0x1:_0x1e4c3a['commentThreadId']=_0x32e0f8['string']();break;case 0x2:_0x1e4c3a['commentId']=_0x32e0f8['string']();break;case 0x3:_0x1e4c3a['createdAt']=_0x32e0f8['string']();break;default:_0x32e0f8['skipType'](0x7&_0x264465);}}return _0x1e4c3a;},_0x551e68['decodeDelimited']=function(_0x3a194f){return _0x3a194f instanceof _0x57f37b||(_0x3a194f=new _0x57f37b(_0x3a194f)),this['decode'](_0x3a194f,_0x3a194f['uint32']());},_0x551e68['verify']=function(_0x5e0d34){return'object'!=typeof _0x5e0d34||null===_0x5e0d34?'object\x20expected':null!=_0x5e0d34['commentThreadId']&&_0x5e0d34['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x5e0d34['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5e0d34['commentId']&&_0x5e0d34['hasOwnProperty']('commentId')&&!_0x2e4f36['isString'](_0x5e0d34['commentId'])?'commentId:\x20string\x20expected':null!=_0x5e0d34['createdAt']&&_0x5e0d34['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x5e0d34['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x551e68['fromObject']=function(_0x81ffc0){if(_0x81ffc0 instanceof _0x37f903['CommentsV2AddCommentResponse'])return _0x81ffc0;var _0x9d2633=new _0x37f903['CommentsV2AddCommentResponse']();return null!=_0x81ffc0['commentThreadId']&&(_0x9d2633['commentThreadId']=String(_0x81ffc0['commentThreadId'])),null!=_0x81ffc0['commentId']&&(_0x9d2633['commentId']=String(_0x81ffc0['commentId'])),null!=_0x81ffc0['createdAt']&&(_0x9d2633['createdAt']=String(_0x81ffc0['createdAt'])),_0x9d2633;},_0x551e68['toObject']=function(_0x5774fe,_0x2a5a38){_0x2a5a38||(_0x2a5a38={});var _0x59dcbe={};return _0x2a5a38['defaults']&&(_0x59dcbe['commentThreadId']='',_0x59dcbe['commentId']='',_0x59dcbe['createdAt']=''),null!=_0x5774fe['commentThreadId']&&_0x5774fe['hasOwnProperty']('commentThreadId')&&(_0x59dcbe['commentThreadId']=_0x5774fe['commentThreadId']),null!=_0x5774fe['commentId']&&_0x5774fe['hasOwnProperty']('commentId')&&(_0x59dcbe['commentId']=_0x5774fe['commentId']),null!=_0x5774fe['createdAt']&&_0x5774fe['hasOwnProperty']('createdAt')&&(_0x59dcbe['createdAt']=_0x5774fe['createdAt']),_0x59dcbe;},_0x551e68['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x551e68['getTypeUrl']=function(_0x3552a8){return void 0x0===_0x3552a8&&(_0x3552a8='type.googleapis.com'),_0x3552a8+'/CommentsV2AddCommentResponse';},_0x551e68;}()),_0x37f903['CommentsV2ResolveCommentThreadResponse']=(function(){function _0xa9db48(_0x5861be){if(_0x5861be){for(var _0x12c192=Object['keys'](_0x5861be),_0x50bb9e=0x0;_0x50bb9e<_0x12c192['length'];++_0x50bb9e)null!=_0x5861be[_0x12c192[_0x50bb9e]]&&(this[_0x12c192[_0x50bb9e]]=_0x5861be[_0x12c192[_0x50bb9e]]);}}return _0xa9db48['prototype']['commentThreadId']='',_0xa9db48['prototype']['documentId']='',_0xa9db48['prototype']['resolvedAt']='',_0xa9db48['prototype']['resolvedBy']='',_0xa9db48['create']=function(_0x30b4a2){return new _0xa9db48(_0x30b4a2);},_0xa9db48['encode']=function(_0x4c8048,_0xb1e6a1){return _0xb1e6a1||(_0xb1e6a1=_0x186223['create']()),null!=_0x4c8048['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4c8048,'commentThreadId')&&_0xb1e6a1['uint32'](0xa)['string'](_0x4c8048['commentThreadId']),null!=_0x4c8048['documentId']&&Object['hasOwnProperty']['call'](_0x4c8048,'documentId')&&_0xb1e6a1['uint32'](0x12)['string'](_0x4c8048['documentId']),null!=_0x4c8048['resolvedAt']&&Object['hasOwnProperty']['call'](_0x4c8048,'resolvedAt')&&_0xb1e6a1['uint32'](0x1a)['string'](_0x4c8048['resolvedAt']),null!=_0x4c8048['resolvedBy']&&Object['hasOwnProperty']['call'](_0x4c8048,'resolvedBy')&&_0xb1e6a1['uint32'](0x22)['string'](_0x4c8048['resolvedBy']),_0xb1e6a1;},_0xa9db48['encodeDelimited']=function(_0x56dd76,_0x388f62){return this['encode'](_0x56dd76,_0x388f62)['ldelim']();},_0xa9db48['decode']=function(_0xd33284,_0x49d5f7,_0x434756){_0xd33284 instanceof _0x57f37b||(_0xd33284=_0x57f37b['create'](_0xd33284));for(var _0x225b32=void 0x0===_0x49d5f7?_0xd33284['len']:_0xd33284['pos']+_0x49d5f7,_0x169397=new _0x37f903['CommentsV2ResolveCommentThreadResponse']();_0xd33284['pos']<_0x225b32;){var _0x29430d=_0xd33284['uint32']();if(_0x29430d===_0x434756)break;switch(_0x29430d>>>0x3){case 0x1:_0x169397['commentThreadId']=_0xd33284['string']();break;case 0x2:_0x169397['documentId']=_0xd33284['string']();break;case 0x3:_0x169397['resolvedAt']=_0xd33284['string']();break;case 0x4:_0x169397['resolvedBy']=_0xd33284['string']();break;default:_0xd33284['skipType'](0x7&_0x29430d);}}return _0x169397;},_0xa9db48['decodeDelimited']=function(_0x1d9822){return _0x1d9822 instanceof _0x57f37b||(_0x1d9822=new _0x57f37b(_0x1d9822)),this['decode'](_0x1d9822,_0x1d9822['uint32']());},_0xa9db48['verify']=function(_0x58fe81){return'object'!=typeof _0x58fe81||null===_0x58fe81?'object\x20expected':null!=_0x58fe81['commentThreadId']&&_0x58fe81['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x58fe81['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x58fe81['documentId']&&_0x58fe81['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x58fe81['documentId'])?'documentId:\x20string\x20expected':null!=_0x58fe81['resolvedAt']&&_0x58fe81['hasOwnProperty']('resolvedAt')&&!_0x2e4f36['isString'](_0x58fe81['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x58fe81['resolvedBy']&&_0x58fe81['hasOwnProperty']('resolvedBy')&&!_0x2e4f36['isString'](_0x58fe81['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0xa9db48['fromObject']=function(_0xe3c469){if(_0xe3c469 instanceof _0x37f903['CommentsV2ResolveCommentThreadResponse'])return _0xe3c469;var _0x559177=new _0x37f903['CommentsV2ResolveCommentThreadResponse']();return null!=_0xe3c469['commentThreadId']&&(_0x559177['commentThreadId']=String(_0xe3c469['commentThreadId'])),null!=_0xe3c469['documentId']&&(_0x559177['documentId']=String(_0xe3c469['documentId'])),null!=_0xe3c469['resolvedAt']&&(_0x559177['resolvedAt']=String(_0xe3c469['resolvedAt'])),null!=_0xe3c469['resolvedBy']&&(_0x559177['resolvedBy']=String(_0xe3c469['resolvedBy'])),_0x559177;},_0xa9db48['toObject']=function(_0x3d009f,_0x4cdd58){_0x4cdd58||(_0x4cdd58={});var _0x313171={};return _0x4cdd58['defaults']&&(_0x313171['commentThreadId']='',_0x313171['documentId']='',_0x313171['resolvedAt']='',_0x313171['resolvedBy']=''),null!=_0x3d009f['commentThreadId']&&_0x3d009f['hasOwnProperty']('commentThreadId')&&(_0x313171['commentThreadId']=_0x3d009f['commentThreadId']),null!=_0x3d009f['documentId']&&_0x3d009f['hasOwnProperty']('documentId')&&(_0x313171['documentId']=_0x3d009f['documentId']),null!=_0x3d009f['resolvedAt']&&_0x3d009f['hasOwnProperty']('resolvedAt')&&(_0x313171['resolvedAt']=_0x3d009f['resolvedAt']),null!=_0x3d009f['resolvedBy']&&_0x3d009f['hasOwnProperty']('resolvedBy')&&(_0x313171['resolvedBy']=_0x3d009f['resolvedBy']),_0x313171;},_0xa9db48['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xa9db48['getTypeUrl']=function(_0x35775c){return void 0x0===_0x35775c&&(_0x35775c='type.googleapis.com'),_0x35775c+'/CommentsV2ResolveCommentThreadResponse';},_0xa9db48;}()),_0x37f903['CommentsV2AddCommentThreadResponse']=(function(){function _0x5f42b9(_0x4928c9){if(this['comments']=[],_0x4928c9){for(var _0x391570=Object['keys'](_0x4928c9),_0x3bd738=0x0;_0x3bd738<_0x391570['length'];++_0x3bd738)null!=_0x4928c9[_0x391570[_0x3bd738]]&&(this[_0x391570[_0x3bd738]]=_0x4928c9[_0x391570[_0x3bd738]]);}}return _0x5f42b9['prototype']['commentThreadId']='',_0x5f42b9['prototype']['createdAt']='',_0x5f42b9['prototype']['comments']=_0x2e4f36['emptyArray'],_0x5f42b9['create']=function(_0x176a86){return new _0x5f42b9(_0x176a86);},_0x5f42b9['encode']=function(_0x28c75c,_0x198143){if(_0x198143||(_0x198143=_0x186223['create']()),null!=_0x28c75c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x28c75c,'commentThreadId')&&_0x198143['uint32'](0xa)['string'](_0x28c75c['commentThreadId']),null!=_0x28c75c['createdAt']&&Object['hasOwnProperty']['call'](_0x28c75c,'createdAt')&&_0x198143['uint32'](0x12)['string'](_0x28c75c['createdAt']),null!=_0x28c75c['comments']&&_0x28c75c['comments']['length']){for(var _0x4c8e18=0x0;_0x4c8e18<_0x28c75c['comments']['length'];++_0x4c8e18)_0x37f903['CommentThreadAddedCommentDescriptor']['encode'](_0x28c75c['comments'][_0x4c8e18],_0x198143['uint32'](0x1a)['fork']())['ldelim']();}return _0x198143;},_0x5f42b9['encodeDelimited']=function(_0x2a4700,_0x5e1fb5){return this['encode'](_0x2a4700,_0x5e1fb5)['ldelim']();},_0x5f42b9['decode']=function(_0x94580d,_0x2fa2a6,_0x1a2e1e){_0x94580d instanceof _0x57f37b||(_0x94580d=_0x57f37b['create'](_0x94580d));for(var _0x56c854=void 0x0===_0x2fa2a6?_0x94580d['len']:_0x94580d['pos']+_0x2fa2a6,_0x1d0d52=new _0x37f903['CommentsV2AddCommentThreadResponse']();_0x94580d['pos']<_0x56c854;){var _0x174619=_0x94580d['uint32']();if(_0x174619===_0x1a2e1e)break;switch(_0x174619>>>0x3){case 0x1:_0x1d0d52['commentThreadId']=_0x94580d['string']();break;case 0x2:_0x1d0d52['createdAt']=_0x94580d['string']();break;case 0x3:_0x1d0d52['comments']&&_0x1d0d52['comments']['length']||(_0x1d0d52['comments']=[]),_0x1d0d52['comments']['push'](_0x37f903['CommentThreadAddedCommentDescriptor']['decode'](_0x94580d,_0x94580d['uint32']()));break;default:_0x94580d['skipType'](0x7&_0x174619);}}return _0x1d0d52;},_0x5f42b9['decodeDelimited']=function(_0x367a85){return _0x367a85 instanceof _0x57f37b||(_0x367a85=new _0x57f37b(_0x367a85)),this['decode'](_0x367a85,_0x367a85['uint32']());},_0x5f42b9['verify']=function(_0x231f0a){if('object'!=typeof _0x231f0a||null===_0x231f0a)return'object\x20expected';if(null!=_0x231f0a['commentThreadId']&&_0x231f0a['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x231f0a['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x231f0a['createdAt']&&_0x231f0a['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x231f0a['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x231f0a['comments']&&_0x231f0a['hasOwnProperty']('comments')){if(!Array['isArray'](_0x231f0a['comments']))return'comments:\x20array\x20expected';for(var _0x38a2cd=0x0;_0x38a2cd<_0x231f0a['comments']['length'];++_0x38a2cd){var _0x52944d=_0x37f903['CommentThreadAddedCommentDescriptor']['verify'](_0x231f0a['comments'][_0x38a2cd]);if(_0x52944d)return'comments.'+_0x52944d;}}return null;},_0x5f42b9['fromObject']=function(_0x2190a1){if(_0x2190a1 instanceof _0x37f903['CommentsV2AddCommentThreadResponse'])return _0x2190a1;var _0x3f1693=new _0x37f903['CommentsV2AddCommentThreadResponse']();if(null!=_0x2190a1['commentThreadId']&&(_0x3f1693['commentThreadId']=String(_0x2190a1['commentThreadId'])),null!=_0x2190a1['createdAt']&&(_0x3f1693['createdAt']=String(_0x2190a1['createdAt'])),_0x2190a1['comments']){if(!Array['isArray'](_0x2190a1['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x3f1693['comments']=[];for(var _0x4fcf10=0x0;_0x4fcf10<_0x2190a1['comments']['length'];++_0x4fcf10){if('object'!=typeof _0x2190a1['comments'][_0x4fcf10])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x3f1693['comments'][_0x4fcf10]=_0x37f903['CommentThreadAddedCommentDescriptor']['fromObject'](_0x2190a1['comments'][_0x4fcf10]);}}return _0x3f1693;},_0x5f42b9['toObject']=function(_0xaf58ef,_0x36e146){_0x36e146||(_0x36e146={});var _0xd590c0={};if((_0x36e146['arrays']||_0x36e146['defaults'])&&(_0xd590c0['comments']=[]),_0x36e146['defaults']&&(_0xd590c0['commentThreadId']='',_0xd590c0['createdAt']=''),null!=_0xaf58ef['commentThreadId']&&_0xaf58ef['hasOwnProperty']('commentThreadId')&&(_0xd590c0['commentThreadId']=_0xaf58ef['commentThreadId']),null!=_0xaf58ef['createdAt']&&_0xaf58ef['hasOwnProperty']('createdAt')&&(_0xd590c0['createdAt']=_0xaf58ef['createdAt']),_0xaf58ef['comments']&&_0xaf58ef['comments']['length']){_0xd590c0['comments']=[];for(var _0x53c1ee=0x0;_0x53c1ee<_0xaf58ef['comments']['length'];++_0x53c1ee)_0xd590c0['comments'][_0x53c1ee]=_0x37f903['CommentThreadAddedCommentDescriptor']['toObject'](_0xaf58ef['comments'][_0x53c1ee],_0x36e146);}return _0xd590c0;},_0x5f42b9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5f42b9['getTypeUrl']=function(_0x54269b){return void 0x0===_0x54269b&&(_0x54269b='type.googleapis.com'),_0x54269b+'/CommentsV2AddCommentThreadResponse';},_0x5f42b9;}()),_0x37f903['CommentsV2UpdateCommentMessage']=(function(){function _0x40e436(_0x15d19a){if(_0x15d19a){for(var _0x1bf39a=Object['keys'](_0x15d19a),_0x42db01=0x0;_0x42db01<_0x1bf39a['length'];++_0x42db01)null!=_0x15d19a[_0x1bf39a[_0x42db01]]&&(this[_0x1bf39a[_0x42db01]]=_0x15d19a[_0x1bf39a[_0x42db01]]);}}return _0x40e436['prototype']['commentThreadId']='',_0x40e436['prototype']['commentId']='',_0x40e436['prototype']['content']='',_0x40e436['prototype']['documentId']='',_0x40e436['prototype']['attributes']='',_0x40e436['prototype']['isAttributesUpdated']=!0x1,_0x40e436['prototype']['commentThread']=null,_0x40e436['create']=function(_0xcd9bcf){return new _0x40e436(_0xcd9bcf);},_0x40e436['encode']=function(_0x1b8c3a,_0x17aef8){return _0x17aef8||(_0x17aef8=_0x186223['create']()),null!=_0x1b8c3a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1b8c3a,'commentThreadId')&&_0x17aef8['uint32'](0xa)['string'](_0x1b8c3a['commentThreadId']),null!=_0x1b8c3a['commentId']&&Object['hasOwnProperty']['call'](_0x1b8c3a,'commentId')&&_0x17aef8['uint32'](0x12)['string'](_0x1b8c3a['commentId']),null!=_0x1b8c3a['content']&&Object['hasOwnProperty']['call'](_0x1b8c3a,'content')&&_0x17aef8['uint32'](0x1a)['string'](_0x1b8c3a['content']),null!=_0x1b8c3a['documentId']&&Object['hasOwnProperty']['call'](_0x1b8c3a,'documentId')&&_0x17aef8['uint32'](0x22)['string'](_0x1b8c3a['documentId']),null!=_0x1b8c3a['attributes']&&Object['hasOwnProperty']['call'](_0x1b8c3a,'attributes')&&_0x17aef8['uint32'](0x2a)['string'](_0x1b8c3a['attributes']),null!=_0x1b8c3a['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x1b8c3a,'isAttributesUpdated')&&_0x17aef8['uint32'](0x30)['bool'](_0x1b8c3a['isAttributesUpdated']),null!=_0x1b8c3a['commentThread']&&Object['hasOwnProperty']['call'](_0x1b8c3a,'commentThread')&&_0x37f903['CommentsThreadDescriptor']['encode'](_0x1b8c3a['commentThread'],_0x17aef8['uint32'](0x3a)['fork']())['ldelim'](),_0x17aef8;},_0x40e436['encodeDelimited']=function(_0x3d7e16,_0x18763e){return this['encode'](_0x3d7e16,_0x18763e)['ldelim']();},_0x40e436['decode']=function(_0x5a9fea,_0x5ac570,_0x115392){_0x5a9fea instanceof _0x57f37b||(_0x5a9fea=_0x57f37b['create'](_0x5a9fea));for(var _0x496656=void 0x0===_0x5ac570?_0x5a9fea['len']:_0x5a9fea['pos']+_0x5ac570,_0x12b9e9=new _0x37f903['CommentsV2UpdateCommentMessage']();_0x5a9fea['pos']<_0x496656;){var _0x551a79=_0x5a9fea['uint32']();if(_0x551a79===_0x115392)break;switch(_0x551a79>>>0x3){case 0x1:_0x12b9e9['commentThreadId']=_0x5a9fea['string']();break;case 0x2:_0x12b9e9['commentId']=_0x5a9fea['string']();break;case 0x3:_0x12b9e9['content']=_0x5a9fea['string']();break;case 0x4:_0x12b9e9['documentId']=_0x5a9fea['string']();break;case 0x5:_0x12b9e9['attributes']=_0x5a9fea['string']();break;case 0x6:_0x12b9e9['isAttributesUpdated']=_0x5a9fea['bool']();break;case 0x7:_0x12b9e9['commentThread']=_0x37f903['CommentsThreadDescriptor']['decode'](_0x5a9fea,_0x5a9fea['uint32']());break;default:_0x5a9fea['skipType'](0x7&_0x551a79);}}return _0x12b9e9;},_0x40e436['decodeDelimited']=function(_0x19a408){return _0x19a408 instanceof _0x57f37b||(_0x19a408=new _0x57f37b(_0x19a408)),this['decode'](_0x19a408,_0x19a408['uint32']());},_0x40e436['verify']=function(_0x2b8b34){if('object'!=typeof _0x2b8b34||null===_0x2b8b34)return'object\x20expected';if(null!=_0x2b8b34['commentThreadId']&&_0x2b8b34['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x2b8b34['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2b8b34['commentId']&&_0x2b8b34['hasOwnProperty']('commentId')&&!_0x2e4f36['isString'](_0x2b8b34['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x2b8b34['content']&&_0x2b8b34['hasOwnProperty']('content')&&!_0x2e4f36['isString'](_0x2b8b34['content']))return'content:\x20string\x20expected';if(null!=_0x2b8b34['documentId']&&_0x2b8b34['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x2b8b34['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2b8b34['attributes']&&_0x2b8b34['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x2b8b34['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x2b8b34['isAttributesUpdated']&&_0x2b8b34['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x2b8b34['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x2b8b34['commentThread']&&_0x2b8b34['hasOwnProperty']('commentThread')){var _0x3731d2=_0x37f903['CommentsThreadDescriptor']['verify'](_0x2b8b34['commentThread']);if(_0x3731d2)return'commentThread.'+_0x3731d2;}return null;},_0x40e436['fromObject']=function(_0x55dfee){if(_0x55dfee instanceof _0x37f903['CommentsV2UpdateCommentMessage'])return _0x55dfee;var _0x37b1ef=new _0x37f903['CommentsV2UpdateCommentMessage']();if(null!=_0x55dfee['commentThreadId']&&(_0x37b1ef['commentThreadId']=String(_0x55dfee['commentThreadId'])),null!=_0x55dfee['commentId']&&(_0x37b1ef['commentId']=String(_0x55dfee['commentId'])),null!=_0x55dfee['content']&&(_0x37b1ef['content']=String(_0x55dfee['content'])),null!=_0x55dfee['documentId']&&(_0x37b1ef['documentId']=String(_0x55dfee['documentId'])),null!=_0x55dfee['attributes']&&(_0x37b1ef['attributes']=String(_0x55dfee['attributes'])),null!=_0x55dfee['isAttributesUpdated']&&(_0x37b1ef['isAttributesUpdated']=Boolean(_0x55dfee['isAttributesUpdated'])),null!=_0x55dfee['commentThread']){if('object'!=typeof _0x55dfee['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x37b1ef['commentThread']=_0x37f903['CommentsThreadDescriptor']['fromObject'](_0x55dfee['commentThread']);}return _0x37b1ef;},_0x40e436['toObject']=function(_0x23f355,_0x35c78a){_0x35c78a||(_0x35c78a={});var _0x3e61b8={};return _0x35c78a['defaults']&&(_0x3e61b8['commentThreadId']='',_0x3e61b8['commentId']='',_0x3e61b8['content']='',_0x3e61b8['documentId']='',_0x3e61b8['attributes']='',_0x3e61b8['isAttributesUpdated']=!0x1,_0x3e61b8['commentThread']=null),null!=_0x23f355['commentThreadId']&&_0x23f355['hasOwnProperty']('commentThreadId')&&(_0x3e61b8['commentThreadId']=_0x23f355['commentThreadId']),null!=_0x23f355['commentId']&&_0x23f355['hasOwnProperty']('commentId')&&(_0x3e61b8['commentId']=_0x23f355['commentId']),null!=_0x23f355['content']&&_0x23f355['hasOwnProperty']('content')&&(_0x3e61b8['content']=_0x23f355['content']),null!=_0x23f355['documentId']&&_0x23f355['hasOwnProperty']('documentId')&&(_0x3e61b8['documentId']=_0x23f355['documentId']),null!=_0x23f355['attributes']&&_0x23f355['hasOwnProperty']('attributes')&&(_0x3e61b8['attributes']=_0x23f355['attributes']),null!=_0x23f355['isAttributesUpdated']&&_0x23f355['hasOwnProperty']('isAttributesUpdated')&&(_0x3e61b8['isAttributesUpdated']=_0x23f355['isAttributesUpdated']),null!=_0x23f355['commentThread']&&_0x23f355['hasOwnProperty']('commentThread')&&(_0x3e61b8['commentThread']=_0x37f903['CommentsThreadDescriptor']['toObject'](_0x23f355['commentThread'],_0x35c78a)),_0x3e61b8;},_0x40e436['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x40e436['getTypeUrl']=function(_0x25203d){return void 0x0===_0x25203d&&(_0x25203d='type.googleapis.com'),_0x25203d+'/CommentsV2UpdateCommentMessage';},_0x40e436;}()),_0x37f903['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x1356b(_0xecd947){if(_0xecd947){for(var _0x595694=Object['keys'](_0xecd947),_0x19ef5a=0x0;_0x19ef5a<_0x595694['length'];++_0x19ef5a)null!=_0xecd947[_0x595694[_0x19ef5a]]&&(this[_0x595694[_0x19ef5a]]=_0xecd947[_0x595694[_0x19ef5a]]);}}return _0x1356b['prototype']['commentThreadId']='',_0x1356b['prototype']['documentId']='',_0x1356b['create']=function(_0x23abc9){return new _0x1356b(_0x23abc9);},_0x1356b['encode']=function(_0xaac7a9,_0x1bdb7b){return _0x1bdb7b||(_0x1bdb7b=_0x186223['create']()),null!=_0xaac7a9['commentThreadId']&&Object['hasOwnProperty']['call'](_0xaac7a9,'commentThreadId')&&_0x1bdb7b['uint32'](0xa)['string'](_0xaac7a9['commentThreadId']),null!=_0xaac7a9['documentId']&&Object['hasOwnProperty']['call'](_0xaac7a9,'documentId')&&_0x1bdb7b['uint32'](0x12)['string'](_0xaac7a9['documentId']),_0x1bdb7b;},_0x1356b['encodeDelimited']=function(_0x4ee9a5,_0x3361a9){return this['encode'](_0x4ee9a5,_0x3361a9)['ldelim']();},_0x1356b['decode']=function(_0x38b586,_0x49efe0,_0x3696aa){_0x38b586 instanceof _0x57f37b||(_0x38b586=_0x57f37b['create'](_0x38b586));for(var _0x231bc0=void 0x0===_0x49efe0?_0x38b586['len']:_0x38b586['pos']+_0x49efe0,_0x7aca5f=new _0x37f903['CommentsV2RemoveCommentThreadMessage']();_0x38b586['pos']<_0x231bc0;){var _0x1cdbe2=_0x38b586['uint32']();if(_0x1cdbe2===_0x3696aa)break;switch(_0x1cdbe2>>>0x3){case 0x1:_0x7aca5f['commentThreadId']=_0x38b586['string']();break;case 0x2:_0x7aca5f['documentId']=_0x38b586['string']();break;default:_0x38b586['skipType'](0x7&_0x1cdbe2);}}return _0x7aca5f;},_0x1356b['decodeDelimited']=function(_0x3bf643){return _0x3bf643 instanceof _0x57f37b||(_0x3bf643=new _0x57f37b(_0x3bf643)),this['decode'](_0x3bf643,_0x3bf643['uint32']());},_0x1356b['verify']=function(_0x2b907c){return'object'!=typeof _0x2b907c||null===_0x2b907c?'object\x20expected':null!=_0x2b907c['commentThreadId']&&_0x2b907c['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x2b907c['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x2b907c['documentId']&&_0x2b907c['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x2b907c['documentId'])?'documentId:\x20string\x20expected':null;},_0x1356b['fromObject']=function(_0x5c03ee){if(_0x5c03ee instanceof _0x37f903['CommentsV2RemoveCommentThreadMessage'])return _0x5c03ee;var _0x3af2a2=new _0x37f903['CommentsV2RemoveCommentThreadMessage']();return null!=_0x5c03ee['commentThreadId']&&(_0x3af2a2['commentThreadId']=String(_0x5c03ee['commentThreadId'])),null!=_0x5c03ee['documentId']&&(_0x3af2a2['documentId']=String(_0x5c03ee['documentId'])),_0x3af2a2;},_0x1356b['toObject']=function(_0x4f9b5a,_0x7f3b3d){_0x7f3b3d||(_0x7f3b3d={});var _0x3e179f={};return _0x7f3b3d['defaults']&&(_0x3e179f['commentThreadId']='',_0x3e179f['documentId']=''),null!=_0x4f9b5a['commentThreadId']&&_0x4f9b5a['hasOwnProperty']('commentThreadId')&&(_0x3e179f['commentThreadId']=_0x4f9b5a['commentThreadId']),null!=_0x4f9b5a['documentId']&&_0x4f9b5a['hasOwnProperty']('documentId')&&(_0x3e179f['documentId']=_0x4f9b5a['documentId']),_0x3e179f;},_0x1356b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1356b['getTypeUrl']=function(_0x1a8572){return void 0x0===_0x1a8572&&(_0x1a8572='type.googleapis.com'),_0x1a8572+'/CommentsV2RemoveCommentThreadMessage';},_0x1356b;}()),_0x37f903['CommentsV2RemoveCommentMessage']=(function(){function _0x44e1cb(_0x23ba00){if(_0x23ba00){for(var _0x1c927a=Object['keys'](_0x23ba00),_0x590356=0x0;_0x590356<_0x1c927a['length'];++_0x590356)null!=_0x23ba00[_0x1c927a[_0x590356]]&&(this[_0x1c927a[_0x590356]]=_0x23ba00[_0x1c927a[_0x590356]]);}}return _0x44e1cb['prototype']['commentThreadId']='',_0x44e1cb['prototype']['commentId']='',_0x44e1cb['prototype']['documentId']='',_0x44e1cb['create']=function(_0x574220){return new _0x44e1cb(_0x574220);},_0x44e1cb['encode']=function(_0x467f25,_0x166e7b){return _0x166e7b||(_0x166e7b=_0x186223['create']()),null!=_0x467f25['commentThreadId']&&Object['hasOwnProperty']['call'](_0x467f25,'commentThreadId')&&_0x166e7b['uint32'](0xa)['string'](_0x467f25['commentThreadId']),null!=_0x467f25['commentId']&&Object['hasOwnProperty']['call'](_0x467f25,'commentId')&&_0x166e7b['uint32'](0x12)['string'](_0x467f25['commentId']),null!=_0x467f25['documentId']&&Object['hasOwnProperty']['call'](_0x467f25,'documentId')&&_0x166e7b['uint32'](0x1a)['string'](_0x467f25['documentId']),_0x166e7b;},_0x44e1cb['encodeDelimited']=function(_0xbcd10e,_0x275fee){return this['encode'](_0xbcd10e,_0x275fee)['ldelim']();},_0x44e1cb['decode']=function(_0x5da622,_0x3f3ba9,_0x25cf7b){_0x5da622 instanceof _0x57f37b||(_0x5da622=_0x57f37b['create'](_0x5da622));for(var _0xcc90dd=void 0x0===_0x3f3ba9?_0x5da622['len']:_0x5da622['pos']+_0x3f3ba9,_0x11d2d4=new _0x37f903['CommentsV2RemoveCommentMessage']();_0x5da622['pos']<_0xcc90dd;){var _0x2d0709=_0x5da622['uint32']();if(_0x2d0709===_0x25cf7b)break;switch(_0x2d0709>>>0x3){case 0x1:_0x11d2d4['commentThreadId']=_0x5da622['string']();break;case 0x2:_0x11d2d4['commentId']=_0x5da622['string']();break;case 0x3:_0x11d2d4['documentId']=_0x5da622['string']();break;default:_0x5da622['skipType'](0x7&_0x2d0709);}}return _0x11d2d4;},_0x44e1cb['decodeDelimited']=function(_0x47b613){return _0x47b613 instanceof _0x57f37b||(_0x47b613=new _0x57f37b(_0x47b613)),this['decode'](_0x47b613,_0x47b613['uint32']());},_0x44e1cb['verify']=function(_0x210084){return'object'!=typeof _0x210084||null===_0x210084?'object\x20expected':null!=_0x210084['commentThreadId']&&_0x210084['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x210084['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x210084['commentId']&&_0x210084['hasOwnProperty']('commentId')&&!_0x2e4f36['isString'](_0x210084['commentId'])?'commentId:\x20string\x20expected':null!=_0x210084['documentId']&&_0x210084['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x210084['documentId'])?'documentId:\x20string\x20expected':null;},_0x44e1cb['fromObject']=function(_0x305b79){if(_0x305b79 instanceof _0x37f903['CommentsV2RemoveCommentMessage'])return _0x305b79;var _0x2563a2=new _0x37f903['CommentsV2RemoveCommentMessage']();return null!=_0x305b79['commentThreadId']&&(_0x2563a2['commentThreadId']=String(_0x305b79['commentThreadId'])),null!=_0x305b79['commentId']&&(_0x2563a2['commentId']=String(_0x305b79['commentId'])),null!=_0x305b79['documentId']&&(_0x2563a2['documentId']=String(_0x305b79['documentId'])),_0x2563a2;},_0x44e1cb['toObject']=function(_0x18b5b5,_0x4c7807){_0x4c7807||(_0x4c7807={});var _0x1cd6af={};return _0x4c7807['defaults']&&(_0x1cd6af['commentThreadId']='',_0x1cd6af['commentId']='',_0x1cd6af['documentId']=''),null!=_0x18b5b5['commentThreadId']&&_0x18b5b5['hasOwnProperty']('commentThreadId')&&(_0x1cd6af['commentThreadId']=_0x18b5b5['commentThreadId']),null!=_0x18b5b5['commentId']&&_0x18b5b5['hasOwnProperty']('commentId')&&(_0x1cd6af['commentId']=_0x18b5b5['commentId']),null!=_0x18b5b5['documentId']&&_0x18b5b5['hasOwnProperty']('documentId')&&(_0x1cd6af['documentId']=_0x18b5b5['documentId']),_0x1cd6af;},_0x44e1cb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x44e1cb['getTypeUrl']=function(_0x898ef9){return void 0x0===_0x898ef9&&(_0x898ef9='type.googleapis.com'),_0x898ef9+'/CommentsV2RemoveCommentMessage';},_0x44e1cb;}()),_0x37f903['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x3cd35c(_0xee92a9){if(_0xee92a9){for(var _0x47debb=Object['keys'](_0xee92a9),_0x5b193b=0x0;_0x5b193b<_0x47debb['length'];++_0x5b193b)null!=_0xee92a9[_0x47debb[_0x5b193b]]&&(this[_0x47debb[_0x5b193b]]=_0xee92a9[_0x47debb[_0x5b193b]]);}}return _0x3cd35c['prototype']['documentId']='',_0x3cd35c['create']=function(_0x3db253){return new _0x3cd35c(_0x3db253);},_0x3cd35c['encode']=function(_0x164089,_0x599da5){return _0x599da5||(_0x599da5=_0x186223['create']()),null!=_0x164089['documentId']&&Object['hasOwnProperty']['call'](_0x164089,'documentId')&&_0x599da5['uint32'](0xa)['string'](_0x164089['documentId']),_0x599da5;},_0x3cd35c['encodeDelimited']=function(_0x96a211,_0x32b8fd){return this['encode'](_0x96a211,_0x32b8fd)['ldelim']();},_0x3cd35c['decode']=function(_0x46971b,_0x4a86b8,_0x41dffe){_0x46971b instanceof _0x57f37b||(_0x46971b=_0x57f37b['create'](_0x46971b));for(var _0x567b4a=void 0x0===_0x4a86b8?_0x46971b['len']:_0x46971b['pos']+_0x4a86b8,_0x5ddd57=new _0x37f903['CommentsV2GetDocumentThreadsMessage']();_0x46971b['pos']<_0x567b4a;){var _0x28c584=_0x46971b['uint32']();if(_0x28c584===_0x41dffe)break;_0x28c584>>>0x3==0x1?_0x5ddd57['documentId']=_0x46971b['string']():_0x46971b['skipType'](0x7&_0x28c584);}return _0x5ddd57;},_0x3cd35c['decodeDelimited']=function(_0x7ecb92){return _0x7ecb92 instanceof _0x57f37b||(_0x7ecb92=new _0x57f37b(_0x7ecb92)),this['decode'](_0x7ecb92,_0x7ecb92['uint32']());},_0x3cd35c['verify']=function(_0x559eb8){return'object'!=typeof _0x559eb8||null===_0x559eb8?'object\x20expected':null!=_0x559eb8['documentId']&&_0x559eb8['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x559eb8['documentId'])?'documentId:\x20string\x20expected':null;},_0x3cd35c['fromObject']=function(_0x8b1333){if(_0x8b1333 instanceof _0x37f903['CommentsV2GetDocumentThreadsMessage'])return _0x8b1333;var _0x406321=new _0x37f903['CommentsV2GetDocumentThreadsMessage']();return null!=_0x8b1333['documentId']&&(_0x406321['documentId']=String(_0x8b1333['documentId'])),_0x406321;},_0x3cd35c['toObject']=function(_0x2370a5,_0x163f0d){_0x163f0d||(_0x163f0d={});var _0xea3ac8={};return _0x163f0d['defaults']&&(_0xea3ac8['documentId']=''),null!=_0x2370a5['documentId']&&_0x2370a5['hasOwnProperty']('documentId')&&(_0xea3ac8['documentId']=_0x2370a5['documentId']),_0xea3ac8;},_0x3cd35c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3cd35c['getTypeUrl']=function(_0x3600e0){return void 0x0===_0x3600e0&&(_0x3600e0='type.googleapis.com'),_0x3600e0+'/CommentsV2GetDocumentThreadsMessage';},_0x3cd35c;}()),_0x37f903['CommentsV2GetCommentThreadMessage']=(function(){function _0x396d24(_0x37724d){if(_0x37724d){for(var _0x1bafbd=Object['keys'](_0x37724d),_0x452a81=0x0;_0x452a81<_0x1bafbd['length'];++_0x452a81)null!=_0x37724d[_0x1bafbd[_0x452a81]]&&(this[_0x1bafbd[_0x452a81]]=_0x37724d[_0x1bafbd[_0x452a81]]);}}return _0x396d24['prototype']['commentThreadId']='',_0x396d24['prototype']['documentId']='',_0x396d24['create']=function(_0x3013c9){return new _0x396d24(_0x3013c9);},_0x396d24['encode']=function(_0x1f1c3e,_0x2c515f){return _0x2c515f||(_0x2c515f=_0x186223['create']()),null!=_0x1f1c3e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1f1c3e,'commentThreadId')&&_0x2c515f['uint32'](0xa)['string'](_0x1f1c3e['commentThreadId']),null!=_0x1f1c3e['documentId']&&Object['hasOwnProperty']['call'](_0x1f1c3e,'documentId')&&_0x2c515f['uint32'](0x12)['string'](_0x1f1c3e['documentId']),_0x2c515f;},_0x396d24['encodeDelimited']=function(_0x5ab359,_0x5a8149){return this['encode'](_0x5ab359,_0x5a8149)['ldelim']();},_0x396d24['decode']=function(_0x102432,_0x411af4,_0x5ab871){_0x102432 instanceof _0x57f37b||(_0x102432=_0x57f37b['create'](_0x102432));for(var _0x3e15a9=void 0x0===_0x411af4?_0x102432['len']:_0x102432['pos']+_0x411af4,_0x3e6cee=new _0x37f903['CommentsV2GetCommentThreadMessage']();_0x102432['pos']<_0x3e15a9;){var _0xc17bce=_0x102432['uint32']();if(_0xc17bce===_0x5ab871)break;switch(_0xc17bce>>>0x3){case 0x1:_0x3e6cee['commentThreadId']=_0x102432['string']();break;case 0x2:_0x3e6cee['documentId']=_0x102432['string']();break;default:_0x102432['skipType'](0x7&_0xc17bce);}}return _0x3e6cee;},_0x396d24['decodeDelimited']=function(_0x168e82){return _0x168e82 instanceof _0x57f37b||(_0x168e82=new _0x57f37b(_0x168e82)),this['decode'](_0x168e82,_0x168e82['uint32']());},_0x396d24['verify']=function(_0x38fa94){return'object'!=typeof _0x38fa94||null===_0x38fa94?'object\x20expected':null!=_0x38fa94['commentThreadId']&&_0x38fa94['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x38fa94['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x38fa94['documentId']&&_0x38fa94['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x38fa94['documentId'])?'documentId:\x20string\x20expected':null;},_0x396d24['fromObject']=function(_0x39b915){if(_0x39b915 instanceof _0x37f903['CommentsV2GetCommentThreadMessage'])return _0x39b915;var _0x1455e7=new _0x37f903['CommentsV2GetCommentThreadMessage']();return null!=_0x39b915['commentThreadId']&&(_0x1455e7['commentThreadId']=String(_0x39b915['commentThreadId'])),null!=_0x39b915['documentId']&&(_0x1455e7['documentId']=String(_0x39b915['documentId'])),_0x1455e7;},_0x396d24['toObject']=function(_0x3b6b54,_0x19ed55){_0x19ed55||(_0x19ed55={});var _0x4d4bb1={};return _0x19ed55['defaults']&&(_0x4d4bb1['commentThreadId']='',_0x4d4bb1['documentId']=''),null!=_0x3b6b54['commentThreadId']&&_0x3b6b54['hasOwnProperty']('commentThreadId')&&(_0x4d4bb1['commentThreadId']=_0x3b6b54['commentThreadId']),null!=_0x3b6b54['documentId']&&_0x3b6b54['hasOwnProperty']('documentId')&&(_0x4d4bb1['documentId']=_0x3b6b54['documentId']),_0x4d4bb1;},_0x396d24['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x396d24['getTypeUrl']=function(_0x1bdfef){return void 0x0===_0x1bdfef&&(_0x1bdfef='type.googleapis.com'),_0x1bdfef+'/CommentsV2GetCommentThreadMessage';},_0x396d24;}()),_0x37f903['CommentsV2ConnectMessage']=(function(){function _0x3e19b2(_0x4b75f9){if(_0x4b75f9){for(var _0xf6a044=Object['keys'](_0x4b75f9),_0x13c73a=0x0;_0x13c73a<_0xf6a044['length'];++_0x13c73a)null!=_0x4b75f9[_0xf6a044[_0x13c73a]]&&(this[_0xf6a044[_0x13c73a]]=_0x4b75f9[_0xf6a044[_0x13c73a]]);}}return _0x3e19b2['prototype']['documentId']='',_0x3e19b2['create']=function(_0x1c42bd){return new _0x3e19b2(_0x1c42bd);},_0x3e19b2['encode']=function(_0x2b6630,_0x2c61fc){return _0x2c61fc||(_0x2c61fc=_0x186223['create']()),null!=_0x2b6630['documentId']&&Object['hasOwnProperty']['call'](_0x2b6630,'documentId')&&_0x2c61fc['uint32'](0xa)['string'](_0x2b6630['documentId']),_0x2c61fc;},_0x3e19b2['encodeDelimited']=function(_0x10c956,_0x5ad738){return this['encode'](_0x10c956,_0x5ad738)['ldelim']();},_0x3e19b2['decode']=function(_0x423a76,_0x11a7e6,_0x4170c5){_0x423a76 instanceof _0x57f37b||(_0x423a76=_0x57f37b['create'](_0x423a76));for(var _0x40a3ae=void 0x0===_0x11a7e6?_0x423a76['len']:_0x423a76['pos']+_0x11a7e6,_0x30138e=new _0x37f903['CommentsV2ConnectMessage']();_0x423a76['pos']<_0x40a3ae;){var _0x4cbda7=_0x423a76['uint32']();if(_0x4cbda7===_0x4170c5)break;_0x4cbda7>>>0x3==0x1?_0x30138e['documentId']=_0x423a76['string']():_0x423a76['skipType'](0x7&_0x4cbda7);}return _0x30138e;},_0x3e19b2['decodeDelimited']=function(_0x239ced){return _0x239ced instanceof _0x57f37b||(_0x239ced=new _0x57f37b(_0x239ced)),this['decode'](_0x239ced,_0x239ced['uint32']());},_0x3e19b2['verify']=function(_0x12f6f3){return'object'!=typeof _0x12f6f3||null===_0x12f6f3?'object\x20expected':null!=_0x12f6f3['documentId']&&_0x12f6f3['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x12f6f3['documentId'])?'documentId:\x20string\x20expected':null;},_0x3e19b2['fromObject']=function(_0xf1935e){if(_0xf1935e instanceof _0x37f903['CommentsV2ConnectMessage'])return _0xf1935e;var _0x44e7aa=new _0x37f903['CommentsV2ConnectMessage']();return null!=_0xf1935e['documentId']&&(_0x44e7aa['documentId']=String(_0xf1935e['documentId'])),_0x44e7aa;},_0x3e19b2['toObject']=function(_0x55b5ee,_0x20c431){_0x20c431||(_0x20c431={});var _0x39413b={};return _0x20c431['defaults']&&(_0x39413b['documentId']=''),null!=_0x55b5ee['documentId']&&_0x55b5ee['hasOwnProperty']('documentId')&&(_0x39413b['documentId']=_0x55b5ee['documentId']),_0x39413b;},_0x3e19b2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3e19b2['getTypeUrl']=function(_0x1a6d94){return void 0x0===_0x1a6d94&&(_0x1a6d94='type.googleapis.com'),_0x1a6d94+'/CommentsV2ConnectMessage';},_0x3e19b2;}()),_0x37f903['CommentsV2AddCommentMessage']=(function(){function _0x5cf987(_0x22979){if(_0x22979){for(var _0x10d9ae=Object['keys'](_0x22979),_0x3caf60=0x0;_0x3caf60<_0x10d9ae['length'];++_0x3caf60)null!=_0x22979[_0x10d9ae[_0x3caf60]]&&(this[_0x10d9ae[_0x3caf60]]=_0x22979[_0x10d9ae[_0x3caf60]]);}}return _0x5cf987['prototype']['commentThreadId']='',_0x5cf987['prototype']['content']='',_0x5cf987['prototype']['documentId']='',_0x5cf987['prototype']['commentId']='',_0x5cf987['prototype']['createdAt']='',_0x5cf987['prototype']['userId']='',_0x5cf987['prototype']['attributes']='',_0x5cf987['prototype']['commentThread']=null,_0x5cf987['create']=function(_0x480229){return new _0x5cf987(_0x480229);},_0x5cf987['encode']=function(_0x5a6404,_0x5bc96e){return _0x5bc96e||(_0x5bc96e=_0x186223['create']()),null!=_0x5a6404['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5a6404,'commentThreadId')&&_0x5bc96e['uint32'](0xa)['string'](_0x5a6404['commentThreadId']),null!=_0x5a6404['content']&&Object['hasOwnProperty']['call'](_0x5a6404,'content')&&_0x5bc96e['uint32'](0x12)['string'](_0x5a6404['content']),null!=_0x5a6404['documentId']&&Object['hasOwnProperty']['call'](_0x5a6404,'documentId')&&_0x5bc96e['uint32'](0x1a)['string'](_0x5a6404['documentId']),null!=_0x5a6404['commentId']&&Object['hasOwnProperty']['call'](_0x5a6404,'commentId')&&_0x5bc96e['uint32'](0x22)['string'](_0x5a6404['commentId']),null!=_0x5a6404['createdAt']&&Object['hasOwnProperty']['call'](_0x5a6404,'createdAt')&&_0x5bc96e['uint32'](0x2a)['string'](_0x5a6404['createdAt']),null!=_0x5a6404['userId']&&Object['hasOwnProperty']['call'](_0x5a6404,'userId')&&_0x5bc96e['uint32'](0x32)['string'](_0x5a6404['userId']),null!=_0x5a6404['attributes']&&Object['hasOwnProperty']['call'](_0x5a6404,'attributes')&&_0x5bc96e['uint32'](0x3a)['string'](_0x5a6404['attributes']),null!=_0x5a6404['commentThread']&&Object['hasOwnProperty']['call'](_0x5a6404,'commentThread')&&_0x37f903['CommentsThreadDescriptor']['encode'](_0x5a6404['commentThread'],_0x5bc96e['uint32'](0x42)['fork']())['ldelim'](),_0x5bc96e;},_0x5cf987['encodeDelimited']=function(_0x599361,_0x3a6406){return this['encode'](_0x599361,_0x3a6406)['ldelim']();},_0x5cf987['decode']=function(_0x3b48d1,_0x406c5a,_0x3306fc){_0x3b48d1 instanceof _0x57f37b||(_0x3b48d1=_0x57f37b['create'](_0x3b48d1));for(var _0x11d812=void 0x0===_0x406c5a?_0x3b48d1['len']:_0x3b48d1['pos']+_0x406c5a,_0x5377a7=new _0x37f903['CommentsV2AddCommentMessage']();_0x3b48d1['pos']<_0x11d812;){var _0x52d69f=_0x3b48d1['uint32']();if(_0x52d69f===_0x3306fc)break;switch(_0x52d69f>>>0x3){case 0x1:_0x5377a7['commentThreadId']=_0x3b48d1['string']();break;case 0x2:_0x5377a7['content']=_0x3b48d1['string']();break;case 0x3:_0x5377a7['documentId']=_0x3b48d1['string']();break;case 0x4:_0x5377a7['commentId']=_0x3b48d1['string']();break;case 0x5:_0x5377a7['createdAt']=_0x3b48d1['string']();break;case 0x6:_0x5377a7['userId']=_0x3b48d1['string']();break;case 0x7:_0x5377a7['attributes']=_0x3b48d1['string']();break;case 0x8:_0x5377a7['commentThread']=_0x37f903['CommentsThreadDescriptor']['decode'](_0x3b48d1,_0x3b48d1['uint32']());break;default:_0x3b48d1['skipType'](0x7&_0x52d69f);}}return _0x5377a7;},_0x5cf987['decodeDelimited']=function(_0x5b3927){return _0x5b3927 instanceof _0x57f37b||(_0x5b3927=new _0x57f37b(_0x5b3927)),this['decode'](_0x5b3927,_0x5b3927['uint32']());},_0x5cf987['verify']=function(_0x147e24){if('object'!=typeof _0x147e24||null===_0x147e24)return'object\x20expected';if(null!=_0x147e24['commentThreadId']&&_0x147e24['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x147e24['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x147e24['content']&&_0x147e24['hasOwnProperty']('content')&&!_0x2e4f36['isString'](_0x147e24['content']))return'content:\x20string\x20expected';if(null!=_0x147e24['documentId']&&_0x147e24['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x147e24['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x147e24['commentId']&&_0x147e24['hasOwnProperty']('commentId')&&!_0x2e4f36['isString'](_0x147e24['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x147e24['createdAt']&&_0x147e24['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x147e24['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x147e24['userId']&&_0x147e24['hasOwnProperty']('userId')&&!_0x2e4f36['isString'](_0x147e24['userId']))return'userId:\x20string\x20expected';if(null!=_0x147e24['attributes']&&_0x147e24['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x147e24['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x147e24['commentThread']&&_0x147e24['hasOwnProperty']('commentThread')){var _0x3e4c98=_0x37f903['CommentsThreadDescriptor']['verify'](_0x147e24['commentThread']);if(_0x3e4c98)return'commentThread.'+_0x3e4c98;}return null;},_0x5cf987['fromObject']=function(_0x1476ae){if(_0x1476ae instanceof _0x37f903['CommentsV2AddCommentMessage'])return _0x1476ae;var _0x2e33df=new _0x37f903['CommentsV2AddCommentMessage']();if(null!=_0x1476ae['commentThreadId']&&(_0x2e33df['commentThreadId']=String(_0x1476ae['commentThreadId'])),null!=_0x1476ae['content']&&(_0x2e33df['content']=String(_0x1476ae['content'])),null!=_0x1476ae['documentId']&&(_0x2e33df['documentId']=String(_0x1476ae['documentId'])),null!=_0x1476ae['commentId']&&(_0x2e33df['commentId']=String(_0x1476ae['commentId'])),null!=_0x1476ae['createdAt']&&(_0x2e33df['createdAt']=String(_0x1476ae['createdAt'])),null!=_0x1476ae['userId']&&(_0x2e33df['userId']=String(_0x1476ae['userId'])),null!=_0x1476ae['attributes']&&(_0x2e33df['attributes']=String(_0x1476ae['attributes'])),null!=_0x1476ae['commentThread']){if('object'!=typeof _0x1476ae['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x2e33df['commentThread']=_0x37f903['CommentsThreadDescriptor']['fromObject'](_0x1476ae['commentThread']);}return _0x2e33df;},_0x5cf987['toObject']=function(_0x58eab8,_0x35c5b7){_0x35c5b7||(_0x35c5b7={});var _0xfeeed9={};return _0x35c5b7['defaults']&&(_0xfeeed9['commentThreadId']='',_0xfeeed9['content']='',_0xfeeed9['documentId']='',_0xfeeed9['commentId']='',_0xfeeed9['createdAt']='',_0xfeeed9['userId']='',_0xfeeed9['attributes']='',_0xfeeed9['commentThread']=null),null!=_0x58eab8['commentThreadId']&&_0x58eab8['hasOwnProperty']('commentThreadId')&&(_0xfeeed9['commentThreadId']=_0x58eab8['commentThreadId']),null!=_0x58eab8['content']&&_0x58eab8['hasOwnProperty']('content')&&(_0xfeeed9['content']=_0x58eab8['content']),null!=_0x58eab8['documentId']&&_0x58eab8['hasOwnProperty']('documentId')&&(_0xfeeed9['documentId']=_0x58eab8['documentId']),null!=_0x58eab8['commentId']&&_0x58eab8['hasOwnProperty']('commentId')&&(_0xfeeed9['commentId']=_0x58eab8['commentId']),null!=_0x58eab8['createdAt']&&_0x58eab8['hasOwnProperty']('createdAt')&&(_0xfeeed9['createdAt']=_0x58eab8['createdAt']),null!=_0x58eab8['userId']&&_0x58eab8['hasOwnProperty']('userId')&&(_0xfeeed9['userId']=_0x58eab8['userId']),null!=_0x58eab8['attributes']&&_0x58eab8['hasOwnProperty']('attributes')&&(_0xfeeed9['attributes']=_0x58eab8['attributes']),null!=_0x58eab8['commentThread']&&_0x58eab8['hasOwnProperty']('commentThread')&&(_0xfeeed9['commentThread']=_0x37f903['CommentsThreadDescriptor']['toObject'](_0x58eab8['commentThread'],_0x35c5b7)),_0xfeeed9;},_0x5cf987['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5cf987['getTypeUrl']=function(_0x9e745f){return void 0x0===_0x9e745f&&(_0x9e745f='type.googleapis.com'),_0x9e745f+'/CommentsV2AddCommentMessage';},_0x5cf987;}()),_0x37f903['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x2982ae(_0x4ff7cc){if(_0x4ff7cc){for(var _0x10bdc3=Object['keys'](_0x4ff7cc),_0x3867f7=0x0;_0x3867f7<_0x10bdc3['length'];++_0x3867f7)null!=_0x4ff7cc[_0x10bdc3[_0x3867f7]]&&(this[_0x10bdc3[_0x3867f7]]=_0x4ff7cc[_0x10bdc3[_0x3867f7]]);}}return _0x2982ae['prototype']['commentThreadId']='',_0x2982ae['prototype']['documentId']='',_0x2982ae['prototype']['context']='',_0x2982ae['prototype']['attributes']='',_0x2982ae['prototype']['unlinkedAt']='',_0x2982ae['create']=function(_0x2d06b1){return new _0x2982ae(_0x2d06b1);},_0x2982ae['encode']=function(_0x2c5ec6,_0x13aeb6){return _0x13aeb6||(_0x13aeb6=_0x186223['create']()),null!=_0x2c5ec6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2c5ec6,'commentThreadId')&&_0x13aeb6['uint32'](0xa)['string'](_0x2c5ec6['commentThreadId']),null!=_0x2c5ec6['documentId']&&Object['hasOwnProperty']['call'](_0x2c5ec6,'documentId')&&_0x13aeb6['uint32'](0x12)['string'](_0x2c5ec6['documentId']),null!=_0x2c5ec6['context']&&Object['hasOwnProperty']['call'](_0x2c5ec6,'context')&&_0x13aeb6['uint32'](0x1a)['string'](_0x2c5ec6['context']),null!=_0x2c5ec6['attributes']&&Object['hasOwnProperty']['call'](_0x2c5ec6,'attributes')&&_0x13aeb6['uint32'](0x22)['string'](_0x2c5ec6['attributes']),null!=_0x2c5ec6['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x2c5ec6,'unlinkedAt')&&_0x13aeb6['uint32'](0x2a)['string'](_0x2c5ec6['unlinkedAt']),_0x13aeb6;},_0x2982ae['encodeDelimited']=function(_0x3b1c6f,_0x88dcfc){return this['encode'](_0x3b1c6f,_0x88dcfc)['ldelim']();},_0x2982ae['decode']=function(_0x49534a,_0x51a26d,_0x36fcf1){_0x49534a instanceof _0x57f37b||(_0x49534a=_0x57f37b['create'](_0x49534a));for(var _0x22dbf8=void 0x0===_0x51a26d?_0x49534a['len']:_0x49534a['pos']+_0x51a26d,_0x5e93d2=new _0x37f903['CommentsV2UpdateCommentThreadMessage']();_0x49534a['pos']<_0x22dbf8;){var _0x47c65e=_0x49534a['uint32']();if(_0x47c65e===_0x36fcf1)break;switch(_0x47c65e>>>0x3){case 0x1:_0x5e93d2['commentThreadId']=_0x49534a['string']();break;case 0x2:_0x5e93d2['documentId']=_0x49534a['string']();break;case 0x3:_0x5e93d2['context']=_0x49534a['string']();break;case 0x4:_0x5e93d2['attributes']=_0x49534a['string']();break;case 0x5:_0x5e93d2['unlinkedAt']=_0x49534a['string']();break;default:_0x49534a['skipType'](0x7&_0x47c65e);}}return _0x5e93d2;},_0x2982ae['decodeDelimited']=function(_0xd0449a){return _0xd0449a instanceof _0x57f37b||(_0xd0449a=new _0x57f37b(_0xd0449a)),this['decode'](_0xd0449a,_0xd0449a['uint32']());},_0x2982ae['verify']=function(_0x52b323){return'object'!=typeof _0x52b323||null===_0x52b323?'object\x20expected':null!=_0x52b323['commentThreadId']&&_0x52b323['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x52b323['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x52b323['documentId']&&_0x52b323['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x52b323['documentId'])?'documentId:\x20string\x20expected':null!=_0x52b323['context']&&_0x52b323['hasOwnProperty']('context')&&!_0x2e4f36['isString'](_0x52b323['context'])?'context:\x20string\x20expected':null!=_0x52b323['attributes']&&_0x52b323['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x52b323['attributes'])?'attributes:\x20string\x20expected':null!=_0x52b323['unlinkedAt']&&_0x52b323['hasOwnProperty']('unlinkedAt')&&!_0x2e4f36['isString'](_0x52b323['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x2982ae['fromObject']=function(_0x43e031){if(_0x43e031 instanceof _0x37f903['CommentsV2UpdateCommentThreadMessage'])return _0x43e031;var _0x49df03=new _0x37f903['CommentsV2UpdateCommentThreadMessage']();return null!=_0x43e031['commentThreadId']&&(_0x49df03['commentThreadId']=String(_0x43e031['commentThreadId'])),null!=_0x43e031['documentId']&&(_0x49df03['documentId']=String(_0x43e031['documentId'])),null!=_0x43e031['context']&&(_0x49df03['context']=String(_0x43e031['context'])),null!=_0x43e031['attributes']&&(_0x49df03['attributes']=String(_0x43e031['attributes'])),null!=_0x43e031['unlinkedAt']&&(_0x49df03['unlinkedAt']=String(_0x43e031['unlinkedAt'])),_0x49df03;},_0x2982ae['toObject']=function(_0xddb309,_0x1e4e91){_0x1e4e91||(_0x1e4e91={});var _0x20a05e={};return _0x1e4e91['defaults']&&(_0x20a05e['commentThreadId']='',_0x20a05e['documentId']='',_0x20a05e['context']='',_0x20a05e['attributes']='',_0x20a05e['unlinkedAt']=''),null!=_0xddb309['commentThreadId']&&_0xddb309['hasOwnProperty']('commentThreadId')&&(_0x20a05e['commentThreadId']=_0xddb309['commentThreadId']),null!=_0xddb309['documentId']&&_0xddb309['hasOwnProperty']('documentId')&&(_0x20a05e['documentId']=_0xddb309['documentId']),null!=_0xddb309['context']&&_0xddb309['hasOwnProperty']('context')&&(_0x20a05e['context']=_0xddb309['context']),null!=_0xddb309['attributes']&&_0xddb309['hasOwnProperty']('attributes')&&(_0x20a05e['attributes']=_0xddb309['attributes']),null!=_0xddb309['unlinkedAt']&&_0xddb309['hasOwnProperty']('unlinkedAt')&&(_0x20a05e['unlinkedAt']=_0xddb309['unlinkedAt']),_0x20a05e;},_0x2982ae['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2982ae['getTypeUrl']=function(_0x14f8d8){return void 0x0===_0x14f8d8&&(_0x14f8d8='type.googleapis.com'),_0x14f8d8+'/CommentsV2UpdateCommentThreadMessage';},_0x2982ae;}()),_0x37f903['CommentsV2ResolveCommentThreadMessage']=(function(){function _0xd1f5ca(_0x56968b){if(_0x56968b){for(var _0x83c43e=Object['keys'](_0x56968b),_0x4bd40a=0x0;_0x4bd40a<_0x83c43e['length'];++_0x4bd40a)null!=_0x56968b[_0x83c43e[_0x4bd40a]]&&(this[_0x83c43e[_0x4bd40a]]=_0x56968b[_0x83c43e[_0x4bd40a]]);}}return _0xd1f5ca['prototype']['commentThreadId']='',_0xd1f5ca['prototype']['documentId']='',_0xd1f5ca['prototype']['resolvedBy']='',_0xd1f5ca['prototype']['resolvedAt']='',_0xd1f5ca['create']=function(_0x3cea28){return new _0xd1f5ca(_0x3cea28);},_0xd1f5ca['encode']=function(_0x4af95a,_0xecc572){return _0xecc572||(_0xecc572=_0x186223['create']()),null!=_0x4af95a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4af95a,'commentThreadId')&&_0xecc572['uint32'](0xa)['string'](_0x4af95a['commentThreadId']),null!=_0x4af95a['documentId']&&Object['hasOwnProperty']['call'](_0x4af95a,'documentId')&&_0xecc572['uint32'](0x12)['string'](_0x4af95a['documentId']),null!=_0x4af95a['resolvedBy']&&Object['hasOwnProperty']['call'](_0x4af95a,'resolvedBy')&&_0xecc572['uint32'](0x1a)['string'](_0x4af95a['resolvedBy']),null!=_0x4af95a['resolvedAt']&&Object['hasOwnProperty']['call'](_0x4af95a,'resolvedAt')&&_0xecc572['uint32'](0x22)['string'](_0x4af95a['resolvedAt']),_0xecc572;},_0xd1f5ca['encodeDelimited']=function(_0x1a6a48,_0x4f9f9){return this['encode'](_0x1a6a48,_0x4f9f9)['ldelim']();},_0xd1f5ca['decode']=function(_0xcd72a2,_0x1d479a,_0x1db996){_0xcd72a2 instanceof _0x57f37b||(_0xcd72a2=_0x57f37b['create'](_0xcd72a2));for(var _0x3255a4=void 0x0===_0x1d479a?_0xcd72a2['len']:_0xcd72a2['pos']+_0x1d479a,_0xff56d=new _0x37f903['CommentsV2ResolveCommentThreadMessage']();_0xcd72a2['pos']<_0x3255a4;){var _0xc0db64=_0xcd72a2['uint32']();if(_0xc0db64===_0x1db996)break;switch(_0xc0db64>>>0x3){case 0x1:_0xff56d['commentThreadId']=_0xcd72a2['string']();break;case 0x2:_0xff56d['documentId']=_0xcd72a2['string']();break;case 0x3:_0xff56d['resolvedBy']=_0xcd72a2['string']();break;case 0x4:_0xff56d['resolvedAt']=_0xcd72a2['string']();break;default:_0xcd72a2['skipType'](0x7&_0xc0db64);}}return _0xff56d;},_0xd1f5ca['decodeDelimited']=function(_0x3b74dd){return _0x3b74dd instanceof _0x57f37b||(_0x3b74dd=new _0x57f37b(_0x3b74dd)),this['decode'](_0x3b74dd,_0x3b74dd['uint32']());},_0xd1f5ca['verify']=function(_0x1b2ffc){return'object'!=typeof _0x1b2ffc||null===_0x1b2ffc?'object\x20expected':null!=_0x1b2ffc['commentThreadId']&&_0x1b2ffc['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x1b2ffc['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1b2ffc['documentId']&&_0x1b2ffc['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x1b2ffc['documentId'])?'documentId:\x20string\x20expected':null!=_0x1b2ffc['resolvedBy']&&_0x1b2ffc['hasOwnProperty']('resolvedBy')&&!_0x2e4f36['isString'](_0x1b2ffc['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x1b2ffc['resolvedAt']&&_0x1b2ffc['hasOwnProperty']('resolvedAt')&&!_0x2e4f36['isString'](_0x1b2ffc['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0xd1f5ca['fromObject']=function(_0x5d0adb){if(_0x5d0adb instanceof _0x37f903['CommentsV2ResolveCommentThreadMessage'])return _0x5d0adb;var _0x3de6d3=new _0x37f903['CommentsV2ResolveCommentThreadMessage']();return null!=_0x5d0adb['commentThreadId']&&(_0x3de6d3['commentThreadId']=String(_0x5d0adb['commentThreadId'])),null!=_0x5d0adb['documentId']&&(_0x3de6d3['documentId']=String(_0x5d0adb['documentId'])),null!=_0x5d0adb['resolvedBy']&&(_0x3de6d3['resolvedBy']=String(_0x5d0adb['resolvedBy'])),null!=_0x5d0adb['resolvedAt']&&(_0x3de6d3['resolvedAt']=String(_0x5d0adb['resolvedAt'])),_0x3de6d3;},_0xd1f5ca['toObject']=function(_0x339d16,_0x3c196a){_0x3c196a||(_0x3c196a={});var _0x10a017={};return _0x3c196a['defaults']&&(_0x10a017['commentThreadId']='',_0x10a017['documentId']='',_0x10a017['resolvedBy']='',_0x10a017['resolvedAt']=''),null!=_0x339d16['commentThreadId']&&_0x339d16['hasOwnProperty']('commentThreadId')&&(_0x10a017['commentThreadId']=_0x339d16['commentThreadId']),null!=_0x339d16['documentId']&&_0x339d16['hasOwnProperty']('documentId')&&(_0x10a017['documentId']=_0x339d16['documentId']),null!=_0x339d16['resolvedBy']&&_0x339d16['hasOwnProperty']('resolvedBy')&&(_0x10a017['resolvedBy']=_0x339d16['resolvedBy']),null!=_0x339d16['resolvedAt']&&_0x339d16['hasOwnProperty']('resolvedAt')&&(_0x10a017['resolvedAt']=_0x339d16['resolvedAt']),_0x10a017;},_0xd1f5ca['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xd1f5ca['getTypeUrl']=function(_0x5ea624){return void 0x0===_0x5ea624&&(_0x5ea624='type.googleapis.com'),_0x5ea624+'/CommentsV2ResolveCommentThreadMessage';},_0xd1f5ca;}()),_0x37f903['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x9b584b(_0x393732){if(_0x393732){for(var _0x5be80c=Object['keys'](_0x393732),_0x590a23=0x0;_0x590a23<_0x5be80c['length'];++_0x590a23)null!=_0x393732[_0x5be80c[_0x590a23]]&&(this[_0x5be80c[_0x590a23]]=_0x393732[_0x5be80c[_0x590a23]]);}}return _0x9b584b['prototype']['commentThreadId']='',_0x9b584b['prototype']['documentId']='',_0x9b584b['create']=function(_0x3d93de){return new _0x9b584b(_0x3d93de);},_0x9b584b['encode']=function(_0x5c522e,_0x5ac121){return _0x5ac121||(_0x5ac121=_0x186223['create']()),null!=_0x5c522e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5c522e,'commentThreadId')&&_0x5ac121['uint32'](0xa)['string'](_0x5c522e['commentThreadId']),null!=_0x5c522e['documentId']&&Object['hasOwnProperty']['call'](_0x5c522e,'documentId')&&_0x5ac121['uint32'](0x12)['string'](_0x5c522e['documentId']),_0x5ac121;},_0x9b584b['encodeDelimited']=function(_0x141076,_0xf6b305){return this['encode'](_0x141076,_0xf6b305)['ldelim']();},_0x9b584b['decode']=function(_0x253bbe,_0x317f53,_0x1d8098){_0x253bbe instanceof _0x57f37b||(_0x253bbe=_0x57f37b['create'](_0x253bbe));for(var _0x418d79=void 0x0===_0x317f53?_0x253bbe['len']:_0x253bbe['pos']+_0x317f53,_0x4f4168=new _0x37f903['CommentsV2ReopenCommentThreadMessage']();_0x253bbe['pos']<_0x418d79;){var _0x4a235b=_0x253bbe['uint32']();if(_0x4a235b===_0x1d8098)break;switch(_0x4a235b>>>0x3){case 0x1:_0x4f4168['commentThreadId']=_0x253bbe['string']();break;case 0x2:_0x4f4168['documentId']=_0x253bbe['string']();break;default:_0x253bbe['skipType'](0x7&_0x4a235b);}}return _0x4f4168;},_0x9b584b['decodeDelimited']=function(_0x5366f6){return _0x5366f6 instanceof _0x57f37b||(_0x5366f6=new _0x57f37b(_0x5366f6)),this['decode'](_0x5366f6,_0x5366f6['uint32']());},_0x9b584b['verify']=function(_0x486c5f){return'object'!=typeof _0x486c5f||null===_0x486c5f?'object\x20expected':null!=_0x486c5f['commentThreadId']&&_0x486c5f['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x486c5f['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x486c5f['documentId']&&_0x486c5f['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x486c5f['documentId'])?'documentId:\x20string\x20expected':null;},_0x9b584b['fromObject']=function(_0x55fad7){if(_0x55fad7 instanceof _0x37f903['CommentsV2ReopenCommentThreadMessage'])return _0x55fad7;var _0x20ad7b=new _0x37f903['CommentsV2ReopenCommentThreadMessage']();return null!=_0x55fad7['commentThreadId']&&(_0x20ad7b['commentThreadId']=String(_0x55fad7['commentThreadId'])),null!=_0x55fad7['documentId']&&(_0x20ad7b['documentId']=String(_0x55fad7['documentId'])),_0x20ad7b;},_0x9b584b['toObject']=function(_0x49cad6,_0x58870d){_0x58870d||(_0x58870d={});var _0x86d4db={};return _0x58870d['defaults']&&(_0x86d4db['commentThreadId']='',_0x86d4db['documentId']=''),null!=_0x49cad6['commentThreadId']&&_0x49cad6['hasOwnProperty']('commentThreadId')&&(_0x86d4db['commentThreadId']=_0x49cad6['commentThreadId']),null!=_0x49cad6['documentId']&&_0x49cad6['hasOwnProperty']('documentId')&&(_0x86d4db['documentId']=_0x49cad6['documentId']),_0x86d4db;},_0x9b584b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x9b584b['getTypeUrl']=function(_0x224d09){return void 0x0===_0x224d09&&(_0x224d09='type.googleapis.com'),_0x224d09+'/CommentsV2ReopenCommentThreadMessage';},_0x9b584b;}()),_0x37f903['CommentsV2AddCommentThreadMessage']=(function(){function _0x113c44(_0x23b797){if(this['comments']=[],_0x23b797){for(var _0x35365d=Object['keys'](_0x23b797),_0x4e6c43=0x0;_0x4e6c43<_0x35365d['length'];++_0x4e6c43)null!=_0x23b797[_0x35365d[_0x4e6c43]]&&(this[_0x35365d[_0x4e6c43]]=_0x23b797[_0x35365d[_0x4e6c43]]);}}return _0x113c44['prototype']['documentId']='',_0x113c44['prototype']['commentThreadId']='',_0x113c44['prototype']['context']='',_0x113c44['prototype']['createdAt']='',_0x113c44['prototype']['resolvedAt']='',_0x113c44['prototype']['resolvedBy']='',_0x113c44['prototype']['attributes']='',_0x113c44['prototype']['deletedAt']='',_0x113c44['prototype']['comments']=_0x2e4f36['emptyArray'],_0x113c44['create']=function(_0x4272f0){return new _0x113c44(_0x4272f0);},_0x113c44['encode']=function(_0x574a97,_0x3605f2){if(_0x3605f2||(_0x3605f2=_0x186223['create']()),null!=_0x574a97['documentId']&&Object['hasOwnProperty']['call'](_0x574a97,'documentId')&&_0x3605f2['uint32'](0xa)['string'](_0x574a97['documentId']),null!=_0x574a97['commentThreadId']&&Object['hasOwnProperty']['call'](_0x574a97,'commentThreadId')&&_0x3605f2['uint32'](0x12)['string'](_0x574a97['commentThreadId']),null!=_0x574a97['context']&&Object['hasOwnProperty']['call'](_0x574a97,'context')&&_0x3605f2['uint32'](0x1a)['string'](_0x574a97['context']),null!=_0x574a97['createdAt']&&Object['hasOwnProperty']['call'](_0x574a97,'createdAt')&&_0x3605f2['uint32'](0x22)['string'](_0x574a97['createdAt']),null!=_0x574a97['resolvedAt']&&Object['hasOwnProperty']['call'](_0x574a97,'resolvedAt')&&_0x3605f2['uint32'](0x2a)['string'](_0x574a97['resolvedAt']),null!=_0x574a97['resolvedBy']&&Object['hasOwnProperty']['call'](_0x574a97,'resolvedBy')&&_0x3605f2['uint32'](0x32)['string'](_0x574a97['resolvedBy']),null!=_0x574a97['attributes']&&Object['hasOwnProperty']['call'](_0x574a97,'attributes')&&_0x3605f2['uint32'](0x3a)['string'](_0x574a97['attributes']),null!=_0x574a97['deletedAt']&&Object['hasOwnProperty']['call'](_0x574a97,'deletedAt')&&_0x3605f2['uint32'](0x42)['string'](_0x574a97['deletedAt']),null!=_0x574a97['comments']&&_0x574a97['comments']['length']){for(var _0x508faf=0x0;_0x508faf<_0x574a97['comments']['length'];++_0x508faf)_0x37f903['CommentDescriptor']['encode'](_0x574a97['comments'][_0x508faf],_0x3605f2['uint32'](0x4a)['fork']())['ldelim']();}return _0x3605f2;},_0x113c44['encodeDelimited']=function(_0x2db903,_0x446760){return this['encode'](_0x2db903,_0x446760)['ldelim']();},_0x113c44['decode']=function(_0x370a8f,_0x130963,_0x56ec7f){_0x370a8f instanceof _0x57f37b||(_0x370a8f=_0x57f37b['create'](_0x370a8f));for(var _0x96de2a=void 0x0===_0x130963?_0x370a8f['len']:_0x370a8f['pos']+_0x130963,_0x208c63=new _0x37f903['CommentsV2AddCommentThreadMessage']();_0x370a8f['pos']<_0x96de2a;){var _0x3a5e88=_0x370a8f['uint32']();if(_0x3a5e88===_0x56ec7f)break;switch(_0x3a5e88>>>0x3){case 0x1:_0x208c63['documentId']=_0x370a8f['string']();break;case 0x2:_0x208c63['commentThreadId']=_0x370a8f['string']();break;case 0x3:_0x208c63['context']=_0x370a8f['string']();break;case 0x4:_0x208c63['createdAt']=_0x370a8f['string']();break;case 0x5:_0x208c63['resolvedAt']=_0x370a8f['string']();break;case 0x6:_0x208c63['resolvedBy']=_0x370a8f['string']();break;case 0x7:_0x208c63['attributes']=_0x370a8f['string']();break;case 0x8:_0x208c63['deletedAt']=_0x370a8f['string']();break;case 0x9:_0x208c63['comments']&&_0x208c63['comments']['length']||(_0x208c63['comments']=[]),_0x208c63['comments']['push'](_0x37f903['CommentDescriptor']['decode'](_0x370a8f,_0x370a8f['uint32']()));break;default:_0x370a8f['skipType'](0x7&_0x3a5e88);}}return _0x208c63;},_0x113c44['decodeDelimited']=function(_0x436041){return _0x436041 instanceof _0x57f37b||(_0x436041=new _0x57f37b(_0x436041)),this['decode'](_0x436041,_0x436041['uint32']());},_0x113c44['verify']=function(_0x654614){if('object'!=typeof _0x654614||null===_0x654614)return'object\x20expected';if(null!=_0x654614['documentId']&&_0x654614['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x654614['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x654614['commentThreadId']&&_0x654614['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x654614['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x654614['context']&&_0x654614['hasOwnProperty']('context')&&!_0x2e4f36['isString'](_0x654614['context']))return'context:\x20string\x20expected';if(null!=_0x654614['createdAt']&&_0x654614['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x654614['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x654614['resolvedAt']&&_0x654614['hasOwnProperty']('resolvedAt')&&!_0x2e4f36['isString'](_0x654614['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x654614['resolvedBy']&&_0x654614['hasOwnProperty']('resolvedBy')&&!_0x2e4f36['isString'](_0x654614['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x654614['attributes']&&_0x654614['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x654614['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x654614['deletedAt']&&_0x654614['hasOwnProperty']('deletedAt')&&!_0x2e4f36['isString'](_0x654614['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x654614['comments']&&_0x654614['hasOwnProperty']('comments')){if(!Array['isArray'](_0x654614['comments']))return'comments:\x20array\x20expected';for(var _0x4b2e82=0x0;_0x4b2e82<_0x654614['comments']['length'];++_0x4b2e82){var _0x592ec0=_0x37f903['CommentDescriptor']['verify'](_0x654614['comments'][_0x4b2e82]);if(_0x592ec0)return'comments.'+_0x592ec0;}}return null;},_0x113c44['fromObject']=function(_0x52fb2d){if(_0x52fb2d instanceof _0x37f903['CommentsV2AddCommentThreadMessage'])return _0x52fb2d;var _0x564fe0=new _0x37f903['CommentsV2AddCommentThreadMessage']();if(null!=_0x52fb2d['documentId']&&(_0x564fe0['documentId']=String(_0x52fb2d['documentId'])),null!=_0x52fb2d['commentThreadId']&&(_0x564fe0['commentThreadId']=String(_0x52fb2d['commentThreadId'])),null!=_0x52fb2d['context']&&(_0x564fe0['context']=String(_0x52fb2d['context'])),null!=_0x52fb2d['createdAt']&&(_0x564fe0['createdAt']=String(_0x52fb2d['createdAt'])),null!=_0x52fb2d['resolvedAt']&&(_0x564fe0['resolvedAt']=String(_0x52fb2d['resolvedAt'])),null!=_0x52fb2d['resolvedBy']&&(_0x564fe0['resolvedBy']=String(_0x52fb2d['resolvedBy'])),null!=_0x52fb2d['attributes']&&(_0x564fe0['attributes']=String(_0x52fb2d['attributes'])),null!=_0x52fb2d['deletedAt']&&(_0x564fe0['deletedAt']=String(_0x52fb2d['deletedAt'])),_0x52fb2d['comments']){if(!Array['isArray'](_0x52fb2d['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x564fe0['comments']=[];for(var _0x5baf3e=0x0;_0x5baf3e<_0x52fb2d['comments']['length'];++_0x5baf3e){if('object'!=typeof _0x52fb2d['comments'][_0x5baf3e])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x564fe0['comments'][_0x5baf3e]=_0x37f903['CommentDescriptor']['fromObject'](_0x52fb2d['comments'][_0x5baf3e]);}}return _0x564fe0;},_0x113c44['toObject']=function(_0x1411b2,_0x1d0e59){_0x1d0e59||(_0x1d0e59={});var _0x20691a={};if((_0x1d0e59['arrays']||_0x1d0e59['defaults'])&&(_0x20691a['comments']=[]),_0x1d0e59['defaults']&&(_0x20691a['documentId']='',_0x20691a['commentThreadId']='',_0x20691a['context']='',_0x20691a['createdAt']='',_0x20691a['resolvedAt']='',_0x20691a['resolvedBy']='',_0x20691a['attributes']='',_0x20691a['deletedAt']=''),null!=_0x1411b2['documentId']&&_0x1411b2['hasOwnProperty']('documentId')&&(_0x20691a['documentId']=_0x1411b2['documentId']),null!=_0x1411b2['commentThreadId']&&_0x1411b2['hasOwnProperty']('commentThreadId')&&(_0x20691a['commentThreadId']=_0x1411b2['commentThreadId']),null!=_0x1411b2['context']&&_0x1411b2['hasOwnProperty']('context')&&(_0x20691a['context']=_0x1411b2['context']),null!=_0x1411b2['createdAt']&&_0x1411b2['hasOwnProperty']('createdAt')&&(_0x20691a['createdAt']=_0x1411b2['createdAt']),null!=_0x1411b2['resolvedAt']&&_0x1411b2['hasOwnProperty']('resolvedAt')&&(_0x20691a['resolvedAt']=_0x1411b2['resolvedAt']),null!=_0x1411b2['resolvedBy']&&_0x1411b2['hasOwnProperty']('resolvedBy')&&(_0x20691a['resolvedBy']=_0x1411b2['resolvedBy']),null!=_0x1411b2['attributes']&&_0x1411b2['hasOwnProperty']('attributes')&&(_0x20691a['attributes']=_0x1411b2['attributes']),null!=_0x1411b2['deletedAt']&&_0x1411b2['hasOwnProperty']('deletedAt')&&(_0x20691a['deletedAt']=_0x1411b2['deletedAt']),_0x1411b2['comments']&&_0x1411b2['comments']['length']){_0x20691a['comments']=[];for(var _0x3a046c=0x0;_0x3a046c<_0x1411b2['comments']['length'];++_0x3a046c)_0x20691a['comments'][_0x3a046c]=_0x37f903['CommentDescriptor']['toObject'](_0x1411b2['comments'][_0x3a046c],_0x1d0e59);}return _0x20691a;},_0x113c44['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x113c44['getTypeUrl']=function(_0x5352d3){return void 0x0===_0x5352d3&&(_0x5352d3='type.googleapis.com'),_0x5352d3+'/CommentsV2AddCommentThreadMessage';},_0x113c44;}()),_0x37f903['CommentThreadAddedCommentDescriptor']=(function(){function _0x2ad39a(_0x55e916){if(_0x55e916){for(var _0x23c99c=Object['keys'](_0x55e916),_0xc5e92a=0x0;_0xc5e92a<_0x23c99c['length'];++_0xc5e92a)null!=_0x55e916[_0x23c99c[_0xc5e92a]]&&(this[_0x23c99c[_0xc5e92a]]=_0x55e916[_0x23c99c[_0xc5e92a]]);}}return _0x2ad39a['prototype']['commentId']='',_0x2ad39a['prototype']['createdAt']='',_0x2ad39a['create']=function(_0x6507ad){return new _0x2ad39a(_0x6507ad);},_0x2ad39a['encode']=function(_0xd4a25c,_0xa73bce){return _0xa73bce||(_0xa73bce=_0x186223['create']()),null!=_0xd4a25c['commentId']&&Object['hasOwnProperty']['call'](_0xd4a25c,'commentId')&&_0xa73bce['uint32'](0xa)['string'](_0xd4a25c['commentId']),null!=_0xd4a25c['createdAt']&&Object['hasOwnProperty']['call'](_0xd4a25c,'createdAt')&&_0xa73bce['uint32'](0x12)['string'](_0xd4a25c['createdAt']),_0xa73bce;},_0x2ad39a['encodeDelimited']=function(_0x169d4c,_0x4393a8){return this['encode'](_0x169d4c,_0x4393a8)['ldelim']();},_0x2ad39a['decode']=function(_0xc086cf,_0x97ca8e,_0x38deaf){_0xc086cf instanceof _0x57f37b||(_0xc086cf=_0x57f37b['create'](_0xc086cf));for(var _0x24cff1=void 0x0===_0x97ca8e?_0xc086cf['len']:_0xc086cf['pos']+_0x97ca8e,_0x22d92e=new _0x37f903['CommentThreadAddedCommentDescriptor']();_0xc086cf['pos']<_0x24cff1;){var _0x3619f4=_0xc086cf['uint32']();if(_0x3619f4===_0x38deaf)break;switch(_0x3619f4>>>0x3){case 0x1:_0x22d92e['commentId']=_0xc086cf['string']();break;case 0x2:_0x22d92e['createdAt']=_0xc086cf['string']();break;default:_0xc086cf['skipType'](0x7&_0x3619f4);}}return _0x22d92e;},_0x2ad39a['decodeDelimited']=function(_0x541ab6){return _0x541ab6 instanceof _0x57f37b||(_0x541ab6=new _0x57f37b(_0x541ab6)),this['decode'](_0x541ab6,_0x541ab6['uint32']());},_0x2ad39a['verify']=function(_0xa760d6){return'object'!=typeof _0xa760d6||null===_0xa760d6?'object\x20expected':null!=_0xa760d6['commentId']&&_0xa760d6['hasOwnProperty']('commentId')&&!_0x2e4f36['isString'](_0xa760d6['commentId'])?'commentId:\x20string\x20expected':null!=_0xa760d6['createdAt']&&_0xa760d6['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0xa760d6['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x2ad39a['fromObject']=function(_0x18f9e4){if(_0x18f9e4 instanceof _0x37f903['CommentThreadAddedCommentDescriptor'])return _0x18f9e4;var _0x1d8f5c=new _0x37f903['CommentThreadAddedCommentDescriptor']();return null!=_0x18f9e4['commentId']&&(_0x1d8f5c['commentId']=String(_0x18f9e4['commentId'])),null!=_0x18f9e4['createdAt']&&(_0x1d8f5c['createdAt']=String(_0x18f9e4['createdAt'])),_0x1d8f5c;},_0x2ad39a['toObject']=function(_0x4d5488,_0x2bb62e){_0x2bb62e||(_0x2bb62e={});var _0x5822f3={};return _0x2bb62e['defaults']&&(_0x5822f3['commentId']='',_0x5822f3['createdAt']=''),null!=_0x4d5488['commentId']&&_0x4d5488['hasOwnProperty']('commentId')&&(_0x5822f3['commentId']=_0x4d5488['commentId']),null!=_0x4d5488['createdAt']&&_0x4d5488['hasOwnProperty']('createdAt')&&(_0x5822f3['createdAt']=_0x4d5488['createdAt']),_0x5822f3;},_0x2ad39a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2ad39a['getTypeUrl']=function(_0x470587){return void 0x0===_0x470587&&(_0x470587='type.googleapis.com'),_0x470587+'/CommentThreadAddedCommentDescriptor';},_0x2ad39a;}()),_0x37f903['CommentsThreadDescriptor']=(function(){function _0x174ea0(_0x2ede83){if(this['comments']=[],_0x2ede83){for(var _0x17cfdb=Object['keys'](_0x2ede83),_0x1becc7=0x0;_0x1becc7<_0x17cfdb['length'];++_0x1becc7)null!=_0x2ede83[_0x17cfdb[_0x1becc7]]&&(this[_0x17cfdb[_0x1becc7]]=_0x2ede83[_0x17cfdb[_0x1becc7]]);}}return _0x174ea0['prototype']['commentThreadId']='',_0x174ea0['prototype']['comments']=_0x2e4f36['emptyArray'],_0x174ea0['prototype']['resolvedAt']='',_0x174ea0['prototype']['resolvedBy']='',_0x174ea0['prototype']['context']='',_0x174ea0['prototype']['createdAt']='',_0x174ea0['prototype']['deletedAt']='',_0x174ea0['prototype']['attributes']='',_0x174ea0['prototype']['unlinkedAt']='',_0x174ea0['create']=function(_0x18e486){return new _0x174ea0(_0x18e486);},_0x174ea0['encode']=function(_0xf0d683,_0x2dcfae){if(_0x2dcfae||(_0x2dcfae=_0x186223['create']()),null!=_0xf0d683['commentThreadId']&&Object['hasOwnProperty']['call'](_0xf0d683,'commentThreadId')&&_0x2dcfae['uint32'](0xa)['string'](_0xf0d683['commentThreadId']),null!=_0xf0d683['comments']&&_0xf0d683['comments']['length']){for(var _0x5061fe=0x0;_0x5061fe<_0xf0d683['comments']['length'];++_0x5061fe)_0x37f903['CommentDescriptor']['encode'](_0xf0d683['comments'][_0x5061fe],_0x2dcfae['uint32'](0x12)['fork']())['ldelim']();}return null!=_0xf0d683['resolvedAt']&&Object['hasOwnProperty']['call'](_0xf0d683,'resolvedAt')&&_0x2dcfae['uint32'](0x1a)['string'](_0xf0d683['resolvedAt']),null!=_0xf0d683['resolvedBy']&&Object['hasOwnProperty']['call'](_0xf0d683,'resolvedBy')&&_0x2dcfae['uint32'](0x22)['string'](_0xf0d683['resolvedBy']),null!=_0xf0d683['context']&&Object['hasOwnProperty']['call'](_0xf0d683,'context')&&_0x2dcfae['uint32'](0x2a)['string'](_0xf0d683['context']),null!=_0xf0d683['createdAt']&&Object['hasOwnProperty']['call'](_0xf0d683,'createdAt')&&_0x2dcfae['uint32'](0x32)['string'](_0xf0d683['createdAt']),null!=_0xf0d683['deletedAt']&&Object['hasOwnProperty']['call'](_0xf0d683,'deletedAt')&&_0x2dcfae['uint32'](0x3a)['string'](_0xf0d683['deletedAt']),null!=_0xf0d683['attributes']&&Object['hasOwnProperty']['call'](_0xf0d683,'attributes')&&_0x2dcfae['uint32'](0x42)['string'](_0xf0d683['attributes']),null!=_0xf0d683['unlinkedAt']&&Object['hasOwnProperty']['call'](_0xf0d683,'unlinkedAt')&&_0x2dcfae['uint32'](0x4a)['string'](_0xf0d683['unlinkedAt']),_0x2dcfae;},_0x174ea0['encodeDelimited']=function(_0x520f1f,_0x5878b1){return this['encode'](_0x520f1f,_0x5878b1)['ldelim']();},_0x174ea0['decode']=function(_0x225a11,_0x1ee7b3,_0x44d9fb){_0x225a11 instanceof _0x57f37b||(_0x225a11=_0x57f37b['create'](_0x225a11));for(var _0x3f2306=void 0x0===_0x1ee7b3?_0x225a11['len']:_0x225a11['pos']+_0x1ee7b3,_0x537f1c=new _0x37f903['CommentsThreadDescriptor']();_0x225a11['pos']<_0x3f2306;){var _0x1ed56d=_0x225a11['uint32']();if(_0x1ed56d===_0x44d9fb)break;switch(_0x1ed56d>>>0x3){case 0x1:_0x537f1c['commentThreadId']=_0x225a11['string']();break;case 0x2:_0x537f1c['comments']&&_0x537f1c['comments']['length']||(_0x537f1c['comments']=[]),_0x537f1c['comments']['push'](_0x37f903['CommentDescriptor']['decode'](_0x225a11,_0x225a11['uint32']()));break;case 0x3:_0x537f1c['resolvedAt']=_0x225a11['string']();break;case 0x4:_0x537f1c['resolvedBy']=_0x225a11['string']();break;case 0x5:_0x537f1c['context']=_0x225a11['string']();break;case 0x6:_0x537f1c['createdAt']=_0x225a11['string']();break;case 0x7:_0x537f1c['deletedAt']=_0x225a11['string']();break;case 0x8:_0x537f1c['attributes']=_0x225a11['string']();break;case 0x9:_0x537f1c['unlinkedAt']=_0x225a11['string']();break;default:_0x225a11['skipType'](0x7&_0x1ed56d);}}return _0x537f1c;},_0x174ea0['decodeDelimited']=function(_0x1237bb){return _0x1237bb instanceof _0x57f37b||(_0x1237bb=new _0x57f37b(_0x1237bb)),this['decode'](_0x1237bb,_0x1237bb['uint32']());},_0x174ea0['verify']=function(_0x44fd13){if('object'!=typeof _0x44fd13||null===_0x44fd13)return'object\x20expected';if(null!=_0x44fd13['commentThreadId']&&_0x44fd13['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x44fd13['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x44fd13['comments']&&_0x44fd13['hasOwnProperty']('comments')){if(!Array['isArray'](_0x44fd13['comments']))return'comments:\x20array\x20expected';for(var _0x11a871=0x0;_0x11a871<_0x44fd13['comments']['length'];++_0x11a871){var _0x3ce954=_0x37f903['CommentDescriptor']['verify'](_0x44fd13['comments'][_0x11a871]);if(_0x3ce954)return'comments.'+_0x3ce954;}}return null!=_0x44fd13['resolvedAt']&&_0x44fd13['hasOwnProperty']('resolvedAt')&&!_0x2e4f36['isString'](_0x44fd13['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x44fd13['resolvedBy']&&_0x44fd13['hasOwnProperty']('resolvedBy')&&!_0x2e4f36['isString'](_0x44fd13['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x44fd13['context']&&_0x44fd13['hasOwnProperty']('context')&&!_0x2e4f36['isString'](_0x44fd13['context'])?'context:\x20string\x20expected':null!=_0x44fd13['createdAt']&&_0x44fd13['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x44fd13['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x44fd13['deletedAt']&&_0x44fd13['hasOwnProperty']('deletedAt')&&!_0x2e4f36['isString'](_0x44fd13['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x44fd13['attributes']&&_0x44fd13['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x44fd13['attributes'])?'attributes:\x20string\x20expected':null!=_0x44fd13['unlinkedAt']&&_0x44fd13['hasOwnProperty']('unlinkedAt')&&!_0x2e4f36['isString'](_0x44fd13['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x174ea0['fromObject']=function(_0x47ecc7){if(_0x47ecc7 instanceof _0x37f903['CommentsThreadDescriptor'])return _0x47ecc7;var _0x2a1a09=new _0x37f903['CommentsThreadDescriptor']();if(null!=_0x47ecc7['commentThreadId']&&(_0x2a1a09['commentThreadId']=String(_0x47ecc7['commentThreadId'])),_0x47ecc7['comments']){if(!Array['isArray'](_0x47ecc7['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x2a1a09['comments']=[];for(var _0x213e29=0x0;_0x213e29<_0x47ecc7['comments']['length'];++_0x213e29){if('object'!=typeof _0x47ecc7['comments'][_0x213e29])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x2a1a09['comments'][_0x213e29]=_0x37f903['CommentDescriptor']['fromObject'](_0x47ecc7['comments'][_0x213e29]);}}return null!=_0x47ecc7['resolvedAt']&&(_0x2a1a09['resolvedAt']=String(_0x47ecc7['resolvedAt'])),null!=_0x47ecc7['resolvedBy']&&(_0x2a1a09['resolvedBy']=String(_0x47ecc7['resolvedBy'])),null!=_0x47ecc7['context']&&(_0x2a1a09['context']=String(_0x47ecc7['context'])),null!=_0x47ecc7['createdAt']&&(_0x2a1a09['createdAt']=String(_0x47ecc7['createdAt'])),null!=_0x47ecc7['deletedAt']&&(_0x2a1a09['deletedAt']=String(_0x47ecc7['deletedAt'])),null!=_0x47ecc7['attributes']&&(_0x2a1a09['attributes']=String(_0x47ecc7['attributes'])),null!=_0x47ecc7['unlinkedAt']&&(_0x2a1a09['unlinkedAt']=String(_0x47ecc7['unlinkedAt'])),_0x2a1a09;},_0x174ea0['toObject']=function(_0x32f147,_0x44186d){_0x44186d||(_0x44186d={});var _0x178196={};if((_0x44186d['arrays']||_0x44186d['defaults'])&&(_0x178196['comments']=[]),_0x44186d['defaults']&&(_0x178196['commentThreadId']='',_0x178196['resolvedAt']='',_0x178196['resolvedBy']='',_0x178196['context']='',_0x178196['createdAt']='',_0x178196['deletedAt']='',_0x178196['attributes']='',_0x178196['unlinkedAt']=''),null!=_0x32f147['commentThreadId']&&_0x32f147['hasOwnProperty']('commentThreadId')&&(_0x178196['commentThreadId']=_0x32f147['commentThreadId']),_0x32f147['comments']&&_0x32f147['comments']['length']){_0x178196['comments']=[];for(var _0x198fe5=0x0;_0x198fe5<_0x32f147['comments']['length'];++_0x198fe5)_0x178196['comments'][_0x198fe5]=_0x37f903['CommentDescriptor']['toObject'](_0x32f147['comments'][_0x198fe5],_0x44186d);}return null!=_0x32f147['resolvedAt']&&_0x32f147['hasOwnProperty']('resolvedAt')&&(_0x178196['resolvedAt']=_0x32f147['resolvedAt']),null!=_0x32f147['resolvedBy']&&_0x32f147['hasOwnProperty']('resolvedBy')&&(_0x178196['resolvedBy']=_0x32f147['resolvedBy']),null!=_0x32f147['context']&&_0x32f147['hasOwnProperty']('context')&&(_0x178196['context']=_0x32f147['context']),null!=_0x32f147['createdAt']&&_0x32f147['hasOwnProperty']('createdAt')&&(_0x178196['createdAt']=_0x32f147['createdAt']),null!=_0x32f147['deletedAt']&&_0x32f147['hasOwnProperty']('deletedAt')&&(_0x178196['deletedAt']=_0x32f147['deletedAt']),null!=_0x32f147['attributes']&&_0x32f147['hasOwnProperty']('attributes')&&(_0x178196['attributes']=_0x32f147['attributes']),null!=_0x32f147['unlinkedAt']&&_0x32f147['hasOwnProperty']('unlinkedAt')&&(_0x178196['unlinkedAt']=_0x32f147['unlinkedAt']),_0x178196;},_0x174ea0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x174ea0['getTypeUrl']=function(_0x1f8fd4){return void 0x0===_0x1f8fd4&&(_0x1f8fd4='type.googleapis.com'),_0x1f8fd4+'/CommentsThreadDescriptor';},_0x174ea0;}()),_0x37f903['CommentDescriptor']=(function(){function _0x5dc187(_0x430a64){if(_0x430a64){for(var _0x4be009=Object['keys'](_0x430a64),_0x38c431=0x0;_0x38c431<_0x4be009['length'];++_0x38c431)null!=_0x430a64[_0x4be009[_0x38c431]]&&(this[_0x4be009[_0x38c431]]=_0x430a64[_0x4be009[_0x38c431]]);}}return _0x5dc187['prototype']['commentId']='',_0x5dc187['prototype']['commentThreadId']='',_0x5dc187['prototype']['userId']='',_0x5dc187['prototype']['content']='',_0x5dc187['prototype']['documentId']='',_0x5dc187['prototype']['createdAt']='',_0x5dc187['prototype']['attributes']='',_0x5dc187['create']=function(_0x2297cf){return new _0x5dc187(_0x2297cf);},_0x5dc187['encode']=function(_0x21becb,_0x11f74c){return _0x11f74c||(_0x11f74c=_0x186223['create']()),null!=_0x21becb['commentId']&&Object['hasOwnProperty']['call'](_0x21becb,'commentId')&&_0x11f74c['uint32'](0xa)['string'](_0x21becb['commentId']),null!=_0x21becb['commentThreadId']&&Object['hasOwnProperty']['call'](_0x21becb,'commentThreadId')&&_0x11f74c['uint32'](0x12)['string'](_0x21becb['commentThreadId']),null!=_0x21becb['userId']&&Object['hasOwnProperty']['call'](_0x21becb,'userId')&&_0x11f74c['uint32'](0x1a)['string'](_0x21becb['userId']),null!=_0x21becb['content']&&Object['hasOwnProperty']['call'](_0x21becb,'content')&&_0x11f74c['uint32'](0x22)['string'](_0x21becb['content']),null!=_0x21becb['documentId']&&Object['hasOwnProperty']['call'](_0x21becb,'documentId')&&_0x11f74c['uint32'](0x2a)['string'](_0x21becb['documentId']),null!=_0x21becb['createdAt']&&Object['hasOwnProperty']['call'](_0x21becb,'createdAt')&&_0x11f74c['uint32'](0x32)['string'](_0x21becb['createdAt']),null!=_0x21becb['attributes']&&Object['hasOwnProperty']['call'](_0x21becb,'attributes')&&_0x11f74c['uint32'](0x3a)['string'](_0x21becb['attributes']),_0x11f74c;},_0x5dc187['encodeDelimited']=function(_0x2d07df,_0x485a37){return this['encode'](_0x2d07df,_0x485a37)['ldelim']();},_0x5dc187['decode']=function(_0x3c13a2,_0x2953fd,_0x1689a2){_0x3c13a2 instanceof _0x57f37b||(_0x3c13a2=_0x57f37b['create'](_0x3c13a2));for(var _0x336b2d=void 0x0===_0x2953fd?_0x3c13a2['len']:_0x3c13a2['pos']+_0x2953fd,_0x44fc7c=new _0x37f903['CommentDescriptor']();_0x3c13a2['pos']<_0x336b2d;){var _0x2ce464=_0x3c13a2['uint32']();if(_0x2ce464===_0x1689a2)break;switch(_0x2ce464>>>0x3){case 0x1:_0x44fc7c['commentId']=_0x3c13a2['string']();break;case 0x2:_0x44fc7c['commentThreadId']=_0x3c13a2['string']();break;case 0x3:_0x44fc7c['userId']=_0x3c13a2['string']();break;case 0x4:_0x44fc7c['content']=_0x3c13a2['string']();break;case 0x5:_0x44fc7c['documentId']=_0x3c13a2['string']();break;case 0x6:_0x44fc7c['createdAt']=_0x3c13a2['string']();break;case 0x7:_0x44fc7c['attributes']=_0x3c13a2['string']();break;default:_0x3c13a2['skipType'](0x7&_0x2ce464);}}return _0x44fc7c;},_0x5dc187['decodeDelimited']=function(_0x25529f){return _0x25529f instanceof _0x57f37b||(_0x25529f=new _0x57f37b(_0x25529f)),this['decode'](_0x25529f,_0x25529f['uint32']());},_0x5dc187['verify']=function(_0x36dece){return'object'!=typeof _0x36dece||null===_0x36dece?'object\x20expected':null!=_0x36dece['commentId']&&_0x36dece['hasOwnProperty']('commentId')&&!_0x2e4f36['isString'](_0x36dece['commentId'])?'commentId:\x20string\x20expected':null!=_0x36dece['commentThreadId']&&_0x36dece['hasOwnProperty']('commentThreadId')&&!_0x2e4f36['isString'](_0x36dece['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x36dece['userId']&&_0x36dece['hasOwnProperty']('userId')&&!_0x2e4f36['isString'](_0x36dece['userId'])?'userId:\x20string\x20expected':null!=_0x36dece['content']&&_0x36dece['hasOwnProperty']('content')&&!_0x2e4f36['isString'](_0x36dece['content'])?'content:\x20string\x20expected':null!=_0x36dece['documentId']&&_0x36dece['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x36dece['documentId'])?'documentId:\x20string\x20expected':null!=_0x36dece['createdAt']&&_0x36dece['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x36dece['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x36dece['attributes']&&_0x36dece['hasOwnProperty']('attributes')&&!_0x2e4f36['isString'](_0x36dece['attributes'])?'attributes:\x20string\x20expected':null;},_0x5dc187['fromObject']=function(_0x19226b){if(_0x19226b instanceof _0x37f903['CommentDescriptor'])return _0x19226b;var _0xa392a4=new _0x37f903['CommentDescriptor']();return null!=_0x19226b['commentId']&&(_0xa392a4['commentId']=String(_0x19226b['commentId'])),null!=_0x19226b['commentThreadId']&&(_0xa392a4['commentThreadId']=String(_0x19226b['commentThreadId'])),null!=_0x19226b['userId']&&(_0xa392a4['userId']=String(_0x19226b['userId'])),null!=_0x19226b['content']&&(_0xa392a4['content']=String(_0x19226b['content'])),null!=_0x19226b['documentId']&&(_0xa392a4['documentId']=String(_0x19226b['documentId'])),null!=_0x19226b['createdAt']&&(_0xa392a4['createdAt']=String(_0x19226b['createdAt'])),null!=_0x19226b['attributes']&&(_0xa392a4['attributes']=String(_0x19226b['attributes'])),_0xa392a4;},_0x5dc187['toObject']=function(_0x1c5298,_0xb203b6){_0xb203b6||(_0xb203b6={});var _0x41de9c={};return _0xb203b6['defaults']&&(_0x41de9c['commentId']='',_0x41de9c['commentThreadId']='',_0x41de9c['userId']='',_0x41de9c['content']='',_0x41de9c['documentId']='',_0x41de9c['createdAt']='',_0x41de9c['attributes']=''),null!=_0x1c5298['commentId']&&_0x1c5298['hasOwnProperty']('commentId')&&(_0x41de9c['commentId']=_0x1c5298['commentId']),null!=_0x1c5298['commentThreadId']&&_0x1c5298['hasOwnProperty']('commentThreadId')&&(_0x41de9c['commentThreadId']=_0x1c5298['commentThreadId']),null!=_0x1c5298['userId']&&_0x1c5298['hasOwnProperty']('userId')&&(_0x41de9c['userId']=_0x1c5298['userId']),null!=_0x1c5298['content']&&_0x1c5298['hasOwnProperty']('content')&&(_0x41de9c['content']=_0x1c5298['content']),null!=_0x1c5298['documentId']&&_0x1c5298['hasOwnProperty']('documentId')&&(_0x41de9c['documentId']=_0x1c5298['documentId']),null!=_0x1c5298['createdAt']&&_0x1c5298['hasOwnProperty']('createdAt')&&(_0x41de9c['createdAt']=_0x1c5298['createdAt']),null!=_0x1c5298['attributes']&&_0x1c5298['hasOwnProperty']('attributes')&&(_0x41de9c['attributes']=_0x1c5298['attributes']),_0x41de9c;},_0x5dc187['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5dc187['getTypeUrl']=function(_0x3fd831){return void 0x0===_0x3fd831&&(_0x3fd831='type.googleapis.com'),_0x3fd831+'/CommentDescriptor';},_0x5dc187;}()),_0x37f903['GetDocumentDetailsResponse']=(function(){function _0x55cef1(_0x1a83b8){if(_0x1a83b8){for(var _0x1cc293=Object['keys'](_0x1a83b8),_0x436549=0x0;_0x436549<_0x1cc293['length'];++_0x436549)null!=_0x1a83b8[_0x1cc293[_0x436549]]&&(this[_0x1cc293[_0x436549]]=_0x1a83b8[_0x1cc293[_0x436549]]);}}return _0x55cef1['prototype']['lastDocumentSessionId']='',_0x55cef1['prototype']['lastDocumentSessionOperationId']='',_0x55cef1['prototype']['currentDocumentSessionId']='',_0x55cef1['prototype']['currentDocumentSessionVersion']=0x0,_0x55cef1['prototype']['currentDocumentSessionOperationId']='',_0x55cef1['create']=function(_0x511e31){return new _0x55cef1(_0x511e31);},_0x55cef1['encode']=function(_0x4c556c,_0x752836){return _0x752836||(_0x752836=_0x186223['create']()),null!=_0x4c556c['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x4c556c,'lastDocumentSessionId')&&_0x752836['uint32'](0xa)['string'](_0x4c556c['lastDocumentSessionId']),null!=_0x4c556c['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x4c556c,'lastDocumentSessionOperationId')&&_0x752836['uint32'](0x12)['string'](_0x4c556c['lastDocumentSessionOperationId']),null!=_0x4c556c['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x4c556c,'currentDocumentSessionId')&&_0x752836['uint32'](0x1a)['string'](_0x4c556c['currentDocumentSessionId']),null!=_0x4c556c['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x4c556c,'currentDocumentSessionVersion')&&_0x752836['uint32'](0x20)['uint32'](_0x4c556c['currentDocumentSessionVersion']),null!=_0x4c556c['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x4c556c,'currentDocumentSessionOperationId')&&_0x752836['uint32'](0x2a)['string'](_0x4c556c['currentDocumentSessionOperationId']),_0x752836;},_0x55cef1['encodeDelimited']=function(_0x211f8c,_0x42aa2c){return this['encode'](_0x211f8c,_0x42aa2c)['ldelim']();},_0x55cef1['decode']=function(_0x17c37b,_0x1392ee,_0x54285d){_0x17c37b instanceof _0x57f37b||(_0x17c37b=_0x57f37b['create'](_0x17c37b));for(var _0x3e493a=void 0x0===_0x1392ee?_0x17c37b['len']:_0x17c37b['pos']+_0x1392ee,_0x502667=new _0x37f903['GetDocumentDetailsResponse']();_0x17c37b['pos']<_0x3e493a;){var _0x597c48=_0x17c37b['uint32']();if(_0x597c48===_0x54285d)break;switch(_0x597c48>>>0x3){case 0x1:_0x502667['lastDocumentSessionId']=_0x17c37b['string']();break;case 0x2:_0x502667['lastDocumentSessionOperationId']=_0x17c37b['string']();break;case 0x3:_0x502667['currentDocumentSessionId']=_0x17c37b['string']();break;case 0x4:_0x502667['currentDocumentSessionVersion']=_0x17c37b['uint32']();break;case 0x5:_0x502667['currentDocumentSessionOperationId']=_0x17c37b['string']();break;default:_0x17c37b['skipType'](0x7&_0x597c48);}}return _0x502667;},_0x55cef1['decodeDelimited']=function(_0x23ee99){return _0x23ee99 instanceof _0x57f37b||(_0x23ee99=new _0x57f37b(_0x23ee99)),this['decode'](_0x23ee99,_0x23ee99['uint32']());},_0x55cef1['verify']=function(_0x426d27){return'object'!=typeof _0x426d27||null===_0x426d27?'object\x20expected':null!=_0x426d27['lastDocumentSessionId']&&_0x426d27['hasOwnProperty']('lastDocumentSessionId')&&!_0x2e4f36['isString'](_0x426d27['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x426d27['lastDocumentSessionOperationId']&&_0x426d27['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x2e4f36['isString'](_0x426d27['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x426d27['currentDocumentSessionId']&&_0x426d27['hasOwnProperty']('currentDocumentSessionId')&&!_0x2e4f36['isString'](_0x426d27['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x426d27['currentDocumentSessionVersion']&&_0x426d27['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x2e4f36['isInteger'](_0x426d27['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x426d27['currentDocumentSessionOperationId']&&_0x426d27['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x2e4f36['isString'](_0x426d27['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x55cef1['fromObject']=function(_0x2c6066){if(_0x2c6066 instanceof _0x37f903['GetDocumentDetailsResponse'])return _0x2c6066;var _0x75162e=new _0x37f903['GetDocumentDetailsResponse']();return null!=_0x2c6066['lastDocumentSessionId']&&(_0x75162e['lastDocumentSessionId']=String(_0x2c6066['lastDocumentSessionId'])),null!=_0x2c6066['lastDocumentSessionOperationId']&&(_0x75162e['lastDocumentSessionOperationId']=String(_0x2c6066['lastDocumentSessionOperationId'])),null!=_0x2c6066['currentDocumentSessionId']&&(_0x75162e['currentDocumentSessionId']=String(_0x2c6066['currentDocumentSessionId'])),null!=_0x2c6066['currentDocumentSessionVersion']&&(_0x75162e['currentDocumentSessionVersion']=_0x2c6066['currentDocumentSessionVersion']>>>0x0),null!=_0x2c6066['currentDocumentSessionOperationId']&&(_0x75162e['currentDocumentSessionOperationId']=String(_0x2c6066['currentDocumentSessionOperationId'])),_0x75162e;},_0x55cef1['toObject']=function(_0x5db6a,_0x8e9ebd){_0x8e9ebd||(_0x8e9ebd={});var _0x372776={};return _0x8e9ebd['defaults']&&(_0x372776['lastDocumentSessionId']='',_0x372776['lastDocumentSessionOperationId']='',_0x372776['currentDocumentSessionId']='',_0x372776['currentDocumentSessionVersion']=0x0,_0x372776['currentDocumentSessionOperationId']=''),null!=_0x5db6a['lastDocumentSessionId']&&_0x5db6a['hasOwnProperty']('lastDocumentSessionId')&&(_0x372776['lastDocumentSessionId']=_0x5db6a['lastDocumentSessionId']),null!=_0x5db6a['lastDocumentSessionOperationId']&&_0x5db6a['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x372776['lastDocumentSessionOperationId']=_0x5db6a['lastDocumentSessionOperationId']),null!=_0x5db6a['currentDocumentSessionId']&&_0x5db6a['hasOwnProperty']('currentDocumentSessionId')&&(_0x372776['currentDocumentSessionId']=_0x5db6a['currentDocumentSessionId']),null!=_0x5db6a['currentDocumentSessionVersion']&&_0x5db6a['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x372776['currentDocumentSessionVersion']=_0x5db6a['currentDocumentSessionVersion']),null!=_0x5db6a['currentDocumentSessionOperationId']&&_0x5db6a['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x372776['currentDocumentSessionOperationId']=_0x5db6a['currentDocumentSessionOperationId']),_0x372776;},_0x55cef1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x55cef1['getTypeUrl']=function(_0x40adb1){return void 0x0===_0x40adb1&&(_0x40adb1='type.googleapis.com'),_0x40adb1+'/GetDocumentDetailsResponse';},_0x55cef1;}()),_0x37f903['CollaborativeEditingResponse']=(function(){function _0x50275f(_0xea3b25){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0xea3b25){for(var _0x5669b9=Object['keys'](_0xea3b25),_0x24f7da=0x0;_0x24f7da<_0x5669b9['length'];++_0x24f7da)null!=_0xea3b25[_0x5669b9[_0x24f7da]]&&(this[_0x5669b9[_0x24f7da]]=_0xea3b25[_0x5669b9[_0x24f7da]]);}}return _0x50275f['prototype']['version']=0x0,_0x50275f['prototype']['buffers']=_0x2e4f36['emptyArray'],_0x50275f['prototype']['types']=_0x2e4f36['emptyArray'],_0x50275f['prototype']['metadata']=_0x2e4f36['emptyArray'],_0x50275f['prototype']['lastOperationId']='',_0x50275f['prototype']['lastOperationAcceptedAt']='',_0x50275f['create']=function(_0x2b9626){return new _0x50275f(_0x2b9626);},_0x50275f['encode']=function(_0x5ca722,_0x33d363){if(_0x33d363||(_0x33d363=_0x186223['create']()),null!=_0x5ca722['version']&&Object['hasOwnProperty']['call'](_0x5ca722,'version')&&_0x33d363['uint32'](0x8)['uint32'](_0x5ca722['version']),null!=_0x5ca722['buffers']&&_0x5ca722['buffers']['length']){for(var _0x261368=0x0;_0x261368<_0x5ca722['buffers']['length'];++_0x261368)_0x33d363['uint32'](0x12)['bytes'](_0x5ca722['buffers'][_0x261368]);}if(null!=_0x5ca722['types']&&_0x5ca722['types']['length']){for(_0x33d363['uint32'](0x1a)['fork'](),_0x261368=0x0;_0x261368<_0x5ca722['types']['length'];++_0x261368)_0x33d363['uint32'](_0x5ca722['types'][_0x261368]);_0x33d363['ldelim']();}if(null!=_0x5ca722['metadata']&&_0x5ca722['metadata']['length']){for(_0x261368=0x0;_0x261368<_0x5ca722['metadata']['length'];++_0x261368)_0x37f903['OperationMetadataDescriptor']['encode'](_0x5ca722['metadata'][_0x261368],_0x33d363['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x5ca722['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5ca722,'lastOperationId')&&_0x33d363['uint32'](0x32)['string'](_0x5ca722['lastOperationId']),null!=_0x5ca722['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x5ca722,'lastOperationAcceptedAt')&&_0x33d363['uint32'](0x3a)['string'](_0x5ca722['lastOperationAcceptedAt']),_0x33d363;},_0x50275f['encodeDelimited']=function(_0x5ac974,_0x466ccf){return this['encode'](_0x5ac974,_0x466ccf)['ldelim']();},_0x50275f['decode']=function(_0x204796,_0x4f81a2,_0x5f5915){_0x204796 instanceof _0x57f37b||(_0x204796=_0x57f37b['create'](_0x204796));for(var _0x558a22=void 0x0===_0x4f81a2?_0x204796['len']:_0x204796['pos']+_0x4f81a2,_0x11a888=new _0x37f903['CollaborativeEditingResponse']();_0x204796['pos']<_0x558a22;){var _0xcccc5=_0x204796['uint32']();if(_0xcccc5===_0x5f5915)break;switch(_0xcccc5>>>0x3){case 0x1:_0x11a888['version']=_0x204796['uint32']();break;case 0x2:_0x11a888['buffers']&&_0x11a888['buffers']['length']||(_0x11a888['buffers']=[]),_0x11a888['buffers']['push'](_0x204796['bytes']());break;case 0x3:if(_0x11a888['types']&&_0x11a888['types']['length']||(_0x11a888['types']=[]),0x2==(0x7&_0xcccc5)){for(var _0x28449e=_0x204796['uint32']()+_0x204796['pos'];_0x204796['pos']<_0x28449e;)_0x11a888['types']['push'](_0x204796['uint32']());}else _0x11a888['types']['push'](_0x204796['uint32']());break;case 0x5:_0x11a888['metadata']&&_0x11a888['metadata']['length']||(_0x11a888['metadata']=[]),_0x11a888['metadata']['push'](_0x37f903['OperationMetadataDescriptor']['decode'](_0x204796,_0x204796['uint32']()));break;case 0x6:_0x11a888['lastOperationId']=_0x204796['string']();break;case 0x7:_0x11a888['lastOperationAcceptedAt']=_0x204796['string']();break;default:_0x204796['skipType'](0x7&_0xcccc5);}}return _0x11a888;},_0x50275f['decodeDelimited']=function(_0x23b608){return _0x23b608 instanceof _0x57f37b||(_0x23b608=new _0x57f37b(_0x23b608)),this['decode'](_0x23b608,_0x23b608['uint32']());},_0x50275f['verify']=function(_0x5890dc){if('object'!=typeof _0x5890dc||null===_0x5890dc)return'object\x20expected';if(null!=_0x5890dc['version']&&_0x5890dc['hasOwnProperty']('version')&&!_0x2e4f36['isInteger'](_0x5890dc['version']))return'version:\x20integer\x20expected';if(null!=_0x5890dc['buffers']&&_0x5890dc['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x5890dc['buffers']))return'buffers:\x20array\x20expected';for(var _0x2f2916=0x0;_0x2f2916<_0x5890dc['buffers']['length'];++_0x2f2916)if(!(_0x5890dc['buffers'][_0x2f2916]&&'number'==typeof _0x5890dc['buffers'][_0x2f2916]['length']||_0x2e4f36['isString'](_0x5890dc['buffers'][_0x2f2916])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5890dc['types']&&_0x5890dc['hasOwnProperty']('types')){if(!Array['isArray'](_0x5890dc['types']))return'types:\x20array\x20expected';for(_0x2f2916=0x0;_0x2f2916<_0x5890dc['types']['length'];++_0x2f2916)if(!_0x2e4f36['isInteger'](_0x5890dc['types'][_0x2f2916]))return'types:\x20integer[]\x20expected';}if(null!=_0x5890dc['metadata']&&_0x5890dc['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x5890dc['metadata']))return'metadata:\x20array\x20expected';for(_0x2f2916=0x0;_0x2f2916<_0x5890dc['metadata']['length'];++_0x2f2916){var _0xd17516=_0x37f903['OperationMetadataDescriptor']['verify'](_0x5890dc['metadata'][_0x2f2916]);if(_0xd17516)return'metadata.'+_0xd17516;}}return null!=_0x5890dc['lastOperationId']&&_0x5890dc['hasOwnProperty']('lastOperationId')&&!_0x2e4f36['isString'](_0x5890dc['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x5890dc['lastOperationAcceptedAt']&&_0x5890dc['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x2e4f36['isString'](_0x5890dc['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x50275f['fromObject']=function(_0x296eda){if(_0x296eda instanceof _0x37f903['CollaborativeEditingResponse'])return _0x296eda;var _0x1d1d11=new _0x37f903['CollaborativeEditingResponse']();if(null!=_0x296eda['version']&&(_0x1d1d11['version']=_0x296eda['version']>>>0x0),_0x296eda['buffers']){if(!Array['isArray'](_0x296eda['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x1d1d11['buffers']=[];for(var _0x449f04=0x0;_0x449f04<_0x296eda['buffers']['length'];++_0x449f04)'string'==typeof _0x296eda['buffers'][_0x449f04]?_0x2e4f36['base64']['decode'](_0x296eda['buffers'][_0x449f04],_0x1d1d11['buffers'][_0x449f04]=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0x296eda['buffers'][_0x449f04])),0x0):_0x296eda['buffers'][_0x449f04]['length']>=0x0&&(_0x1d1d11['buffers'][_0x449f04]=_0x296eda['buffers'][_0x449f04]);}if(_0x296eda['types']){if(!Array['isArray'](_0x296eda['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x1d1d11['types']=[],_0x449f04=0x0;_0x449f04<_0x296eda['types']['length'];++_0x449f04)_0x1d1d11['types'][_0x449f04]=_0x296eda['types'][_0x449f04]>>>0x0;}if(_0x296eda['metadata']){if(!Array['isArray'](_0x296eda['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x1d1d11['metadata']=[],_0x449f04=0x0;_0x449f04<_0x296eda['metadata']['length'];++_0x449f04){if('object'!=typeof _0x296eda['metadata'][_0x449f04])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x1d1d11['metadata'][_0x449f04]=_0x37f903['OperationMetadataDescriptor']['fromObject'](_0x296eda['metadata'][_0x449f04]);}}return null!=_0x296eda['lastOperationId']&&(_0x1d1d11['lastOperationId']=String(_0x296eda['lastOperationId'])),null!=_0x296eda['lastOperationAcceptedAt']&&(_0x1d1d11['lastOperationAcceptedAt']=String(_0x296eda['lastOperationAcceptedAt'])),_0x1d1d11;},_0x50275f['toObject']=function(_0x34d5e4,_0x459899){_0x459899||(_0x459899={});var _0x6b8e15={};if((_0x459899['arrays']||_0x459899['defaults'])&&(_0x6b8e15['buffers']=[],_0x6b8e15['types']=[],_0x6b8e15['metadata']=[]),_0x459899['defaults']&&(_0x6b8e15['version']=0x0,_0x6b8e15['lastOperationId']='',_0x6b8e15['lastOperationAcceptedAt']=''),null!=_0x34d5e4['version']&&_0x34d5e4['hasOwnProperty']('version')&&(_0x6b8e15['version']=_0x34d5e4['version']),_0x34d5e4['buffers']&&_0x34d5e4['buffers']['length']){_0x6b8e15['buffers']=[];for(var _0x433aff=0x0;_0x433aff<_0x34d5e4['buffers']['length'];++_0x433aff)_0x6b8e15['buffers'][_0x433aff]=_0x459899['bytes']===String?_0x2e4f36['base64']['encode'](_0x34d5e4['buffers'][_0x433aff],0x0,_0x34d5e4['buffers'][_0x433aff]['length']):_0x459899['bytes']===Array?Array['prototype']['slice']['call'](_0x34d5e4['buffers'][_0x433aff]):_0x34d5e4['buffers'][_0x433aff];}if(_0x34d5e4['types']&&_0x34d5e4['types']['length']){for(_0x6b8e15['types']=[],_0x433aff=0x0;_0x433aff<_0x34d5e4['types']['length'];++_0x433aff)_0x6b8e15['types'][_0x433aff]=_0x34d5e4['types'][_0x433aff];}if(_0x34d5e4['metadata']&&_0x34d5e4['metadata']['length']){for(_0x6b8e15['metadata']=[],_0x433aff=0x0;_0x433aff<_0x34d5e4['metadata']['length'];++_0x433aff)_0x6b8e15['metadata'][_0x433aff]=_0x37f903['OperationMetadataDescriptor']['toObject'](_0x34d5e4['metadata'][_0x433aff],_0x459899);}return null!=_0x34d5e4['lastOperationId']&&_0x34d5e4['hasOwnProperty']('lastOperationId')&&(_0x6b8e15['lastOperationId']=_0x34d5e4['lastOperationId']),null!=_0x34d5e4['lastOperationAcceptedAt']&&_0x34d5e4['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x6b8e15['lastOperationAcceptedAt']=_0x34d5e4['lastOperationAcceptedAt']),_0x6b8e15;},_0x50275f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x50275f['getTypeUrl']=function(_0x53b24b){return void 0x0===_0x53b24b&&(_0x53b24b='type.googleapis.com'),_0x53b24b+'/CollaborativeEditingResponse';},_0x50275f;}()),_0x37f903['CollaborativeEditingConnectResponse']=(function(){function _0x11ed5b(_0x3fa7bd){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x3fa7bd){for(var _0x938457=Object['keys'](_0x3fa7bd),_0x2ea214=0x0;_0x2ea214<_0x938457['length'];++_0x2ea214)null!=_0x3fa7bd[_0x938457[_0x2ea214]]&&(this[_0x938457[_0x2ea214]]=_0x3fa7bd[_0x938457[_0x2ea214]]);}}return _0x11ed5b['prototype']['channel']='',_0x11ed5b['prototype']['offset']=0x0,_0x11ed5b['prototype']['version']=0x0,_0x11ed5b['prototype']['buffers']=_0x2e4f36['emptyArray'],_0x11ed5b['prototype']['types']=_0x2e4f36['emptyArray'],_0x11ed5b['prototype']['metadata']=_0x2e4f36['emptyArray'],_0x11ed5b['prototype']['initData']='',_0x11ed5b['prototype']['isInitialized']=!0x1,_0x11ed5b['prototype']['sessionId']='',_0x11ed5b['prototype']['lastOperationId']='',_0x11ed5b['prototype']['sessionCreatedAt']='',_0x11ed5b['create']=function(_0xddd7ed){return new _0x11ed5b(_0xddd7ed);},_0x11ed5b['encode']=function(_0x51dccd,_0x6a8ce3){if(_0x6a8ce3||(_0x6a8ce3=_0x186223['create']()),null!=_0x51dccd['channel']&&Object['hasOwnProperty']['call'](_0x51dccd,'channel')&&_0x6a8ce3['uint32'](0xa)['string'](_0x51dccd['channel']),null!=_0x51dccd['offset']&&Object['hasOwnProperty']['call'](_0x51dccd,'offset')&&_0x6a8ce3['uint32'](0x10)['uint32'](_0x51dccd['offset']),null!=_0x51dccd['version']&&Object['hasOwnProperty']['call'](_0x51dccd,'version')&&_0x6a8ce3['uint32'](0x18)['uint32'](_0x51dccd['version']),null!=_0x51dccd['buffers']&&_0x51dccd['buffers']['length']){for(var _0x558f2e=0x0;_0x558f2e<_0x51dccd['buffers']['length'];++_0x558f2e)_0x6a8ce3['uint32'](0x22)['bytes'](_0x51dccd['buffers'][_0x558f2e]);}if(null!=_0x51dccd['types']&&_0x51dccd['types']['length']){for(_0x6a8ce3['uint32'](0x2a)['fork'](),_0x558f2e=0x0;_0x558f2e<_0x51dccd['types']['length'];++_0x558f2e)_0x6a8ce3['uint32'](_0x51dccd['types'][_0x558f2e]);_0x6a8ce3['ldelim']();}if(null!=_0x51dccd['metadata']&&_0x51dccd['metadata']['length']){for(_0x558f2e=0x0;_0x558f2e<_0x51dccd['metadata']['length'];++_0x558f2e)_0x37f903['OperationMetadataDescriptor']['encode'](_0x51dccd['metadata'][_0x558f2e],_0x6a8ce3['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x51dccd['initData']&&Object['hasOwnProperty']['call'](_0x51dccd,'initData')&&_0x6a8ce3['uint32'](0x42)['string'](_0x51dccd['initData']),null!=_0x51dccd['isInitialized']&&Object['hasOwnProperty']['call'](_0x51dccd,'isInitialized')&&_0x6a8ce3['uint32'](0x48)['bool'](_0x51dccd['isInitialized']),null!=_0x51dccd['sessionId']&&Object['hasOwnProperty']['call'](_0x51dccd,'sessionId')&&_0x6a8ce3['uint32'](0x52)['string'](_0x51dccd['sessionId']),null!=_0x51dccd['lastOperationId']&&Object['hasOwnProperty']['call'](_0x51dccd,'lastOperationId')&&_0x6a8ce3['uint32'](0x5a)['string'](_0x51dccd['lastOperationId']),null!=_0x51dccd['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x51dccd,'sessionCreatedAt')&&_0x6a8ce3['uint32'](0x62)['string'](_0x51dccd['sessionCreatedAt']),_0x6a8ce3;},_0x11ed5b['encodeDelimited']=function(_0x29a911,_0x43ef2e){return this['encode'](_0x29a911,_0x43ef2e)['ldelim']();},_0x11ed5b['decode']=function(_0x22d640,_0x5d4d38,_0x27a91f){_0x22d640 instanceof _0x57f37b||(_0x22d640=_0x57f37b['create'](_0x22d640));for(var _0x5ca711=void 0x0===_0x5d4d38?_0x22d640['len']:_0x22d640['pos']+_0x5d4d38,_0xef17=new _0x37f903['CollaborativeEditingConnectResponse']();_0x22d640['pos']<_0x5ca711;){var _0x367d49=_0x22d640['uint32']();if(_0x367d49===_0x27a91f)break;switch(_0x367d49>>>0x3){case 0x1:_0xef17['channel']=_0x22d640['string']();break;case 0x2:_0xef17['offset']=_0x22d640['uint32']();break;case 0x3:_0xef17['version']=_0x22d640['uint32']();break;case 0x4:_0xef17['buffers']&&_0xef17['buffers']['length']||(_0xef17['buffers']=[]),_0xef17['buffers']['push'](_0x22d640['bytes']());break;case 0x5:if(_0xef17['types']&&_0xef17['types']['length']||(_0xef17['types']=[]),0x2==(0x7&_0x367d49)){for(var _0x2513eb=_0x22d640['uint32']()+_0x22d640['pos'];_0x22d640['pos']<_0x2513eb;)_0xef17['types']['push'](_0x22d640['uint32']());}else _0xef17['types']['push'](_0x22d640['uint32']());break;case 0x7:_0xef17['metadata']&&_0xef17['metadata']['length']||(_0xef17['metadata']=[]),_0xef17['metadata']['push'](_0x37f903['OperationMetadataDescriptor']['decode'](_0x22d640,_0x22d640['uint32']()));break;case 0x8:_0xef17['initData']=_0x22d640['string']();break;case 0x9:_0xef17['isInitialized']=_0x22d640['bool']();break;case 0xa:_0xef17['sessionId']=_0x22d640['string']();break;case 0xb:_0xef17['lastOperationId']=_0x22d640['string']();break;case 0xc:_0xef17['sessionCreatedAt']=_0x22d640['string']();break;default:_0x22d640['skipType'](0x7&_0x367d49);}}return _0xef17;},_0x11ed5b['decodeDelimited']=function(_0x5cb519){return _0x5cb519 instanceof _0x57f37b||(_0x5cb519=new _0x57f37b(_0x5cb519)),this['decode'](_0x5cb519,_0x5cb519['uint32']());},_0x11ed5b['verify']=function(_0x3bae11){if('object'!=typeof _0x3bae11||null===_0x3bae11)return'object\x20expected';if(null!=_0x3bae11['channel']&&_0x3bae11['hasOwnProperty']('channel')&&!_0x2e4f36['isString'](_0x3bae11['channel']))return'channel:\x20string\x20expected';if(null!=_0x3bae11['offset']&&_0x3bae11['hasOwnProperty']('offset')&&!_0x2e4f36['isInteger'](_0x3bae11['offset']))return'offset:\x20integer\x20expected';if(null!=_0x3bae11['version']&&_0x3bae11['hasOwnProperty']('version')&&!_0x2e4f36['isInteger'](_0x3bae11['version']))return'version:\x20integer\x20expected';if(null!=_0x3bae11['buffers']&&_0x3bae11['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x3bae11['buffers']))return'buffers:\x20array\x20expected';for(var _0x6aca8a=0x0;_0x6aca8a<_0x3bae11['buffers']['length'];++_0x6aca8a)if(!(_0x3bae11['buffers'][_0x6aca8a]&&'number'==typeof _0x3bae11['buffers'][_0x6aca8a]['length']||_0x2e4f36['isString'](_0x3bae11['buffers'][_0x6aca8a])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x3bae11['types']&&_0x3bae11['hasOwnProperty']('types')){if(!Array['isArray'](_0x3bae11['types']))return'types:\x20array\x20expected';for(_0x6aca8a=0x0;_0x6aca8a<_0x3bae11['types']['length'];++_0x6aca8a)if(!_0x2e4f36['isInteger'](_0x3bae11['types'][_0x6aca8a]))return'types:\x20integer[]\x20expected';}if(null!=_0x3bae11['metadata']&&_0x3bae11['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x3bae11['metadata']))return'metadata:\x20array\x20expected';for(_0x6aca8a=0x0;_0x6aca8a<_0x3bae11['metadata']['length'];++_0x6aca8a){var _0x512e0d=_0x37f903['OperationMetadataDescriptor']['verify'](_0x3bae11['metadata'][_0x6aca8a]);if(_0x512e0d)return'metadata.'+_0x512e0d;}}return null!=_0x3bae11['initData']&&_0x3bae11['hasOwnProperty']('initData')&&!_0x2e4f36['isString'](_0x3bae11['initData'])?'initData:\x20string\x20expected':null!=_0x3bae11['isInitialized']&&_0x3bae11['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x3bae11['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x3bae11['sessionId']&&_0x3bae11['hasOwnProperty']('sessionId')&&!_0x2e4f36['isString'](_0x3bae11['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x3bae11['lastOperationId']&&_0x3bae11['hasOwnProperty']('lastOperationId')&&!_0x2e4f36['isString'](_0x3bae11['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x3bae11['sessionCreatedAt']&&_0x3bae11['hasOwnProperty']('sessionCreatedAt')&&!_0x2e4f36['isString'](_0x3bae11['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x11ed5b['fromObject']=function(_0x5886f4){if(_0x5886f4 instanceof _0x37f903['CollaborativeEditingConnectResponse'])return _0x5886f4;var _0x192bd1=new _0x37f903['CollaborativeEditingConnectResponse']();if(null!=_0x5886f4['channel']&&(_0x192bd1['channel']=String(_0x5886f4['channel'])),null!=_0x5886f4['offset']&&(_0x192bd1['offset']=_0x5886f4['offset']>>>0x0),null!=_0x5886f4['version']&&(_0x192bd1['version']=_0x5886f4['version']>>>0x0),_0x5886f4['buffers']){if(!Array['isArray'](_0x5886f4['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x192bd1['buffers']=[];for(var _0x75ad63=0x0;_0x75ad63<_0x5886f4['buffers']['length'];++_0x75ad63)'string'==typeof _0x5886f4['buffers'][_0x75ad63]?_0x2e4f36['base64']['decode'](_0x5886f4['buffers'][_0x75ad63],_0x192bd1['buffers'][_0x75ad63]=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0x5886f4['buffers'][_0x75ad63])),0x0):_0x5886f4['buffers'][_0x75ad63]['length']>=0x0&&(_0x192bd1['buffers'][_0x75ad63]=_0x5886f4['buffers'][_0x75ad63]);}if(_0x5886f4['types']){if(!Array['isArray'](_0x5886f4['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x192bd1['types']=[],_0x75ad63=0x0;_0x75ad63<_0x5886f4['types']['length'];++_0x75ad63)_0x192bd1['types'][_0x75ad63]=_0x5886f4['types'][_0x75ad63]>>>0x0;}if(_0x5886f4['metadata']){if(!Array['isArray'](_0x5886f4['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x192bd1['metadata']=[],_0x75ad63=0x0;_0x75ad63<_0x5886f4['metadata']['length'];++_0x75ad63){if('object'!=typeof _0x5886f4['metadata'][_0x75ad63])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x192bd1['metadata'][_0x75ad63]=_0x37f903['OperationMetadataDescriptor']['fromObject'](_0x5886f4['metadata'][_0x75ad63]);}}return null!=_0x5886f4['initData']&&(_0x192bd1['initData']=String(_0x5886f4['initData'])),null!=_0x5886f4['isInitialized']&&(_0x192bd1['isInitialized']=Boolean(_0x5886f4['isInitialized'])),null!=_0x5886f4['sessionId']&&(_0x192bd1['sessionId']=String(_0x5886f4['sessionId'])),null!=_0x5886f4['lastOperationId']&&(_0x192bd1['lastOperationId']=String(_0x5886f4['lastOperationId'])),null!=_0x5886f4['sessionCreatedAt']&&(_0x192bd1['sessionCreatedAt']=String(_0x5886f4['sessionCreatedAt'])),_0x192bd1;},_0x11ed5b['toObject']=function(_0x50c1c4,_0x4bb767){_0x4bb767||(_0x4bb767={});var _0x1053f8={};if((_0x4bb767['arrays']||_0x4bb767['defaults'])&&(_0x1053f8['buffers']=[],_0x1053f8['types']=[],_0x1053f8['metadata']=[]),_0x4bb767['defaults']&&(_0x1053f8['channel']='',_0x1053f8['offset']=0x0,_0x1053f8['version']=0x0,_0x1053f8['initData']='',_0x1053f8['isInitialized']=!0x1,_0x1053f8['sessionId']='',_0x1053f8['lastOperationId']='',_0x1053f8['sessionCreatedAt']=''),null!=_0x50c1c4['channel']&&_0x50c1c4['hasOwnProperty']('channel')&&(_0x1053f8['channel']=_0x50c1c4['channel']),null!=_0x50c1c4['offset']&&_0x50c1c4['hasOwnProperty']('offset')&&(_0x1053f8['offset']=_0x50c1c4['offset']),null!=_0x50c1c4['version']&&_0x50c1c4['hasOwnProperty']('version')&&(_0x1053f8['version']=_0x50c1c4['version']),_0x50c1c4['buffers']&&_0x50c1c4['buffers']['length']){_0x1053f8['buffers']=[];for(var _0x87b2de=0x0;_0x87b2de<_0x50c1c4['buffers']['length'];++_0x87b2de)_0x1053f8['buffers'][_0x87b2de]=_0x4bb767['bytes']===String?_0x2e4f36['base64']['encode'](_0x50c1c4['buffers'][_0x87b2de],0x0,_0x50c1c4['buffers'][_0x87b2de]['length']):_0x4bb767['bytes']===Array?Array['prototype']['slice']['call'](_0x50c1c4['buffers'][_0x87b2de]):_0x50c1c4['buffers'][_0x87b2de];}if(_0x50c1c4['types']&&_0x50c1c4['types']['length']){for(_0x1053f8['types']=[],_0x87b2de=0x0;_0x87b2de<_0x50c1c4['types']['length'];++_0x87b2de)_0x1053f8['types'][_0x87b2de]=_0x50c1c4['types'][_0x87b2de];}if(_0x50c1c4['metadata']&&_0x50c1c4['metadata']['length']){for(_0x1053f8['metadata']=[],_0x87b2de=0x0;_0x87b2de<_0x50c1c4['metadata']['length'];++_0x87b2de)_0x1053f8['metadata'][_0x87b2de]=_0x37f903['OperationMetadataDescriptor']['toObject'](_0x50c1c4['metadata'][_0x87b2de],_0x4bb767);}return null!=_0x50c1c4['initData']&&_0x50c1c4['hasOwnProperty']('initData')&&(_0x1053f8['initData']=_0x50c1c4['initData']),null!=_0x50c1c4['isInitialized']&&_0x50c1c4['hasOwnProperty']('isInitialized')&&(_0x1053f8['isInitialized']=_0x50c1c4['isInitialized']),null!=_0x50c1c4['sessionId']&&_0x50c1c4['hasOwnProperty']('sessionId')&&(_0x1053f8['sessionId']=_0x50c1c4['sessionId']),null!=_0x50c1c4['lastOperationId']&&_0x50c1c4['hasOwnProperty']('lastOperationId')&&(_0x1053f8['lastOperationId']=_0x50c1c4['lastOperationId']),null!=_0x50c1c4['sessionCreatedAt']&&_0x50c1c4['hasOwnProperty']('sessionCreatedAt')&&(_0x1053f8['sessionCreatedAt']=_0x50c1c4['sessionCreatedAt']),_0x1053f8;},_0x11ed5b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x11ed5b['getTypeUrl']=function(_0x3f4ef0){return void 0x0===_0x3f4ef0&&(_0x3f4ef0='type.googleapis.com'),_0x3f4ef0+'/CollaborativeEditingConnectResponse';},_0x11ed5b;}()),_0x37f903['GetDocumentDetailsMessage']=(function(){function _0x4b5d85(_0x5e5ce1){if(_0x5e5ce1){for(var _0x3fa1a4=Object['keys'](_0x5e5ce1),_0x232d2c=0x0;_0x232d2c<_0x3fa1a4['length'];++_0x232d2c)null!=_0x5e5ce1[_0x3fa1a4[_0x232d2c]]&&(this[_0x3fa1a4[_0x232d2c]]=_0x5e5ce1[_0x3fa1a4[_0x232d2c]]);}}return _0x4b5d85['prototype']['documentId']='',_0x4b5d85['prototype']['environmentId']='',_0x4b5d85['create']=function(_0x4ad209){return new _0x4b5d85(_0x4ad209);},_0x4b5d85['encode']=function(_0xdf6bb4,_0x2617ba){return _0x2617ba||(_0x2617ba=_0x186223['create']()),null!=_0xdf6bb4['documentId']&&Object['hasOwnProperty']['call'](_0xdf6bb4,'documentId')&&_0x2617ba['uint32'](0xa)['string'](_0xdf6bb4['documentId']),null!=_0xdf6bb4['environmentId']&&Object['hasOwnProperty']['call'](_0xdf6bb4,'environmentId')&&_0x2617ba['uint32'](0x12)['string'](_0xdf6bb4['environmentId']),_0x2617ba;},_0x4b5d85['encodeDelimited']=function(_0x5005b8,_0x464460){return this['encode'](_0x5005b8,_0x464460)['ldelim']();},_0x4b5d85['decode']=function(_0xcf4133,_0x5ea0af,_0x3912ca){_0xcf4133 instanceof _0x57f37b||(_0xcf4133=_0x57f37b['create'](_0xcf4133));for(var _0x42cab3=void 0x0===_0x5ea0af?_0xcf4133['len']:_0xcf4133['pos']+_0x5ea0af,_0x163742=new _0x37f903['GetDocumentDetailsMessage']();_0xcf4133['pos']<_0x42cab3;){var _0x474a45=_0xcf4133['uint32']();if(_0x474a45===_0x3912ca)break;switch(_0x474a45>>>0x3){case 0x1:_0x163742['documentId']=_0xcf4133['string']();break;case 0x2:_0x163742['environmentId']=_0xcf4133['string']();break;default:_0xcf4133['skipType'](0x7&_0x474a45);}}return _0x163742;},_0x4b5d85['decodeDelimited']=function(_0x23a280){return _0x23a280 instanceof _0x57f37b||(_0x23a280=new _0x57f37b(_0x23a280)),this['decode'](_0x23a280,_0x23a280['uint32']());},_0x4b5d85['verify']=function(_0x27f6c4){return'object'!=typeof _0x27f6c4||null===_0x27f6c4?'object\x20expected':null!=_0x27f6c4['documentId']&&_0x27f6c4['hasOwnProperty']('documentId')&&!_0x2e4f36['isString'](_0x27f6c4['documentId'])?'documentId:\x20string\x20expected':null!=_0x27f6c4['environmentId']&&_0x27f6c4['hasOwnProperty']('environmentId')&&!_0x2e4f36['isString'](_0x27f6c4['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x4b5d85['fromObject']=function(_0x55fec9){if(_0x55fec9 instanceof _0x37f903['GetDocumentDetailsMessage'])return _0x55fec9;var _0x2b766f=new _0x37f903['GetDocumentDetailsMessage']();return null!=_0x55fec9['documentId']&&(_0x2b766f['documentId']=String(_0x55fec9['documentId'])),null!=_0x55fec9['environmentId']&&(_0x2b766f['environmentId']=String(_0x55fec9['environmentId'])),_0x2b766f;},_0x4b5d85['toObject']=function(_0x294d7e,_0x2df94e){_0x2df94e||(_0x2df94e={});var _0x7af8e0={};return _0x2df94e['defaults']&&(_0x7af8e0['documentId']='',_0x7af8e0['environmentId']=''),null!=_0x294d7e['documentId']&&_0x294d7e['hasOwnProperty']('documentId')&&(_0x7af8e0['documentId']=_0x294d7e['documentId']),null!=_0x294d7e['environmentId']&&_0x294d7e['hasOwnProperty']('environmentId')&&(_0x7af8e0['environmentId']=_0x294d7e['environmentId']),_0x7af8e0;},_0x4b5d85['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4b5d85['getTypeUrl']=function(_0x4832a8){return void 0x0===_0x4832a8&&(_0x4832a8='type.googleapis.com'),_0x4832a8+'/GetDocumentDetailsMessage';},_0x4b5d85;}()),_0x37f903['CollaborativeEditingUpdateMessage']=(function(){function _0x150d70(_0x1bf3ce){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x1bf3ce){for(var _0x43602f=Object['keys'](_0x1bf3ce),_0x3d6f4a=0x0;_0x3d6f4a<_0x43602f['length'];++_0x3d6f4a)null!=_0x1bf3ce[_0x43602f[_0x3d6f4a]]&&(this[_0x43602f[_0x3d6f4a]]=_0x1bf3ce[_0x43602f[_0x3d6f4a]]);}}return _0x150d70['prototype']['id']='',_0x150d70['prototype']['baseVersion']=0x0,_0x150d70['prototype']['buffers']=_0x2e4f36['emptyArray'],_0x150d70['prototype']['types']=_0x2e4f36['emptyArray'],_0x150d70['prototype']['metadata']=_0x2e4f36['emptyArray'],_0x150d70['prototype']['lastOperationId']='',_0x150d70['create']=function(_0x371fd9){return new _0x150d70(_0x371fd9);},_0x150d70['encode']=function(_0x4078f6,_0x5ad8d1){if(_0x5ad8d1||(_0x5ad8d1=_0x186223['create']()),null!=_0x4078f6['id']&&Object['hasOwnProperty']['call'](_0x4078f6,'id')&&_0x5ad8d1['uint32'](0xa)['string'](_0x4078f6['id']),null!=_0x4078f6['baseVersion']&&Object['hasOwnProperty']['call'](_0x4078f6,'baseVersion')&&_0x5ad8d1['uint32'](0x10)['uint32'](_0x4078f6['baseVersion']),null!=_0x4078f6['buffers']&&_0x4078f6['buffers']['length']){for(var _0x1d6040=0x0;_0x1d6040<_0x4078f6['buffers']['length'];++_0x1d6040)_0x5ad8d1['uint32'](0x1a)['bytes'](_0x4078f6['buffers'][_0x1d6040]);}if(null!=_0x4078f6['types']&&_0x4078f6['types']['length']){for(_0x5ad8d1['uint32'](0x22)['fork'](),_0x1d6040=0x0;_0x1d6040<_0x4078f6['types']['length'];++_0x1d6040)_0x5ad8d1['uint32'](_0x4078f6['types'][_0x1d6040]);_0x5ad8d1['ldelim']();}if(null!=_0x4078f6['metadata']&&_0x4078f6['metadata']['length']){for(_0x1d6040=0x0;_0x1d6040<_0x4078f6['metadata']['length'];++_0x1d6040)_0x37f903['OperationMetadataDescriptor']['encode'](_0x4078f6['metadata'][_0x1d6040],_0x5ad8d1['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x4078f6['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4078f6,'lastOperationId')&&_0x5ad8d1['uint32'](0x3a)['string'](_0x4078f6['lastOperationId']),_0x5ad8d1;},_0x150d70['encodeDelimited']=function(_0x4464fe,_0x52b328){return this['encode'](_0x4464fe,_0x52b328)['ldelim']();},_0x150d70['decode']=function(_0x446417,_0x235668,_0x290be6){_0x446417 instanceof _0x57f37b||(_0x446417=_0x57f37b['create'](_0x446417));for(var _0x1c8c2b=void 0x0===_0x235668?_0x446417['len']:_0x446417['pos']+_0x235668,_0x50e918=new _0x37f903['CollaborativeEditingUpdateMessage']();_0x446417['pos']<_0x1c8c2b;){var _0x50e318=_0x446417['uint32']();if(_0x50e318===_0x290be6)break;switch(_0x50e318>>>0x3){case 0x1:_0x50e918['id']=_0x446417['string']();break;case 0x2:_0x50e918['baseVersion']=_0x446417['uint32']();break;case 0x3:_0x50e918['buffers']&&_0x50e918['buffers']['length']||(_0x50e918['buffers']=[]),_0x50e918['buffers']['push'](_0x446417['bytes']());break;case 0x4:if(_0x50e918['types']&&_0x50e918['types']['length']||(_0x50e918['types']=[]),0x2==(0x7&_0x50e318)){for(var _0x4ad3b7=_0x446417['uint32']()+_0x446417['pos'];_0x446417['pos']<_0x4ad3b7;)_0x50e918['types']['push'](_0x446417['uint32']());}else _0x50e918['types']['push'](_0x446417['uint32']());break;case 0x6:_0x50e918['metadata']&&_0x50e918['metadata']['length']||(_0x50e918['metadata']=[]),_0x50e918['metadata']['push'](_0x37f903['OperationMetadataDescriptor']['decode'](_0x446417,_0x446417['uint32']()));break;case 0x7:_0x50e918['lastOperationId']=_0x446417['string']();break;default:_0x446417['skipType'](0x7&_0x50e318);}}return _0x50e918;},_0x150d70['decodeDelimited']=function(_0x9ed1f){return _0x9ed1f instanceof _0x57f37b||(_0x9ed1f=new _0x57f37b(_0x9ed1f)),this['decode'](_0x9ed1f,_0x9ed1f['uint32']());},_0x150d70['verify']=function(_0x6774e3){if('object'!=typeof _0x6774e3||null===_0x6774e3)return'object\x20expected';if(null!=_0x6774e3['id']&&_0x6774e3['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x6774e3['id']))return'id:\x20string\x20expected';if(null!=_0x6774e3['baseVersion']&&_0x6774e3['hasOwnProperty']('baseVersion')&&!_0x2e4f36['isInteger'](_0x6774e3['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x6774e3['buffers']&&_0x6774e3['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x6774e3['buffers']))return'buffers:\x20array\x20expected';for(var _0x3c792b=0x0;_0x3c792b<_0x6774e3['buffers']['length'];++_0x3c792b)if(!(_0x6774e3['buffers'][_0x3c792b]&&'number'==typeof _0x6774e3['buffers'][_0x3c792b]['length']||_0x2e4f36['isString'](_0x6774e3['buffers'][_0x3c792b])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x6774e3['types']&&_0x6774e3['hasOwnProperty']('types')){if(!Array['isArray'](_0x6774e3['types']))return'types:\x20array\x20expected';for(_0x3c792b=0x0;_0x3c792b<_0x6774e3['types']['length'];++_0x3c792b)if(!_0x2e4f36['isInteger'](_0x6774e3['types'][_0x3c792b]))return'types:\x20integer[]\x20expected';}if(null!=_0x6774e3['metadata']&&_0x6774e3['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x6774e3['metadata']))return'metadata:\x20array\x20expected';for(_0x3c792b=0x0;_0x3c792b<_0x6774e3['metadata']['length'];++_0x3c792b){var _0x2440c7=_0x37f903['OperationMetadataDescriptor']['verify'](_0x6774e3['metadata'][_0x3c792b]);if(_0x2440c7)return'metadata.'+_0x2440c7;}}return null!=_0x6774e3['lastOperationId']&&_0x6774e3['hasOwnProperty']('lastOperationId')&&!_0x2e4f36['isString'](_0x6774e3['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x150d70['fromObject']=function(_0x1f0ff9){if(_0x1f0ff9 instanceof _0x37f903['CollaborativeEditingUpdateMessage'])return _0x1f0ff9;var _0x5a8939=new _0x37f903['CollaborativeEditingUpdateMessage']();if(null!=_0x1f0ff9['id']&&(_0x5a8939['id']=String(_0x1f0ff9['id'])),null!=_0x1f0ff9['baseVersion']&&(_0x5a8939['baseVersion']=_0x1f0ff9['baseVersion']>>>0x0),_0x1f0ff9['buffers']){if(!Array['isArray'](_0x1f0ff9['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x5a8939['buffers']=[];for(var _0x1cdc81=0x0;_0x1cdc81<_0x1f0ff9['buffers']['length'];++_0x1cdc81)'string'==typeof _0x1f0ff9['buffers'][_0x1cdc81]?_0x2e4f36['base64']['decode'](_0x1f0ff9['buffers'][_0x1cdc81],_0x5a8939['buffers'][_0x1cdc81]=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0x1f0ff9['buffers'][_0x1cdc81])),0x0):_0x1f0ff9['buffers'][_0x1cdc81]['length']>=0x0&&(_0x5a8939['buffers'][_0x1cdc81]=_0x1f0ff9['buffers'][_0x1cdc81]);}if(_0x1f0ff9['types']){if(!Array['isArray'](_0x1f0ff9['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x5a8939['types']=[],_0x1cdc81=0x0;_0x1cdc81<_0x1f0ff9['types']['length'];++_0x1cdc81)_0x5a8939['types'][_0x1cdc81]=_0x1f0ff9['types'][_0x1cdc81]>>>0x0;}if(_0x1f0ff9['metadata']){if(!Array['isArray'](_0x1f0ff9['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x5a8939['metadata']=[],_0x1cdc81=0x0;_0x1cdc81<_0x1f0ff9['metadata']['length'];++_0x1cdc81){if('object'!=typeof _0x1f0ff9['metadata'][_0x1cdc81])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x5a8939['metadata'][_0x1cdc81]=_0x37f903['OperationMetadataDescriptor']['fromObject'](_0x1f0ff9['metadata'][_0x1cdc81]);}}return null!=_0x1f0ff9['lastOperationId']&&(_0x5a8939['lastOperationId']=String(_0x1f0ff9['lastOperationId'])),_0x5a8939;},_0x150d70['toObject']=function(_0x441781,_0x4e299b){_0x4e299b||(_0x4e299b={});var _0x4476ea={};if((_0x4e299b['arrays']||_0x4e299b['defaults'])&&(_0x4476ea['buffers']=[],_0x4476ea['types']=[],_0x4476ea['metadata']=[]),_0x4e299b['defaults']&&(_0x4476ea['id']='',_0x4476ea['baseVersion']=0x0,_0x4476ea['lastOperationId']=''),null!=_0x441781['id']&&_0x441781['hasOwnProperty']('id')&&(_0x4476ea['id']=_0x441781['id']),null!=_0x441781['baseVersion']&&_0x441781['hasOwnProperty']('baseVersion')&&(_0x4476ea['baseVersion']=_0x441781['baseVersion']),_0x441781['buffers']&&_0x441781['buffers']['length']){_0x4476ea['buffers']=[];for(var _0x3388b4=0x0;_0x3388b4<_0x441781['buffers']['length'];++_0x3388b4)_0x4476ea['buffers'][_0x3388b4]=_0x4e299b['bytes']===String?_0x2e4f36['base64']['encode'](_0x441781['buffers'][_0x3388b4],0x0,_0x441781['buffers'][_0x3388b4]['length']):_0x4e299b['bytes']===Array?Array['prototype']['slice']['call'](_0x441781['buffers'][_0x3388b4]):_0x441781['buffers'][_0x3388b4];}if(_0x441781['types']&&_0x441781['types']['length']){for(_0x4476ea['types']=[],_0x3388b4=0x0;_0x3388b4<_0x441781['types']['length'];++_0x3388b4)_0x4476ea['types'][_0x3388b4]=_0x441781['types'][_0x3388b4];}if(_0x441781['metadata']&&_0x441781['metadata']['length']){for(_0x4476ea['metadata']=[],_0x3388b4=0x0;_0x3388b4<_0x441781['metadata']['length'];++_0x3388b4)_0x4476ea['metadata'][_0x3388b4]=_0x37f903['OperationMetadataDescriptor']['toObject'](_0x441781['metadata'][_0x3388b4],_0x4e299b);}return null!=_0x441781['lastOperationId']&&_0x441781['hasOwnProperty']('lastOperationId')&&(_0x4476ea['lastOperationId']=_0x441781['lastOperationId']),_0x4476ea;},_0x150d70['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x150d70['getTypeUrl']=function(_0x444f8f){return void 0x0===_0x444f8f&&(_0x444f8f='type.googleapis.com'),_0x444f8f+'/CollaborativeEditingUpdateMessage';},_0x150d70;}()),_0x37f903['CollaborativeEditingReconnectMessage']=(function(){function _0x20bb6d(_0x339a2f){if(_0x339a2f){for(var _0x5a3c10=Object['keys'](_0x339a2f),_0x548c87=0x0;_0x548c87<_0x5a3c10['length'];++_0x548c87)null!=_0x339a2f[_0x5a3c10[_0x548c87]]&&(this[_0x5a3c10[_0x548c87]]=_0x339a2f[_0x5a3c10[_0x548c87]]);}}return _0x20bb6d['prototype']['id']='',_0x20bb6d['prototype']['bundleVersion']='',_0x20bb6d['prototype']['lastKnowVersion']=0x0,_0x20bb6d['create']=function(_0x30d942){return new _0x20bb6d(_0x30d942);},_0x20bb6d['encode']=function(_0x10b12a,_0x1e5f75){return _0x1e5f75||(_0x1e5f75=_0x186223['create']()),null!=_0x10b12a['id']&&Object['hasOwnProperty']['call'](_0x10b12a,'id')&&_0x1e5f75['uint32'](0xa)['string'](_0x10b12a['id']),null!=_0x10b12a['bundleVersion']&&Object['hasOwnProperty']['call'](_0x10b12a,'bundleVersion')&&_0x1e5f75['uint32'](0x12)['string'](_0x10b12a['bundleVersion']),null!=_0x10b12a['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x10b12a,'lastKnowVersion')&&_0x1e5f75['uint32'](0x18)['uint32'](_0x10b12a['lastKnowVersion']),_0x1e5f75;},_0x20bb6d['encodeDelimited']=function(_0x5c88c2,_0x1ba7d0){return this['encode'](_0x5c88c2,_0x1ba7d0)['ldelim']();},_0x20bb6d['decode']=function(_0x35365e,_0x1d2b46,_0x26fae1){_0x35365e instanceof _0x57f37b||(_0x35365e=_0x57f37b['create'](_0x35365e));for(var _0xc779b7=void 0x0===_0x1d2b46?_0x35365e['len']:_0x35365e['pos']+_0x1d2b46,_0x198153=new _0x37f903['CollaborativeEditingReconnectMessage']();_0x35365e['pos']<_0xc779b7;){var _0x147d69=_0x35365e['uint32']();if(_0x147d69===_0x26fae1)break;switch(_0x147d69>>>0x3){case 0x1:_0x198153['id']=_0x35365e['string']();break;case 0x2:_0x198153['bundleVersion']=_0x35365e['string']();break;case 0x3:_0x198153['lastKnowVersion']=_0x35365e['uint32']();break;default:_0x35365e['skipType'](0x7&_0x147d69);}}return _0x198153;},_0x20bb6d['decodeDelimited']=function(_0x133405){return _0x133405 instanceof _0x57f37b||(_0x133405=new _0x57f37b(_0x133405)),this['decode'](_0x133405,_0x133405['uint32']());},_0x20bb6d['verify']=function(_0x20156e){return'object'!=typeof _0x20156e||null===_0x20156e?'object\x20expected':null!=_0x20156e['id']&&_0x20156e['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x20156e['id'])?'id:\x20string\x20expected':null!=_0x20156e['bundleVersion']&&_0x20156e['hasOwnProperty']('bundleVersion')&&!_0x2e4f36['isString'](_0x20156e['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x20156e['lastKnowVersion']&&_0x20156e['hasOwnProperty']('lastKnowVersion')&&!_0x2e4f36['isInteger'](_0x20156e['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x20bb6d['fromObject']=function(_0x4c444a){if(_0x4c444a instanceof _0x37f903['CollaborativeEditingReconnectMessage'])return _0x4c444a;var _0x3dd1cf=new _0x37f903['CollaborativeEditingReconnectMessage']();return null!=_0x4c444a['id']&&(_0x3dd1cf['id']=String(_0x4c444a['id'])),null!=_0x4c444a['bundleVersion']&&(_0x3dd1cf['bundleVersion']=String(_0x4c444a['bundleVersion'])),null!=_0x4c444a['lastKnowVersion']&&(_0x3dd1cf['lastKnowVersion']=_0x4c444a['lastKnowVersion']>>>0x0),_0x3dd1cf;},_0x20bb6d['toObject']=function(_0x3c5a4f,_0x446e50){_0x446e50||(_0x446e50={});var _0x411c4c={};return _0x446e50['defaults']&&(_0x411c4c['id']='',_0x411c4c['bundleVersion']='',_0x411c4c['lastKnowVersion']=0x0),null!=_0x3c5a4f['id']&&_0x3c5a4f['hasOwnProperty']('id')&&(_0x411c4c['id']=_0x3c5a4f['id']),null!=_0x3c5a4f['bundleVersion']&&_0x3c5a4f['hasOwnProperty']('bundleVersion')&&(_0x411c4c['bundleVersion']=_0x3c5a4f['bundleVersion']),null!=_0x3c5a4f['lastKnowVersion']&&_0x3c5a4f['hasOwnProperty']('lastKnowVersion')&&(_0x411c4c['lastKnowVersion']=_0x3c5a4f['lastKnowVersion']),_0x411c4c;},_0x20bb6d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x20bb6d['getTypeUrl']=function(_0x1eec08){return void 0x0===_0x1eec08&&(_0x1eec08='type.googleapis.com'),_0x1eec08+'/CollaborativeEditingReconnectMessage';},_0x20bb6d;}()),_0x37f903['CollaborativeEditingConnectMessage']=(function(){function _0x2bd6bf(_0x3c594e){if(this['buffers']=[],this['types']=[],_0x3c594e){for(var _0x4dfdcc=Object['keys'](_0x3c594e),_0x4e9d16=0x0;_0x4e9d16<_0x4dfdcc['length'];++_0x4e9d16)null!=_0x3c594e[_0x4dfdcc[_0x4e9d16]]&&(this[_0x4dfdcc[_0x4e9d16]]=_0x3c594e[_0x4dfdcc[_0x4e9d16]]);}}return _0x2bd6bf['prototype']['id']='',_0x2bd6bf['prototype']['bundleVersion']='',_0x2bd6bf['prototype']['buffers']=_0x2e4f36['emptyArray'],_0x2bd6bf['prototype']['types']=_0x2e4f36['emptyArray'],_0x2bd6bf['prototype']['lastOperationId']='',_0x2bd6bf['create']=function(_0x204df1){return new _0x2bd6bf(_0x204df1);},_0x2bd6bf['encode']=function(_0x5ec002,_0x1962f1){if(_0x1962f1||(_0x1962f1=_0x186223['create']()),null!=_0x5ec002['id']&&Object['hasOwnProperty']['call'](_0x5ec002,'id')&&_0x1962f1['uint32'](0xa)['string'](_0x5ec002['id']),null!=_0x5ec002['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5ec002,'bundleVersion')&&_0x1962f1['uint32'](0x12)['string'](_0x5ec002['bundleVersion']),null!=_0x5ec002['buffers']&&_0x5ec002['buffers']['length']){for(var _0x158fa8=0x0;_0x158fa8<_0x5ec002['buffers']['length'];++_0x158fa8)_0x1962f1['uint32'](0x1a)['bytes'](_0x5ec002['buffers'][_0x158fa8]);}if(null!=_0x5ec002['types']&&_0x5ec002['types']['length']){for(_0x1962f1['uint32'](0x22)['fork'](),_0x158fa8=0x0;_0x158fa8<_0x5ec002['types']['length'];++_0x158fa8)_0x1962f1['uint32'](_0x5ec002['types'][_0x158fa8]);_0x1962f1['ldelim']();}return null!=_0x5ec002['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5ec002,'lastOperationId')&&_0x1962f1['uint32'](0x2a)['string'](_0x5ec002['lastOperationId']),_0x1962f1;},_0x2bd6bf['encodeDelimited']=function(_0x165914,_0x381b86){return this['encode'](_0x165914,_0x381b86)['ldelim']();},_0x2bd6bf['decode']=function(_0x5aaf36,_0x5529e2,_0x43e7aa){_0x5aaf36 instanceof _0x57f37b||(_0x5aaf36=_0x57f37b['create'](_0x5aaf36));for(var _0xc04a12=void 0x0===_0x5529e2?_0x5aaf36['len']:_0x5aaf36['pos']+_0x5529e2,_0x1f489e=new _0x37f903['CollaborativeEditingConnectMessage']();_0x5aaf36['pos']<_0xc04a12;){var _0x1faf83=_0x5aaf36['uint32']();if(_0x1faf83===_0x43e7aa)break;switch(_0x1faf83>>>0x3){case 0x1:_0x1f489e['id']=_0x5aaf36['string']();break;case 0x2:_0x1f489e['bundleVersion']=_0x5aaf36['string']();break;case 0x3:_0x1f489e['buffers']&&_0x1f489e['buffers']['length']||(_0x1f489e['buffers']=[]),_0x1f489e['buffers']['push'](_0x5aaf36['bytes']());break;case 0x4:if(_0x1f489e['types']&&_0x1f489e['types']['length']||(_0x1f489e['types']=[]),0x2==(0x7&_0x1faf83)){for(var _0xbdcd48=_0x5aaf36['uint32']()+_0x5aaf36['pos'];_0x5aaf36['pos']<_0xbdcd48;)_0x1f489e['types']['push'](_0x5aaf36['uint32']());}else _0x1f489e['types']['push'](_0x5aaf36['uint32']());break;case 0x5:_0x1f489e['lastOperationId']=_0x5aaf36['string']();break;default:_0x5aaf36['skipType'](0x7&_0x1faf83);}}return _0x1f489e;},_0x2bd6bf['decodeDelimited']=function(_0x4d7c54){return _0x4d7c54 instanceof _0x57f37b||(_0x4d7c54=new _0x57f37b(_0x4d7c54)),this['decode'](_0x4d7c54,_0x4d7c54['uint32']());},_0x2bd6bf['verify']=function(_0x283a9a){if('object'!=typeof _0x283a9a||null===_0x283a9a)return'object\x20expected';if(null!=_0x283a9a['id']&&_0x283a9a['hasOwnProperty']('id')&&!_0x2e4f36['isString'](_0x283a9a['id']))return'id:\x20string\x20expected';if(null!=_0x283a9a['bundleVersion']&&_0x283a9a['hasOwnProperty']('bundleVersion')&&!_0x2e4f36['isString'](_0x283a9a['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x283a9a['buffers']&&_0x283a9a['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x283a9a['buffers']))return'buffers:\x20array\x20expected';for(var _0x2d05bc=0x0;_0x2d05bc<_0x283a9a['buffers']['length'];++_0x2d05bc)if(!(_0x283a9a['buffers'][_0x2d05bc]&&'number'==typeof _0x283a9a['buffers'][_0x2d05bc]['length']||_0x2e4f36['isString'](_0x283a9a['buffers'][_0x2d05bc])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x283a9a['types']&&_0x283a9a['hasOwnProperty']('types')){if(!Array['isArray'](_0x283a9a['types']))return'types:\x20array\x20expected';for(_0x2d05bc=0x0;_0x2d05bc<_0x283a9a['types']['length'];++_0x2d05bc)if(!_0x2e4f36['isInteger'](_0x283a9a['types'][_0x2d05bc]))return'types:\x20integer[]\x20expected';}return null!=_0x283a9a['lastOperationId']&&_0x283a9a['hasOwnProperty']('lastOperationId')&&!_0x2e4f36['isString'](_0x283a9a['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x2bd6bf['fromObject']=function(_0x3e3c78){if(_0x3e3c78 instanceof _0x37f903['CollaborativeEditingConnectMessage'])return _0x3e3c78;var _0x5542e3=new _0x37f903['CollaborativeEditingConnectMessage']();if(null!=_0x3e3c78['id']&&(_0x5542e3['id']=String(_0x3e3c78['id'])),null!=_0x3e3c78['bundleVersion']&&(_0x5542e3['bundleVersion']=String(_0x3e3c78['bundleVersion'])),_0x3e3c78['buffers']){if(!Array['isArray'](_0x3e3c78['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x5542e3['buffers']=[];for(var _0x528ae9=0x0;_0x528ae9<_0x3e3c78['buffers']['length'];++_0x528ae9)'string'==typeof _0x3e3c78['buffers'][_0x528ae9]?_0x2e4f36['base64']['decode'](_0x3e3c78['buffers'][_0x528ae9],_0x5542e3['buffers'][_0x528ae9]=_0x2e4f36['newBuffer'](_0x2e4f36['base64']['length'](_0x3e3c78['buffers'][_0x528ae9])),0x0):_0x3e3c78['buffers'][_0x528ae9]['length']>=0x0&&(_0x5542e3['buffers'][_0x528ae9]=_0x3e3c78['buffers'][_0x528ae9]);}if(_0x3e3c78['types']){if(!Array['isArray'](_0x3e3c78['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x5542e3['types']=[],_0x528ae9=0x0;_0x528ae9<_0x3e3c78['types']['length'];++_0x528ae9)_0x5542e3['types'][_0x528ae9]=_0x3e3c78['types'][_0x528ae9]>>>0x0;}return null!=_0x3e3c78['lastOperationId']&&(_0x5542e3['lastOperationId']=String(_0x3e3c78['lastOperationId'])),_0x5542e3;},_0x2bd6bf['toObject']=function(_0x10cbf7,_0x502751){_0x502751||(_0x502751={});var _0x5cd7b3={};if((_0x502751['arrays']||_0x502751['defaults'])&&(_0x5cd7b3['buffers']=[],_0x5cd7b3['types']=[]),_0x502751['defaults']&&(_0x5cd7b3['id']='',_0x5cd7b3['bundleVersion']='',_0x5cd7b3['lastOperationId']=''),null!=_0x10cbf7['id']&&_0x10cbf7['hasOwnProperty']('id')&&(_0x5cd7b3['id']=_0x10cbf7['id']),null!=_0x10cbf7['bundleVersion']&&_0x10cbf7['hasOwnProperty']('bundleVersion')&&(_0x5cd7b3['bundleVersion']=_0x10cbf7['bundleVersion']),_0x10cbf7['buffers']&&_0x10cbf7['buffers']['length']){_0x5cd7b3['buffers']=[];for(var _0x26bc39=0x0;_0x26bc39<_0x10cbf7['buffers']['length'];++_0x26bc39)_0x5cd7b3['buffers'][_0x26bc39]=_0x502751['bytes']===String?_0x2e4f36['base64']['encode'](_0x10cbf7['buffers'][_0x26bc39],0x0,_0x10cbf7['buffers'][_0x26bc39]['length']):_0x502751['bytes']===Array?Array['prototype']['slice']['call'](_0x10cbf7['buffers'][_0x26bc39]):_0x10cbf7['buffers'][_0x26bc39];}if(_0x10cbf7['types']&&_0x10cbf7['types']['length']){for(_0x5cd7b3['types']=[],_0x26bc39=0x0;_0x26bc39<_0x10cbf7['types']['length'];++_0x26bc39)_0x5cd7b3['types'][_0x26bc39]=_0x10cbf7['types'][_0x26bc39];}return null!=_0x10cbf7['lastOperationId']&&_0x10cbf7['hasOwnProperty']('lastOperationId')&&(_0x5cd7b3['lastOperationId']=_0x10cbf7['lastOperationId']),_0x5cd7b3;},_0x2bd6bf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x2bd6bf['getTypeUrl']=function(_0x4316d6){return void 0x0===_0x4316d6&&(_0x4316d6='type.googleapis.com'),_0x4316d6+'/CollaborativeEditingConnectMessage';},_0x2bd6bf;}()),_0x37f903['OperationMetadataDescriptor']=(function(){function _0x3d30d7(_0x2c1968){if(_0x2c1968){for(var _0x50bf06=Object['keys'](_0x2c1968),_0x3227b9=0x0;_0x3227b9<_0x50bf06['length'];++_0x3227b9)null!=_0x2c1968[_0x50bf06[_0x3227b9]]&&(this[_0x50bf06[_0x3227b9]]=_0x2c1968[_0x50bf06[_0x3227b9]]);}}return _0x3d30d7['prototype']['userId']='',_0x3d30d7['prototype']['type']='',_0x3d30d7['prototype']['createdAt']='',_0x3d30d7['create']=function(_0x5a21a1){return new _0x3d30d7(_0x5a21a1);},_0x3d30d7['encode']=function(_0x19cfea,_0x50c1c6){return _0x50c1c6||(_0x50c1c6=_0x186223['create']()),null!=_0x19cfea['userId']&&Object['hasOwnProperty']['call'](_0x19cfea,'userId')&&_0x50c1c6['uint32'](0xa)['string'](_0x19cfea['userId']),null!=_0x19cfea['type']&&Object['hasOwnProperty']['call'](_0x19cfea,'type')&&_0x50c1c6['uint32'](0x12)['string'](_0x19cfea['type']),null!=_0x19cfea['createdAt']&&Object['hasOwnProperty']['call'](_0x19cfea,'createdAt')&&_0x50c1c6['uint32'](0x1a)['string'](_0x19cfea['createdAt']),_0x50c1c6;},_0x3d30d7['encodeDelimited']=function(_0x2628b1,_0x3ef174){return this['encode'](_0x2628b1,_0x3ef174)['ldelim']();},_0x3d30d7['decode']=function(_0x2de87e,_0x573bf1,_0x26c794){_0x2de87e instanceof _0x57f37b||(_0x2de87e=_0x57f37b['create'](_0x2de87e));for(var _0x1ec37c=void 0x0===_0x573bf1?_0x2de87e['len']:_0x2de87e['pos']+_0x573bf1,_0x120685=new _0x37f903['OperationMetadataDescriptor']();_0x2de87e['pos']<_0x1ec37c;){var _0x56be4c=_0x2de87e['uint32']();if(_0x56be4c===_0x26c794)break;switch(_0x56be4c>>>0x3){case 0x1:_0x120685['userId']=_0x2de87e['string']();break;case 0x2:_0x120685['type']=_0x2de87e['string']();break;case 0x3:_0x120685['createdAt']=_0x2de87e['string']();break;default:_0x2de87e['skipType'](0x7&_0x56be4c);}}return _0x120685;},_0x3d30d7['decodeDelimited']=function(_0x1935de){return _0x1935de instanceof _0x57f37b||(_0x1935de=new _0x57f37b(_0x1935de)),this['decode'](_0x1935de,_0x1935de['uint32']());},_0x3d30d7['verify']=function(_0x2e56b4){return'object'!=typeof _0x2e56b4||null===_0x2e56b4?'object\x20expected':null!=_0x2e56b4['userId']&&_0x2e56b4['hasOwnProperty']('userId')&&!_0x2e4f36['isString'](_0x2e56b4['userId'])?'userId:\x20string\x20expected':null!=_0x2e56b4['type']&&_0x2e56b4['hasOwnProperty']('type')&&!_0x2e4f36['isString'](_0x2e56b4['type'])?'type:\x20string\x20expected':null!=_0x2e56b4['createdAt']&&_0x2e56b4['hasOwnProperty']('createdAt')&&!_0x2e4f36['isString'](_0x2e56b4['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x3d30d7['fromObject']=function(_0x586676){if(_0x586676 instanceof _0x37f903['OperationMetadataDescriptor'])return _0x586676;var _0x88da16=new _0x37f903['OperationMetadataDescriptor']();return null!=_0x586676['userId']&&(_0x88da16['userId']=String(_0x586676['userId'])),null!=_0x586676['type']&&(_0x88da16['type']=String(_0x586676['type'])),null!=_0x586676['createdAt']&&(_0x88da16['createdAt']=String(_0x586676['createdAt'])),_0x88da16;},_0x3d30d7['toObject']=function(_0x803844,_0xc62a50){_0xc62a50||(_0xc62a50={});var _0x3d4950={};return _0xc62a50['defaults']&&(_0x3d4950['userId']='',_0x3d4950['type']='',_0x3d4950['createdAt']=''),null!=_0x803844['userId']&&_0x803844['hasOwnProperty']('userId')&&(_0x3d4950['userId']=_0x803844['userId']),null!=_0x803844['type']&&_0x803844['hasOwnProperty']('type')&&(_0x3d4950['type']=_0x803844['type']),null!=_0x803844['createdAt']&&_0x803844['hasOwnProperty']('createdAt')&&(_0x3d4950['createdAt']=_0x803844['createdAt']),_0x3d4950;},_0x3d30d7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x3d30d7['getTypeUrl']=function(_0x25e724){return void 0x0===_0x25e724&&(_0x25e724='type.googleapis.com'),_0x25e724+'/OperationMetadataDescriptor';},_0x3d30d7;}()),_0x37f903;})());class _0x1bed8d{static['decode'](_0x42ae3a,_0x3395f9){const _0x31b316=_getType(_0x3395f9)['decode']('undefined'==typeof window?_0x42ae3a:new Uint8Array(_0x42ae3a));return _0x3395f9['fromJSON']({..._0x31b316});}static['encode'](_0x1b447d){const _0x271f6e=_getType(_0x1b447d['constructor']),_0x4651fe=_0x1b447d['toJSON'](),_0x147f0e=_0x271f6e['verify'](_0x4651fe);if(_0x147f0e)throw Error(_0x147f0e);return _0x271f6e['encode'](_0x271f6e['create'](_0x4651fe))['finish']();}}function _getType(_0x2c6a4e){return _0x4a0d69[_0x2c6a4e['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x3759ba{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x4c3c3b){super(),this['ids']=_0x4c3c3b;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x592f1b){return new GetManyUsersMessage(_0x592f1b['ids']);}}class GetManyUsersResponse extends _0x3759ba{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x4edf01){super(),this['users']=_0x4edf01;}['toJSON'](){return{'users':this['users']['map'](_0x5ec454)};}static['fromJSON'](_0x3d8dd8){return new GetManyUsersResponse(_0x3d8dd8['users']['map'](_0x483ba9));}}function _0x5ec454(_0x81158f){return{'attributes':Object['keys'](_0x81158f)['map'](_0x234d46=>({'key':_0x234d46,'value':JSON['stringify'](_0x81158f[_0x234d46])}))};}function _0x483ba9(_0x18ef88){return _0x18ef88['attributes']['reduce']((_0xacee22,_0x5beef3)=>(_0xacee22[_0x5beef3['key']]=_0x5beef3['value']?JSON['parse'](_0x5beef3['value']):null,_0xacee22),{});}class _0x2f9243{static ['_SERVICE']=0x2;constructor(_0x1b0add={}){this['_attributes']=new Map();for(const _0x4ddcf2 of Object['keys'](_0x1b0add))'id'!==_0x4ddcf2?(this['_attributes']['set'](_0x4ddcf2,_0x1b0add[_0x4ddcf2]),Object['defineProperty'](this,_0x4ddcf2,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x4ddcf2)})):this['id']=_0x1b0add['id'];}static['fromData'](_0x41a911){return new _0x2f9243(_0x41a911);}static async['get'](_0xeab8f1,_0x4dff6e){const _0x4a26bf=new GetUserMessage(_0x4dff6e);try{const _0x1339bd=await _0xeab8f1['_sendRequest'](_0x2f9243['_SERVICE'],GetUserMessage['TYPE'],_0x1bed8d['encode'](_0x4a26bf)),_0x43ace8=_0x1bed8d['decode'](_0x1339bd,GetUserResponse);return new _0x2f9243(_0x43ace8['attributes']);}catch(_0x576f16){return new _0x2f9243({'id':_0x4dff6e});}}static async['getMany'](_0x2bf162,_0x223a20){const _0xea2958=new GetManyUsersMessage(_0x223a20);try{const _0x480b0d=await _0x2bf162['_sendRequest'](_0x2f9243['_SERVICE'],GetManyUsersMessage['TYPE'],_0x1bed8d['encode'](_0xea2958));return _0x1bed8d['decode'](_0x480b0d,GetManyUsersResponse)['users']['map'](_0x5df040=>new _0x2f9243(_0x5df040));}catch(_0x371c51){return _0x223a20['map'](_0x1645f3=>new _0x2f9243({'id':_0x1645f3}));}}}class _0x1bd275 extends _0x3759ba{['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(_0x4fc664,_0x12e37b,_0x56cc54){super(),this['type']=_0x4fc664,this['socketId']=_0x12e37b,this['data']=_0x56cc54;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x181f13){return new _0x1bd275(_0x181f13['type'],_0x181f13['socketId'],_0x181f13['data']);}}class _0x36d97b extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x46461d,_0x28b42b,_0x5464e4){super(),this['_channelName']=_0x46461d,this['_wsGateway']=_0x28b42b,this['_socket']=_0x5464e4,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x4d6bf0,_0x53d33f=!0x1){let _0x4eaf6f='';return _0x53d33f&&(_0x4eaf6f+='all:'),_0x4eaf6f+='event',_0x4d6bf0&&(_0x4eaf6f+=':'+_0x4d6bf0),_0x4eaf6f;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x34a480=>{const _0x388ca4=_0x1bed8d['decode'](_0x34a480,_0x1bd275);this['fire'](this['getEventName'](_0x388ca4['type'],!0x0),_0x388ca4['data'],_0x388ca4['socketId']),_0x388ca4['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x388ca4['type']),_0x388ca4['data'],_0x388ca4['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0xd3ffc3,_0xd42e2b,_0x392340=null,_0x1e1cb0={}){super('cloud-services-internal-error:\x20'+_0xd3ffc3),this['context']=_0xd42e2b,this['code']=_0x392340,this['data']=_0x1e1cb0,this['name']='CKEditorError';}static['fromPublicError'](_0x7f623e){return new CKEditorCloudServicesError(function(_0xa165a9){let _0x485fe8='cloud-services-error:\x20'+_0xa165a9['message'];return _0xa165a9['data']&&(_0x485fe8+='\x0aError\x20data:\x20'+JSON['stringify'](_0xa165a9['data'])),_0xa165a9['explanation']&&(_0x485fe8+='\x0aExplanation:\x20'+_0xa165a9['explanation']),_0xa165a9['action']&&(_0x485fe8+='\x0aAction:\x20'+_0xa165a9['action']),_0xa165a9['traceId']&&(_0x485fe8+='\x0aTraceId:\x20'+_0xa165a9['traceId']),_0xa165a9['code']&&(_0x485fe8+='\x0aCode:\x20'+_0xa165a9['code']),_0x485fe8;}(_0x7f623e),_0x7f623e);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x1ee4ad,_0x5e0db6){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x1ee4ad,this['code']=_0x5e0db6['code'],this['traceId']=_0x5e0db6['traceId'],this['data']=_0x5e0db6['data'];}static['fromPublicError'](_0x26e457){return new CKEditorCloudServicesServerError(function(_0x461798){let _0x2a91e9='cloud-services-server-error:\x20'+_0x461798['message'];return _0x461798['explanation']&&(_0x2a91e9+='\x0aExplanation:\x20'+_0x461798['explanation']),_0x461798['action']&&(_0x2a91e9+='\x0aAction:\x20'+_0x461798['action']),_0x461798['traceId']&&(_0x2a91e9+='\x0aTraceId:\x20'+_0x461798['traceId']),_0x461798['code']&&(_0x2a91e9+='\x0aCode:\x20'+_0x461798['code']),_0x2a91e9;}(_0x26e457),_0x26e457);}}class PacketOptionsMessage extends _0x3759ba{['flags'];['rooms'];['except'];static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x468830,_0x4a6c1c=[],_0x12e322=[]){super(),this['flags']=_0x468830,this['rooms']=_0x4a6c1c,this['except']=_0x12e322;}['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'](_0x152705){return new PacketOptionsMessage(_0x152705['flags']&&JSON['parse'](_0x152705['flags']),_0x152705['rooms'],_0x152705['except']);}}const _0x2a09a7=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))()),MessageDataTypes_BUFFER=0x1,MessageDataTypes_STRING=0x2,MessageDataTypes_NUMBER=0x3,MessageDataTypes_OBJECT=0x4;class ParserUtils{static['getPacketType'](..._0x323119){let _0xb802df=0x0;for(let _0x273764=0x0;_0x273764<_0x323119['length'];_0x273764++)_0xb802df+=_0x323119[_0x273764]*Math['pow'](0xa,_0x323119['length']-_0x273764-0x1);return _0xb802df;}static['getType'](_0x4d95c0){if(ParserUtils['isBuffer'](_0x4d95c0))return MessageDataTypes_BUFFER;const _0x5ee3e9=typeof _0x4d95c0;return'string'===_0x5ee3e9?MessageDataTypes_STRING:'number'===_0x5ee3e9?MessageDataTypes_NUMBER:MessageDataTypes_OBJECT;}static['isBuffer'](_0x4b6823){return _0x2a09a7&&Buffer['isBuffer'](_0x4b6823)||_0x4b6823 instanceof ArrayBuffer||_0x4b6823 instanceof Uint8Array||this['_isBufferView'](_0x4b6823);}static['_isBufferView'](_0x106d6c){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x106d6c):_0x106d6c['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x3759ba{['data'];['data1'];static['create'](_0x2675a8,_0x50a703){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x441265,_0x1936e2){super(),this['data']=_0x441265,this['data1']=_0x1936e2;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1197af){return new NumberBytesPacketDataMessage(_0x1197af['data'],_0x1197af['data1']);}static['create'](_0x2c1a3f,_0x4cbef0){return new NumberBytesPacketDataMessage(_0x2c1a3f,_0x4cbef0);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x48650a,_0x2eef41){super(),this['data']=_0x48650a,this['data1']=_0x2eef41;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x196e19){return new StringBytesPacketDataMessage(_0x196e19['data'],_0x196e19['data1']);}static['create'](_0xc17322,_0xa40e97){return new StringBytesPacketDataMessage(_0xc17322,_0xa40e97);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_BUFFER,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x537b18,_0x242c5c){super(),this['data']=_0x537b18,this['data1']=_0x242c5c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x242f64){return new BytesBytesPacketDataMessage(_0x242f64['data'],_0x242f64['data1']);}static['create'](_0x3a2a97,_0x32e5dc){return new BytesBytesPacketDataMessage(_0x3a2a97,_0x32e5dc);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x2d3fb8,_0x500866){super(),this['data']=_0x2d3fb8,this['data1']=_0x500866;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x550c0f){return new StringObjectPacketDataMessage(_0x550c0f['data'],_0x550c0f['data1']&&JSON['parse'](_0x550c0f['data1']));}static['create'](_0x5ac7bc,_0x5cf4a9){return new StringObjectPacketDataMessage(_0x5ac7bc,_0x5cf4a9);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x28b9b7,_0x3ad709){super(),this['data']=_0x28b9b7,this['data1']=_0x3ad709;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x4c446d){return new NumberObjectPacketDataMessage(_0x4c446d['data'],_0x4c446d['data1']&&JSON['parse'](_0x4c446d['data1']));}static['create'](_0x1ccb36,_0x4aebb6){return new NumberObjectPacketDataMessage(_0x1ccb36,_0x4aebb6);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_OBJECT))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x554167,_0x2a009e){super(),this['data']=_0x554167,this['data1']=_0x2a009e;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x4535e2){return new ObjectObjectPacketDataMessage(_0x4535e2['data']&&JSON['parse'](_0x4535e2['data']),_0x4535e2['data1']&&JSON['parse'](_0x4535e2['data1']));}static['create'](_0x48755a,_0x37a3b2){return new ObjectObjectPacketDataMessage(_0x48755a,_0x37a3b2);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_OBJECT,MessageDataTypes_BUFFER))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x1cbe14,_0x5cd568){super(),this['data']=_0x1cbe14,this['data1']=_0x5cd568;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x20eea9){return new ObjectBufferPacketDataMessage(_0x20eea9['data']&&JSON['parse'](_0x20eea9['data']),_0x20eea9['data1']);}static['create'](_0x5874f2,_0x2ae69e){return new ObjectBufferPacketDataMessage(_0x5874f2,_0x2ae69e);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x1f95fa,_0x429c95){super(),this['data']=_0x1f95fa,this['data1']=_0x429c95;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x563940){return new StringStringPacketDataMessage(_0x563940['data'],_0x563940['data1']);}static['create'](_0xd89177,_0x276a0a){return new StringStringPacketDataMessage(_0xd89177,_0x276a0a);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_STRING,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x29bd88,_0x29099f){super(),this['data']=_0x29bd88,this['data1']=_0x29099f;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1dde34){return new StringNumberPacketDataMessage(_0x1dde34['data'],_0x1dde34['data1']);}static['create'](_0x4c064d,_0x390074){return new StringNumberPacketDataMessage(_0x4c064d,_0x390074);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_NUMBER))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x48d031,_0x5114ac){super(),this['data']=_0x48d031,this['data1']=_0x5114ac;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x30ce15){return new NumberNumberPacketDataMessage(_0x30ce15['data'],_0x30ce15['data1']);}static['create'](_0x584dc0,_0x2b34df){return new NumberNumberPacketDataMessage(_0x584dc0,_0x2b34df);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](MessageDataTypes_NUMBER,MessageDataTypes_STRING))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x4baf75,_0x3e9412){super(),this['data']=_0x4baf75,this['data1']=_0x3e9412;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x2263af){return new NumberStringPacketDataMessage(_0x2263af['data'],_0x2263af['data1']);}static['create'](_0x2d3854,_0x1ac9f6){return new NumberStringPacketDataMessage(_0x2d3854,_0x1ac9f6);}}const _0x3ec65a=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x3226fb,_0xe20a10)=>(_0x3226fb[_0xe20a10['TYPE']]=_0xe20a10,_0x3226fb),{}))());class PacketMessage extends _0x3759ba{['type'];['data'];['id'];['nsp'];['options'];static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'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(_0x501443,_0x2de482,_0x39163c,_0x43fcb0='/',_0x1d1c8a){super(),this['type']=_0x501443,this['data']=_0x2de482,this['id']=_0x39163c,this['nsp']=_0x43fcb0,this['options']=_0x1d1c8a??new PacketOptionsMessage();}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 _0x4f13ad=_0x1bed8d['encode'](this['options']),_0x47d256=_0x1bed8d['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x47d256,'options':_0x4f13ad};}static['fromJSON'](_0x12fc84){const _0x493120=Math['floor'](_0x12fc84['type']/0xa);return new PacketMessage(_0x12fc84['type']-0xa*_0x493120,_0x1bed8d['decode'](_0x12fc84['data'],_0x3ec65a[_0x493120]),_0x12fc84['id'],_0x12fc84['nsp'],_0x12fc84['options']?_0x1bed8d['decode'](_0x12fc84['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x2048dd,_0x33f8a6={}){const _0x378895=ParserUtils['getPacketType'](ParserUtils['getType'](_0x2048dd['data'][0x0]),ParserUtils['getType'](_0x2048dd['data'][0x1]??_0x2048dd['data'][0x0]));return new PacketMessage(_0x2048dd['type'],_0x3ec65a[_0x378895]['create'](_0x2048dd['data'][0x0],_0x2048dd['data'][0x1]),_0x2048dd['id'],_0x2048dd['nsp'],new PacketOptionsMessage(_0x33f8a6['flags'],_0x33f8a6['rooms'],_0x33f8a6['except']));}}class PacketParser{['encode'](_0x17dbf6,_0x1eda70,_0x33d40c,_0x537b84='/',_0x4aa21e={}){if(_0x1eda70['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x5f58d2={'type':_0x17dbf6,'data':_0x1eda70,'id':_0x33d40c,'nsp':_0x537b84};return _0x1bed8d['encode'](PacketMessage['create'](_0x5f58d2,_0x4aa21e));}['decode'](_0x255c13){const _0x423059=_0x1bed8d['decode'](_0x255c13,PacketMessage);return{'packet':{'id':_0x423059['id'],'type':_0x423059['type'],'data':_0x423059['packetData'],'nsp':_0x423059['nsp']},'options':{'flags':_0x423059['options']['flags'],'rooms':_0x423059['options']['rooms'],'except':_0x423059['options']['except']}};}}const _0xf79347=/* #__PURE__ -- @preserve */
((()=>[PacketType['EVENT'],PacketType['ACK'],PacketType['BINARY_ACK'],PacketType['BINARY_EVENT']])());class _0x167a13 extends _0x393bc5{['_packetParser'];constructor(_0x3cb7b7){super(),this['_packetParser']=_0x3cb7b7??new PacketParser();}['encode'](_0x23fbbb){if(_0xf79347['includes'](_0x23fbbb['type']))try{return[this['_packetParser']['encode'](_0x23fbbb['type'],_0x23fbbb['data'],_0x23fbbb['id'],_0x23fbbb['nsp'])];}catch(_0x497b6a){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x497b6a['message']}});}return super['encode'](_0x23fbbb);}}class _0x2d5ec1 extends _0x1ab98d{['_packetParser'];constructor(_0x74517a){super(),this['_packetParser']=_0x74517a??new PacketParser();}['add'](_0x5b0995){if(!ParserUtils['isBuffer'](_0x5b0995))return super['add'](_0x5b0995);let _0x366cec;try{_0x366cec=this['_packetParser']['decode'](_0x5b0995)['packet'];}catch(_0x3b163e){return super['add'](_0x5b0995);}super['emitReserved']('decoded',_0x366cec);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x25a261();['timeout'];constructor(_0x5a2965,_0x3ba3fb){this['_context']=_0x5a2965,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x3ba3fb);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x23cee3){this['_deferredPromise']['resolve'](_0x23cee3);}['error'](_0x22e458){this['_deferredPromise']['reject'](_0x22e458);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x50b8b8){this['_context']=_0x50b8b8;}async['send'](_0x49aea3,_0xcc03c2=0xafc8){const _0x4952a6=this['_createRequest'](_0xcc03c2);try{return _0x49aea3(_0x4952a6),await _0x4952a6['promise'];}finally{this['_finishRequest'](_0x4952a6);}}['errorAll'](_0x5db41d){for(const _0x35020d of this['_requests'])_0x35020d['error'](_0x5db41d);}['waitForAllRequests'](_0x39d1fc=0xafc8){return this['_waitForRequests'](_0x39d1fc);}['_createRequest'](_0x4dee4a){const _0x436343=new WebSocketRequest(this['_context'],_0x4dee4a);return this['_requests']['add'](_0x436343),_0x436343;}['_finishRequest'](_0x3cb416){this['_requests']['delete'](_0x3cb416),clearTimeout(_0x3cb416['timeout']);}async['_waitForRequests'](_0x181ec2=0x1388,_0x317ef5=0x0){return!this['_requests']['size']||_0x317ef5>=_0x181ec2/0x1f4?Promise['resolve']():(await new Promise(_0x13ac2f=>{setTimeout(_0x13ac2f,0x1f4);}),this['_waitForRequests'](_0x181ec2,_0x317ef5++));}}function _0x25a261(){let _0x2482bf,_0x1a8c65;const _0x55bf8e=new Promise((_0x572eb8,_0x1f3d5c)=>{_0x2482bf=_0x572eb8,_0x1a8c65=_0x1f3d5c;});return{'resolve':_0x2482bf,'reject':_0x1a8c65,'promise':_0x55bf8e};}const _0x5b00e3={'DISCONNECTED':'disconnected','CONNECTING':'connecting','CONNECTED':'connected'};let WebSocketGateway$1=class _0x43c1ff extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x5b00e3['DISCONNECTED'])());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x5b00e3['CONNECTING'])());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x5b00e3['CONNECTED'])());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>ckeditor5['priorities']['get']('highest')+0xf423f)());constructor(_0x3a2d80,_0x2242dd,_0x437d67,_0xea3733,_0xa64713){if(super(),this['_token']=_0x2242dd,this['_options']=_0x437d67??{},this['_connectionProvider']=_0xea3733??_0x2dfce8,this['_userFactory']=_0xa64713??_0x2f9243['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x3a2d80)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']||(this['_options']['requestTimeout']=0x4e20),this['_url']=urlParseExports(_0x3a2d80['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x5b00e3['DISCONNECTED']),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x4a499a,_0x38d108,_0x1077a5)=>{if(this['_debugEvent']('ws-gw:change:state',_0x1077a5),_0x1077a5!==_0x43c1ff['STATE_CONNECTED']){if(_0x1077a5===_0x43c1ff['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x2f9243,this,this['_socketAuth']?.['userId']);}catch(_0x10df3a){}},{'priority':_0x43c1ff['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x1a0c82,_0x3e2565)=>{this['_options']['onError']?this['_options']['onError'](_0x3e2565):console['error'](_0x3e2565);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x1c068e){return this['_requestsManager']['waitForAllRequests'](_0x1c068e);}['disconnect'](){this['state']!==_0x5b00e3['DISCONNECTED']&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x5b00e3['DISCONNECTED']);}async['reconnect'](){this['_socket']||this['state']!==_0x5b00e3['DISCONNECTED']||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0xbe9027,_0x1616fd='local.cs.dev:443/ws-v2',_0x52173b={},_0x53641d=_0x2dfce8,_0x8023fa=_0x2f9243['get']){const _0x1bc5a9=new _0x43c1ff(_0x1616fd,_0xbe9027,_0x52173b,_0x53641d,_0x8023fa);return await _0x1bc5a9['_connect'](),_0x1bc5a9;}['_sendRequest'](_0x3172c7,_0x2e18bc,_0x3cdda7){if(!_0x3172c7)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==_0x43c1ff['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']||!this['_socketAuth']['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x383e9e=new ArrayBuffer(_0x3cdda7['length']+0x2),_0x406eaf=new Uint8Array(_0x383e9e);return _0x406eaf[0x0]=_0x3172c7,_0x406eaf[0x1]=parseInt(_0x2e18bc),_0x406eaf['set'](_0x3cdda7,0x2),this['_emit'](0x1,_0x406eaf);}['_getChannel'](_0x3ed6ac,_0x2b7806){const _0x5557f7=''+_0x3ed6ac+_0x2b7806;return!this['_channels']['has'](_0x5557f7)&&this['_socket']&&this['_channels']['set'](_0x5557f7,new _0x36d97b(_0x5557f7,this,this['_socket'])),this['_channels']['get'](_0x5557f7);}['_connect'](){return new Promise((_0x4ae58c,_0x3dbcf7)=>{const _0x1a2f4d=this['_setupSocket']();!this['socketId']&&_0x1a2f4d['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x3dbcf7);}),_0x1a2f4d['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x4ae58c();}catch(_0x2a01c5){_0x3dbcf7(_0x2a01c5);}}),_0x1a2f4d['connect']();});}['_getPortByProtocol'](_0x250b25){return['http:','ws:']['includes'](_0x250b25)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x57ba74=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x59e0b2=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x57ba74,_0x1474a6=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x4470cd=this['_connectionProvider'](_0x59e0b2,{'parser':{'Encoder':_0x167a13,'Decoder':_0x2d5ec1},'path':_0x1474a6+'/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':'53.0.3'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x5b00e3['CONNECTING'],_0x4470cd['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x4470cd['id'];}),_0x4470cd['on']('connect_error',_0xb883e8=>{this['_debugEvent']('connect_error',_0xb883e8);}),_0x4470cd['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x4470cd['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x4470cd['io']['on']('reconnect_attempt',_0x14382a=>{this['_debugEvent']('reconnect_attempt',_0x14382a),this['state']=_0x5b00e3['CONNECTING'],this['_connectionAttempt']=_0x14382a;}),_0x4470cd['on']('unauthorized',_0x13f572=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x13f572);}),_0x4470cd['on']('authenticationRequest',async _0x42b0f9=>{this['_debugEvent']('authenticationRequest',_0x42b0f9['attempt']),await this['_onReconnect']();}),this['_socket']=_0x4470cd,_0x4470cd;}['_emit'](_0x57bcf1,_0x2cf13c){const _0x352374=this['_socket'];return this['_requestsManager']['send'](_0x3298d8=>{_0x352374['emit'](_0x57bcf1,_0x2cf13c,(_0x22f89a,_0x8ac2df)=>{if(_0x22f89a)return _0x3298d8['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x22f89a));_0x3298d8['response'](_0x8ac2df);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x240e31,_0x427401){this['_socketAuth']={'environmentId':_0x240e31,'userId':_0x427401,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x5b00e3['CONNECTED'];const _0x4fc47f=async(_0x64bea9,_0x315d9a,_0x4dab4c)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x4dab4c);}catch(_0x3799e6){}};this['_token']['on']('change:value',_0x4fc47f),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x4fc47f);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x5b00e3['DISCONNECTED'],this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x2a779d of this['_channels']['values']())_0x2a779d['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x5d3ffe,_0x37cd1c){if(!this['_isDebugModeEnabled']())return;const _0x177fc6=void 0x0!==_0x37cd1c?',\x20data:\x20'+_0x37cd1c:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x5d3ffe+_0x177fc6);}['_reconnectionAttemptError'](_0x5eccba){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x5eccba(CKEditorCloudServicesError['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:_0x56c24e}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x56c24e));}async['_authenticate'](_0x27a35e){try{this['_debugEvent']('authenticate:start');const _0x39ff0e=await this['_emit'](0x2,{'token':_0x27a35e});this['_debugEvent']('authenticate:success','envId:\x20'+_0x39ff0e['environmentId']+',\x20userId:\x20'+_0x39ff0e['userId']),this['_addAuthData'](_0x39ff0e['environmentId'],_0x39ff0e['userId']);}catch(_0x33d45d){throw this['_debugEvent']('authenticate:error',_0x33d45d['message']),this['_removeAuthData'](),_0x33d45d;}}['_isDebugModeEnabled'](){return!!ckeditor5['global']['window']['localStorage']&&'true'===(ckeditor5['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x3759ba{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x309ee9){super(),this['bundleVersion']=_0x309ee9;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x23a978){return new IsEditorBundleUploadedMessage(_0x23a978['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x3759ba{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x2725ed){super(),this['isUploaded']=_0x2725ed;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x37e2a0){return new IsEditorBundleUploadedResponse(_0x37e2a0['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x433cc4,_0x303ccb){const _0x1708e5=new IsEditorBundleUploadedMessage(_0x303ccb);if(_0x433cc4['state']!==_0x5b00e3['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x433cc4);const _0x1f05fd=await _0x433cc4['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x1bed8d['encode'](_0x1708e5));return _0x1bed8d['decode'](_0x1f05fd,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x3759ba{['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(_0x562f17,_0x4479b6){super(),this['documentId']=_0x562f17,this['revisionId']=_0x4479b6;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x76500){return new RevisionHistoryGetRevisionMessage(_0x76500['documentId'],_0x76500['revisionId']);}}class RevisionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'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'](_0x32b0d4){return{'revisionId':_0x32b0d4['id'],'name':_0x32b0d4['name'],'creatorId':_0x32b0d4['creatorId'],'createdAt':_0x32b0d4['createdAt'],'fromVersion':_0x32b0d4['fromVersion'],'toVersion':_0x32b0d4['toVersion'],'isEmptyCurrent':_0x32b0d4['isEmptyCurrent'],'diffData':_0x32b0d4['diffData']?JSON['stringify'](_0x32b0d4['diffData']):void 0x0,'attributes':_0x32b0d4['attributes'],'authorsIds':_0x32b0d4['authorsIds']};}static['toJSON'](_0x5558c5){return{'revisionId':_0x5558c5['revisionId'],'name':_0x5558c5['name'],'creatorId':_0x5558c5['creatorId'],'authorsIds':_0x5558c5['authorsIds']?JSON['stringify'](_0x5558c5['authorsIds']):void 0x0,'diffData':_0x5558c5['diffData'],'createdAt':_0x5558c5['createdAt']?.['toISOString'](),'attributes':_0x5558c5['attributes']?JSON['stringify'](_0x5558c5['attributes']):void 0x0,'toVersion':_0x5558c5['toVersion'],'fromVersion':_0x5558c5['fromVersion'],'isEmptyCurrent':_0x5558c5['isEmptyCurrent']};}static['fromJSON'](_0x17bea9){return{'revisionId':(_0x17bea9={..._0x17bea9})['revisionId'],'name':_0x17bea9['name'],'creatorId':_0x17bea9['creatorId'],'authorsIds':_0x17bea9['authorsIds']?JSON['parse'](_0x17bea9['authorsIds']):void 0x0,'diffData':_0x17bea9['diffData'],'createdAt':_0x17bea9['createdAt']?new Date(_0x17bea9['createdAt']):void 0x0,'attributes':_0x17bea9['attributes']?JSON['parse'](_0x17bea9['attributes']):void 0x0,'toVersion':_0x17bea9['toVersion'],'fromVersion':_0x17bea9['fromVersion'],'isEmptyCurrent':_0x17bea9['isEmptyCurrent']};}static['toObject'](_0x447646){return function(_0x4f8cb9){for(const [_0x5e8318,_0x190f37]of Object['entries'](_0x4f8cb9))void 0x0===_0x190f37&&delete _0x4f8cb9[_0x5e8318];return _0x4f8cb9;}({'id':_0x447646['revisionId'],'name':_0x447646['name'],'creatorId':_0x447646['creatorId'],'createdAt':_0x447646['createdAt'],'fromVersion':_0x447646['fromVersion'],'toVersion':_0x447646['toVersion'],'isEmptyCurrent':_0x447646['isEmptyCurrent'],'diffData':_0x447646['diffData']?JSON['parse'](_0x447646['diffData']):void 0x0,'attributes':_0x447646['attributes'],'authorsIds':_0x447646['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x3759ba{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x5a77aa,_0x54de9b,_0x24d30e,_0x2323d6,_0x4b430a,_0x3359cd,_0xbff31,_0x37b1e2,_0x392b98,_0x6e2fa){super(),this['revisionId']=_0x5a77aa,this['name']=_0x54de9b,this['creatorId']=_0x24d30e,this['authorsIds']=_0x2323d6,this['createdAt']=_0x4b430a,this['diffData']=_0x3359cd,this['attributes']=_0xbff31,this['fromVersion']=_0x37b1e2,this['toVersion']=_0x392b98,this['isEmptyCurrent']=_0x6e2fa;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0xf45ba){return new RevisionHistoryGetRevisionResponse(_0xf45ba['revisionId'],_0xf45ba['name'],_0xf45ba['creatorId'],_0xf45ba['authorsIds'],_0xf45ba['createdAt'],_0xf45ba['diffData'],_0xf45ba['attributes'],_0xf45ba['fromVersion'],_0xf45ba['toVersion'],_0xf45ba['isEmptyCurrent']);}static['fromJSON'](_0x1bab55){return new RevisionHistoryGetRevisionResponse(_0x1bab55['revisionId'],_0x1bab55['name'],_0x1bab55['creatorId'],_0x1bab55['authorsIds']?JSON['parse'](_0x1bab55['authorsIds']):void 0x0,_0x1bab55['createdAt']?new Date(_0x1bab55['createdAt']):void 0x0,_0x1bab55['diffData'],_0x1bab55['attributes']?JSON['parse'](_0x1bab55['attributes']):void 0x0,_0x1bab55['fromVersion'],_0x1bab55['toVersion'],_0x1bab55['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x3759ba{['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(_0x59c449,_0x9bb91a,_0x161fed){super(),this['documentId']=_0x59c449,this['requestId']=_0x9bb91a,this['revisions']=_0x161fed;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['create'](_0x393ead){return new RevisionHistoryUpdateRevisionsMessage(_0x393ead['documentId'],_0x393ead['requestId'],_0x393ead['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x11cccc){return new RevisionHistoryUpdateRevisionsMessage(_0x11cccc['documentId'],_0x11cccc['requestId'],_0x11cccc['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x3759ba{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x329d0f){super(),this['requestId']=_0x329d0f;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x13ce6e){return new RevisionHistoryUpdateRevisionsResponse(_0x13ce6e['requestId']);}}class RevisionHistoryConnectMessage extends _0x3759ba{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x5ec69f){super(),this['documentId']=_0x5ec69f;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1315e3){return new RevisionHistoryConnectMessage(_0x1315e3['documentId']);}}class RevisionHistoryConnectResponse extends _0x3759ba{['channel'];['requestId'];['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x358c43,_0xd3c32e,_0x2a4239){super(),this['channel']=_0x358c43,this['requestId']=_0xd3c32e,this['revisions']=_0x2a4239;}['toJSON'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['fromJSON'](_0x393db0){return new RevisionHistoryConnectResponse(_0x393db0['channel'],_0x393db0['requestId'],_0x393db0['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x3759ba{['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(_0x4b0880,_0xf7939){super(),this['documentId']=_0x4b0880,this['requestId']=_0xf7939;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x57a1de){return new RevisionHistoryReconnectMessage(_0x57a1de['documentId'],_0x57a1de['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x2fcc12,_0x7fbea7){super(_0x2fcc12+'\x20Service\x20is\x20not\x20connected.',_0x7fbea7);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x2a46d1){super(),this['_documentId']=_0x2a46d1;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x2f6e62){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x2f6e62,new RevisionHistoryConnectMessage(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'](_0xdbdb52,_0xa9bbb4){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0xdbdb52);return this['_connect'](_0xdbdb52,new RevisionHistoryReconnectMessage(this['_documentId'],_0xa9bbb4));}async['updateRevisions'](_0x5d7875,_0x4d5c5b){const _0x10aff0=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x4d5c5b,'revisions':_0x5d7875}),_0x5b186a=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x10aff0),{requestId:_0x2cc2d3}=_0x1bed8d['decode'](_0x5b186a,RevisionHistoryUpdateRevisionsResponse);return _0x2cc2d3;}async['getRevision'](_0x503eb2){const _0x4601ea=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x503eb2),_0x504f6b=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x4601ea);return _0x1bed8d['decode'](_0x504f6b,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x3d472b,_0x337638){if(_0x3d472b['state']!==_0x5b00e3['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x3d472b);this['_wsGateway']=_0x3d472b,this['stopListening'](_0x3d472b,'change:state');const _0x30b40f=await _0x3d472b['_sendRequest'](0xc,_0x337638['constructor']['TYPE'],_0x1bed8d['encode'](_0x337638)),{channel:_0x1b7c90,requestId:_0x9eed9a,revisions:_0xd03e53}=_0x1bed8d['decode'](_0x30b40f,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x3d472b,'change:state',(_0x68ea7f,_0x1f6b11,_0x3d7c23)=>this['_onWsGatewayStateChange'](_0x3d7c23),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x3d472b,_0x1b7c90),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0xd03e53,'requestId':_0x9eed9a};}['_connectToChannel'](_0x19a42a,_0x9130db){this['_channel']=_0x19a42a['_getChannel'](RevisionHistoryService['_SERVICE'],_0x9130db),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x4219ed,_0x31194a)=>{const {documentId:_0x2887dc,requestId:_0x3351c0,revisions:_0x52a850}=_0x1bed8d['decode'](_0x31194a,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x2887dc,'requestId':_0x3351c0,'revisionsData':_0x52a850});});}['_onWsGatewayStateChange'](_0x18b03b){_0x18b03b===_0x5b00e3['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x55b867,_0x5e289d){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x55b867,_0x1bed8d['encode'](_0x5e289d));}}class AddSuggestionMessage extends _0x3759ba{['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(_0x15758f,_0x2f6d01,_0x66e2e4,_0x49d1e8={},_0xa794a9=null,_0x153b1e=null){super(),this['id']=_0x15758f,this['documentId']=_0x2f6d01,this['type']=_0x66e2e4,this['data']=_0x49d1e8,this['originalSuggestionId']=_0xa794a9,this['attributes']=_0x153b1e;}['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'](_0x3aba85){return new AddSuggestionMessage(_0x3aba85['id'],_0x3aba85['documentId'],_0x3aba85['type'],JSON['parse'](_0x3aba85['data']),_0x3aba85['originalSuggestionId']??null,_0x3aba85['attributes']?JSON['parse'](_0x3aba85['attributes']):null);}}class AddSuggestionResponse extends _0x3759ba{['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(_0x385cc7,_0x2e2de3,_0x6b90a,_0x592dfe,_0x265ef4,_0x333bff,_0x30b4f0={},_0x3c7aa0=null){super(),this['id']=_0x385cc7,this['authorId']=_0x2e2de3,this['type']=_0x6b90a,this['hasComments']=_0x265ef4,this['state']=_0x333bff,this['data']=_0x30b4f0,this['attributes']=_0x3c7aa0,this['createdAt']=_0x592dfe?new Date(_0x592dfe):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'](_0x109ed6){return new AddSuggestionResponse(_0x109ed6['id'],_0x109ed6['authorId'],_0x109ed6['type'],_0x109ed6['createdAt'],_0x109ed6['hasComments'],_0x109ed6['state'],JSON['parse'](_0x109ed6['data']),_0x109ed6['attributes']?JSON['parse'](_0x109ed6['attributes']):null);}}class GetSuggestionMessage extends _0x3759ba{['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(_0x1867d6,_0x33e58b){super(),this['id']=_0x1867d6,this['documentId']=_0x33e58b;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x35fc78){return new GetSuggestionMessage(_0x35fc78['id'],_0x35fc78['documentId']);}}class GetSuggestionResponse extends _0x3759ba{['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(_0x5b7b4c,_0x120e78,_0x1e72de,_0x10f6c9,_0x2994c2,_0x248b20,_0x1d4a63={},_0x5e76ce=null){super(),this['id']=_0x5b7b4c,this['authorId']=_0x120e78,this['type']=_0x1e72de,this['hasComments']=_0x2994c2,this['state']=_0x248b20,this['data']=_0x1d4a63,this['attributes']=_0x5e76ce,this['createdAt']=new Date(_0x10f6c9);}['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'](_0x3c198b){return new GetSuggestionResponse(_0x3c198b['id'],_0x3c198b['authorId'],_0x3c198b['type'],_0x3c198b['createdAt'],_0x3c198b['hasComments'],_0x3c198b['state'],JSON['parse'](_0x3c198b['data']),_0x3c198b['attributes']?JSON['parse'](_0x3c198b['attributes']):null);}}class GetAllSuggestionsMessage extends _0x3759ba{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x30882b){super(),this['documentId']=_0x30882b;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x219eb2){return new GetAllSuggestionsMessage(_0x219eb2['documentId']);}}class SuggestionDescriptor extends Descriptor{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'](_0x1ec323){return{..._0x1ec323,'data':_0x1ec323['data']?JSON['stringify'](_0x1ec323['data']):_0x1ec323['data'],'attributes':_0x1ec323['attributes']?JSON['stringify'](_0x1ec323['attributes']):_0x1ec323['attributes'],'createdAt':_0x1ec323['createdAt']?.['toISOString']()};}static['fromJSON'](_0x5d7df7){return{..._0x5d7df7,'data':_0x5d7df7['data']?JSON['parse'](_0x5d7df7['data']):_0x5d7df7['data'],'attributes':_0x5d7df7['attributes']?JSON['parse'](_0x5d7df7['attributes']):_0x5d7df7['attributes'],'createdAt':_0x5d7df7['createdAt']?new Date(_0x5d7df7['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x3759ba{['_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(_0x1a21e9,_0x29fb0b){super(),this['_suggestions']=_0x1a21e9,this['_suggestionsV2']=_0x29fb0b,this['suggestions']=_0x29fb0b?.['length']?_0x29fb0b:_0x1a21e9;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x51c898=>JSON['stringify'](_0x51c898)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x580562){return new GetAllSuggestionResponse(_0x580562['suggestions']?.['map'](_suggestionFromString),_0x580562['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _suggestionFromString(_0x25d0de){const _0x3aeb08=JSON['parse'](_0x25d0de);return _0x3aeb08['createdAt']=_0x3aeb08['createdAt']?new Date(_0x3aeb08['createdAt']):void 0x0,_0x3aeb08;}class UpdateSuggestionMessage extends _0x3759ba{['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(_0x36cd6f,_0x164b94,_0x24bc75,_0x538ff5,_0x180713,_0x3d5bdd=null){super(),this['id']=_0x36cd6f,this['documentId']=_0x164b94,this['hasComments']=_0x24bc75,this['isHasCommentsModified']=_0x538ff5,this['state']=_0x180713,this['attributes']=_0x3d5bdd;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x441dba){return new UpdateSuggestionMessage(_0x441dba['id'],_0x441dba['documentId'],_0x441dba['hasComments'],_0x441dba['isHasCommentsModified'],_0x441dba['state'],_0x441dba['attributes']?JSON['parse'](_0x441dba['attributes']):null);}}let ConnectMessage$1=class _0x36b337 extends _0x3759ba{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x57d8c8){super(),this['documentId']=_0x57d8c8;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1cb21f){return new _0x36b337(_0x1cb21f['documentId']);}},ConnectResponse$1=class _0x598176 extends _0x3759ba{['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(_0x475e05,_0x375d3a,_0x3f2d6d){super(),this['channel']=_0x475e05,this['_suggestions']=_0x375d3a,this['_suggestionsV2']=_0x3f2d6d,this['suggestions']=_0x3f2d6d?.['length']?_0x3f2d6d:_0x375d3a;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x4a51a9=>JSON['stringify'](_0x4a51a9)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x37c21e){return new _0x598176(_0x37c21e['channel'],_0x37c21e['suggestions']?.['map'](_0x11bc79=>JSON['parse'](_0x11bc79)),_0x37c21e['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x3759ba{['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(_0x18a09,_0x306df5,_0x3c1f9f){super(),this['ids']=_0x18a09,this['documentId']=_0x306df5,this['state']=_0x3c1f9f;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x4571cd){return new BatchUpdateSuggestionsStateMessage(_0x4571cd['ids'],_0x4571cd['documentId'],_0x4571cd['state']);}}class _0x4c70b9 extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x5680dc){super(),this['_documentId']=_0x5680dc;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x2eb7ab){if(this['_isConnected'])return;if(_0x2eb7ab['state']!==_0x5b00e3['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2eb7ab);const _0x4b8509=new ConnectMessage$1(this['_documentId']);this['_wsGateway']=_0x2eb7ab,this['stopListening'](_0x2eb7ab,'change:state');const _0x1bb4fb=await _0x2eb7ab['_sendRequest'](0xa,ConnectMessage$1['TYPE'],_0x1bed8d['encode'](_0x4b8509)),_0x3c0850=_0x1bed8d['decode'](_0x1bb4fb,ConnectResponse$1);return this['listenTo'](_0x2eb7ab,'change:state',(_0x4b3934,_0x8bc22f,_0x4265ad)=>this['_onWsGatewayStateChange'](_0x4265ad),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2eb7ab,_0x3c0850['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x3c0850['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'](_0x302d8f,_0x1f9ea9,_0x453e6b,_0x4cb8d0=null,_0x472e77){const _0x587188=new AddSuggestionMessage(_0x302d8f,this['_documentId'],_0x1f9ea9,_0x453e6b,_0x4cb8d0,_0x472e77),_0x478601=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x587188);return _0x1bed8d['decode'](_0x478601,AddSuggestionResponse);}async['get'](_0x42d186,_0x5274f1=0x1){const _0x5ba194=new GetSuggestionMessage(_0x42d186,this['_documentId']);try{const _0x3a7bf8=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x5ba194);return _0x1bed8d['decode'](_0x3a7bf8,GetSuggestionResponse);}catch(_0x333d6d){if('CKEditorCloudServicesServerError'===_0x333d6d['name']&&'404'===_0x333d6d['code']&&_0x5274f1<0x5)return await(_0x46b03e=0x64*_0x5274f1,new Promise(_0x5ac45c=>{setTimeout(_0x5ac45c,_0x46b03e);})),this['get'](_0x42d186,_0x5274f1+0x1);if('CKEditorCloudServicesServerError'===_0x333d6d['name'])throw _0x333d6d;throw CKEditorCloudServicesServerError['fromPublicError'](_0x333d6d);}var _0x46b03e;}async['getAll'](){const _0x1a45e2=new GetAllSuggestionsMessage(this['_documentId']),_0x1b9247=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x1a45e2),{suggestions:_0x42a0a0}=_0x1bed8d['decode'](_0x1b9247,GetAllSuggestionResponse);return _0x42a0a0;}async['update'](_0x37d53e,_0x402375={}){const {hasComments:_0x316eab,state:_0x33e8b8,attributes:_0x14e82e}=_0x402375,_0x3d7aa3=void 0x0!==_0x316eab,_0x35a94e=new UpdateSuggestionMessage(_0x37d53e,this['_documentId'],_0x316eab,_0x3d7aa3,_0x33e8b8,_0x14e82e);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x35a94e);}async['batchUpdateState'](_0x585434){const _0x7e517b=new BatchUpdateSuggestionsStateMessage(_0x585434['ids'],this['_documentId'],_0x585434['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x7e517b);}['_connectToChannel'](_0x3bb226,_0x84c391){this['_channel']=_0x3bb226['_getChannel'](_0x4c70b9['_SERVICE'],_0x84c391),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x1690a4,_0x5b6a87)=>{const _0x513ab3=_0x1bed8d['decode'](_0x5b6a87,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x513ab3);});}['_onWsGatewayStateChange'](_0x4f67ae){_0x4f67ae===_0x5b00e3['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x204b12,_0x393d9c){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x204b12,_0x1bed8d['encode'](_0x393d9c));}}class SessionsConnectResponse extends _0x3759ba{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x5b7a95,_0x58416a=[]){super(),this['channel']=_0x5b7a95,this['sockets']=_0x58416a;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x48d498=>({'user':_0x48d498['userId'],'session':_0x48d498['id'],'role':_0x48d498['role'],'permissions':_0x48d498['permissions']}))};}static['fromJSON'](_0x3d133c){return new SessionsConnectResponse(_0x3d133c['channel'],_0x3d133c['sockets']['map'](_0x1188cd=>({'id':_0x1188cd['session'],'userId':_0x1188cd['user'],'role':_0x1188cd['role'],'permissions':_0x1188cd['permissions']})));}}class SessionsConnectMessage extends _0x3759ba{['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(_0x562158,_0x2e7fe5){super(),this['id']=_0x562158,this['sessionType']=_0x2e7fe5;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x3c52f2){return new SessionsConnectMessage(_0x3c52f2['id'],_0x3c52f2['sessionType']);}}class SocketConnectMessage extends _0x3759ba{['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(_0xa3a7f3,_0x3cc73f,_0x24a4a6,_0x9797b0){super(),this['id']=_0xa3a7f3,this['userId']=_0x3cc73f,this['role']=_0x24a4a6,this['permissions']=_0x9797b0;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x4e8c64){return new SocketConnectMessage(_0x4e8c64['id'],_0x4e8c64['userId'],_0x4e8c64['role'],_0x4e8c64['permissions']);}}class SocketDisconnectMessage extends _0x3759ba{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x159210){super(),this['id']=_0x159210;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x11b87f){return new SocketDisconnectMessage(_0x11b87f['id']);}}class SessionCollection extends ckeditor5['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x1c6734,_0x12ab77){super({'idProperty':'id'}),this['_id']=_0x1c6734,this['_sessionType']=_0x12ab77;}async['connect'](_0x249cd9){this['_wsGateway']=_0x249cd9,this['stopListening'](_0x249cd9,'change:state');const _0x320ee9=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x261c09;try{const _0x548c0=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x1bed8d['encode'](_0x320ee9));_0x261c09=_0x1bed8d['decode'](_0x548c0,SessionsConnectResponse);}catch(_0x55f6fb){_0x261c09=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x261c09['channel'],this['_sessionType']);const _0x26456e=await async function(_0x40c1d9,_0x1578de){const _0x2d176a=_0x1578de['map'](_0x248c07=>_0x248c07['userId']),_0x4f8472=_0x2d176a['length']?await _0x2f9243['getMany'](_0x40c1d9,_0x2d176a):[];return _0x1578de['map'](_0x249da3=>{const _0x281229={'id':_0x249da3['id'],'role':_0x249da3['role'],'permissions':_0x249da3['permissions']};return _0x281229['user']=_0x249da3['userId']&&_0x4f8472['find'](_0x5bd594=>_0x5bd594['id']===_0x249da3['userId'])||new _0x2f9243(),_0x281229;});}(this['_wsGateway'],_0x261c09['sockets']);for(const _0x3df7c8 of _0x26456e)super['add'](_0x3df7c8);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x7ad51d,_0x3c4004,_0x500c64)=>this['_onWsGatewayStateChange'](_0x500c64),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x4fdc71=!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']&&_0x4fdc71&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x4fdc71&&this['stopListening']();}}['add'](_0x992451,_0x35daa3){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x92717f){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x56ccf1,_0x1e661f,_0x38473f){this['_channel']=_0x56ccf1['_getChannel'](_0x38473f,_0x1e661f),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x5a04fc=>{const _0x447418=_0x1bed8d['decode'](_0x5a04fc,SocketConnectMessage);if(-0x1===this['getIndex'](_0x447418['id'])){const _0x133270={'id':_0x447418['id'],'role':_0x447418['role'],'permissions':_0x447418['permissions']};_0x447418['userId']&&(_0x133270['user']=await _0x2f9243['get'](_0x56ccf1,_0x447418['userId'])),super['add'](_0x133270);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x587d79=>{const _0x34551a=_0x1bed8d['decode'](_0x587d79,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x34551a['id'])&&super['remove'](_0x34551a['id']);}));}async['_onWsGatewayStateChange'](_0x2e80d3){_0x2e80d3===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x2e80d3===WebSocketGateway$1['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x265312;for(this['_isRunning']=!0x0;_0x265312=this['_eventsQueue']['shift']();){const _0x5bd933=this['_handlers']['get'](_0x265312['eventName']);_0x5bd933&&await _0x5bd933(_0x265312['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x3c202a,_0x420531,_0x2f36b4){const _0x22f98c=_0x3c202a['getEventName'](_0x420531,!0x0);this['listenTo'](_0x3c202a,_0x22f98c,async(_0x103b98,_0x2900d7)=>{const _0x5de031=_0x103b98['name'];this['_eventsQueue']['push']({'eventName':_0x5de031,'data':_0x2900d7}),await this['_runQueue']();}),this['_handlers']['set'](_0x22f98c,_0x2f36b4);}}let _0x234a80=class{static async['getConnectedSessions'](_0x3bc98f,_0x50a90a,_0x50f94b){const _0x285062=new SessionCollection(_0x50a90a,_0x50f94b);return await _0x285062['connect'](_0x3bc98f),_0x285062;}};class CollaborativeEditingConnectMessage extends _0x3759ba{['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(_0x3d1234,_0x2ac63d,_0x4787f1,_0x191745,_0x302fab=''){super(),this['id']=_0x3d1234,this['buffers']=_0x2ac63d,this['types']=_0x4787f1,this['bundleVersion']=_0x191745,this['lastOperationId']=_0x302fab;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x1ead5d){return new CollaborativeEditingConnectMessage(_0x1ead5d['id'],_0x1ead5d['buffers'],_0x1ead5d['types'],_0x1ead5d['bundleVersion'],_0x1ead5d['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0xc6375d,_0x1ed232){if(!_0xc6375d?.['length']||!_0x1ed232?.['length'])return[];const _0x5ec96e=[];let _0x240734=0x0;for(const _0x1c5556 of _0xc6375d)if(0x0!==_0x1c5556){if(!_0x1ed232[_0x240734])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x5ec96e['push'](_0x1ed232[_0x240734]),_0x240734++;}else _0x5ec96e['push'](_0x5ec96e[_0x5ec96e['length']-0x1]);return _0x5ec96e;}static['removeUnnecessaryMetadata'](_0x11b7b1,_0x31cc9d){if(!_0x11b7b1?.['length']||!_0x31cc9d?.['length'])return[];const _0x3b12f1=[];for(let _0xbc5355=0x0;_0xbc5355<_0x11b7b1['length'];_0xbc5355++)if(0x0!==_0x11b7b1[_0xbc5355]){if(!_0x31cc9d[_0xbc5355])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x3b12f1['push'](_0x31cc9d[_0xbc5355]);}return _0x3b12f1;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static['toJSON']({createdAt:_0x350c35,..._0x2f9a84}){const _0x1ccefe={..._0x2f9a84};return _0x350c35?.['toISOString']&&(_0x1ccefe['createdAt']=_0x350c35['toISOString']()),_0x1ccefe;}static['fromJSON']({createdAt:_0x5b7d19,..._0xdab95f}){const _0x300db8={..._0xdab95f};return _0x5b7d19&&(_0x300db8['createdAt']=new Date(_0x5b7d19)),_0x300db8;}}class CollaborativeEditingUpdateMessage extends _0x3759ba{['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(_0x231724,_0x5756ec,_0x34cabe,_0x3cd94a,_0x23207a=[],_0x197c9e=''){super(),this['id']=_0x231724,this['buffers']=_0x5756ec,this['types']=_0x34cabe,this['baseVersion']=_0x3cd94a,this['metadata']=_0x23207a,this['lastOperationId']=_0x197c9e;}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':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x11c635){return new CollaborativeEditingUpdateMessage(_0x11c635['id'],_0x11c635['buffers'],_0x11c635['types'],_0x11c635['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x11c635['types'],_0x11c635['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x11c635['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x3759ba{['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(_0x4cf3aa,_0x4bc196,_0x4675d0){super(),this['id']=_0x4cf3aa,this['lastKnowVersion']=_0x4bc196,this['bundleVersion']=_0x4675d0;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0xae1b4a){return new CollaborativeEditingReconnectMessage(_0xae1b4a['id'],_0xae1b4a['lastKnowVersion'],_0xae1b4a['bundleVersion']);}}class CollaborativeEditingResponse extends _0x3759ba{['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(_0x44918f,_0x4d00cb=[],_0x5e19d7=[],_0x17559d=[],_0x5697ac='',_0x18a4b6=null){super(),this['version']=_0x44918f,this['buffers']=_0x4d00cb,this['types']=_0x5e19d7,this['metadata']=_0x17559d,this['lastOperationId']=_0x5697ac,this['lastOperationAcceptedAt']=_0x18a4b6;}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':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](_0x325678){return new CollaborativeEditingResponse(_0x325678['version'],_0x325678['buffers'],_0x325678['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x325678['types'],_0x325678['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x325678['lastOperationId'],_0x325678['lastOperationAcceptedAt']?new Date(_0x325678['lastOperationAcceptedAt']):null);}static['create'](_0x7cdf57){return new CollaborativeEditingResponse(_0x7cdf57['version'],_0x7cdf57['buffers'],_0x7cdf57['types'],_0x7cdf57['metadata'],_0x7cdf57['lastOperationId'],_0x7cdf57['lastOperationAcceptedAt']?new Date(_0x7cdf57['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x3759ba{['channel'];['version'];['buffers'];['types'];['offset'];['metadata'];['initData'];['sessionId'];['lastOperationId'];['sessionCreatedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'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':OperationMetadataDescriptor['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(_0x5f3fe9,_0x3fac90,_0x1125b6=[],_0x4987af=[],_0x5c862a=0x0,_0x4bc64b=[],_0x8c879=null,_0x3070ce='',_0x197eb7='',_0x2b1b35=null){super(),this['channel']=_0x5f3fe9,this['version']=_0x3fac90,this['buffers']=_0x1125b6,this['types']=_0x4987af,this['offset']=_0x5c862a,this['metadata']=_0x4bc64b,this['initData']=_0x8c879,this['sessionId']=_0x3070ce,this['lastOperationId']=_0x197eb7,this['sessionCreatedAt']=_0x2b1b35;}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':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static['create'](_0x39f6e1){return new CollaborativeEditingConnectResponse(_0x39f6e1['channel'],_0x39f6e1['version'],_0x39f6e1['buffers'],_0x39f6e1['types'],_0x39f6e1['offset'],_0x39f6e1['metadata'],_0x39f6e1['initData'],_0x39f6e1['sessionId'],_0x39f6e1['lastOperationId'],_0x39f6e1['sessionCreatedAt']);}static['fromJSON'](_0x283bff){let _0x5e008e=null;return!0x0===_0x283bff['isInitialized']?_0x5e008e=_0x283bff['initData']??'':'boolean'!=typeof _0x283bff['isInitialized']&&_0x283bff['initData']&&(_0x5e008e=_0x283bff['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x283bff['channel'],'version':_0x283bff['version'],'buffers':_0x283bff['buffers'],'types':_0x283bff['types'],'offset':_0x283bff['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x283bff['types'],_0x283bff['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x5e008e,'sessionId':_0x283bff['sessionId'],'lastOperationId':_0x283bff['lastOperationId'],'sessionCreatedAt':_0x283bff['sessionCreatedAt']?new Date(_0x283bff['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x3759ba{['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(_0x16e978,_0x437742){super(),this['lastDocumentSession']=_0x16e978,this['currentDocumentSession']=_0x437742;}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'](_0xeb7823){const _0x2ba3ef=_0xeb7823['lastDocumentSessionId']?{'id':_0xeb7823['lastDocumentSessionId'],'lastOperationId':_0xeb7823['lastDocumentSessionOperationId']}:void 0x0,_0x3de4be=_0xeb7823['currentDocumentSessionId']?{'lastOperationId':_0xeb7823['currentDocumentSessionOperationId'],'version':_0xeb7823['currentDocumentSessionVersion'],'id':_0xeb7823['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x2ba3ef,_0x3de4be);}}class GetDocumentDetailsMessage extends _0x3759ba{['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(_0xdd3ef5){super(),this['documentId']=_0xdd3ef5;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5a8b78){return new GetDocumentDetailsMessage(_0x5a8b78['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x219b28,_0x533ad5){if(super(),!_0x219b28)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x533ad5??_0x3c8cbf(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x219b28;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x180432,_0x6d40bc={'buffers':[],'types':[]},_0x319caa){const _0x1d0466=new CollaborativeEditingConnectMessage(this['getId'](),_0x6d40bc['buffers'],_0x6d40bc['types'],this['_bundleVersion'],_0x319caa);return this['_connect'](_0x180432,_0x1d0466);}['reconnect'](_0x7b93b2,_0xc1955b){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x7b93b2);return this['_connect'](_0x7b93b2,new CollaborativeEditingReconnectMessage(this['getId'](),_0xc1955b,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 _0xdb1ce4=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x37190b=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x1bed8d['encode'](_0xdb1ce4));return _0x1bed8d['decode'](_0x37190b,GetDocumentDetailsResponse);}async['sendOperations'](_0x501093,_0x20e012,_0x938335){if(!_0x501093?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x1639b9='number'==typeof _0x20e012?_0x20e012:parseInt(_0x20e012);if(!Number['isInteger'](_0x1639b9)||_0x1639b9<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x435683=new CollaborativeEditingUpdateMessage(this['getId'](),_0x501093['buffers'],_0x501093['types'],_0x1639b9,[],_0x938335);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x576ba6=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x1bed8d['encode'](_0x435683));return _0x1bed8d['decode'](_0x576ba6,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x234a80['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0x331d24,_0x40d8fe){return _0x234a80['getConnectedSessions'](_0x331d24,_0x40d8fe,0x1);}async['_connect'](_0x2e866,_0x2648b0){if(this['isConnected']())return;if(_0x2e866['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2e866);this['_wsGateway']=_0x2e866,this['stopListening'](_0x2e866,'change:state');const _0x259a85=await _0x2e866['_sendRequest'](0x1,_0x2648b0['constructor']['TYPE'],_0x1bed8d['encode'](_0x2648b0)),_0x384abc=_0x1bed8d['decode'](_0x259a85,CollaborativeEditingConnectResponse);return this['listenTo'](_0x2e866,'change:state',(_0x496932,_0x3c88b9,_0x1686e5)=>this['_onWsGatewayStateChange'](_0x1686e5),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2e866,_0x384abc['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x384abc;}['_connectToChannel'](_0x2d6884,_0x4d75ae){this['_channel']=_0x2d6884['_getChannel'](0x1,_0x4d75ae),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x752fb6,_0x3cc1d7)=>{const _0x29437a=_0x1bed8d['decode'](_0x3cc1d7,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x29437a['baseVersion'],_0x29437a['data'],_0x29437a['metadata']);});}['_onWsGatewayStateChange'](_0x265da7){_0x265da7===WebSocketGateway$1['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{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'](_0xaa7639){return{..._0xaa7639,'createdAt':_0xaa7639['createdAt']?.['toISOString'](),'attributes':_0xaa7639['attributes']?JSON['stringify'](_0xaa7639['attributes']):null};}static['fromJSON'](_0x176bf5){return{..._0x176bf5,'createdAt':new Date(_0x176bf5['createdAt']),'attributes':_0x176bf5['attributes']?JSON['parse'](_0x176bf5['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{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'](_0x526458){return{..._0x526458,'createdAt':_0x526458['createdAt']?.['toISOString'](),'deletedAt':_0x526458['deletedAt']?.['toISOString'](),'resolvedAt':_0x526458['resolvedAt']?.['toISOString'](),'attributes':_0x526458['attributes']?JSON['stringify'](_0x526458['attributes']):null,'context':_0x526458['context']?JSON['stringify'](_0x526458['context']):_0x526458['context'],'comments':_0x526458['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x526458['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x25f8d9){return{..._0x25f8d9,'createdAt':_0x25f8d9['createdAt']?new Date(_0x25f8d9['createdAt']):void 0x0,'deletedAt':_0x25f8d9['deletedAt']?new Date(_0x25f8d9['deletedAt']):void 0x0,'resolvedAt':_0x25f8d9['resolvedAt']?new Date(_0x25f8d9['resolvedAt']):void 0x0,'attributes':_0x25f8d9['attributes']?JSON['parse'](_0x25f8d9['attributes']):null,'context':_0x25f8d9['context']?JSON['parse'](_0x25f8d9['context']):void 0x0,'comments':_0x25f8d9['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x25f8d9['unlinkedAt']?new Date(_0x25f8d9['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x3759ba{['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(_0xc50234,_0x320317,_0x1a1637,_0x183128='',_0x147632,_0x4e722c='',_0x2b2cec=null,_0x38d5a7){super(),this['documentId']=_0xc50234,this['commentThreadId']=_0x320317,this['content']=_0x1a1637,this['commentId']=_0x183128,this['userId']=_0x4e722c,this['attributes']=_0x2b2cec,this['commentThread']=_0x38d5a7,this['createdAt']=_0x147632?new Date(_0x147632):'';}['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']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x2c6735){return new AddCommentMessage(_0x2c6735['documentId'],_0x2c6735['commentThreadId'],_0x2c6735['content'],_0x2c6735['commentId']?_0x2c6735['commentId']:void 0x0,_0x2c6735['createdAt']?new Date(_0x2c6735['createdAt']):void 0x0,_0x2c6735['userId']?_0x2c6735['userId']:void 0x0,_0x2c6735['attributes']?JSON['parse'](_0x2c6735['attributes']):{},_0x2c6735['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x2c6735['commentThread']):void 0x0);}}class AddCommentResponse extends _0x3759ba{['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(_0xbf2b64,_0x33a9fc,_0x266cf1){super(),this['commentThreadId']=_0xbf2b64,this['commentId']=_0x33a9fc,this['createdAt']=new Date(_0x266cf1);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0xd87d9f){return new AddCommentResponse(_0xd87d9f['commentThreadId'],_0xd87d9f['commentId'],_0xd87d9f['createdAt']);}}class ConnectMessage extends _0x3759ba{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x2d7fd7){super(),this['documentId']=_0x2d7fd7;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5d017a){return new ConnectMessage(_0x5d017a['documentId']);}}class ConnectResponse extends _0x3759ba{['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(_0x80503e,_0x4e3ea8,_0x1f9a49){super(),this['channel']=_0x80503e,this['_threads']=_0x4e3ea8,this['_threadsV2']=_0x1f9a49,this['threads']=_0x1f9a49?.['length']?_0x1f9a49:_0x4e3ea8;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x3bafdc=>JSON['stringify'](_0x3bafdc)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x2379c7){return new ConnectResponse(_0x2379c7['channel'],_0x2379c7['threads']?.['map'](_0xf899f7=>JSON['parse'](_0xf899f7)),_0x2379c7['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x3759ba{['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(_0x946830,_0x3a0bb6,_0x2b52c6){super(),this['documentId']=_0x946830,this['commentThreadId']=_0x3a0bb6,this['commentId']=_0x2b52c6;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0xeef51b){return new RemoveCommentMessage(_0xeef51b['documentId'],_0xeef51b['commentThreadId'],_0xeef51b['commentId']);}}class RemoveCommentThreadMessage extends _0x3759ba{['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(_0x8bcbc2,_0x3dc772){super(),this['documentId']=_0x8bcbc2,this['commentThreadId']=_0x3dc772;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x1c75e8){return new RemoveCommentThreadMessage(_0x1c75e8['documentId'],_0x1c75e8['commentThreadId']);}}class UpdateCommentMessage extends _0x3759ba{['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(_0x27dbd3,_0x3bc8b1,_0x205d7d,_0x37e514,_0xdedf88=null,_0x224290=!0x1,_0x227689){super(),this['documentId']=_0x27dbd3,this['commentThreadId']=_0x3bc8b1,this['commentId']=_0x205d7d,this['content']=_0x37e514,this['attributes']=_0xdedf88,this['isAttributesUpdated']=_0x224290,this['commentThread']=_0x227689;}['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']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x151990){return new UpdateCommentMessage(_0x151990['documentId'],_0x151990['commentThreadId'],_0x151990['commentId'],_0x151990['content'],_0x151990['attributes']?JSON['parse'](_0x151990['attributes']):null,_0x151990['isAttributesUpdated'],_0x151990['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x151990['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x3759ba{['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(_0xc2ea4c,_0x312adc){super(),this['commentThreadId']=_0xc2ea4c,this['documentId']=_0x312adc;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x4aea46){return new GetCommentThreadMessage(_0x4aea46['commentThreadId'],_0x4aea46['documentId']);}}class GetCommentThreadResponse extends _0x3759ba{['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(_0x10788f,_0x2cd42b,_0x15ddcf,_0x1fdee3,_0x42c66a,_0x1e7cce,_0x14899d,_0x4a489c,_0x30ddbf,_0x1238b9){super(),this['commentThreadId']=_0x10788f,this['_comments']=_0x2cd42b,this['_commentsV2']=_0x15ddcf,this['resolvedBy']=_0x42c66a,this['comments']=_0x15ddcf?.['length']?_0x15ddcf:_0x2cd42b,this['createdAt']=_0x14899d?new Date(_0x14899d):void 0x0,this['deletedAt']='string'==typeof _0x4a489c?new Date(_0x4a489c):_0x4a489c,this['resolvedAt']='string'==typeof _0x30ddbf?new Date(_0x30ddbf):_0x30ddbf,this['unlinkedAt']='string'==typeof _0x1238b9?new Date(_0x1238b9):_0x1238b9,this['attributes']='string'==typeof _0x1fdee3?JSON['parse'](_0x1fdee3):_0x1fdee3,this['context']='string'==typeof _0x1e7cce?JSON['parse'](_0x1e7cce):_0x1e7cce;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x41f537=>JSON['stringify'](_0x41f537)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['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'](_0x2326f3){return new GetCommentThreadResponse(_0x2326f3['commentThreadId'],_0x2326f3['comments']?.['map'](_0x4e0a56=>function(_0x2f1d94){const _0x40f12e=JSON['parse'](_0x2f1d94);return{..._0x40f12e,'createdAt':new Date(_0x40f12e['createdAt'])};}(_0x4e0a56)),_0x2326f3['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x2326f3['attributes']?JSON['parse'](_0x2326f3['attributes']):_0x2326f3['attributes'],_0x2326f3['resolvedBy'],_0x2326f3['context']?JSON['parse'](_0x2326f3['context']):_0x2326f3['context'],_0x2326f3['createdAt'],_0x2326f3['deletedAt'],_0x2326f3['resolvedAt'],_0x2326f3['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x3759ba{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x3509bb){super(),this['documentId']=_0x3509bb;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x535307){return new GetDocumentThreadsMessage(_0x535307['documentId']);}}class GetDocumentThreadsResponse extends _0x3759ba{['_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(_0x4cda15,_0x5bd07a){super(),this['_threads']=_0x4cda15,this['_threadsV2']=_0x5bd07a,this['threads']=_0x5bd07a?.['length']?_0x5bd07a:_0x4cda15;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x430d1b=>JSON['stringify'](_0x430d1b)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x4821da){return new GetDocumentThreadsResponse(_0x4821da['threads']?.['map'](_0x1b23fc=>function(_0x17832b){const _0x2e23b7=JSON['parse'](_0x17832b),_0x3319cf={..._0x2e23b7};return _0x2e23b7['comments']&&(_0x3319cf['comments']=_0x2e23b7['comments']?.['map'](_0x1c666b=>({..._0x1c666b,'createdAt':new Date(_0x1c666b['createdAt'])}))),_0x3319cf;}(_0x1b23fc)),_0x4821da['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static['toJSON'](_0x2b0938){return{'commentId':_0x2b0938['commentId'],'createdAt':_0x2b0938['createdAt']?.['toISOString']()};}static['fromJSON'](_0x8612e5){return{'commentId':_0x8612e5['commentId'],'createdAt':new Date(_0x8612e5['createdAt'])};}}class AddCommentThreadResponse extends _0x3759ba{['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(_0x425eaf,_0x120a46,_0x1b49b2=[]){super(),this['commentThreadId']=_0x425eaf,this['comments']=_0x1b49b2,this['createdAt']=new Date(_0x120a46);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x328866=>CommentThreadAddedCommentDescriptor['toJSON'](_0x328866))};}static['fromJSON'](_0x18b643){return new AddCommentThreadResponse(_0x18b643['commentThreadId'],_0x18b643['createdAt'],_0x18b643['comments']['map'](_0x15e91c=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x15e91c)));}}class AddCommentThreadMessage extends _0x3759ba{['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(_0x1ad4e3,_0x33e43e,_0x4aab6e=[],_0x5725bb,_0x38dd95=null,_0x578c8b=null,_0x9985f0=null,_0x45a249=null,_0x2be6fd=null){super(),this['documentId']=_0x1ad4e3,this['commentThreadId']=_0x33e43e,this['comments']=_0x4aab6e,this['context']=_0x5725bb,this['resolvedBy']=_0x38dd95,this['attributes']=_0x2be6fd,this['createdAt']=_0x578c8b?new Date(_0x578c8b):'',this['resolvedAt']=_0x9985f0?new Date(_0x9985f0):'',this['deletedAt']=_0x45a249?new Date(_0x45a249):'';}['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'](_0x493bdc=>CommentDescriptor['toJSON'](_0x493bdc))};}static['fromJSON'](_0x3bbaf5){return new AddCommentThreadMessage(_0x3bbaf5['documentId'],_0x3bbaf5['commentThreadId'],_0x3bbaf5['comments']?.['map'](_0x14d4af=>CommentDescriptor['fromJSON']({..._0x14d4af,'documentId':_0x3bbaf5['documentId'],'commentThreadId':_0x3bbaf5['commentThreadId']})),_0x3bbaf5['context']?JSON['parse'](_0x3bbaf5['context']):_0x3bbaf5['context'],_0x3bbaf5['resolvedBy'],_0x3bbaf5['createdAt']?new Date(_0x3bbaf5['createdAt']):void 0x0,_0x3bbaf5['resolvedAt']?new Date(_0x3bbaf5['resolvedAt']):void 0x0,_0x3bbaf5['deletedAt']?new Date(_0x3bbaf5['deletedAt']):void 0x0,_0x3bbaf5['attributes']?JSON['parse'](_0x3bbaf5['attributes']):_0x3bbaf5['attributes']);}}class ResolveCommentThreadMessage extends _0x3759ba{['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(_0x719b5,_0x48c140,_0x31de9a,_0x106ec7){super(),this['commentThreadId']=_0x719b5,this['documentId']=_0x48c140,this['resolvedBy']=_0x31de9a,this['resolvedAt']=_0x106ec7?new Date(_0x106ec7):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x508ec8){return new ResolveCommentThreadMessage(_0x508ec8['commentThreadId'],_0x508ec8['documentId'],_0x508ec8['resolvedBy'],_0x508ec8['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x3759ba{['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(_0x31a11c,_0x92cc8d){super(),this['commentThreadId']=_0x31a11c,this['documentId']=_0x92cc8d;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x4ef594){return new ReopenCommentThreadMessage(_0x4ef594['commentThreadId'],_0x4ef594['documentId']);}}class UpdateCommentThreadMessage extends _0x3759ba{['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(_0xd1b6dd,_0x4ff3e5,_0x660d81,_0x131a2c=null,_0x3b68ad=null){super(),this['commentThreadId']=_0xd1b6dd,this['documentId']=_0x4ff3e5,this['context']=_0x660d81,this['attributes']=_0x131a2c,this['unlinkedAt']=_0x3b68ad?new Date(_0x3b68ad):'';}['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'](_0x49c7e8){return new UpdateCommentThreadMessage(_0x49c7e8['commentThreadId'],_0x49c7e8['documentId'],_0x49c7e8['context']?JSON['parse'](_0x49c7e8['context']):_0x49c7e8['context'],_0x49c7e8['attributes']?JSON['parse'](_0x49c7e8['attributes']):null,_0x49c7e8['unlinkedAt']?new Date(_0x49c7e8['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x3759ba{['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(_0xcb8bd6,_0x16ba9e,_0x4142a8,_0x33eb1a){super(),this['commentThreadId']=_0xcb8bd6,this['documentId']=_0x16ba9e,this['resolvedBy']=_0x4142a8,this['resolvedAt']=new Date(_0x33eb1a);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x5f5375){return new ResolveCommentThreadResponse(_0x5f5375['commentThreadId'],_0x5f5375['documentId'],_0x5f5375['resolvedBy'],_0x5f5375['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
ckeditor5['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x1dab5d){super(),this['_documentId']=_0x1dab5d;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x3e114e){if(this['_isConnected'])return;if(_0x3e114e['state']!==_0x5b00e3['CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x3e114e);const _0xea5abf=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x3e114e,this['stopListening'](_0x3e114e,'change:state');const _0x25d10e=await _0x3e114e['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x1bed8d['encode'](_0xea5abf)),{channel:_0x4956a0,threads:_0x1be0f8}=_0x1bed8d['decode'](_0x25d10e,ConnectResponse);return this['listenTo'](_0x3e114e,'change:state',(_0x2b3f07,_0x529d13,_0x28ff0a)=>this['_onWsGatewayStateChange'](_0x28ff0a),{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x3e114e,_0x4956a0),this['_isConnected']=!0x0,this['fire']('connected'),_0x1be0f8;}['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'](_0x388f6a,_0x24cfae,_0x248bac,_0x962ba7){const _0x1a8669=new AddCommentMessage(this['_documentId'],_0x388f6a,_0x248bac,_0x24cfae,void 0x0,void 0x0,_0x962ba7),_0x1ece62=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x1a8669);return _0x1bed8d['decode'](_0x1ece62,AddCommentResponse);}async['updateComment'](_0x3e6bb8,_0x248f80,_0x65f90e,_0x28dee1){const _0x40b8a9=void 0x0!==_0x28dee1,_0x50ed84=new UpdateCommentMessage(this['_documentId'],_0x3e6bb8,_0x248f80,_0x65f90e,_0x28dee1,_0x40b8a9);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x50ed84);}async['removeComment'](_0xbbef3d,_0x2c9169){const _0x276f8b=new RemoveCommentMessage(this['_documentId'],_0xbbef3d,_0x2c9169);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x276f8b);}async['removeCommentThread'](_0x36299a){const _0x542586=new RemoveCommentThreadMessage(this['_documentId'],_0x36299a);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x542586);}async['addCommentThread'](_0x1ca4d5){const _0x2ebead=new AddCommentThreadMessage(this['_documentId'],_0x1ca4d5['commentThreadId'],_0x1ca4d5['comments']?.['map'](_0x3e1afa=>({..._0x3e1afa,'documentId':this['_documentId'],'commentThreadId':_0x1ca4d5['commentThreadId']})),_0x1ca4d5['context'],_0x1ca4d5['resolvedBy'],_0x1ca4d5['createdAt'],_0x1ca4d5['resolvedAt'],_0x1ca4d5['deletedAt'],_0x1ca4d5['attributes']),_0x57723b=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x2ebead);return _0x1bed8d['decode'](_0x57723b,AddCommentThreadResponse);}async['resolveCommentThread'](_0x3b031d){const _0x48840a=new ResolveCommentThreadMessage(_0x3b031d,this['_documentId']),_0xcbd1b9=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x48840a);return _0x1bed8d['decode'](_0xcbd1b9,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x17d070){const _0x5765df=new ReopenCommentThreadMessage(_0x17d070,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x5765df);}async['updateCommentThread'](_0x593690){const _0x377313=new UpdateCommentThreadMessage(_0x593690['commentThreadId'],this['_documentId'],_0x593690['context'],_0x593690['attributes'],_0x593690['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x377313);}async['getCommentThread'](_0x35b106,_0x5678b4=0x1){const _0x1619d7=new GetCommentThreadMessage(_0x35b106,this['_documentId']);try{const _0x2c0ced=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x1619d7),_0x4ea39f=_0x1bed8d['decode'](_0x2c0ced,GetCommentThreadResponse);return{'commentThreadId':_0x4ea39f['commentThreadId'],'comments':_0x4ea39f['comments'],'attributes':_0x4ea39f['attributes'],'context':_0x4ea39f['context'],'resolvedAt':_0x4ea39f['resolvedAt'],'resolvedBy':_0x4ea39f['resolvedBy'],'deletedAt':_0x4ea39f['deletedAt'],'unlinkedAt':_0x4ea39f['unlinkedAt']};}catch(_0x550814){if('CKEditorCloudServicesServerError'===_0x550814['name']&&'404'===_0x550814['code']&&_0x5678b4<0x5)return await(_0x319a8a=0x64*_0x5678b4,new Promise(_0x2740f8=>{setTimeout(_0x2740f8,_0x319a8a);})),this['getCommentThread'](_0x35b106,_0x5678b4+0x1);if('CKEditorCloudServicesServerError'===_0x550814['name'])throw _0x550814;throw CKEditorCloudServicesServerError['fromPublicError'](_0x550814);}var _0x319a8a;}async['getDocumentThreads'](){const _0x45b884=new GetDocumentThreadsMessage(this['_documentId']),_0x22d744=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x45b884),{threads:_0x574176}=_0x1bed8d['decode'](_0x22d744,GetDocumentThreadsResponse);return{'threads':_0x574176};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x234a80['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0x224337,_0x30c7d4){this['_channel']=_0x224337['_getChannel'](CommentsService['_SERVICE'],_0x30c7d4),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x3917d4,_0x1f0823)=>{const _0x2e2539=_0x1bed8d['decode'](_0x1f0823,AddCommentMessage);this['fire']('commentAdded',_0x2e2539);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x1af656,_0x13ae8f)=>{const _0x425705=_0x1bed8d['decode'](_0x13ae8f,RemoveCommentMessage);this['fire']('commentRemoved',_0x425705);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x26bb31,_0x3c1a59)=>{const _0x844f00=_0x1bed8d['decode'](_0x3c1a59,UpdateCommentMessage);this['fire']('commentUpdated',_0x844f00);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0xaeb73,_0x38fe9a)=>{const _0x4a64e4=_0x1bed8d['decode'](_0x38fe9a,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x4a64e4);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x3a9585,_0x5bdac7)=>{const _0x342d0b=_0x1bed8d['decode'](_0x5bdac7,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x342d0b);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x463477,_0x48632e)=>{const _0x3ef508=_0x1bed8d['decode'](_0x48632e,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x3ef508);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x1fc5f6,_0x8b7205)=>{const _0x108299=_0x1bed8d['decode'](_0x8b7205,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x108299);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x74c04d,_0x563ea6)=>{const _0x458806=_0x1bed8d['decode'](_0x563ea6,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x458806);}));}['_onWsGatewayStateChange'](_0x15cd3f){_0x15cd3f===_0x5b00e3['DISCONNECTED']&&this['disconnect']();}['_sendRequest'](_0x410920,_0x57577d){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x410920,_0x1bed8d['encode'](_0x57577d));}}class WebSocketGateway extends ckeditor5['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>WebSocketGateway$1)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return['CloudServices',ckeditor5['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x39470f){super(_0x39470f),this['set']('state',_0x5b00e3['CONNECTED']),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();}['init'](){const _0x11f6c8=this['context'],_0x4e0b7a=_0x11f6c8['plugins']['get']('CloudServices'),_0x5612c1=_0x11f6c8['plugins']['get'](ckeditor5['Notification']);if(!_0x4e0b7a['token'])throw new ckeditor5['CKEditorError']('websocketgateway-missing-token',this);if(!_0x4e0b7a['webSocketUrl'])throw new ckeditor5['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'](_0x4e0b7a['token'],_0x4e0b7a['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x5a6ae9=>{if(this['connection']=_0x5a6ae9,this['bind']('state')['to'](_0x5a6ae9,'state',this,'_isBrowserOffline',(_0x3d8fe3,_0xe93553)=>('connected'!==_0x3d8fe3&&(this['_shouldPluginsReconnect']=!0x0),_0xe93553||_0x3d8fe3!==_0x5b00e3['CONNECTED']?_0x5b00e3['DISCONNECTED']:this['state']==_0x5b00e3['DISCONNECTED']&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x5b00e3['CONNECTING']):_0x5b00e3['CONNECTED'])),this['connection']['on']('error',(_0x400976,_0x20da45)=>{if('limitExceeded'!==_0x20da45['code'])throw console['error'](_0x20da45),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x20da45});_0x5612c1['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'});}),!_0x5a6ae9['me'])return new Promise(_0x316d6c=>_0x5a6ae9['on']('change:me',_0x316d6c));})['catch'](_0x269c43=>{throw console['error'](_0x269c43),new ckeditor5['CKEditorError']('cloudservices-init',null,{'originalError':_0x269c43});});}['addToReconnectionStack'](_0x3b2661){if('function'!=typeof _0x3b2661['reconnect'])throw new ckeditor5['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x3b2661))throw new ckeditor5['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x3b2661['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x3b2661);}['removeFromReconnectionStack'](_0x27e698){this['_reconnectionStack']['delete'](_0x27e698);}['isInReconnectionStack'](_0x4148d3){return this['_reconnectionStack']['has'](_0x4148d3);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x44d733=>_0x44d733['reconnect']())))['then'](()=>this['state']=_0x5b00e3['CONNECTED'])['catch'](_0x3368bc=>{throw console['error'](_0x3368bc),new ckeditor5['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x5b00e3['DISCONNECTED'],this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0x494d0f extends ckeditor5['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[WebSocketGateway,_0x59867e];}constructor(_0x5ef463){super(_0x5ef463),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new ckeditor5['Collection'](),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](_0x59867e);}['init'](){const _0x20d9b0=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x20d9b0,'change:state',(_0x29aec0,_0x3ce799,_0x2b9b03)=>{if('connected'!==_0x2b9b03)this['channelSessions']['forEach'](_0x209767=>_0x209767['clear']()),this['channelConnectedUsers']['forEach'](_0x20f105=>_0x20f105['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x3438bc,_0x68b12d]of this['_registeredSessions'])for(const _0xde8ea0 of _0x68b12d)this['_handleSessionAdd'](_0x3438bc,_0xde8ea0);}}),this['_createUser'](_0x20d9b0['connection']['me'],!0x0);}['register'](_0x3f4ffc,_0x12bc18){if(this['_registeredSessions']['has'](_0x3f4ffc))throw new ckeditor5['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x3f4ffc});this['_registeredSessions']['set'](_0x3f4ffc,_0x12bc18),this['channelSessions']['set'](_0x3f4ffc,new ckeditor5['Collection']()),this['channelConnectedUsers']['set'](_0x3f4ffc,new ckeditor5['Collection']()),this['listenTo'](_0x12bc18,'add',(_0x2d4abf,_0x1e1c43)=>this['_handleSessionAdd'](_0x3f4ffc,_0x1e1c43)),this['listenTo'](_0x12bc18,'remove',(_0x18f2cf,_0x3a3637)=>this['_handleSessionRemove'](_0x3f4ffc,_0x3a3637));for(const _0x222b42 of _0x12bc18)this['_handleSessionAdd'](_0x3f4ffc,_0x222b42);}['unregister'](_0x1d5fae){if(!this['_registeredSessions']['has'](_0x1d5fae))throw new ckeditor5['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x1d5fae});const _0x357db1=this['_registeredSessions']['get'](_0x1d5fae);this['stopListening'](_0x357db1);for(const _0xf04e3c of _0x357db1)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x1d5fae,_0xf04e3c);this['_registeredSessions']['delete'](_0x1d5fae),this['channelSessions']['delete'](_0x1d5fae),this['channelConnectedUsers']['delete'](_0x1d5fae);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x46d381){for(const _0x45724f of this['channelSessions']['values']())for(const _0x1c176c of _0x45724f)if(_0x1c176c['id']===_0x46d381)return _0x1c176c['user'];}['getUserSessions'](_0x2afd39,_0x2f06c5){const _0x2c7b32=_0x2f06c5?[this['channelSessions']['get'](_0x2f06c5)]:this['channelSessions']['values'](),_0x2d563f=new Set();for(const _0x3d1cef of _0x2c7b32)for(const _0x164466 of _0x3d1cef)_0x164466['user']['id']===_0x2afd39['id']&&_0x2d563f['add'](_0x164466['id']);return _0x2d563f;}['getUserRole'](_0x3d1a66){for(const _0x365026 of this['channelSessions']['values']())for(const _0x415d99 of _0x365026)if(_0x415d99['user']===_0x3d1a66)return _0x415d99['role'];}['_handleSessionAdd'](_0x27b3f4,_0x25254d){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x5cee96=_0x25254d['user'],_0x490cc1=this['_users']['getUser'](_0x5cee96['id'])||this['_createUser'](_0x5cee96),_0x290ff4=Object['assign']({},_0x25254d,{'user':_0x490cc1});if(this['channelSessions']['get'](_0x27b3f4)['add'](_0x290ff4),!_0x5cee96['hiddenInPresenceList']){const _0x340bf5=this['channelConnectedUsers']['get'](_0x27b3f4);_0x340bf5['has'](_0x490cc1['id'])||_0x340bf5['add'](_0x490cc1),this['allConnectedUsers']['has'](_0x490cc1['id'])||_0x5cee96['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x490cc1,_0x490cc1['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x27b3f4,{'channelId':_0x27b3f4,'session':_0x290ff4});}['_handleSessionRemove'](_0x3022b8,_0x44e864){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x86d706=this['channelConnectedUsers']['get'](_0x3022b8),_0x46b934=_0x44e864['user'];_0x46b934['id']&&(this['channelSessions']['get'](_0x3022b8)['remove'](_0x44e864['id']),_0x86d706['has'](_0x46b934['id'])&&!this['getUserSessions'](_0x46b934,_0x3022b8)['size']&&_0x86d706['remove'](_0x46b934['id']),this['allConnectedUsers']['get'](_0x46b934['id'])&&!this['getUserSessions'](_0x46b934)['size']&&this['allConnectedUsers']['remove'](_0x46b934['id']));}['_createUser'](_0x43a98d,_0x17d98a){const _0x26d084=this['_users']['addUser'](_0x43a98d);return _0x17d98a&&this['_users']['defineMe'](_0x43a98d['id']),_0x26d084['orderNumber']=this['_uniqueUsersCount']++,_0x26d084;}}class _0x51c7f3 extends ckeditor5['Plugin']{['_domEmitter']=new(ckeditor5['DomEmitterMixin']())();static get['requires'](){return[_0x494d0f];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5ce742=this['editor'],_0x3e19e1=_0x5ce742['plugins']['get'](_0x494d0f);_0x5ce742['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x2486bb,{writer:_0x37716f})=>createUserPositionViewElement(_0x2486bb,_0x37716f,_0x3e19e1,_0x5ce742)}),_0x5ce742['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0xd37e5b=>createUserRangeViewElement(_0xd37e5b,_0x3e19e1)}),createUserMarkerPostFixer(_0x5ce742),this['_domEmitter']['listenTo'](ckeditor5['global']['document'],'keydown',(_0xe6c81b,{key:_0x1e4095})=>{'Escape'===_0x1e4095&&hideHoveredUserPositionMarkersTooltips(_0x5ce742);},{'useCapture':!0x0});}['afterInit'](){const _0x1fd076=this['editor'],_0x19f86a=_0x1fd076['commands']['get']('undo');_0x19f86a&&_0x1fd076['model']['on']('applyOperation',(_0x2b43fe,_0x273661)=>{const _0xe2a9fa=_0x273661[0x0];if(!_0xe2a9fa['isDocumentOperation'])return;if('marker'!=_0xe2a9fa['type']||!_0xe2a9fa['name']['startsWith']('user:'))return;const _0x4fbbae=_0xe2a9fa['batch'];_0x19f86a['_createdBatches']['has'](_0x4fbbae)&&(_0xe2a9fa['newRange']=_0xe2a9fa['oldRange']?_0x1fd076['model']['createRange'](_0xe2a9fa['oldRange']['start'],_0xe2a9fa['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x4466c3=this['editor'],_0x1e6b3c=_0x4466c3['model']['document'],_0xce7f5f=_0x4466c3['plugins']['get'](_0x494d0f);_0x4466c3['model']['enqueueChange']({'isUndoable':!0x1},_0x360b32=>{const _0xf77449='user:range:'+_0xce7f5f['mySessionId'],_0x4d3ad3='user:position:'+_0xce7f5f['mySessionId'],_0x331948=_0x4466c3['model']['markers']['has'](_0xf77449);_0x4466c3['editing']['view']['hasDomSelection']?updateUserMarkers(_0xce7f5f['mySessionId'],_0x1e6b3c['selection']['getFirstRange'](),_0x4466c3['model'],_0x360b32):_0x331948&&(_0x360b32['removeMarker'](_0xf77449),_0x360b32['removeMarker'](_0x4d3ad3));});}}function updateUserMarkers(_0x4031d2,_0x15348f,_0xcbbe7a,_0xb7447){const _0x4ee4d4='user:range:'+_0x4031d2,_0x38e517='user:position:'+_0x4031d2,_0x331c5c=_0x15348f['getContainedElement']();let _0x1150f8=_0x15348f['start'];if(_0x331c5c&&_0x331c5c['is']('element','tableCell')){const _0x55910c=getPositionForText(_0x15348f,_0xcbbe7a);_0x55910c&&(_0x1150f8=_0x55910c,_0x15348f=_0xb7447['createRange'](_0x1150f8));}const _0x5a7b2f=_0xb7447['createRange'](_0x1150f8);_0xcbbe7a['markers']['has'](_0x4ee4d4)?(_0xb7447['updateMarker'](_0x4ee4d4,{'range':_0x15348f}),_0xb7447['updateMarker'](_0x38e517,{'range':_0x5a7b2f})):(_0xb7447['addMarker'](_0x4ee4d4,{'range':_0x15348f,'usingOperation':!0x0}),_0xb7447['addMarker'](_0x38e517,{'range':_0x5a7b2f,'usingOperation':!0x0}));}function getPositionForText(_0x439dcc,_0x3ccf57){for(const _0x2e7ec6 of _0x439dcc['getPositions']())if(_0x3ccf57['schema']['checkChild'](_0x2e7ec6,'$text'))return _0x2e7ec6;}function createUserPositionViewElement(_0x5914dc,_0x23d3a7,_0x373daf,_0x4c9bf9){const _0x21e9b5=_0x5914dc['markerName']['split'](':')[0x2],_0x52cb76=_0x373daf['getUserBySessionId'](_0x21e9b5);if(!_0x52cb76||_0x21e9b5===_0x373daf['mySessionId'])return;if(!_0x4c9bf9['model']['schema']['checkChild'](_0x5914dc['markerRange']['start'],'$text'))return;const _0x31635={'class':'ck-user__marker\x20'+_0x52cb76['color']['getMarkerClass'](),'data-name':_0x52cb76['name'],'data-session-id':_0x21e9b5},_0x62b393=_0x4c9bf9['model']['markers']['get'](_0x5914dc['markerName'])['getStart'](),_0xe3ca7a=_0x62b393['nodeAfter'],_0x3a2254=_0x4c9bf9['model']['schema'];if(_0xe3ca7a&&_0x3a2254['isObject'](_0xe3ca7a)&&_0x3a2254['isInline'](_0xe3ca7a)&&!_0x4c9bf9['model']['markers']['get']('user:range:'+_0x21e9b5)['getRange']()['isCollapsed'])return;const _0x1a4e8e=_0x62b393['parent'];return _0x4c9bf9['model']['schema']['isLimit'](_0x1a4e8e)&&!_0x4c9bf9['model']['hasContent'](_0x1a4e8e)&&(_0x31635['contenteditable']=!0x1),createUserPositionMarkerElement(_0x23d3a7,_0x31635,_0x52cb76);}function createUserRangeViewElement(_0x17e3fb,_0xffe0bd){const _0x124daa=_0x17e3fb['markerName']['split'](':')[0x2];if(_0x124daa===_0xffe0bd['mySessionId'])return null;const _0x540ae7=_0xffe0bd['getUserBySessionId'](_0x124daa);return _0x540ae7?{'id':_0x124daa,'classes':['ck-user__selection',_0x540ae7['color']['getSelectionClass']()],'attributes':{'data-session-id':_0x124daa},'priority':0x7d0+_0x540ae7['orderNumber']}:{'id':_0x124daa,'classes':[]};}function createUserPositionMarkerElement(_0x5d3b04,_0xc6f088,_0x474f9d){const _0x44b546=_0x5d3b04['createUIElement']('span',_0xc6f088);return _0x5d3b04['setCustomProperty']('userPositionMarker',!0x0,_0x44b546),_0x44b546['render']=function(_0x186620){const _0x28c980=this['toDomElement'](_0x186620),_0x4a49b5=document['createElement']('span');return _0x4a49b5['classList']['add']('ck-user__marker-tooltip'),_0x4a49b5['setAttribute']('contenteditable','false'),_0x4a49b5['setAttribute']('spellcheck','false'),_0x4a49b5['textContent']=_0x474f9d['name'],_0x28c980['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x4a49b5['outerHTML']+'⁠',_0x28c980['addEventListener']('mouseenter',()=>{_0x28c980['classList']['add']('ck-user__marker_hovered');}),_0x28c980['addEventListener']('mouseleave',()=>{_0x28c980['classList']['remove']('ck-user__marker_hovered');}),_0x28c980;},_0x44b546['isSimilar']=function(_0x51433b){return!(!this['getCustomProperty']('userPositionMarker')||!_0x51433b['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x51433b['getAttribute']('data-session-id'));},_0x44b546;}function hideHoveredUserPositionMarkersTooltips(_0x166f00){_0x166f00['editing']['view']['change'](_0x29e456=>{for(const _0x561500 of _0x166f00['model']['markers']){if(!_0x561500['name']['startsWith']('user:position'))continue;const _0x389eb8=_0x166f00['editing']['mapper']['markerNameToElements'](_0x561500['name']);if(_0x389eb8){for(const _0x4dbe99 of _0x389eb8)_0x29e456['removeClass']('ck-user__marker_hovered',_0x4dbe99);}}});}function createUserMarkerPostFixer(_0x521d60){const _0x8e80a9=_0x521d60['model'],_0x24da0f=new Map(),_0x2b3bee=_0x521d60['plugins']['get'](_0x494d0f);_0x8e80a9['markers']['on']('update:user:range',(_0x49db60,_0x44736d,_0x48a583,_0x569f40)=>{if(!_0x569f40&&_0x24da0f['get'](_0x44736d['name']))return _0x24da0f['get'](_0x44736d['name'])['detach'](),void _0x24da0f['delete'](_0x44736d['name']);const _0x2aa2ac=_0x44736d['name']['split'](':')[0x2];if(_0x2aa2ac===_0x2b3bee['mySessionId'])return;const _0x550178='user:position:'+_0x2aa2ac;_0x8e80a9['markers']['has'](_0x550178)&&_0x521d60['editing']['reconvertMarker'](_0x550178),_0x44736d['on']('change:range',(_0x2d23c2,_0x21bb1b,_0x440c34)=>{if('$graveyard'!=_0x21bb1b['root']['rootName']&&'$graveyard'==_0x44736d['getRange']()['root']['rootName']&&!_0x24da0f['has'](_0x44736d['name'])){const _0xb1bcca=_0x8e80a9['schema']['getNearestSelectionRange'](_0x440c34['deletionPosition']);if(_0xb1bcca){const _0x1811e0=ckeditor5['ModelLiveRange']['fromRange'](_0xb1bcca);_0x24da0f['set'](_0x44736d['name'],_0x1811e0),_0x1811e0['on']('change:range',(_0x3475c5,_0x5b5a1f,_0x3b99ec)=>{if('$graveyard'==_0x1811e0['root']['rootName']){const _0x7f652d=_0x8e80a9['schema']['getNearestSelectionRange'](_0x3b99ec['deletionPosition']);_0x7f652d?(_0x1811e0['start']=_0x7f652d['start'],_0x1811e0['end']=_0x7f652d['end']):(_0x24da0f['delete'](_0x44736d['name']),_0x1811e0['detach']());}});}}});}),_0x8e80a9['document']['on']('change',()=>{_0x24da0f['size']>0x0&&_0x8e80a9['enqueueChange']({'isUndoable':!0x1},_0x320b1d=>{for(const [_0x347342,_0x2749f9]of _0x24da0f)'$graveyard'==_0x8e80a9['markers']['get'](_0x347342)['getRange']()['root']['rootName']&&(updateUserMarkers(_0x347342['split'](':')[0x2],_0x2749f9['toRange'](),_0x8e80a9,_0x320b1d),_0x2749f9['detach']());_0x24da0f['clear']();});});}function getTranslation$6(_0x2a0681,_0x48febc,_0x2b3b13){const _0x34a90c=_0x2a0681['t'],t=_0x2a0681['t'];switch(_0x48febc){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 _0x34a90c({'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'},_0x2b3b13);default:return'';}}const _0x24718b=/* #__PURE__ -- @preserve */
((()=>{var _0x5457c1=minimalExports['Reader'],_0xc53c62=minimalExports['Writer'],_0x52b980=minimalExports['util'],_0x2d0fe2=minimalExports['roots']['default']||(minimalExports['roots']['default']={});return _0x2d0fe2['AttributeOperation']=(function(){function _0x43f161(_0x5b2f48){if(_0x5b2f48){for(var _0x384d91=Object['keys'](_0x5b2f48),_0x548722=0x0;_0x548722<_0x384d91['length'];++_0x548722)null!=_0x5b2f48[_0x384d91[_0x548722]]&&(this[_0x384d91[_0x548722]]=_0x5b2f48[_0x384d91[_0x548722]]);}}return _0x43f161['prototype']['range']=null,_0x43f161['prototype']['key']='',_0x43f161['prototype']['oldValueBoolean']=!0x1,_0x43f161['prototype']['oldValueJson']='',_0x43f161['prototype']['newValueBoolean']=!0x1,_0x43f161['prototype']['newValueJson']='',_0x43f161['prototype']['wasUndone']=!0x1,_0x43f161['create']=function(_0x4e3432){return new _0x43f161(_0x4e3432);},_0x43f161['encode']=function(_0xdcd12,_0x1a0c21){return _0x1a0c21||(_0x1a0c21=_0xc53c62['create']()),null!=_0xdcd12['range']&&Object['hasOwnProperty']['call'](_0xdcd12,'range')&&_0x2d0fe2['Range']['encode'](_0xdcd12['range'],_0x1a0c21['uint32'](0xa)['fork']())['ldelim'](),null!=_0xdcd12['key']&&Object['hasOwnProperty']['call'](_0xdcd12,'key')&&_0x1a0c21['uint32'](0x12)['string'](_0xdcd12['key']),null!=_0xdcd12['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0xdcd12,'oldValueBoolean')&&_0x1a0c21['uint32'](0x18)['bool'](_0xdcd12['oldValueBoolean']),null!=_0xdcd12['oldValueJson']&&Object['hasOwnProperty']['call'](_0xdcd12,'oldValueJson')&&_0x1a0c21['uint32'](0x22)['string'](_0xdcd12['oldValueJson']),null!=_0xdcd12['newValueBoolean']&&Object['hasOwnProperty']['call'](_0xdcd12,'newValueBoolean')&&_0x1a0c21['uint32'](0x28)['bool'](_0xdcd12['newValueBoolean']),null!=_0xdcd12['newValueJson']&&Object['hasOwnProperty']['call'](_0xdcd12,'newValueJson')&&_0x1a0c21['uint32'](0x32)['string'](_0xdcd12['newValueJson']),null!=_0xdcd12['wasUndone']&&Object['hasOwnProperty']['call'](_0xdcd12,'wasUndone')&&_0x1a0c21['uint32'](0x38)['bool'](_0xdcd12['wasUndone']),_0x1a0c21;},_0x43f161['encodeDelimited']=function(_0x2df630,_0xe1311a){return this['encode'](_0x2df630,_0xe1311a)['ldelim']();},_0x43f161['decode']=function(_0x43ce7e,_0x2edd4b){_0x43ce7e instanceof _0x5457c1||(_0x43ce7e=_0x5457c1['create'](_0x43ce7e));for(var _0x3d6adb=void 0x0===_0x2edd4b?_0x43ce7e['len']:_0x43ce7e['pos']+_0x2edd4b,_0x3ad110=new _0x2d0fe2['AttributeOperation']();_0x43ce7e['pos']<_0x3d6adb;){var _0x19fc7f=_0x43ce7e['uint32']();switch(_0x19fc7f>>>0x3){case 0x1:_0x3ad110['range']=_0x2d0fe2['Range']['decode'](_0x43ce7e,_0x43ce7e['uint32']());break;case 0x2:_0x3ad110['key']=_0x43ce7e['string']();break;case 0x3:_0x3ad110['oldValueBoolean']=_0x43ce7e['bool']();break;case 0x4:_0x3ad110['oldValueJson']=_0x43ce7e['string']();break;case 0x5:_0x3ad110['newValueBoolean']=_0x43ce7e['bool']();break;case 0x6:_0x3ad110['newValueJson']=_0x43ce7e['string']();break;case 0x7:_0x3ad110['wasUndone']=_0x43ce7e['bool']();break;default:_0x43ce7e['skipType'](0x7&_0x19fc7f);}}return _0x3ad110;},_0x43f161['decodeDelimited']=function(_0x4bb84b){return _0x4bb84b instanceof _0x5457c1||(_0x4bb84b=new _0x5457c1(_0x4bb84b)),this['decode'](_0x4bb84b,_0x4bb84b['uint32']());},_0x43f161['verify']=function(_0x9e32bb){if('object'!=typeof _0x9e32bb||null===_0x9e32bb)return'object\x20expected';if(null!=_0x9e32bb['range']&&_0x9e32bb['hasOwnProperty']('range')){var _0x5e2f34=_0x2d0fe2['Range']['verify'](_0x9e32bb['range']);if(_0x5e2f34)return'range.'+_0x5e2f34;}return null!=_0x9e32bb['key']&&_0x9e32bb['hasOwnProperty']('key')&&!_0x52b980['isString'](_0x9e32bb['key'])?'key:\x20string\x20expected':null!=_0x9e32bb['oldValueBoolean']&&_0x9e32bb['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x9e32bb['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x9e32bb['oldValueJson']&&_0x9e32bb['hasOwnProperty']('oldValueJson')&&!_0x52b980['isString'](_0x9e32bb['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x9e32bb['newValueBoolean']&&_0x9e32bb['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x9e32bb['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x9e32bb['newValueJson']&&_0x9e32bb['hasOwnProperty']('newValueJson')&&!_0x52b980['isString'](_0x9e32bb['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x9e32bb['wasUndone']&&_0x9e32bb['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x9e32bb['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x43f161['fromObject']=function(_0x430242){if(_0x430242 instanceof _0x2d0fe2['AttributeOperation'])return _0x430242;var _0xe58e56=new _0x2d0fe2['AttributeOperation']();if(null!=_0x430242['range']){if('object'!=typeof _0x430242['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0xe58e56['range']=_0x2d0fe2['Range']['fromObject'](_0x430242['range']);}return null!=_0x430242['key']&&(_0xe58e56['key']=String(_0x430242['key'])),null!=_0x430242['oldValueBoolean']&&(_0xe58e56['oldValueBoolean']=Boolean(_0x430242['oldValueBoolean'])),null!=_0x430242['oldValueJson']&&(_0xe58e56['oldValueJson']=String(_0x430242['oldValueJson'])),null!=_0x430242['newValueBoolean']&&(_0xe58e56['newValueBoolean']=Boolean(_0x430242['newValueBoolean'])),null!=_0x430242['newValueJson']&&(_0xe58e56['newValueJson']=String(_0x430242['newValueJson'])),null!=_0x430242['wasUndone']&&(_0xe58e56['wasUndone']=Boolean(_0x430242['wasUndone'])),_0xe58e56;},_0x43f161['toObject']=function(_0x474273,_0x528a69){_0x528a69||(_0x528a69={});var _0x4cf374={};return _0x528a69['defaults']&&(_0x4cf374['range']=null,_0x4cf374['key']='',_0x4cf374['oldValueBoolean']=!0x1,_0x4cf374['oldValueJson']='',_0x4cf374['newValueBoolean']=!0x1,_0x4cf374['newValueJson']='',_0x4cf374['wasUndone']=!0x1),null!=_0x474273['range']&&_0x474273['hasOwnProperty']('range')&&(_0x4cf374['range']=_0x2d0fe2['Range']['toObject'](_0x474273['range'],_0x528a69)),null!=_0x474273['key']&&_0x474273['hasOwnProperty']('key')&&(_0x4cf374['key']=_0x474273['key']),null!=_0x474273['oldValueBoolean']&&_0x474273['hasOwnProperty']('oldValueBoolean')&&(_0x4cf374['oldValueBoolean']=_0x474273['oldValueBoolean']),null!=_0x474273['oldValueJson']&&_0x474273['hasOwnProperty']('oldValueJson')&&(_0x4cf374['oldValueJson']=_0x474273['oldValueJson']),null!=_0x474273['newValueBoolean']&&_0x474273['hasOwnProperty']('newValueBoolean')&&(_0x4cf374['newValueBoolean']=_0x474273['newValueBoolean']),null!=_0x474273['newValueJson']&&_0x474273['hasOwnProperty']('newValueJson')&&(_0x4cf374['newValueJson']=_0x474273['newValueJson']),null!=_0x474273['wasUndone']&&_0x474273['hasOwnProperty']('wasUndone')&&(_0x4cf374['wasUndone']=_0x474273['wasUndone']),_0x4cf374;},_0x43f161['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x43f161['getTypeUrl']=function(_0x1f8ac6){return void 0x0===_0x1f8ac6&&(_0x1f8ac6='type.googleapis.com'),_0x1f8ac6+'/AttributeOperation';},_0x43f161;}()),_0x2d0fe2['InsertOperation']=(function(){function _0xe43c6c(_0x5a917c){if(this['nodes']=[],_0x5a917c){for(var _0x3ba236=Object['keys'](_0x5a917c),_0x12d48d=0x0;_0x12d48d<_0x3ba236['length'];++_0x12d48d)null!=_0x5a917c[_0x3ba236[_0x12d48d]]&&(this[_0x3ba236[_0x12d48d]]=_0x5a917c[_0x3ba236[_0x12d48d]]);}}return _0xe43c6c['prototype']['position']=null,_0xe43c6c['prototype']['nodes']=_0x52b980['emptyArray'],_0xe43c6c['prototype']['shouldReceiveAttributes']=!0x1,_0xe43c6c['prototype']['wasUndone']=!0x1,_0xe43c6c['create']=function(_0x3db6a6){return new _0xe43c6c(_0x3db6a6);},_0xe43c6c['encode']=function(_0x4d8144,_0xfa0f6b){if(_0xfa0f6b||(_0xfa0f6b=_0xc53c62['create']()),null!=_0x4d8144['position']&&Object['hasOwnProperty']['call'](_0x4d8144,'position')&&_0x2d0fe2['Position']['encode'](_0x4d8144['position'],_0xfa0f6b['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4d8144['nodes']&&_0x4d8144['nodes']['length']){for(var _0x45733a=0x0;_0x45733a<_0x4d8144['nodes']['length'];++_0x45733a)_0x2d0fe2['Element']['encode'](_0x4d8144['nodes'][_0x45733a],_0xfa0f6b['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x4d8144['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x4d8144,'shouldReceiveAttributes')&&_0xfa0f6b['uint32'](0x18)['bool'](_0x4d8144['shouldReceiveAttributes']),null!=_0x4d8144['wasUndone']&&Object['hasOwnProperty']['call'](_0x4d8144,'wasUndone')&&_0xfa0f6b['uint32'](0x20)['bool'](_0x4d8144['wasUndone']),_0xfa0f6b;},_0xe43c6c['encodeDelimited']=function(_0x4a1ec5,_0x388dc4){return this['encode'](_0x4a1ec5,_0x388dc4)['ldelim']();},_0xe43c6c['decode']=function(_0x38a5f6,_0x328463){_0x38a5f6 instanceof _0x5457c1||(_0x38a5f6=_0x5457c1['create'](_0x38a5f6));for(var _0x5c8c00=void 0x0===_0x328463?_0x38a5f6['len']:_0x38a5f6['pos']+_0x328463,_0x59f904=new _0x2d0fe2['InsertOperation']();_0x38a5f6['pos']<_0x5c8c00;){var _0x1a07c4=_0x38a5f6['uint32']();switch(_0x1a07c4>>>0x3){case 0x1:_0x59f904['position']=_0x2d0fe2['Position']['decode'](_0x38a5f6,_0x38a5f6['uint32']());break;case 0x2:_0x59f904['nodes']&&_0x59f904['nodes']['length']||(_0x59f904['nodes']=[]),_0x59f904['nodes']['push'](_0x2d0fe2['Element']['decode'](_0x38a5f6,_0x38a5f6['uint32']()));break;case 0x3:_0x59f904['shouldReceiveAttributes']=_0x38a5f6['bool']();break;case 0x4:_0x59f904['wasUndone']=_0x38a5f6['bool']();break;default:_0x38a5f6['skipType'](0x7&_0x1a07c4);}}return _0x59f904;},_0xe43c6c['decodeDelimited']=function(_0x3ed8a0){return _0x3ed8a0 instanceof _0x5457c1||(_0x3ed8a0=new _0x5457c1(_0x3ed8a0)),this['decode'](_0x3ed8a0,_0x3ed8a0['uint32']());},_0xe43c6c['verify']=function(_0xe873e5){if('object'!=typeof _0xe873e5||null===_0xe873e5)return'object\x20expected';if(null!=_0xe873e5['position']&&_0xe873e5['hasOwnProperty']('position')&&(_0x4110fb=_0x2d0fe2['Position']['verify'](_0xe873e5['position'])))return'position.'+_0x4110fb;if(null!=_0xe873e5['nodes']&&_0xe873e5['hasOwnProperty']('nodes')){if(!Array['isArray'](_0xe873e5['nodes']))return'nodes:\x20array\x20expected';for(var _0x34a640=0x0;_0x34a640<_0xe873e5['nodes']['length'];++_0x34a640){var _0x4110fb;if(_0x4110fb=_0x2d0fe2['Element']['verify'](_0xe873e5['nodes'][_0x34a640]))return'nodes.'+_0x4110fb;}}return null!=_0xe873e5['shouldReceiveAttributes']&&_0xe873e5['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0xe873e5['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0xe873e5['wasUndone']&&_0xe873e5['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xe873e5['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xe43c6c['fromObject']=function(_0x2162b5){if(_0x2162b5 instanceof _0x2d0fe2['InsertOperation'])return _0x2162b5;var _0x5e4ba7=new _0x2d0fe2['InsertOperation']();if(null!=_0x2162b5['position']){if('object'!=typeof _0x2162b5['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x5e4ba7['position']=_0x2d0fe2['Position']['fromObject'](_0x2162b5['position']);}if(_0x2162b5['nodes']){if(!Array['isArray'](_0x2162b5['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x5e4ba7['nodes']=[];for(var _0x4de52e=0x0;_0x4de52e<_0x2162b5['nodes']['length'];++_0x4de52e){if('object'!=typeof _0x2162b5['nodes'][_0x4de52e])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x5e4ba7['nodes'][_0x4de52e]=_0x2d0fe2['Element']['fromObject'](_0x2162b5['nodes'][_0x4de52e]);}}return null!=_0x2162b5['shouldReceiveAttributes']&&(_0x5e4ba7['shouldReceiveAttributes']=Boolean(_0x2162b5['shouldReceiveAttributes'])),null!=_0x2162b5['wasUndone']&&(_0x5e4ba7['wasUndone']=Boolean(_0x2162b5['wasUndone'])),_0x5e4ba7;},_0xe43c6c['toObject']=function(_0x54f835,_0x3a07b1){_0x3a07b1||(_0x3a07b1={});var _0x1bc8c8={};if((_0x3a07b1['arrays']||_0x3a07b1['defaults'])&&(_0x1bc8c8['nodes']=[]),_0x3a07b1['defaults']&&(_0x1bc8c8['position']=null,_0x1bc8c8['shouldReceiveAttributes']=!0x1,_0x1bc8c8['wasUndone']=!0x1),null!=_0x54f835['position']&&_0x54f835['hasOwnProperty']('position')&&(_0x1bc8c8['position']=_0x2d0fe2['Position']['toObject'](_0x54f835['position'],_0x3a07b1)),_0x54f835['nodes']&&_0x54f835['nodes']['length']){_0x1bc8c8['nodes']=[];for(var _0xd53bc3=0x0;_0xd53bc3<_0x54f835['nodes']['length'];++_0xd53bc3)_0x1bc8c8['nodes'][_0xd53bc3]=_0x2d0fe2['Element']['toObject'](_0x54f835['nodes'][_0xd53bc3],_0x3a07b1);}return null!=_0x54f835['shouldReceiveAttributes']&&_0x54f835['hasOwnProperty']('shouldReceiveAttributes')&&(_0x1bc8c8['shouldReceiveAttributes']=_0x54f835['shouldReceiveAttributes']),null!=_0x54f835['wasUndone']&&_0x54f835['hasOwnProperty']('wasUndone')&&(_0x1bc8c8['wasUndone']=_0x54f835['wasUndone']),_0x1bc8c8;},_0xe43c6c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0xe43c6c['getTypeUrl']=function(_0x24ec76){return void 0x0===_0x24ec76&&(_0x24ec76='type.googleapis.com'),_0x24ec76+'/InsertOperation';},_0xe43c6c;}()),_0x2d0fe2['MarkerOperation']=(function(){function _0x1517f7(_0x3baadb){if(_0x3baadb){for(var _0x5d4ed1=Object['keys'](_0x3baadb),_0x98c895=0x0;_0x98c895<_0x5d4ed1['length'];++_0x98c895)null!=_0x3baadb[_0x5d4ed1[_0x98c895]]&&(this[_0x5d4ed1[_0x98c895]]=_0x3baadb[_0x5d4ed1[_0x98c895]]);}}return _0x1517f7['prototype']['name']='',_0x1517f7['prototype']['oldRange']=null,_0x1517f7['prototype']['newRange']=null,_0x1517f7['prototype']['affectsData']=!0x1,_0x1517f7['prototype']['wasUndone']=!0x1,_0x1517f7['create']=function(_0x3385a9){return new _0x1517f7(_0x3385a9);},_0x1517f7['encode']=function(_0x304e61,_0x5ed55d){return _0x5ed55d||(_0x5ed55d=_0xc53c62['create']()),null!=_0x304e61['name']&&Object['hasOwnProperty']['call'](_0x304e61,'name')&&_0x5ed55d['uint32'](0xa)['string'](_0x304e61['name']),null!=_0x304e61['oldRange']&&Object['hasOwnProperty']['call'](_0x304e61,'oldRange')&&_0x2d0fe2['Range']['encode'](_0x304e61['oldRange'],_0x5ed55d['uint32'](0x12)['fork']())['ldelim'](),null!=_0x304e61['newRange']&&Object['hasOwnProperty']['call'](_0x304e61,'newRange')&&_0x2d0fe2['Range']['encode'](_0x304e61['newRange'],_0x5ed55d['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x304e61['affectsData']&&Object['hasOwnProperty']['call'](_0x304e61,'affectsData')&&_0x5ed55d['uint32'](0x20)['bool'](_0x304e61['affectsData']),null!=_0x304e61['wasUndone']&&Object['hasOwnProperty']['call'](_0x304e61,'wasUndone')&&_0x5ed55d['uint32'](0x28)['bool'](_0x304e61['wasUndone']),_0x5ed55d;},_0x1517f7['encodeDelimited']=function(_0x44fc3e,_0x112b7b){return this['encode'](_0x44fc3e,_0x112b7b)['ldelim']();},_0x1517f7['decode']=function(_0x3193df,_0x549ff5){_0x3193df instanceof _0x5457c1||(_0x3193df=_0x5457c1['create'](_0x3193df));for(var _0x49b1ba=void 0x0===_0x549ff5?_0x3193df['len']:_0x3193df['pos']+_0x549ff5,_0x2db93e=new _0x2d0fe2['MarkerOperation']();_0x3193df['pos']<_0x49b1ba;){var _0x4f7163=_0x3193df['uint32']();switch(_0x4f7163>>>0x3){case 0x1:_0x2db93e['name']=_0x3193df['string']();break;case 0x2:_0x2db93e['oldRange']=_0x2d0fe2['Range']['decode'](_0x3193df,_0x3193df['uint32']());break;case 0x3:_0x2db93e['newRange']=_0x2d0fe2['Range']['decode'](_0x3193df,_0x3193df['uint32']());break;case 0x4:_0x2db93e['affectsData']=_0x3193df['bool']();break;case 0x5:_0x2db93e['wasUndone']=_0x3193df['bool']();break;default:_0x3193df['skipType'](0x7&_0x4f7163);}}return _0x2db93e;},_0x1517f7['decodeDelimited']=function(_0xd4145c){return _0xd4145c instanceof _0x5457c1||(_0xd4145c=new _0x5457c1(_0xd4145c)),this['decode'](_0xd4145c,_0xd4145c['uint32']());},_0x1517f7['verify']=function(_0xfc2274){if('object'!=typeof _0xfc2274||null===_0xfc2274)return'object\x20expected';if(null!=_0xfc2274['name']&&_0xfc2274['hasOwnProperty']('name')&&!_0x52b980['isString'](_0xfc2274['name']))return'name:\x20string\x20expected';var _0x264f3c;if(null!=_0xfc2274['oldRange']&&_0xfc2274['hasOwnProperty']('oldRange')&&(_0x264f3c=_0x2d0fe2['Range']['verify'](_0xfc2274['oldRange'])))return'oldRange.'+_0x264f3c;if(null!=_0xfc2274['newRange']&&_0xfc2274['hasOwnProperty']('newRange')&&(_0x264f3c=_0x2d0fe2['Range']['verify'](_0xfc2274['newRange'])))return'newRange.'+_0x264f3c;return null!=_0xfc2274['affectsData']&&_0xfc2274['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0xfc2274['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0xfc2274['wasUndone']&&_0xfc2274['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xfc2274['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1517f7['fromObject']=function(_0x36c3f6){if(_0x36c3f6 instanceof _0x2d0fe2['MarkerOperation'])return _0x36c3f6;var _0x22ea68=new _0x2d0fe2['MarkerOperation']();if(null!=_0x36c3f6['name']&&(_0x22ea68['name']=String(_0x36c3f6['name'])),null!=_0x36c3f6['oldRange']){if('object'!=typeof _0x36c3f6['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x22ea68['oldRange']=_0x2d0fe2['Range']['fromObject'](_0x36c3f6['oldRange']);}if(null!=_0x36c3f6['newRange']){if('object'!=typeof _0x36c3f6['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x22ea68['newRange']=_0x2d0fe2['Range']['fromObject'](_0x36c3f6['newRange']);}return null!=_0x36c3f6['affectsData']&&(_0x22ea68['affectsData']=Boolean(_0x36c3f6['affectsData'])),null!=_0x36c3f6['wasUndone']&&(_0x22ea68['wasUndone']=Boolean(_0x36c3f6['wasUndone'])),_0x22ea68;},_0x1517f7['toObject']=function(_0x3a7494,_0x29cc65){_0x29cc65||(_0x29cc65={});var _0x47abe4={};return _0x29cc65['defaults']&&(_0x47abe4['name']='',_0x47abe4['oldRange']=null,_0x47abe4['newRange']=null,_0x47abe4['affectsData']=!0x1,_0x47abe4['wasUndone']=!0x1),null!=_0x3a7494['name']&&_0x3a7494['hasOwnProperty']('name')&&(_0x47abe4['name']=_0x3a7494['name']),null!=_0x3a7494['oldRange']&&_0x3a7494['hasOwnProperty']('oldRange')&&(_0x47abe4['oldRange']=_0x2d0fe2['Range']['toObject'](_0x3a7494['oldRange'],_0x29cc65)),null!=_0x3a7494['newRange']&&_0x3a7494['hasOwnProperty']('newRange')&&(_0x47abe4['newRange']=_0x2d0fe2['Range']['toObject'](_0x3a7494['newRange'],_0x29cc65)),null!=_0x3a7494['affectsData']&&_0x3a7494['hasOwnProperty']('affectsData')&&(_0x47abe4['affectsData']=_0x3a7494['affectsData']),null!=_0x3a7494['wasUndone']&&_0x3a7494['hasOwnProperty']('wasUndone')&&(_0x47abe4['wasUndone']=_0x3a7494['wasUndone']),_0x47abe4;},_0x1517f7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x1517f7['getTypeUrl']=function(_0x3746ce){return void 0x0===_0x3746ce&&(_0x3746ce='type.googleapis.com'),_0x3746ce+'/MarkerOperation';},_0x1517f7;}()),_0x2d0fe2['MergeOperation']=(function(){function _0x5ce05f(_0x3eb80b){if(_0x3eb80b){for(var _0x26d659=Object['keys'](_0x3eb80b),_0x39cbfd=0x0;_0x39cbfd<_0x26d659['length'];++_0x39cbfd)null!=_0x3eb80b[_0x26d659[_0x39cbfd]]&&(this[_0x26d659[_0x39cbfd]]=_0x3eb80b[_0x26d659[_0x39cbfd]]);}}return _0x5ce05f['prototype']['sourcePosition']=null,_0x5ce05f['prototype']['targetPosition']=null,_0x5ce05f['prototype']['graveyardPosition']=null,_0x5ce05f['prototype']['howMany']=0x0,_0x5ce05f['prototype']['wasUndone']=!0x1,_0x5ce05f['create']=function(_0x39fe1a){return new _0x5ce05f(_0x39fe1a);},_0x5ce05f['encode']=function(_0x40cbac,_0x262ad3){return _0x262ad3||(_0x262ad3=_0xc53c62['create']()),null!=_0x40cbac['sourcePosition']&&Object['hasOwnProperty']['call'](_0x40cbac,'sourcePosition')&&_0x2d0fe2['Position']['encode'](_0x40cbac['sourcePosition'],_0x262ad3['uint32'](0xa)['fork']())['ldelim'](),null!=_0x40cbac['targetPosition']&&Object['hasOwnProperty']['call'](_0x40cbac,'targetPosition')&&_0x2d0fe2['Position']['encode'](_0x40cbac['targetPosition'],_0x262ad3['uint32'](0x12)['fork']())['ldelim'](),null!=_0x40cbac['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x40cbac,'graveyardPosition')&&_0x2d0fe2['Position']['encode'](_0x40cbac['graveyardPosition'],_0x262ad3['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x40cbac['howMany']&&Object['hasOwnProperty']['call'](_0x40cbac,'howMany')&&_0x262ad3['uint32'](0x20)['uint32'](_0x40cbac['howMany']),null!=_0x40cbac['wasUndone']&&Object['hasOwnProperty']['call'](_0x40cbac,'wasUndone')&&_0x262ad3['uint32'](0x28)['bool'](_0x40cbac['wasUndone']),_0x262ad3;},_0x5ce05f['encodeDelimited']=function(_0x109214,_0x25b30d){return this['encode'](_0x109214,_0x25b30d)['ldelim']();},_0x5ce05f['decode']=function(_0x2061f9,_0x2761c4){_0x2061f9 instanceof _0x5457c1||(_0x2061f9=_0x5457c1['create'](_0x2061f9));for(var _0x5cf162=void 0x0===_0x2761c4?_0x2061f9['len']:_0x2061f9['pos']+_0x2761c4,_0x1f627c=new _0x2d0fe2['MergeOperation']();_0x2061f9['pos']<_0x5cf162;){var _0x293591=_0x2061f9['uint32']();switch(_0x293591>>>0x3){case 0x1:_0x1f627c['sourcePosition']=_0x2d0fe2['Position']['decode'](_0x2061f9,_0x2061f9['uint32']());break;case 0x2:_0x1f627c['targetPosition']=_0x2d0fe2['Position']['decode'](_0x2061f9,_0x2061f9['uint32']());break;case 0x3:_0x1f627c['graveyardPosition']=_0x2d0fe2['Position']['decode'](_0x2061f9,_0x2061f9['uint32']());break;case 0x4:_0x1f627c['howMany']=_0x2061f9['uint32']();break;case 0x5:_0x1f627c['wasUndone']=_0x2061f9['bool']();break;default:_0x2061f9['skipType'](0x7&_0x293591);}}return _0x1f627c;},_0x5ce05f['decodeDelimited']=function(_0x54b15c){return _0x54b15c instanceof _0x5457c1||(_0x54b15c=new _0x5457c1(_0x54b15c)),this['decode'](_0x54b15c,_0x54b15c['uint32']());},_0x5ce05f['verify']=function(_0x4d4b70){if('object'!=typeof _0x4d4b70||null===_0x4d4b70)return'object\x20expected';var _0x3f2461;if(null!=_0x4d4b70['sourcePosition']&&_0x4d4b70['hasOwnProperty']('sourcePosition')&&(_0x3f2461=_0x2d0fe2['Position']['verify'](_0x4d4b70['sourcePosition'])))return'sourcePosition.'+_0x3f2461;if(null!=_0x4d4b70['targetPosition']&&_0x4d4b70['hasOwnProperty']('targetPosition')&&(_0x3f2461=_0x2d0fe2['Position']['verify'](_0x4d4b70['targetPosition'])))return'targetPosition.'+_0x3f2461;if(null!=_0x4d4b70['graveyardPosition']&&_0x4d4b70['hasOwnProperty']('graveyardPosition')&&(_0x3f2461=_0x2d0fe2['Position']['verify'](_0x4d4b70['graveyardPosition'])))return'graveyardPosition.'+_0x3f2461;return null!=_0x4d4b70['howMany']&&_0x4d4b70['hasOwnProperty']('howMany')&&!_0x52b980['isInteger'](_0x4d4b70['howMany'])?'howMany:\x20integer\x20expected':null!=_0x4d4b70['wasUndone']&&_0x4d4b70['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4d4b70['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5ce05f['fromObject']=function(_0x361d6a){if(_0x361d6a instanceof _0x2d0fe2['MergeOperation'])return _0x361d6a;var _0x3e3dc8=new _0x2d0fe2['MergeOperation']();if(null!=_0x361d6a['sourcePosition']){if('object'!=typeof _0x361d6a['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x3e3dc8['sourcePosition']=_0x2d0fe2['Position']['fromObject'](_0x361d6a['sourcePosition']);}if(null!=_0x361d6a['targetPosition']){if('object'!=typeof _0x361d6a['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x3e3dc8['targetPosition']=_0x2d0fe2['Position']['fromObject'](_0x361d6a['targetPosition']);}if(null!=_0x361d6a['graveyardPosition']){if('object'!=typeof _0x361d6a['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x3e3dc8['graveyardPosition']=_0x2d0fe2['Position']['fromObject'](_0x361d6a['graveyardPosition']);}return null!=_0x361d6a['howMany']&&(_0x3e3dc8['howMany']=_0x361d6a['howMany']>>>0x0),null!=_0x361d6a['wasUndone']&&(_0x3e3dc8['wasUndone']=Boolean(_0x361d6a['wasUndone'])),_0x3e3dc8;},_0x5ce05f['toObject']=function(_0x2d5a13,_0x1d7780){_0x1d7780||(_0x1d7780={});var _0x57b085={};return _0x1d7780['defaults']&&(_0x57b085['sourcePosition']=null,_0x57b085['targetPosition']=null,_0x57b085['graveyardPosition']=null,_0x57b085['howMany']=0x0,_0x57b085['wasUndone']=!0x1),null!=_0x2d5a13['sourcePosition']&&_0x2d5a13['hasOwnProperty']('sourcePosition')&&(_0x57b085['sourcePosition']=_0x2d0fe2['Position']['toObject'](_0x2d5a13['sourcePosition'],_0x1d7780)),null!=_0x2d5a13['targetPosition']&&_0x2d5a13['hasOwnProperty']('targetPosition')&&(_0x57b085['targetPosition']=_0x2d0fe2['Position']['toObject'](_0x2d5a13['targetPosition'],_0x1d7780)),null!=_0x2d5a13['graveyardPosition']&&_0x2d5a13['hasOwnProperty']('graveyardPosition')&&(_0x57b085['graveyardPosition']=_0x2d0fe2['Position']['toObject'](_0x2d5a13['graveyardPosition'],_0x1d7780)),null!=_0x2d5a13['howMany']&&_0x2d5a13['hasOwnProperty']('howMany')&&(_0x57b085['howMany']=_0x2d5a13['howMany']),null!=_0x2d5a13['wasUndone']&&_0x2d5a13['hasOwnProperty']('wasUndone')&&(_0x57b085['wasUndone']=_0x2d5a13['wasUndone']),_0x57b085;},_0x5ce05f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5ce05f['getTypeUrl']=function(_0x17c6e2){return void 0x0===_0x17c6e2&&(_0x17c6e2='type.googleapis.com'),_0x17c6e2+'/MergeOperation';},_0x5ce05f;}()),_0x2d0fe2['MoveOperation']=(function(){function _0x26dc8c(_0x401776){if(_0x401776){for(var _0x2eda35=Object['keys'](_0x401776),_0xfaa2a9=0x0;_0xfaa2a9<_0x2eda35['length'];++_0xfaa2a9)null!=_0x401776[_0x2eda35[_0xfaa2a9]]&&(this[_0x2eda35[_0xfaa2a9]]=_0x401776[_0x2eda35[_0xfaa2a9]]);}}return _0x26dc8c['prototype']['sourcePosition']=null,_0x26dc8c['prototype']['howMany']=0x0,_0x26dc8c['prototype']['targetPosition']=null,_0x26dc8c['prototype']['wasUndone']=!0x1,_0x26dc8c['create']=function(_0xd7f284){return new _0x26dc8c(_0xd7f284);},_0x26dc8c['encode']=function(_0x4f5868,_0x3ca529){return _0x3ca529||(_0x3ca529=_0xc53c62['create']()),null!=_0x4f5868['sourcePosition']&&Object['hasOwnProperty']['call'](_0x4f5868,'sourcePosition')&&_0x2d0fe2['Position']['encode'](_0x4f5868['sourcePosition'],_0x3ca529['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4f5868['howMany']&&Object['hasOwnProperty']['call'](_0x4f5868,'howMany')&&_0x3ca529['uint32'](0x10)['uint32'](_0x4f5868['howMany']),null!=_0x4f5868['targetPosition']&&Object['hasOwnProperty']['call'](_0x4f5868,'targetPosition')&&_0x2d0fe2['Position']['encode'](_0x4f5868['targetPosition'],_0x3ca529['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x4f5868['wasUndone']&&Object['hasOwnProperty']['call'](_0x4f5868,'wasUndone')&&_0x3ca529['uint32'](0x20)['bool'](_0x4f5868['wasUndone']),_0x3ca529;},_0x26dc8c['encodeDelimited']=function(_0x247784,_0xbe80d2){return this['encode'](_0x247784,_0xbe80d2)['ldelim']();},_0x26dc8c['decode']=function(_0x189a38,_0x371146){_0x189a38 instanceof _0x5457c1||(_0x189a38=_0x5457c1['create'](_0x189a38));for(var _0x4eb575=void 0x0===_0x371146?_0x189a38['len']:_0x189a38['pos']+_0x371146,_0x249560=new _0x2d0fe2['MoveOperation']();_0x189a38['pos']<_0x4eb575;){var _0x40314d=_0x189a38['uint32']();switch(_0x40314d>>>0x3){case 0x1:_0x249560['sourcePosition']=_0x2d0fe2['Position']['decode'](_0x189a38,_0x189a38['uint32']());break;case 0x2:_0x249560['howMany']=_0x189a38['uint32']();break;case 0x3:_0x249560['targetPosition']=_0x2d0fe2['Position']['decode'](_0x189a38,_0x189a38['uint32']());break;case 0x4:_0x249560['wasUndone']=_0x189a38['bool']();break;default:_0x189a38['skipType'](0x7&_0x40314d);}}return _0x249560;},_0x26dc8c['decodeDelimited']=function(_0x4175ab){return _0x4175ab instanceof _0x5457c1||(_0x4175ab=new _0x5457c1(_0x4175ab)),this['decode'](_0x4175ab,_0x4175ab['uint32']());},_0x26dc8c['verify']=function(_0x2bd295){if('object'!=typeof _0x2bd295||null===_0x2bd295)return'object\x20expected';var _0x6f0447;if(null!=_0x2bd295['sourcePosition']&&_0x2bd295['hasOwnProperty']('sourcePosition')&&(_0x6f0447=_0x2d0fe2['Position']['verify'](_0x2bd295['sourcePosition'])))return'sourcePosition.'+_0x6f0447;if(null!=_0x2bd295['howMany']&&_0x2bd295['hasOwnProperty']('howMany')&&!_0x52b980['isInteger'](_0x2bd295['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x2bd295['targetPosition']&&_0x2bd295['hasOwnProperty']('targetPosition')&&(_0x6f0447=_0x2d0fe2['Position']['verify'](_0x2bd295['targetPosition'])))return'targetPosition.'+_0x6f0447;return null!=_0x2bd295['wasUndone']&&_0x2bd295['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2bd295['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x26dc8c['fromObject']=function(_0xa737f9){if(_0xa737f9 instanceof _0x2d0fe2['MoveOperation'])return _0xa737f9;var _0x3bd3c5=new _0x2d0fe2['MoveOperation']();if(null!=_0xa737f9['sourcePosition']){if('object'!=typeof _0xa737f9['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x3bd3c5['sourcePosition']=_0x2d0fe2['Position']['fromObject'](_0xa737f9['sourcePosition']);}if(null!=_0xa737f9['howMany']&&(_0x3bd3c5['howMany']=_0xa737f9['howMany']>>>0x0),null!=_0xa737f9['targetPosition']){if('object'!=typeof _0xa737f9['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x3bd3c5['targetPosition']=_0x2d0fe2['Position']['fromObject'](_0xa737f9['targetPosition']);}return null!=_0xa737f9['wasUndone']&&(_0x3bd3c5['wasUndone']=Boolean(_0xa737f9['wasUndone'])),_0x3bd3c5;},_0x26dc8c['toObject']=function(_0x10d5fd,_0x1685f2){_0x1685f2||(_0x1685f2={});var _0x108358={};return _0x1685f2['defaults']&&(_0x108358['sourcePosition']=null,_0x108358['howMany']=0x0,_0x108358['targetPosition']=null,_0x108358['wasUndone']=!0x1),null!=_0x10d5fd['sourcePosition']&&_0x10d5fd['hasOwnProperty']('sourcePosition')&&(_0x108358['sourcePosition']=_0x2d0fe2['Position']['toObject'](_0x10d5fd['sourcePosition'],_0x1685f2)),null!=_0x10d5fd['howMany']&&_0x10d5fd['hasOwnProperty']('howMany')&&(_0x108358['howMany']=_0x10d5fd['howMany']),null!=_0x10d5fd['targetPosition']&&_0x10d5fd['hasOwnProperty']('targetPosition')&&(_0x108358['targetPosition']=_0x2d0fe2['Position']['toObject'](_0x10d5fd['targetPosition'],_0x1685f2)),null!=_0x10d5fd['wasUndone']&&_0x10d5fd['hasOwnProperty']('wasUndone')&&(_0x108358['wasUndone']=_0x10d5fd['wasUndone']),_0x108358;},_0x26dc8c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x26dc8c['getTypeUrl']=function(_0x11d7c1){return void 0x0===_0x11d7c1&&(_0x11d7c1='type.googleapis.com'),_0x11d7c1+'/MoveOperation';},_0x26dc8c;}()),_0x2d0fe2['RenameOperation']=(function(){function _0x23cd45(_0x3eeddf){if(_0x3eeddf){for(var _0x56886c=Object['keys'](_0x3eeddf),_0x16594f=0x0;_0x16594f<_0x56886c['length'];++_0x16594f)null!=_0x3eeddf[_0x56886c[_0x16594f]]&&(this[_0x56886c[_0x16594f]]=_0x3eeddf[_0x56886c[_0x16594f]]);}}return _0x23cd45['prototype']['position']=null,_0x23cd45['prototype']['oldName']='',_0x23cd45['prototype']['newName']='',_0x23cd45['prototype']['wasUndone']=!0x1,_0x23cd45['create']=function(_0xb971ad){return new _0x23cd45(_0xb971ad);},_0x23cd45['encode']=function(_0x16bb3e,_0x47dae0){return _0x47dae0||(_0x47dae0=_0xc53c62['create']()),null!=_0x16bb3e['position']&&Object['hasOwnProperty']['call'](_0x16bb3e,'position')&&_0x2d0fe2['Position']['encode'](_0x16bb3e['position'],_0x47dae0['uint32'](0xa)['fork']())['ldelim'](),null!=_0x16bb3e['oldName']&&Object['hasOwnProperty']['call'](_0x16bb3e,'oldName')&&_0x47dae0['uint32'](0x12)['string'](_0x16bb3e['oldName']),null!=_0x16bb3e['newName']&&Object['hasOwnProperty']['call'](_0x16bb3e,'newName')&&_0x47dae0['uint32'](0x1a)['string'](_0x16bb3e['newName']),null!=_0x16bb3e['wasUndone']&&Object['hasOwnProperty']['call'](_0x16bb3e,'wasUndone')&&_0x47dae0['uint32'](0x20)['bool'](_0x16bb3e['wasUndone']),_0x47dae0;},_0x23cd45['encodeDelimited']=function(_0x18a3a2,_0x1d3d42){return this['encode'](_0x18a3a2,_0x1d3d42)['ldelim']();},_0x23cd45['decode']=function(_0x5c9fe4,_0x21c6b6){_0x5c9fe4 instanceof _0x5457c1||(_0x5c9fe4=_0x5457c1['create'](_0x5c9fe4));for(var _0x53fe7c=void 0x0===_0x21c6b6?_0x5c9fe4['len']:_0x5c9fe4['pos']+_0x21c6b6,_0x588acf=new _0x2d0fe2['RenameOperation']();_0x5c9fe4['pos']<_0x53fe7c;){var _0x444901=_0x5c9fe4['uint32']();switch(_0x444901>>>0x3){case 0x1:_0x588acf['position']=_0x2d0fe2['Position']['decode'](_0x5c9fe4,_0x5c9fe4['uint32']());break;case 0x2:_0x588acf['oldName']=_0x5c9fe4['string']();break;case 0x3:_0x588acf['newName']=_0x5c9fe4['string']();break;case 0x4:_0x588acf['wasUndone']=_0x5c9fe4['bool']();break;default:_0x5c9fe4['skipType'](0x7&_0x444901);}}return _0x588acf;},_0x23cd45['decodeDelimited']=function(_0x5d0fa4){return _0x5d0fa4 instanceof _0x5457c1||(_0x5d0fa4=new _0x5457c1(_0x5d0fa4)),this['decode'](_0x5d0fa4,_0x5d0fa4['uint32']());},_0x23cd45['verify']=function(_0x420285){if('object'!=typeof _0x420285||null===_0x420285)return'object\x20expected';if(null!=_0x420285['position']&&_0x420285['hasOwnProperty']('position')){var _0x4a3519=_0x2d0fe2['Position']['verify'](_0x420285['position']);if(_0x4a3519)return'position.'+_0x4a3519;}return null!=_0x420285['oldName']&&_0x420285['hasOwnProperty']('oldName')&&!_0x52b980['isString'](_0x420285['oldName'])?'oldName:\x20string\x20expected':null!=_0x420285['newName']&&_0x420285['hasOwnProperty']('newName')&&!_0x52b980['isString'](_0x420285['newName'])?'newName:\x20string\x20expected':null!=_0x420285['wasUndone']&&_0x420285['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x420285['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x23cd45['fromObject']=function(_0x1fd14c){if(_0x1fd14c instanceof _0x2d0fe2['RenameOperation'])return _0x1fd14c;var _0x4e27b7=new _0x2d0fe2['RenameOperation']();if(null!=_0x1fd14c['position']){if('object'!=typeof _0x1fd14c['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x4e27b7['position']=_0x2d0fe2['Position']['fromObject'](_0x1fd14c['position']);}return null!=_0x1fd14c['oldName']&&(_0x4e27b7['oldName']=String(_0x1fd14c['oldName'])),null!=_0x1fd14c['newName']&&(_0x4e27b7['newName']=String(_0x1fd14c['newName'])),null!=_0x1fd14c['wasUndone']&&(_0x4e27b7['wasUndone']=Boolean(_0x1fd14c['wasUndone'])),_0x4e27b7;},_0x23cd45['toObject']=function(_0x2ca475,_0x4d7d69){_0x4d7d69||(_0x4d7d69={});var _0x4dcaac={};return _0x4d7d69['defaults']&&(_0x4dcaac['position']=null,_0x4dcaac['oldName']='',_0x4dcaac['newName']='',_0x4dcaac['wasUndone']=!0x1),null!=_0x2ca475['position']&&_0x2ca475['hasOwnProperty']('position')&&(_0x4dcaac['position']=_0x2d0fe2['Position']['toObject'](_0x2ca475['position'],_0x4d7d69)),null!=_0x2ca475['oldName']&&_0x2ca475['hasOwnProperty']('oldName')&&(_0x4dcaac['oldName']=_0x2ca475['oldName']),null!=_0x2ca475['newName']&&_0x2ca475['hasOwnProperty']('newName')&&(_0x4dcaac['newName']=_0x2ca475['newName']),null!=_0x2ca475['wasUndone']&&_0x2ca475['hasOwnProperty']('wasUndone')&&(_0x4dcaac['wasUndone']=_0x2ca475['wasUndone']),_0x4dcaac;},_0x23cd45['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x23cd45['getTypeUrl']=function(_0x641133){return void 0x0===_0x641133&&(_0x641133='type.googleapis.com'),_0x641133+'/RenameOperation';},_0x23cd45;}()),_0x2d0fe2['RootAttributeOperation']=(function(){function _0x5a9281(_0x3e4afd){if(_0x3e4afd){for(var _0x5dbe27=Object['keys'](_0x3e4afd),_0x5086bc=0x0;_0x5086bc<_0x5dbe27['length'];++_0x5086bc)null!=_0x3e4afd[_0x5dbe27[_0x5086bc]]&&(this[_0x5dbe27[_0x5086bc]]=_0x3e4afd[_0x5dbe27[_0x5086bc]]);}}return _0x5a9281['prototype']['root']='',_0x5a9281['prototype']['key']='',_0x5a9281['prototype']['oldValueBoolean']=!0x1,_0x5a9281['prototype']['oldValueJson']='',_0x5a9281['prototype']['newValueBoolean']=!0x1,_0x5a9281['prototype']['newValueJson']='',_0x5a9281['prototype']['wasUndone']=!0x1,_0x5a9281['create']=function(_0x24ed25){return new _0x5a9281(_0x24ed25);},_0x5a9281['encode']=function(_0x2afc6a,_0x58ced2){return _0x58ced2||(_0x58ced2=_0xc53c62['create']()),null!=_0x2afc6a['root']&&Object['hasOwnProperty']['call'](_0x2afc6a,'root')&&_0x58ced2['uint32'](0xa)['string'](_0x2afc6a['root']),null!=_0x2afc6a['key']&&Object['hasOwnProperty']['call'](_0x2afc6a,'key')&&_0x58ced2['uint32'](0x12)['string'](_0x2afc6a['key']),null!=_0x2afc6a['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x2afc6a,'oldValueBoolean')&&_0x58ced2['uint32'](0x18)['bool'](_0x2afc6a['oldValueBoolean']),null!=_0x2afc6a['oldValueJson']&&Object['hasOwnProperty']['call'](_0x2afc6a,'oldValueJson')&&_0x58ced2['uint32'](0x22)['string'](_0x2afc6a['oldValueJson']),null!=_0x2afc6a['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x2afc6a,'newValueBoolean')&&_0x58ced2['uint32'](0x28)['bool'](_0x2afc6a['newValueBoolean']),null!=_0x2afc6a['newValueJson']&&Object['hasOwnProperty']['call'](_0x2afc6a,'newValueJson')&&_0x58ced2['uint32'](0x32)['string'](_0x2afc6a['newValueJson']),null!=_0x2afc6a['wasUndone']&&Object['hasOwnProperty']['call'](_0x2afc6a,'wasUndone')&&_0x58ced2['uint32'](0x38)['bool'](_0x2afc6a['wasUndone']),_0x58ced2;},_0x5a9281['encodeDelimited']=function(_0x37ac58,_0x45d041){return this['encode'](_0x37ac58,_0x45d041)['ldelim']();},_0x5a9281['decode']=function(_0x3ff4b9,_0x479e71){_0x3ff4b9 instanceof _0x5457c1||(_0x3ff4b9=_0x5457c1['create'](_0x3ff4b9));for(var _0x5a217f=void 0x0===_0x479e71?_0x3ff4b9['len']:_0x3ff4b9['pos']+_0x479e71,_0x1a44b2=new _0x2d0fe2['RootAttributeOperation']();_0x3ff4b9['pos']<_0x5a217f;){var _0xe7117a=_0x3ff4b9['uint32']();switch(_0xe7117a>>>0x3){case 0x1:_0x1a44b2['root']=_0x3ff4b9['string']();break;case 0x2:_0x1a44b2['key']=_0x3ff4b9['string']();break;case 0x3:_0x1a44b2['oldValueBoolean']=_0x3ff4b9['bool']();break;case 0x4:_0x1a44b2['oldValueJson']=_0x3ff4b9['string']();break;case 0x5:_0x1a44b2['newValueBoolean']=_0x3ff4b9['bool']();break;case 0x6:_0x1a44b2['newValueJson']=_0x3ff4b9['string']();break;case 0x7:_0x1a44b2['wasUndone']=_0x3ff4b9['bool']();break;default:_0x3ff4b9['skipType'](0x7&_0xe7117a);}}return _0x1a44b2;},_0x5a9281['decodeDelimited']=function(_0x2e5712){return _0x2e5712 instanceof _0x5457c1||(_0x2e5712=new _0x5457c1(_0x2e5712)),this['decode'](_0x2e5712,_0x2e5712['uint32']());},_0x5a9281['verify']=function(_0x135fa5){return'object'!=typeof _0x135fa5||null===_0x135fa5?'object\x20expected':null!=_0x135fa5['root']&&_0x135fa5['hasOwnProperty']('root')&&!_0x52b980['isString'](_0x135fa5['root'])?'root:\x20string\x20expected':null!=_0x135fa5['key']&&_0x135fa5['hasOwnProperty']('key')&&!_0x52b980['isString'](_0x135fa5['key'])?'key:\x20string\x20expected':null!=_0x135fa5['oldValueBoolean']&&_0x135fa5['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x135fa5['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x135fa5['oldValueJson']&&_0x135fa5['hasOwnProperty']('oldValueJson')&&!_0x52b980['isString'](_0x135fa5['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x135fa5['newValueBoolean']&&_0x135fa5['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x135fa5['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x135fa5['newValueJson']&&_0x135fa5['hasOwnProperty']('newValueJson')&&!_0x52b980['isString'](_0x135fa5['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x135fa5['wasUndone']&&_0x135fa5['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x135fa5['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5a9281['fromObject']=function(_0x3c605b){if(_0x3c605b instanceof _0x2d0fe2['RootAttributeOperation'])return _0x3c605b;var _0x4aa264=new _0x2d0fe2['RootAttributeOperation']();return null!=_0x3c605b['root']&&(_0x4aa264['root']=String(_0x3c605b['root'])),null!=_0x3c605b['key']&&(_0x4aa264['key']=String(_0x3c605b['key'])),null!=_0x3c605b['oldValueBoolean']&&(_0x4aa264['oldValueBoolean']=Boolean(_0x3c605b['oldValueBoolean'])),null!=_0x3c605b['oldValueJson']&&(_0x4aa264['oldValueJson']=String(_0x3c605b['oldValueJson'])),null!=_0x3c605b['newValueBoolean']&&(_0x4aa264['newValueBoolean']=Boolean(_0x3c605b['newValueBoolean'])),null!=_0x3c605b['newValueJson']&&(_0x4aa264['newValueJson']=String(_0x3c605b['newValueJson'])),null!=_0x3c605b['wasUndone']&&(_0x4aa264['wasUndone']=Boolean(_0x3c605b['wasUndone'])),_0x4aa264;},_0x5a9281['toObject']=function(_0x36b510,_0x34bf59){_0x34bf59||(_0x34bf59={});var _0x3b7733={};return _0x34bf59['defaults']&&(_0x3b7733['root']='',_0x3b7733['key']='',_0x3b7733['oldValueBoolean']=!0x1,_0x3b7733['oldValueJson']='',_0x3b7733['newValueBoolean']=!0x1,_0x3b7733['newValueJson']='',_0x3b7733['wasUndone']=!0x1),null!=_0x36b510['root']&&_0x36b510['hasOwnProperty']('root')&&(_0x3b7733['root']=_0x36b510['root']),null!=_0x36b510['key']&&_0x36b510['hasOwnProperty']('key')&&(_0x3b7733['key']=_0x36b510['key']),null!=_0x36b510['oldValueBoolean']&&_0x36b510['hasOwnProperty']('oldValueBoolean')&&(_0x3b7733['oldValueBoolean']=_0x36b510['oldValueBoolean']),null!=_0x36b510['oldValueJson']&&_0x36b510['hasOwnProperty']('oldValueJson')&&(_0x3b7733['oldValueJson']=_0x36b510['oldValueJson']),null!=_0x36b510['newValueBoolean']&&_0x36b510['hasOwnProperty']('newValueBoolean')&&(_0x3b7733['newValueBoolean']=_0x36b510['newValueBoolean']),null!=_0x36b510['newValueJson']&&_0x36b510['hasOwnProperty']('newValueJson')&&(_0x3b7733['newValueJson']=_0x36b510['newValueJson']),null!=_0x36b510['wasUndone']&&_0x36b510['hasOwnProperty']('wasUndone')&&(_0x3b7733['wasUndone']=_0x36b510['wasUndone']),_0x3b7733;},_0x5a9281['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5a9281['getTypeUrl']=function(_0x59a4fd){return void 0x0===_0x59a4fd&&(_0x59a4fd='type.googleapis.com'),_0x59a4fd+'/RootAttributeOperation';},_0x5a9281;}()),_0x2d0fe2['RootOperation']=(function(){function _0x765772(_0x513183){if(_0x513183){for(var _0x5bd4f7=Object['keys'](_0x513183),_0x27fb18=0x0;_0x27fb18<_0x5bd4f7['length'];++_0x27fb18)null!=_0x513183[_0x5bd4f7[_0x27fb18]]&&(this[_0x5bd4f7[_0x27fb18]]=_0x513183[_0x5bd4f7[_0x27fb18]]);}}return _0x765772['prototype']['rootName']='',_0x765772['prototype']['elementName']='',_0x765772['prototype']['isAdd']=!0x1,_0x765772['prototype']['wasUndone']=!0x1,_0x765772['create']=function(_0x22064e){return new _0x765772(_0x22064e);},_0x765772['encode']=function(_0x286f61,_0x3efdea){return _0x3efdea||(_0x3efdea=_0xc53c62['create']()),null!=_0x286f61['rootName']&&Object['hasOwnProperty']['call'](_0x286f61,'rootName')&&_0x3efdea['uint32'](0xa)['string'](_0x286f61['rootName']),null!=_0x286f61['elementName']&&Object['hasOwnProperty']['call'](_0x286f61,'elementName')&&_0x3efdea['uint32'](0x12)['string'](_0x286f61['elementName']),null!=_0x286f61['isAdd']&&Object['hasOwnProperty']['call'](_0x286f61,'isAdd')&&_0x3efdea['uint32'](0x18)['bool'](_0x286f61['isAdd']),null!=_0x286f61['wasUndone']&&Object['hasOwnProperty']['call'](_0x286f61,'wasUndone')&&_0x3efdea['uint32'](0x20)['bool'](_0x286f61['wasUndone']),_0x3efdea;},_0x765772['encodeDelimited']=function(_0x4e7222,_0x3478f8){return this['encode'](_0x4e7222,_0x3478f8)['ldelim']();},_0x765772['decode']=function(_0x35543a,_0x18716f){_0x35543a instanceof _0x5457c1||(_0x35543a=_0x5457c1['create'](_0x35543a));for(var _0x1e9f89=void 0x0===_0x18716f?_0x35543a['len']:_0x35543a['pos']+_0x18716f,_0x38e36b=new _0x2d0fe2['RootOperation']();_0x35543a['pos']<_0x1e9f89;){var _0x3c27c0=_0x35543a['uint32']();switch(_0x3c27c0>>>0x3){case 0x1:_0x38e36b['rootName']=_0x35543a['string']();break;case 0x2:_0x38e36b['elementName']=_0x35543a['string']();break;case 0x3:_0x38e36b['isAdd']=_0x35543a['bool']();break;case 0x4:_0x38e36b['wasUndone']=_0x35543a['bool']();break;default:_0x35543a['skipType'](0x7&_0x3c27c0);}}return _0x38e36b;},_0x765772['decodeDelimited']=function(_0x40b8bd){return _0x40b8bd instanceof _0x5457c1||(_0x40b8bd=new _0x5457c1(_0x40b8bd)),this['decode'](_0x40b8bd,_0x40b8bd['uint32']());},_0x765772['verify']=function(_0x531861){return'object'!=typeof _0x531861||null===_0x531861?'object\x20expected':null!=_0x531861['rootName']&&_0x531861['hasOwnProperty']('rootName')&&!_0x52b980['isString'](_0x531861['rootName'])?'rootName:\x20string\x20expected':null!=_0x531861['elementName']&&_0x531861['hasOwnProperty']('elementName')&&!_0x52b980['isString'](_0x531861['elementName'])?'elementName:\x20string\x20expected':null!=_0x531861['isAdd']&&_0x531861['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x531861['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x531861['wasUndone']&&_0x531861['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x531861['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x765772['fromObject']=function(_0x412d15){if(_0x412d15 instanceof _0x2d0fe2['RootOperation'])return _0x412d15;var _0x220df1=new _0x2d0fe2['RootOperation']();return null!=_0x412d15['rootName']&&(_0x220df1['rootName']=String(_0x412d15['rootName'])),null!=_0x412d15['elementName']&&(_0x220df1['elementName']=String(_0x412d15['elementName'])),null!=_0x412d15['isAdd']&&(_0x220df1['isAdd']=Boolean(_0x412d15['isAdd'])),null!=_0x412d15['wasUndone']&&(_0x220df1['wasUndone']=Boolean(_0x412d15['wasUndone'])),_0x220df1;},_0x765772['toObject']=function(_0x421137,_0x3bc65e){_0x3bc65e||(_0x3bc65e={});var _0x247dcd={};return _0x3bc65e['defaults']&&(_0x247dcd['rootName']='',_0x247dcd['elementName']='',_0x247dcd['isAdd']=!0x1,_0x247dcd['wasUndone']=!0x1),null!=_0x421137['rootName']&&_0x421137['hasOwnProperty']('rootName')&&(_0x247dcd['rootName']=_0x421137['rootName']),null!=_0x421137['elementName']&&_0x421137['hasOwnProperty']('elementName')&&(_0x247dcd['elementName']=_0x421137['elementName']),null!=_0x421137['isAdd']&&_0x421137['hasOwnProperty']('isAdd')&&(_0x247dcd['isAdd']=_0x421137['isAdd']),null!=_0x421137['wasUndone']&&_0x421137['hasOwnProperty']('wasUndone')&&(_0x247dcd['wasUndone']=_0x421137['wasUndone']),_0x247dcd;},_0x765772['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x765772['getTypeUrl']=function(_0x1b2eae){return void 0x0===_0x1b2eae&&(_0x1b2eae='type.googleapis.com'),_0x1b2eae+'/RootOperation';},_0x765772;}()),_0x2d0fe2['SplitOperation']=(function(){function _0x4746f0(_0x597a90){if(_0x597a90){for(var _0xda0791=Object['keys'](_0x597a90),_0x2fb9d0=0x0;_0x2fb9d0<_0xda0791['length'];++_0x2fb9d0)null!=_0x597a90[_0xda0791[_0x2fb9d0]]&&(this[_0xda0791[_0x2fb9d0]]=_0x597a90[_0xda0791[_0x2fb9d0]]);}}return _0x4746f0['prototype']['splitPosition']=null,_0x4746f0['prototype']['graveyardPosition']=null,_0x4746f0['prototype']['howMany']=0x0,_0x4746f0['prototype']['insertionPosition']=null,_0x4746f0['prototype']['wasUndone']=!0x1,_0x4746f0['create']=function(_0x10306f){return new _0x4746f0(_0x10306f);},_0x4746f0['encode']=function(_0x5ae3d0,_0x58ead9){return _0x58ead9||(_0x58ead9=_0xc53c62['create']()),null!=_0x5ae3d0['splitPosition']&&Object['hasOwnProperty']['call'](_0x5ae3d0,'splitPosition')&&_0x2d0fe2['Position']['encode'](_0x5ae3d0['splitPosition'],_0x58ead9['uint32'](0xa)['fork']())['ldelim'](),null!=_0x5ae3d0['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x5ae3d0,'graveyardPosition')&&_0x2d0fe2['Position']['encode'](_0x5ae3d0['graveyardPosition'],_0x58ead9['uint32'](0x12)['fork']())['ldelim'](),null!=_0x5ae3d0['howMany']&&Object['hasOwnProperty']['call'](_0x5ae3d0,'howMany')&&_0x58ead9['uint32'](0x18)['uint32'](_0x5ae3d0['howMany']),null!=_0x5ae3d0['insertionPosition']&&Object['hasOwnProperty']['call'](_0x5ae3d0,'insertionPosition')&&_0x2d0fe2['Position']['encode'](_0x5ae3d0['insertionPosition'],_0x58ead9['uint32'](0x22)['fork']())['ldelim'](),null!=_0x5ae3d0['wasUndone']&&Object['hasOwnProperty']['call'](_0x5ae3d0,'wasUndone')&&_0x58ead9['uint32'](0x28)['bool'](_0x5ae3d0['wasUndone']),_0x58ead9;},_0x4746f0['encodeDelimited']=function(_0x427561,_0x2364f3){return this['encode'](_0x427561,_0x2364f3)['ldelim']();},_0x4746f0['decode']=function(_0x4c4638,_0xaf9372){_0x4c4638 instanceof _0x5457c1||(_0x4c4638=_0x5457c1['create'](_0x4c4638));for(var _0x4feeca=void 0x0===_0xaf9372?_0x4c4638['len']:_0x4c4638['pos']+_0xaf9372,_0x2185cb=new _0x2d0fe2['SplitOperation']();_0x4c4638['pos']<_0x4feeca;){var _0x302aa6=_0x4c4638['uint32']();switch(_0x302aa6>>>0x3){case 0x1:_0x2185cb['splitPosition']=_0x2d0fe2['Position']['decode'](_0x4c4638,_0x4c4638['uint32']());break;case 0x2:_0x2185cb['graveyardPosition']=_0x2d0fe2['Position']['decode'](_0x4c4638,_0x4c4638['uint32']());break;case 0x3:_0x2185cb['howMany']=_0x4c4638['uint32']();break;case 0x4:_0x2185cb['insertionPosition']=_0x2d0fe2['Position']['decode'](_0x4c4638,_0x4c4638['uint32']());break;case 0x5:_0x2185cb['wasUndone']=_0x4c4638['bool']();break;default:_0x4c4638['skipType'](0x7&_0x302aa6);}}return _0x2185cb;},_0x4746f0['decodeDelimited']=function(_0x596f26){return _0x596f26 instanceof _0x5457c1||(_0x596f26=new _0x5457c1(_0x596f26)),this['decode'](_0x596f26,_0x596f26['uint32']());},_0x4746f0['verify']=function(_0x313743){if('object'!=typeof _0x313743||null===_0x313743)return'object\x20expected';var _0x4a8310;if(null!=_0x313743['splitPosition']&&_0x313743['hasOwnProperty']('splitPosition')&&(_0x4a8310=_0x2d0fe2['Position']['verify'](_0x313743['splitPosition'])))return'splitPosition.'+_0x4a8310;if(null!=_0x313743['graveyardPosition']&&_0x313743['hasOwnProperty']('graveyardPosition')&&(_0x4a8310=_0x2d0fe2['Position']['verify'](_0x313743['graveyardPosition'])))return'graveyardPosition.'+_0x4a8310;if(null!=_0x313743['howMany']&&_0x313743['hasOwnProperty']('howMany')&&!_0x52b980['isInteger'](_0x313743['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x313743['insertionPosition']&&_0x313743['hasOwnProperty']('insertionPosition')&&(_0x4a8310=_0x2d0fe2['Position']['verify'](_0x313743['insertionPosition'])))return'insertionPosition.'+_0x4a8310;return null!=_0x313743['wasUndone']&&_0x313743['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x313743['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4746f0['fromObject']=function(_0x2db6c6){if(_0x2db6c6 instanceof _0x2d0fe2['SplitOperation'])return _0x2db6c6;var _0x397935=new _0x2d0fe2['SplitOperation']();if(null!=_0x2db6c6['splitPosition']){if('object'!=typeof _0x2db6c6['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x397935['splitPosition']=_0x2d0fe2['Position']['fromObject'](_0x2db6c6['splitPosition']);}if(null!=_0x2db6c6['graveyardPosition']){if('object'!=typeof _0x2db6c6['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x397935['graveyardPosition']=_0x2d0fe2['Position']['fromObject'](_0x2db6c6['graveyardPosition']);}if(null!=_0x2db6c6['howMany']&&(_0x397935['howMany']=_0x2db6c6['howMany']>>>0x0),null!=_0x2db6c6['insertionPosition']){if('object'!=typeof _0x2db6c6['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x397935['insertionPosition']=_0x2d0fe2['Position']['fromObject'](_0x2db6c6['insertionPosition']);}return null!=_0x2db6c6['wasUndone']&&(_0x397935['wasUndone']=Boolean(_0x2db6c6['wasUndone'])),_0x397935;},_0x4746f0['toObject']=function(_0xb16f1b,_0x1de022){_0x1de022||(_0x1de022={});var _0xe7f3a9={};return _0x1de022['defaults']&&(_0xe7f3a9['splitPosition']=null,_0xe7f3a9['graveyardPosition']=null,_0xe7f3a9['howMany']=0x0,_0xe7f3a9['insertionPosition']=null,_0xe7f3a9['wasUndone']=!0x1),null!=_0xb16f1b['splitPosition']&&_0xb16f1b['hasOwnProperty']('splitPosition')&&(_0xe7f3a9['splitPosition']=_0x2d0fe2['Position']['toObject'](_0xb16f1b['splitPosition'],_0x1de022)),null!=_0xb16f1b['graveyardPosition']&&_0xb16f1b['hasOwnProperty']('graveyardPosition')&&(_0xe7f3a9['graveyardPosition']=_0x2d0fe2['Position']['toObject'](_0xb16f1b['graveyardPosition'],_0x1de022)),null!=_0xb16f1b['howMany']&&_0xb16f1b['hasOwnProperty']('howMany')&&(_0xe7f3a9['howMany']=_0xb16f1b['howMany']),null!=_0xb16f1b['insertionPosition']&&_0xb16f1b['hasOwnProperty']('insertionPosition')&&(_0xe7f3a9['insertionPosition']=_0x2d0fe2['Position']['toObject'](_0xb16f1b['insertionPosition'],_0x1de022)),null!=_0xb16f1b['wasUndone']&&_0xb16f1b['hasOwnProperty']('wasUndone')&&(_0xe7f3a9['wasUndone']=_0xb16f1b['wasUndone']),_0xe7f3a9;},_0x4746f0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4746f0['getTypeUrl']=function(_0x15eb8f){return void 0x0===_0x15eb8f&&(_0x15eb8f='type.googleapis.com'),_0x15eb8f+'/SplitOperation';},_0x4746f0;}()),_0x2d0fe2['Position']=(function(){function _0x5c790b(_0x333dd4){if(this['path']=[],_0x333dd4){for(var _0x228498=Object['keys'](_0x333dd4),_0x33b6f2=0x0;_0x33b6f2<_0x228498['length'];++_0x33b6f2)null!=_0x333dd4[_0x228498[_0x33b6f2]]&&(this[_0x228498[_0x33b6f2]]=_0x333dd4[_0x228498[_0x33b6f2]]);}}return _0x5c790b['prototype']['root']='',_0x5c790b['prototype']['rootMain']=!0x1,_0x5c790b['prototype']['rootGraveyard']=!0x1,_0x5c790b['prototype']['path']=_0x52b980['emptyArray'],_0x5c790b['prototype']['stickiness']='',_0x5c790b['create']=function(_0x5eb2c3){return new _0x5c790b(_0x5eb2c3);},_0x5c790b['encode']=function(_0x52f816,_0x18a11c){if(_0x18a11c||(_0x18a11c=_0xc53c62['create']()),null!=_0x52f816['root']&&Object['hasOwnProperty']['call'](_0x52f816,'root')&&_0x18a11c['uint32'](0xa)['string'](_0x52f816['root']),null!=_0x52f816['rootMain']&&Object['hasOwnProperty']['call'](_0x52f816,'rootMain')&&_0x18a11c['uint32'](0x10)['bool'](_0x52f816['rootMain']),null!=_0x52f816['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x52f816,'rootGraveyard')&&_0x18a11c['uint32'](0x18)['bool'](_0x52f816['rootGraveyard']),null!=_0x52f816['path']&&_0x52f816['path']['length']){_0x18a11c['uint32'](0x22)['fork']();for(var _0x120bad=0x0;_0x120bad<_0x52f816['path']['length'];++_0x120bad)_0x18a11c['uint32'](_0x52f816['path'][_0x120bad]);_0x18a11c['ldelim']();}return null!=_0x52f816['stickiness']&&Object['hasOwnProperty']['call'](_0x52f816,'stickiness')&&_0x18a11c['uint32'](0x2a)['string'](_0x52f816['stickiness']),_0x18a11c;},_0x5c790b['encodeDelimited']=function(_0x22dbaf,_0x346a32){return this['encode'](_0x22dbaf,_0x346a32)['ldelim']();},_0x5c790b['decode']=function(_0x44711f,_0x4b8b27){_0x44711f instanceof _0x5457c1||(_0x44711f=_0x5457c1['create'](_0x44711f));for(var _0x3ed6d2=void 0x0===_0x4b8b27?_0x44711f['len']:_0x44711f['pos']+_0x4b8b27,_0xf3f36c=new _0x2d0fe2['Position']();_0x44711f['pos']<_0x3ed6d2;){var _0x69bad3=_0x44711f['uint32']();switch(_0x69bad3>>>0x3){case 0x1:_0xf3f36c['root']=_0x44711f['string']();break;case 0x2:_0xf3f36c['rootMain']=_0x44711f['bool']();break;case 0x3:_0xf3f36c['rootGraveyard']=_0x44711f['bool']();break;case 0x4:if(_0xf3f36c['path']&&_0xf3f36c['path']['length']||(_0xf3f36c['path']=[]),0x2==(0x7&_0x69bad3)){for(var _0x551591=_0x44711f['uint32']()+_0x44711f['pos'];_0x44711f['pos']<_0x551591;)_0xf3f36c['path']['push'](_0x44711f['uint32']());}else _0xf3f36c['path']['push'](_0x44711f['uint32']());break;case 0x5:_0xf3f36c['stickiness']=_0x44711f['string']();break;default:_0x44711f['skipType'](0x7&_0x69bad3);}}return _0xf3f36c;},_0x5c790b['decodeDelimited']=function(_0x11c79a){return _0x11c79a instanceof _0x5457c1||(_0x11c79a=new _0x5457c1(_0x11c79a)),this['decode'](_0x11c79a,_0x11c79a['uint32']());},_0x5c790b['verify']=function(_0x3b646d){if('object'!=typeof _0x3b646d||null===_0x3b646d)return'object\x20expected';if(null!=_0x3b646d['root']&&_0x3b646d['hasOwnProperty']('root')&&!_0x52b980['isString'](_0x3b646d['root']))return'root:\x20string\x20expected';if(null!=_0x3b646d['rootMain']&&_0x3b646d['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x3b646d['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x3b646d['rootGraveyard']&&_0x3b646d['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x3b646d['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x3b646d['path']&&_0x3b646d['hasOwnProperty']('path')){if(!Array['isArray'](_0x3b646d['path']))return'path:\x20array\x20expected';for(var _0x60ff6d=0x0;_0x60ff6d<_0x3b646d['path']['length'];++_0x60ff6d)if(!_0x52b980['isInteger'](_0x3b646d['path'][_0x60ff6d]))return'path:\x20integer[]\x20expected';}return null!=_0x3b646d['stickiness']&&_0x3b646d['hasOwnProperty']('stickiness')&&!_0x52b980['isString'](_0x3b646d['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x5c790b['fromObject']=function(_0x10b871){if(_0x10b871 instanceof _0x2d0fe2['Position'])return _0x10b871;var _0x457732=new _0x2d0fe2['Position']();if(null!=_0x10b871['root']&&(_0x457732['root']=String(_0x10b871['root'])),null!=_0x10b871['rootMain']&&(_0x457732['rootMain']=Boolean(_0x10b871['rootMain'])),null!=_0x10b871['rootGraveyard']&&(_0x457732['rootGraveyard']=Boolean(_0x10b871['rootGraveyard'])),_0x10b871['path']){if(!Array['isArray'](_0x10b871['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x457732['path']=[];for(var _0xd4f08=0x0;_0xd4f08<_0x10b871['path']['length'];++_0xd4f08)_0x457732['path'][_0xd4f08]=_0x10b871['path'][_0xd4f08]>>>0x0;}return null!=_0x10b871['stickiness']&&(_0x457732['stickiness']=String(_0x10b871['stickiness'])),_0x457732;},_0x5c790b['toObject']=function(_0x157ff7,_0x391089){_0x391089||(_0x391089={});var _0x5bc594={};if((_0x391089['arrays']||_0x391089['defaults'])&&(_0x5bc594['path']=[]),_0x391089['defaults']&&(_0x5bc594['root']='',_0x5bc594['rootMain']=!0x1,_0x5bc594['rootGraveyard']=!0x1,_0x5bc594['stickiness']=''),null!=_0x157ff7['root']&&_0x157ff7['hasOwnProperty']('root')&&(_0x5bc594['root']=_0x157ff7['root']),null!=_0x157ff7['rootMain']&&_0x157ff7['hasOwnProperty']('rootMain')&&(_0x5bc594['rootMain']=_0x157ff7['rootMain']),null!=_0x157ff7['rootGraveyard']&&_0x157ff7['hasOwnProperty']('rootGraveyard')&&(_0x5bc594['rootGraveyard']=_0x157ff7['rootGraveyard']),_0x157ff7['path']&&_0x157ff7['path']['length']){_0x5bc594['path']=[];for(var _0x1c7fc2=0x0;_0x1c7fc2<_0x157ff7['path']['length'];++_0x1c7fc2)_0x5bc594['path'][_0x1c7fc2]=_0x157ff7['path'][_0x1c7fc2];}return null!=_0x157ff7['stickiness']&&_0x157ff7['hasOwnProperty']('stickiness')&&(_0x5bc594['stickiness']=_0x157ff7['stickiness']),_0x5bc594;},_0x5c790b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x5c790b['getTypeUrl']=function(_0x16707a){return void 0x0===_0x16707a&&(_0x16707a='type.googleapis.com'),_0x16707a+'/Position';},_0x5c790b;}()),_0x2d0fe2['Range']=(function(){function _0x4ecf7a(_0x2e663a){if(_0x2e663a){for(var _0x3e2dd0=Object['keys'](_0x2e663a),_0x237f65=0x0;_0x237f65<_0x3e2dd0['length'];++_0x237f65)null!=_0x2e663a[_0x3e2dd0[_0x237f65]]&&(this[_0x3e2dd0[_0x237f65]]=_0x2e663a[_0x3e2dd0[_0x237f65]]);}}return _0x4ecf7a['prototype']['start']=null,_0x4ecf7a['prototype']['end']=null,_0x4ecf7a['create']=function(_0x466a42){return new _0x4ecf7a(_0x466a42);},_0x4ecf7a['encode']=function(_0x48cc89,_0x42c116){return _0x42c116||(_0x42c116=_0xc53c62['create']()),null!=_0x48cc89['start']&&Object['hasOwnProperty']['call'](_0x48cc89,'start')&&_0x2d0fe2['Position']['encode'](_0x48cc89['start'],_0x42c116['uint32'](0xa)['fork']())['ldelim'](),null!=_0x48cc89['end']&&Object['hasOwnProperty']['call'](_0x48cc89,'end')&&_0x2d0fe2['Position']['encode'](_0x48cc89['end'],_0x42c116['uint32'](0x12)['fork']())['ldelim'](),_0x42c116;},_0x4ecf7a['encodeDelimited']=function(_0x3c2062,_0x34acb2){return this['encode'](_0x3c2062,_0x34acb2)['ldelim']();},_0x4ecf7a['decode']=function(_0x24ef1e,_0x191c2b){_0x24ef1e instanceof _0x5457c1||(_0x24ef1e=_0x5457c1['create'](_0x24ef1e));for(var _0x28507f=void 0x0===_0x191c2b?_0x24ef1e['len']:_0x24ef1e['pos']+_0x191c2b,_0x1d3c64=new _0x2d0fe2['Range']();_0x24ef1e['pos']<_0x28507f;){var _0x2a85b7=_0x24ef1e['uint32']();switch(_0x2a85b7>>>0x3){case 0x1:_0x1d3c64['start']=_0x2d0fe2['Position']['decode'](_0x24ef1e,_0x24ef1e['uint32']());break;case 0x2:_0x1d3c64['end']=_0x2d0fe2['Position']['decode'](_0x24ef1e,_0x24ef1e['uint32']());break;default:_0x24ef1e['skipType'](0x7&_0x2a85b7);}}return _0x1d3c64;},_0x4ecf7a['decodeDelimited']=function(_0x9b1115){return _0x9b1115 instanceof _0x5457c1||(_0x9b1115=new _0x5457c1(_0x9b1115)),this['decode'](_0x9b1115,_0x9b1115['uint32']());},_0x4ecf7a['verify']=function(_0x3e6047){if('object'!=typeof _0x3e6047||null===_0x3e6047)return'object\x20expected';var _0x30f4a3;if(null!=_0x3e6047['start']&&_0x3e6047['hasOwnProperty']('start')&&(_0x30f4a3=_0x2d0fe2['Position']['verify'](_0x3e6047['start'])))return'start.'+_0x30f4a3;if(null!=_0x3e6047['end']&&_0x3e6047['hasOwnProperty']('end')&&(_0x30f4a3=_0x2d0fe2['Position']['verify'](_0x3e6047['end'])))return'end.'+_0x30f4a3;return null;},_0x4ecf7a['fromObject']=function(_0x55eb24){if(_0x55eb24 instanceof _0x2d0fe2['Range'])return _0x55eb24;var _0x2182f1=new _0x2d0fe2['Range']();if(null!=_0x55eb24['start']){if('object'!=typeof _0x55eb24['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x2182f1['start']=_0x2d0fe2['Position']['fromObject'](_0x55eb24['start']);}if(null!=_0x55eb24['end']){if('object'!=typeof _0x55eb24['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x2182f1['end']=_0x2d0fe2['Position']['fromObject'](_0x55eb24['end']);}return _0x2182f1;},_0x4ecf7a['toObject']=function(_0x4978d3,_0x180682){_0x180682||(_0x180682={});var _0x28c727={};return _0x180682['defaults']&&(_0x28c727['start']=null,_0x28c727['end']=null),null!=_0x4978d3['start']&&_0x4978d3['hasOwnProperty']('start')&&(_0x28c727['start']=_0x2d0fe2['Position']['toObject'](_0x4978d3['start'],_0x180682)),null!=_0x4978d3['end']&&_0x4978d3['hasOwnProperty']('end')&&(_0x28c727['end']=_0x2d0fe2['Position']['toObject'](_0x4978d3['end'],_0x180682)),_0x28c727;},_0x4ecf7a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x4ecf7a['getTypeUrl']=function(_0x384f83){return void 0x0===_0x384f83&&(_0x384f83='type.googleapis.com'),_0x384f83+'/Range';},_0x4ecf7a;}()),_0x2d0fe2['Element']=(function(){function _0x35c25a(_0x3fc151){if(this['children']=[],this['attributesBoolean']={},_0x3fc151){for(var _0x32ae9f=Object['keys'](_0x3fc151),_0x264013=0x0;_0x264013<_0x32ae9f['length'];++_0x264013)null!=_0x3fc151[_0x32ae9f[_0x264013]]&&(this[_0x32ae9f[_0x264013]]=_0x3fc151[_0x32ae9f[_0x264013]]);}}return _0x35c25a['prototype']['name']='',_0x35c25a['prototype']['children']=_0x52b980['emptyArray'],_0x35c25a['prototype']['data']='',_0x35c25a['prototype']['attributesBoolean']=_0x52b980['emptyObject'],_0x35c25a['prototype']['attributesJson']='',_0x35c25a['create']=function(_0x5e0104){return new _0x35c25a(_0x5e0104);},_0x35c25a['encode']=function(_0x5d49df,_0x1f5799){if(_0x1f5799||(_0x1f5799=_0xc53c62['create']()),null!=_0x5d49df['name']&&Object['hasOwnProperty']['call'](_0x5d49df,'name')&&_0x1f5799['uint32'](0xa)['string'](_0x5d49df['name']),null!=_0x5d49df['children']&&_0x5d49df['children']['length']){for(var _0xe667cd=0x0;_0xe667cd<_0x5d49df['children']['length'];++_0xe667cd)_0x2d0fe2['Element']['encode'](_0x5d49df['children'][_0xe667cd],_0x1f5799['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x5d49df['data']&&Object['hasOwnProperty']['call'](_0x5d49df,'data')&&_0x1f5799['uint32'](0x1a)['string'](_0x5d49df['data']),null!=_0x5d49df['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x5d49df,'attributesBoolean')){var _0x1bc54a=Object['keys'](_0x5d49df['attributesBoolean']);for(_0xe667cd=0x0;_0xe667cd<_0x1bc54a['length'];++_0xe667cd)_0x1f5799['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x1bc54a[_0xe667cd])['uint32'](0x10)['bool'](_0x5d49df['attributesBoolean'][_0x1bc54a[_0xe667cd]])['ldelim']();}return null!=_0x5d49df['attributesJson']&&Object['hasOwnProperty']['call'](_0x5d49df,'attributesJson')&&_0x1f5799['uint32'](0x2a)['string'](_0x5d49df['attributesJson']),_0x1f5799;},_0x35c25a['encodeDelimited']=function(_0x2eaf4e,_0x527ee6){return this['encode'](_0x2eaf4e,_0x527ee6)['ldelim']();},_0x35c25a['decode']=function(_0x1f1247,_0xc617e3){_0x1f1247 instanceof _0x5457c1||(_0x1f1247=_0x5457c1['create'](_0x1f1247));for(var _0x4869ed,_0x483aaa,_0x56f47f=void 0x0===_0xc617e3?_0x1f1247['len']:_0x1f1247['pos']+_0xc617e3,_0x19fca0=new _0x2d0fe2['Element']();_0x1f1247['pos']<_0x56f47f;){var _0x557461=_0x1f1247['uint32']();switch(_0x557461>>>0x3){case 0x1:_0x19fca0['name']=_0x1f1247['string']();break;case 0x2:_0x19fca0['children']&&_0x19fca0['children']['length']||(_0x19fca0['children']=[]),_0x19fca0['children']['push'](_0x2d0fe2['Element']['decode'](_0x1f1247,_0x1f1247['uint32']()));break;case 0x3:_0x19fca0['data']=_0x1f1247['string']();break;case 0x4:_0x19fca0['attributesBoolean']===_0x52b980['emptyObject']&&(_0x19fca0['attributesBoolean']={});var _0x2b2a6e=_0x1f1247['uint32']()+_0x1f1247['pos'];for(_0x4869ed='',_0x483aaa=!0x1;_0x1f1247['pos']<_0x2b2a6e;){var _0x1f10d7=_0x1f1247['uint32']();switch(_0x1f10d7>>>0x3){case 0x1:_0x4869ed=_0x1f1247['string']();break;case 0x2:_0x483aaa=_0x1f1247['bool']();break;default:_0x1f1247['skipType'](0x7&_0x1f10d7);}}_0x19fca0['attributesBoolean'][_0x4869ed]=_0x483aaa;break;case 0x5:_0x19fca0['attributesJson']=_0x1f1247['string']();break;default:_0x1f1247['skipType'](0x7&_0x557461);}}return _0x19fca0;},_0x35c25a['decodeDelimited']=function(_0x18e960){return _0x18e960 instanceof _0x5457c1||(_0x18e960=new _0x5457c1(_0x18e960)),this['decode'](_0x18e960,_0x18e960['uint32']());},_0x35c25a['verify']=function(_0x5b7011){if('object'!=typeof _0x5b7011||null===_0x5b7011)return'object\x20expected';if(null!=_0x5b7011['name']&&_0x5b7011['hasOwnProperty']('name')&&!_0x52b980['isString'](_0x5b7011['name']))return'name:\x20string\x20expected';if(null!=_0x5b7011['children']&&_0x5b7011['hasOwnProperty']('children')){if(!Array['isArray'](_0x5b7011['children']))return'children:\x20array\x20expected';for(var _0x51d14a=0x0;_0x51d14a<_0x5b7011['children']['length'];++_0x51d14a){var _0x358832=_0x2d0fe2['Element']['verify'](_0x5b7011['children'][_0x51d14a]);if(_0x358832)return'children.'+_0x358832;}}if(null!=_0x5b7011['data']&&_0x5b7011['hasOwnProperty']('data')&&!_0x52b980['isString'](_0x5b7011['data']))return'data:\x20string\x20expected';if(null!=_0x5b7011['attributesBoolean']&&_0x5b7011['hasOwnProperty']('attributesBoolean')){if(!_0x52b980['isObject'](_0x5b7011['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x3ea4b4=Object['keys'](_0x5b7011['attributesBoolean']);for(_0x51d14a=0x0;_0x51d14a<_0x3ea4b4['length'];++_0x51d14a)if('boolean'!=typeof _0x5b7011['attributesBoolean'][_0x3ea4b4[_0x51d14a]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x5b7011['attributesJson']&&_0x5b7011['hasOwnProperty']('attributesJson')&&!_0x52b980['isString'](_0x5b7011['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x35c25a['fromObject']=function(_0x33ca1c){if(_0x33ca1c instanceof _0x2d0fe2['Element'])return _0x33ca1c;var _0x1544c0=new _0x2d0fe2['Element']();if(null!=_0x33ca1c['name']&&(_0x1544c0['name']=String(_0x33ca1c['name'])),_0x33ca1c['children']){if(!Array['isArray'](_0x33ca1c['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x1544c0['children']=[];for(var _0x2239d3=0x0;_0x2239d3<_0x33ca1c['children']['length'];++_0x2239d3){if('object'!=typeof _0x33ca1c['children'][_0x2239d3])throw TypeError('.Element.children:\x20object\x20expected');_0x1544c0['children'][_0x2239d3]=_0x2d0fe2['Element']['fromObject'](_0x33ca1c['children'][_0x2239d3]);}}if(null!=_0x33ca1c['data']&&(_0x1544c0['data']=String(_0x33ca1c['data'])),_0x33ca1c['attributesBoolean']){if('object'!=typeof _0x33ca1c['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x1544c0['attributesBoolean']={};var _0x1b2ed5=Object['keys'](_0x33ca1c['attributesBoolean']);for(_0x2239d3=0x0;_0x2239d3<_0x1b2ed5['length'];++_0x2239d3)_0x1544c0['attributesBoolean'][_0x1b2ed5[_0x2239d3]]=Boolean(_0x33ca1c['attributesBoolean'][_0x1b2ed5[_0x2239d3]]);}return null!=_0x33ca1c['attributesJson']&&(_0x1544c0['attributesJson']=String(_0x33ca1c['attributesJson'])),_0x1544c0;},_0x35c25a['toObject']=function(_0x7e9270,_0x3e4c3b){_0x3e4c3b||(_0x3e4c3b={});var _0x413997,_0x4d87e1={};if((_0x3e4c3b['arrays']||_0x3e4c3b['defaults'])&&(_0x4d87e1['children']=[]),(_0x3e4c3b['objects']||_0x3e4c3b['defaults'])&&(_0x4d87e1['attributesBoolean']={}),_0x3e4c3b['defaults']&&(_0x4d87e1['name']='',_0x4d87e1['data']='',_0x4d87e1['attributesJson']=''),null!=_0x7e9270['name']&&_0x7e9270['hasOwnProperty']('name')&&(_0x4d87e1['name']=_0x7e9270['name']),_0x7e9270['children']&&_0x7e9270['children']['length']){_0x4d87e1['children']=[];for(var _0x3d2349=0x0;_0x3d2349<_0x7e9270['children']['length'];++_0x3d2349)_0x4d87e1['children'][_0x3d2349]=_0x2d0fe2['Element']['toObject'](_0x7e9270['children'][_0x3d2349],_0x3e4c3b);}if(null!=_0x7e9270['data']&&_0x7e9270['hasOwnProperty']('data')&&(_0x4d87e1['data']=_0x7e9270['data']),_0x7e9270['attributesBoolean']&&(_0x413997=Object['keys'](_0x7e9270['attributesBoolean']))['length']){_0x4d87e1['attributesBoolean']={};for(_0x3d2349=0x0;_0x3d2349<_0x413997['length'];++_0x3d2349)_0x4d87e1['attributesBoolean'][_0x413997[_0x3d2349]]=_0x7e9270['attributesBoolean'][_0x413997[_0x3d2349]];}return null!=_0x7e9270['attributesJson']&&_0x7e9270['hasOwnProperty']('attributesJson')&&(_0x4d87e1['attributesJson']=_0x7e9270['attributesJson']),_0x4d87e1;},_0x35c25a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,minimalExports['util']['toJSONOptions']);},_0x35c25a['getTypeUrl']=function(_0x20e57d){return void 0x0===_0x20e57d&&(_0x20e57d='type.googleapis.com'),_0x20e57d+'/Element';},_0x35c25a;}()),_0x2d0fe2;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x24718b;}['getDescriptor'](_0x4a7662){return new ProtobufDescriptor(this['_protobufRoot'][_0x4a7662]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x3cf1cb){this['_protobuf']=_0x3cf1cb;}['compress'](_0x14baff){const _0x5c7045=this['_protobuf']['verify'](_0x14baff);if(_0x5c7045)throw Error(_0x5c7045);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x14baff))['finish']();}['decompress'](_0x160ead){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x160ead),{'oneofs':!0x0});}}function getPositionShiftedBy(_0x4279b,_0x5e0059){const _0x233bd0=_0xedd9f2(_0x4279b);return _0x233bd0['path'][_0x233bd0['path']['length']-0x1]+=_0x5e0059,_0x233bd0;}function arePositionsEqual(_0x4bd701,_0x88eade){return _0x4bd701['root']===_0x88eade['root']&&_0x140510(_0x4bd701['path'],_0x88eade['path']);}function parsePositionBeforeCompression(_0xd7aedf){_mapPositions(_0xd7aedf,_0x224939=>('main'==_0x224939['root']?(_0x224939['rootMain']=!0x0,delete _0x224939['root']):'$graveyard'==_0x224939['root']&&(_0x224939['rootGraveyard']=!0x0,delete _0x224939['root']),_0x224939));}function parsePositionAfterCompression(_0x517d92){_mapPositions(_0x517d92,_0x2a599c=>(_0x2a599c['rootMain']?(_0x2a599c['root']='main',delete _0x2a599c['rootMain']):_0x2a599c['rootGraveyard']&&(_0x2a599c['root']='$graveyard',delete _0x2a599c['rootGraveyard']),_0x2a599c));}function _mapPositions(_0x2b2765,_0x364d8e){for(const _0x47d543 in _0x2b2765){const _0x35050c=_0x2b2765[_0x47d543];'nodes'!==_0x47d543&&isObject$3(_0x35050c)&&(_0x35050c['path']&&(_0x35050c['root']||_0x35050c['rootMain']||_0x35050c['rootGraveyard'])?_0x2b2765[_0x47d543]=_0x364d8e(_0x35050c):_mapPositions(_0x35050c,_0x364d8e));}return _0x2b2765;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x42de98,_0x476a24,_0x43a5a3){this['_id']=_0x42de98,this['_operationName']=_0x476a24,this['_protobufDescriptor']=_0x43a5a3;}['compress'](_0x57b194,_0x21f932){const _0x1218f3=_0x21f932['operations'][_0x21f932['index']++];return parsePositionBeforeCompression(_0x1218f3),_0x57b194['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1218f3)),_0x57b194['types']['push'](this['_id']),!0x0;}['decompress'](_0x2427f7,_0x6e4ee9){_0x6e4ee9['typeIndex']++;const _0x22b7cb=_0x6e4ee9['buffers'][_0x6e4ee9['bufferIndex']++],_0x18b4d9=this['_protobufDescriptor']['decompress'](_0x22b7cb);parsePositionAfterCompression(_0x18b4d9),_0x18b4d9['__className']=this['_operationName'],_0x2427f7['push'](_0x18b4d9);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x84a46b,_0x4cc4f1){const _0x3d4d82=_0x4cc4f1['operations'][_0x4cc4f1['index']++];return this['_serializeOneOf']('oldValue',_0x3d4d82),this['_serializeOneOf']('newValue',_0x3d4d82),parsePositionBeforeCompression(_0x3d4d82),_0x84a46b['buffers']['push'](this['_protobufDescriptor']['compress'](_0x3d4d82)),_0x84a46b['types']['push'](this['_id']),!0x0;}['decompress'](_0x1487b9,_0x40ff5b){_0x40ff5b['typeIndex']++;const _0x5ddff5=_0x40ff5b['buffers'][_0x40ff5b['bufferIndex']++],_0x11e5cf=this['_protobufDescriptor']['decompress'](_0x5ddff5);this['_deserializeOneOf']('oldValue',_0x11e5cf),this['_deserializeOneOf']('newValue',_0x11e5cf),parsePositionAfterCompression(_0x11e5cf),_0x11e5cf['__className']=this['_operationName'],_0x1487b9['push'](_0x11e5cf);}['_serializeOneOf'](_0x5935e0,_0x348319){const _0x34bc61=_0x348319[_0x5935e0];'boolean'==typeof _0x34bc61?_0x348319[_0x5935e0+'Boolean']=_0x34bc61:_0x348319[_0x5935e0+'Json']=JSON['stringify'](_0x34bc61);}['_deserializeOneOf'](_0x22beb6,_0x35fe46){const _0x4d381e=_0x22beb6+'Json';_0x35fe46[_0x4d381e]?(_0x35fe46[_0x22beb6]=JSON['parse'](_0x35fe46[_0x4d381e]),delete _0x35fe46[_0x4d381e]):(_0x35fe46[_0x22beb6]=_0x35fe46[_0x22beb6+'Boolean'],delete _0x35fe46[_0x22beb6+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x1bdc90,_0x371dff){const _0x239264=_0x371dff['operations'][_0x371dff['index']++];return this['_serializeNodesAttributes'](_0x239264['nodes']),parsePositionBeforeCompression(_0x239264),_0x1bdc90['buffers']['push'](this['_protobufDescriptor']['compress'](_0x239264)),_0x1bdc90['types']['push'](this['_id']),!0x0;}['decompress'](_0x318621,_0x30e115){_0x30e115['typeIndex']++;const _0x26e497=_0x30e115['buffers'][_0x30e115['bufferIndex']++],_0x38c72d=this['_protobufDescriptor']['decompress'](_0x26e497);_0x38c72d['nodes']||(_0x38c72d['nodes']=[]),this['_deserializeNodesAttributes'](_0x38c72d['nodes']),parsePositionAfterCompression(_0x38c72d),_0x38c72d['__className']=this['_operationName'],_0x318621['push'](_0x38c72d);}['_serializeNodesAttributes'](_0x287278){for(const _0x182cc7 of _0x287278){if(_0x182cc7['attributes']){const _0x373c2d=_0x182cc7['attributes'];this['_areValuesBoolean'](_0x373c2d)?_0x182cc7['attributesBoolean']=_0x373c2d:_0x182cc7['attributesJson']=JSON['stringify'](_0x373c2d);}_0x182cc7['children']&&this['_serializeNodesAttributes'](_0x182cc7['children']);}}['_deserializeNodesAttributes'](_0xd0412a){for(const _0x11968b of _0xd0412a)(_0x11968b['attributesBoolean']||_0x11968b['attributesJson'])&&(_0x11968b['attributesBoolean']?(_0x11968b['attributes']=_0x11968b['attributesBoolean'],delete _0x11968b['attributesBoolean']):(_0x11968b['attributes']=JSON['parse'](_0x11968b['attributesJson']),delete _0x11968b['attributesJson'])),_0x11968b['children']&&this['_deserializeNodesAttributes'](_0x11968b['children']);}['_areValuesBoolean'](_0x30e940){return Object['keys'](_0x30e940)['every'](_0x43e13f=>'boolean'==typeof _0x30e940[_0x43e13f]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x1d92cc,_0x2bd22c){super['decompress'](_0x1d92cc,_0x2bd22c);const _0x5e2c44=_0x1d92cc[_0x1d92cc['length']-0x1];_0x5e2c44['oldRange']||(_0x5e2c44['oldRange']=null),_0x5e2c44['newRange']||(_0x5e2c44['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x3ff6be,_0x5e9de0){return _0x5e9de0['index']++,_0x3ff6be['types']['push'](this['_id']),!0x0;}['decompress'](_0x545170,_0x4065ee){_0x4065ee['typeIndex']++,_0x545170['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x4c1da1,_0x314453,_0x4cd9b5,_0x1d6f19){super(_0x4c1da1,_0x314453,_0x4cd9b5),this['_omittedNamespace']=_0x1d6f19+':';}['compress'](_0x284440,_0x44a0f0){const _0x42fcf2=_0x44a0f0['operations'][_0x44a0f0['index']];return!('MarkerOperation'!=_0x42fcf2['__className']||!_0x42fcf2['name']['startsWith'](this['_omittedNamespace']))&&(_0x42fcf2['name']=_0x42fcf2['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x284440,_0x44a0f0),!0x0);}['decompress'](_0x20f6ea,_0x383194){super['decompress'](_0x20f6ea,_0x383194);const _0x5c7c54=_0x20f6ea[_0x20f6ea['length']-0x1];_0x5c7c54['name']=this['_omittedNamespace']+_0x5c7c54['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x55f62c,_0xe16267){this['_id']=_0x55f62c,this['_context']=_0xe16267;}['compress'](_0x342d11,_0xd6e904){let _0x259a97,_0x1717c6=_0xd6e904['operations'][_0xd6e904['index']],_0x255844=_0xd6e904['operations'][_0xd6e904['index']+0x1];for(;_0x255844&&this['_compareOperations'](_0x1717c6,_0x255844);)_0x259a97?(_0x259a97=this['_combineNext'](_0x1717c6,_0x259a97),_0x342d11['types']['push'](0x0)):(_0x259a97=_0xedd9f2(_0x1717c6),_0x342d11['types']['push'](this['_id'])),_0xd6e904['index']++,_0x1717c6=_0xd6e904['operations'][_0xd6e904['index']],_0x255844=_0xd6e904['operations'][_0xd6e904['index']+0x1];return!!_0x259a97&&(_0x259a97=this['_combineNext'](_0xd6e904['operations'][_0xd6e904['index']++],_0x259a97),_0x342d11['types']['push'](0x0),_0x342d11['buffers']['push'](this['_compressSingleOperation'](_0x259a97)),!0x0);}['decompress'](_0x403518,_0x18662d){const _0x49cb04=this['_decompressSingleOperation'](_0x18662d);for(;0x0==_0x18662d['types'][_0x18662d['typeIndex']];)_0x18662d['typeIndex']++,_0x403518['push'](this['_splitCurrent'](_0x49cb04));_0x403518['push'](_0x49cb04);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x61f642,_0x267bcd){return _0x267bcd['nodes'][0x0]['data']+=_0x61f642['nodes'][0x0]['data'],_0x267bcd;}['_splitCurrent'](_0x172e8f){const _0xf1fdce=_0xedd9f2(_0x172e8f),_0x2d4d85=_0xf1fdce['nodes'][0x0],_0x1af06b=_0x172e8f['nodes'][0x0],_0x589f4b=_0x1af06b['data'][Symbol['iterator']]()['next']()['value'],_0x1bdb8c=_0x589f4b['length'];return _0x2d4d85['data']=_0x589f4b,_0x1af06b['data']=_0x1af06b['data']['substr'](_0x1bdb8c),_0x172e8f['position']=getPositionShiftedBy(_0x172e8f['position'],_0x1bdb8c),_0xf1fdce;}['_compareOperations'](_0x1cb57a,_0x1dea2a){if(this['_checkOperation'](_0x1cb57a)&&this['_checkOperation'](_0x1dea2a)){const _0x129931=_0x1cb57a['nodes'][0x0]['data']['length'],_0x32ed33=arePositionsEqual(getPositionShiftedBy(_0x1cb57a['position'],_0x129931),_0x1dea2a['position']),_0x415246=_0x1cb57a['nodes'][0x0],_0x32eeb0=_0x1dea2a['nodes'][0x0];return _0x32ed33&&this['_compareAttributes'](_0x415246,_0x32eeb0);}return!0x1;}['_compressSingleOperation'](_0x83664d){const _0xfaae3={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0xfaae3,{'operations':[_0x83664d],'index':0x0}),_0xfaae3['buffers'][0x0];}['_decompressSingleOperation'](_0x19ec2a){const _0x2fcb38=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x2fcb38,_0x19ec2a),_0x2fcb38[0x0];}['_checkOperation'](_0x10b971){return'InsertOperation'==_0x10b971['__className']&&0x1==_0x10b971['nodes']['length']&&_0x10b971['nodes'][0x0]['data']&&!_0x10b971['wasUndone']&&0x1==Array['from'](_0x10b971['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x4acfac,_0x5244b1){const _0x4ae573=Object['keys'](_0x4acfac['attributes']||{}),_0x31158e=Object['keys'](_0x5244b1['attributes']||{});return _0x4ae573['length']===_0x31158e['length']&&_0x4ae573['every'](_0x51bbcd=>_0x5244b1['attributes'][_0x51bbcd]&&_0x5244b1['attributes'][_0x51bbcd]===_0x4acfac['attributes'][_0x51bbcd]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x1241c6,_0x5b5913){return _0x5b5913['howMany']++,_0x5b5913['sourcePosition']=_0xedd9f2(_0x1241c6['sourcePosition']),_0x5b5913;}['_splitCurrent'](_0x297718){const _0x59454c=_0xedd9f2(_0x297718);return _0x297718['howMany']--,_0x59454c['howMany']=0x1,_0x59454c['sourcePosition']=getPositionShiftedBy(_0x59454c['sourcePosition'],_0x297718['howMany']),_0x59454c;}['_compareOperations'](_0x35b0c1,_0x3f68cb){return!(!this['_checkOperation'](_0x35b0c1)||!this['_checkOperation'](_0x3f68cb))&&(arePositionsEqual(getPositionShiftedBy(_0x35b0c1['sourcePosition'],-0x1),_0x3f68cb['sourcePosition'])&&arePositionsEqual(_0x35b0c1['targetPosition'],_0x3f68cb['targetPosition']));}['_compressSingleOperation'](_0x2eb261){const _0x5ed219={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x5ed219,{'operations':[_0x2eb261],'index':0x0}),_0x5ed219['buffers'][0x0];}['_decompressSingleOperation'](_0x337d45){const _0x15a02b=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x15a02b,_0x337d45),_0x15a02b[0x0];}['_checkOperation'](_0x5433e2){return'MoveOperation'==_0x5433e2['__className']&&'$graveyard'==_0x5433e2['targetPosition']['root']&&0x1==_0x5433e2['howMany']&&!_0x5433e2['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0xb4658a,_0x4c3b41){return _0x4c3b41['howMany']++,_0x4c3b41;}['_splitCurrent'](_0x4a9ae3){const _0x2e9c41=_0xedd9f2(_0x4a9ae3);return _0x2e9c41['howMany']=0x1,_0x4a9ae3['howMany']--,_0x2e9c41;}['_compareOperations'](_0x27d45e,_0x330aa3){return!(!this['_checkOperation'](_0x27d45e)||!this['_checkOperation'](_0x330aa3))&&(arePositionsEqual(_0x27d45e['sourcePosition'],_0x330aa3['sourcePosition'])&&arePositionsEqual(_0x27d45e['targetPosition'],_0x330aa3['targetPosition']));}['_compressSingleOperation'](_0x156049){const _0x5da0b6={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x5da0b6,{'operations':[_0x156049],'index':0x0}),_0x5da0b6['buffers'][0x0];}['_decompressSingleOperation'](_0x2f2e3b){const _0x4c69f8=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x4c69f8,_0x2f2e3b),_0x4c69f8[0x0];}['_checkOperation'](_0x4f401e){return'MoveOperation'==_0x4f401e['__className']&&'$graveyard'==_0x4f401e['targetPosition']['root']&&0x1==_0x4f401e['howMany']&&!_0x4f401e['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x13c7cb,_0x125c10){if(!this['_compareOperations'](_0x125c10['operations'][_0x125c10['index']],_0x125c10['operations'][_0x125c10['index']+0x1]))return!0x1;const _0x549892=_0x125c10['operations'][_0x125c10['index']++];return _0x549892['oldRange']=null,_0x549892['newRange']&&arePositionsEqual(_0x549892['newRange']['start'],_0x549892['newRange']['end'])&&(_0x549892['newRange']['end']=null),_0x125c10['index']++,_0x13c7cb['types']['push'](this['_id']),_0x13c7cb['types']['push'](0x0),_0x13c7cb['buffers']['push'](this['_compressSingleOperation'](_0x549892)),!0x0;}['decompress'](_0x386c74,_0x960bd7){const _0x20cf57=this['_decompressSingleOperation'](_0x960bd7);_0x20cf57['newRange']&&!_0x20cf57['newRange']['end']&&(_0x20cf57['newRange']['end']=_0xedd9f2(_0x20cf57['newRange']['start']));const _0x273c33=_0xedd9f2(_0x20cf57);_0x273c33['newRange']&&(_0x273c33['newRange']['start']['stickiness']='toNone',_0x273c33['newRange']['end']=_0xedd9f2(_0x273c33['newRange']['start'])),_0x273c33['name']='user:position:'+_0x273c33['name']['split'](':')[0x2],_0x960bd7['typeIndex']++,_0x386c74['push'](_0x20cf57),_0x386c74['push'](_0x273c33);}['_compressSingleOperation'](_0x26d7cd){const _0x41a9d9={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x41a9d9,{'operations':[_0x26d7cd],'index':0x0}),_0x41a9d9['buffers'][0x0];}['_decompressSingleOperation'](_0x79f5ae){const _0x313d93=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x313d93,_0x79f5ae),_0x313d93[0x0];}['_compareOperations'](_0x128f34,_0x1ebd3c){return!(!_0x128f34||!_0x1ebd3c)&&('MarkerOperation'==_0x128f34['__className']&&'MarkerOperation'==_0x1ebd3c['__className']&&!(!_0x128f34['name']['startsWith']('user:')||!_0x1ebd3c['name']['startsWith']('user:')||_0x128f34['name']==_0x1ebd3c['name']));}}class _0x48ba45{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x36a4cb=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new NoOperationCompressor(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0xb,'InsertOperation',InsertOperationCompressor),this['_registerOperationCompressor'](0xc,'MarkerOperation',MarkerOperationCompressor),this['_registerOperationCompressor'](0xd,'MergeOperation',OperationCompressor),this['_registerOperationCompressor'](0xe,'MoveOperation',OperationCompressor),this['_registerOperationCompressor'](0xf,'RenameOperation',OperationCompressor),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0x11,'SplitOperation',OperationCompressor),this['_registerCompressor'](0x12,'CommentMarkerOperation',new AnnotationMarkerOperationCompressor(0x12,'MarkerOperation',_0x36a4cb,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x36a4cb,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',OperationCompressor),this['_registerActionCompressor'](0x64,'TypingAction',TypingActionCompressor),this['_registerActionCompressor'](0x65,'DeletingAction',DeletingActionCompressor),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',ForwardDeletingActionCompressor),this['_registerActionCompressor'](0x67,'UserSelectionAction',UserSelectionActionCompressor);}['compress'](_0x440d45){if(!_0x440d45||!_0x440d45[0x0])throw new ckeditor5['CKEditorError']('no-operations-provided',this);const _0x47d54d={'operations':_0x440d45,'index':0x0},_0x1cf08a={'types':[],'buffers':[],'baseVersion':_0x440d45[0x0]['baseVersion']};for(;_0x47d54d['index']<_0x47d54d['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x1cf08a,_0x47d54d))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x1cf08a,_0x47d54d))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x1cf08a,_0x47d54d))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x1cf08a,_0x47d54d))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x1cf08a,_0x47d54d))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x1cf08a,_0x47d54d))continue;const _0x551412=_0x47d54d['operations'][_0x47d54d['index']]['__className'];this['_getCompressorByName'](_0x551412)['compress'](_0x1cf08a,_0x47d54d);}return _0x1cf08a;}['decompress'](_0x50b934){const _0x418b4c=[],_0x3521dd={'types':_0x50b934['types'],'buffers':_0x50b934['buffers'],'baseVersion':_0x50b934['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x3521dd['typeIndex']<_0x3521dd['types']['length'];){const _0x22b660=_0x3521dd['types'][_0x3521dd['typeIndex']],_0x313a5f=this['_compressorById']['get'](_0x22b660);if(!_0x313a5f)throw new ckeditor5['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x22b660});_0x313a5f['decompress'](_0x418b4c,_0x3521dd);}return _0x418b4c['forEach']((_0x3e3591,_0x184c77)=>_0x3e3591['baseVersion']=_0x50b934['baseVersion']+_0x184c77),_0x418b4c;}['_getCompressorByName'](_0x4eb46c){return this['_compressorByName']['get'](_0x4eb46c);}['_registerOperationCompressor'](_0x33b229,_0x39654a,_0xe7e4da){const _0x361a26=new _0xe7e4da(_0x33b229,_0x39654a,this['_protobufFactory']['getDescriptor'](_0x39654a));this['_registerCompressor'](_0x33b229,_0x39654a,_0x361a26);}['_registerActionCompressor'](_0x223c7b,_0x22ea36,_0x392a1e){const _0x1334b3=new _0x392a1e(_0x223c7b,this);this['_registerCompressor'](_0x223c7b,_0x22ea36,_0x1334b3);}['_registerCompressor'](_0x34bc06,_0x303340,_0xb71c67){this['_compressorById']['set'](_0x34bc06,_0xb71c67),this['_compressorByName']['set'](_0x303340,_0xb71c67);}}let requestCount=0x1;class RealTimeCollaborationClient extends ckeditor5['Plugin']{static ['CollaborativeEditingService']=/* #__PURE__ -- @preserve */
((()=>CollaborativeEditingService)());['_offset'];['sessionId'];['serverHistory'];['_channelId'];['_service'];['_document'];['_compressor'];['_bufferedOperations'];['_knownOperations'];['_knownRootNames'];['_pendingAction'];['_hasSelectionChanged'];['_sendBufferedOperationsDelayId'];['_baseBufferDelay'];['_currentBufferDelay'];['_lastSyncedOperationId'];['_disconnectionOperations'];['_operationIdentifier'];static get['requires'](){return[WebSocketGateway,_0x494d0f,_0x51c7f3,ckeditor5['PendingActions'],_0x59867e,ckeditor5['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 _0x229bc4=this['serverHistory']['getOperations']();for(let _0x5ce439=_0x229bc4['length']-0x1;_0x5ce439>=0x0;_0x5ce439--){const _0x1a7eef=_0x229bc4[_0x5ce439];if(!this['_disconnectionOperations']['has'](_0x1a7eef))return _0x1a7eef['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x1446a2){if(super(_0x1446a2),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new ckeditor5['History'](),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new ckeditor5['CKEditorError']('collaboration-missing-channelid',this);const _0x445312=_0x1446a2['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x445312,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x48ba45(),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 OperationIdentifier(this['_disconnectionOperations']);}['init'](){const _0x16d236=this['editor'],_0x3c0bc2=_0x16d236['plugins']['get'](_0x59867e),_0x389eb6=_0x16d236['plugins']['get'](WebSocketGateway);this['listenTo'](_0x3c0bc2,'getOperationAuthor',(_0x2f8f6e,_0x451723)=>{const _0x3d2492=_0x451723[0x0];_0x3d2492['_authorId']&&(_0x2f8f6e['return']=_0x3c0bc2['getUser'](_0x3d2492['_authorId']),_0x2f8f6e['stop']()),null===_0x3d2492['_authorId']&&(_0x2f8f6e['return']=null,_0x2f8f6e['stop']());},{'priority':'high'}),this['listenTo'](_0x16d236['model']['document']['selection'],'change:range',(_0x14549c,_0x5e37db)=>{_0x5e37db['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x16d236['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x16d236['model']['on']('applyOperation',(_0x3b4ffa,_0x2a01cc)=>{const _0x3456e4=_0x2a01cc[0x0];_0x3456e4['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x3456e4),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x389eb6,'state',this,'_hasSynchronizationProblem',(_0x5f53a5,_0xec85ea)=>'connected'===_0x5f53a5&&!_0xec85ea),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x16d236['disableReadOnlyMode']('rtc-offline'):_0x16d236['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x16d236['disableReadOnlyMode']('rtc-offline'):_0x16d236['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x52ba35=this['editor']['plugins']['get'](_0x494d0f),_0x6bf0be=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x52ba35['unregister'](this['_channelId']);const _0x3d82ca=await this['_service']['reconnect'](_0x6bf0be['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x3d82ca)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x3a75ec=await this['_service']['getConnectedSessions']();_0x52ba35['register'](this['_channelId'],_0x3a75ec),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x58393b){if(isSessionNotExistingError(_0x58393b)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(isBaseVersionMismatchError(_0x58393b)){const _0x5e0626=getTranslation$6(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'](_0x5e0626);}else{if(!(_0x58393b instanceof ReconnectionError))throw _0x58393b;this['_handleReconnectionError']();}}}}['destroy'](){const _0x30d2a9=this['editor']['plugins']['get'](WebSocketGateway),_0x11388c=this['editor']['plugins']['get'](_0x494d0f);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x11388c['channelSessions']['has'](this['_channelId'])&&_0x11388c['unregister'](this['_channelId']),_0x30d2a9['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x4e7c3e){if(this['sessionId']!==_0x4e7c3e['sessionId']&&this['_lastSyncedOperationId']!==_0x4e7c3e['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x4e7c3e['sessionId'],this['_handleServerResponse']([],{..._0x4e7c3e,'wereChangesApplied':!0x1,'data':_0x4e7c3e['data']},'reconnect');}async['_connectService'](_0x4fe85d,_0x1a28f2=!0x1){const {connection:_0x328f9d}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x328f9d,this['_channelId'])['then'](_0x29dbcd=>this['_initSessionsHandling'](_0x29dbcd))['catch'](_0x2d8fd3=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x2d8fd3);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x34dbb9,_0x2ccfc9)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x2ccfc9);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x19a086=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x4fe85d);this['_isPendingUpdate']=!0x0;const _0x4401aa=await this['_service']['connect'](_0x328f9d,this['_compressOperations'](_0x4fe85d),_0x19a086);if(this['sessionId']=_0x4401aa['sessionId'],_0x1a28f2){if(!_0x4401aa['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x4401aa['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x4fe85d,_0x4401aa,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x4401aa,_0x4fe85d);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x314f5b=this['editor']['plugins']['get'](_0x494d0f),_0x13abba=this['editor']['plugins']['get'](_0x51c7f3),_0x1f3ee3=_0x314f5b['channelSessions']['get'](this['_channelId']);_0x1f3ee3&&_0x1f3ee3['length']>0x1?_0x13abba['createUserMarkerOperations']():this['listenTo'](_0x314f5b,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x314f5b['channelSessions']['get'](this['_channelId'])['length']&&_0x13abba['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x516427,_0x27ec3d,_0x6cf1a8,_0x39203f){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x27ec3d){const _0x2ada5c=this['_decompressOperations'](_0x6cf1a8,_0x39203f);await this['_fetchMissingUsers'](_0x2ada5c),this['_handleExternalOperations'](_0x2ada5c,_0x27ec3d,_0x6cf1a8['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x580f55}=this['editor'];let _0x1a57c8;try{_0x1a57c8=await this['_service']['getDocumentDetails']();}catch{const _0x57e8cb=getTranslation$6(_0x580f55,'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'](_0x57e8cb);}const _0x141ae2=_0x1a57c8['currentDocumentSession']||_0x1a57c8['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x141ae2['lastOperationId']){const _0x42c8ba=getTranslation$6(_0x580f55,'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'](_0x42c8ba);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x4de993){const _0x54821d=this['editor']['plugins']['get'](_0x494d0f);this['listenTo'](_0x54821d,'sessionAdd:'+this['_channelId'],(_0x1246fb,{session:_0x430385})=>{if(_0x430385['id']===_0x54821d['mySessionId']){_0x1246fb['off']();const _0x48a4d9=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x5cc763=_0x430385['permissions'];_0x48a4d9&&_0x48a4d9['isEnabled']&&(_0x5cc763=_0x5cc763['filter'](_0x38eaf6=>'document:write'!==_0x38eaf6)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x5cc763,this['_channelId']);}}),_0x54821d['register'](this['_channelId'],_0x4de993);}['_initThrowingOnDataSet'](){const _0x1f1c08=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x1d1960)=>{if(!_0x1d1960[_0x1d1960['length']-0x1]['suppressErrorInCollaboration'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x1f1c08['apply'](this['editor']['data'],_0x1d1960);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x3900d5,[_0x270b8d])=>{if(this['_document']['version'])throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x3900d5['stop'](),this['_setPendingAction']();const _0x4a094e=this['editor']['config']['get']('rootsAttributes'),_0x2fff4b=this['_getOperationsFromInitData'](_0x270b8d,_0x4a094e);0x0==_0x2fff4b['length']&&_0x2fff4b['push'](new ckeditor5['NoOperation'](0x0)),_0x3900d5['return']=this['_connectService'](_0x2fff4b)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x4e363c=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x4e363c))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x7cff0a,[_0x5b2411,_0x5afe97])=>{_0x7cff0a['stop']();const _0xfb4911=this['editor']['model']['document']['getRoot'](_0x5b2411);if(!this['_knownRootNames']['has'](_0x5b2411)){const _0x2715fc=_0x5afe97&&_0x5afe97['data']?_0x5afe97['data']:'',_0x5e6b15=_0x5afe97&&_0x5afe97['attributes']?_0x5afe97['attributes']:{};await this['_loadRoot'](_0x5b2411,_0x2715fc,_0x5e6b15);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0xfb4911['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0xfb4911);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x5e4311){const _0x210647=this['editor']['plugins']['get'](_0x59867e),{connection:_0x3736d2}=this['editor']['plugins']['get'](WebSocketGateway),_0xdc22=new Set();for(const _0x507aa6 of _0x5e4311){const _0x3825a7=_0x507aa6['_authorId'];_0x3825a7&&!_0x210647['getUser'](_0x3825a7)&&_0xdc22['add'](_0x3825a7);}if(0x0===_0xdc22['size'])return;const _0x404772=await _0x2f9243['getMany'](_0x3736d2,Array['from'](_0xdc22));for(const _0xfaad1b of _0x404772)_0x210647['getUser'](_0xfaad1b['id'])||_0x210647['addUser'](_0xfaad1b);}['_getOperationsFromInitData'](_0x1bd4bd,_0x39e935={}){const _0x32c557=this['editor']['model'],_0x5ef361=[];let _0x43fb43=0x0;const _0x3ff605='string'==typeof _0x1bd4bd?{'main':_0x1bd4bd}:_0x1bd4bd;for(const _0x460f5d of Object['keys'](_0x3ff605)){if(!this['_document']['roots']['has'](_0x460f5d))throw new ckeditor5['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x150bc4=this['editor']['data']['parse'](_0x3ff605[_0x460f5d]),_0x24afc4=this['_document']['getRoot'](_0x460f5d),_0x4ff7c1=new ckeditor5['InsertOperation'](_0x32c557['createPositionAt'](_0x24afc4,0x0),_0x150bc4,_0x43fb43++);_0x5ef361['push'](_0x4ff7c1);for(const [_0xcc1a3,_0x1cbfe2]of _0x150bc4['markers']){const _0x21e748=_0x32c557['createRange'](_0x32c557['createPositionFromPath'](_0x24afc4,_0x1cbfe2['start']['path']['slice']()),_0x32c557['createPositionFromPath'](_0x24afc4,_0x1cbfe2['end']['path']['slice']())),_0x36748f=new ckeditor5['MarkerOperation'](_0xcc1a3,null,_0x21e748,_0x32c557['markers'],!0x0,_0x43fb43++);_0x5ef361['push'](_0x36748f);}}if(_0x39e935)for(const [_0x148773,_0x544086]of Object['entries'](_0x39e935)){const _0x4d0369=_0x32c557['document']['getRoot'](_0x148773);if(!_0x4d0369)throw new ckeditor5['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x31550e,_0x47500a]of Object['entries'](_0x544086))if(null!==_0x47500a){const _0x29262f=new ckeditor5['RootAttributeOperation'](_0x4d0369,_0x31550e,null,_0x47500a,_0x43fb43++);_0x5ef361['push'](_0x29262f);}}return _0x5ef361;}async['_loadRoot'](_0x52cb36,_0x19a4b2,_0x56cb00){this['_getOperationsFromInitData']({[_0x52cb36]:_0x19a4b2},{[_0x52cb36]:_0x56cb00})['forEach']((_0x2e8414,_0x4962a9)=>{_0x2e8414['baseVersion']=this['_document']['version']+_0x4962a9,_0x2e8414['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x2e8414);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x32a774,_0x3be75e){let _0x40011c;this['_offset']=_0x32a774['offset'];const _0x57ceeb=_0x32a774['wereChangesApplied']&&!_0x32a774['initData'],_0x4a25ec=_0x57ceeb?0x0:_0x32a774['data']['baseVersion'];if(_0x3be75e['forEach'](_0x22c208=>{_0x22c208['_isInit']=!0x0,_0x22c208['createdAt']=_0x32a774['sessionCreatedAt'],_0x22c208['_authorId']=null;}),_0x57ceeb)_0x40011c=_0x3be75e,this['_applyOperationsSet'](_0x40011c,_0x57ceeb);else{if(_0x32a774['initData']){const _0x47ad07=this['_getOperationsFromInitData'](_0x32a774['initData']);this['_document']['history']['version']=-_0x47ad07['length'],_0x47ad07['forEach'](_0x46047b=>{_0x46047b['baseVersion']-=_0x47ad07['length'],_0x46047b['createdAt']=_0x32a774['sessionCreatedAt'],_0x46047b['_isInit']=!0x0,_0x46047b['_authorId']=null;}),this['_applyOperationsSet'](_0x47ad07,!0x0),this['serverHistory']['version']=-_0x47ad07['length']+this['_offset'],this['_updateServerHistory'](_0x47ad07);}this['_document']['history']['version']=_0x4a25ec,_0x40011c=this['_decompressOperations'](_0x32a774['data'],_0x32a774['metadata']),await this['_fetchMissingUsers'](_0x40011c),this['_applyOperationsSet'](_0x40011c,_0x57ceeb);}_0x32a774['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x40011c,_0x32a774['lastOperationId']),this['_lastSyncedOperationId']=_0x32a774['lastOperationId']),this['serverHistory']['version']=_0x4a25ec+this['_offset'],this['_updateServerHistory'](_0x40011c),_0x3be75e['filter'](_0x28c495=>{const _0x370872=this['_getAffectedRoot'](_0x28c495);return _0x370872&&!this['_knownRootNames']['has'](_0x370872);})['forEach']((_0x574a36,_0x43bb21)=>{_0x574a36['baseVersion']=this['_document']['version']+_0x43bb21,this['_saveOperationInBuffer'](_0x574a36);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x38cb27,_0x1ed254){const _0x669912=_0x1ed254&&_0x1ed254['message'];if(_0x669912&&_0x669912['startsWith']('realtimecollaborationclient'))throw _0x1ed254;const _0x48d991=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x48d991['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new ckeditor5['CKEditorError'](_0x38cb27,this['editor'],_0x669912?{'originalError':_0x669912}:void 0x0);}['_saveOperationInBuffer'](_0x7faf10){this['_knownOperations']['has'](_0x7faf10)||(this['_knownOperations']['add'](_0x7faf10),this['_bufferedOperations']['push'](_0x7faf10),this['_pendingAction']||'marker'==_0x7faf10['type']&&!_0x7faf10['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x5a91bd=!0x1){!_0x5a91bd&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x3b9dab=>{_0x3b9dab&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0xc27ce=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,isDisconnectionError$3(_0xc27ce)||this['_crash'](_0xc27ce['message'],_0xc27ce);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x3fb2ae=>{this['on']('change:_isPendingUpdate',()=>{_0x3fb2ae();});});}async['_sendBufferedOperations'](){const _0xbba95b=this['editor']['plugins']['get'](_0x51c7f3);if(this['_shouldSendSelectionUpdate']()&&(_0xbba95b['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x355f75=[...this['_bufferedOperations']];for(const _0x586709 of _0x355f75)_0x586709['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x586709);const _0x4fc610=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x355f75),_0x4daf77=requestCount++,_0x200002=this['_compressOperations'](_0x355f75),_0x232e22=await this['_service']['sendOperations'](_0x200002,_0x200002['baseVersion'],_0x4fc610);try{return await this['_handleServerResponse'](_0x355f75,_0x232e22,_0x4daf77);}catch(_0xd2010c){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0xd2010c);}}async['_handleServerResponse'](_0x29501b,_0x408571,_0x3fd582){if('error'in _0x408571)throw _0x408571['error'];let _0x10b679=!0x1;if(_0x408571['wereChangesApplied']){_0x408571['lastOperationId']&&(this['_lastSyncedOperationId']=_0x408571['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x30b374=>!_0x29501b['includes'](_0x30b374));for(const _0x9a80ef of _0x29501b)_0x9a80ef['createdAt']='lastOperationAcceptedAt'in _0x408571&&_0x408571['lastOperationAcceptedAt']||void 0x0;updateBaseVersions(_0x29501b,_0x408571['version']-_0x29501b['length']),this['_updateServerHistory'](_0x29501b);const _0x13f52e=_0x29501b['filter'](_0x177f0c=>{if(!_0x177f0c['_isInit'])return!0x1;const _0x472a61=this['_getAffectedRoot'](_0x177f0c);return _0x472a61&&!this['_knownRootNames']['has'](_0x472a61);});updateBaseVersions(_0x13f52e,this['_document']['version']),this['_applyOperationsSet'](_0x13f52e),_0x10b679=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x3f32b4=this['_decompressOperations'](_0x408571['data'],_0x408571['metadata'])['filter'](_0x277564=>_0x277564['baseVersion']>=this['_lastServerVersion']);_0x3f32b4['forEach'](_0x45ef78=>this['_addKnownRoot'](_0x45ef78)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x133a45=>!_0x133a45['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x133a45))),this['_bufferedOperations']['length']&&updateBaseVersions(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x3f32b4),_0x10b679=this['_handleExternalOperations'](_0x3f32b4,_0x408571['version'],_0x408571['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x10b679?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x1a9e65,_0x4f6edd,_0x147c86){try{const _0x2a59f4={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5e3606,operationsB:_0x201cea,originalOperations:_0x86c80d}=ckeditor5['transformOperationSets'](_0x1a9e65,this['_bufferedOperations'],_0x2a59f4);updateBaseVersions(_0x5e3606,this['_document']['version']),updateBaseVersions(_0x201cea,_0x4f6edd);for(const _0x53e292 of _0x5e3606){const _0x6465e7=_0x86c80d['get'](_0x53e292);_0x53e292['_authorId']=_0x6465e7?_0x6465e7['_authorId']:null;}_0x147c86&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x1a9e65,_0x147c86),this['_lastSyncedOperationId']=_0x147c86),this['_bufferedOperations']=[..._0x201cea],this['_applyOperationsSet'](_0x5e3606),this['_updateServerHistory'](_0x1a9e65);}catch(_0x2d5524){return console['error'](_0x2d5524),!0x1;}return!0x0;}['_applyOperationsSet'](_0x4888b1,_0x131063=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x458517=>{for(const _0x5042df of _0x4888b1)this['_knownOperations']['add'](_0x5042df),this['_addKnownRoot'](_0x5042df),_0x458517['batch']['addOperation'](_0x5042df),this['editor']['model']['applyOperation'](_0x5042df);});}['_addKnownRoot'](_0x3a7899){const _0x3ed693=this['_getAffectedRoot'](_0x3a7899);_0x3ed693&&this['_knownRootNames']['add'](_0x3ed693);}['_getAffectedRoot'](_0x58805a){let _0xefe1e6,_0x30e74a;switch(_0x58805a['type']){case'insert':_0xefe1e6=_0x58805a['position']['root'];break;case'marker':if(_0x30e74a=_0x58805a['newRange'],!_0x30e74a)return null;_0xefe1e6=_0x30e74a['root'];break;case'addRootAttribute':_0xefe1e6=_0x58805a['root'];break;case'addRoot':_0xefe1e6=_0x58805a['affectedSelectable'];break;case'move':_0xefe1e6=_0x58805a['targetPosition']['root'];break;default:return null;}return _0xefe1e6['rootName'];}['_updateServerHistory'](_0x173c3b){_0x173c3b['forEach'](_0x6bfbeb=>{const _0x32ffdd=_0x6bfbeb['clone']();_0x32ffdd['_authorId']=_0x6bfbeb['_authorId'],_0x32ffdd['_isInit']=!!_0x6bfbeb['_isInit'],_0x32ffdd['createdAt']=_0x6bfbeb['createdAt'],_0x32ffdd['baseVersion']+=this['_offset'],_0x6bfbeb['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x32ffdd),this['serverHistory']['addOperation'](_0x32ffdd);});}['_handleReconnectionError'](_0x17c7c5){const _0x2a5f73=this['editor']['plugins']['get']('Notification'),_0x3e411c=this['editor']['locale'];_0x17c7c5||(_0x17c7c5=getTranslation$6(_0x3e411c,'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.')),_0x2a5f73['showWarning'](_0x17c7c5,{'title':getTranslation$6(_0x3e411c,'Synchronization\x20issue'),'namespace':'real-time-collaboration'}),this['_hasSynchronizationProblem']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_bufferedOperations']=[],this['editor']['plugins']['get'](WebSocketGateway)['disconnect']();}['_setPendingAction'](){this['_pendingAction']||(this['_pendingAction']=this['editor']['plugins']['get'](ckeditor5['PendingActions'])['add'](getTranslation$6(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](ckeditor5['PendingActions'])['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x112efe){const _0xde6f14=_0x112efe['map'](_0x23cd10=>_0x23cd10['toJSON']());return this['_compressor']['compress'](_0xde6f14);}['_decompressOperations'](_0x1e4c33,_0x15b3e9){return this['_compressor']['decompress'](_0x1e4c33)['map']((_0x5e08f8,_0x54d5a0)=>{const _0x224995='init'==_0x15b3e9[_0x54d5a0]['type'];if('InsertOperation'==_0x5e08f8['__className']){const _0x5d7663=_0x5e08f8['position']['root'];!this['_document']['getRoot'](_0x5d7663)&&(this['_document']['createRoot']('$root',_0x5d7663)['_isAttached']=!0x1);}const _0x1e7b02=ckeditor5['OperationFactory']['fromJSON'](_0x5e08f8,this['_document']);return _0x1e7b02['wasUndone']=_0x5e08f8['wasUndone'],_0x1e7b02['_isInit']=_0x224995,_0x1e7b02['_authorId']=_0x224995?null:_0x15b3e9[_0x54d5a0]['userId'],_0x1e7b02['_isDisconnection']='cs:removeUser'===_0x15b3e9[_0x54d5a0]['type'],_0x1e7b02['createdAt']=_0x15b3e9[_0x54d5a0]['createdAt'],_0x1e7b02;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x523592=this['editor']['plugins']['get'](_0x494d0f)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x523592&&_0x523592['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function updateBaseVersions(_0x3f5faa,_0x23653c){for(const _0x2c7e92 of _0x3f5faa)_0x2c7e92['baseVersion']=_0x23653c++;}function isSessionNotExistingError(_0x9a1e6b){return'404'===_0x9a1e6b['code'];}function isBaseVersionMismatchError(_0x4d75fd){return'409'===_0x4d75fd['code'];}function isDisconnectionError$3(_0xc45ffd){return _0xc45ffd['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xc45ffd['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0xc45ffd['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x2a4459){this['_ignoredOperations']=_0x2a4459,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x414d9b){let _0x3db06e=_0x414d9b['length'];for(;_0x3db06e--;){const _0x440a83=_0x414d9b[_0x3db06e];if(!this['_ignoredOperations']['has'](_0x440a83)){if(!this['_operationToId']['has'](_0x440a83)){const _0x346a99=ckeditor5['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x440a83,_0x346a99);}return this['_operationToId']['get'](_0x440a83);}}}['setIdForTheLastOperation'](_0x4bf7fc,_0x2309ea){if(!_0x2309ea)return;let _0x362b5e=_0x4bf7fc['length'];for(;_0x362b5e--;){const _0x4e7701=_0x4bf7fc[_0x362b5e];this['_ignoredOperations']['has'](_0x4e7701)||this['_operationToId']['set'](_0x4e7701,_0x2309ea);}}}class RealTimeCollaborativeEditing extends ckeditor5['Plugin']{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesCommentsAdapter extends ckeditor5['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,'CommentsRepository',_0x494d0f,_0x59867e];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47181a){super(_0x47181a),this['_services']=new Map();}async['init'](){const _0x2faf8d=this['context'],_0x5f15d5=_0x2faf8d['plugins']['get']('CommentsRepository');if(_0x2faf8d['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x5f15d5['adapter']={'addCommentThread':async({channelId:_0x27c5b8,threadId:_0x504312,comments:_0x184594,resolvedAt:_0x100002,resolvedBy:_0x577bc0,context:_0xb8d9fc,attributes:_0x52aa0f})=>{const _0xf7b588=await this['_getService'](_0x27c5b8)['addCommentThread']({'commentThreadId':_0x504312,'comments':_0x184594['map'](_0x5ab898=>parseLocalCommentToRemote(_0x5ab898,_0x27c5b8,_0x504312)),'resolvedAt':_0x100002,'resolvedBy':_0x577bc0,'context':_0xb8d9fc,'attributes':_0x52aa0f})['catch'](handleDisconnectionError$1);return{'threadId':_0xf7b588['commentThreadId'],'comments':_0xf7b588['comments']};},'getCommentThread':async({channelId:_0x51b110,threadId:_0x35f214})=>{const _0x28d6f8=await this['_getService'](_0x51b110)['getCommentThread'](_0x35f214)['catch'](_0x1745dd)['catch'](handleDisconnectionError$1);return _0x28d6f8?_0x28d6f8['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x28d6f8]),{'threadId':_0x28d6f8['commentThreadId'],'comments':_0x28d6f8['comments']['map'](parseRemoteCommentToLocal),'context':_0x28d6f8['context'],'resolvedAt':_0x28d6f8['resolvedAt'],'resolvedBy':_0x28d6f8['resolvedBy'],'attributes':_0x28d6f8['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x4d4115,threadId:_0xa2b34f,context:_0x2a5048,unlinkedAt:_0x454484,attributes:_0x25e1e0})=>this['_getService'](_0x4d4115)['updateCommentThread']({'commentThreadId':_0xa2b34f,'context':_0x2a5048,'attributes':_0x25e1e0,'unlinkedAt':_0x454484})['catch'](_0x1745dd)['catch'](handleDisconnectionError$1),'resolveCommentThread':async({channelId:_0x16dabe,threadId:_0x43128f})=>{const _0x311236=await this['_getService'](_0x16dabe)['resolveCommentThread'](_0x43128f)['catch'](_0x1745dd)['catch'](handleDisconnectionError$1);return{'threadId':_0x311236['commentThreadId'],'resolvedAt':_0x311236['resolvedAt'],'resolvedBy':_0x311236['resolvedBy']};},'reopenCommentThread':async({channelId:_0x12b1c6,threadId:_0x3aa1cd})=>this['_getService'](_0x12b1c6)['reopenCommentThread'](_0x3aa1cd)['catch'](_0x1745dd)['catch'](handleDisconnectionError$1),'removeCommentThread':({channelId:_0x2aa8d8,threadId:_0x1c460a})=>this['_getService'](_0x2aa8d8)['removeCommentThread'](_0x1c460a)['catch'](_0x1745dd)['catch'](handleDisconnectionError$1),'addComment':({channelId:_0x51c305,threadId:_0x4ffbeb,commentId:_0x139e13,content:_0xed9674,attributes:_0x43c573})=>this['_getService'](_0x51c305)['addComment'](_0x4ffbeb,_0x139e13,_0xed9674,_0x43c573)['catch'](handleDisconnectionError$1),'updateComment':({channelId:_0x53c6e9,threadId:_0xcb4586,commentId:_0x1fa6f7,content:_0x5188e8,attributes:_0x5aef75})=>this['_getService'](_0x53c6e9)['updateComment'](_0xcb4586,_0x1fa6f7,_0x5188e8,_0x5aef75)['catch'](_0x1745dd)['catch'](handleDisconnectionError$1),'removeComment':({channelId:_0x3070c6,threadId:_0x37557b,commentId:_0x366179})=>this['_getService'](_0x3070c6)['removeComment'](_0x37557b,_0x366179)['catch'](_0x1745dd)['catch'](handleDisconnectionError$1)},_0x2faf8d instanceof ckeditor5['Context']){const _0x3feb94=_0x2faf8d['config']['get']('collaboration.channelId'),_0x5f01f2=_0x2faf8d['plugins']['get'](_0x494d0f);await this['_setUpService'](_0x3feb94);const _0x463ad7=await this['_services']['get'](_0x3feb94)['getConnectedSessions']();this['listenTo'](_0x5f01f2,'sessionAdd:'+_0x3feb94,(_0x11bb13,{session:_0x32f15a})=>{_0x32f15a['id']===_0x5f01f2['mySessionId']&&(_0x11bb13['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x32f15a['permissions'],_0x3feb94));}),_0x5f01f2['register'](_0x3feb94,_0x463ad7);}}async['_setUpService'](_0x3c62c0){if(this['_services']['has'](_0x3c62c0))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x3c62c0});const _0x4255a1=this['context']['plugins']['get']('CommentsRepository'),_0x473248=new CloudServicesCommentsAdapter['CommentsService'](_0x3c62c0);this['_services']['set'](_0x3c62c0,_0x473248),this['listenTo'](_0x473248,'commentThreadAdded',(_0x93807f,_0x2871f3)=>{const {commentThreadId:_0x16090b,documentId:_0x13c0ae,context:_0x7df71c,attributes:_0xa3ee2f,resolvedAt:_0x36eabd,resolvedBy:_0x2e6962,comments:_0x1410cb}=_0x2871f3;_0x4255a1['getCommentThread'](_0x16090b)||_0x4255a1['addCommentThread']({'threadId':_0x16090b,'channelId':_0x13c0ae,'comments':_0x1410cb?_0x1410cb['map'](parseRemoteCommentToLocal):[],'context':_0x7df71c,'attributes':_0xa3ee2f,'resolvedAt':_0x36eabd,'resolvedBy':_0x2e6962,'isFromAdapter':!0x0});}),this['listenTo'](_0x473248,'commentThreadUpdated',(_0x47e68f,{commentThreadId:_0x2255d5,documentId:_0x5e147e,context:_0x5509c6,unlinkedAt:_0x125fef,attributes:_0x57ce99})=>{_0x4255a1['getCommentThread'](_0x2255d5)&&_0x4255a1['updateCommentThread']({'threadId':_0x2255d5,'channelId':_0x5e147e,'context':_0x5509c6,'unlinkedAt':_0x125fef,'attributes':_0x57ce99,'isFromAdapter':!0x0});}),this['listenTo'](_0x473248,'commentThreadResolved',(_0x8dbb17,{commentThreadId:_0x101c89,resolvedBy:_0x1a4eed,resolvedAt:_0x3076cd})=>{const _0x805796=_0x4255a1['getCommentThread'](_0x101c89);_0x805796&&_0x805796['resolve']({'resolvedBy':_0x1a4eed,'resolvedAt':_0x3076cd,'isFromAdapter':!0x0});}),this['listenTo'](_0x473248,'commentThreadReopened',(_0x7a1b6f,{commentThreadId:_0x5d7ddb})=>{const _0x17cfba=_0x4255a1['getCommentThread'](_0x5d7ddb);_0x17cfba&&_0x17cfba['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x473248,'commentThreadRemoved',(_0x8cd8fe,{commentThreadId:_0x56c3e3})=>{const _0x2c520b=_0x4255a1['getCommentThread'](_0x56c3e3);_0x2c520b&&_0x2c520b['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x473248,'commentAdded',(_0x5eaad8,_0x261e0f)=>{const _0x232521=_0x261e0f['commentThreadId'],_0x2a4110=_0x4255a1['getCommentThread'](_0x232521);_0x2a4110&&_0x2a4110['addComment']({...parseRemoteCommentToLocal(_0x261e0f),'isFromAdapter':!0x0});}),this['listenTo'](_0x473248,'commentUpdated',(_0x2b5bf2,{commentThreadId:_0x3e88ec,commentId:_0x21f3ee,content:_0x423590,attributes:_0x3537fb})=>{const _0x60270=_0x4255a1['getCommentThread'](_0x3e88ec);if(_0x60270){const _0x43e5a8=_0x60270['getComment'](_0x21f3ee);_0x43e5a8&&_0x43e5a8['update']({'content':_0x423590,'attributes':_0x3537fb,'isFromAdapter':!0x0});}}),this['listenTo'](_0x473248,'commentRemoved',(_0x531a0b,{commentThreadId:_0x405934,commentId:_0x1bb2e1})=>{const _0x4e9677=_0x4255a1['getCommentThread'](_0x405934);if(_0x4e9677){const _0x46675c=_0x4e9677['getComment'](_0x1bb2e1);_0x46675c&&_0x46675c['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x3c62c0);}['destroy'](){if(this['context']instanceof ckeditor5['Context']){const _0x33b29a=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x33b29a);}}['_terminateService'](_0x24d54f){if(!this['_services']['has'](_0x24d54f))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x24d54f});this['_getService'](_0x24d54f)['disconnect'](),this['_services']['delete'](_0x24d54f);}async['reconnect'](){for(const _0x114531 of this['_services']['keys']())await this['_connectService'](_0x114531);if(this['context']instanceof ckeditor5['Context']){const _0x2d6cb5=this['context']['config']['get']('collaboration.channelId'),_0x276b59=this['context']['plugins']['get'](_0x494d0f);_0x276b59['unregister'](_0x2d6cb5);const _0x2669a7=await this['_services']['get'](_0x2d6cb5)['getConnectedSessions']();_0x276b59['register'](_0x2d6cb5,_0x2669a7);}}async['_connectService'](_0xadb0){const {connection:_0x1401d7}=this['context']['plugins']['get'](WebSocketGateway),_0x1a9c53=this['context']['plugins']['get']('CommentsRepository'),_0x156941=this['_services']['get'](_0xadb0),_0x39e10f=await _0x156941['connect'](_0x1401d7);await this['_fetchMissingUsersForThreads'](_0x39e10f);const _0x365997=new Set(Array['from'](_0x1a9c53['getCommentThreads']({'channelId':_0xadb0}),_0x2bab83=>_0x2bab83['id']));for(const _0x2a4cf5 of _0x39e10f)_0x2a4cf5['deletedAt']||_0x365997['delete'](_0x2a4cf5['commentThreadId']);for(const _0x87d4a6 of _0x365997)_0x1a9c53['getCommentThread'](_0x87d4a6)['remove']({'isFromAdapter':!0x0});for(const _0x5658e7 of _0x39e10f){let _0x5c958f=_0x1a9c53['getCommentThread'](_0x5658e7['commentThreadId']);const {commentThreadId:_0x1c7b5b,context:_0x2d29ab,attributes:_0x195111,resolvedBy:_0xdea8ae,resolvedAt:_0x24b161,unlinkedAt:_0x4d3049,deletedAt:_0xd86a72}=_0x5658e7;if(_0xd86a72)continue;_0x5c958f||(_0x5c958f=_0x1a9c53['addCommentThread']({'channelId':_0xadb0,'threadId':_0x1c7b5b,'context':_0x2d29ab,'attributes':_0x195111||{},'resolvedBy':_0xdea8ae,'resolvedAt':_0x24b161,'unlinkedAt':_0x4d3049,'isFromAdapter':!0x0}));const _0x4cfedd=new Set(Array['from'](_0x5c958f['comments'],_0x462ab6=>_0x462ab6['id']));for(const _0xb0a8ab of _0x5658e7['comments'])_0x4cfedd['delete'](_0xb0a8ab['commentId']);for(const _0x355df6 of _0x4cfedd)_0x5c958f['getComment'](_0x355df6)['remove']({'isFromAdapter':!0x0});for(const _0x23745c of _0x5658e7['comments']){const _0xc71e37=_0x5c958f['getComment'](_0x23745c['commentId']);_0xc71e37?_0xc71e37['content']!==_0x23745c['content']&&_0xc71e37['update']({'content':_0x23745c['content'],'isFromAdapter':!0x0}):_0x5c958f['addComment'](Object['assign'](parseRemoteCommentToLocal(_0x23745c),{'isFromAdapter':!0x0}));}}}['_getService'](_0x141b93){if(!this['_services']['has'](_0x141b93))throw new ckeditor5['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x141b93});return this['_services']['get'](_0x141b93);}async['_fetchMissingUsersForThreads'](_0x470875){const _0x3388ba=this['context']['plugins']['get'](_0x59867e),{connection:_0x1e6b2b}=this['context']['plugins']['get'](WebSocketGateway),_0x25c43d=new Set();for(const {resolvedBy:_0x3f405b,comments:_0x20db1b}of _0x470875){_0x3f405b&&!_0x3388ba['getUser'](_0x3f405b)&&_0x25c43d['add'](_0x3f405b);for(const {userId:_0x1efd33}of _0x20db1b)_0x3388ba['getUser'](_0x1efd33)||_0x25c43d['add'](_0x1efd33);}if(0x0===_0x25c43d['size'])return;const _0x59b824=await _0x2f9243['getMany'](_0x1e6b2b,Array['from'](_0x25c43d));for(const _0x384a05 of _0x59b824)_0x3388ba['getUser'](_0x384a05['id'])||_0x3388ba['addUser'](_0x384a05);}}async function _0x1745dd(_0x248ce0){if('404'!==_0x248ce0['code'])throw _0x248ce0;}function handleDisconnectionError$1(_0x9a188c){if(isDisconnectionError$2(_0x9a188c))return new Promise(()=>{});throw _0x9a188c;}function isDisconnectionError$2(_0x17680e){return _0x17680e['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x17680e['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x17680e['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}function parseRemoteCommentToLocal(_0x2e4969){return{'threadId':_0x2e4969['commentThreadId'],'commentId':_0x2e4969['commentId'],'content':_0x2e4969['content'],'createdAt':_0x2e4969['createdAt'],'authorId':_0x2e4969['userId'],'attributes':_0x2e4969['attributes']||{}};}function parseLocalCommentToRemote(_0x1bbaab,_0x4890f2,_0x17e229){return{'commentThreadId':_0x17e229,'commentId':_0x1bbaab['commentId'],'userId':_0x1bbaab['authorId'],'content':_0x1bbaab['content'],'documentId':_0x4890f2,'createdAt':_0x1bbaab['createdAt'],'attributes':_0x1bbaab['attributes']||{}};}class CloudServicesTrackChangesAdapter extends ckeditor5['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x4c70b9)());['_bufferedRequests'];['_trackChangesService'];static get['requires'](){return[CloudServicesCommentsAdapter,'TrackChangesEditing',WebSocketGateway];}static get['pluginName'](){return'CloudServicesTrackChangesAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf67acc){super(_0xf67acc);const _0x45469b=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x45469b);}['init'](){const _0x5d31f6=this['editor']['plugins']['get'](WebSocketGateway),_0x15345e=this['editor']['plugins']['get']('TrackChangesEditing');return _0x15345e['adapter']={'getSuggestion':async _0x58c83d=>{await this['_waitForServiceReady']();const _0x180546=await this['_trackChangesService']['get'](_0x58c83d)['catch'](handleDisconnectionError);return await this['_fetchMissingUsersForThreads']([_0x180546]),_0x180546;},'addSuggestion':async({id:_0x2c865d,type:_0x234fff,data:_0x4b99ba,originalSuggestionId:_0x2ad15e,attributes:_0x2f5439})=>{await this['_waitForServiceReady']();const _0xfdb71b={'id':_0x2c865d,'type':_0x234fff,'data':_0x4b99ba,'originalSuggestionId':_0x2ad15e,'attributes':_0x2f5439},_0x5f4a5c=await this['_trackChangesService']['add'](_0x2c865d,_0x234fff,_0x4b99ba,_0x2ad15e,_0x2f5439)['catch'](_0x4ce89a=>{if(isDisconnectionError$1(_0x4ce89a))return new Promise(_0xe66db3=>{this['_bufferedRequests']['set'](_0x2c865d,{'resolve':_0xe66db3,'suggestionData':_0xfdb71b});});throw _0x4ce89a;});return this['_bufferedRequests']['delete'](_0x2c865d),_0x5f4a5c;},'updateSuggestion':async(_0x2d320a,_0x10ee42)=>{if(await this['_waitForServiceReady'](),'open'!==_0x10ee42['state'])return this['_trackChangesService']['update'](_0x2d320a,_0x10ee42)['catch'](handleDisconnectionError);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0xa74e27,_0x4356e6)=>{_0x15345e['hasSuggestion'](_0x4356e6['id'])&&(_0x15345e['getSuggestion'](_0x4356e6['id'])['attributes']=_0x4356e6['attributes']);}),this['_trackChangesService']['connect'](_0x5d31f6['connection'])['then'](_0x1f4575=>(_0x5d31f6['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x1f4575)['then'](()=>{for(const _0x25eaea of _0x1f4575){_0x15345e['addSuggestionData'](_0x25eaea)['_saved']=!0x0;}})));}async['reconnect'](){const _0x50947c=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x2fc504}=this['editor']['plugins']['get'](WebSocketGateway),_0x54ff38=await this['_trackChangesService']['connect'](_0x2fc504);await this['_fetchMissingUsersForThreads'](_0x54ff38);for(const {suggestionData:_0x33c7a2,resolve:_0x46c3ac}of this['_bufferedRequests']['values']()){let _0x2472e5=_0x54ff38['find'](_0x1a47b3=>_0x1a47b3['id']===_0x33c7a2['id']);_0x2472e5||(_0x2472e5=await this['_trackChangesService']['add'](_0x33c7a2['id'],_0x33c7a2['type'],_0x33c7a2['data'],_0x33c7a2['originalSuggestionId'])),_0x46c3ac(_0x2472e5);}for(const _0x329253 of _0x54ff38)_0x50947c['hasSuggestion'](_0x329253['id'])||_0x50947c['addSuggestionData'](_0x329253);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x27bfe8=>{this['listenTo'](this['_trackChangesService'],'connected',_0x22e082=>{_0x22e082['off'](),_0x27bfe8();});});}async['_fetchMissingUsersForThreads'](_0x195ff7){const _0x5ab370=this['editor']['plugins']['get'](_0x59867e),{connection:_0x17dae1}=this['editor']['plugins']['get'](WebSocketGateway),_0x2de4c6=new Set();for(const {authorId:_0x10abac}of _0x195ff7)_0x5ab370['getUser'](_0x10abac)||_0x2de4c6['add'](_0x10abac);if(0x0===_0x2de4c6['size'])return;const _0xcb1e4e=await _0x2f9243['getMany'](_0x17dae1,Array['from'](_0x2de4c6));for(const _0x23c1a5 of _0xcb1e4e)_0x5ab370['getUser'](_0x23c1a5['id'])||_0x5ab370['addUser'](_0x23c1a5);}}function handleDisconnectionError(_0x5d5278){if(isDisconnectionError$1(_0x5d5278))return new Promise(()=>{});throw _0x5d5278;}function isDisconnectionError$1(_0x34f6a0){return _0x34f6a0['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x34f6a0['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends ckeditor5['Plugin']{static get['requires'](){return['Comments',CloudServicesCommentsAdapter,RealTimeCollaborativeEditing,WebSocketGateway];}static get['pluginName'](){return'RealTimeCollaborativeComments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x238425=this['editor']['plugins']['get'](WebSocketGateway),_0x46a36d=this['editor']['plugins']['get']('CommentsEditing'),_0x1a11c8=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x238425,'change:state',(_0x5df3e2,_0x4b170d,_0x1e8a57)=>{_0x46a36d['isThreadsLoadingPaused']='connected'!==_0x1e8a57;});}),this['listenTo'](_0x238425,'change:state',(_0x242dc0,_0x442806,_0x2a8884)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0x2a8884);}),_0x1a11c8['_setUpService'](this['editor']['config']['get']('collaboration.channelId'));}['destroy'](){this['editor']['plugins']['get'](CloudServicesCommentsAdapter)['_terminateService'](this['editor']['config']['get']('collaboration.channelId')),super['destroy']();}}class RealTimeCollaborativeTrackChanges extends ckeditor5['Plugin']{static get['requires'](){return[RealTimeCollaborativeComments,CloudServicesTrackChangesAdapter,'TrackChanges'];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesRevisionHistoryAdapter extends ckeditor5['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,'RevisionHistory',_0x494d0f,_0x59867e];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x58c6a5){super(_0x58c6a5);const _0x24e478=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x24e478);}async['init'](){const _0x454f0b=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x4f1582=_0x454f0b['serverHistory'],_0x404a0a=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x4f1582,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x454f0b['sessionId']});const _0x1a9d2b=this['editor']['config']['get']('cloudServices.bundleVersion')||ckeditor5['version'],_0x1a05eb=await EditorService['isBundleUploaded'](_0x404a0a['connection'],_0x1a9d2b);this['editor']['plugins']['get']('RevisionHistory')['adapter']={'getRevision':async({revisionId:_0x2f2276})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x2f2276)),'updateRevisions':async _0x12b546=>{await this['_waitForServiceReady']();const _0x29db5b=this['_revisionTracker']['currentRevision'];if(_0x1a05eb&&0x1===_0x12b546['length']&&_0x12b546[0x0]['id']===_0x29db5b['id'])return _0x12b546;for(const _0x310a39 of _0x12b546)_0x310a39['id']===_0x29db5b['id']&&(_0x310a39['isEmptyCurrent']=_0x310a39['fromVersion']===_0x310a39['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x12b546,this['_lastRequestId'])['then'](_0x273195=>(this['_lastRequestId']=_0x273195,_0x12b546))['catch'](_0x58800f=>{if(isDisconnectionError(_0x58800f)||'400'===_0x58800f['code']&&void 0x0!==_0x58800f['data']['wrongRequestId']){for(const _0x5f274d of _0x12b546){!this['_revisionTracker']['repository']['getRevision'](_0x5f274d['id'])||this['_revisionTracker']['_bufferUpdate'](_0x5f274d['id'],_0x5f274d,!0x1);}if(isDisconnectionError(_0x58800f))throw _0x58800f;return _0x12b546;}throw _0x58800f;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x4a91e9,{revisionsData:_0x49fc48,requestId:_0x1f29fc})=>{Math['max'](..._0x49fc48['map'](_0xc17d73=>_0xc17d73['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x49fc48,_0x1f29fc);}):this['_handleRevisionsUpdate'](_0x49fc48,_0x1f29fc);});const {revisions:_0xb52475,requestId:_0x11dc94}=await this['_revisionHistoryService']['connect'](_0x404a0a['connection']);_0x404a0a['addToReconnectionStack'](this),this['_lastRequestId']=_0x11dc94,await this['_fetchMissingUsers'](_0xb52475);for(const _0x3c60f7 of _0xb52475)this['_revisionTracker']['addRevisionData'](_0x3c60f7);this['listenTo'](_0x454f0b,'change:_isConnected',(_0x846336,_0x24cc9d,_0x5c0ba2)=>{_0x5c0ba2&&(this['_oldOffset']=_0x454f0b['_offset'],_0x846336['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x404a0a,'state',_0x4d7f35=>_0x4d7f35===_0x5b00e3['CONNECTED']);}async['reconnect'](){const _0x41dd7a=this['editor']['plugins']['get'](WebSocketGateway),_0x2de10d=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x1a8570=async()=>{const _0x1c9600=this['_revisionTracker']['currentRevision'],_0x492c0f=_0x1c9600['id'],_0x423be4=_0x492c0f!==_0x2de10d['sessionId'];if(_0x423be4){const _0x219db5=_0x2de10d['_offset']-this['_oldOffset'],_0x2ed606=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x1c9600['toVersion']+_0x219db5!==_0x2ed606){const _0x4fd2bd=_0x1c9600['fromVersion']+_0x219db5,_0x2d96b8=this['editor']['plugins']['get'](_0x59867e),_0x49ab38=this['_revisionTracker']['buildRevisionData']({'revision':_0x1c9600,'from':_0x4fd2bd,'to':_0x2ed606});_0x49ab38['id']=_0x1c9600['id'];const _0x478e8f=_0x49ab38['authorsIds']['map'](_0x1f7b08=>_0x2d96b8['getUser'](_0x1f7b08));_0x1c9600['_update']({..._0x49ab38,'authors':_0x478e8f},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x1c9600['id'],_0x49ab38,!0x0);}this['_revisionTracker']['_startingVersion']=_0x2ed606,(_0x1c9600['toVersion']===_0x1c9600['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x492c0f)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x492c0f),this['_revisionTracker']['_createCurrentRevision'](_0x2ed606));}const {revisions:_0x22c109,requestId:_0x53b456}=await this['_revisionHistoryService']['reconnect'](_0x41dd7a['connection'],this['_lastRequestId']);_0x423be4&&_0x22c109['length']>0x0?_0x2de10d['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x22c109),this['_handleRevisionsUpdate'](_0x22c109,_0x53b456),this['_revisionTracker']['sendBufferedUpdates']());};return _0x2de10d['_isConnected']?_0x1a8570():new Promise((_0x11d7ba,_0x4a2923)=>{_0x2de10d['once']('change:_isConnected',()=>{_0x1a8570()['then'](_0x11d7ba)['catch'](_0x4a2923);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x5a0a61=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x54df19=>{_0x54df19['off'](),_0x5a0a61();});});}['_getLatestVersionFromServerOperations'](){const _0x1daa4f=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x533d8f of _0x1daa4f)if('marker'!==_0x533d8f['type']||_0x533d8f['affectsData'])return _0x533d8f['baseVersion']+0x1;}['_getLatestVersion'](){const _0x41fb67=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x5e38c1=>{_0x41fb67['_isPendingUpdate']?_0x41fb67['once']('change:_isPendingUpdate',()=>{_0x5e38c1(this['_getLatestVersionFromServerOperations']());}):_0x5e38c1(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x343e85,_0x15e0d9){const _0x37338c=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x15e0d9;for(const _0x4036b3 of _0x343e85){const _0x1b87cb=_0x37338c['getRevision'](_0x4036b3['id']);if(_0x1b87cb){if((_0x4036b3['fromVersion']||_0x4036b3['toVersion'])&&(_0x4036b3['diffData']=null),_0x1b87cb===this['_revisionTracker']['currentRevision']){const _0x498337=Math['max'](_0x1b87cb['toVersion'],_0x4036b3['toVersion']),_0x4672a3=Math['max'](_0x1b87cb['fromVersion'],_0x4036b3['fromVersion']);let _0x57626b;_0x1b87cb['toVersion']===_0x4036b3['toVersion']&&_0x1b87cb['fromVersion']===_0x4036b3['fromVersion']?(_0x57626b=!0x0,this['_preventResendingRevisionData'](_0x4036b3)):_0x4036b3['toVersion']===_0x498337&&_0x4036b3['fromVersion']===_0x4672a3?_0x57626b=!0x1:(_0x1b87cb['toVersion']===_0x498337&&_0x1b87cb['fromVersion']===_0x4672a3||this['_fixRevision']({'revision':_0x1b87cb,'from':_0x4672a3,'to':_0x498337}),_0x57626b=!0x0),_0x57626b&&(delete _0x4036b3['fromVersion'],delete _0x4036b3['toVersion'],delete _0x4036b3['diffData'],delete _0x4036b3['createdAt'],delete _0x4036b3['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x4036b3),this['_preventResendingRevisionData'](_0x4036b3);}else this['_revisionTracker']['addRevisionData'](_0x4036b3);}const _0x5ec5cf=_0x37338c['getRevisions']();_0x5ec5cf['reverse']();for(let _0x4cf41a=0x0;_0x4cf41a<_0x5ec5cf['length']-0x1;_0x4cf41a++){const _0x3c2757=_0x5ec5cf[_0x4cf41a],_0x2db44f=_0x5ec5cf[_0x4cf41a+0x1];if(_0x3c2757['fromVersion']<_0x2db44f['toVersion']){const _0x13ef82=_0x2db44f['toVersion'],_0x24389c=Math['max'](_0x13ef82,_0x3c2757['toVersion']);this['_fixRevision']({'revision':_0x3c2757,'from':_0x13ef82,'to':_0x24389c});}}}['_fixRevision']({revision:_0x161edd,from:_0x540ef8,to:_0x5878c8}={}){const _0x22410a=this['editor']['plugins']['get'](_0x59867e),_0x23f518=this['_revisionTracker']['buildRevisionData']({'revision':_0x161edd,'from':_0x540ef8,'to':_0x5878c8});_0x23f518['authors']=_0x23f518['authorsIds']['map'](_0x25194f=>_0x22410a['getUser'](_0x25194f)),_0x161edd['_update'](_0x23f518);}['_preventResendingRevisionData'](_0x559272){const _0xc6475={};_0xc6475['id']=_0x559272['id'];for(const _0xc813e5 of Object['keys'](_0x559272))'id'!==_0xc813e5&&(_0xc6475[_0xc813e5]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0xc6475['id'],_0xc6475,!0x0);}async['_fetchMissingUsers'](_0x175803){const _0x6c8ddb=this['editor']['plugins']['get'](_0x59867e),{connection:_0x4f2295}=this['editor']['plugins']['get'](WebSocketGateway),_0xb2af37=new Set();for(const _0x1b963a of _0x175803){for(const _0x7cfae of _0x1b963a['authorsIds'])_0x13ce3f(_0x7cfae);_0x1b963a['creatorId']&&_0x13ce3f(_0x1b963a['creatorId']);}if(0x0===_0xb2af37['size'])return;const _0x245bec=await _0x2f9243['getMany'](_0x4f2295,Array['from'](_0xb2af37));for(const _0x216ff5 of _0x245bec)_0x6c8ddb['getUser'](_0x216ff5['id'])||_0x6c8ddb['addUser'](_0x216ff5);function _0x13ce3f(_0x48d40d){_0x6c8ddb['getUser'](_0x48d40d)||_0xb2af37['add'](_0x48d40d);}}}function isDisconnectionError(_0x3aaa71){return _0x3aaa71['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x3aaa71['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x3aaa71['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends ckeditor5['Plugin']{static get['requires'](){return['RevisionHistory',CloudServicesRevisionHistoryAdapter,RealTimeCollaborativeEditing];}static get['pluginName'](){return'RealTimeCollaborativeRevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PresenceCounterView extends ckeditor5['View']{['_collapseAt'];constructor(_0x7ff508,_0x581247=0x6){super(_0x7ff508);const _0x4080b3=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x581247,this['bind']('isHidden')['to'](this,'usersCount',_0x20ecdc=>_0x20ecdc<_0x581247),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x4080b3['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':_0x4080b3['to']('usersCount',_0x353dcd=>'+'+(_0x353dcd-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends ckeditor5['View']{['items'];['keystrokes'];constructor(_0x9a13d7){super(_0x9a13d7);const _0x4748a7=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x4748a7['if']('hasPopup'),'aria-expanded':_0x4748a7['to']('isExpanded',_0x5da6a4=>this['hasPopup']&&String(_0x5da6a4)),'aria-label':_0x4748a7['to']('hasPopup',_0x362967=>getTranslation$6(_0x9a13d7,_0x362967?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x4748a7['to']('hasPopup',_0x5b1228=>!!_0x5b1228&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x4748a7['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x4748a7['to'](_0x5e4e7a=>{const _0x46f4b3=_0x5e4e7a,_0x7105bf=document['querySelector']('.ck-presence-list__dropdown-list'),_0x3387f0=document['querySelector']('.ck-balloon-panel_with-arrow');_0x7105bf?.['contains'](_0x46f4b3['relatedTarget'])||_0x3387f0?.['contains'](_0x46f4b3['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x37c09b,_0x3e90a2,_0x4993f2)=>{this['element']&&(_0x4993f2?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']);}}class PresenceListView extends ckeditor5['View']{['counterView'];['inlineListView'];constructor(_0x4807ef,_0x35e7a4=0x6){super(_0x4807ef);const _0x14d814=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x35e7a4),this['inlineListView']=new PresenceInlineListView(_0x4807ef),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x4b90d6 of this['inlineListView']['items'])_0x4b90d6['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',_0x14d814['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends ckeditor5['View']{['listWrapperView'];constructor(_0x449813,_0x5deadd){super(_0x449813);const _0x104b12=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x449813,_0x5deadd),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':getTranslation$6(_0x449813,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x104b12['to'](_0x31aea8=>{const _0x25fc4f=_0x31aea8,_0x19fe03=document['querySelector']('.ck-presence-list__list'),_0x2b20da=document['querySelector']('.ck-balloon-panel_with-arrow');_0x19fe03?.['contains'](_0x25fc4f['relatedTarget'])||_0x2b20da?.['contains'](_0x25fc4f['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends ckeditor5['ListView']{constructor(_0x566286,_0x22cf57){super(_0x566286);const _0x4dffcb=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x22cf57?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x4dffcb['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x4dffcb['to']('role'),'aria-label':_0x4dffcb['to']('ariaLabel'),'aria-labelledby':_0x4dffcb['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](ckeditor5['global']['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x4a98d2=this['element'];_0x4a98d2&&(this['_isScrollable']=Math['max'](_0x4a98d2['scrollHeight'],_0x4a98d2['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends ckeditor5['ListItemView']{['userView'];constructor(_0x15e6c6,_0x173a52,_0x48a0ed){super(_0x15e6c6);const _0x199c20=this['bindTemplate'];this['userView']=new _0x515305(_0x15e6c6,_0x173a52);const _0x3fa4a7={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x173a52['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x173a52['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x173a52['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0x48a0ed&&(_0x3fa4a7['tag']='button',_0x3fa4a7['on']={'click':_0x199c20['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x3fa4a7);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends ckeditor5['View']{['userView'];['markerView'];constructor(_0x3fd013,_0x5574c5,_0x739722){super(_0x3fd013);const _0x523fa3=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x515305(_0x3fd013,_0x5574c5),this['markerView']=new _0x5e7288(_0x3fd013,_0x5574c5);const _0x23074d=new ckeditor5['LabelView'](_0x3fd013);_0x23074d['template']['tag']='span',_0x23074d['text']=_0x5574c5['name'];const _0x2124ee={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x523fa3['to']('isFocusable',_0x381a64=>!!_0x381a64&&0x0),'aria-labelledby':_0x23074d['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x523fa3['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x523fa3['to']('hasTooltip',_0x53b414=>!_0x53b414),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x23074d]};_0x739722&&(_0x2124ee['tag']='button',_0x2124ee['on']={'click':_0x523fa3['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x2124ee);}}class _0x5e7288 extends ckeditor5['View']{constructor(_0x1d4d82,_0x35279b){super(_0x1d4d82),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x35279b['color']['getBackgroundColorClass']()],'aria-hidden':'true'}});}}const defaultPresenceListConfig={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends ckeditor5['ContextPlugin']{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x601420){super(_0x601420),this['context']['config']['define']('presenceList',defaultPresenceListConfig);const _0x390331=_0x601420['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x390331)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x390331<0x1)throw new ckeditor5['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x494d0f)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new ckeditor5['Collection'](),this['balloonPanelView']=new ckeditor5['BalloonPanelView'](),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[_0x494d0f];}['init'](){for(const _0x2be248 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x2be248);this['listenTo'](this['_allConnectedUsers'],'add',(_0x56ba22,_0x14f75c)=>{this['_handleUserAdd'](_0x14f75c);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0xf80259,_0x5283d7)=>{this['_handleUserRemove'](_0x5283d7);});}['_createView'](){const _0x41be7e=this['context'],_0x2a72ad=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x179b44=this['balloonPanelView'];if(!isElement$2(_0x41be7e['config']['get']('presenceList.container')))throw new ckeditor5['CKEditorError']('presencelist-missing-container',this);return _0x2a72ad['counterView']['bind']('usersCount')['to'](this),_0x2a72ad['bind']('isCollapsed')['to'](this,'usersCount',_0x5a257f=>{const {collapseAt:_0x257ebc}=_0x41be7e['config']['get']('presenceList'),_0x377d08=_0x5a257f>=_0x257ebc;if(_0x377d08&&!_0x2a72ad['inlineListView']['items']['find'](_0x4d2c2f=>_0x4d2c2f instanceof PresenceCounterView)){const _0xb5f74c=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0xb5f74c&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x2a72ad['inlineListView']['items']['add'](_0x2a72ad['counterView']);}return _0x377d08||this['hideDropdown'](),_0x377d08;}),_0x2a72ad['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x1077ef=>{const _0x32cdd8=_0x41be7e['config']['get']('presenceList'),_0x4ea21b=new PresenceInlineListItemView(_0x41be7e['locale'],_0x1077ef,!!_0x32cdd8['onClick']);return _0x4ea21b['bind']('hasTooltip')['to'](_0x2a72ad,'isCollapsed',_0x42562c=>!_0x42562c),_0x4ea21b['bind']('isFocusable')['to'](_0x2a72ad,'isCollapsed',_0x36317f=>!_0x36317f),_0x32cdd8['onClick']&&this['listenTo'](_0x4ea21b,'execute',()=>{this['view']['isCollapsed']||_0x32cdd8['onClick'](_0x1077ef,_0x4ea21b['element']);}),_0x4ea21b;}),this['listenTo'](_0x2a72ad['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x2a72ad['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x2a72ad['inlineListView']['keystrokes']['set']('Enter',(_0x26251d,_0x3ddd78)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x3ddd78());}),_0x2a72ad['render'](),_0x179b44['render'](),ckeditor5['clickOutsideHandler']({'emitter':_0x2a72ad,'activator':()=>_0x179b44['isVisible'],'contextElements':[_0x179b44['element'],_0x2a72ad['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x41be7e['config']['get']('presenceList.container')['appendChild'](_0x2a72ad['element']),this['_bodyCollection']=new ckeditor5['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x2a72ad;}['_handleUserAdd'](_0x545320){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x545320['isMe'])return;const _0x36cb09=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x36cb09-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x556b9f=_0x545320['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x545320,_0x556b9f);}['_handleUserRemove'](_0x25ed5f){this['usersCount']--;const {collapseAt:_0x1edc5f}=this['context']['config']['get']('presenceList'),_0x23336a=this['usersCount']>=_0x1edc5f;if(this['currentDisplayedUsers']['get'](_0x25ed5f['id']))this['currentDisplayedUsers']['remove'](_0x25ed5f['id']);else{if(_0x23336a&&this['currentDisplayedUsers']['length']+0x1===_0x1edc5f-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x23336a?0x1:0x0)<this['usersCount']){for(const _0x3cc4fc of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x3cc4fc['id'])&&(this['currentDisplayedUsers']['add'](_0x3cc4fc,Math['min'](this['currentDisplayedUsers']['length']-(_0x23336a?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x23336a?0x1:0x0)===_0x1edc5f-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0xd8b4b4=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0xd8b4b4['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x2c4eaf}=this['presenceDropdownView'];_0x2c4eaf['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x51570f=>{if(!_0xd8b4b4['displayMe']&&_0x51570f['isMe'])return null;const _0x2b3808=new PresenceDropdownListItemView(this['context']['locale'],_0x51570f,!!_0xd8b4b4['onClick']);return _0xd8b4b4['onClick']&&this['listenTo'](_0x2b3808,'execute',()=>{_0xd8b4b4['onClick'](_0x51570f,_0x2b3808['element']);}),_0x2b3808;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x2c4eaf['focus'](),_0x2c4eaf['checkIfScrollable']();const _0xc7cb26=(_0x7d85b2,_0x4744cf)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x4744cf();};_0x2c4eaf['keystrokes']['set']('Esc',_0xc7cb26),_0x2c4eaf['keystrokes']['set']('Shift+Tab',_0xc7cb26),_0x2c4eaf['keystrokes']['set']('Tab',(_0x5372ff,_0x3e4b76)=>{focusNextElement(this['view']['element']),this['hideDropdown'](),_0x3e4b76();}),_0x2c4eaf['focusTracker']['add'](this['view']['element']),_0x2c4eaf['focusTracker']['on']('change:isFocused',(_0x2a062c,_0x5d1be2,_0x3a45f3)=>{_0x3a45f3||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);}}function focusNextElement(_0x2c3f94){const _0x1764a0=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x4dcd7c=>_0x4dcd7c+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0xfb725b=[...document['body']['querySelectorAll'](_0x1764a0)]['filter'](_0x5e7178=>_0x5e7178===document['activeElement']||_0x5e7178['offsetWidth']+_0x5e7178['offsetHeight']>0x0)['sort']((_0x4a161b,_0x2b567b)=>(_0x4a161b['tabIndex']||0x0)-(_0x2b567b['tabIndex']||0x0)),_0x3a7e97=_0xfb725b['indexOf'](_0x2c3f94),_0x16ceac=_0xfb725b[(_0x3a7e97+0x1)%_0xfb725b['length']];_0x16ceac&&_0x16ceac['focus']();}class PresenceList extends ckeditor5['ContextPlugin']{static get['requires'](){return[_0x494d0f,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x50c412 extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x85bd18){super(),this['id']=_0x85bd18['id']||ckeditor5['uid'](),this['creator']=_0x85bd18['creator']||null,this['authors']=_0x85bd18['authors']||[],this['diffData']=_0x85bd18['diffData']||null,this['toVersion']=_0x85bd18['toVersion']||0x0,this['fromVersion']=_0x85bd18['fromVersion']||0x0,this['set']('name',_0x85bd18['name']||''),this['set']('createdAt',_0x85bd18['createdAt']||new Date()),this['set']('attributes',_0x85bd18['attributes']||{});}['setName'](_0xd01617){this['_update']({'name':_0xd01617});}['setAttribute'](_0x19c43d,_0x3417bb){const _0x477920=_0xedd9f2(this['attributes']);set(_0x477920,_0x19c43d,_0x3417bb),this['_update']({'attributes':_0x477920});}['removeAttribute'](_0x1fe19f){const _0x177d8f=_0xedd9f2(this['attributes']);unset(_0x177d8f,_0x1fe19f),this['_update']({'attributes':_0x177d8f});}['_update'](_0x168a21,_0x5647c5=!0x1){let _0x33dfba=!0x1;const _0x196911={'id':this['id']},_0x128c22=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x257558 of _0x128c22){const _0x3aac1d=_0x168a21[_0x257558];void 0x0!==_0x3aac1d&&_0x3aac1d!==this[_0x257558]&&(this[_0x257558]=_0x3aac1d,_0x196911[_0x257558]=_0x3aac1d,_0x33dfba=!0x0);}_0x33dfba&&(_0x196911['authors']&&(_0x196911['authorsIds']=_0x196911['authors']['map'](_0x184b7f=>_0x184b7f['id']),delete _0x196911['authors']),this['fire']('_update',_0x196911,_0x5647c5));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x40917b=>_0x40917b['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends ckeditor5['Plugin']{['_revisions'];static get['requires'](){return[_0x59867e];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x58870b){super(_0x58870b),this['_revisions']=new ckeditor5['Collection']();}['afterInit'](){_0xb9b38e(this);}['createRevision'](_0x500df3){const _0x10bead=this['editor']['plugins']['get']('Users');return new _0x50c412({'id':_0x500df3['id'],'name':_0x500df3['name'],'creator':_0x500df3['creatorId']?_0x10bead['getUser'](_0x500df3['creatorId']):null,'diffData':_0x500df3['diffData']||_0x500df3['data'],'authors':_0x500df3['authorsIds']['map'](_0x23c3bf=>_0x10bead['getUser'](_0x23c3bf)),'createdAt':new Date(_0x500df3['createdAt']),'attributes':_0x500df3['attributes'],'fromVersion':_0x500df3['fromVersion'],'toVersion':_0x500df3['toVersion']});}['addRevision'](_0x12811e,_0x41bc00=0x0){this['_revisions']['add'](_0x12811e,_0x41bc00);}['getRevision'](_0x584d4a){return this['_revisions']['get'](_0x584d4a);}['getRevisions'](_0xc077bd={'toJSON':!0x1}){const _0x23172c=Array['from'](this['_revisions']);return _0x23172c['reverse'](),_0xc077bd['toJSON']?_0x23172c['map'](_0xa9ab10=>_0xa9ab10['toJSON']()):_0x23172c;}['getIndex'](_0x59fc02){return this['_revisions']['getIndex'](_0x59fc02);}['getEarlierVisibleRevision'](_0x4301b3){const [,_0x3bdcc1]=this['getRevisionsIterator'](_0x4301b3,{'direction':'earlier'});return _0x3bdcc1;}['getLaterVisibleRevision'](_0x22c546){const [,_0xcbdfc6]=this['getRevisionsIterator'](_0x22c546,{'direction':'later'});return _0xcbdfc6;}['getRevisionsInDiff'](_0x2cca68){const _0x47518d=[];for(const _0x252c8d of this['getRevisionsIterator'](_0x2cca68['newRevisionId']))if(_0x47518d['push'](_0x252c8d),_0x252c8d['id']===_0x2cca68['oldRevisionId'])break;return _0x47518d;}*['getRevisionsIterator'](_0x3d730a,{direction:_0x164923='earlier',filter:_0x36cd4a=()=>!0x0}={}){const _0x4252a5='earlier'===_0x164923?0x1:-0x1;let _0x56eb5b=this['_revisions']['get'](_0x3d730a),_0x11e413=this['getIndex'](_0x56eb5b);for(yield _0x56eb5b;_0x56eb5b;){if(_0x11e413+=_0x4252a5,_0x56eb5b=this['getRevision'](_0x11e413),!_0x56eb5b)return;_0x36cd4a(_0x56eb5b)&&(yield _0x56eb5b);}}}async function _0xb9b38e(_0x47c9ec){const _0x2f2311=_0x3d5248([0x76,0x73,0x6d,0x4c,0x34,0x54,0x50,0x70,0x75,0x52,0x35,0x33,0x4d,0x6c,0x71,0x53,0x6a,0x32,0x56,0x58,0x77,0x48,0x39,0x6f,0x45,0x41,0x4e,0x38,0x46,0x78,0x4a,0x74,0x47,0x55,0x4f,0x64,0x62,0x44,0x43,0x5a,0x30,0x31,0x69,0x68,0x79,0x66,0x6b,0x42,0x51,0x59,0x36,0x61,0x63,0x67,0x7a,0x37,0x72,0x49,0x65,0x57,0x4b,0x6e]),_0x4db895=0xeb829,_0x1a8816=window[_0x3d5248([0x44,0x61,0x74,0x65])][_0x3d5248([0x6e,0x6f,0x77])](),_0x243744=_0x47c9ec[_0x3d5248([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49cef3=new window[(_0x3d5248([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1097dd=>{_0x243744[_0x3d5248([0x6f,0x6e,0x63,0x65])](_0x3d5248([0x72,0x65,0x61,0x64,0x79]),_0x1097dd);}),_0x52a099={[_0x3d5248([0x6b,0x74,0x79])]:_0x3d5248([0x45,0x43]),[_0x3d5248([0x75,0x73,0x65])]:_0x3d5248([0x73,0x69,0x67]),[_0x3d5248([0x63,0x72,0x76])]:_0x3d5248([0x50,0x2d,0x32,0x35,0x36]),[_0x3d5248([0x78])]:_0x3d5248([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3d5248([0x79])]:_0x3d5248([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3d5248([0x61,0x6c,0x67])]:_0x3d5248([0x45,0x53,0x32,0x35,0x36])},_0x79fb5a=_0x243744[_0x3d5248([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d5248([0x67,0x65,0x74])](_0x3d5248([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x19a47b=await(async function(){let _0x2e3262,_0x2dadbd=null,_0x359d52=null;try{if(_0x79fb5a==_0x3d5248([0x47,0x50,0x4c]))return _0x3d5248([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e3262=(function(){const _0x10931f=_0x79fb5a[_0x3d5248([0x73,0x70,0x6c,0x69,0x74])](_0x3d5248([0x2e]));if(0x3!=_0x10931f[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x15aa1f=_0x10931f[0x1];return _0x4bcd1d(_0x15aa1f);function _0x4bcd1d(_0x40e82b){const _0x27f22e=_0x99ac5d(_0x40e82b);return _0x27f22e&&_0x332e5d()?_0x27f22e:null;function _0x332e5d(){const _0x1a15d2=_0x27f22e[_0x3d5248([0x6a,0x74,0x69])],_0x47157c=window[_0x3d5248([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a15d2[_0x3d5248([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a15d2[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5026e1={..._0x27f22e,[_0x3d5248([0x6a,0x74,0x69])]:_0x1a15d2[_0x3d5248([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a15d2[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5026e1[_0x3d5248([0x76,0x63])],_0x554a11(_0x5026e1)==_0x47157c;}}}()),!_0x2e3262)return _0x3d5248([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x2e3262[_0x3d5248([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x359d52=function(_0x9739f6,_0x23f456){return new window[(_0x3d5248([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d63d8=>{if(_0x4b1cd3())return _0x2d63d8(_0x3d5248([0x56,0x61,0x6c,0x69,0x64]));_0x38c9c8(),_0x243744[_0x3d5248([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d5248([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48ee95=!0x1;const _0x581435=ckeditor5['uid']();function _0x21d2d3(_0x1640b1){return!!_0x1640b1&&(typeof _0x1640b1===_0x3d5248([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1640b1===_0x3d5248([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1640b1[_0x3d5248([0x74,0x68,0x65,0x6e])]===_0x3d5248([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1640b1[_0x3d5248([0x63,0x61,0x74,0x63,0x68])]===_0x3d5248([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4904c6(_0x3aff36){_0x505b4f(_0x3aff36)[_0x3d5248([0x74,0x68,0x65,0x6e])](_0x1dcb5d=>{if(!_0x1dcb5d||_0x1dcb5d[_0x3d5248([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d5248([0x6f,0x6b]))return _0x3d5248([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x533590(_0x554a11(_0x581435+_0x23f456))!=_0x1dcb5d[_0x3d5248([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d5248([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d5248([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d5248([0x74,0x68,0x65,0x6e])](_0x4dff30=>(_0x5deacc(),_0x4dff30),()=>{const _0x3309c3=_0x2a442c();return null==_0x3309c3?(_0x5deacc(),_0x3d5248([0x56,0x61,0x6c,0x69,0x64])):_0x3d5248(_0x1a8816-_0x3309c3>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d5248([0x74,0x68,0x65,0x6e])](_0x2d63d8)[_0x3d5248([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d63d8(_0x3d5248([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x93089f=0x36ee80;function _0x5deacc(){const _0x124c16=_0x3d5248([0x6c,0x6c,0x63,0x74,0x2d])+_0x533590(_0x554a11(_0x9739f6)),_0x21a7dc=_0x5d9e0f(_0x533590(window[_0x3d5248([0x4d,0x61,0x74,0x68])][_0x3d5248([0x63,0x65,0x69,0x6c])](_0x1a8816/_0x93089f)));window[_0x3d5248([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d5248([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x124c16,_0x21a7dc);}function _0x2a442c(){const _0x2429a6=_0x3d5248([0x6c,0x6c,0x63,0x74,0x2d])+_0x533590(_0x554a11(_0x9739f6)),_0x3daf81=window[_0x3d5248([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d5248([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2429a6);return _0x3daf81?window[_0x3d5248([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d9e0f(_0x3daf81),0x10)*_0x93089f:null;}function _0x505b4f(_0x18aa4d){return new window[(_0x3d5248([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10e6d7,_0x1283f8)=>{_0x18aa4d[_0x3d5248([0x74,0x68,0x65,0x6e])](_0x10e6d7,_0x1283f8),window[_0x3d5248([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1283f8,0x1d4c0);});}}_0x243744[_0x3d5248([0x6f,0x6e])](_0x3d5248([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3585b4,_0x33270c)=>{if(_0x33270c[0x0]!=_0x9739f6)return _0x2d63d8(_0x3d5248([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33270c[0x1]={..._0x33270c[0x1],[_0x3d5248([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x581435};},{[_0x3d5248([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d5248([0x68,0x69,0x67,0x68])}),_0x243744[_0x3d5248([0x6f,0x6e])](_0x3d5248([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd73284=>{_0x21d2d3(_0xd73284[_0x3d5248([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48ee95=!0x0,_0x4904c6(_0xd73284[_0x3d5248([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d5248([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d5248([0x6c,0x6f,0x77])}),_0x49cef3[_0x3d5248([0x74,0x68,0x65,0x6e])](()=>{_0x48ee95||_0x2d63d8(_0x3d5248([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b1cd3(){return _0x243744[_0x3d5248([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d5248([0x76,0x69,0x65,0x77])][_0x3d5248([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d5248([0x61,0x75,0x74,0x6f]);}function _0x38c9c8(){_0x243744[_0x3d5248([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d5248([0x76,0x69,0x65,0x77])][_0x3d5248([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d5248([0x61,0x75,0x74,0x6f]);}}(_0x2e3262[_0x3d5248([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e3262[_0x3d5248([0x6a,0x74,0x69])]));const _0x5dca92=await(async function(){let _0x5c05ba=!0x0;try{const _0x500f9f=_0x79fb5a[_0x3d5248([0x73,0x70,0x6c,0x69,0x74])](_0x3d5248([0x2e])),[_0x4a146d,_0x4947da,_0x56eb80]=_0x500f9f;return _0x3785e9(_0x4a146d),await _0x2b25c2(_0x4a146d,_0x4947da,_0x56eb80),_0x5c05ba;}catch{return!0x1;}function _0x3785e9(_0x2c853e){const _0x5cec87=_0x99ac5d(_0x2c853e);_0x5cec87&&_0x5cec87[_0x3d5248([0x61,0x6c,0x67])]==_0x3d5248([0x45,0x53,0x32,0x35,0x36])||(_0x5c05ba=!0x1);}async function _0x2b25c2(_0x13c8be,_0x463178,_0x8f5a79){const _0xc54402=window[_0x3d5248([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d5248([0x66,0x72,0x6f,0x6d])](_0x4354f0(_0x8f5a79),_0x3f99cd=>_0x3f99cd[_0x3d5248([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8ae203=new window[(_0x3d5248([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d5248([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13c8be+_0x3d5248([0x2e])+_0x463178),_0x272ada=window[_0x3d5248([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d5248([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x272ada)return;const _0x56456c=await _0x272ada[_0x3d5248([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d5248([0x6a,0x77,0x6b]),_0x52a099,{[_0x3d5248([0x6e,0x61,0x6d,0x65])]:_0x3d5248([0x45,0x43,0x44,0x53,0x41]),[_0x3d5248([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d5248([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d5248([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x272ada[_0x3d5248([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d5248([0x6e,0x61,0x6d,0x65])]:_0x3d5248([0x45,0x43,0x44,0x53,0x41]),[_0x3d5248([0x68,0x61,0x73,0x68])]:{[_0x3d5248([0x6e,0x61,0x6d,0x65])]:_0x3d5248([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56456c,_0xc54402,_0x8ae203)||(_0x5c05ba=!0x1);}}());return _0x5dca92?(function(){const _0xcab39f=_0x2e3262[_0x3d5248([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xcab39f)return!0x1;if(_0xcab39f[_0x3d5248([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d5248([0x2a])))return!0x0;if(_0xcab39f[_0x3d5248([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d5248([0x52,0x48])))return!0x0;if(_0xcab39f[_0x3d5248([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d5248([0x52,0x52,0x48]))){if(_0x4bcea6(_0x3d5248([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x29553c(_0x3d5248([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3d5248([0x73,0x74,0x61,0x74,0x65])]==_0x3d5248([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x4bcea6(_0x3d5248([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x4bcea6(_0x3d5248([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}return!0x1;}())?(function(){const _0x439513=[_0x3d5248([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d5248([0x74,0x72,0x69,0x61,0x6c])][_0x3d5248([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e3262[_0x3d5248([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a8816/0x3e8:0x69b0b080;return _0x2e3262[_0x3d5248([0x65,0x78,0x70])]<_0x439513;}())?_0x3d5248([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x29e5dc=_0x2e3262[_0x3d5248([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29e5dc||0x0==_0x29e5dc[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4277b5}=new URL(window[_0x3d5248([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x29e5dc[_0x3d5248([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4277b5))return!0x0;const _0x24d869=_0x4277b5[_0x3d5248([0x73,0x70,0x6c,0x69,0x74])](_0x3d5248([0x2e]));return _0x29e5dc[_0x3d5248([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3629f4=>_0x3629f4[_0x3d5248([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d5248([0x2a])))[_0x3d5248([0x6d,0x61,0x70])](_0x3654fa=>_0x3654fa[_0x3d5248([0x73,0x70,0x6c,0x69,0x74])](_0x3d5248([0x2e])))[_0x3d5248([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5df72b=>_0x5df72b[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24d869[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d5248([0x6d,0x61,0x70])](_0x2fedf7=>Array(_0x24d869[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2fedf7[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d5248([0x66,0x69,0x6c,0x6c])](_0x2fedf7[0x0]===_0x3d5248([0x2a])?_0x3d5248([0x2a]):'')[_0x3d5248([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2fedf7))[_0x3d5248([0x73,0x6f,0x6d,0x65])](_0x4c5751=>_0x24d869[_0x3d5248([0x65,0x76,0x65,0x72,0x79])]((_0x50427d,_0x4ca476)=>_0x4c5751[_0x4ca476]===_0x50427d||_0x4c5751[_0x4ca476]===_0x3d5248([0x2a])));}())?(_0x2e3262[_0x3d5248([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d5248([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2dadbd=function(_0xab2c67){const _0x1aafaf=new window[(_0x3d5248([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f1a73=>setTimeout(_0x2f1a73,0x93ecc)),_0x1b2982=_0x49cef3[_0x3d5248([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d5248([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a9989=>{const _0xa69a9f=0x7,_0x109ea8=_0x47c9ec[_0x3d5248([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x10507e(){_0x109ea8[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xa69a9f&&_0x2a9989();}_0x10507e(),_0x109ea8[_0x3d5248([0x6f,0x6e])](_0x3d5248([0x61,0x64,0x64]),_0x10507e);})),_0x2f471a=new window[(_0x3d5248([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x222932=>{function _0x55eed4(){for(const _0x4df483 in window)if(window[_0x3d5248([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x3d5248([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x4df483))&&window[_0x4df483]==_0x4db895)return _0x222932();_0x243744[_0x3d5248([0x73,0x74,0x61,0x74,0x65])]!=_0x3d5248([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x3d5248([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55eed4,0x1388);}_0x4bcea6(_0x3d5248([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x55eed4();}),_0x1042cd=[_0x1aafaf,_0x1b2982,_0x2f471a];return window[_0x3d5248([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d5248([0x72,0x61,0x63,0x65])](_0x1042cd)[_0x3d5248([0x74,0x68,0x65,0x6e])](()=>_0xab2c67);}(_0x3d5248([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2dadbd&&_0x359d52)return new window[(_0x3d5248([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52a312,_0x1b8f85)=>{_0x2dadbd[_0x3d5248([0x74,0x68,0x65,0x6e])](_0x52a312,_0x1b8f85),_0x359d52[_0x3d5248([0x74,0x68,0x65,0x6e])](_0x411916=>{_0x411916!=_0x3d5248([0x56,0x61,0x6c,0x69,0x64])&&_0x52a312(_0x411916);},_0x1b8f85);});return _0x2dadbd||_0x359d52||_0x3d5248([0x56,0x61,0x6c,0x69,0x64]);}())):_0x3d5248([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d5248([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d5248([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d5248([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x8751e9(){const _0x18ae82=window[_0x3d5248([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d5248([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d5248([0x6e,0x6f,0x77])]())[_0x3d5248([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d5248([0x2e]),'');let _0x24d793=_0x3d5248([0x76]);for(let _0x14134b=0x0;_0x14134b<_0x18ae82[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14134b+=0x2){let _0x34670b=window[_0x3d5248([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18ae82[_0x3d5248([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14134b,_0x14134b+0x2));_0x34670b>=_0x2f2311[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34670b-=_0x2f2311[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24d793+=_0x2f2311[_0x34670b];}return _0x24d793;}function _0x99ac5d(_0x426160){return _0x426160[_0x3d5248([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d5248([0x65,0x79]))?JSON[_0x3d5248([0x70,0x61,0x72,0x73,0x65])](_0x4354f0(_0x426160)):null;}function _0x4354f0(_0x479aa0){return window[_0x3d5248([0x61,0x74,0x6f,0x62])](_0x479aa0[_0x3d5248([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d5248([0x2b]))[_0x3d5248([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d5248([0x2f])));}function _0x554a11(_0x43f603){let _0x232f25=0x1505;function _0x5866a9(_0x35707e){for(let _0x287143=0x0;_0x287143<_0x35707e[_0x3d5248([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x287143++){const _0x420994=_0x35707e[_0x3d5248([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x287143);_0x232f25=(_0x232f25<<0x5)+_0x232f25+_0x420994,_0x232f25&=_0x232f25;}}return function _0xea9b3f(_0x30bb82){Array[_0x3d5248([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x30bb82)?_0x30bb82[_0x3d5248([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xea9b3f):_0x30bb82&&typeof _0x30bb82==_0x3d5248([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d5248([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x30bb82)[_0x3d5248([0x73,0x6f,0x72,0x74])]()[_0x3d5248([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e97b3,_0x49325f])=>{_0x5866a9(_0x4e97b3),_0xea9b3f(_0x49325f);}):_0x5866a9(window[_0x3d5248([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x30bb82));}(_0x43f603),_0x232f25>>>0x0;}function _0x533590(_0x81dbf){return _0x81dbf[_0x3d5248([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d5248([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d5248([0x30]));}function _0x5d9e0f(_0x30e4e3){return _0x30e4e3[_0x3d5248([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d5248([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d5248([0x6a,0x6f,0x69,0x6e])]('');}function _0x4bcea6(_0x2105a5){return _0x243744[_0x3d5248([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d5248([0x68,0x61,0x73])](_0x2105a5);}function _0x29553c(_0x10e284){return _0x243744[_0x3d5248([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d5248([0x67,0x65,0x74])](_0x10e284);}function _0x196846(){}function _0x3d5248(_0x4ffca2){return _0x4ffca2['map'](_0x58b8bc=>String['fromCharCode'](_0x58b8bc))['join']('');}!function(_0xe908){const _0x254eb1=_0x8751e9();_0x243744[_0x254eb1]=_0x3d5248([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe908,_0xe908[_0x3d5248([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x3d5248([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x8751e9()]=_0x4db895),_0xe908!=_0x3d5248([0x56,0x61,0x6c,0x69,0x64])&&(async function(){if(await _0x49cef3,_0x4bcea6(_0x3d5248([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5664d0=_0x47c9ec[_0x3d5248([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x34838d=_0x47c9ec[_0x3d5248([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x5664d0[_0x3d5248([0x69,0x64])]),_0x2cd0e6=_0x29553c(_0x3d5248([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x2cd0e6[_0x3d5248([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5664d0['id'],_0x34838d?_0x34838d['id']:null,!0x0),_0x2cd0e6[_0x3d5248([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3d5248([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2cd0e6[_0x3d5248([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2cd0e6[_0x3d5248([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x196846,void(_0x2cd0e6[_0x3d5248([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x196846);}if(_0x4bcea6(_0x3d5248([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x385b78=_0x29553c(_0x3d5248([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x385b78[_0x3d5248([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3d5248([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x385b78[_0x3d5248([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x385b78[_0x3d5248([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x196846,_0x385b78[_0x3d5248([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x196846;}_0x243744[_0x3d5248([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d5248([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x196846,_0x243744[_0x3d5248([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d5248([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x196846,_0x243744[_0x3d5248([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d5248([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x19a47b);}class RevisionHistoryUtils extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[ckeditor5['ViewContainerElement'],'c'],[ckeditor5['ViewAttributeElement'],'a'],[ckeditor5['ViewEmptyElement'],'e'],[ckeditor5['ViewRawElement'],'r'],[ckeditor5['ViewUIElement'],'u']]);['_typeCharToViewClass']=new Map([['c',ckeditor5['ViewContainerElement']],['a',ckeditor5['ViewAttributeElement']],['e',ckeditor5['ViewEmptyElement']],['r',ckeditor5['ViewRawElement']],['u',ckeditor5['ViewUIElement']]]);async['loadRevisionData'](_0xd3cc59,_0x579700){if(_0xd3cc59['diffData']||!_0x579700)return;const _0x7025a0=this['editor']['config']['get']('collaboration.channelId'),_0x1fd575=await _0x579700['getRevision']({'channelId':_0x7025a0,'revisionId':_0xd3cc59['id']});_0xd3cc59['diffData']=_0x1fd575['diffData'];}['getRevisionDocumentData'](_0x3f8381){const _0x5ad436={};for(const _0x4b0a8a in _0x3f8381['diffData']){if(_0x3f8381['diffData'][_0x4b0a8a]['attachChange']&&!_0x3f8381['diffData'][_0x4b0a8a]['attachChange']['isAttached'])continue;const _0x46998a=this['_removeRevisionMarkers'](JSON['parse'](_0x3f8381['diffData'][_0x4b0a8a]['insertions'])),_0x1297ec=this['editor']['editing']['view']['document'],_0x3938e7=new ckeditor5['ViewDocumentFragment'](_0x1297ec,_0x46998a['map'](_0x2959b7=>this['_getViewFromDiffObj'](_0x2959b7,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x5ad436[_0x4b0a8a]=this['editor']['data']['processor']['toData'](_0x3938e7),this['editor']['data']['processor']['useFillerType']('default');}return _0x5ad436;}['getRevisionRootsAttributes'](_0x3bd787){const _0x40d814={};for(const _0x28379e in _0x3bd787['diffData'])_0x3bd787['diffData'][_0x28379e]['attachChange']&&!_0x3bd787['diffData'][_0x28379e]['attachChange']['isAttached']||(_0x40d814[_0x28379e]=_0x3bd787['diffData'][_0x28379e]['attributesAfter']||{});return _0x40d814;}['_getTypeCharForViewElement'](_0x349b4e){return this['_viewClassToTypeChar']['get'](_0x349b4e['constructor']);}['_getViewFromDiffObj'](_0x13778e,_0x524709){const _0x1608a3=this['editor']['editing']['view']['document'];if('string'==typeof _0x13778e)return new ckeditor5['ViewText'](_0x1608a3,_0x13778e);{let _0xdb29c5,_0x4016a1;_0x4016a1='u'==_0x13778e['type']||'r'==_0x13778e['type']?[]:_0x13778e['children']['map'](_0x2377b7=>this['_getViewFromDiffObj'](_0x2377b7,_0x524709));const _0x1c5674=this['_typeCharToViewClass']['get'](_0x13778e['type'])||ckeditor5['ViewElement'],_0x451d5c=this['editor']['data']['htmlProcessor']['domConverter'];if(_0xdb29c5=new _0x1c5674(_0x1608a3,_0x13778e['name'],_0x13778e['attributes'],_0x4016a1),'u'==_0x13778e['type']&&_0x13778e['children'][0x0]){const _0x3a472c=_0x13778e['children'][0x0];if(_0xdb29c5['render']=function(_0x198c12){const _0x1fdaa8=_0x198c12['createElement']('div');return _0x1fdaa8['innerHTML']=_0x3a472c,_0x1fdaa8['childNodes'][0x0];},_0x524709){const _0x1bc9cb=new ckeditor5['ViewDocumentFragment'](_0x1608a3);_0x1bc9cb['_appendChild'](_0xdb29c5);const _0x2c9028=Array['from'](_0x451d5c['viewChildrenToDom'](_0x1bc9cb,{'bind':!0x1})),_0x10b185=_0x451d5c['domDocument']['createElement']('div');_0x10b185['append'](..._0x2c9028),_0xdb29c5=Array['from'](_0x451d5c['domChildrenToView'](_0x10b185))[0x0];}}else{if('r'==_0x13778e['type']&&_0x13778e['children'][0x0]){const _0x56249c=_0x13778e['children'][0x0];if(_0xdb29c5['render']=function(_0x2fddb5){_0x2fddb5['innerHTML']=_0x56249c;},_0x524709){const _0x82f6f6=new ckeditor5['ViewDocumentFragment'](_0x1608a3);_0x82f6f6['_appendChild'](_0xdb29c5);const _0xbdc953=Array['from'](_0x451d5c['viewChildrenToDom'](_0x82f6f6,{'bind':!0x1})),_0x473e84=_0x451d5c['domDocument']['createElement']('div');_0x473e84['append'](..._0xbdc953);const _0xdaf29=Array['from'](_0x451d5c['domChildrenToView'](_0x473e84));_0xdaf29['length']>0x1?_0xdb29c5['_appendChild'](_0xdaf29):_0xdb29c5=_0xdaf29[0x0];}}}if(_0x13778e['customProperties']){for(const [_0x452764,_0x325858]of _0x13778e['customProperties'])_0xdb29c5['_setCustomProperty'](_0x452764,_0x325858);}const _0x5eae58=void 0x0===_0x13778e['fillerOffset']?null:_0x13778e['fillerOffset'];return null!==_0x5eae58&&(_0xdb29c5['getFillerOffset']=()=>_0x5eae58),_0xdb29c5;}}['_makeModelFromViewString'](_0x15e299){const _0x39a4ec=JSON['parse'](_0x15e299),_0x2c69bd=this['editor']['editing']['view']['document'],_0x5842cb=new ckeditor5['ViewDocumentFragment'](_0x2c69bd,_0x39a4ec['map'](_0x546a1a=>this['_getViewFromDiffObj'](_0x546a1a,!0x0)));return this['editor']['data']['toModel'](_0x5842cb);}['_removeRevisionMarkers'](_0x426121){return(_0x426121=_0x426121['filter'](_0x46f564=>!_0x46f564['name']||'revision-start'!==_0x46f564['name']&&'revision-end'!==_0x46f564['name']))['forEach'](_0x150af0=>{'string'!=typeof _0x150af0&&(_0x150af0['children']=this['_removeRevisionMarkers'](_0x150af0['children']),_0x150af0['attributes']=_0x150af0['attributes']['filter'](_0x4d0f95=>!_0x4d0f95[0x0]['startsWith']('data-revision-')));}),_0x426121;}}function getTranslation$5(_0x3ec815,_0x43ffd7,_0x25beb0){const t=_0x3ec815['t'];switch(_0x43ffd7){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'},_0x25beb0);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x25beb0);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'';}}class _0x5076f4 extends ckeditor5['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[_0x59867e,RevisionsRepository,RevisionHistoryUtils,ckeditor5['PendingActions']];}constructor(_0x523cc6){super(_0x523cc6),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['_revisionDataBuilder']=new RevisionDataBuilder(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x56dd42=ckeditor5['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x56dd42},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 _0x530d46=this['repository']['getRevision'](0x0),_0xc677f2=_0x530d46&&null===_0x530d46['creator']?_0x530d46:null;if(this['_continueCurrentRevision']=!!_0xc677f2&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x35c558=this['_source']['getCurrentRevisionId'](),_0x390d01=this['repository']['getRevision'](_0x35c558);if(_0x390d01)this['_startingVersion']=_0x390d01['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x22575b=this['_source']['history']['_operations']['find'](_0x408bbd=>!_0x408bbd['_isInit']),_0xbb4e4b=_0x22575b?_0x22575b['baseVersion']:this['_source']['history']['version'];_0x530d46?(_0x530d46['toVersion']<_0xbb4e4b&&_0x530d46['_update']({'toVersion':_0xbb4e4b}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0xc677f2['id'],this['_startingVersion']=_0xc677f2['fromVersion']):(this['_startingVersion']=_0x530d46['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xbb4e4b,this['_continueCurrentRevision']=!0x1);}}else _0xc677f2&&(this['editor']['model']['document']['history']['version']=Math['max'](_0xc677f2['toVersion'],this['editor']['model']['document']['history']['version']),_0xc677f2['fromVersion']===_0xc677f2['toVersion']?(0x0!==_0xc677f2['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0xc677f2['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0xc677f2['id'],this['_startingVersion']=_0xc677f2['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',_0x4f226d=>!_0x4f226d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a4fcc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x105410;for(const _0x1694fe in _0x4a4fcc){const _0x4f4fe9=_0x1694fe,_0x2137c0=_0x4a4fcc[_0x4f4fe9];if('revisionHistoryLicenseKeyValid'==_0x2137c0||'revisionHistoryLicenseKeyInvalid'==_0x2137c0||'revisionHistoryLicenseKeyExpired'==_0x2137c0||'revisionHistoryLicenseKeyDomainLimit'==_0x2137c0||'revisionHistoryLicenseKeyNotAllowed'==_0x2137c0||'revisionHistoryLicenseKeyEvaluationLimit'==_0x2137c0||'revisionHistoryLicenseKeyUsageLimit'==_0x2137c0){delete _0x4a4fcc[_0x4f4fe9],_0x105410=_0x2137c0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x105410&&_0x4a4fcc['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x105410&&_0x4a4fcc['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x105410&&_0x4a4fcc['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x105410&&_0x4a4fcc['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x105410&&_0x4a4fcc['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x105410&&_0x4a4fcc['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x1d3f1a=this['repository']['getRevision'](0x0),_0x1a3286=await this['getRevisionDocumentData'](_0x1d3f1a),_0x37699f=await this['getRevisionRootsAttributes'](_0x1d3f1a);this['_replaceEditorDataWithRevisionData'](_0x1a3286,_0x37699f);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x56e975){this['_source']=_0x56e975;}async['update'](){const _0x235571=await this['_source']['getLatestVersion']();if(_0x235571>this['currentRevision']['toVersion']){await this['_loadState']();const _0x1eea14=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x235571});_0x1eea14['authors']=_0x1eea14['authorsIds']['map'](_0x284052=>this['editor']['plugins']['get']('Users')['getUser'](_0x284052)),this['currentRevision']['_update'](_0x1eea14);}}async['saveRevision'](_0x1dee3c={},_0x448579=null){const _0x46fa42=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x448579>this['currentRevision']['toVersion']&&(_0x448579=null),null===_0x448579&&(_0x448579=await this['_source']['getLatestVersion']());const _0x58213a=this['_getFromVersion'](_0x448579),_0x475910=this['buildRevisionData']({'from':_0x58213a,'to':_0x448579});if(this['currentRevision']['toVersion']<_0x448579){const _0x1ccb0b=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x448579,'to':_0x448579});_0x1ccb0b['authors']=[],_0x1ccb0b['authorsIds']=[],_0x1ccb0b['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1ccb0b,!0x0),delete _0x1ccb0b['authors'],_0x46fa42['push'](_0x1ccb0b);}_0x1dee3c['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1dee3c['name']=_0x1dee3c['name']||null,_0x1dee3c['id']=_0x1dee3c['id']||ckeditor5['uid'](),_0x1dee3c={..._0x1dee3c,..._0x475910};const _0x46e5b5=this['addRevisionData'](_0x1dee3c);_0x46fa42['push'](_0x1dee3c);const _0x461037=this['repository']['getIndex'](_0x46e5b5);if(0x0!==_0x461037){const _0x1f71bb=this['repository']['getRevision'](_0x461037-0x1);if(_0x1f71bb['fromVersion']!==_0x448579){const _0x32c4ae=this['_revisionDataBuilder']['getData'](_0x448579,_0x1f71bb['toVersion']),_0x22273c={'id':_0x1f71bb['id'],'diffData':_0x32c4ae['diffData'],'authorsIds':_0x32c4ae['authorsIds'],'authors':_0x32c4ae['authorsIds']['map'](_0x498854=>this['editor']['plugins']['get']('Users')['getUser'](_0x498854)),'fromVersion':_0x448579};_0x1f71bb===this['currentRevision']&&(_0x22273c['createdAt']=new Date(_0x1dee3c['createdAt']['getTime']()+0xa)),_0x1f71bb['_update'](_0x22273c,!0x0),delete _0x22273c['authors'],_0x46fa42['push'](_0x22273c);}}if(this['adapter']){for(const _0x18ace4 of _0x46fa42)this['_bufferUpdate'](_0x18ace4['id'],_0x18ace4,!0x0);this['sendBufferedUpdates']();}return _0x46e5b5;}['addRevisionData'](_0xd941c8){const _0x446807=this['repository']['createRevision'](_0xd941c8);return this['adapter']&&_0x446807['on']('_update',(_0x3adca1,_0x4763f5,_0x316a2b)=>{_0x316a2b||(this['_bufferUpdate'](_0x4763f5['id'],_0x4763f5,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x446807,this['_findInsertionIndex'](_0x446807)),_0x446807;}async['getRevisionDocumentData'](_0x1b7430){return await this['_utils']['loadRevisionData'](_0x1b7430,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x1b7430);}async['getRevisionRootsAttributes'](_0x5cea2b){return await this['_utils']['loadRevisionData'](_0x5cea2b,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x5cea2b);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2ba98b=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x199f54=0x0;_0x199f54<_0x2ba98b['length'];_0x199f54++){const _0x613a5f=_0x2ba98b[_0x199f54];let _0x19f478=!0x1;for(const _0x3d511e of Object['keys'](_0x613a5f))void 0x0===_0x613a5f[_0x3d511e]?delete _0x613a5f[_0x3d511e]:'id'!==_0x3d511e&&(_0x19f478=!0x0);_0x19f478||(_0x2ba98b[_0x199f54]=null);}if(_0x2ba98b=_0x2ba98b['filter'](_0x470039=>null!==_0x470039),!_0x2ba98b['length'])return;for(let _0x58b710=0x0;_0x58b710<_0x2ba98b['length'];_0x58b710++){const _0x443b35=_0x2ba98b[_0x58b710];void 0x0!==_0x443b35['fromVersion']&&void 0x0===_0x443b35['toVersion']&&(_0x443b35['toVersion']=this['repository']['getRevision'](_0x443b35['id'])['toVersion']),void 0x0!==_0x443b35['toVersion']&&void 0x0===_0x443b35['fromVersion']&&(_0x443b35['fromVersion']=this['repository']['getRevision'](_0x443b35['id'])['fromVersion']);}const _0x1a77a7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2ba98b,_0x1a77a7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x48492f=>{if(_0x48492f){for(const _0x5473be of _0x48492f)this['setRevisionData']({'id':_0x5473be['id'],'createdAt':_0x5473be['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x165621=null,from:_0x42202d=null,to:_0x5e5dc6=null}){_0x42202d=null!==_0x42202d?_0x42202d:_0x165621['fromVersion'],_0x5e5dc6=null!==_0x5e5dc6?_0x5e5dc6:_0x165621['toVersion'];const _0x5eef00=this['_revisionDataBuilder']['getData'](_0x42202d,_0x5e5dc6),_0x180efc={'diffData':_0x5eef00['diffData'],'authorsIds':_0x5eef00['authorsIds'],'fromVersion':_0x42202d,'toVersion':_0x5e5dc6};if(!_0x165621||_0x5e5dc6!==_0x165621['toVersion']){const _0x3c9730=_0x5e5dc6-0x1,_0x42bde8=this['_source']['history']['getOperation'](_0x3c9730);_0x180efc['createdAt']=_0x42bde8&&_0x42bde8['createdAt']||new Date();}if(this['_loadedStateData']&&_0x42202d===this['_loadedStateData']['fromVersion']){for(const _0x533958 of this['_loadedStateData']['authors'])_0x180efc['authorsIds']['includes'](_0x533958['id'])||_0x180efc['authorsIds']['push'](_0x533958['id']);}return _0x180efc;}['_bufferUpdate'](_0x13e07c,_0x19efeb,_0x4b29ec){if(this['_bufferedUpdates']['has'](_0x13e07c)){const _0x4e4071=this['_bufferedUpdates']['get'](_0x13e07c);_0x19efeb=_0x4b29ec?{..._0x4e4071,..._0x19efeb}:{..._0x19efeb,..._0x4e4071};}this['_bufferedUpdates']['set'](_0x13e07c,_0x19efeb);}['setRevisionData'](_0x5c66f0){const _0x5c906f=this['repository']['getRevision'](_0x5c66f0['id']);if(_0x5c66f0['createdAt']&&(_0x5c66f0['createdAt']=new Date(_0x5c66f0['createdAt'])),_0x5c66f0['authorsIds']){const _0x35464e=this['editor']['plugins']['get']('Users');_0x5c66f0['authors']=_0x5c66f0['authorsIds']['map'](_0x44b9d5=>_0x35464e['getUser'](_0x44b9d5));}_0x5c906f['_update'](_0x5c66f0,!0x0);}['_createInitialRevision'](_0x140fa9){const _0x5811c6=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5811c6)this['_initialRevisionId']=_0x5811c6['id'];else{const _0xec0e77=!this['editor']['model']['document']['roots']['find'](_0x846ce4=>this['editor']['model']['hasContent'](_0x846ce4)),_0x5e7ba0=this['editor']['plugins']['get']('Users')['me']['id'],_0x5de52a=getTranslation$5(this['editor']['locale'],_0xec0e77?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x140fa9,'to':_0x140fa9,'id':this['_initialRevisionId'],'name':_0x5de52a,'creatorId':_0x5e7ba0});}}['_createCurrentRevision'](_0x41499c){const _0xb238b1=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xb238b1),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x41499c,'to':_0x41499c,'id':_0xb238b1,'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'](_0x439ee3,_0x1dff16){let _0xf16f51=this['editor']['config']['get']('initialData'),_0x5e99f2=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xf16f51){_0xf16f51={};for(const _0x1ae1f6 of this['editor']['model']['document']['getRootNames']())_0xf16f51[_0x1ae1f6]='';}if('string'==typeof _0xf16f51&&(_0xf16f51={'main':_0xf16f51}),void 0x0===_0x5e99f2){_0x5e99f2={};for(const _0x2dc4f4 of this['editor']['model']['document']['getRootNames']())_0x5e99f2[_0x2dc4f4]={};}let _0x325fc9=!0x1;const _0x2690cd=Object['keys'](_0xf16f51),_0xe5f44b=Object['keys'](_0x439ee3);for(const _0x25c4ae of _0x2690cd){if(_0xf16f51[_0x25c4ae]!==_0x439ee3[_0x25c4ae]&&''!==_0xf16f51[_0x25c4ae]['trim']()){_0x325fc9=!0x0;break;}if(!_0x140510(_0x5e99f2[_0x25c4ae],_0x1dff16[_0x25c4ae])&&Object['keys'](_0x5e99f2[_0x25c4ae])['length']>0x0){_0x325fc9=!0x0;break;}}_0x325fc9||(_0x325fc9=_0xe5f44b['some'](_0x5e1912=>!this['editor']['model']['document']['getRoot'](_0x5e1912))),_0x325fc9&&ckeditor5['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0xf16f51,'editorRootsAttributes':_0x5e99f2,'revisionData':_0x439ee3,'revisionRootsAttributes':_0x1dff16}),this['editor']['config']['set']('initialData',_0x439ee3),this['editor']['config']['set']('rootsAttributes',_0x1dff16);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x259026=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x259026['add'](getTranslation$5(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4e1810){const _0x393ad9=this['repository']['getRevisions']();_0x393ad9['reverse']();let _0xf1b455=0x0;for(;_0xf1b455<_0x393ad9['length'];){const _0x26c8af=_0x393ad9[_0xf1b455];if(_0x26c8af===this['currentRevision']){_0xf1b455++;continue;}if(_0x26c8af['id']===this['_initialRevisionId'])break;const _0x5b33ab=_0x4e1810['toVersion']-_0x26c8af['toVersion']||_0x4e1810['fromVersion']-_0x26c8af['fromVersion'];if(_0x5b33ab>0x0)break;if(_0x5b33ab<0x0)_0xf1b455++;else{if(!_0x4e1810['creator']&&_0x26c8af['creator'])break;if(_0x26c8af['creator']||!_0x4e1810['creator']){if(_0x4e1810['createdAt']>_0x26c8af['createdAt'])break;_0xf1b455++;}else _0xf1b455++;}}return _0xf1b455;}['_getFromVersion'](_0x38ef34){const _0x52c549=this['repository']['getRevisions']();_0x52c549['reverse'](),_0x52c549['shift']();const _0x489d4d=_0x52c549['find'](_0x43c604=>_0x43c604['toVersion']<=_0x38ef34)['toVersion'];return _0x489d4d<this['_startingVersion']?this['_startingVersion']:_0x489d4d;}['_makeRevision']({name:_0x30f7f6,from:_0x245cd7,to:_0x5a0307,creatorId:_0x2f20b,id:_0x447640}){const _0x1212c5=this['buildRevisionData']({'from':_0x245cd7,'to':_0x5a0307});_0x1212c5['name']=_0x30f7f6,_0x1212c5['creatorId']=_0x2f20b,_0x1212c5['id']=_0x447640;const _0x3993fd=this['addRevisionData'](_0x1212c5);return this['adapter']&&this['_bufferUpdate'](_0x1212c5['id'],_0x1212c5,!0x0),_0x3993fd;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}}class RevisionDataBuilder{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4853fa){this['editor']=_0x4853fa,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'](_0x2b4b94){this['source']=_0x2b4b94;const _0x22659f=new Map(),_0x55bd2b=new Map(),_0x58e599=this['editor']['model']['document']['roots']['map'](_0x190e35=>_0x190e35['rootName']);for(const _0x5af729 of _0x58e599){const _0x5717c1=this['editor']['model']['document']['getRoot'](_0x5af729),_0x173280=_cloneRoot(_0x5717c1);_0x22659f['set'](_0x5af729,_0x173280),_0x55bd2b['set'](_0x5af729,Object['fromEntries'](_0x5717c1['getAttributes']()));}const _0x44d711=Array['from'](this['editor']['model']['markers'])['map'](_0x22218b=>[_0x22218b['name'],_0x22218b['getRange']()]),_0x35ef21=this['source']['version'];this['_saveMetaData'](_0x35ef21,_0x22659f,_0x44d711,_0x55bd2b),this['_startingRevisionId']=this['_revisionId'];const _0x34cbd8=new Map(),_0x3d6723=new Map();for(const _0x8d4aa1 of _0x58e599){const _0xe1a730=_emptyRoot(_0x8d4aa1);_0x34cbd8['set'](_0x8d4aa1,_0xe1a730),_0x3d6723['set'](_0x8d4aa1,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x34cbd8,[],_0x3d6723);}['getData'](_0x5eac2c,_0xf7ff3d){if(this['_lastFrom']===_0x5eac2c&&this['_lastTo']<=_0xf7ff3d)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xf7ff3d,!0x0);else{if(!this['_savedMetaData']['has'](_0x5eac2c)){const _0x11b172=this['_getPreviousFrom'](_0x5eac2c);this['_calculateMetaData'](_0x11b172,_0x5eac2c,!0x1);}this['_calculateMetaData'](_0x5eac2c,_0xf7ff3d,!0x0);}return this['_lastFrom']=_0x5eac2c,this['_lastTo']=_0xf7ff3d,this['_getState']();}['loadState'](_0x1412fe){if(!this['_savedMetaData']['has'](_0x1412fe['fromVersion'])){const _0x172fc5=this['_getPreviousFrom'](_0x1412fe['fromVersion']);this['_calculateMetaData'](_0x172fc5,_0x1412fe['fromVersion'],!0x1);}this['_calculateMetaData'](_0x1412fe['fromVersion'],_0x1412fe['toVersion'],!0x1);const _0xfb567e=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x1412fe['fromVersion'],this['_lastTo']=_0x1412fe['toVersion'];for(const _0x44546e in _0x1412fe['diffData']){const _0x1dbc17=_0x1412fe['diffData'][_0x44546e]['attachChange'],_0x4278b9=_0xedd9f2(_0x1412fe['diffData'][_0x44546e]['attributesBefore'])||{},_0x22c52f=_0xfb567e['_makeModelFromViewString'](_0x1412fe['diffData'][_0x44546e]['deletions']);_0x22c52f['rootName']=_0x44546e,_0x22c52f['_isAttached']=!_0x1dbc17||!_0x1dbc17['isAttached'],_0x22c52f['isAttached']=()=>_0x22c52f['_isAttached'],this['_baseRoots']['set'](_0x44546e,_0x22c52f),this['_baseRootsAttributes']['set'](_0x44546e,_0x4278b9),_0x1dbc17&&this['_touchedRoots']['set'](_0x44546e,_0x1dbc17);const _0x40e4ab=this['_makeIdsRoot'](_0x22c52f);this['_baseIdsRoots']['set'](_0x44546e,_0x40e4ab);for(const [_0x142a98,_0x18dcec]of _0x22c52f['markers']){if(!_0x142a98['startsWith']('revision:'))continue;const _0x13bb3f=_0x142a98['split'](':')[0x2];for(const _0x20af01 of _0x18dcec['getWalker']({'singleCharacters':!0x0})){const _0x188279=this['_getVidAttributeName'](_0x20af01),_0x139772='elementEnd'==_0x20af01['type']?_0x20af01['previousPosition']['path']['slice'](0x0,-0x1):_0x20af01['previousPosition']['path'],_0x29a4e6=_0x40e4ab['getNodeByPath'](_0x139772)['getAttribute'](_0x188279);this['_touched']['set'](_0x29a4e6,{'userId':_0x13bb3f});}_0x22c52f['markers']['delete'](_0x142a98);}}this['_startingRevisionId']=this['_revisionId'];const _0x5700b7=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x24ec6f=>!this['_touched']['has'](_0x24ec6f));let _0x5cf503=0x0;const _0x23d0f4=new Map();for(const _0x65501b in _0x1412fe['diffData']){const _0x1b6430=_0x1412fe['diffData'][_0x65501b]['attachChange'],_0x1dff56=_0xedd9f2(_0x1412fe['diffData'][_0x65501b]['attributesAfter'])||{},_0x15e338=_0xfb567e['_makeModelFromViewString'](_0x1412fe['diffData'][_0x65501b]['insertions']);_0x15e338['rootName']=_0x65501b,_0x15e338['_isAttached']=!_0x1b6430||_0x1b6430['isAttached'],_0x15e338['isAttached']=()=>_0x15e338['_isAttached'],this['_diffRoots']['set'](_0x65501b,_0x15e338),this['_diffRootsAttributes']['set'](_0x65501b,_0x1dff56);const _0xc82aa1=this['_makeIdsRoot'](_0x15e338,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x65501b,_0xc82aa1),_0x23d0f4['set'](_0x65501b,_0x15e338['isAttached']()?_0x1dff56:{});for(const [_0x5a1706,_0x36fef4]of _0x15e338['markers']){if(!_0x5a1706['startsWith']('revision:'))continue;const _0xcc58e5=_0x5a1706['split'](':')[0x2];for(const _0x1cf972 of _0x36fef4['getWalker']({'singleCharacters':!0x0})){const _0x50aa77=this['_getVidAttributeName'](_0x1cf972),_0x9bb7d0=this['_revisionId']++,_0x5c15d4='elementEnd'==_0x1cf972['type']?_0x1cf972['previousPosition']['path']['slice'](0x0,-0x1):_0x1cf972['previousPosition']['path'];_0xc82aa1['getNodeByPath'](_0x5c15d4)['_setAttribute'](_0x50aa77,_0x9bb7d0),this['_touched']['set'](_0x9bb7d0,{'userId':_0xcc58e5});}_0x15e338['markers']['delete'](_0x5a1706);}for(const _0x2a54b9 of this['editor']['model']['createRangeIn'](_0x15e338)['getWalker']({'singleCharacters':!0x0})){const _0x323582=this['_getVidAttributeName'](_0x2a54b9),_0x2fa558='elementEnd'==_0x2a54b9['type']?_0x2a54b9['previousPosition']['path']['slice'](0x0,-0x1):_0x2a54b9['previousPosition']['path'],_0xed7c7b=_0xc82aa1['getNodeByPath'](_0x2fa558);_0xed7c7b['getAttribute'](_0x323582)>0x0||_0xed7c7b['_setAttribute'](_0x323582,_0x5700b7[_0x5cf503++]);}for(const [_0x42168a,_0x34a17f]of _0x15e338['markers'])_0x42168a['startsWith']('revision:')||this['_markers']['set'](_0x42168a,_0x34a17f);}const {roots:_0x24e7bd}=this['_savedMetaData']['get'](_0x1412fe['fromVersion']),{roots:_0x503c6c}=this['_savedMetaData']['get'](_0x1412fe['toVersion']),_0x846280=_cloneRoot(_0x24e7bd['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x846280),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x846280,Number['NEGATIVE_INFINITY']));const _0x28eae8=_cloneRoot(_0x503c6c['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x28eae8),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x28eae8));const _0x1b8dfe=Array['from'](this['_diffRoots'])['map'](([_0x448a77,_0x464a2d])=>[_0x448a77,_cloneRoot(_0x464a2d)]);this['_saveMetaData'](this['_lastTo'],_0x1b8dfe,this['_markers'],_0x23d0f4);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x2d3961,_0x2b05c1,_0x51fc30,_0x2ee39f){const _0xdf2269=new Map(_0x2b05c1),_0xc202c=new Map(_0xedd9f2(_0x2ee39f)),_0x2e8bca=new Map();for(const [_0x1a826a,_0xb34232]of _0x51fc30)_0x2e8bca['set'](_0x1a826a,{'start':_0xb34232['start']['clone'](),'end':_0xb34232['end']['clone'](),'rootName':_0xb34232['root']['rootName']});this['_savedMetaData']['set'](_0x2d3961,{'roots':_0xdf2269,'markers':_0x2e8bca,'rootsAttributes':_0xc202c});}['_removeMetaData'](_0x3484f7){this['_savedMetaData']['delete'](_0x3484f7);}['_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'](_0x151218,_0x3f63bb=null){let _0x21636c=null;_0x151218['is']('documentFragment')||(_0x21636c=new ckeditor5['ModelElement'](_0x151218['name'],{'vid_start':null===_0x3f63bb?this['_revisionId']++:_0x3f63bb++}));const _0x571f8d=[];for(const _0x2b2caf of _0x151218['getChildren']())if(_0x2b2caf['is']('element')){_0x571f8d['push'](this['_makeIdsRoot'](_0x2b2caf,_0x3f63bb));const _0x106d47=_0x571f8d[_0x571f8d['length']-0x1];null!==_0x3f63bb&&(_0x3f63bb=_0x106d47['is']('element','$text')?_0x106d47['getAttribute']('vid')+0x1:_0x106d47['getAttribute']('vid_end')+0x1);}else{for(let _0x10c7db=0x0;_0x10c7db<_0x2b2caf['offsetSize'];_0x10c7db++)_0x571f8d['push'](new ckeditor5['ModelElement']('$text',{'vid':null===_0x3f63bb?this['_revisionId']++:_0x3f63bb++}));}if(_0x151218['is']('documentFragment')){const _0x181e6c=_emptyRoot(_0x151218['rootName']);return _0x181e6c['_insertChild'](0x0,_0x571f8d),_0x181e6c;}return _0x21636c['_setAttribute']('vid_end',null===_0x3f63bb?this['_revisionId']++:_0x3f63bb++),_0x21636c['_insertChild'](0x0,_0x571f8d),_0x21636c;}['_calculateMetaData'](_0xa7db4,_0x213ecb,_0x481aec){this['_reset']();const {roots:_0x4a43ac,markers:_0x5141b5,rootsAttributes:_0x48ba5c}=this['_savedMetaData']['get'](_0xa7db4);this['_baseRoots']=new Map(_0x4a43ac),this['_baseRootsAttributes']=new Map(_0xedd9f2(_0x48ba5c));for(const [_0x38dc39,_0x40938f]of this['_baseRoots'])if('$graveyard'!==_0x38dc39&&(this['_diffRoots']['set'](_0x38dc39,_cloneRoot(_0x40938f)),this['_diffRootsAttributes']=new Map(_0xedd9f2(_0x48ba5c)),_0x481aec)){const _0xf5ae58=this['_revisionId'];this['_idsRoots']['set'](_0x38dc39,this['_makeIdsRoot'](_0x40938f)),this['_baseIdsRoots']['set'](_0x38dc39,this['_makeIdsRoot'](_0x40938f,_0xf5ae58));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_cloneRoot(this['_baseRoots']['get']('$graveyard'))),_0x481aec&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2bd479,_0x250eb1]of _0x5141b5){const _0x229f0f=this['_baseRoots']['get'](_0x250eb1['rootName']),_0x1ce507=this['_diffRoots']['get'](_0x250eb1['rootName']),_0x17406c=new ckeditor5['ModelRange'](this['_fixPosition'](_0x250eb1['start'],_0x229f0f),this['_fixPosition'](_0x250eb1['end'],_0x229f0f)),_0x156c27=this['_fixRange'](_0x17406c,_0x1ce507);_0x229f0f['markers']['set'](_0x2bd479,_0x17406c),this['_markers']['set'](_0x2bd479,_0x156c27);}this['_applyOperations'](_0xa7db4,_0x213ecb,_0x481aec);}['_applyOperations'](_0x4c2b56,_0x5a74a7,_0x568b5e){for(const _0x3c2c1b of this['source']['getOperations'](_0x4c2b56,_0x5a74a7))this['_handleOperation'](_0x3c2c1b,_0x568b5e);for(const _0xe0b261 of this['_diffRoots']['values']())_0xe0b261['markers']['clear']();for(const [_0x39a89e,_0x2ce9b4]of this['_markers']){this['_diffRoots']['get'](_0x2ce9b4['root']['rootName'])['markers']['set'](_0x39a89e,_0x2ce9b4['clone']());}const _0x59cce4=new Map(),_0x3aac76=new Map();for(const [_0x33f96d,_0x482e8f]of this['_diffRoots'])_0x59cce4['set'](_0x33f96d,_cloneRoot(_0x482e8f)),_0x3aac76['set'](_0x33f96d,this['_diffRootsAttributes']['get'](_0x33f96d));this['_saveMetaData'](_0x5a74a7,_0x59cce4,this['_markers'],_0x3aac76);}['_getPreviousFrom'](_0x5a690f){const _0xa6f70e=Array['from'](this['_savedMetaData']['keys']());_0xa6f70e['sort']((_0x504bf1,_0xdd1c79)=>_0x504bf1-_0xdd1c79),_0xa6f70e['reverse']();for(const _0x317422 of _0xa6f70e)if(_0x317422<_0x5a690f)return _0x317422;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3656f1,_0x422321){const _0x348f85=Array['from'](_0x422321['markers'])['map'](([_0x2d1a0c,_0x8130c1])=>[_0x2d1a0c,this['_fixRange'](_0x8130c1,_0x3656f1)]);_0x3656f1['markers']=new Map(_0x348f85);}['_transformMarkers'](_0x3fd839){for(const _0x44a636 of this['_markers']['values']()){const _0x15ed12=_0x44a636['getTransformedByOperation'](_0x3fd839),_0x563bd5=ckeditor5['ModelRange']['_createFromRanges'](_0x15ed12);_0x44a636['start']=_0x563bd5['start'],_0x44a636['end']=_0x563bd5['end'];}}['_handleOperation'](_0x4243e0,_0x379da7){if('addRoot'!=_0x4243e0['type']&&'detachRoot'!=_0x4243e0['type']){if('insert'==_0x4243e0['type']){const _0x34ad8=_0x4243e0['position']['root']['rootName'];this['_diffRoots']['has'](_0x34ad8)||(this['_diffRoots']['set'](_0x34ad8,_emptyRoot(_0x34ad8,!0x0)),this['_diffRootsAttributes']['set'](_0x34ad8,{}),_0x379da7&&this['_idsRoots']['set'](_0x34ad8,_emptyRoot(_0x34ad8,!0x0)));}else{if('addRootAttribute'==_0x4243e0['type']||'removeRootAttribute'==_0x4243e0['type']||'changeRootAttribute'==_0x4243e0['type'])return void this['_handleRootAttributeOperation'](_0x4243e0);'marker'==_0x4243e0['type']&&this['_handleMarkerOperation'](_0x4243e0);}if('marker'!==_0x4243e0['type']){const _0x49fe67=this['_cloneOperation'](_0x4243e0,this['_diffRoots']);_0x49fe67['_execute'](),this['_transformMarkers'](_0x49fe67);}if(_0x379da7)switch(_0x4243e0['type']){case'insert':this['_handleInsertOperation'](_0x4243e0);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4243e0);break;case'merge':this['_handleMergeOperation'](_0x4243e0);break;case'split':this['_handleSplitOperation'](_0x4243e0);}}else this['_handleRootOperation'](_0x4243e0,_0x379da7);}['_cloneOperation'](_0x3bad7e,_0x40e325){const _0x14ccdf=_0x3bad7e['clone']();return _0x14ccdf['_authorId']=_0x3bad7e['_authorId'],this['_fixOperation'](_0x14ccdf,_0x40e325),_0x14ccdf;}['_getBaseVids'](_0x213f12){return _0x213f12['map'](_0xc88c39=>{const _0x2e33a8=this['_getVidAttributeName'](_0xc88c39);return Number(_0xc88c39['item']['getAttribute'](_0x2e33a8));});}['_generateTape'](_0x4fa6cf,_0x57ac3d){if(_0x4fa6cf['is']('element','$text'))_0x57ac3d['push']({'item':_0x4fa6cf,'type':'text'});else{_0x4fa6cf['is']('element')&&_0x57ac3d['push']({'item':_0x4fa6cf,'type':'elementStart'});for(const _0x269e60 of _0x4fa6cf['getChildren']())this['_generateTape'](_0x269e60,_0x57ac3d);_0x4fa6cf['is']('element')&&_0x57ac3d['push']({'item':_0x4fa6cf,'type':'elementEnd'});}return _0x57ac3d;}['_getState'](){const _0x43ea6b=new Map(this['_touched']),_0x159b73=new Map(_0x43ea6b),_0x3ba42b=new Map(),_0x1e3e78={'insertions':{},'deletions':{}},_0x1ebb00={'insertions':{},'deletions':{}},_0x535bc4=new Map(),_0x8f8237=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x8f8237['delete']('$graveyard');for(const _0x513c81 of _0x8f8237){const _0x52ec64=this['_diffRoots']['get'](_0x513c81)||_emptyRoot(_0x513c81,!0x1),_0x1f4c7a=this['_baseRoots']['get'](_0x513c81)||_emptyRoot(_0x513c81,!0x1);_0x52ec64['isAttached']()||_0x1f4c7a['isAttached']()?(_0x1e3e78['insertions'][_0x513c81]=_cloneRoot(_0x52ec64),_0x1e3e78['deletions'][_0x513c81]=_cloneRoot(_0x1f4c7a),this['_copyMarkers'](_0x1e3e78['deletions'][_0x513c81],_0x1f4c7a),this['_copyMarkers'](_0x1e3e78['insertions'][_0x513c81],_0x52ec64),_0x1ebb00['insertions'][_0x513c81]=this['_generateTape'](this['_idsRoots']['get'](_0x513c81),[]),_0x1ebb00['deletions'][_0x513c81]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x513c81)||_emptyRoot(_0x513c81,!0x1),[])):_0x8f8237['delete'](_0x513c81);}for(const _0x1fac59 of _0x8f8237){const _0x40c2d3=_0x1ebb00['insertions'][_0x1fac59];for(const _0xdc0cb1 of _0x40c2d3){const _0x5c0946=this['_getVidAttributeName'](_0xdc0cb1),_0x44cb4e=_0xdc0cb1['item']['getAttribute'](_0x5c0946);_0x159b73['delete'](_0x44cb4e),_0x44cb4e>=this['_startingRevisionId']&&_0x3ba42b['set'](_0x44cb4e,_0x43ea6b['get'](_0x44cb4e));}}for(const _0x339ad6 of _0x8f8237){const _0x28862c=_0x1ebb00['insertions'][_0x339ad6],_0x1ca925=this['_getBaseVids'](_0x1ebb00['deletions'][_0x339ad6]);let _0x12263c=0x0;for(const _0x2b8c40 of _0x28862c){const _0x21b5cb=this['_getVidAttributeName'](_0x2b8c40),_0x1f874a=_0x2b8c40['item']['getAttribute'](_0x21b5cb);if(!_0x3ba42b['has'](_0x1f874a)&&!_0x535bc4['has'](_0x1f874a)){if(_0x159b73['has'](_0x1f874a))_0x12263c++;else{if(_0x1f874a!=_0x1ca925[_0x12263c]){const _0x3da808=_0x43ea6b['get'](_0x1f874a)||_0x43ea6b['get'](_0x1ca925[_0x12263c]);for(;_0x1f874a!=_0x1ca925[_0x12263c];)_0x159b73['has'](_0x1ca925[_0x12263c])||(_0x535bc4['set'](_0x1ca925[_0x12263c],_0x3da808),_0x43ea6b['set'](_0x1ca925[_0x12263c],_0x3da808)),_0x12263c++;}_0x12263c++;}}}}for(const _0x572725 of _0x8f8237){const _0x1c2ad5=_0x1ebb00['insertions'][_0x572725];for(const _0x27a259 of _0x1c2ad5){const _0x2dba37=this['_getVidAttributeName'](_0x27a259),_0x2eceaa=_0x27a259['item']['getAttribute'](_0x2dba37);if(_0x535bc4['has'](_0x2eceaa)){const _0x4c6383=_0x535bc4['get'](_0x2eceaa);_0x159b73['has'](_0x2eceaa)||_0x159b73['set'](_0x2eceaa,{..._0x4c6383}),_0x3ba42b['set'](_0x2eceaa,{..._0x4c6383});}}}for(const _0x36e8f0 of _0x159b73['keys']())_0x36e8f0>=this['_startingRevisionId']&&_0x159b73['delete'](_0x36e8f0);const _0x24926c=new Map();for(const _0x1b7744 of _0x8f8237){let _0x3290b9=_0x1ebb00['insertions'][_0x1b7744];for(const _0x2febea of _0x3290b9)if(_0x2febea['item']['is']('element','tableCell')){const _0x35584c=this['_getVidAttributeName'](_0x2febea),_0xc26f78=_0x2febea['item']['getAttribute'](_0x35584c);if(_0x3ba42b['has'](_0xc26f78)){const _0x4db085=_0x2febea['item']['parent']['parent']['getAttribute']('vid_start'),_0x47647d=_0x24926c['get'](_0x4db085)||new Set();_0x47647d['add'](_0x3ba42b['get'](_0xc26f78)['userId']),_0x24926c['set'](_0x4db085,_0x47647d);}}_0x3290b9=_0x1ebb00['deletions'][_0x1b7744];for(const _0xe0086 of _0x3290b9)if(_0xe0086['item']['is']('element','tableCell')){const _0x225036=this['_getVidAttributeName'](_0xe0086),_0x30fd05=_0xe0086['item']['getAttribute'](_0x225036);if(_0x159b73['has'](_0x30fd05)){const _0xe3e453=_0xe0086['item']['parent']['parent']['getAttribute']('vid_start'),_0xbe61ff=_0x24926c['get'](_0xe3e453)||new Set();_0xbe61ff['add'](_0x159b73['get'](_0x30fd05)['userId']),_0x24926c['set'](_0xe3e453,_0xbe61ff);}}for(const _0x448acc of _0x24926c['keys']())(_0x3ba42b['has'](_0x448acc)||_0x159b73['has'](_0x448acc))&&_0x24926c['delete'](_0x448acc);}for(const _0x62925 of _0x8f8237){const _0x3a0b34=_0x1ebb00['insertions'][_0x62925];let _0x164412=null,_0x3d2b00=null;for(const _0x20f137 of _0x3a0b34){const _0x276ff5=this['_getVidAttributeName'](_0x20f137),_0x43b949=_0x20f137['item']['getAttribute'](_0x276ff5),_0x804fc8=_0x24926c['get'](_0x43b949);_0x804fc8&&'elementStart'==_0x20f137['type']&&(_0x164412=Array['from'](_0x804fc8)[0x0],_0x3d2b00=_0x20f137['item']['getAttribute']('vid_end')),_0x164412&&(_0x159b73['set'](_0x43b949,{'userId':_0x164412}),_0x3ba42b['set'](_0x43b949,{'userId':_0x164412})),_0x43b949==_0x3d2b00&&(_0x164412=null,_0x3d2b00=null);}}const _0x26de28={},_0x4d8686=new Set();for(const _0xb12ed5 of _0x8f8237){const _0xbe00de=_0x1e3e78['deletions'][_0xb12ed5],_0xdb3e59=_0x1e3e78['insertions'][_0xb12ed5];for(const {userId:_0xabee28}of this['_touchedMarkers']['values']())null!==_0xabee28&&_0x4d8686['add'](_0xabee28);for(const {userId:_0x1ac168}of this['_touchedRoots']['values']())null!==_0x1ac168&&_0x4d8686['add'](_0x1ac168);this['_markChanges'](_0xdb3e59,_0x1ebb00['insertions'][_0xb12ed5],_0x3ba42b,'insertion',_0x4d8686),this['_markChanges'](_0xbe00de,_0x1ebb00['deletions'][_0xb12ed5],_0x159b73,'deletion',_0x4d8686),_0x26de28[_0xb12ed5]={'insertions':this['_prepareViewToSave'](_0xdb3e59),'deletions':this['_prepareViewToSave'](_0xbe00de),'attachChange':this['_touchedRoots']['get'](_0xb12ed5)||null,'attributesBefore':_0xedd9f2(this['_baseRootsAttributes']['get'](_0xb12ed5))||{},'attributesAfter':_0xedd9f2(this['_diffRootsAttributes']['get'](_0xb12ed5))};}return{'diffData':_0x26de28,'authorsIds':Array['from'](_0x4d8686)};}['_processRootBeforeSave'](_0x279bf2){for(const [,_0x3537e6]of _0x279bf2['markers']){const _0x32e179=_0x3537e6['start']['getAncestors']()['filter'](_0x33057f=>'tableCell'==_0x33057f['name']);for(const _0x1ca31b of _0x32e179)0x1==_0x1ca31b['childCount']&&_0x1ca31b['getChild'](0x0)['is']('element','paragraph')&&_0x1ca31b['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x380099){this['_processRootBeforeSave'](_0x380099);const _0x4ef46e=this['editor']['data']['toView'](_0x380099,{}),_0x19f305=Array['from'](_0x4ef46e['getChildren']())['map'](_0x27d749=>this['_getViewJson'](_0x27d749));return JSON['stringify'](_0x19f305);}['_getViewJson'](_0x4e7558){if(_0x4e7558['is']('$text'))return _0x4e7558['data'];{const _0x46c7e6=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x4054b9=_0x4e7558,_0x40f64c=this['editor']['data']['htmlProcessor']['domConverter'],_0x3c7e81={'type':_0x46c7e6['_getTypeCharForViewElement'](_0x4054b9),'name':_0x4054b9['name'],'attributes':Array['from'](_0x4054b9['getAttributes']()),'children':Array['from'](_0x4054b9['getChildren']())['map'](_0x224929=>this['_getViewJson'](_0x224929))};if(_0x4e7558['is']('uiElement')&&'$comment'!=_0x4e7558['name']){const _0x198c79=_0x4e7558['render'](_0x40f64c['domDocument'],_0x40f64c);_0x3c7e81['children']['push'](_0x198c79['outerHTML']);}else{if(_0x4e7558['is']('rawElement')){const _0x119938=_0x40f64c['domDocument']['createElement'](_0x4054b9['name']);_0x4e7558['render'](_0x119938,_0x40f64c),_0x3c7e81['children']['push'](_0x119938['innerHTML']);}}const _0x4dd1f9=Array['from'](_0x4054b9['getCustomProperties']());_0x4dd1f9['length']>0x0&&(_0x3c7e81['customProperties']=_0x4dd1f9);const _0x26df50=_0x4054b9['getFillerOffset']();return null!==_0x26df50&&(_0x3c7e81['fillerOffset']=_0x26df50),_0x3c7e81;}}['_markChanges'](_0x2b08ea,_0x578c29,_0xcac217,_0x24005e,_0x25523a){let _0x420ab5=null,_0x1b6b00=null,_0x3170fa=0x0;const _0x527992=this['editor']['model'];for(let _0x252a51=0x0;_0x252a51<_0x578c29['length'];_0x252a51++){const _0x436223=this['_getVidAttributeName'](_0x578c29[_0x252a51]),_0x496577=_0x578c29[_0x252a51]['item']['getAttribute'](_0x436223),_0x44dd2c=_0xcac217['get'](_0x496577),_0xed9670=_0x252a51==_0x578c29['length']-0x1;(!_0x420ab5&&_0x44dd2c&&(_0x420ab5=_0x44dd2c,_0x1b6b00=_0x578c29[_0x252a51]),_0x420ab5&&(!_0x44dd2c||_0x44dd2c['userId']!=_0x420ab5['userId']))&&(_0x348567(_0x44dd2c,_getPosBefore(_0x1b6b00,_0x2b08ea,_0x527992),_getPosBefore(_0x578c29[_0x252a51],_0x2b08ea,_0x527992)),_0x420ab5=_0x44dd2c||null,_0x1b6b00=_0x44dd2c?_0x578c29[_0x252a51]:null),_0x420ab5&&_0xed9670&&_0x348567(_0x44dd2c,_getPosBefore(_0x1b6b00,_0x2b08ea,_0x527992),_getPosAfter(_0x578c29[_0x252a51],_0x2b08ea,_0x527992));}function _0x348567(_0x3e1846,_0xf44baf,_0x15a66a){const _0x359aba=_0x420ab5['userId'],_0x4a5a8f='revision:'+_0x24005e+':'+_0x359aba+':'+_0x3170fa++,_0x2c129b=_0x527992['createRange'](_0xf44baf,_0x15a66a);_0x2b08ea['markers']['set'](_0x4a5a8f,_0x2c129b),null!==_0x359aba&&_0x25523a['add'](_0x359aba);}}['_getVidAttributeName'](_0x21a2e2){switch(_0x21a2e2['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x34b1de,_0x3bdea1){_0x34b1de['baseVersion']=null;for(const _0x220e7d in _0x34b1de){const _0x452bc8=_0x34b1de[_0x220e7d];if(_0x452bc8 instanceof ckeditor5['ModelPosition']){const _0x4d6ed1=_0x3bdea1['get'](_0x452bc8['root']['rootName']);_0x34b1de[_0x220e7d]=this['_fixPosition'](_0x452bc8,_0x4d6ed1);}if(_0x452bc8 instanceof ckeditor5['ModelRange']){const _0x242078=_0x3bdea1['get'](_0x452bc8['root']['rootName']);_0x34b1de[_0x220e7d]=this['_fixRange'](_0x452bc8,_0x242078);}'root'===_0x220e7d&&(_0x34b1de['root']=_0x3bdea1['get'](_0x34b1de['root']['rootName']));}}['_fixRange'](_0x44a6a2,_0x126228){return this['editor']['model']['createRange'](this['_fixPosition'](_0x44a6a2['start'],_0x126228),this['_fixPosition'](_0x44a6a2['end'],_0x126228));}['_fixPosition'](_0x4d0c72,_0x4e40ef){return this['editor']['model']['createPositionFromPath'](_0x4e40ef,_0x4d0c72['path'],_0x4d0c72['stickiness']);}['_handleInsertOperation'](_0x3f6f7d){const _0x4f3a38=this['_idsRoots']['get'](_0x3f6f7d['position']['root']['rootName']),_0x4d659c=this['_fixPosition'](_0x3f6f7d['position'],_0x4f3a38),_0x2662de=null===_0x3f6f7d['_authorId']?null:_0x3f6f7d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x40df63=_0x4d659c['parent'],_0x28f7e1=this['_revisionId'],_0xe35932=[];for(const _0x27d296 of _0x3f6f7d['nodes'])if(_0x27d296['is']('element'))_0xe35932['push'](this['_makeIdsRoot'](_0x27d296));else{for(let _0x5ef934=0x0;_0x5ef934<_0x27d296['offsetSize'];_0x5ef934++)_0xe35932['push'](new ckeditor5['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x479c73=this['_revisionId'];for(let _0x567941=_0x28f7e1;_0x567941<_0x479c73;_0x567941++)this['_touched']['set'](_0x567941,{'userId':_0x2662de});_0x40df63['_insertChild'](_0x4d659c['offset'],_0xe35932);}['_handleMoveOperation'](_0x3716a0){(_0x3716a0=this['_cloneOperation'](_0x3716a0,this['_idsRoots']))['_execute']();const _0x1794a6=null===_0x3716a0['_authorId']?null:_0x3716a0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xd2069f=_0x3716a0['getMovedRangeStart'](),_0x5ae893=_0xd2069f['parent'],_0x596cb0=_0xd2069f['offset'];!function _0x5c483a(_0x3788fe,_0x193b95,_0x270bf6,_0x467b1a){for(let _0x2c347e=_0x270bf6;_0x2c347e<_0x467b1a;_0x2c347e++){const _0xbb90f6=_0x193b95['getChild'](_0x2c347e);_0xbb90f6['is']('element','$text')?_0x3788fe['set'](_0xbb90f6['getAttribute']('vid'),{'userId':_0x1794a6}):(_0x3788fe['set'](_0xbb90f6['getAttribute']('vid_start'),{'userId':_0x1794a6}),_0x5c483a(_0x3788fe,_0xbb90f6,0x0,_0xbb90f6['childCount']),_0x3788fe['set'](_0xbb90f6['getAttribute']('vid_end'),{'userId':_0x1794a6}));}}(this['_touched'],_0x5ae893,_0x596cb0,_0x596cb0+_0x3716a0['howMany']);}['_handleMergeOperation'](_0x4ed27b){const _0x5617b7=null===(_0x4ed27b=this['_cloneOperation'](_0x4ed27b,this['_idsRoots']))['_authorId']?null:_0x4ed27b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x100aa8=_0x4ed27b['targetPosition']['parent'],_0x2d3b39=_0x4ed27b['sourcePosition']['parent'],_0x376d93=_0x100aa8['getAttribute']('vid_end'),_0x2fadf9=_0x2d3b39['getAttribute']('vid_start');_0x100aa8['_setAttribute']('vid_end',_0x2d3b39['getAttribute']('vid_end')),_0x2d3b39['_setAttribute']('vid_end',_0x376d93),this['_touched']['set'](_0x2fadf9,{'userId':_0x5617b7}),this['_touched']['set'](_0x376d93,{'userId':_0x5617b7}),_0x4ed27b['_execute']();}['_handleSplitOperation'](_0x283f30){const _0x5bea85=null===(_0x283f30=this['_cloneOperation'](_0x283f30,this['_idsRoots']))['_authorId']?null:_0x283f30['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b1fa1=_0x283f30['graveyardPosition'],_0x32a006=_0x283f30['splitPosition']['parent'];_0x283f30['_execute']();const _0x17ed68=_0x32a006['getAttribute']('vid_end'),_0x572bd2=_0x283f30['insertionPosition']['nodeAfter'];if(_0x4b1fa1){const _0x2a45b4=_0x572bd2['getAttribute']('vid_end'),_0x4adc24=_0x32a006['getAttribute']('vid_end');_0x32a006['_setAttribute']('vid_end',_0x2a45b4),_0x572bd2['_setAttribute']('vid_end',_0x4adc24),this['_touched']['set'](_0x32a006['getAttribute']('vid_end'),{'userId':_0x5bea85}),this['_touched']['set'](_0x572bd2['getAttribute']('vid_start'),{'userId':_0x5bea85});}else{const _0x1e06d3=this['_revisionId']++,_0x225c09=this['_revisionId']++;_0x32a006['_setAttribute']('vid_end',_0x1e06d3),_0x572bd2['_setAttribute']('vid_start',_0x225c09),_0x572bd2['_setAttribute']('vid_end',_0x17ed68),this['_touched']['set'](_0x1e06d3,{'userId':_0x5bea85}),this['_touched']['set'](_0x225c09,{'userId':_0x5bea85});}}['_handleMarkerOperation'](_0x54f9b2){if(!_0x54f9b2['affectsData'])return;const _0x434c6b=(_0x54f9b2=this['_cloneOperation'](_0x54f9b2,this['_diffRoots']))['oldRange']?_0x54f9b2['oldRange']['root']:null,_0x2ec67f=_0x54f9b2['newRange']?_0x54f9b2['newRange']['root']:null;_0x434c6b&&this['_markers']['delete'](_0x54f9b2['name']),_0x2ec67f&&this['_markers']['set'](_0x54f9b2['name'],_0x54f9b2['newRange']['clone']());const _0x2653cc=null===_0x54f9b2['_authorId']?null:_0x54f9b2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5e048a=_0x54f9b2['name'];if(!this['_touchedMarkers']['has'](_0x5e048a))return void this['_touchedMarkers']['set'](_0x5e048a,{'range':_0x54f9b2['oldRange'],'userId':_0x2653cc});const _0x48acf4=this['_touchedMarkers']['get'](_0x5e048a),_0x39c3ef=_0x48acf4['range'],_0x3436e2=_0x54f9b2['newRange'];null==_0x39c3ef&&null==_0x3436e2||_0x39c3ef&&_0x3436e2&&_0x39c3ef['isEqual'](_0x3436e2)?this['_touchedMarkers']['delete'](_0x54f9b2['name']):_0x48acf4['userId']=_0x2653cc;}['_handleRootOperation'](_0x320b4e,_0x59c033){this['_diffRoots']['has'](_0x320b4e['rootName'])?this['_diffRoots']['get'](_0x320b4e['rootName'])['_isAttached']=_0x320b4e['isAdd']:(this['_diffRoots']['set'](_0x320b4e['rootName'],_emptyRoot(_0x320b4e['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x320b4e['rootName'],{}),_0x59c033&&this['_idsRoots']['set'](_0x320b4e['rootName'],_emptyRoot(_0x320b4e['rootName'],!0x0)));const _0x1e83d8=null===_0x320b4e['_authorId']?null:_0x320b4e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x11690f=this['_touchedRoots']['get'](_0x320b4e['rootName']);_0x11690f&&_0x11690f['userId']===_0x1e83d8?this['_touchedRoots']['delete'](_0x320b4e['rootName']):this['_touchedRoots']['set'](_0x320b4e['rootName'],{'userId':_0x1e83d8,'isAttached':_0x320b4e['isAdd']});}['_handleRootAttributeOperation'](_0xf1f172){const _0xa5f338=this['_diffRootsAttributes']['get'](_0xf1f172['root']['rootName']);null===_0xf1f172['newValue']?delete _0xa5f338[_0xf1f172['key']]:_0xa5f338[_0xf1f172['key']]=_0xf1f172['newValue'];}}function _cloneRoot(_0x429561){const _0xec3ba8=_emptyRoot(_0x429561['rootName'],_0x429561['isAttached']());for(const _0x168cf5 of _0x429561['getChildren']()){const _0x488100=_0x168cf5['_clone'](!0x0);_0xec3ba8['_appendChild'](_0x488100);}return _0xec3ba8;}function _emptyRoot(_0x496e3b,_0x48ce7a=!0x0){const _0x1614e9=new ckeditor5['ModelDocumentFragment']();return _0x1614e9['rootName']=_0x496e3b,_0x1614e9['_isAttached']=_0x48ce7a,_0x1614e9['isAttached']=()=>_0x1614e9['_isAttached'],_0x1614e9;}function _getPosBefore(_0x1e8fea,_0x2c3376,_0x579bdc){const _0x87b5c9='elementEnd'==_0x1e8fea['type']?_0x579bdc['createPositionAt'](_0x1e8fea['item'],'end'):_0x579bdc['createPositionBefore'](_0x1e8fea['item']);return _0x579bdc['createPositionFromPath'](_0x2c3376,_0x87b5c9['path'],_0x87b5c9['stickiness']);}function _getPosAfter(_0x1b8ace,_0x2b19b4,_0x469f2d){const _0x10b0ad='elementStart'==_0x1b8ace['type']?_0x469f2d['createPositionAt'](_0x1b8ace['item'],0x0):_0x469f2d['createPositionAfter'](_0x1b8ace['item']);return _0x469f2d['createPositionFromPath'](_0x2b19b4,_0x10b0ad['path'],_0x10b0ad['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
ckeditor5['CssTransitionDisablerMixin'](ckeditor5['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x456dd9,_0x453693){super(_0x456dd9),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x453693),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'](),ckeditor5['submitHandler']({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x18b766=_0x4b698e=>_0x4b698e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x18b766),this['keystrokes']['set']('arrowleft',_0x18b766),this['keystrokes']['set']('arrowup',_0x18b766),this['keystrokes']['set']('arrowdown',_0x18b766);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x13dc3c){this['revisionNameInputView']['fieldView']['element']['value']=_0x13dc3c['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x553b02){const _0x3da47f=new ckeditor5['LabeledFieldView'](this['locale'],ckeditor5['createLabeledInputText']),_0x3a8a66=_0x3da47f['fieldView'];_0x3a8a66['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3149f1=getTranslation$5(this['locale'],'Name\x20of\x20the\x20revision');return!_0x553b02&&(_0x3149f1+='\x20('+getTranslation$5(this['locale'],'optional')+')'),(_0x3da47f['label']=_0x3149f1,_0x3a8a66['on']('input',()=>{this['revisionNameInputValue']=_0x3a8a66['element']['value']['trim']();}),_0x3da47f);}}class RevisionHistoryUI extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5076f4];}['_saveRevisionFormView'];['init'](){const _0x3f6bd3=this['editor'],_0x3d8bbe=_0x3f6bd3['plugins']['get']('RevisionTracker');_0x3f6bd3['ui']['componentFactory']['add']('revisionHistory',_0x3b32b1=>{const _0x5d1fe2=ckeditor5['createDropdown'](_0x3b32b1),_0x314ea5=_0x5d1fe2['panelView']['children'],_0x24d6dd=new ckeditor5['ListView'](_0x3b32b1),_0x3aac6a=new ckeditor5['ListItemView'](_0x3b32b1),_0x2f9337=this['_createSaveRevisionButton'](ckeditor5['ButtonView']),_0x4c87a8=new ckeditor5['ListItemView'](_0x3b32b1),_0x3553d6=this['_createOpenRevisionButton'](ckeditor5['ButtonView']);return _0x5d1fe2['bind']('isEnabled')['to'](_0x3d8bbe,'isReady',_0x3d8bbe,'isEnabled',_0x3f6bd3,'isReadOnly',(_0x255486,_0x5899ea,_0x568b5)=>_0x255486&&_0x5899ea&&!_0x568b5),_0x5d1fe2['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0x3b32b1,'Revision\x20history'),'tooltip':!0x0}),_0x2f9337['set']({'withText':!0x0,'role':'menuitem'}),_0x3553d6['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x3553d6,'execute',()=>{_0x5d1fe2['isOpen']=!0x1,_0x3f6bd3['editing']['view']['focus']();},{'priority':'low'}),_0x3aac6a['children']['add'](_0x2f9337),_0x4c87a8['children']['add'](_0x3553d6),_0x24d6dd['role']='menu',_0x24d6dd['items']['addMany']([_0x3aac6a,_0x4c87a8]),_0x314ea5['add'](_0x24d6dd),_0x5d1fe2;}),_0x3f6bd3['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x69084f=this['editor'],_0x1c321e=_0x69084f['locale'],_0x130559=_0x69084f['plugins']['get']('RevisionTracker'),_0x5718d5=new ckeditor5['MenuBarMenuView'](_0x1c321e),_0x5b767=new ckeditor5['MenuBarMenuListView'](_0x1c321e);_0x5718d5['bind']('isEnabled')['to'](_0x130559,'isReady',_0x130559,'isEnabled',_0x69084f,'isReadOnly',(_0x181167,_0x33a29e,_0x14cc4f)=>_0x181167&&_0x33a29e&&!_0x14cc4f),_0x5718d5['buttonView']['set']({'icon':ckeditor5['IconHistory'],'label':getTranslation$5(_0x1c321e,'Revision\x20history')});const _0x538dab=new ckeditor5['MenuBarMenuListItemView'](_0x1c321e,_0x5718d5),_0x247785=this['_createSaveRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);_0x247785['delegate']('execute')['to'](_0x5718d5),_0x538dab['children']['add'](_0x247785),_0x5b767['items']['add'](_0x538dab);const _0xfc2211=new ckeditor5['MenuBarMenuListItemView'](_0x1c321e,_0x5718d5),_0x55c6f9=this['_createOpenRevisionButton'](ckeditor5['MenuBarMenuListItemButtonView']);return _0x55c6f9['delegate']('execute')['to'](_0x5718d5),_0xfc2211['children']['add'](_0x55c6f9),_0x5b767['items']['add'](_0xfc2211),_0x5718d5['panelView']['children']['add'](_0x5b767),_0x5718d5;}['_createSaveRevisionButton'](_0x52024d){const _0x28e388=this['editor'],_0x1e37a1=_0x28e388['plugins']['get']('RevisionTracker'),_0x1bd1ed=new _0x52024d(_0x28e388['locale']);return _0x1bd1ed['set']({'label':getTranslation$5(_0x28e388['locale'],'Save\x20current\x20revision')}),_0x1bd1ed['bind']('isEnabled')['to'](_0x1e37a1,'isReady',_0x1e37a1,'isEnabled',_0x28e388,'isReadOnly',(_0x2805e0,_0xf49884,_0x35310a)=>_0x2805e0&&_0xf49884&&!_0x35310a),this['listenTo'](_0x1bd1ed,'execute',()=>{this['_showDialog']();}),_0x1bd1ed;}['_createOpenRevisionButton'](_0x31bcae){const _0xdf5931=this['editor'],_0x47c283=_0xdf5931['plugins']['get']('RevisionTracker'),_0x16cca3=new _0x31bcae(_0xdf5931['locale']);return _0x16cca3['set']({'label':getTranslation$5(_0xdf5931['locale'],'Open\x20revision\x20history')}),_0x16cca3['bind']('isEnabled')['to'](_0x47c283,'isReady',_0xdf5931,'isReadOnly',(_0x226ce9,_0x1d175c)=>_0x226ce9&&!_0x1d175c),this['listenTo'](_0x16cca3,'execute',()=>{_0xdf5931['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x16cca3;}['_showDialog'](){const _0x373c88=this['editor'],_0x501919=_0x373c88['locale'],_0x1bf685=_0x373c88['plugins']['get']('Dialog'),_0x99e018=_0x373c88['plugins']['get']('RevisionTracker');function _0x3c9f2e(_0x5e5497){_0x373c88['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5e5497['revisionName']?_0x5e5497['revisionNameInputView']['errorText']=getTranslation$5(_0x501919,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x373c88['plugins']['get'](_0x5076f4)['saveRevision']({'name':_0x5e5497['revisionName']}),_0x1bf685['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3c9f2e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1bf685['show']({'id':'revisionSave','title':getTranslation$5(_0x501919,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':getTranslation$5(_0x373c88['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x1bf685['hide']()},{'label':getTranslation$5(_0x373c88['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x594992){_0x594992['bind']('isEnabled')['to'](_0x99e018,'isReady',_0x99e018,'isEnabled',_0x373c88,'isReadOnly',(_0x30c5f8,_0x11f15a,_0x3b486d)=>_0x30c5f8&&_0x11f15a&&!_0x3b486d);},'onExecute':()=>_0x3c9f2e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4936f3=this['editor'],_0x5a181e=_0x4936f3['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x5a181e,_0x4936f3['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends ckeditor5['View']{['changeId'];['_model'];constructor(_0x4a8d1d,_0x49f4ef){super(_0x4a8d1d),this['_model']=_0x49f4ef,this['changeId']=_0x49f4ef['id'];const _0x317a51=this['bindTemplate'],_0x54d648=getTranslation$5(_0x4a8d1d,_0x49f4ef['data']['isSuggestion']?'Suggested\x20by':'add'==_0x49f4ef['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x49f4ef['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x317a51['to']('type',_0x11fb01=>'ck-revision-change__'+_0x11fb01)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x54d648}]},{'text':'\x20'+_0x49f4ef['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x518f44){super(),this['id']=_0x518f44['id']||ckeditor5['uid'](),this['author']=_0x518f44['author'],this['type']=_0x518f44['type'],this['data']=_0x518f44['data']||{},this['rootName']=_0x518f44['rootName'],this['set']('createdAt',_0x518f44['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x520abb{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x5eee8a,_0x2b4cf6){this['newRevisionId']=_0x5eee8a,this['oldRevisionId']=_0x2b4cf6,this['changes']=new ckeditor5['Collection']();}['_setChanges'](_0x1e1e63){for(const _0xea5ace of _0x1e1e63)this['changes']['add'](_0xea5ace);}}class _0x17aa26 extends ckeditor5['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[_0x59867e,ckeditor5['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x584dfb){super(_0x584dfb),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',(_0x2debc4,_0x5730ff,_0x1545c0)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x491a89=>{for(const _0x3192e8 of this['editor']['editing']['view']['document']['roots'])_0x1545c0?_0x491a89['removeClass']('ck-editor__editable__overlay',_0x3192e8):_0x491a89['addClass']('ck-editor__editable__overlay',_0x3192e8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x30549a=>null!==_0x30549a),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x303ce9,_0x7169cc,_0x3e386)=>_0x303ce9&&_0x3e386?_0x7169cc['changes']['getIndex'](_0x3e386):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x38a1cb,_0x13d59c)=>_0x38a1cb?_0x13d59c['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](ckeditor5['ContextualBalloon']);}['init'](){const _0x5974e5=this['editor'],_0x4c262a=new _0x17d0b8(_0x5974e5,{'direction':'backward'}),_0x246084=new _0x17d0b8(_0x5974e5,{'direction':'forward'});(_0x5974e5['commands']['add']('showPreviousChange',_0x4c262a),_0x5974e5['commands']['add']('showNextChange',_0x246084),_0x5974e5['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x5974e5)),this['on']('change:numberOfChanges',()=>{_0x4c262a['refresh'](),_0x246084['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5974e5['enableReadOnlyMode']('revision-viewer'),_0x5974e5['plugins']['has']('WidgetToolbarRepository'))&&_0x5974e5['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x5e7d3b){return await this['_utils']['loadRevisionData'](_0x5e7d3b,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x5e7d3b);}async['getRevisionRootsAttributes'](_0x22cd50){return await this['_utils']['loadRevisionData'](_0x22cd50,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x22cd50);}async['compare'](_0x20388e,_0x334de6,_0x5a79b7=!0x1){if(!this['isEnabled'])return;const _0x12b1e6=this['diff'],_0x350790=this['repository'],_0x1cb80b='string'==typeof _0x20388e?_0x350790['getRevision'](_0x20388e):_0x20388e,_0xb36424='string'==typeof _0x334de6?_0x350790['getRevision'](_0x334de6):_0x334de6,_0x19b199=_0x1cb80b['id'],_0x396dc1=_0xb36424?_0xb36424['id']:null;if(!_0x5a79b7&&this['diff']&&this['diff']['newRevisionId']===_0x19b199&&this['diff']['oldRevisionId']===_0x396dc1)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x520abb(_0x19b199,_0x396dc1);const _0x143fe2=this['_getRevisionsRange'](_0x1cb80b,_0xb36424,!0x0)['map'](_0x1a95f6=>this['_utils']['loadRevisionData'](_0x1a95f6,this['adapter']));return _0x143fe2['push'](new Promise(_0x21b2f1=>{setTimeout(_0x21b2f1,0x14);})),Promise['all'](_0x143fe2)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x354d77=this['_getDiff'](_0x19b199,_0x396dc1);for(const _0x40f346 of _0x354d77['changes'])this['_changeIdToChange']['set'](_0x40f346['id'],_0x40f346);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xb3c410=>{for(const _0x3ee835 of this['editor']['model']['document']['getRootNames']())_0xb3c410['detachRoot'](_0x3ee835);for(const _0x584ff4 of Object['keys'](_0x354d77['model'])){const _0x2943fb=_0xb3c410['addRoot'](_0x584ff4);for(const _0x4b88f4 of Object['keys'](_0x354d77['attributes'][_0x584ff4]))_0xb3c410['setAttribute'](_0x4b88f4,_0x354d77['attributes'][_0x584ff4][_0x4b88f4],_0x2943fb);_0xb3c410['insert'](_0x354d77['model'][_0x584ff4],_0x2943fb,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x354d77['changes'])),this['isReady']=!0x0;})['catch'](_0x2a29a6=>{console['error'](_0x2a29a6),this['_cleanUp'](),_0x12b1e6&&(this['diff']=_0x12b1e6),this['isReady']=!0x0;});}['addRevisionData'](_0x417a3b,_0x3fc4d6){const _0x5dd694=this['repository']['createRevision'](_0x417a3b);return _0x5dd694['on']('_update',(_0x546d35,_0x3c5d25,_0x27396e)=>_0x3fc4d6(_0x3c5d25,_0x27396e,_0x5dd694)),this['repository']['addRevision'](_0x5dd694),_0x5dd694;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x301467=>{for(const _0x2b41f3 of this['editor']['model']['document']['getRootNames']())_0x301467['detachRoot'](_0x2b41f3);});}['_sortAndFilterDiffChanges'](_0x1070a3){const _0x47eb22=[],_0xaee117=new Map();for(const _0x32b3fd of this['editor']['model']['document']['getRootNames']()){const _0x572a35=this['editor']['editing']['view']['getDomRoot'](_0x32b3fd);if(!_0x572a35)continue;const _0x52507a=_0x572a35['getClientRects']()['item'](0x0);_0x52507a&&(_0x47eb22['push'](_0x32b3fd),_0xaee117['set'](_0x32b3fd,_0x52507a));}return _0x47eb22['sort']((_0x22eb66,_0x4028fd)=>{const _0x5624b5=_0xaee117['get'](_0x22eb66),_0x162d7b=_0xaee117['get'](_0x4028fd);return _0x5624b5['y']-_0x162d7b['y']||_0x5624b5['x']-_0x162d7b['x'];}),(_0x1070a3=_0x1070a3['filter'](_0x333a09=>_0x47eb22['includes'](_0x333a09['rootName'])))['sort']((_0x42f3a9,_0x2df04b)=>_0x47eb22['indexOf'](_0x42f3a9['rootName'])-_0x47eb22['indexOf'](_0x2df04b['rootName'])),_0x1070a3;}['_makeTape'](_0x2a55fd){const _0x5b7d0c=Array['from'](_0x2a55fd['markers'])['filter'](([_0xced122,_0x12706f])=>_0xced122['startsWith']('revision:')&&!_0x12706f['isCollapsed']),_0x583b2e=Array['from'](this['editor']['model']['createRangeIn'](_0x2a55fd)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5b7d0c['length'])for(const _0x17cd63 of _0x583b2e){const [_0x5cd661,_0x574af5]=_0x5b7d0c[0x0],[,_0x3c51cd,_0x21d6e7]=_0x5cd661['split'](':');if(_0x574af5['end']['isEqual'](_0x17cd63['nextPosition'])&&_0x5b7d0c['shift'](),(_0x17cd63['previousPosition']['isEqual'](_0x574af5['start'])||_0x17cd63['previousPosition']['isAfter'](_0x574af5['start']))&&('insertion'==_0x3c51cd?_0x17cd63['isAdded']={'userId':_0x21d6e7}:'deletion'==_0x3c51cd&&(_0x17cd63['isRemoved']={'userId':_0x21d6e7})),0x0==_0x5b7d0c['length'])break;}return _0x583b2e;}['_refreshStartEndIndex'](_0x30f8de){const _0x237acc=new Map();for(let _0x207b88=0x0;_0x207b88<_0x30f8de['length'];_0x207b88++)'text'===_0x30f8de[_0x207b88]['type']?(_0x30f8de[_0x207b88]['item']['startIndex']=_0x207b88,_0x30f8de[_0x207b88]['item']['endIndex']=_0x207b88):('elementStart'===_0x30f8de[_0x207b88]['type']?_0x30f8de[_0x207b88]['item']['startIndex']=_0x207b88:'elementEnd'===_0x30f8de[_0x207b88]['type']&&(_0x30f8de[_0x207b88]['item']['endIndex']=_0x207b88),_0x237acc['set'](_0x30f8de[_0x207b88]['id'],_0x207b88));for(const _0x43882c of _0x237acc['values']())'elementStart'===_0x30f8de[_0x43882c]['type']?_0x30f8de[_0x43882c]['item']['endIndex']=_0x237acc['get'](_0x30f8de[_0x43882c]['pairId']):'elementEnd'===_0x30f8de[_0x43882c]['type']&&(_0x30f8de[_0x43882c]['item']['startIndex']=_0x237acc['get'](_0x30f8de[_0x43882c]['pairId']));}['_processTape'](_0x3433e3){for(let _0xcfb014=0x0;_0xcfb014<_0x3433e3['length'];_0xcfb014++){if('elementStart'===_0x3433e3[_0xcfb014]['type'])_0x3433e3[_0xcfb014]['item']['startIndex']=_0xcfb014;else{if('elementEnd'===_0x3433e3[_0xcfb014]['type']){_0x3433e3[_0xcfb014]['item']['endIndex']=_0xcfb014;const _0x593c05=_0x3433e3[_0xcfb014]['item']['startIndex'];_0x3433e3[_0x593c05]['pairId']=_0x3433e3[_0xcfb014]['id'],_0x3433e3[_0xcfb014]['pairId']=_0x3433e3[_0x593c05]['id'];}else _0x3433e3[_0xcfb014]['item']['startIndex']=_0xcfb014,_0x3433e3[_0xcfb014]['item']['endIndex']=_0xcfb014,_0x3433e3[_0xcfb014]['pairId']=null;}_0x3433e3[_0xcfb014]['markersStart']||(_0x3433e3[_0xcfb014]['markersStart']=[],_0x3433e3[_0xcfb014]['markersEnd']=[]);}}['_markInsertions'](_0x441b38,_0x2de1d7){const _0x24d223=_0x441b38['filter'](_0x1a1466=>!_0x1a1466['isAdded']);for(let _0x1e139f=0x0;_0x1e139f<_0x2de1d7['length'];_0x1e139f++)_0x2de1d7[_0x1e139f]['isAdded']&&(_0x24d223[_0x1e139f]['isAdded']=_0x2de1d7[_0x1e139f]['isAdded']);}['_getDiff'](_0x551b10,_0x1edc19=null){const _0x304003=this['repository']['getRevision'](_0x551b10),_0x4c04e0=_0x1edc19?this['repository']['getRevision'](_0x1edc19):null,_0xeaddbc=this['_getRevisionsRange'](_0x304003,_0x4c04e0),_0x53b1b5=_0xeaddbc[_0xeaddbc['length']-0x1],_0x4da543=new Map(),_0x453a6a={'model':{},'attributes':{},'changes':[]},_0x2a361e=new Set(),_0x50d5b1=new Map();for(let _0x2f6efc=_0xeaddbc['length']-0x1;_0x2f6efc>=0x0;_0x2f6efc--){const _0x96ad8f=_0xeaddbc[_0x2f6efc];for(const _0x39c281 of Object['keys'](_0x96ad8f['diffData']))if(_0x96ad8f['diffData'][_0x39c281]['attachChange']){const _0x599221=_0x96ad8f['diffData'][_0x39c281]['attachChange'];_0x599221['isAttached']?(_0x2a361e['add'](_0x39c281),_0x50d5b1['has'](_0x39c281)&&_0x50d5b1['get'](_0x39c281)['userId']==_0x599221['userId']?_0x50d5b1['delete'](_0x39c281):_0x50d5b1['set'](_0x39c281,_0x599221)):_0x50d5b1['has'](_0x39c281)?(_0x2a361e['delete'](_0x39c281),_0x50d5b1['delete'](_0x39c281)):(_0x2a361e['add'](_0x39c281),_0x50d5b1['set'](_0x39c281,_0x599221));}else _0x2a361e['add'](_0x39c281);}for(const _0x5ec9f4 of _0x2a361e){const _0x4d821f=_0x50d5b1['has'](_0x5ec9f4)&&!_0x50d5b1['get'](_0x5ec9f4)['isAttached'];let _0x3aefb8=_0x4d821f?_0xeaddbc['length']-0x1:0x0;const _0x1a97bc=_0x4d821f?-0x1:0x1;for(;_0xeaddbc[_0x3aefb8];){const _0x1b19d9=_0xeaddbc[_0x3aefb8];if(_0x1b19d9['diffData'][_0x5ec9f4]){const _0x292d47=_0x4d821f?_0x1b19d9['diffData'][_0x5ec9f4]['attributesBefore']:_0x1b19d9['diffData'][_0x5ec9f4]['attributesAfter'];_0x453a6a['attributes'][_0x5ec9f4]=_0x292d47?_0xedd9f2(_0x292d47):{};break;}_0x3aefb8+=_0x1a97bc;}}for(const _0x1a0ccf of _0xeaddbc){_0x1a0ccf['model']={};for(const _0xe9a0ff of _0x1a0ccf['authors'])_0x4da543['set'](_0xe9a0ff['id'],_0xe9a0ff);for(const _0x56d327 of _0x2a361e){const _0xaa4900=_0x1a0ccf['diffData'][_0x56d327]?_0x1a0ccf['diffData'][_0x56d327]['insertions']:'[]',_0x3a2fc4=_0x1a0ccf['diffData'][_0x56d327]?_0x1a0ccf['diffData'][_0x56d327]['deletions']:'[]';_0x1a0ccf['model'][_0x56d327]={'insertions':this['_utils']['_makeModelFromViewString'](_0xaa4900),'deletions':this['_utils']['_makeModelFromViewString'](_0x3a2fc4)};}}for(const _0x4bd36a of _0x2a361e){let _0xc19ccd=null,_0x20d5a7=0x0;const _0x1be4c8=new Map(Array['from'](_0x304003['model'][_0x4bd36a]['insertions']['markers'])['filter'](([_0x39965b])=>!_0x39965b['startsWith']('revision:')));let _0x359888=0x0;for(const _0x46d282 of _0xeaddbc){const _0x509f6b=this['_makeTape'](_0x46d282['model'][_0x4bd36a]['insertions']);_0x46d282==_0x304003?(_0xc19ccd=_0x509f6b,_0x20d5a7=_0xc19ccd['length'],_0xc19ccd['forEach'](_0x3876a4=>{_0x3876a4['id']=_0x359888++;}),this['_processTape'](_0xc19ccd)):this['_markInsertions'](_0xc19ccd,_0x509f6b);const _0x43a647=_0xc19ccd['filter'](_0x272216=>!_0x272216['isAdded'])['map'](_0x2fd90d=>_0x2fd90d['id']);let _0x313eb1=0x0;const _0xbb5ce4=this['_makeTape'](_0x46d282['model'][_0x4bd36a]['deletions']);_0xbb5ce4['forEach'](_0x40bd52=>{_0x40bd52['isRemoved']?_0x40bd52['id']=_0x20d5a7++:_0x40bd52['id']=_0x43a647[_0x313eb1++];}),this['_processTape'](_0xbb5ce4),this['_setDistance'](_0xc19ccd,'isAdded'),this['_setDistance'](_0xbb5ce4,'isRemoved'),_0x46d282==_0x304003&&this['_markMarkers'](_0xc19ccd,_0x1be4c8),_0xc19ccd=this['_joinTapes'](_0xc19ccd,_0xbb5ce4),this['_refreshStartEndIndex'](_0xc19ccd),this['_setDistance'](_0xc19ccd,'isRemoved');}_0xc19ccd=_0xc19ccd['filter'](_0x1658f7=>!(_0x1658f7['isAdded']&&_0x1658f7['isRemoved']));const _0x3a27f3=new Map(_0x53b1b5['model'][_0x4bd36a]['deletions']['markers']),_0xb746d2=new Set(_0x1be4c8['keys']());for(const _0x568dd8 of _0x3a27f3['keys']())_0xb746d2['delete'](_0x568dd8);this['_markSuggestions'](_0xc19ccd,_0xb746d2),this['_fixObsoleteTags'](_0xc19ccd),_0xc19ccd=this['_removeMissingPairs'](_0xc19ccd),_0xc19ccd=this['_markMismatchedRemovedTags'](_0xc19ccd),_0xc19ccd=this['_removeUnsupportedChanges'](_0xc19ccd);const {root:_0x350a85,changes:_0x407e66}=this['_makeModelFromTape'](_0xc19ccd,_0x4da543,_0x4bd36a);_0x453a6a['model'][_0x4bd36a]=_0x350a85;const _0x37b70f=_0x50d5b1['get'](_0x4bd36a);if(_0x37b70f){const _0x14b55c=_0x4da543['get'](_0x37b70f['userId']),_0x1eb4e0=new ChangeItem({'author':_0x14b55c,'type':_0x37b70f['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4bd36a});_0x407e66['unshift'](_0x1eb4e0),_0x453a6a['attributes'][_0x4bd36a]['revisionHistoryAttachChange']=_0x1eb4e0['id'];}_0x453a6a['changes']=_0x453a6a['changes']['concat'](_0x407e66);}return _0x453a6a;}['_markMarkers'](_0x441076,_0x42d437){for(let _0x55f538=0x0;_0x55f538<_0x441076['length'];_0x55f538++)for(const [_0xe35825,_0x3f1dfe]of _0x42d437)!_0x3f1dfe['isCollapsed']&&_0x3f1dfe['start']['isEqual'](_0x441076[_0x55f538]['previousPosition'])&&_0x441076[_0x55f538]['markersStart']['push'](_0xe35825),_0x3f1dfe['end']['isEqual'](_0x441076[_0x55f538]['nextPosition'])&&_0x441076[_0x55f538]['markersEnd']['push'](_0xe35825);}['_joinTapes'](_0x28af05,_0x481882){let _0x13e71d=[],_0x117330=0x0,_0x4a7d91=0x0;for(;_0x117330<_0x28af05['length']||_0x4a7d91<_0x481882['length'];){const _0x180a57=_0x28af05[_0x117330]||{},_0x559a96=_0x481882[_0x4a7d91]||{};if(_0x180a57['id']==_0x559a96['id'])_0x117330++,_0x4a7d91++,_0x13e71d['push'](_0x180a57);else{if(_0x559a96['isRemoved']&&_0x180a57['isAdded']){const {commonTape:_0xc6a13d,iEnd:_0x489f88,jEnd:_0x2595c1}=this['_threeWayMerge'](_0x28af05,_0x117330,_0x481882,_0x4a7d91);_0x13e71d=_0x13e71d['concat'](_0xc6a13d),_0x117330=_0x489f88,_0x4a7d91=_0x2595c1;}else _0x559a96['isRemoved']?(_0x4a7d91++,_0x13e71d['push'](_0x559a96)):(_0x117330++,_0x13e71d['push'](_0x180a57));}}return _0x13e71d;}['_markSuggestions'](_0x1b4bd7,_0x5bcd38){const _0x45d5de=[];for(let _0x405e0d=0x0;_0x405e0d<_0x1b4bd7['length'];_0x405e0d++){for(let _0x677818=0x0;_0x677818<_0x1b4bd7[_0x405e0d]['markersStart']['length'];_0x677818++){const _0x3b4990=_0x1b4bd7[_0x405e0d]['markersStart'][_0x677818];if(!_0x5bcd38['has'](_0x3b4990))continue;const {group:_0x2a22bd,type:_0x1a5442,authorId:_0x1dd0c4}=_0xa1841f(_0x3b4990);'revision-suggestion'!=_0x2a22bd||'insertion'!=_0x1a5442&&'deletion'!=_0x1a5442||(_0x45d5de['unshift']({'type':_0x1a5442,'name':_0x3b4990,'userId':_0x1dd0c4}),_0x1b4bd7[_0x405e0d]['markersStart']['splice'](_0x677818,0x1),_0x677818--);}_0x1dad91(_0x1b4bd7[_0x405e0d]);for(let _0x354c58=0x0;_0x354c58<_0x1b4bd7[_0x405e0d]['markersEnd']['length'];_0x354c58++){const _0x1ea2b3=_0x1b4bd7[_0x405e0d]['markersEnd'][_0x354c58];if(!_0x5bcd38['has'](_0x1ea2b3))continue;const {group:_0x3e4b2d,type:_0x21b0ca}=_0xa1841f(_0x1ea2b3);if('revision-suggestion'!=_0x3e4b2d||'insertion'!=_0x21b0ca&&'deletion'!=_0x21b0ca)continue;_0x1b4bd7[_0x405e0d]['markersEnd']['splice'](_0x354c58,0x1),_0x354c58--;const _0x579d1a=_0x45d5de['findIndex'](_0x4d2a49=>_0x4d2a49['name']==_0x1ea2b3);_0x579d1a>-0x1&&_0x45d5de['splice'](_0x579d1a,0x1);}}function _0xa1841f(_0x1cb309){const _0x52a063=_0x1cb309['split'](':');return{'group':_0x52a063[0x0],'type':_0x52a063[0x1],'subType':_0x52a063['length']>=0x5?_0x52a063[0x2]:null,'id':_0x52a063['length']<0x5?_0x52a063[0x2]:_0x52a063[0x3],'authorId':_0x52a063['length']<0x5?_0x52a063[0x3]:_0x52a063[0x4],'markerCount':0x6==_0x52a063['length']?_0x52a063[0x5]:null};}function _0x1dad91(_0x52df55){for(let _0x43bbc2=0x0;_0x43bbc2<_0x45d5de['length'];_0x43bbc2++){if(_0x52df55['isAdded']&&'insertion'==_0x45d5de[_0x43bbc2]['type']&&_0x52df55['isAdded']['userId']==_0x45d5de[_0x43bbc2]['userId'])return _0x52df55['isAddSuggestion']=_0x45d5de[_0x43bbc2],void delete _0x52df55['isAdded'];if(!_0x52df55['isAdded']&&!_0x52df55['isRemoved']&&'deletion'==_0x45d5de[_0x43bbc2]['type'])return void(_0x52df55['isRemoveSuggestion']=_0x45d5de[_0x43bbc2]);}}}['_setDistance'](_0x4a710a,_0x150337){let _0x54e568=0x0,_0x13b864=!0x1;const _0x3ae016=new Map();for(const _0x2e737c of _0x4a710a)_0x2e737c[_0x150337]?_0x13b864&&(_0x54e568++,_0x13b864=!0x1):(_0x54e568++,_0x13b864=!0x0),_0x3ae016['set'](_0x2e737c['id'],_0x54e568);for(let _0x32db37=0x0;_0x32db37<_0x4a710a['length'];_0x32db37++){if('isRemoved'==_0x150337&&_0x4a710a[_0x32db37]['isAdded']||'isAdded'==_0x150337&&_0x4a710a[_0x32db37]['isRemoved'])continue;if('text'==_0x4a710a[_0x32db37]['type']){_0x4a710a[_0x32db37]['distance']=0x0;continue;}const _0x101f3e=_0x3ae016['get'](_0x4a710a[_0x32db37]['pairId']),_0x2f5453=_0x3ae016['get'](_0x4a710a[_0x32db37]['id']);_0x4a710a[_0x32db37]['distance']=_0x101f3e-_0x2f5453;}}['_getRevisionsRange'](_0x2b23e9,_0x15de16,_0x39d619=!0x1){const _0x5e9db8=[];let _0x2220ce=this['repository']['getIndex'](_0x2b23e9),_0x4d9f2f=this['repository']['getIndex'](_0x15de16);for(-0x1==_0x4d9f2f&&(_0x4d9f2f=this['repository']['_revisions']['length'],_0x39d619=!0x1);_0x2220ce<_0x4d9f2f;)_0x5e9db8['push'](this['repository']['getRevision'](_0x2220ce)),_0x2220ce++;return _0x39d619&&_0x5e9db8['push'](this['repository']['getRevision'](_0x2220ce)),_0x5e9db8;}['_threeWayMerge'](_0x154321,_0x4d4fc1,_0x394c13,_0x5f1872){const _0x4a57c6=this['editor']['model']['schema'];let _0x5663aa=_0x4d4fc1;for(;_0x154321[_0x5663aa]&&_0x154321[_0x5663aa]['isAdded'];)_0x5663aa++;let _0x3af2f1=_0x5f1872;for(;_0x394c13[_0x3af2f1]&&_0x394c13[_0x3af2f1]['isRemoved'];)_0x3af2f1++;_0x15550e(_0x154321,_0x4d4fc1,_0x5663aa),_0x15550e(_0x394c13,_0x5f1872,_0x3af2f1);const _0x5c50f3=_0x394c13['slice'](_0x5f1872,_0x3af2f1)['concat'](_0x154321['slice'](_0x4d4fc1,_0x5663aa));return _0x5c50f3['sort']((_0x85892a,_0x1e48ab)=>_0x85892a['side']!=_0x1e48ab['side']?_0x85892a['side']-_0x1e48ab['side']:_0x85892a['level']!=_0x1e48ab['level']?_0x85892a['level']-_0x1e48ab['level']:_0x85892a['distance']!=_0x1e48ab['distance']?_0x1e48ab['distance']-_0x85892a['distance']:!!_0x85892a['isAdded']!=!!_0x1e48ab['isAdded']?-0x1==_0x85892a['side']||0x0==_0x85892a['side']?_0x85892a['isAdded']?-0x1:0x1:_0x85892a['isAdded']?0x1:-0x1:_0x85892a['index']-_0x1e48ab['index']),{'commonTape':_0x5c50f3,'iEnd':_0x5663aa,'jEnd':_0x3af2f1};function _0x15550e(_0x14d8a0,_0x33f02f,_0x16c5f7){let _0x13ca5e=-0x1,_0x5670d6=Number['POSITIVE_INFINITY'],_0x3ca8aa=!0x0;for(let _0x479d35=_0x33f02f;_0x479d35<_0x16c5f7;_0x479d35++)if(_0x4a57c6['isInline'](_0x14d8a0[_0x479d35]['item'])||(_0x3ca8aa=!0x1),_0x14d8a0[_0x479d35]['item']['startIndex']<_0x33f02f&&(_0x13ca5e=_0x479d35),_0x14d8a0[_0x479d35]['item']['endIndex']>=_0x16c5f7){_0x5670d6=_0x479d35;break;}_0x3ca8aa&&(_0x13ca5e=_0x16c5f7-0x1);for(let _0x2fac59=_0x33f02f;_0x2fac59<_0x16c5f7;_0x2fac59++)_0x14d8a0[_0x2fac59]['side']=_0x2fac59<=_0x13ca5e?-0x1:_0x2fac59<_0x5670d6?0x0:0x1,_0x14d8a0[_0x2fac59]['index']=_0x2fac59;let _0x4f5333=0x0;for(let _0x30242f=_0x33f02f;_0x30242f<=_0x13ca5e;_0x30242f++)0x0==_0x14d8a0[_0x30242f]['distance']?_0x14d8a0[_0x30242f]['level']=_0x4f5333:(_0x4f5333++,_0x14d8a0[_0x30242f]['level']=_0x4f5333,_0x4f5333++);for(let _0x1e7bba=_0x33f02f;_0x1e7bba<_0x16c5f7;_0x1e7bba++)0x0==_0x14d8a0[_0x1e7bba]['side']&&(_0x14d8a0[_0x1e7bba]['level']=_0x4f5333);_0x4f5333=0x0;for(let _0x471a6a=_0x16c5f7-0x1;_0x471a6a>=_0x5670d6;_0x471a6a--)0x0==_0x14d8a0[_0x471a6a]['distance']?_0x14d8a0[_0x471a6a]['level']=_0x4f5333:(_0x4f5333--,_0x14d8a0[_0x471a6a]['level']=_0x4f5333,_0x4f5333--);}}['_fixObsoleteTags'](_0x3a5acb){const _0x451671=new Map(),_0x5f408c=this['editor']['model']['schema'];for(let _0x7e8010=0x1;_0x7e8010<_0x3a5acb['length'];_0x7e8010++){let _0x45006e,_0x3b71af,_0x10b61f;const _0x22c86d=_0x3a5acb[_0x7e8010],_0x733ee0=_0x3a5acb[_0x7e8010-0x1];if('text'==_0x22c86d['type'])continue;if(_0x22c86d['type']!=_0x733ee0['type'])continue;if(!_0x5f408c['isBlock'](_0x733ee0['item'])||_0x5f408c['isLimit'](_0x733ee0['item']))continue;if(!_0x5f408c['isBlock'](_0x22c86d['item'])||_0x5f408c['isLimit'](_0x22c86d['item']))continue;if((_0x3a5acb[_0x7e8010]['isAdded']||_0x3a5acb[_0x7e8010]['isAddSuggestion'])&&_0x3a5acb[_0x7e8010-0x1]['isRemoved'])_0x45006e=_0x3a5acb[_0x7e8010],_0x3b71af=_0x3a5acb[_0x7e8010-0x1],_0x10b61f=_0x7e8010-0x1;else{if(!_0x3a5acb[_0x7e8010]['isRemoved']||!_0x3a5acb[_0x7e8010-0x1]['isAdded']&&!_0x3a5acb[_0x7e8010-0x1]['isAddSuggestion'])continue;_0x45006e=_0x3a5acb[_0x7e8010-0x1],_0x3b71af=_0x3a5acb[_0x7e8010],_0x10b61f=_0x7e8010;}const _0x571c09=_0x45006e['level']==_0x3b71af['level'],_0x2cc463=Math['abs'](_0x45006e['level'])<Math['abs'](_0x3b71af['level'])&&0x0==_0x3b71af['distance'];(_0x571c09||_0x2cc463)&&(_0x451671['set'](_0x3b71af['id'],_0x45006e['id']),_0x3a5acb['splice'](_0x10b61f,0x1),_0x7e8010--,_0x45006e['isAdded']=!0x1);}for(let _0x29f4dc=0x0;_0x29f4dc<_0x3a5acb['length'];_0x29f4dc++)_0x451671['has'](_0x3a5acb[_0x29f4dc]['pairId'])&&(_0x3a5acb[_0x29f4dc]['pairId']=_0x451671['get'](_0x3a5acb[_0x29f4dc]['pairId']));}['_removeMissingPairs'](_0x460cce){const _0x10b35b=new Set(_0x460cce['map'](_0x2f2434=>_0x2f2434['id']));for(let _0x4e8a1a=0x0;_0x4e8a1a<_0x460cce['length'];_0x4e8a1a++)_0x10b35b['has'](_0x460cce[_0x4e8a1a]['pairId'])||0x0==_0x460cce[_0x4e8a1a]['distance']||(_0x460cce[_0x4e8a1a]['isIncorrect']=!0x0);return _0x460cce['filter'](_0x141421=>!_0x141421['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2e443c){const _0x2c2379=new Set();for(let _0x1e0b93=0x0;_0x1e0b93<_0x2e443c['length'];_0x1e0b93++){if(_0x2c2379['has'](_0x2e443c[_0x1e0b93]['id'])&&_0x2e443c[_0x1e0b93]['isRemoved']&&(_0x2e443c[_0x1e0b93]['isIncorrect']=!0x0),_0x2e443c[_0x1e0b93]['isIncorrect'])continue;if(0x0==_0x2e443c[_0x1e0b93]['distance'])continue;if('elementStart'!=_0x2e443c[_0x1e0b93]['type'])continue;if(null==_0x2e443c[_0x1e0b93]['pairId'])continue;let _0x6e56a9=_0x1e0b93+0x1,_0x524d2a=0x0;for(;_0x2e443c[_0x6e56a9]['id']!=_0x2e443c[_0x1e0b93]['pairId'];)'elementStart'==_0x2e443c[_0x6e56a9]['type']?_0x524d2a++:'elementEnd'==_0x2e443c[_0x6e56a9]['type']&&_0x524d2a--,_0x6e56a9++;if(0x0!=_0x524d2a){if(_0x2e443c[_0x1e0b93]['isRemoved'])_0x2e443c[_0x1e0b93]['isIncorrect']=!0x0;else{for(;_0x6e56a9!=_0x1e0b93;)_0x2e443c[_0x6e56a9]['isRemoved']&&0x0!=_0x2e443c[_0x6e56a9]['distance']&&(_0x2e443c[_0x6e56a9]['isIncorrect']=!0x0,_0x2c2379['add'](_0x2e443c[_0x6e56a9]['pairId'])),_0x6e56a9--;}}}return _0x2e443c['filter'](_0x1045b5=>!_0x1045b5['isIncorrect']);}['_removeUnsupportedChanges'](_0x5b211d){const _0x2254cc=this['editor']['model']['schema'];for(let _0x1221e0=0x0;_0x1221e0<_0x5b211d['length'];_0x1221e0++){if(!(_0x5b211d[_0x1221e0]['isAdded']||_0x5b211d[_0x1221e0]['isAddSuggestion']||_0x5b211d[_0x1221e0]['isRemoved']||_0x5b211d[_0x1221e0]['isRemoveSuggestion']))continue;if(0x0==_0x5b211d[_0x1221e0]['distance'])continue;const _0x43fcd4=_0x5b211d[_0x1221e0]['item'];_0x2254cc['isBlock'](_0x43fcd4)||_0x2254cc['isLimit'](_0x43fcd4)||(_0x5b211d[_0x1221e0]['isAdded']&&delete _0x5b211d[_0x1221e0]['isAdded'],_0x5b211d[_0x1221e0]['isAddSuggestion']&&delete _0x5b211d[_0x1221e0]['isAddSuggestion'],_0x5b211d[_0x1221e0]['isRemoveSuggestion']&&delete _0x5b211d[_0x1221e0]['isRemoveSuggestion'],_0x5b211d[_0x1221e0]['isRemoved']&&(_0x5b211d[_0x1221e0]['isIncorrect']=!0x0));}return _0x5b211d['filter'](_0x46ad85=>!_0x46ad85['isIncorrect']);}['_makeModelFromTape'](_0x37b4ce,_0x4ff006,_0x4a0b90){const _0x55d2a9=new ckeditor5['ModelDocumentFragment'](),_0x5a4f61=[],_0x2fff26=new Map(),_0x4098de=this['editor']['model'],_0x15eb02=_0x4098de['schema'],_0x421dfe=[_0x55d2a9],_0x908d99={},_0x476cb2={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xa5fc6c=null;const _0x97e80d=[0x0];for(let _0x372192=0x0;_0x372192<_0x37b4ce['length'];_0x372192++)if('elementStart'===_0x37b4ce[_0x372192]['type']){_0x37b4ce[_0x372192]['previousPosition']=_0x4098de['createPositionFromPath'](_0x55d2a9,_0x97e80d);const _0x27494f=new ckeditor5['ModelElement'](_0x37b4ce[_0x372192]['item']['name'],_0x37b4ce[_0x372192]['item']['getAttributes']());_0x421dfe[0x0]['_appendChild'](_0x27494f),_0x97e80d['push'](0x0),_0x421dfe['unshift'](_0x27494f),_0x37b4ce[_0x372192]['nextPosition']=_0x4098de['createPositionFromPath'](_0x55d2a9,_0x97e80d);}else'elementEnd'===_0x37b4ce[_0x372192]['type']?(_0x421dfe['shift'](),_0x37b4ce[_0x372192]['previousPosition']=_0x4098de['createPositionFromPath'](_0x55d2a9,_0x97e80d),_0x97e80d['pop'](),_0x97e80d[_0x97e80d['length']-0x1]++,_0x37b4ce[_0x372192]['nextPosition']=_0x4098de['createPositionFromPath'](_0x55d2a9,_0x97e80d)):(_0x37b4ce[_0x372192]['previousPosition']=_0x4098de['createPositionFromPath'](_0x55d2a9,_0x97e80d),_0xa5fc6c?_0xa5fc6c['_data']+=_0x37b4ce[_0x372192]['item']['data']:_0xa5fc6c=new ckeditor5['ModelText'](_0x37b4ce[_0x372192]['item']['data'],_0x37b4ce[_0x372192]['item']['getAttributes']()),_0x37b4ce[_0x372192+0x1]&&'text'===_0x37b4ce[_0x372192+0x1]['type']&&_0x54b1a9(_0xa5fc6c,_0x37b4ce[_0x372192+0x1]['item'])||(_0x421dfe[0x0]['_appendChild'](_0xa5fc6c),_0xa5fc6c=null),_0x97e80d[_0x97e80d['length']-0x1]+=_0x37b4ce[_0x372192]['item']['offsetSize'],_0x37b4ce[_0x372192]['nextPosition']=_0x4098de['createPositionFromPath'](_0x55d2a9,_0x97e80d));for(let _0x2b1985=0x0;_0x2b1985<_0x37b4ce['length'];_0x2b1985++){const _0x18c5f6=_0x37b4ce[_0x2b1985]['previousPosition'],_0x486d30=_0x37b4ce[_0x2b1985]['nextPosition'];for(const _0x46c73c of _0x37b4ce[_0x2b1985]['markersStart'])_0x2fff26['set'](_0x46c73c,{'start':_0x18c5f6,'end':null});_0x311cc5('isRemoveSuggestion',_0x2b1985,_0x18c5f6,_0x486d30),_0x311cc5('isAddSuggestion',_0x2b1985,_0x18c5f6,_0x486d30),_0x311cc5('isRemoved',_0x2b1985,_0x18c5f6,_0x486d30),_0x311cc5('isAdded',_0x2b1985,_0x18c5f6,_0x486d30);for(const _0x37c8f5 of _0x37b4ce[_0x2b1985]['markersEnd']){const _0x3411f9=_0x2fff26['get'](_0x37c8f5);_0x3411f9?_0x3411f9['end']=_0x486d30:_0x2fff26['set'](_0x37c8f5,{'start':_0x486d30,'end':_0x486d30});}}for(const [_0xd30d89,_0x1ba775]of _0x2fff26){const _0x241018=this['editor']['model']['createRange'](_0x1ba775['start'],_0x1ba775['end']);_0x55d2a9['markers']['set'](_0xd30d89,_0x241018);}return _0x5a4f61['sort']((_0x1aebe8,_0x3e2b33)=>{const _0x3e2f3d=_0x55d2a9['markers']['get']('revision:'+_0x1aebe8['id']),_0x54ed16=_0x55d2a9['markers']['get']('revision:'+_0x3e2b33['id']);return _0x3e2f3d['start']['isBefore'](_0x54ed16['start'])?-0x1:_0x3e2f3d['start']['isAfter'](_0x54ed16['start'])?0x1:_0x3e2f3d['end']['isBefore'](_0x54ed16['end'])?-0x1:_0x3e2f3d['end']['isAfter'](_0x54ed16['end'])?0x1:'add'===_0x1aebe8['type']?-0x1:0x1;}),{'root':_0x55d2a9,'changes':_0x5a4f61};function _0x311cc5(_0x385465,_0x2d5371,_0x4fb4b2,_0x210fa9){const _0x3c51d7=!!_0x37b4ce[_0x2d5371][_0x385465],_0x2c71a2=_0x3c51d7?_0x37b4ce[_0x2d5371][_0x385465]['userId']:null,_0x4642a3=_0x2d5371===_0x37b4ce['length']-0x1,_0x5a61b4=_0x476cb2[_0x385465][0x0],_0x323e6a=_0x15eb02['isObject'](_0x37b4ce[_0x2d5371]['item']);!_0x908d99[_0x385465]&&_0x3c51d7?_0x908d99[_0x385465]={'start':_0x4fb4b2,'tapeItem':_0x37b4ce[_0x2d5371],'userId':_0x2c71a2,'type':_0x385465}:_0x908d99[_0x385465]&&!_0x3c51d7?(_0x908d99[_0x385465]['end']=_0x4fb4b2,_0x345475(_0x908d99[_0x385465]),_0x908d99[_0x385465]=null):_0x908d99[_0x385465]&&_0x3c51d7&&_0x908d99[_0x385465]['userId']!==_0x2c71a2&&(_0x908d99[_0x385465]['end']=_0x4fb4b2,_0x5a61b4&&_0x5a61b4['userId']===_0x908d99[_0x385465]['userId']||_0x345475(_0x908d99[_0x385465]),_0x908d99[_0x385465]={'start':_0x4fb4b2,'tapeItem':_0x37b4ce[_0x2d5371],'userId':_0x2c71a2,'type':_0x385465}),_0x908d99[_0x385465]&&_0x323e6a&&('elementStart'!==_0x37b4ce[_0x2d5371]['type']||_0x5a61b4&&_0x5a61b4['userId']===_0x2c71a2||_0x476cb2[_0x385465]['unshift']({'userId':_0x2c71a2,'object':_0x37b4ce[_0x2d5371]['item'],'change':_0x908d99[_0x385465]}),'elementEnd'===_0x37b4ce[_0x2d5371]['type']&&_0x5a61b4&&_0x5a61b4['object']===_0x37b4ce[_0x2d5371]['item']&&(_0x476cb2[_0x385465]['shift'](),_0x908d99[_0x385465]=_0x5a61b4['change'])),_0x908d99[_0x385465]&&_0x4642a3&&(_0x908d99[_0x385465]['end']=_0x210fa9,_0x345475(_0x908d99[_0x385465]),_0x908d99[_0x385465]=null);}function _0x345475({start:_0x2e40e9,end:_0x5143b9,tapeItem:_0x1b24eb,userId:_0x5a3cd1,type:_0x4916d1}){const _0x6350ff=_0x1b24eb['item'],_0x3e43db=_0x4098de['schema']['isBlock'](_0x6350ff)&&!_0x4098de['schema']['isLimit'](_0x6350ff),_0x56b591=_0x2e40e9['nodeAfter']==_0x5143b9['parent']&&_0x5143b9['isAtStart'];if(_0x3e43db&&_0x56b591)return;const _0x5af317=_0x4098de['createRange'](_0x2e40e9,_0x5143b9),_0x89cd86=_0x4ff006['get'](_0x5a3cd1),_0x4841e6=new ChangeItem({'author':_0x89cd86,'type':'isAdded'==_0x4916d1||'isAddSuggestion'==_0x4916d1?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4916d1||'isRemoveSuggestion'==_0x4916d1},'createdAt':new Date(),'rootName':_0x4a0b90});_0x5a4f61['push'](_0x4841e6),_0x55d2a9['markers']['set']('revision:'+_0x4841e6['id'],_0x5af317);}function _0x54b1a9(_0x4cf195,_0x41bf0d){const _0x4c4d05=_0x4cf195['getAttributes'](),_0x3a5631=_0x41bf0d['getAttributes']();for(const _0x499c8f of _0x4c4d05){if(_0x499c8f[0x1]!==_0x41bf0d['getAttribute'](_0x499c8f[0x0]))return!0x1;_0x3a5631['next']();}return _0x3a5631['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2ba17b=>{const _0x79a408=_0x2ba17b['markerName']['split'](':')[0x1],_0x19bd8c=this['_getChangeFromId'](_0x79a408);if(!_0x19bd8c)return null;const _0x29a1a1='add'==_0x19bd8c['type']?'insertion':'deletion',_0x3b53a4=['ck-suggestion-marker','ck-suggestion-marker-'+_0x29a1a1];return _0x19bd8c['data']['isSuggestion']&&_0x3b53a4['push']('ck-suggestion-marker-'+_0x29a1a1+'-new'),this['activeChange']==_0x19bd8c&&_0x3b53a4['push']('ck-suggestion-marker--active'),{'classes':_0x3b53a4,'attributes':{'data-change-id':_0x79a408}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x330205=>{_0x330205['on']('element:pre',(_0x391291,_0x57b7a6,_0x1709f4)=>{const _0x12d88d=_0x57b7a6['viewItem']['getChild'](0x0);if(!_0x12d88d||!_0x12d88d['is']('element','code'))return;if(!_0x1709f4['consumable']['consume'](_0x12d88d,{'attributes':['vid_start','vid_end']}))return;const _0x11164b=_0x57b7a6['modelRange']['start']['nodeAfter'];_0x1709f4['writer']['setAttribute']('vid_start',_0x12d88d['getAttribute']('vid_start'),_0x11164b),_0x1709f4['writer']['setAttribute']('vid_end',_0x12d88d['getAttribute']('vid_end'),_0x11164b);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x98ed60=>{_0x98ed60['on']('element',(_0x21bf00,_0xeeaf95,_0xa103f5)=>{if(!_0xa103f5['consumable']['consume'](_0xeeaf95['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xeeaf95['modelRange']['isCollapsed'])return;const _0x2e88cb=_0xeeaf95['modelRange']['start']['nodeAfter'];_0x2e88cb['hasAttribute']('vid_start')||_0x2e88cb['hasAttribute']('vid')||(_0xa103f5['writer']['setAttribute']('vid_start',_0xeeaf95['viewItem']['getAttribute']('vid_start'),_0x2e88cb),_0xa103f5['writer']['setAttribute']('vid_end',_0xeeaf95['viewItem']['getAttribute']('vid_end'),_0x2e88cb));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x24ccbe=>_0x24ccbe['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x6348ae,[,_0x12f3e9])=>{['vid_start','vid_end','vid']['includes'](_0x12f3e9)&&(_0x6348ae['return']=!0x0,_0x6348ae['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3c15f9=>{_0x3c15f9['on']('attribute:vid',(_0x271138,_0x3f00a1,_0x5fe13f)=>{if('\x20'!=_0x3f00a1['item']['data']||_0x3f00a1['item']['parent']['maxOffset']>0x1)return;if(!_0x5fe13f['consumable']['consume'](_0x3f00a1['item'],_0x271138['name']))return;const _0x14ce6f=_0x5fe13f['writer'],_0x10ef7a=_0x5fe13f['mapper']['toViewRange'](_0x3f00a1['range']);_0x14ce6f['wrap'](_0x10ef7a,_0x14ce6f['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',downcastSplitMergeMarker(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x48962d,_0x26227a,_0x914abe)=>{const _0x537fb5=_0x914abe['mapper']['markerNameToElements'](_0x26227a['markerName']);if(_0x537fb5){for(const _0x5c3900 of _0x537fb5)(_0x5c3900['hasClass']('ck-suggestion-marker-split')||_0x5c3900['hasClass']('ck-suggestion-marker-merge'))&&(_0x914abe['mapper']['unbindElementFromMarkerName'](_0x5c3900,_0x26227a['markerName']),_0x914abe['writer']['remove'](_0x5c3900));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x110b48,_0x433f0e,_0x46ce52)=>{const _0x2109ea=_0x433f0e['markerName']['split'](':')[0x1],_0x59cea0=this['_getChangeFromId'](_0x2109ea);if(!_0x59cea0)return null;const _0x50a3f1='add'==_0x59cea0['type']?'split':'merge';if(_0x46ce52['consumable']['test'](_0x433f0e['markerRange'],_0x110b48['name']))for(const _0x3c96a8 of _0x433f0e['markerRange']['getItems']()){if(!_0x3c96a8['is']('element','softBreak'))continue;const _0x1ad412=_0x46ce52['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x50a3f1}),_0x885a32=_0x46ce52['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3c96a8));_0x59cea0['data']['isSuggestion']&&_0x46ce52['writer']['addClass']('ck-suggestion-marker-'+_0x50a3f1+'-new',_0x1ad412),this['activeChange']==_0x59cea0&&_0x46ce52['writer']['addClass']('ck-suggestion-marker--active',_0x1ad412),_0x46ce52['writer']['insert'](_0x885a32,_0x1ad412),_0x46ce52['mapper']['bindElementToMarker'](_0x1ad412,_0x433f0e['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1fa0fc=>{for(const _0x392677 of this['editor']['model']['document']['getRootNames']()){const _0x2a167e=this['editor']['model']['document']['getRoot'](_0x392677),_0x4068b3=this['editor']['editing']['view']['document']['getRoot'](_0x392677);if(_0x4068b3){const _0x3aed8e=_0x2a167e['getAttribute']('revisionHistoryAttachChange');if(_0x1fa0fc['removeAttribute']('data-change-id',_0x4068b3),_0x1fa0fc['removeClass']('ck-revision-history-root-add',_0x4068b3),_0x1fa0fc['removeClass']('ck-revision-history-root-remove',_0x4068b3),_0x1fa0fc['removeClass']('ck-revision-history-root--active',_0x4068b3),_0x3aed8e){const _0x34a676=this['_getChangeFromId'](_0x3aed8e);if(!_0x34a676)return null;_0x1fa0fc['setAttribute']('data-change-id',_0x3aed8e,_0x4068b3),_0x1fa0fc['addClass']('ck-revision-history-root-'+_0x34a676['type'],_0x4068b3),this['activeChange']==_0x34a676&&_0x1fa0fc['addClass']('ck-revision-history-root--active',_0x4068b3);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x50a36c=>'revision-comment:'+_0x50a36c,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0xc772bf=>'revision-suggestion:'+_0xc772bf,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1bf414=>({'name':'suggestion:'+_0x1bf414,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3626d6=>{const _0x542d4f=_0x3626d6['markerName']['split'](':')[0x1];return'insertion'!=_0x542d4f&&'deletion'!=_0x542d4f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x542d4f]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',downcastSplitMergeMarkerSuggestion(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',downcastSplitMergeMarkerSuggestion(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0xc8029c,_0x13a229,_0x2b0dde)=>{const _0xca0f7=_0x2b0dde['mapper']['markerNameToElements'](_0x13a229['markerName']);if(_0xca0f7){for(const _0x4855fe of _0xca0f7)_0x4855fe['is']('uiElement')&&(_0x2b0dde['mapper']['unbindElementFromMarkerName'](_0x4855fe,_0x13a229['markerName']),_0x2b0dde['writer']['remove'](_0x4855fe));}},{'priority':'high'});}['_getChangeFromId'](_0x46df40){return this['_changeIdToChange']['get'](_0x46df40);}['_getViewForChange'](_0x35ea84){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x35ea84),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5793bb,_0x16132b,_0x212abd,_0xc90404)=>{_0xc90404&&this['_balloon']['remove'](_0xc90404),_0x212abd&&(this['_balloon']['add']({'view':_0x212abd,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2f302b=this['editor']['editing'],_0x307870=this['_getChangeFromId'](_0x212abd['changeId']);let _0x137503;if(_0x307870['data']['isOnRoot']){const _0x52fef5=_0x2f302b['view']['getDomRoot'](_0x307870['rootName']);_0x137503=Array['from'](_0x52fef5['getClientRects']());}else{const _0x45d970=this['editor']['model']['markers']['get']('revision:'+_0x212abd['changeId']);_0x137503=Array['from'](_0x2f302b['mapper']['markerNameToElements'](_0x45d970['name']))['map'](_0x2fef1a=>_0x2f302b['view']['domConverter']['mapViewToDom'](_0x2fef1a))['map'](_0x8f7736=>Array['from'](_0x8f7736['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x137503[0x0];return _0x137503['find'](_0x4c04fb=>_0x4c04fb['top']-0x3<=this['_activeViewTarget']['y']&&_0x4c04fb['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4c04fb['left']-0x3<=this['_activeViewTarget']['x']&&_0x4c04fb['right']+0x3>=this['_activeViewTarget']['x'])||_0x137503[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2b6702,_0x3980ea,_0x5ab2d9,_0xe931bf)=>{this['activeView']=_0x5ab2d9?this['_getViewForChange'](_0x5ab2d9):null,this['editor']['model']['change'](()=>{const _0x195c77=this['editor']['editing'];_0xe931bf&&(_0xe931bf['data']['isOnRoot']?_0x195c77['view']['change'](_0x147a6a=>{_0x147a6a['removeClass']('ck-revision-history-root--active',_0x195c77['view']['document']['getRoot'](_0xe931bf['rootName']));}):_0x195c77['reconvertMarker']('revision:'+_0xe931bf['id'])),_0x5ab2d9&&(_0x5ab2d9['data']['isOnRoot']?_0x195c77['view']['change'](_0x221a26=>{_0x221a26['addClass']('ck-revision-history-root--active',_0x195c77['view']['document']['getRoot'](_0x5ab2d9['rootName']));}):_0x195c77['reconvertMarker']('revision:'+_0x5ab2d9['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1677f7,_0x2ab108)=>{if(this['activeChange'])return;const _0x562af4=this['_findChangeIdFromDomTarget'](_0x2ab108['target']),_0x366b91=this['_changeIdToChange']['get'](_0x562af4);_0x366b91?(this['_activeViewTarget']={'x':_0x2ab108['domEvent']['x'],'y':_0x2ab108['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x366b91)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5b578b,_0x1b26a6)=>{const _0x2867f6=this['_findChangeIdFromDomTarget'](_0x1b26a6['target']),_0x12d906=this['_changeIdToChange']['get'](_0x2867f6);_0x12d906?(this['_activeViewTarget']={'x':_0x1b26a6['domEvent']['x'],'y':_0x1b26a6['domEvent']['y']},_0x12d906===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x12d906):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4bb696){do{const _0x3819c2=_0x4bb696['getAttribute']('data-change-id');if(_0x3819c2)return _0x3819c2;_0x4bb696=_0x4bb696['parent'];}while(_0x4bb696);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x32bb90=>{for(const _0x179906 of this['editor']['model']['markers'])_0x32bb90['removeMarker'](_0x179906);});}}function downcastSplitMergeMarker(_0x1aebf5){const _0x661095=_0x1aebf5['plugins']['get']('RevisionViewer');return(_0x1b3e75,_0x4fc882,_0x1a330b)=>{const _0x5e7ddb=_0x4fc882['markerName']['split'](':')[0x1],_0x515cf9=_0x661095['_getChangeFromId'](_0x5e7ddb);if(!_0x515cf9)return null;const _0x14e196='add'==_0x515cf9['type']?'split':'merge';if(!_0x1a330b['consumable']['test'](_0x4fc882['markerRange'],_0x1b3e75['name']))return;const _0x5b4235=_0x4fc882['markerRange']['getWalker'](),_0x57c3df=_0x4fc882['markerRange']['start'],_0x183f49=_0x1aebf5['model']['schema'];let _0x4bb3a2=null,_0x4e70df=null,_0x418692=!0x1,_0x3ccaae=!0x1;for(const _0x4514d0 of _0x5b4235){const _0x16a8dd=_0x4514d0['item'];_0x418692=_0x418692||_0x183f49['isContent'](_0x16a8dd);const _0x17f64d=_0x1a330b['mapper']['toViewElement'](_0x16a8dd);if(_0x17f64d&&_0x17f64d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4514d0['type']&&(_0x183f49['isBlock'](_0x16a8dd)&&!_0x183f49['isLimit'](_0x16a8dd)&&(_0x16a8dd['nextSibling']||_0x57c3df['isAtEnd']?_0x4bb3a2&&_0x4bb3a2['parent']==_0x16a8dd||(_0x4bb3a2=_0x16a8dd,_0x4577db(_0x4514d0['previousPosition']),_0x3ccaae=!0x0):_0x4e70df=_0x4e70df||_0x4514d0['previousPosition']));}function _0x4577db(_0x5f3f6d){const _0x4c03ea=_0x1a330b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x14e196}),_0x581197=_0x1a330b['mapper']['toViewPosition'](_0x5f3f6d);_0x515cf9['data']['isSuggestion']&&_0x1a330b['writer']['addClass']('ck-suggestion-marker-'+_0x14e196+'-new',_0x4c03ea),_0x661095['activeChange']==_0x515cf9&&_0x1a330b['writer']['addClass']('ck-suggestion-marker--active',_0x4c03ea),_0x1a330b['writer']['insert'](_0x581197,_0x4c03ea),_0x1a330b['mapper']['bindElementToMarker'](_0x4c03ea,_0x4fc882['markerName']);}_0x418692||_0x3ccaae||!_0x4e70df||_0x4577db(_0x4e70df);};}function downcastSplitMergeMarkerSuggestion(_0x2c240e,_0x2d1c20){return(_0x1e7c37,_0x88021,_0x1d2b13)=>{if(!_0x1d2b13['consumable']['test'](_0x88021['markerRange'],_0x1e7c37['name']))return;const _0x1701e7=_0x88021['markerRange']['getWalker'](),_0x4b391d=_0x88021['markerRange']['start'],_0x1f98ae=_0x2c240e['model']['schema'];let _0x373408=null,_0x48107e=null,_0x36bb3f=!0x1,_0x5def9a=!0x1;for(const _0x1920de of _0x1701e7){const _0xeea3c0=_0x1920de['item'];_0x36bb3f=_0x36bb3f||_0x1f98ae['isContent'](_0xeea3c0);const _0x18a985=_0x1d2b13['mapper']['toViewElement'](_0xeea3c0);if(_0x18a985&&_0x18a985['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1920de['type']&&(_0x1f98ae['isBlock'](_0xeea3c0)&&!_0x1f98ae['isLimit'](_0xeea3c0)&&(_0xeea3c0['nextSibling']||_0x4b391d['isAtEnd']?_0x373408&&_0x373408['parent']==_0xeea3c0||(_0x373408=_0xeea3c0,_0x53ad6a(_0x1920de['previousPosition']),_0x5def9a=!0x0):_0x48107e=_0x48107e||_0x1920de['previousPosition']));}function _0x53ad6a(_0x375216){const _0x169a3d=_0x1d2b13['mapper']['toViewPosition'](_0x375216),_0x28aef4=_0x1d2b13['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2d1c20});_0x1d2b13['writer']['insert'](_0x169a3d,_0x28aef4),_0x1d2b13['mapper']['bindElementToMarker'](_0x28aef4,_0x88021['markerName']);}_0x36bb3f||_0x5def9a||!_0x48107e||_0x53ad6a(_0x48107e);};}class RestoreRevisionCommand extends ckeditor5['Command']{constructor(_0x2af01c){super(_0x2af01c);const _0x44f162=_0x2af01c['plugins']['get'](_0x17aa26);this['affectsData']=!0x1,this['listenTo'](_0x44f162,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x44f162,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xf8b7d4=this['editor'],_0x27a6c9=_0xf8b7d4['plugins']['get'](_0x17aa26),_0x2c8899=_0x27a6c9['isReady']?_0x27a6c9['diff']['newRevisionId']:null;_0xf8b7d4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2c8899);}['refresh'](){const {isReady:_0x11c4de,isEnabled:_0x12249d,repository:_0x28e2cd,diff:_0x11ba22}=this['editor']['plugins']['get'](_0x17aa26),_0x530060=_0x11ba22&&_0x28e2cd['getLaterVisibleRevision'](_0x11ba22['newRevisionId']);this['isEnabled']=_0x11c4de&&_0x12249d&&Boolean(_0x530060);}}class _0x17d0b8 extends ckeditor5['Command']{['_step'];constructor(_0x58cc0a,{direction:_0x44c411}){super(_0x58cc0a);const _0x9c04d=_0x58cc0a['plugins']['get'](_0x17aa26);this['affectsData']=!0x1,this['_step']='forward'===_0x44c411?0x1:-0x1,this['listenTo'](_0x9c04d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x9c04d,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x9c04d,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x1e347c=this['editor'],_0x470d13=_0x1e347c['plugins']['get'](_0x17aa26),{isNavigationMode:_0x1704e3,currentChangeNumber:_0xc9f3e7}=_0x470d13;let _0x529c4f;if(_0x470d13['activeChange']=_0x1704e3?_0x470d13['diff']['changes']['get'](_0xc9f3e7+this['_step']):_0x470d13['diff']['changes']['first'],_0x470d13['activeChange']['data']['isOnRoot'])_0x529c4f=_0x1e347c['editing']['view']['getDomRoot'](_0x470d13['activeChange']['rootName']);else{const _0xb3160f=_0x1e347c['model']['markers']['get']('revision:'+_0x470d13['activeChange']['id']);_0x529c4f=getMarkerDomElement(_0x1e347c['editing'],_0xb3160f);}ckeditor5['scrollViewportToShowTarget']({'target':_0x529c4f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3ce495,currentChangeNumber:_0x4c7d3a,numberOfChanges:_0x4e1e9b,isReady:_0x3b393f,isEnabled:_0xd99805}=this['editor']['plugins']['get'](_0x17aa26);this['isEnabled']=!!(_0xd99805&&_0x3b393f&&_0x4e1e9b)&&(!_0x3ce495||(0x1===this['_step']?_0x4c7d3a<_0x4e1e9b-0x1:_0x4c7d3a>0x0));}}class ChangesNavigationView extends ckeditor5['View']{constructor(_0x4f4f57){super(_0x4f4f57);const _0x32816a=this['bindTemplate'],_0x5c3201=new ckeditor5['ButtonView'](_0x4f4f57),_0x396d38=new ckeditor5['ButtonView'](_0x4f4f57);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',(_0xf6e04f,_0xc62c37)=>_0xf6e04f&&_0xc62c37>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3ae5e8,_0x410150,_0x4da68e,_0x2f3dfc)=>{if(!_0x3ae5e8)return getTranslation$5(_0x4f4f57,'Loading...');if(!_0x4da68e)return getTranslation$5(_0x4f4f57,'No\x20changes');const _0x5ca23b=getTranslation$5(_0x4f4f57,'NUMBER_OF_CHANGES',_0x4da68e);return _0x2f3dfc?getTranslation$5(_0x4f4f57,'X_OF_Y_CHANGES',[_0x410150+0x1,_0x4da68e]):_0x5ca23b;}),_0x5c3201['set']({'label':getTranslation$5(_0x4f4f57,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronUp']}),_0x396d38['set']({'label':getTranslation$5(_0x4f4f57,'Show\x20next\x20change'),'tooltip':!0x0,'icon':ckeditor5['IconChevronDown']}),_0x5c3201['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x396d38['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5c3201['on']('execute',()=>this['fire']('execute','backward')),_0x396d38['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',_0x32816a['if']('_isStatusLabelVisible','ck-hidden',_0x56a39f=>!_0x56a39f)]},'children':[{'text':_0x32816a['to']('isNavigationMode',_0x8b092d=>_0x8b092d?getTranslation$5(_0x4f4f57,'EDIT_X_OF_Y_REVISIONS')+':\x20':getTranslation$5(_0x4f4f57,'Total')+':\x20')}]},{'text':_0x32816a['to']('_statusText')}]},new ckeditor5['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5c3201,_0x396d38]}]});}}const _0x20eecb='ck-editor__editable__loading-overlay';class _0x279a42 extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x720b6d=this['editor']['editing']['view'];_0x720b6d['change'](_0xe7ce46=>{for(const _0x4297d4 of _0x720b6d['document']['roots'])_0xe7ce46['addClass'](_0x20eecb,_0x4297d4);});}['hide'](){const _0x4e94be=this['editor']['editing']['view'];_0x4e94be['change'](_0x16d93f=>{for(const _0x147f7d of _0x4e94be['document']['roots'])_0x16d93f['removeClass'](_0x20eecb,_0x147f7d);});}}class _0x1d8d26 extends ckeditor5['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x17aa26,_0x279a42];}['init'](){const _0x2c26b8=this['editor'],_0x279796=_0x2c26b8['plugins']['get'](_0x17aa26),_0x2fdff6=_0x2c26b8['plugins']['get'](_0x279a42);_0x2c26b8['ui']['componentFactory']['add']('exitToEditing',_0x4cbbb7=>{const _0x5eebe0=new ckeditor5['ButtonView'](_0x4cbbb7);return _0x5eebe0['set']({'label':getTranslation$5(_0x4cbbb7,'Back\x20to\x20editing'),'icon':ckeditor5['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5eebe0,'execute',()=>{_0x2c26b8['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5eebe0;}),_0x2c26b8['ui']['componentFactory']['add']('restoreRevision',_0x539ec4=>{const _0x58d758=new ckeditor5['ButtonView'](_0x539ec4);return _0x58d758['set']({'label':getTranslation$5(_0x539ec4,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x58d758['bind']('isEnabled')['to'](_0x2c26b8['commands']['get']('restoreRevision')),this['listenTo'](_0x58d758,'execute',()=>_0x2c26b8['execute']('restoreRevision')),_0x58d758;}),_0x2c26b8['ui']['componentFactory']['add']('changesNavigation',_0xd54fcb=>{const _0x52e743=new ChangesNavigationView(_0xd54fcb),_0x330125=_0x2c26b8['commands']['get']('showPreviousChange'),_0x9e9761=_0x2c26b8['commands']['get']('showNextChange');return _0x52e743['bind']('isBackwardNavigationEnabled')['to'](_0x330125,'isEnabled'),_0x52e743['bind']('isForwardNavigationEnabled')['to'](_0x9e9761,'isEnabled'),_0x52e743['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x279796),this['listenTo'](_0x52e743,'execute',(_0x25fbf8,_0x30e5ad)=>{_0x2c26b8['execute']('forward'===_0x30e5ad?'showNextChange':'showPreviousChange');}),_0x52e743;}),_0x2fdff6['show'](),_0x279796['on']('change:isReady',(_0x2d86bb,_0x226070,_0xa6a5ba)=>{_0xa6a5ba?_0x2fdff6['hide']():_0x2fdff6['show']();});}}class _0x3fa0e0 extends ckeditor5['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x4f87d3,_0x5416e6){super(_0x4f87d3,_0x5416e6);const _0x7dccb5=this['bindTemplate'];this['set']({'label':getTranslation$5(_0x4f87d3,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=getTranslation$5(_0x4f87d3,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x7dccb5['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new ckeditor5['ResizeObserver'](this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x4e1ed8=this['fieldView']['element'];this['_tooltipString']=_0x4e1ed8['scrollWidth']>_0x4e1ed8['clientWidth']&&_0x4e1ed8['value']||'';}}class RevisionAuthorView extends ckeditor5['View']{constructor(_0x157f4e,_0x258aaf,_0x1112cb){super(_0x157f4e);const _0x5bcb77=new ckeditor5['IconView']();_0x5bcb77['set']({'content':ckeditor5['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x5acddc=['ck','ck-revision-history-sidebar__revision-author'];_0x1112cb&&_0x5acddc['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5dbc1e=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':getTranslation$5(_0x157f4e,_0x1112cb?'Revision\x20creator':'Revision\x20author')},'children':[_0x5bcb77,_0x258aaf['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5acddc},'children':_0x5dbc1e});}}function dateToPrettyFormat(_0x3abbf8,_0x1b3dbf){return _0x1b3dbf['toLocaleDateString'](_0x3abbf8,{'month':'long','day':'numeric'})+',\x20'+_0x1b3dbf['toLocaleTimeString'](_0x3abbf8,{'hour':'numeric','minute':'numeric'});}function createActionsDropdownView(_0x5ce632,_0x4e0b50){const _0x19f416=_0x5ce632['bindTemplate'],_0x18cf08=_0x5ce632['locale'],_0x1dbf5b=ckeditor5['createDropdown'](_0x18cf08);_0x1dbf5b['panelPosition']='sw';const _0x583f39=_createDropdownOptions(_0x5ce632,_0x4e0b50);return _0x5ce632['bind']('isActionsDropdownOpen')['to'](_0x1dbf5b,'isOpen'),_0x1dbf5b['buttonView']['set']({'label':getTranslation$5(_0x18cf08,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':ckeditor5['IconThreeVerticalDots']}),_0x1dbf5b['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x19f416['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x19f416['to'](_0x39e6f9=>_0x39e6f9['stopPropagation']())}}),_0x1dbf5b['on']('execute',_0x34f639=>{_0x5ce632['isReady']&&'function'==typeof _0x34f639['source']['_action']&&_0x34f639['source']['_action'](_0x5ce632);}),ckeditor5['addListToDropdown'](_0x1dbf5b,_0x583f39,{'role':'menu'}),_0x1dbf5b['listenTo'](_0x5ce632,'change:isActionsDropdownOpen',(_0x59c7b8,_0x46c2ba,_0x4e5b97)=>{if(_0x4e5b97)for(const _0x82bcf5 of _0x1dbf5b['listView']['items']){const _0x1be9fb=_0x82bcf5['children']['first'],_0x4e2902=_0x4e0b50['find'](_0x40430c=>_0x40430c['action']===_0x1be9fb['_action'])['isVisible'];_0x82bcf5['isVisible']=void 0x0===_0x4e2902||_0x4e2902(_0x5ce632);}}),_0x1dbf5b;}function _createDropdownOptions(_0x59d0df,_0x1634e9){const _0x15a951=_getLocalizedOptions(_0x59d0df,_0x1634e9),_0x1969da=new ckeditor5['Collection']();for(const _0x26902a of _0x15a951){const _0x4d85a3={'type':'button','model':new ckeditor5['UIModel']({'label':_0x26902a['name'],'class':_0x26902a['class'],'withText':!0x0,'role':'menuitem','_action':_0x26902a['action']})};_0x4d85a3['model']['bind']('isEnabled')['to'](_0x59d0df,'isActionsDropdownOpen',_0x567b2f=>'function'!=typeof _0x26902a['isEnabled']||(!_0x567b2f||_0x26902a['isEnabled'](_0x59d0df))),_0x1969da['add'](_0x4d85a3);}return _0x1969da;}function _getLocalizedOptions(_0x33d232,_0x3b3481){const _0xf16e73=_0x33d232['locale'],_0x3a7a9a={'Compare\x20against\x20selected':getTranslation$5(_0xf16e73,'Compare\x20against\x20selected'),'Name\x20this\x20revision':getTranslation$5(_0xf16e73,'Name\x20this\x20revision'),'Restore\x20this\x20revision':getTranslation$5(_0xf16e73,'Restore\x20this\x20revision')};return _0x3b3481['map'](_0x948572=>{const _0x4c2880=_0x3a7a9a[_0x948572['name']];return _0x4c2880&&_0x4c2880!==_0x948572['name']&&(_0x948572['name']=_0x4c2880),_0x948572;});}class _0x3178e0 extends/* #__PURE__ -- @preserve */
_0x3ef023(ckeditor5['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x489bc8,_0x23e13a,_0x1d0804,_0x467348){super(_0x489bc8);const _0x3e21d8=this['bindTemplate'],_0x240fd5=getAuthorViews(_0x489bc8,_0x23e13a);this['id']=_0x23e13a['id'],this['_revision']=_0x23e13a,this['_requireRevisionName']=_0x467348,this['bind']('name','createdAt')['to'](_0x23e13a),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x25ed67=>dateToPrettyFormat(_0x489bc8['uiLanguage'],_0x25ed67)),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x3fa0e0(_0x489bc8,ckeditor5['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3aea74=>_0x3aea74||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1101aa,_0x230f89)=>_0x1101aa&&_0x230f89),this['revisionActionsView']=_0x1d0804&&_0x1d0804['length']?createActionsDropdownView(this,_0x1d0804):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3e21d8['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3e21d8['if']('isEnabled','ck-disabled',_0x2511b9=>!_0x2511b9),_0x3e21d8['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3e21d8['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3e21d8['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':_0x3e21d8['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':_0x240fd5}]},this['revisionActionsView']],'on':{'click':_0x3e21d8['to'](_0xa33b2d=>{_0xa33b2d['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x331f72=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x331f72,'change',()=>{this['_requireRevisionName']&&!_0x331f72['value']||this['fire']('setName',{'id':this['id'],'name':_0x331f72['value']}),_0x331f72['value']||(_0x331f72['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function getAuthorViews(_0x2fde45,_0x1f65ed){const _0x551aa7=Array['from'](_0x1f65ed['authors'])['filter'](_0x29d583=>_0x29d583!=_0x1f65ed['creator']);return _0x1f65ed['creator']&&_0x551aa7['unshift'](_0x1f65ed['creator']),_0x551aa7['map'](_0x5d6c64=>new RevisionAuthorView(_0x2fde45,_0x5d6c64,_0x5d6c64==_0x1f65ed['creator']));}function getDateTimePeriodInfo(_0x351f15,_0x8cd4a3){const _0x2a477b=DateTime['fromJSDate'](_0x351f15)['setLocale'](_0x8cd4a3),_0x54737f=DateTime['local'](),_0x4130bb=_0x54737f['minus']({'days':0x1})['startOf']('day');let _0x225455,_0x282e1a;return _0x2a477b['hasSame'](_0x54737f,'day')?(_0x225455=_0x2a477b['startOf']('day')['toJSDate'](),_0x282e1a=_0x2a477b['toRelativeCalendar']()):_0x2a477b['hasSame'](_0x4130bb,'day')?(_0x225455=_0x4130bb['toJSDate'](),_0x282e1a=_0x2a477b['toRelativeCalendar']()):_0x2a477b['hasSame'](_0x54737f,'week')?(_0x225455=_0x2a477b['startOf']('week')['toJSDate'](),_0x282e1a=_0x2a477b['weekdayLong']||''):_0x2a477b['hasSame'](_0x54737f,'year')?(_0x225455=_0x2a477b['startOf']('month')['toJSDate'](),_0x282e1a=_0x2a477b['monthLong']||''):(_0x225455=_0x2a477b['startOf']('year')['toJSDate'](),_0x282e1a=String(_0x2a477b['year'])),{'startDate':_0x225455,'localizedPeriodName':_0x282e1a};}class _0x1a914f extends ckeditor5['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4b74a1,_0x53b973,_0x55c3a9,_0x1abf23){super(_0x4b74a1);const _0x4c8710=getDateTimePeriodInfo(_0x53b973,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x53b973,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x55c3a9,this['_requireRevisionName']=_0x1abf23,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':_0x4c8710}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x12966b){const _0xdcae21=new _0x3178e0(this['locale'],_0x12966b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0xdcae21);}['removeRevision'](_0x4b0e1c){const _0x3a1c72=this['revisionViews']['find'](_0x16bb4c=>_0x16bb4c['id']===_0x4b0e1c['id']);this['revisionViews']['remove'](_0x3a1c72);}}class _0x422fd8 extends ckeditor5['View']{constructor(_0x4b04c4){super(_0x4b04c4);const _0x39f72c=new ckeditor5['IconView']();_0x39f72c['content']=ckeditor5['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x39f72c,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[getTranslation$5(_0x4b04c4,'Revision\x20history')]}]});}}class _0x14c85f extends ckeditor5['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xfdb620,_0x4ebfaa,_0x4ac91b,_0x1d943f){super(_0xfdb620);const _0x79a817=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4ebfaa,this['_revisionActions']=_0x4ac91b,this['_requireRevisionName']=_0x1d943f,this['on']('select',(_0x233f44,_0x4d6681)=>{this['fire']('revisionSelected',_0x4d6681);}),this['on']('setName',(_0x5b7eea,_0x305f59)=>{this['fire']('revisionSetName',_0x305f59);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x422fd8(_0xfdb620),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x79a817['if']('isEnabled','ck-disabled',_0x250fe8=>!_0x250fe8)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x45ba21 of this['_revisions'])this['_addRevision'](_0x45ba21);this['_revisions']['on']('add',(_0x1efa76,_0x331b4a)=>{this['_addRevision'](_0x331b4a);}),this['_revisions']['on']('remove',(_0x2afbcf,_0x21d280)=>{this['_removeRevision'](_0x21d280);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2211b2=>_0x2211b2['revisionViews']['map'](_0xf92968=>_0xf92968))['flat']();}['selectRevision'](_0x385bb1){for(const _0x3e5036 of this['revisionViews'])_0x385bb1&&_0x385bb1['id']===_0x3e5036['id']?_0x3e5036['select']():_0x3e5036['deselect']();}['highlightRevisions'](_0x43e705){for(const _0x1c3d4c of this['revisionViews'])_0x43e705['some'](({id:_0x5dd047})=>_0x5dd047===_0x1c3d4c['id'])?_0x1c3d4c['highlight']():_0x1c3d4c['unhighlight']();}['_addRevision'](_0x2b0966){const _0x5cf9a7=getDateTimePeriodInfo(_0x2b0966['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1dfed5=this['timePeriodViews']['get'](0x0);_0x1dfed5&&_0x1dfed5['startDate']['getTime']()===_0x5cf9a7['getTime']()||(_0x1dfed5=new _0x1a914f(this['locale'],_0x5cf9a7,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1dfed5)),_0x1dfed5['addRevision'](_0x2b0966);}['_removeRevision'](_0x2bd412){const _0x1f4be2=getDateTimePeriodInfo(_0x2bd412['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1f4be2)['removeRevision'](_0x2bd412);}['_getTimePeriodViewByStartDate'](_0x316da6){return this['timePeriodViews']['find'](_0x5922bb=>_0x5922bb['startDate']['getTime']()===_0x316da6['getTime']());}}class _0x18b412 extends ckeditor5['Plugin']{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
availableRevisionActions();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x17aa26];}constructor(_0x53e155){super(_0x53e155),this['_revisionViewer']=_0x53e155['plugins']['get'](_0x17aa26),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0xed07e=this['_revisionsRepository']['_revisions'],_0x28cbc8=this['_createRevisionActions'](),_0x4d2d41=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x14c85f(this['editor']['locale'],_0xed07e,_0x28cbc8,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',(_0x4c1566,_0x3e4880)=>{_0x3e4880['revisionViews']['on']('add',(_0x2056d9,_0x160b65)=>{_0x160b65['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)),_0x4d2d41['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x15c06c=this['_revisionsRepository']['getRevision'](0x0);if(_0x15c06c){const _0xb4cc0f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x15c06c['id']);this['_revisionViewer']['compare'](_0x15c06c,_0xb4cc0f);}}['_handleRevisionSelected'](_0x4f3fbd,_0x47a070){const _0x4112d4=this['_revisionsRepository']['getRevision'](_0x47a070['id']),_0x523e2b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4112d4['id']);this['_revisionViewer']['compare'](_0x4112d4,_0x523e2b);}['_handleRevisionSetName'](_0x58c016,_0x5e017c){this['_revisionsRepository']['getRevision'](_0x5e017c['id'])['setName'](_0x5e017c['name']);}['_handleDiffChange'](_0x33b8c3,_0x3707d4,_0x2dd136){const _0x554feb=this['_revisionsRepository']['getRevisionsInDiff'](_0x2dd136);_0x554feb['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x554feb),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x554feb[0x0]));}['_createRevisionActions'](){const _0x1973e9=this['editor'],_0x3bcfd5=_0x18b412['availableRevisionActions'],_0x3b1296=_0x1973e9['config']['get']('revisionHistory.revisionActions')||_0x18b412['defaultRevisionActions'];if(_0x3b1296['length'])return _0x3b1296['map'](_0x36d606=>{const _0x487624='string'==typeof _0x36d606?Object['assign']({},_0x3bcfd5[_0x36d606]):_0x36d606;return _0x487624['action']=_0x487624['action']['bind'](this,_0x1973e9),_0x487624['isVisible']&&(_0x487624['isVisible']=_0x487624['isVisible']['bind'](this,_0x1973e9)),_0x487624;});}}function availableRevisionActions(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x748634},_0x269102)=>{const _0x2cfb2d=_0x748634['get'](_0x17aa26),_0x58330e=_0x2cfb2d['repository'];let _0x3c4158=_0x2cfb2d['diff']['newRevisionId'],_0x1b9148=_0x269102['id'];_0x58330e['getIndex'](_0x3c4158)>_0x58330e['getIndex'](_0x1b9148)&&([_0x3c4158,_0x1b9148]=[_0x1b9148,_0x3c4158]),_0x2cfb2d['compare'](_0x3c4158,_0x1b9148);},'isVisible':({plugins:_0x4b06d7},_0x32aee3)=>{const _0x50f0d0=_0x4b06d7['get'](_0x17aa26);return!(_0x50f0d0['repository']['getRevisionsInDiff'](_0x50f0d0['diff'])['length']>0x2)&&!_0x32aee3['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1a2b6e,{id:_0x57824b})=>{_0x1a2b6e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x57824b);},'isVisible':({plugins:_0x42216d},_0x4155dc)=>!!_0x42216d['get'](_0x17aa26)['repository']['getLaterVisibleRevision'](_0x4155dc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x51ac6f},{id:_0x176297,revisionNameView:_0x2dfdc5})=>{const _0x130cbc=_0x51ac6f['get'](_0x17aa26),_0x338ef0=_0x130cbc['repository']['getEarlierVisibleRevision'](_0x176297);_0x130cbc['compare'](_0x176297,_0x338ef0),_0x2dfdc5['focus'](),_0x2dfdc5['fieldView']['select']();}}};}class RevisionViewerEditorUI extends ckeditor5['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x1b8e32,_0x149965){super(_0x1b8e32),this['_view']=_0x149965,this['_toolbarConfig']=ckeditor5['normalizeToolbarConfig'](_0x1b8e32['config']['get']('toolbar')),this['_elementReplacer']=new ckeditor5['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x81a8de){const _0x4c2a60=this['editor'],_0x2fd9a5=this['view'],_0xe98f24=_0x4c2a60['editing']['view'],_0x2a0017=_0x2fd9a5['editable'],_0x1e20fc=_0xe98f24['document']['getRoot']();_0x2a0017['name']=_0x1e20fc['rootName'],_0x2fd9a5['render']();const _0x4fa05c=_0x2a0017['element'];this['setEditableElement'](_0x2a0017['name'],_0x4fa05c),_0x2fd9a5['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xe98f24['attachDomRoot'](_0x4fa05c),this['_elementReplacer']['replace'](_0x81a8de,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x947e49=this['view'],_0x122279=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x122279['detachDomRoot'](_0x947e49['editable']['name']),_0x947e49['destroy']();}['_initToolbar'](){const _0x3749eb=this['view'];_0x3749eb['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3749eb['stickyPanel']['limiterElement']=_0x3749eb['element'],_0x3749eb['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x518c18})=>_0x518c18),_0x3749eb['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3749eb['toolbar']);}}class RevisionViewerEditorUIView extends ckeditor5['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0xc1d000,_0x3d941a,_0x54db00={}){super(_0xc1d000),this['stickyPanel']=new ckeditor5['StickyPanelView'](_0xc1d000),this['toolbar']=new ckeditor5['ToolbarView'](_0xc1d000,{'shouldGroupWhenFull':_0x54db00['shouldToolbarGroupWhenFull']}),this['_editable']=new ckeditor5['InlineEditableUIView'](_0xc1d000,_0x3d941a);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
ckeditor5['ElementApiMixin'](ckeditor5['Editor']){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x4220d4,_0x72cff0){super(_0x72cff0),this['sourceElement']=_0x4220d4,this['model']['document']['createRoot']();const _0x23e770=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x23e770);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3a76eb,_0x5335f6){const _0x111f48=new this(_0x3a76eb,_0x5335f6);return await _0x111f48['initPlugins'](),await _0x111f48['ui']['init'](_0x3a76eb),await _0x111f48['data']['init'](_0x111f48['config']['get']('initialData')||''),_0x111f48['fire']('ready'),_0x111f48;}}const blackListedPlugins$1=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1de7ee){function _0x3be090(_0x2e5ada){return _0x2e5ada['map'](_0x2c379c=>String['fromCharCode'](_0x2c379c))['join']('');}super(_0x1de7ee),this['result']='end',_0x1de7ee[_0x3be090([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3be090([0x76,0x69,0x65,0x77])][_0x3be090([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3be090([0x61,0x75,0x74,0x6f]),_0x1de7ee[_0x3be090([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3be090([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3be090([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3be090([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3be090([0x6f,0x6b])});}}class RevisionHistory extends ckeditor5['Plugin']{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5076f4,RevisionHistoryUI];}constructor(_0x465178){if(super(_0x465178),!this['editor']['config']['get']('revisionHistory'))throw new ckeditor5['CKEditorError']('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5a8bcf=>this['_showRevisionViewer']({..._0x5a8bcf,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x26134d=>this['_closeRevisionViewer'](_0x26134d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4a7bae=>this['_restoreRevision'](_0x4a7bae)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0xda499e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0xda499e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x172ae6){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x172ae6);}['getRevision'](_0xe12d54){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xe12d54);}['getRevisions'](_0x45bcca){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x45bcca||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x59fcbb=this['editor'],_0x37ef65=sanitizeEditorConfig(_0x59fcbb,blackListedPlugins$1),_0x28afbc=_0x59fcbb['plugins']['get']('RevisionTracker'),_0x46d787=_0x59fcbb['plugins']['get']('Users')['users'];_0x37ef65['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x37ef65['lazyRoots'];class _0x549db7 extends ckeditor5['Plugin']{static get['requires'](){return[_0x17aa26,'Users'];}['init'](){const _0x50a74f=this['editor']['plugins']['get']('Users');for(const _0x5ef109 of _0x46d787)_0x5ef109['isAnonymous']||_0x50a74f['getUser'](_0x5ef109['id'])||_0x50a74f['addUser'](_0x5ef109);const _0x34ab4b=_0x28afbc['repository']['getRevisions']();let _0x1b2eb9=null;const _0x15a101=this['editor']['plugins']['get']('RevisionViewer');_0x15a101['adapter']=_0x28afbc['adapter'],_0x15a101['bind']('isEnabled')['to'](_0x28afbc),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x59fcbb,'isReadOnly',_0xdc2613=>!_0xdc2613);for(const _0x40a433 of _0x34ab4b){const _0x58831c=null===_0x40a433['creator'];if(_0x58831c&&_0x40a433['toVersion']===_0x40a433['fromVersion'])continue;const _0x32f6c7=_0x40a433['toJSON']();_0x15a101['addRevisionData'](_0x32f6c7,(_0x294ec,_0x35c1f5,_0x17ecd7)=>{if(_0x58831c){if(_0x1b2eb9)_0x1b2eb9['_update'](_0x294ec,_0x35c1f5);else{if(!_0x35c1f5){const _0x3bae5e=_0x17ecd7['toJSON']();_0x3bae5e['id']=ckeditor5['uid'](),_0x28afbc['saveRevision'](_0x3bae5e,_0x17ecd7['toVersion'])['then'](_0x1a96ed=>{_0x1b2eb9=_0x1a96ed;});}}}else _0x40a433['_update'](_0x294ec,_0x35c1f5);});}}}return _0x37ef65['plugins']['push'](RevisionViewerIntegration,_0x17aa26,_0x1d8d26,_0x549db7,_0x18b412),_0x37ef65;}['_enhanceShowRevisionViewerCallback'](){const _0x4d2221=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x5bd1c5=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0xd142a3=this['editor']['plugins']['get']('Autosave');await _0xd142a3['save']();}else await _0x5bd1c5['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5c9533=this['editor']['plugins']['get']('Dialog');_0x5c9533['isOpen']&&_0x5c9533['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x419644=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x1123ac of _0x419644)_0x1123ac['class']=_0x1123ac['class']?_0x1123ac['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0xe9455e=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0xe9455e&&_0xe9455e['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x197692=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x197692&&_0x197692['setAttribute']('tabindex','-1');}}const _0x2f6831=this['_getRevisionViewerEditorConfig']();return _0x4d2221(_0x2f6831)['then'](_0x37f959=>{return(this['_viewerEditor']=_0x37f959,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'),_0x37f959);})['catch'](_0x2c70b3=>(console['error'](_0x2c70b3),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x49f1f8=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 _0x4a00a3=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x54f5f7 of _0x4a00a3)_0x54f5f7['class']='ck-tab-panel_disabled'===_0x54f5f7['class']?'':_0x54f5f7['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x2f0a65=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x2f0a65&&_0x2f0a65['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x4de212=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x4de212&&_0x4de212['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x49f1f8(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2e627a=this['editor']['plugins']['get']('Annotations');_0x2e627a['refreshVisibility'](),_0x2e627a['refreshPositioning']();}});});}['_showRevisionViewer'](_0x1c3572){const _0x44e97d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x11e1a9=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x294f6f=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x294f6f,_0x1c3572)['then'](_0x4fd124=>(_0x11e1a9['style']['display']='block',_0x44e97d['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x4fd124));}['_closeRevisionViewer'](_0x476dc0){const _0x307550=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x307550['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x476dc0['destroy']();}async['_restoreRevision'](_0x2bb709){const _0x47f59d=this['editor'],_0x343faf=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1c0e53=_0x47f59d['plugins']['get']('RevisionTracker'),_0x527720=_0x47f59d['plugins']['get']('RevisionHistoryUtils'),_0x349b6=_0x343faf['repository']['getRevision'](_0x2bb709);let _0xe25439,_0x18b74b,_0x1e4138;try{await _0x527720['loadRevisionData'](_0x349b6,this['adapter']),_0xe25439=_0x527720['getRevisionDocumentData'](_0x349b6),_0x18b74b=_0x527720['getRevisionRootsAttributes'](_0x349b6);}catch(_0xac3870){return void console['error'](_0xac3870);}_0x47f59d['model']['change'](_0x3bc516=>{for(const _0x3d5fde of Array['from'](_0x47f59d['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3bc516['removeMarker'](_0x3d5fde);}),_0x343faf['isReady']=!0x1,_0x47f59d['model']['enqueueChange'](_0x2b333a=>{_0x2b333a['setSelection'](null),_0x2b333a['removeSelectionAttribute'](_0x47f59d['model']['document']['selection']['getAttributeKeys']());const _0x2a919a=Object['keys'](_0xe25439);for(const _0x315ebb of _0x47f59d['model']['document']['roots'])'$graveyard'!=_0x315ebb['rootName']&&_0x315ebb['isAttached']()&&!_0x2a919a['includes'](_0x315ebb['rootName'])&&_0x2b333a['detachRoot'](_0x315ebb);for(const _0x53b6cc of _0x2a919a){let _0x15f409=_0x47f59d['model']['document']['getRoot'](_0x53b6cc);_0x15f409&&_0x15f409['isAttached']()||(_0x15f409=_0x2b333a['addRoot'](_0x53b6cc));const _0x562dbd=_0x18b74b[_0x53b6cc],_0x511535=Object['keys'](_0x562dbd),_0x2441e0=_0xe25439[_0x53b6cc];for(const _0x4046be of _0x15f409['getAttributeKeys']())_0x511535['includes'](_0x4046be)||_0x2b333a['removeAttribute'](_0x4046be,_0x15f409);for(const _0x2544c3 of _0x511535)_0x2b333a['setAttribute'](_0x2544c3,_0x18b74b[_0x53b6cc][_0x2544c3],_0x15f409);_0x2b333a['remove'](_0x2b333a['createRangeIn'](_0x15f409)),_0x2b333a['insert'](_0x47f59d['data']['parse'](_0x2441e0,_0x15f409),_0x15f409,0x0);}});const _0x343395=getTranslation$5(_0x47f59d['locale'],'Restored');if(_0x349b6['name'])_0x1e4138=-0x1==_0x349b6['name']['indexOf'](_0x343395)?_0x343395+':\x20'+_0x349b6['name']:_0x349b6['name'];else _0x1e4138=_0x343395+':\x20'+(_0x349b6['createdAt']['toLocaleDateString'](_0x47f59d['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x349b6['createdAt']['toLocaleTimeString'](_0x47f59d['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1c0e53['saveRevision']({'name':_0x1e4138}),_0x343faf['isReady']=!0x0,_0x47f59d['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}function getTranslation$4(_0x28cde2,_0x3d914f){const t=_0x28cde2['t'],_0x25b3be=_0x28cde2['t'];switch(_0x3d914f){case'AI\x20Assistant':return _0x25b3be('AI\x20Assistant');case'Block\x20quote':return _0x25b3be('Block\x20quote');case'Bulleted\x20list':return _0x25b3be('Bulleted\x20list');case'Insert\x20code\x20block':return _0x25b3be('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x25b3be('Open\x20file\x20manager');case'Insert\x20image':return _0x25b3be('Insert\x20image');case'Heading\x201':return _0x25b3be('Heading\x201');case'Heading\x202':return _0x25b3be('Heading\x202');case'Heading\x203':return _0x25b3be('Heading\x203');case'Heading\x204':return _0x25b3be('Heading\x204');case'Heading\x205':return _0x25b3be('Heading\x205');case'Heading\x206':return _0x25b3be('Heading\x206');case'Horizontal\x20line':return _0x25b3be('Horizontal\x20line');case'Insert\x20HTML':return _0x25b3be('Insert\x20HTML');case'Increase\x20indent':return _0x25b3be('Increase\x20indent');case'Insert\x20table':return _0x25b3be('Insert\x20table');case'Table\x20of\x20contents':return _0x25b3be('Table\x20of\x20contents');case'Numbered\x20list':return _0x25b3be('Numbered\x20list');case'Decrease\x20indent':return _0x25b3be('Decrease\x20indent');case'Paragraph':return _0x25b3be('Paragraph');case'To-do\x20list':return _0x25b3be('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 _0x3d914f;}}class _0x124c66 extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4cd284){super(_0x4cd284),this['_allowedCommands']=null;}['afterInit'](){const _0x979790=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x92fd58=getExcludedHeadings(this['editor']['config']['get']('heading.options')),_0x309e88=this['getDefaultCommands']()['filter'](_0x141058=>!_0x92fd58['includes'](_0x141058['id']));let _0x57e4e5=_0x309e88['filter'](_0x2ef975=>!_0x979790['includes'](_0x2ef975['commandName']));const _0x1716ec=this['editor']['config']['get']('slashCommand.extraCommands');_0x1716ec&&_0x1716ec['length']&&(_0x57e4e5=_0x57e4e5['concat'](_0x1716ec));const _0x4543cb=this['editor']['config']['get']('template.definitions');_0x4543cb&&_0x4543cb['length']&&(_0x57e4e5=_0x57e4e5['concat'](mapTemplates(_0x4543cb)));const _0x25d028=this['editor']['config']['get']('style.definitions');_0x25d028&&_0x25d028['length']&&(_0x57e4e5=_0x57e4e5['concat'](mapStyles(_0x25d028)));const _0x4206f9=_0x57e4e5['filter'](_0x36c136=>!_0x36c136['commandName']||void 0x0!==this['editor']['commands']['get'](_0x36c136['commandName'])),_0x1e0eaf=[];for(const _0x4dbf36 of _0x4206f9)_0x1e0eaf['push']({'id':_0x4dbf36['id'],'commandName':_0x4dbf36['commandName'],'title':'function'==typeof _0x4dbf36['title']?_0x4dbf36['title'](this['editor']):_0x4dbf36['title'],'description':_0x4dbf36['description'],'icon':_0x4dbf36['icon'],'isIconColorInherited':_0x4dbf36['isIconColorInherited'],'aliases':_0x4dbf36['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x4dbf36),'execute':()=>this['_proxyExecute'](_0x4dbf36)});this['_allowedCommands']=_0x1e0eaf['sort'](_0x2993bf),_0x2d5ae9(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x5ad276=_0x1e1c06=>getTranslation$4(this['editor']['locale'],_0x1e1c06);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':ckeditor5['IconRobotPencil'],'title':_0x5ad276('AI\x20Assistant'),'description':_0x5ad276('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x3410fd=>{setTimeout(()=>_0x3410fd['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':ckeditor5['IconQuote'],'title':_0x5ad276('Block\x20quote'),'description':_0x5ad276('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':ckeditor5['IconBulletedList'],'title':_0x5ad276('Bulleted\x20list'),'description':_0x5ad276('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':ckeditor5['IconCodeBlock'],'title':_0x5ad276('Insert\x20code\x20block'),'description':_0x5ad276('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':ckeditor5['IconBrowseFiles'],'title':_0x5ad276('Open\x20file\x20manager'),'description':_0x5ad276('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':ckeditor5['IconBrowseFiles'],'title':_0x5ad276('Insert\x20image'),'description':_0x5ad276('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':ckeditor5['IconEmoji'],'title':_0x5ad276('Emoji'),'description':_0x5ad276('Insert\x20an\x20emoji'),'execute':_0x56ab59=>{setTimeout(()=>_0x56ab59['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':ckeditor5['IconHeading1'],'title':_0x5ad276('Heading\x201'),'description':_0x5ad276('Create\x20a\x20heading\x20level\x201'),'execute':_0x246b53=>{_0x246b53['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':ckeditor5['IconHeading2'],'title':_0x5ad276('Heading\x202'),'description':_0x5ad276('Create\x20a\x20heading\x20level\x202'),'execute':_0x1c9de2=>{_0x1c9de2['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':ckeditor5['IconHeading3'],'title':_0x5ad276('Heading\x203'),'description':_0x5ad276('Create\x20a\x20heading\x20level\x203'),'execute':_0x470db3=>{_0x470db3['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':ckeditor5['IconHeading4'],'title':_0x5ad276('Heading\x204'),'description':_0x5ad276('Create\x20a\x20heading\x20level\x204'),'execute':_0x3977be=>{_0x3977be['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':ckeditor5['IconHeading5'],'title':_0x5ad276('Heading\x205'),'description':_0x5ad276('Create\x20a\x20heading\x20level\x205'),'execute':_0x206ed8=>{_0x206ed8['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':ckeditor5['IconHeading6'],'title':_0x5ad276('Heading\x206'),'description':_0x5ad276('Create\x20a\x20heading\x20level\x206'),'execute':_0x58e97a=>{_0x58e97a['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':ckeditor5['IconHorizontalLine'],'title':_0x5ad276('Horizontal\x20line'),'description':_0x5ad276('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':ckeditor5['IconHtml'],'title':_0x5ad276('Insert\x20HTML'),'description':_0x5ad276('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':ckeditor5['IconIndent'],'title':_0x5ad276('Increase\x20indent'),'description':_0x5ad276('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x5ad276('Insert\x20Mermaid\x20diagram'),'description':_0x5ad276('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':ckeditor5['IconTable'],'title':_0x5ad276('Insert\x20table'),'description':_0x5ad276('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':ckeditor5['IconTableOfContents'],'title':_0x5ad276('Table\x20of\x20contents'),'description':_0x5ad276('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':ckeditor5['IconNumberedList'],'title':_0x5ad276('Numbered\x20list'),'description':_0x5ad276('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':ckeditor5['IconOutdent'],'title':_0x5ad276('Decrease\x20indent'),'description':_0x5ad276('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':ckeditor5['IconParagraph'],'title':_0x5ad276('Paragraph'),'description':_0x5ad276('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':ckeditor5['IconTodoList'],'title':_0x5ad276('To-do\x20list'),'description':_0x5ad276('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':ckeditor5['IconFootnote'],'title':_0x5ad276('Footnote'),'description':_0x5ad276('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x367881){return _0x367881['isEnabled']?_0x367881['isEnabled'](this['editor']):!_0x367881['commandName']||this['editor']['commands']['get'](_0x367881['commandName'])['isEnabled'];}['_proxyExecute'](_0x5c0d6d){if(_0x5c0d6d['execute'])_0x5c0d6d['execute'](this['editor']);else{if(!_0x5c0d6d['commandName'])throw new ckeditor5['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x5c0d6d});this['editor']['execute'](_0x5c0d6d['commandName']);}}}function _0x2993bf(_0x1e00e2,_0x1e8599){return _0x1e00e2['title']<_0x1e8599['title']?-0x1:_0x1e00e2['title']>_0x1e8599['title']?0x1:0x0;}function convertTitleToId(_0x24f1db,_0x1d59b9){return _0x1d59b9+'-'+_0x24f1db['toLowerCase']()['split']('\x20')['join']('-');}function mapTemplates(_0x470fc8){return _0x470fc8['map'](_0xcf18c4=>{const {title:_0x2c21d8,icon:_0xc096f6,description:_0x4f47a6,data:_0x3df633}=_0xcf18c4,_0x291fa5={'id':convertTitleToId(_0x2c21d8,'template'),'commandName':'insertTemplate','execute':_0x65320b=>{_0x65320b['execute']('insertTemplate',_0x3df633);},'description':_0x4f47a6,'icon':_0xc096f6,'title':_0x2c21d8};return _0xc096f6&&(_0x291fa5['isIconColorInherited']=!0x1),_0x291fa5;});}function mapStyles(_0xbe6787){return _0xbe6787['map'](_0x56551b=>{const _0x2a3a6a={'id':convertTitleToId(_0x56551b['name'],'style'),'commandName':'style','execute':_0x37ce37=>{_0x37ce37['execute']('style',{'styleName':_0x56551b['name']});},'isEnabled':_0x481d6e=>{const _0x5dfd41=_0x481d6e['commands']['get']('style');return _0x5dfd41['isEnabled']&&_0x5dfd41['enabledStyles']['includes'](_0x56551b['name']);},'title':_0x56551b['name']};return _0x2a3a6a;});}function getExcludedHeadings(_0x4a6b69){let _0x3716d4=['heading4','heading5','heading6'];if(_0x4a6b69){const _0x2016e0=_0x4a6b69['map'](_0xe26cc1=>_0xe26cc1['model']);_0x3716d4=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0xda070=>!_0x2016e0['includes'](_0xda070));}return _0x3716d4;}async function _0x2d5ae9(_0x4ec6a6){const _0x1ef59b=_0x1dc2b1([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x221d0b=window[_0x1dc2b1([0x44,0x61,0x74,0x65])][_0x1dc2b1([0x6e,0x6f,0x77])](),_0x435d1b=_0x4ec6a6[_0x1dc2b1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49b234=new window[(_0x1dc2b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bb26c=>{_0x435d1b[_0x1dc2b1([0x6f,0x6e,0x63,0x65])](_0x1dc2b1([0x72,0x65,0x61,0x64,0x79]),_0x5bb26c);}),_0x24a0dd={[_0x1dc2b1([0x6b,0x74,0x79])]:_0x1dc2b1([0x45,0x43]),[_0x1dc2b1([0x75,0x73,0x65])]:_0x1dc2b1([0x73,0x69,0x67]),[_0x1dc2b1([0x63,0x72,0x76])]:_0x1dc2b1([0x50,0x2d,0x32,0x35,0x36]),[_0x1dc2b1([0x78])]:_0x1dc2b1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1dc2b1([0x79])]:_0x1dc2b1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1dc2b1([0x61,0x6c,0x67])]:_0x1dc2b1([0x45,0x53,0x32,0x35,0x36])},_0x4d8e1f=_0x435d1b[_0x1dc2b1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1dc2b1([0x67,0x65,0x74])](_0x1dc2b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1389be=await(async function(){let _0x37795f,_0x2428b5=null,_0x42d26e=null;try{if(_0x4d8e1f==_0x1dc2b1([0x47,0x50,0x4c]))return _0x1dc2b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x37795f=(function(){const _0x40d98c=_0x4d8e1f[_0x1dc2b1([0x73,0x70,0x6c,0x69,0x74])](_0x1dc2b1([0x2e]));if(0x3!=_0x40d98c[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x2bb450=_0x40d98c[0x1];return _0x498b1d(_0x2bb450);function _0x498b1d(_0x5ddefb){const _0x278a16=_0x43d568(_0x5ddefb);return _0x278a16&&_0x2a8e0c()?_0x278a16:null;function _0x2a8e0c(){const _0x1b29f9=_0x278a16[_0x1dc2b1([0x6a,0x74,0x69])],_0x4ad6f3=window[_0x1dc2b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b29f9[_0x1dc2b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b29f9[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x333000={..._0x278a16,[_0x1dc2b1([0x6a,0x74,0x69])]:_0x1b29f9[_0x1dc2b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b29f9[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x333000[_0x1dc2b1([0x76,0x63])],_0x2440c3(_0x333000)==_0x4ad6f3;}}}()),!_0x37795f)return _0x1dc2b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x37795f[_0x1dc2b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x42d26e=function(_0x49730e,_0x2309e4){return new window[(_0x1dc2b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a4710=>{if(_0x319c76())return _0x2a4710(_0x1dc2b1([0x56,0x61,0x6c,0x69,0x64]));_0x5e10bd(),_0x435d1b[_0x1dc2b1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1dc2b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x465dc3=!0x1;const _0x52a563=ckeditor5['uid']();function _0x4a8a1a(_0x4e650b){return!!_0x4e650b&&(typeof _0x4e650b===_0x1dc2b1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e650b===_0x1dc2b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e650b[_0x1dc2b1([0x74,0x68,0x65,0x6e])]===_0x1dc2b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e650b[_0x1dc2b1([0x63,0x61,0x74,0x63,0x68])]===_0x1dc2b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x338f6d(_0x18ad68){_0xe27fe6(_0x18ad68)[_0x1dc2b1([0x74,0x68,0x65,0x6e])](_0x24d35c=>{if(!_0x24d35c||_0x24d35c[_0x1dc2b1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1dc2b1([0x6f,0x6b]))return _0x1dc2b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b9408(_0x2440c3(_0x52a563+_0x2309e4))!=_0x24d35c[_0x1dc2b1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1dc2b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1dc2b1([0x56,0x61,0x6c,0x69,0x64]);})[_0x1dc2b1([0x74,0x68,0x65,0x6e])](_0xf82dd9=>(_0x4119f7(),_0xf82dd9),()=>{const _0x5937e6=_0x59bf00();return null==_0x5937e6?(_0x4119f7(),_0x1dc2b1([0x56,0x61,0x6c,0x69,0x64])):_0x1dc2b1(_0x221d0b-_0x5937e6>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1dc2b1([0x74,0x68,0x65,0x6e])](_0x2a4710)[_0x1dc2b1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a4710(_0x1dc2b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ed6fd=0x36ee80;function _0x4119f7(){const _0x1be96f=_0x1dc2b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b9408(_0x2440c3(_0x49730e)),_0xa0343a=_0x4a4330(_0x1b9408(window[_0x1dc2b1([0x4d,0x61,0x74,0x68])][_0x1dc2b1([0x63,0x65,0x69,0x6c])](_0x221d0b/_0x1ed6fd)));window[_0x1dc2b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1dc2b1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1be96f,_0xa0343a);}function _0x59bf00(){const _0x4106e5=_0x1dc2b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b9408(_0x2440c3(_0x49730e)),_0x233cc2=window[_0x1dc2b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1dc2b1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4106e5);return _0x233cc2?window[_0x1dc2b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a4330(_0x233cc2),0x10)*_0x1ed6fd:null;}function _0xe27fe6(_0x3d3c11){return new window[(_0x1dc2b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35dd30,_0x42d8b6)=>{_0x3d3c11[_0x1dc2b1([0x74,0x68,0x65,0x6e])](_0x35dd30,_0x42d8b6),window[_0x1dc2b1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42d8b6,0x1d4c0);});}}_0x435d1b[_0x1dc2b1([0x6f,0x6e])](_0x1dc2b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x45b91c,_0x39791a)=>{if(_0x39791a[0x0]!=_0x49730e)return _0x2a4710(_0x1dc2b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39791a[0x1]={..._0x39791a[0x1],[_0x1dc2b1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52a563};},{[_0x1dc2b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1dc2b1([0x68,0x69,0x67,0x68])}),_0x435d1b[_0x1dc2b1([0x6f,0x6e])](_0x1dc2b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40dd28=>{_0x4a8a1a(_0x40dd28[_0x1dc2b1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x465dc3=!0x0,_0x338f6d(_0x40dd28[_0x1dc2b1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1dc2b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1dc2b1([0x6c,0x6f,0x77])}),_0x49b234[_0x1dc2b1([0x74,0x68,0x65,0x6e])](()=>{_0x465dc3||_0x2a4710(_0x1dc2b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x319c76(){return _0x435d1b[_0x1dc2b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1dc2b1([0x76,0x69,0x65,0x77])][_0x1dc2b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1dc2b1([0x61,0x75,0x74,0x6f]);}function _0x5e10bd(){_0x435d1b[_0x1dc2b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1dc2b1([0x76,0x69,0x65,0x77])][_0x1dc2b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1dc2b1([0x61,0x75,0x74,0x6f]);}}(_0x37795f[_0x1dc2b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x37795f[_0x1dc2b1([0x6a,0x74,0x69])]));const _0x32bd88=await(async function(){let _0x3ee471=!0x0;try{const _0x5e5cb1=_0x4d8e1f[_0x1dc2b1([0x73,0x70,0x6c,0x69,0x74])](_0x1dc2b1([0x2e])),[_0x2ca651,_0x376c4d,_0x4be697]=_0x5e5cb1;return _0x156dad(_0x2ca651),await _0x4eb6d6(_0x2ca651,_0x376c4d,_0x4be697),_0x3ee471;}catch{return!0x1;}function _0x156dad(_0x814a95){const _0x4e793e=_0x43d568(_0x814a95);_0x4e793e&&_0x4e793e[_0x1dc2b1([0x61,0x6c,0x67])]==_0x1dc2b1([0x45,0x53,0x32,0x35,0x36])||(_0x3ee471=!0x1);}async function _0x4eb6d6(_0x54c2d2,_0x2cdf0f,_0x4c1eee){const _0x297799=window[_0x1dc2b1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1dc2b1([0x66,0x72,0x6f,0x6d])](_0x1e226c(_0x4c1eee),_0x327be6=>_0x327be6[_0x1dc2b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c841f=new window[(_0x1dc2b1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1dc2b1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54c2d2+_0x1dc2b1([0x2e])+_0x2cdf0f),_0xb9c588=window[_0x1dc2b1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1dc2b1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb9c588)return;const _0x323ec9=await _0xb9c588[_0x1dc2b1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1dc2b1([0x6a,0x77,0x6b]),_0x24a0dd,{[_0x1dc2b1([0x6e,0x61,0x6d,0x65])]:_0x1dc2b1([0x45,0x43,0x44,0x53,0x41]),[_0x1dc2b1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1dc2b1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1dc2b1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb9c588[_0x1dc2b1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1dc2b1([0x6e,0x61,0x6d,0x65])]:_0x1dc2b1([0x45,0x43,0x44,0x53,0x41]),[_0x1dc2b1([0x68,0x61,0x73,0x68])]:{[_0x1dc2b1([0x6e,0x61,0x6d,0x65])]:_0x1dc2b1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x323ec9,_0x297799,_0x2c841f)||(_0x3ee471=!0x1);}}());return _0x32bd88?(function(){const _0x4a5326=_0x37795f[_0x1dc2b1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4a5326)return!0x1;if(_0x4a5326[_0x1dc2b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dc2b1([0x2a])))return!0x0;if(_0x4a5326[_0x1dc2b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dc2b1([0x53,0x43])))return!0x0;if(_0x4a5326[_0x1dc2b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dc2b1([0x50,0x50])))return!0x0;if(_0x4a5326[_0x1dc2b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dc2b1([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x1dc2b1([0x67,0x6c,0x6f,0x62])]&&window[_0x1dc2b1([0x67,0x6c,0x6f,0x62])][_0x1dc2b1([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x4b6866=[_0x1dc2b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1dc2b1([0x74,0x72,0x69,0x61,0x6c])][_0x1dc2b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37795f[_0x1dc2b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x221d0b/0x3e8:0x69b0b080;return _0x37795f[_0x1dc2b1([0x65,0x78,0x70])]<_0x4b6866;}())?_0x1dc2b1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x77bf4f=_0x37795f[_0x1dc2b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x77bf4f||0x0==_0x77bf4f[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2904d2}=new URL(window[_0x1dc2b1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x77bf4f[_0x1dc2b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2904d2))return!0x0;const _0x45c410=_0x2904d2[_0x1dc2b1([0x73,0x70,0x6c,0x69,0x74])](_0x1dc2b1([0x2e]));return _0x77bf4f[_0x1dc2b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x557e45=>_0x557e45[_0x1dc2b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dc2b1([0x2a])))[_0x1dc2b1([0x6d,0x61,0x70])](_0x32bb5e=>_0x32bb5e[_0x1dc2b1([0x73,0x70,0x6c,0x69,0x74])](_0x1dc2b1([0x2e])))[_0x1dc2b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd8090e=>_0xd8090e[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45c410[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1dc2b1([0x6d,0x61,0x70])](_0x5f023c=>Array(_0x45c410[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f023c[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1dc2b1([0x66,0x69,0x6c,0x6c])](_0x5f023c[0x0]===_0x1dc2b1([0x2a])?_0x1dc2b1([0x2a]):'')[_0x1dc2b1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f023c))[_0x1dc2b1([0x73,0x6f,0x6d,0x65])](_0x3383bb=>_0x45c410[_0x1dc2b1([0x65,0x76,0x65,0x72,0x79])]((_0x48051c,_0x1b9a85)=>_0x3383bb[_0x1b9a85]===_0x48051c||_0x3383bb[_0x1b9a85]===_0x1dc2b1([0x2a])));}())?(_0x37795f[_0x1dc2b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1dc2b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2428b5=function(_0x2a523e){const _0x495de8=new window[(_0x1dc2b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c5cd1=>setTimeout(_0x3c5cd1,0x93ecc)),_0x3c6a65=_0x49b234[_0x1dc2b1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1dc2b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1db403=>{let _0x44a893=0x0;_0x435d1b[_0x1dc2b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1dc2b1([0x6f,0x6e])](_0x1dc2b1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17fa24,_0x5c9738)=>{_0x5c9738[0x0][_0x1dc2b1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44a893++,0x5e8==_0x44a893&&(_0x1db403(),_0x17fa24[_0x1dc2b1([0x6f,0x66,0x66])]());});})),_0x26275c=[_0x495de8,_0x3c6a65];return window[_0x1dc2b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1dc2b1([0x72,0x61,0x63,0x65])](_0x26275c)[_0x1dc2b1([0x74,0x68,0x65,0x6e])](()=>_0x2a523e);}(_0x1dc2b1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x2428b5&&_0x42d26e)return new window[(_0x1dc2b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3dc811,_0xf58305)=>{_0x2428b5[_0x1dc2b1([0x74,0x68,0x65,0x6e])](_0x3dc811,_0xf58305),_0x42d26e[_0x1dc2b1([0x74,0x68,0x65,0x6e])](_0x6e3a1a=>{_0x6e3a1a!=_0x1dc2b1([0x56,0x61,0x6c,0x69,0x64])&&_0x3dc811(_0x6e3a1a);},_0xf58305);});return _0x2428b5||_0x42d26e||_0x1dc2b1([0x56,0x61,0x6c,0x69,0x64]);}())):_0x1dc2b1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1dc2b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1dc2b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1dc2b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x43d568(_0x211850){return _0x211850[_0x1dc2b1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1dc2b1([0x65,0x79]))?JSON[_0x1dc2b1([0x70,0x61,0x72,0x73,0x65])](_0x1e226c(_0x211850)):null;}function _0x1e226c(_0x3e1eb9){return window[_0x1dc2b1([0x61,0x74,0x6f,0x62])](_0x3e1eb9[_0x1dc2b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1dc2b1([0x2b]))[_0x1dc2b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1dc2b1([0x2f])));}function _0x2440c3(_0x52de6a){let _0x2e99d1=0x1505;function _0x3e3bfc(_0x2696b2){for(let _0x2df983=0x0;_0x2df983<_0x2696b2[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2df983++){const _0x5c58a9=_0x2696b2[_0x1dc2b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2df983);_0x2e99d1=(_0x2e99d1<<0x5)+_0x2e99d1+_0x5c58a9,_0x2e99d1&=_0x2e99d1;}}return function _0x2b9778(_0xdf9fc4){Array[_0x1dc2b1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xdf9fc4)?_0xdf9fc4[_0x1dc2b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b9778):_0xdf9fc4&&typeof _0xdf9fc4==_0x1dc2b1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1dc2b1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xdf9fc4)[_0x1dc2b1([0x73,0x6f,0x72,0x74])]()[_0x1dc2b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57f266,_0x3337b6])=>{_0x3e3bfc(_0x57f266),_0x2b9778(_0x3337b6);}):_0x3e3bfc(window[_0x1dc2b1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xdf9fc4));}(_0x52de6a),_0x2e99d1>>>0x0;}function _0x1b9408(_0x1caaaa){return _0x1caaaa[_0x1dc2b1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1dc2b1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1dc2b1([0x30]));}function _0x4a4330(_0x10c47d){return _0x10c47d[_0x1dc2b1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1dc2b1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1dc2b1([0x6a,0x6f,0x69,0x6e])]('');}function _0x359dea(){}function _0x1dc2b1(_0x2dd5f8){return _0x2dd5f8['map'](_0x2ec045=>String['fromCharCode'](_0x2ec045))['join']('');}!function(_0x6f2b3){const _0x5e0cca=(function(){const _0x4579a2=window[_0x1dc2b1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1dc2b1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1dc2b1([0x6e,0x6f,0x77])]())[_0x1dc2b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1dc2b1([0x2e]),'');let _0x59f2b8=_0x1dc2b1([0x75]);for(let _0x4807eb=0x0;_0x4807eb<_0x4579a2[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4807eb+=0x2){let _0x8ecb29=window[_0x1dc2b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4579a2[_0x1dc2b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4807eb,_0x4807eb+0x2));_0x8ecb29>=_0x1ef59b[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8ecb29-=_0x1ef59b[_0x1dc2b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59f2b8+=_0x1ef59b[_0x8ecb29];}return _0x59f2b8;}());_0x435d1b[_0x5e0cca]=_0x1dc2b1([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x6f2b3,_0x6f2b3!=_0x1dc2b1([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x49b234,_0x435d1b[_0x1dc2b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1dc2b1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x359dea,_0x435d1b[_0x1dc2b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1dc2b1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x359dea,_0x435d1b[_0x1dc2b1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1dc2b1([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x1389be);}class SlashCommandEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x124c66];}['getMatchingCommands'](_0x34ab0d){const _0xb89cc8=_0x34ab0d&&_0x34ab0d['toLowerCase']();let _0x331e1d=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x331e1d=_0x331e1d['filter'](_0x2b9f4a=>_0x2b9f4a['isEnabled']()),_0xb89cc8){const _0x5c22bb=[],_0xaed8f=[],_0xebc2b4=[],_0x21f7ab=[];for(const _0x4abb83 of _0x331e1d)_0x4abb83['id']['toLowerCase']()['includes'](_0xb89cc8)?_0x5c22bb['push'](_0x4abb83):_0x4abb83['title']['toLowerCase']()['includes'](_0xb89cc8)?_0xaed8f['push'](_0x4abb83):_0x4abb83['aliases']&&_0x4abb83['aliases']['some'](_0x2f0a86=>_0x2f0a86['toLowerCase']()['includes'](_0xb89cc8))?_0xebc2b4['push'](_0x4abb83):_0x4abb83['description']&&_0x4abb83['description']['toLowerCase']()['includes'](_0xb89cc8)&&_0x21f7ab['push'](_0x4abb83);_0x331e1d=_0x5c22bb['concat'](_0xaed8f,_0xebc2b4,_0x21f7ab);}return _0x331e1d;}}class SlashCommandButtonView extends ckeditor5['ButtonView']{constructor(_0x2db086,_0x2da939){super(_0x2db086),this['textPartView']=this['_createTextPartView'](_0x2db086,_0x2da939),void 0x0!==_0x2da939['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x2da939['isIconColorInherited']),this['set']({'icon':_0x2da939['icon']||ckeditor5['IconPlay'],'withText':!0x0,'label':_0x2da939['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x427270,_0x5549b0){const _0x1b8ac4=new ckeditor5['View'](_0x427270);return _0x1b8ac4['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x5549b0['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x5549b0['description']}]}]:[this['labelView']]}),_0x1b8ac4;}}class _0x348056 extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xcf860d){super(_0xcf860d),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x309af9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28fed6;for(const _0x3f21e9 in _0x309af9){const _0x420a93=_0x3f21e9,_0x40c134=_0x309af9[_0x420a93];if('slashCommandLicenseKeyValid'==_0x40c134||'slashCommandLicenseKeyInvalid'==_0x40c134||'slashCommandLicenseKeyExpired'==_0x40c134||'slashCommandLicenseKeyDomainLimit'==_0x40c134||'slashCommandLicenseKeyNotAllowed'==_0x40c134||'slashCommandLicenseKeyEvaluationLimit'==_0x40c134||'slashCommandLicenseKeyUsageLimit'==_0x40c134){delete _0x309af9[_0x420a93],_0x28fed6=_0x40c134,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x28fed6&&_0x309af9['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x28fed6&&_0x309af9['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x28fed6&&_0x309af9['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x28fed6&&_0x309af9['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x28fed6&&_0x309af9['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x28fed6&&_0x309af9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x2e165a=this['editor'],_0x7d6a04=this['editor']['plugins']['get']('SlashCommandEditing'),_0x14dc06=_0x2e165a['config']['get']('mention.feeds');_0x14dc06['push']({'marker':'/','feed':_0x4001bf=>_0x7d6a04['getMatchingCommands'](_0x4001bf),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x2e165a['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x2e165a['config']['set']('mention.feeds',_0x14dc06);}['_overrideMentionExecuteListener'](){const _0x22384c=this['editor'];_0x22384c['commands']['get']('mention')['on']('execute',(_0x32d626,_0x28803b)=>{const _0x301bc3=_0x28803b[0x0],_0x567b3e=_0x22384c['model'];'/'===_0x301bc3['marker']&&_0x567b3e['change'](_0x2f0685=>{_0x2f0685['remove'](_0x301bc3['range']),_0x301bc3['mention']['execute'](),_0x32d626['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x52d7f6){const _0x10f3e4=this['editor']['locale'],_0x5ecd65=new SlashCommandButtonView(_0x10f3e4,_0x52d7f6);return _0x5ecd65['render'](),_0x5ecd65['element'];}}class _0x252528 extends ckeditor5['Plugin']{static get['requires'](){return['Mention',SlashCommandEditing,_0x348056];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function getTranslation$3(_0x575cf6,_0x44f4c2){const t=_0x575cf6['t'];switch(_0x44f4c2){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 _0x44f4c2;}}function getActiveRootName(_0x9ee754){const _0x4a3c58=_0x9ee754['editing']['view']['document']['roots'],_0x22e78=_0x4a3c58['length'];if(0x0===_0x22e78)throw new ckeditor5['CKEditorError']('source-editing-enhanced-editor-no-root',_0x9ee754);if(0x1===_0x22e78)return _0x4a3c58['first']['rootName'];return Array['from'](_0x9ee754['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function formatSource(_0x237573){return isHtml(_0x237573)?ckeditor5['formatHtml'](_0x237573):_0x237573;}function unformatSource(_0x310bf7){return isHtml(_0x310bf7['replace'](/^[\n\s]*/g,''))?_0x310bf7['replace'](/\s+/g,''):_0x310bf7;}function isHtml(_0xd02dd8){return _0xd02dd8['startsWith']('<');}let _0x57f71c=[],_0x2b26cf=[];function isExtendingChar(_0x24c344){if(_0x24c344<0x300)return!0x1;for(let _0x54b33c=0x0,_0x35920c=_0x57f71c['length'];;){let _0xd858ad=_0x54b33c+_0x35920c>>0x1;if(_0x24c344<_0x57f71c[_0xd858ad])_0x35920c=_0xd858ad;else{if(!(_0x24c344>=_0x2b26cf[_0xd858ad]))return!0x0;_0x54b33c=_0xd858ad+0x1;}if(_0x54b33c==_0x35920c)return!0x1;}}function isRegionalIndicator(_0x23f701){return _0x23f701>=0x1f1e6&&_0x23f701<=0x1f1ff;}((()=>{let _0x387033='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'](_0x4d4ce7=>_0x4d4ce7?parseInt(_0x4d4ce7,0x24):0x1);for(let _0x3707bd=0x0,_0xad4247=0x0;_0x3707bd<_0x387033['length'];_0x3707bd++)(_0x3707bd%0x2?_0x2b26cf:_0x57f71c)['push'](_0xad4247+=_0x387033[_0x3707bd]);})());const _0x4b641d=0x200d;function findClusterBreak$1(_0x5f0118,_0x418bfd,_0x2dc06e=!0x0,_0x1a9262=!0x0){return(_0x2dc06e?nextClusterBreak:prevClusterBreak)(_0x5f0118,_0x418bfd,_0x1a9262);}function nextClusterBreak(_0x315b6c,_0x40e8ea,_0x3c0967){if(_0x40e8ea==_0x315b6c['length'])return _0x40e8ea;_0x40e8ea&&surrogateLow$1(_0x315b6c['charCodeAt'](_0x40e8ea))&&surrogateHigh$1(_0x315b6c['charCodeAt'](_0x40e8ea-0x1))&&_0x40e8ea--;let _0x3607f8=codePointAt$1(_0x315b6c,_0x40e8ea);for(_0x40e8ea+=codePointSize$1(_0x3607f8);_0x40e8ea<_0x315b6c['length'];){let _0x223426=codePointAt$1(_0x315b6c,_0x40e8ea);if(_0x3607f8==_0x4b641d||_0x223426==_0x4b641d||_0x3c0967&&isExtendingChar(_0x223426))_0x40e8ea+=codePointSize$1(_0x223426),_0x3607f8=_0x223426;else{if(!isRegionalIndicator(_0x223426))break;{let _0x2ff5ad=0x0,_0xd84afa=_0x40e8ea-0x2;for(;_0xd84afa>=0x0&&isRegionalIndicator(codePointAt$1(_0x315b6c,_0xd84afa));)_0x2ff5ad++,_0xd84afa-=0x2;if(_0x2ff5ad%0x2==0x0)break;_0x40e8ea+=0x2;}}}return _0x40e8ea;}function prevClusterBreak(_0x30ecf1,_0x1afc51,_0x485f6c){for(;_0x1afc51>0x0;){let _0x565926=nextClusterBreak(_0x30ecf1,_0x1afc51-0x2,_0x485f6c);if(_0x565926<_0x1afc51)return _0x565926;_0x1afc51--;}return 0x0;}function codePointAt$1(_0x34b66b,_0x3845e0){let _0x28a24d=_0x34b66b['charCodeAt'](_0x3845e0);if(!surrogateHigh$1(_0x28a24d)||_0x3845e0+0x1==_0x34b66b['length'])return _0x28a24d;let _0xa3d298=_0x34b66b['charCodeAt'](_0x3845e0+0x1);return surrogateLow$1(_0xa3d298)?_0xa3d298-0xdc00+(_0x28a24d-0xd800<<0xa)+0x10000:_0x28a24d;}function surrogateLow$1(_0x2465fc){return _0x2465fc>=0xdc00&&_0x2465fc<0xe000;}function surrogateHigh$1(_0x3de700){return _0x3de700>=0xd800&&_0x3de700<0xdc00;}function codePointSize$1(_0x394a98){return _0x394a98<0x10000?0x1:0x2;}class Text{['lineAt'](_0x38bb0f){if(_0x38bb0f<0x0||_0x38bb0f>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x38bb0f+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x38bb0f,!0x1,0x1,0x0);}['line'](_0x5e6b58){if(_0x5e6b58<0x1||_0x5e6b58>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x5e6b58+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x5e6b58,!0x0,0x1,0x0);}['replace'](_0x154fd3,_0x129acb,_0x19f21b){[_0x154fd3,_0x129acb]=_0x41e867(this,_0x154fd3,_0x129acb);let _0x49e06b=[];return this['decompose'](0x0,_0x154fd3,_0x49e06b,0x2),_0x19f21b['length']&&_0x19f21b['decompose'](0x0,_0x19f21b['length'],_0x49e06b,0x3),this['decompose'](_0x129acb,this['length'],_0x49e06b,0x1),TextNode['from'](_0x49e06b,this['length']-(_0x129acb-_0x154fd3)+_0x19f21b['length']);}['append'](_0x147d20){return this['replace'](this['length'],this['length'],_0x147d20);}['slice'](_0x1974de,_0x36d842=this['length']){[_0x1974de,_0x36d842]=_0x41e867(this,_0x1974de,_0x36d842);let _0x240ba0=[];return this['decompose'](_0x1974de,_0x36d842,_0x240ba0,0x0),TextNode['from'](_0x240ba0,_0x36d842-_0x1974de);}['eq'](_0x3ba444){if(_0x3ba444==this)return!0x0;if(_0x3ba444['length']!=this['length']||_0x3ba444['lines']!=this['lines'])return!0x1;let _0x1d9cda=this['scanIdentical'](_0x3ba444,0x1),_0x36788b=this['length']-this['scanIdentical'](_0x3ba444,-0x1),_0x5590dd=new RawTextCursor(this),_0x4c99c2=new RawTextCursor(_0x3ba444);for(let _0x1a8c04=_0x1d9cda,_0x55d7a0=_0x1d9cda;;){if(_0x5590dd['next'](_0x1a8c04),_0x4c99c2['next'](_0x1a8c04),_0x1a8c04=0x0,_0x5590dd['lineBreak']!=_0x4c99c2['lineBreak']||_0x5590dd['done']!=_0x4c99c2['done']||_0x5590dd['value']!=_0x4c99c2['value'])return!0x1;if(_0x55d7a0+=_0x5590dd['value']['length'],_0x5590dd['done']||_0x55d7a0>=_0x36788b)return!0x0;}}['iter'](_0xa9b7cd=0x1){return new RawTextCursor(this,_0xa9b7cd);}['iterRange'](_0x4a4807,_0x365a72=this['length']){return new PartialTextCursor(this,_0x4a4807,_0x365a72);}['iterLines'](_0x2133f1,_0x2d0420){let _0x441b31;if(null==_0x2133f1)_0x441b31=this['iter']();else{null==_0x2d0420&&(_0x2d0420=this['lines']+0x1);let _0x3bb3a3=this['line'](_0x2133f1)['from'];_0x441b31=this['iterRange'](_0x3bb3a3,Math['max'](_0x3bb3a3,_0x2d0420==this['lines']+0x1?this['length']:_0x2d0420<=0x1?0x0:this['line'](_0x2d0420-0x1)['to']));}return new _0x1111fb(_0x441b31);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x4eb418=[];return this['flatten'](_0x4eb418),_0x4eb418;}constructor(){}static['of'](_0x1f96a4){if(0x0==_0x1f96a4['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x1f96a4['length']||_0x1f96a4[0x0]?_0x1f96a4['length']<=0x20?new TextLeaf(_0x1f96a4):TextNode['from'](TextLeaf['split'](_0x1f96a4,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x105893,_0x385f91=textLength(_0x105893)){super(),this['text']=_0x105893,this['length']=_0x385f91;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x15ecf5,_0x5d71a5,_0x5d8a8f,_0x1d64c6){for(let _0x360be1=0x0;;_0x360be1++){let _0x43adb5=this['text'][_0x360be1],_0x569fb7=_0x1d64c6+_0x43adb5['length'];if((_0x5d71a5?_0x5d8a8f:_0x569fb7)>=_0x15ecf5)return new _0x3a9785(_0x1d64c6,_0x569fb7,_0x5d8a8f,_0x43adb5);_0x1d64c6=_0x569fb7+0x1,_0x5d8a8f++;}}['decompose'](_0xabfe1,_0x17c340,_0x8dce,_0x56bc70){let _0x5f3012=_0xabfe1<=0x0&&_0x17c340>=this['length']?this:new TextLeaf(sliceText(this['text'],_0xabfe1,_0x17c340),Math['min'](_0x17c340,this['length'])-Math['max'](0x0,_0xabfe1));if(0x1&_0x56bc70){let _0x16ea3e=_0x8dce['pop'](),_0x52a755=appendText(_0x5f3012['text'],_0x16ea3e['text']['slice'](),0x0,_0x5f3012['length']);if(_0x52a755['length']<=0x20)_0x8dce['push'](new TextLeaf(_0x52a755,_0x16ea3e['length']+_0x5f3012['length']));else{let _0x2a72e7=_0x52a755['length']>>0x1;_0x8dce['push'](new TextLeaf(_0x52a755['slice'](0x0,_0x2a72e7)),new TextLeaf(_0x52a755['slice'](_0x2a72e7)));}}else _0x8dce['push'](_0x5f3012);}['replace'](_0x3d534a,_0x6ab9a,_0xfa5ded){if(!(_0xfa5ded instanceof TextLeaf))return super['replace'](_0x3d534a,_0x6ab9a,_0xfa5ded);[_0x3d534a,_0x6ab9a]=_0x41e867(this,_0x3d534a,_0x6ab9a);let _0xd05983=appendText(this['text'],appendText(_0xfa5ded['text'],sliceText(this['text'],0x0,_0x3d534a)),_0x6ab9a),_0x5b900e=this['length']+_0xfa5ded['length']-(_0x6ab9a-_0x3d534a);return _0xd05983['length']<=0x20?new TextLeaf(_0xd05983,_0x5b900e):TextNode['from'](TextLeaf['split'](_0xd05983,[]),_0x5b900e);}['sliceString'](_0x23a486,_0x43857d=this['length'],_0x229689='\x0a'){[_0x23a486,_0x43857d]=_0x41e867(this,_0x23a486,_0x43857d);let _0x350586='';for(let _0x3df5df=0x0,_0x2baeb3=0x0;_0x3df5df<=_0x43857d&&_0x2baeb3<this['text']['length'];_0x2baeb3++){let _0x420071=this['text'][_0x2baeb3],_0x212dee=_0x3df5df+_0x420071['length'];_0x3df5df>_0x23a486&&_0x2baeb3&&(_0x350586+=_0x229689),_0x23a486<_0x212dee&&_0x43857d>_0x3df5df&&(_0x350586+=_0x420071['slice'](Math['max'](0x0,_0x23a486-_0x3df5df),_0x43857d-_0x3df5df)),_0x3df5df=_0x212dee+0x1;}return _0x350586;}['flatten'](_0x578b19){for(let _0x488d79 of this['text'])_0x578b19['push'](_0x488d79);}['scanIdentical'](){return 0x0;}static['split'](_0x3dc137,_0x432669){let _0x24829a=[],_0x4a30f6=-0x1;for(let _0x1f5d95 of _0x3dc137)_0x24829a['push'](_0x1f5d95),_0x4a30f6+=_0x1f5d95['length']+0x1,0x20==_0x24829a['length']&&(_0x432669['push'](new TextLeaf(_0x24829a,_0x4a30f6)),_0x24829a=[],_0x4a30f6=-0x1);return _0x4a30f6>-0x1&&_0x432669['push'](new TextLeaf(_0x24829a,_0x4a30f6)),_0x432669;}}class TextNode extends Text{constructor(_0x5d1e76,_0x148180){super(),this['children']=_0x5d1e76,this['length']=_0x148180,this['lines']=0x0;for(let _0x225c61 of _0x5d1e76)this['lines']+=_0x225c61['lines'];}['lineInner'](_0x28cd83,_0x4dc9c4,_0x4675cd,_0x4d648e){for(let _0x1cf84b=0x0;;_0x1cf84b++){let _0x331c69=this['children'][_0x1cf84b],_0x1a3f9f=_0x4d648e+_0x331c69['length'],_0x3095a7=_0x4675cd+_0x331c69['lines']-0x1;if((_0x4dc9c4?_0x3095a7:_0x1a3f9f)>=_0x28cd83)return _0x331c69['lineInner'](_0x28cd83,_0x4dc9c4,_0x4675cd,_0x4d648e);_0x4d648e=_0x1a3f9f+0x1,_0x4675cd=_0x3095a7+0x1;}}['decompose'](_0x2ee778,_0x4d9472,_0x8ec254,_0x202d3e){for(let _0xe2273b=0x0,_0x121549=0x0;_0x121549<=_0x4d9472&&_0xe2273b<this['children']['length'];_0xe2273b++){let _0x2a7477=this['children'][_0xe2273b],_0x6c277f=_0x121549+_0x2a7477['length'];if(_0x2ee778<=_0x6c277f&&_0x4d9472>=_0x121549){let _0x4de82f=_0x202d3e&((_0x121549<=_0x2ee778?0x1:0x0)|(_0x6c277f>=_0x4d9472?0x2:0x0));_0x121549>=_0x2ee778&&_0x6c277f<=_0x4d9472&&!_0x4de82f?_0x8ec254['push'](_0x2a7477):_0x2a7477['decompose'](_0x2ee778-_0x121549,_0x4d9472-_0x121549,_0x8ec254,_0x4de82f);}_0x121549=_0x6c277f+0x1;}}['replace'](_0x3b0786,_0x213ad7,_0xd5b68d){if([_0x3b0786,_0x213ad7]=_0x41e867(this,_0x3b0786,_0x213ad7),_0xd5b68d['lines']<this['lines'])for(let _0x324a42=0x0,_0x1671a8=0x0;_0x324a42<this['children']['length'];_0x324a42++){let _0x895cc2=this['children'][_0x324a42],_0xe1e935=_0x1671a8+_0x895cc2['length'];if(_0x3b0786>=_0x1671a8&&_0x213ad7<=_0xe1e935){let _0x164ddd=_0x895cc2['replace'](_0x3b0786-_0x1671a8,_0x213ad7-_0x1671a8,_0xd5b68d),_0x381d7e=this['lines']-_0x895cc2['lines']+_0x164ddd['lines'];if(_0x164ddd['lines']<_0x381d7e>>0x4&&_0x164ddd['lines']>_0x381d7e>>0x6){let _0x28050=this['children']['slice']();return _0x28050[_0x324a42]=_0x164ddd,new TextNode(_0x28050,this['length']-(_0x213ad7-_0x3b0786)+_0xd5b68d['length']);}return super['replace'](_0x1671a8,_0xe1e935,_0x164ddd);}_0x1671a8=_0xe1e935+0x1;}return super['replace'](_0x3b0786,_0x213ad7,_0xd5b68d);}['sliceString'](_0x445153,_0x5d6524=this['length'],_0x30f794='\x0a'){[_0x445153,_0x5d6524]=_0x41e867(this,_0x445153,_0x5d6524);let _0x2327cc='';for(let _0x291e92=0x0,_0x3b7dc5=0x0;_0x291e92<this['children']['length']&&_0x3b7dc5<=_0x5d6524;_0x291e92++){let _0xfcd023=this['children'][_0x291e92],_0x267510=_0x3b7dc5+_0xfcd023['length'];_0x3b7dc5>_0x445153&&_0x291e92&&(_0x2327cc+=_0x30f794),_0x445153<_0x267510&&_0x5d6524>_0x3b7dc5&&(_0x2327cc+=_0xfcd023['sliceString'](_0x445153-_0x3b7dc5,_0x5d6524-_0x3b7dc5,_0x30f794)),_0x3b7dc5=_0x267510+0x1;}return _0x2327cc;}['flatten'](_0x3e80f1){for(let _0x1d32f5 of this['children'])_0x1d32f5['flatten'](_0x3e80f1);}['scanIdentical'](_0x119603,_0x3951a8){if(!(_0x119603 instanceof TextNode))return 0x0;let _0xc67150=0x0,[_0x3d2e85,_0x2eaee8,_0x3b95de,_0x3602ac]=_0x3951a8>0x0?[0x0,0x0,this['children']['length'],_0x119603['children']['length']]:[this['children']['length']-0x1,_0x119603['children']['length']-0x1,-0x1,-0x1];for(;;_0x3d2e85+=_0x3951a8,_0x2eaee8+=_0x3951a8){if(_0x3d2e85==_0x3b95de||_0x2eaee8==_0x3602ac)return _0xc67150;let _0x3db677=this['children'][_0x3d2e85],_0x4ac4b8=_0x119603['children'][_0x2eaee8];if(_0x3db677!=_0x4ac4b8)return _0xc67150+_0x3db677['scanIdentical'](_0x4ac4b8,_0x3951a8);_0xc67150+=_0x3db677['length']+0x1;}}static['from'](_0x71dce7,_0x24348e=_0x71dce7['reduce']((_0x58dffb,_0x77db31)=>_0x58dffb+_0x77db31['length']+0x1,-0x1)){let _0x47560f=0x0;for(let _0x4022bb of _0x71dce7)_0x47560f+=_0x4022bb['lines'];if(_0x47560f<0x20){let _0x3feeab=[];for(let _0x1c5ebf of _0x71dce7)_0x1c5ebf['flatten'](_0x3feeab);return new TextLeaf(_0x3feeab,_0x24348e);}let _0x1369ed=Math['max'](0x20,_0x47560f>>0x5),_0x36f108=_0x1369ed<<0x1,_0x24070f=_0x1369ed>>0x1,_0x126aa7=[],_0x22de26=0x0,_0xee97c9=-0x1,_0x2f0389=[];function _0xce0e19(_0x164424){let _0x32e9fc;if(_0x164424['lines']>_0x36f108&&_0x164424 instanceof TextNode){for(let _0x23bbed of _0x164424['children'])_0xce0e19(_0x23bbed);}else _0x164424['lines']>_0x24070f&&(_0x22de26>_0x24070f||!_0x22de26)?(_0x499749(),_0x126aa7['push'](_0x164424)):_0x164424 instanceof TextLeaf&&_0x22de26&&(_0x32e9fc=_0x2f0389[_0x2f0389['length']-0x1])instanceof TextLeaf&&_0x164424['lines']+_0x32e9fc['lines']<=0x20?(_0x22de26+=_0x164424['lines'],_0xee97c9+=_0x164424['length']+0x1,_0x2f0389[_0x2f0389['length']-0x1]=new TextLeaf(_0x32e9fc['text']['concat'](_0x164424['text']),_0x32e9fc['length']+0x1+_0x164424['length'])):(_0x22de26+_0x164424['lines']>_0x1369ed&&_0x499749(),_0x22de26+=_0x164424['lines'],_0xee97c9+=_0x164424['length']+0x1,_0x2f0389['push'](_0x164424));}function _0x499749(){0x0!=_0x22de26&&(_0x126aa7['push'](0x1==_0x2f0389['length']?_0x2f0389[0x0]:TextNode['from'](_0x2f0389,_0xee97c9)),_0xee97c9=-0x1,_0x22de26=_0x2f0389['length']=0x0);}for(let _0x387e88 of _0x71dce7)_0xce0e19(_0x387e88);return _0x499749(),0x1==_0x126aa7['length']?_0x126aa7[0x0]:new TextNode(_0x126aa7,_0x24348e);}}function textLength(_0x392b3f){let _0x21d430=-0x1;for(let _0x140f9a of _0x392b3f)_0x21d430+=_0x140f9a['length']+0x1;return _0x21d430;}function appendText(_0x445a3b,_0x2aeaac,_0x4b0594=0x0,_0x243687=0x3b9aca00){for(let _0xf636e6=0x0,_0x16e2d2=0x0,_0x30da9c=!0x0;_0x16e2d2<_0x445a3b['length']&&_0xf636e6<=_0x243687;_0x16e2d2++){let _0x169300=_0x445a3b[_0x16e2d2],_0x50cf26=_0xf636e6+_0x169300['length'];_0x50cf26>=_0x4b0594&&(_0x50cf26>_0x243687&&(_0x169300=_0x169300['slice'](0x0,_0x243687-_0xf636e6)),_0xf636e6<_0x4b0594&&(_0x169300=_0x169300['slice'](_0x4b0594-_0xf636e6)),_0x30da9c?(_0x2aeaac[_0x2aeaac['length']-0x1]+=_0x169300,_0x30da9c=!0x1):_0x2aeaac['push'](_0x169300)),_0xf636e6=_0x50cf26+0x1;}return _0x2aeaac;}function sliceText(_0x3591fd,_0x53c841,_0x3c71d7){return appendText(_0x3591fd,[''],_0x53c841,_0x3c71d7);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x1bed5b,_0x59545e=0x1){this['dir']=_0x59545e,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x1bed5b],this['offsets']=[_0x59545e>0x0?0x1:(_0x1bed5b instanceof TextLeaf?_0x1bed5b['text']['length']:_0x1bed5b['children']['length'])<<0x1];}['nextInner'](_0x275fe0,_0x54f8b5){for(this['done']=this['lineBreak']=!0x1;;){let _0x1f5b83=this['nodes']['length']-0x1,_0x3fae3b=this['nodes'][_0x1f5b83],_0x235b72=this['offsets'][_0x1f5b83],_0x57d60f=_0x235b72>>0x1,_0x358cd9=_0x3fae3b instanceof TextLeaf?_0x3fae3b['text']['length']:_0x3fae3b['children']['length'];if(_0x57d60f==(_0x54f8b5>0x0?_0x358cd9:0x0)){if(0x0==_0x1f5b83)return this['done']=!0x0,this['value']='',this;_0x54f8b5>0x0&&this['offsets'][_0x1f5b83-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x235b72)==(_0x54f8b5>0x0?0x0:0x1)){if(this['offsets'][_0x1f5b83]+=_0x54f8b5,0x0==_0x275fe0)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x275fe0--;}else{if(_0x3fae3b instanceof TextLeaf){let _0x82bab=_0x3fae3b['text'][_0x57d60f+(_0x54f8b5<0x0?-0x1:0x0)];if(this['offsets'][_0x1f5b83]+=_0x54f8b5,_0x82bab['length']>Math['max'](0x0,_0x275fe0))return this['value']=0x0==_0x275fe0?_0x82bab:_0x54f8b5>0x0?_0x82bab['slice'](_0x275fe0):_0x82bab['slice'](0x0,_0x82bab['length']-_0x275fe0),this;_0x275fe0-=_0x82bab['length'];}else{let _0x95f7a6=_0x3fae3b['children'][_0x57d60f+(_0x54f8b5<0x0?-0x1:0x0)];_0x275fe0>_0x95f7a6['length']?(_0x275fe0-=_0x95f7a6['length'],this['offsets'][_0x1f5b83]+=_0x54f8b5):(_0x54f8b5<0x0&&this['offsets'][_0x1f5b83]--,this['nodes']['push'](_0x95f7a6),this['offsets']['push'](_0x54f8b5>0x0?0x1:(_0x95f7a6 instanceof TextLeaf?_0x95f7a6['text']['length']:_0x95f7a6['children']['length'])<<0x1));}}}}}['next'](_0x22df7b=0x0){return _0x22df7b<0x0&&(this['nextInner'](-_0x22df7b,-this['dir']),_0x22df7b=this['value']['length']),this['nextInner'](_0x22df7b,this['dir']);}}class PartialTextCursor{constructor(_0x39f7a5,_0x512ae4,_0x28034f){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x39f7a5,_0x512ae4>_0x28034f?-0x1:0x1),this['pos']=_0x512ae4>_0x28034f?_0x39f7a5['length']:0x0,this['from']=Math['min'](_0x512ae4,_0x28034f),this['to']=Math['max'](_0x512ae4,_0x28034f);}['nextInner'](_0x4725e2,_0x7b7b24){if(_0x7b7b24<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x4725e2+=Math['max'](0x0,_0x7b7b24<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x344f4a=_0x7b7b24<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x4725e2>_0x344f4a&&(_0x4725e2=_0x344f4a),_0x344f4a-=_0x4725e2;let {value:_0x1c8e94}=this['cursor']['next'](_0x4725e2);return this['pos']+=(_0x1c8e94['length']+_0x4725e2)*_0x7b7b24,this['value']=_0x1c8e94['length']<=_0x344f4a?_0x1c8e94:_0x7b7b24<0x0?_0x1c8e94['slice'](_0x1c8e94['length']-_0x344f4a):_0x1c8e94['slice'](0x0,_0x344f4a),this['done']=!this['value'],this;}['next'](_0x3e857d=0x0){return _0x3e857d<0x0?_0x3e857d=Math['max'](_0x3e857d,this['from']-this['pos']):_0x3e857d>0x0&&(_0x3e857d=Math['min'](_0x3e857d,this['to']-this['pos'])),this['nextInner'](_0x3e857d,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x1111fb{constructor(_0x45444b){this['inner']=_0x45444b,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x5c9474=0x0){let {done:_0x244c3d,lineBreak:_0x4a5a39,value:_0x5b217d}=this['inner']['next'](_0x5c9474);return _0x244c3d&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x244c3d?(this['done']=!0x0,this['value']=''):_0x4a5a39?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x5b217d,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(Text['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=_0x1111fb['prototype'][Symbol['iterator']]=function(){return this;});let _0x3a9785=class{constructor(_0x2f8e2b,_0x4faca6,_0xadd026,_0xb26fbf){this['from']=_0x2f8e2b,this['to']=_0x4faca6,this['number']=_0xadd026,this['text']=_0xb26fbf;}get['length'](){return this['to']-this['from'];}};function _0x41e867(_0x53e0b3,_0x28129e,_0xbb7c1c){return[_0x28129e=Math['max'](0x0,Math['min'](_0x53e0b3['length'],_0x28129e)),Math['max'](_0x28129e,Math['min'](_0x53e0b3['length'],_0xbb7c1c))];}function findClusterBreak(_0x47e7f9,_0x261bc9,_0x2d5df1=!0x0,_0x29a019=!0x0){return findClusterBreak$1(_0x47e7f9,_0x261bc9,_0x2d5df1,_0x29a019);}function surrogateLow(_0x279204){return _0x279204>=0xdc00&&_0x279204<0xe000;}function surrogateHigh(_0x2e7423){return _0x2e7423>=0xd800&&_0x2e7423<0xdc00;}function codePointAt(_0x4c1648,_0x10b723){let _0x52f0f1=_0x4c1648['charCodeAt'](_0x10b723);if(!surrogateHigh(_0x52f0f1)||_0x10b723+0x1==_0x4c1648['length'])return _0x52f0f1;let _0x58f81c=_0x4c1648['charCodeAt'](_0x10b723+0x1);return surrogateLow(_0x58f81c)?_0x58f81c-0xdc00+(_0x52f0f1-0xd800<<0xa)+0x10000:_0x52f0f1;}function fromCodePoint(_0xc1f380){return _0xc1f380<=0xffff?String['fromCharCode'](_0xc1f380):(_0xc1f380-=0x10000,String['fromCharCode'](0xd800+(_0xc1f380>>0xa),0xdc00+(0x3ff&_0xc1f380)));}function codePointSize(_0x495ec7){return _0x495ec7<0x10000?0x1:0x2;}const DefaultSplit=/\r\n?|\n/;var _0x270cd3=function(_0x16f618){return _0x16f618[_0x16f618['Simple']=0x0]='Simple',_0x16f618[_0x16f618['TrackDel']=0x1]='TrackDel',_0x16f618[_0x16f618['TrackBefore']=0x2]='TrackBefore',_0x16f618[_0x16f618['TrackAfter']=0x3]='TrackAfter',_0x16f618;}(_0x270cd3||(_0x270cd3={}));class _0x4000ab{constructor(_0x2cfb5e){this['sections']=_0x2cfb5e;}get['length'](){let _0x1a8726=0x0;for(let _0x42101c=0x0;_0x42101c<this['sections']['length'];_0x42101c+=0x2)_0x1a8726+=this['sections'][_0x42101c];return _0x1a8726;}get['newLength'](){let _0x15454b=0x0;for(let _0x501288=0x0;_0x501288<this['sections']['length'];_0x501288+=0x2){let _0x169259=this['sections'][_0x501288+0x1];_0x15454b+=_0x169259<0x0?this['sections'][_0x501288]:_0x169259;}return _0x15454b;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x170752){for(let _0x3ce199=0x0,_0x8379e4=0x0,_0x4e30ff=0x0;_0x3ce199<this['sections']['length'];){let _0x369ba6=this['sections'][_0x3ce199++],_0xcf8529=this['sections'][_0x3ce199++];_0xcf8529<0x0?(_0x170752(_0x8379e4,_0x4e30ff,_0x369ba6),_0x4e30ff+=_0x369ba6):_0x4e30ff+=_0xcf8529,_0x8379e4+=_0x369ba6;}}['iterChangedRanges'](_0x1f0cc,_0x1ca9c6=!0x1){iterChanges(this,_0x1f0cc,_0x1ca9c6);}get['invertedDesc'](){let _0x41e433=[];for(let _0x3c1408=0x0;_0x3c1408<this['sections']['length'];){let _0x560a13=this['sections'][_0x3c1408++],_0x3e3559=this['sections'][_0x3c1408++];_0x3e3559<0x0?_0x41e433['push'](_0x560a13,_0x3e3559):_0x41e433['push'](_0x3e3559,_0x560a13);}return new _0x4000ab(_0x41e433);}['composeDesc'](_0xb620d4){return this['empty']?_0xb620d4:_0xb620d4['empty']?this:composeSets(this,_0xb620d4);}['mapDesc'](_0x590ef1,_0x37cd4f=!0x1){return _0x590ef1['empty']?this:mapSet(this,_0x590ef1,_0x37cd4f);}['mapPos'](_0x4c4112,_0x21177b=-0x1,_0x5a9ade=_0x270cd3['Simple']){let _0x1439e1=0x0,_0x1643f2=0x0;for(let _0x2b6a8d=0x0;_0x2b6a8d<this['sections']['length'];){let _0x1ac68a=this['sections'][_0x2b6a8d++],_0x445717=this['sections'][_0x2b6a8d++],_0x40ba5b=_0x1439e1+_0x1ac68a;if(_0x445717<0x0){if(_0x40ba5b>_0x4c4112)return _0x1643f2+(_0x4c4112-_0x1439e1);_0x1643f2+=_0x1ac68a;}else{if(_0x5a9ade!=_0x270cd3['Simple']&&_0x40ba5b>=_0x4c4112&&(_0x5a9ade==_0x270cd3['TrackDel']&&_0x1439e1<_0x4c4112&&_0x40ba5b>_0x4c4112||_0x5a9ade==_0x270cd3['TrackBefore']&&_0x1439e1<_0x4c4112||_0x5a9ade==_0x270cd3['TrackAfter']&&_0x40ba5b>_0x4c4112))return null;if(_0x40ba5b>_0x4c4112||_0x40ba5b==_0x4c4112&&_0x21177b<0x0&&!_0x1ac68a)return _0x4c4112==_0x1439e1||_0x21177b<0x0?_0x1643f2:_0x1643f2+_0x445717;_0x1643f2+=_0x445717;}_0x1439e1=_0x40ba5b;}if(_0x4c4112>_0x1439e1)throw new RangeError('Position\x20'+_0x4c4112+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x1439e1);return _0x1643f2;}['touchesRange'](_0x20202a,_0x29924a=_0x20202a){for(let _0x259140=0x0,_0x1fc9fd=0x0;_0x259140<this['sections']['length']&&_0x1fc9fd<=_0x29924a;){let _0x4b23fe=_0x1fc9fd+this['sections'][_0x259140++];if(this['sections'][_0x259140++]>=0x0&&_0x1fc9fd<=_0x29924a&&_0x4b23fe>=_0x20202a)return!(_0x1fc9fd<_0x20202a&&_0x4b23fe>_0x29924a)||'cover';_0x1fc9fd=_0x4b23fe;}return!0x1;}['toString'](){let _0x2ddefd='';for(let _0x22b989=0x0;_0x22b989<this['sections']['length'];){let _0x7e25cc=this['sections'][_0x22b989++],_0x45f7b8=this['sections'][_0x22b989++];_0x2ddefd+=(_0x2ddefd?'\x20':'')+_0x7e25cc+(_0x45f7b8>=0x0?':'+_0x45f7b8:'');}return _0x2ddefd;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x2aa1a6){if(!Array['isArray'](_0x2aa1a6)||_0x2aa1a6['length']%0x2||_0x2aa1a6['some'](_0x5b43f6=>'number'!=typeof _0x5b43f6))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x4000ab(_0x2aa1a6);}static['create'](_0x1ae489){return new _0x4000ab(_0x1ae489);}}class ChangeSet extends _0x4000ab{constructor(_0x3dfa96,_0x5cc0ac){super(_0x3dfa96),this['inserted']=_0x5cc0ac;}['apply'](_0x10b405){if(this['length']!=_0x10b405['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return iterChanges(this,(_0x57fd56,_0x22ede7,_0x3f6da5,_0x30fbd7,_0x17930b)=>_0x10b405=_0x10b405['replace'](_0x3f6da5,_0x3f6da5+(_0x22ede7-_0x57fd56),_0x17930b),!0x1),_0x10b405;}['mapDesc'](_0x331e0a,_0x5c2fd2=!0x1){return mapSet(this,_0x331e0a,_0x5c2fd2,!0x0);}['invert'](_0x1b1d81){let _0x5babdb=this['sections']['slice'](),_0x43bacf=[];for(let _0x305eb8=0x0,_0x13befa=0x0;_0x305eb8<_0x5babdb['length'];_0x305eb8+=0x2){let _0x424933=_0x5babdb[_0x305eb8],_0x31acd9=_0x5babdb[_0x305eb8+0x1];if(_0x31acd9>=0x0){_0x5babdb[_0x305eb8]=_0x31acd9,_0x5babdb[_0x305eb8+0x1]=_0x424933;let _0x5036a8=_0x305eb8>>0x1;for(;_0x43bacf['length']<_0x5036a8;)_0x43bacf['push'](Text['empty']);_0x43bacf['push'](_0x424933?_0x1b1d81['slice'](_0x13befa,_0x13befa+_0x424933):Text['empty']);}_0x13befa+=_0x424933;}return new ChangeSet(_0x5babdb,_0x43bacf);}['compose'](_0x40e64e){return this['empty']?_0x40e64e:_0x40e64e['empty']?this:composeSets(this,_0x40e64e,!0x0);}['map'](_0x3b0aa8,_0x22226e=!0x1){return _0x3b0aa8['empty']?this:mapSet(this,_0x3b0aa8,_0x22226e,!0x0);}['iterChanges'](_0x3ae795,_0x3868e5=!0x1){iterChanges(this,_0x3ae795,_0x3868e5);}get['desc'](){return _0x4000ab['create'](this['sections']);}['filter'](_0x596c3c){let _0x3de040=[],_0x5ebb09=[],_0xb5dac1=[],_0x17f84a=new SectionIter(this);t:for(let _0x386834=0x0,_0x40ea25=0x0;;){let _0x5180ec=_0x386834==_0x596c3c['length']?0x3b9aca00:_0x596c3c[_0x386834++];for(;_0x40ea25<_0x5180ec||_0x40ea25==_0x5180ec&&0x0==_0x17f84a['len'];){if(_0x17f84a['done'])break t;let _0x543b30=Math['min'](_0x17f84a['len'],_0x5180ec-_0x40ea25);addSection(_0xb5dac1,_0x543b30,-0x1);let _0x689175=-0x1==_0x17f84a['ins']?-0x1:0x0==_0x17f84a['off']?_0x17f84a['ins']:0x0;addSection(_0x3de040,_0x543b30,_0x689175),_0x689175>0x0&&addInsert(_0x5ebb09,_0x3de040,_0x17f84a['text']),_0x17f84a['forward'](_0x543b30),_0x40ea25+=_0x543b30;}let _0xd8fa91=_0x596c3c[_0x386834++];for(;_0x40ea25<_0xd8fa91;){if(_0x17f84a['done'])break t;let _0x3b0ed9=Math['min'](_0x17f84a['len'],_0xd8fa91-_0x40ea25);addSection(_0x3de040,_0x3b0ed9,-0x1),addSection(_0xb5dac1,_0x3b0ed9,-0x1==_0x17f84a['ins']?-0x1:0x0==_0x17f84a['off']?_0x17f84a['ins']:0x0),_0x17f84a['forward'](_0x3b0ed9),_0x40ea25+=_0x3b0ed9;}}return{'changes':new ChangeSet(_0x3de040,_0x5ebb09),'filtered':_0x4000ab['create'](_0xb5dac1)};}['toJSON'](){let _0x472bf4=[];for(let _0x287709=0x0;_0x287709<this['sections']['length'];_0x287709+=0x2){let _0x33da0f=this['sections'][_0x287709],_0x3281b5=this['sections'][_0x287709+0x1];_0x3281b5<0x0?_0x472bf4['push'](_0x33da0f):0x0==_0x3281b5?_0x472bf4['push']([_0x33da0f]):_0x472bf4['push']([_0x33da0f]['concat'](this['inserted'][_0x287709>>0x1]['toJSON']()));}return _0x472bf4;}static['of'](_0x4eca7f,_0x2ef829,_0x261f85){let _0x51e3fa=[],_0x50c6b8=[],_0x5d2817=0x0,_0x42b48e=null;function _0xf43b6a(_0x9a4486=!0x1){if(!_0x9a4486&&!_0x51e3fa['length'])return;_0x5d2817<_0x2ef829&&addSection(_0x51e3fa,_0x2ef829-_0x5d2817,-0x1);let _0x535a40=new ChangeSet(_0x51e3fa,_0x50c6b8);_0x42b48e=_0x42b48e?_0x42b48e['compose'](_0x535a40['map'](_0x42b48e)):_0x535a40,_0x51e3fa=[],_0x50c6b8=[],_0x5d2817=0x0;}return function _0xa871a7(_0x1f4bc8){if(Array['isArray'](_0x1f4bc8)){for(let _0x4a2684 of _0x1f4bc8)_0xa871a7(_0x4a2684);}else{if(_0x1f4bc8 instanceof ChangeSet){if(_0x1f4bc8['length']!=_0x2ef829)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x1f4bc8['length']+',\x20expected\x20'+_0x2ef829+')');_0xf43b6a(),_0x42b48e=_0x42b48e?_0x42b48e['compose'](_0x1f4bc8['map'](_0x42b48e)):_0x1f4bc8;}else{let {from:_0xc64fbc,to:_0xeea70c=_0xc64fbc,insert:_0x2704aa}=_0x1f4bc8;if(_0xc64fbc>_0xeea70c||_0xc64fbc<0x0||_0xeea70c>_0x2ef829)throw new RangeError('Invalid\x20change\x20range\x20'+_0xc64fbc+'\x20to\x20'+_0xeea70c+'\x20(in\x20doc\x20of\x20length\x20'+_0x2ef829+')');let _0x4dda29=_0x2704aa?'string'==typeof _0x2704aa?Text['of'](_0x2704aa['split'](_0x261f85||DefaultSplit)):_0x2704aa:Text['empty'],_0x17838d=_0x4dda29['length'];if(_0xc64fbc==_0xeea70c&&0x0==_0x17838d)return;_0xc64fbc<_0x5d2817&&_0xf43b6a(),_0xc64fbc>_0x5d2817&&addSection(_0x51e3fa,_0xc64fbc-_0x5d2817,-0x1),addSection(_0x51e3fa,_0xeea70c-_0xc64fbc,_0x17838d),addInsert(_0x50c6b8,_0x51e3fa,_0x4dda29),_0x5d2817=_0xeea70c;}}}(_0x4eca7f),_0xf43b6a(!_0x42b48e),_0x42b48e;}static['empty'](_0x262812){return new ChangeSet(_0x262812?[_0x262812,-0x1]:[],[]);}static['fromJSON'](_0x484a1c){if(!Array['isArray'](_0x484a1c))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0xe6a12a=[],_0x2bf2ef=[];for(let _0x2d0523=0x0;_0x2d0523<_0x484a1c['length'];_0x2d0523++){let _0x424126=_0x484a1c[_0x2d0523];if('number'==typeof _0x424126)_0xe6a12a['push'](_0x424126,-0x1);else{if(!Array['isArray'](_0x424126)||'number'!=typeof _0x424126[0x0]||_0x424126['some']((_0x2041e2,_0x804f47)=>_0x804f47&&'string'!=typeof _0x2041e2))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x424126['length'])_0xe6a12a['push'](_0x424126[0x0],0x0);else{for(;_0x2bf2ef['length']<_0x2d0523;)_0x2bf2ef['push'](Text['empty']);_0x2bf2ef[_0x2d0523]=Text['of'](_0x424126['slice'](0x1)),_0xe6a12a['push'](_0x424126[0x0],_0x2bf2ef[_0x2d0523]['length']);}}}return new ChangeSet(_0xe6a12a,_0x2bf2ef);}static['createSet'](_0x4c59c9,_0x21c939){return new ChangeSet(_0x4c59c9,_0x21c939);}}function addSection(_0x555219,_0x333482,_0x1b5cbc,_0x1e4919=!0x1){if(0x0==_0x333482&&_0x1b5cbc<=0x0)return;let _0x245d97=_0x555219['length']-0x2;_0x245d97>=0x0&&_0x1b5cbc<=0x0&&_0x1b5cbc==_0x555219[_0x245d97+0x1]?_0x555219[_0x245d97]+=_0x333482:_0x245d97>=0x0&&0x0==_0x333482&&0x0==_0x555219[_0x245d97]?_0x555219[_0x245d97+0x1]+=_0x1b5cbc:_0x1e4919?(_0x555219[_0x245d97]+=_0x333482,_0x555219[_0x245d97+0x1]+=_0x1b5cbc):_0x555219['push'](_0x333482,_0x1b5cbc);}function addInsert(_0x388fc7,_0x4b97c5,_0x5ab8f3){if(0x0==_0x5ab8f3['length'])return;let _0xec7d49=_0x4b97c5['length']-0x2>>0x1;if(_0xec7d49<_0x388fc7['length'])_0x388fc7[_0x388fc7['length']-0x1]=_0x388fc7[_0x388fc7['length']-0x1]['append'](_0x5ab8f3);else{for(;_0x388fc7['length']<_0xec7d49;)_0x388fc7['push'](Text['empty']);_0x388fc7['push'](_0x5ab8f3);}}function iterChanges(_0x491a11,_0x12a090,_0x1a56b9){let _0x54ed5a=_0x491a11['inserted'];for(let _0xe3ea73=0x0,_0x4ccfdb=0x0,_0x5e2c33=0x0;_0x5e2c33<_0x491a11['sections']['length'];){let _0x222cfd=_0x491a11['sections'][_0x5e2c33++],_0x5be7e6=_0x491a11['sections'][_0x5e2c33++];if(_0x5be7e6<0x0)_0xe3ea73+=_0x222cfd,_0x4ccfdb+=_0x222cfd;else{let _0x371a72=_0xe3ea73,_0x21a889=_0x4ccfdb,_0x48c358=Text['empty'];for(;_0x371a72+=_0x222cfd,_0x21a889+=_0x5be7e6,_0x5be7e6&&_0x54ed5a&&(_0x48c358=_0x48c358['append'](_0x54ed5a[_0x5e2c33-0x2>>0x1])),!(_0x1a56b9||_0x5e2c33==_0x491a11['sections']['length']||_0x491a11['sections'][_0x5e2c33+0x1]<0x0);)_0x222cfd=_0x491a11['sections'][_0x5e2c33++],_0x5be7e6=_0x491a11['sections'][_0x5e2c33++];_0x12a090(_0xe3ea73,_0x371a72,_0x4ccfdb,_0x21a889,_0x48c358),_0xe3ea73=_0x371a72,_0x4ccfdb=_0x21a889;}}}function mapSet(_0x5c28b7,_0x44ad31,_0x23ca65,_0x247544=!0x1){let _0x136ef2=[],_0x5d7b06=_0x247544?[]:null,_0x3c1706=new SectionIter(_0x5c28b7),_0x2fac87=new SectionIter(_0x44ad31);for(let _0x237ec5=-0x1;;){if(_0x3c1706['done']&&_0x2fac87['len']||_0x2fac87['done']&&_0x3c1706['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x3c1706['ins']&&-0x1==_0x2fac87['ins']){let _0x46550a=Math['min'](_0x3c1706['len'],_0x2fac87['len']);addSection(_0x136ef2,_0x46550a,-0x1),_0x3c1706['forward'](_0x46550a),_0x2fac87['forward'](_0x46550a);}else{if(_0x2fac87['ins']>=0x0&&(_0x3c1706['ins']<0x0||_0x237ec5==_0x3c1706['i']||0x0==_0x3c1706['off']&&(_0x2fac87['len']<_0x3c1706['len']||_0x2fac87['len']==_0x3c1706['len']&&!_0x23ca65))){let _0x35f110=_0x2fac87['len'];for(addSection(_0x136ef2,_0x2fac87['ins'],-0x1);_0x35f110;){let _0x22d638=Math['min'](_0x3c1706['len'],_0x35f110);_0x3c1706['ins']>=0x0&&_0x237ec5<_0x3c1706['i']&&_0x3c1706['len']<=_0x22d638&&(addSection(_0x136ef2,0x0,_0x3c1706['ins']),_0x5d7b06&&addInsert(_0x5d7b06,_0x136ef2,_0x3c1706['text']),_0x237ec5=_0x3c1706['i']),_0x3c1706['forward'](_0x22d638),_0x35f110-=_0x22d638;}_0x2fac87['next']();}else{if(!(_0x3c1706['ins']>=0x0)){if(_0x3c1706['done']&&_0x2fac87['done'])return _0x5d7b06?ChangeSet['createSet'](_0x136ef2,_0x5d7b06):_0x4000ab['create'](_0x136ef2);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x233649=0x0,_0x79c3c2=_0x3c1706['len'];for(;_0x79c3c2;)if(-0x1==_0x2fac87['ins']){let _0x34ee01=Math['min'](_0x79c3c2,_0x2fac87['len']);_0x233649+=_0x34ee01,_0x79c3c2-=_0x34ee01,_0x2fac87['forward'](_0x34ee01);}else{if(!(0x0==_0x2fac87['ins']&&_0x2fac87['len']<_0x79c3c2))break;_0x79c3c2-=_0x2fac87['len'],_0x2fac87['next']();}addSection(_0x136ef2,_0x233649,_0x237ec5<_0x3c1706['i']?_0x3c1706['ins']:0x0),_0x5d7b06&&_0x237ec5<_0x3c1706['i']&&addInsert(_0x5d7b06,_0x136ef2,_0x3c1706['text']),_0x237ec5=_0x3c1706['i'],_0x3c1706['forward'](_0x3c1706['len']-_0x79c3c2);}}}}}function composeSets(_0x39b774,_0x1ec202,_0x4072c8=!0x1){let _0x928ab3=[],_0x4529a5=_0x4072c8?[]:null,_0x17c094=new SectionIter(_0x39b774),_0x1b19ba=new SectionIter(_0x1ec202);for(let _0x3a9461=!0x1;;){if(_0x17c094['done']&&_0x1b19ba['done'])return _0x4529a5?ChangeSet['createSet'](_0x928ab3,_0x4529a5):_0x4000ab['create'](_0x928ab3);if(0x0==_0x17c094['ins'])addSection(_0x928ab3,_0x17c094['len'],0x0,_0x3a9461),_0x17c094['next']();else{if(0x0!=_0x1b19ba['len']||_0x1b19ba['done']){if(_0x17c094['done']||_0x1b19ba['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x5cd0f8=Math['min'](_0x17c094['len2'],_0x1b19ba['len']),_0x47317c=_0x928ab3['length'];if(-0x1==_0x17c094['ins']){let _0x5cd25d=-0x1==_0x1b19ba['ins']?-0x1:_0x1b19ba['off']?0x0:_0x1b19ba['ins'];addSection(_0x928ab3,_0x5cd0f8,_0x5cd25d,_0x3a9461),_0x4529a5&&_0x5cd25d&&addInsert(_0x4529a5,_0x928ab3,_0x1b19ba['text']);}else-0x1==_0x1b19ba['ins']?(addSection(_0x928ab3,_0x17c094['off']?0x0:_0x17c094['len'],_0x5cd0f8,_0x3a9461),_0x4529a5&&addInsert(_0x4529a5,_0x928ab3,_0x17c094['textBit'](_0x5cd0f8))):(addSection(_0x928ab3,_0x17c094['off']?0x0:_0x17c094['len'],_0x1b19ba['off']?0x0:_0x1b19ba['ins'],_0x3a9461),_0x4529a5&&!_0x1b19ba['off']&&addInsert(_0x4529a5,_0x928ab3,_0x1b19ba['text']));_0x3a9461=(_0x17c094['ins']>_0x5cd0f8||_0x1b19ba['ins']>=0x0&&_0x1b19ba['len']>_0x5cd0f8)&&(_0x3a9461||_0x928ab3['length']>_0x47317c),_0x17c094['forward2'](_0x5cd0f8),_0x1b19ba['forward'](_0x5cd0f8);}}else addSection(_0x928ab3,0x0,_0x1b19ba['ins'],_0x3a9461),_0x4529a5&&addInsert(_0x4529a5,_0x928ab3,_0x1b19ba['text']),_0x1b19ba['next']();}}}class SectionIter{constructor(_0x5548b9){this['set']=_0x5548b9,this['i']=0x0,this['next']();}['next'](){let {sections:_0x5a8c2e}=this['set'];this['i']<_0x5a8c2e['length']?(this['len']=_0x5a8c2e[this['i']++],this['ins']=_0x5a8c2e[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:_0x18db9a}=this['set'],_0x5521d5=this['i']-0x2>>0x1;return _0x5521d5>=_0x18db9a['length']?Text['empty']:_0x18db9a[_0x5521d5];}['textBit'](_0x59b5ed){let {inserted:_0x1fc282}=this['set'],_0x449b09=this['i']-0x2>>0x1;return _0x449b09>=_0x1fc282['length']&&!_0x59b5ed?Text['empty']:_0x1fc282[_0x449b09]['slice'](this['off'],null==_0x59b5ed?void 0x0:this['off']+_0x59b5ed);}['forward'](_0x51a9d6){_0x51a9d6==this['len']?this['next']():(this['len']-=_0x51a9d6,this['off']+=_0x51a9d6);}['forward2'](_0x57699c){-0x1==this['ins']?this['forward'](_0x57699c):_0x57699c==this['ins']?this['next']():(this['ins']-=_0x57699c,this['off']+=_0x57699c);}}class SelectionRange{constructor(_0x46a13c,_0x424bb5,_0x31543f){this['from']=_0x46a13c,this['to']=_0x424bb5,this['flags']=_0x31543f;}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 _0x5d2293=0x7&this['flags'];return 0x7==_0x5d2293?null:_0x5d2293;}get['goalColumn'](){let _0x4e4fa3=this['flags']>>0x6;return 0xffffff==_0x4e4fa3?void 0x0:_0x4e4fa3;}['map'](_0x5bbe53,_0x71fdb8=-0x1){let _0x39db22,_0x30d4cf;return this['empty']?_0x39db22=_0x30d4cf=_0x5bbe53['mapPos'](this['from'],_0x71fdb8):(_0x39db22=_0x5bbe53['mapPos'](this['from'],0x1),_0x30d4cf=_0x5bbe53['mapPos'](this['to'],-0x1)),_0x39db22==this['from']&&_0x30d4cf==this['to']?this:new SelectionRange(_0x39db22,_0x30d4cf,this['flags']);}['extend'](_0xc49830,_0x176d39=_0xc49830){if(_0xc49830<=this['anchor']&&_0x176d39>=this['anchor'])return EditorSelection['range'](_0xc49830,_0x176d39);let _0x32c86b=Math['abs'](_0xc49830-this['anchor'])>Math['abs'](_0x176d39-this['anchor'])?_0xc49830:_0x176d39;return EditorSelection['range'](this['anchor'],_0x32c86b);}['eq'](_0x41febd,_0xd6301c=!0x1){return!(this['anchor']!=_0x41febd['anchor']||this['head']!=_0x41febd['head']||_0xd6301c&&this['empty']&&this['assoc']!=_0x41febd['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x376126){if(!_0x376126||'number'!=typeof _0x376126['anchor']||'number'!=typeof _0x376126['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x376126['anchor'],_0x376126['head']);}static['create'](_0x2166a2,_0x365a6a,_0x3888be){return new SelectionRange(_0x2166a2,_0x365a6a,_0x3888be);}}class EditorSelection{constructor(_0x2d1d56,_0x2b49c1){this['ranges']=_0x2d1d56,this['mainIndex']=_0x2b49c1;}['map'](_0x17129c,_0x4d952c=-0x1){return _0x17129c['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x159e2b=>_0x159e2b['map'](_0x17129c,_0x4d952c)),this['mainIndex']);}['eq'](_0x59b6c6,_0x38a6d3=!0x1){if(this['ranges']['length']!=_0x59b6c6['ranges']['length']||this['mainIndex']!=_0x59b6c6['mainIndex'])return!0x1;for(let _0x18cb28=0x0;_0x18cb28<this['ranges']['length'];_0x18cb28++)if(!this['ranges'][_0x18cb28]['eq'](_0x59b6c6['ranges'][_0x18cb28],_0x38a6d3))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x13fb8a,_0x1cee47=!0x0){return EditorSelection['create']([_0x13fb8a]['concat'](this['ranges']),_0x1cee47?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x5418b6,_0x8fd7e5=this['mainIndex']){let _0x4dbd83=this['ranges']['slice']();return _0x4dbd83[_0x8fd7e5]=_0x5418b6,EditorSelection['create'](_0x4dbd83,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x4d1292=>_0x4d1292['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x4fdeae){if(!_0x4fdeae||!Array['isArray'](_0x4fdeae['ranges'])||'number'!=typeof _0x4fdeae['main']||_0x4fdeae['main']>=_0x4fdeae['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x4fdeae['ranges']['map'](_0x182990=>SelectionRange['fromJSON'](_0x182990)),_0x4fdeae['main']);}static['single'](_0x4467f0,_0x27e608=_0x4467f0){return new EditorSelection([EditorSelection['range'](_0x4467f0,_0x27e608)],0x0);}static['create'](_0x3ec5c7,_0x1e148f=0x0){if(0x0==_0x3ec5c7['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x1ec926=0x0,_0x29cf09=0x0;_0x29cf09<_0x3ec5c7['length'];_0x29cf09++){let _0x2073d9=_0x3ec5c7[_0x29cf09];if(_0x2073d9['empty']?_0x2073d9['from']<=_0x1ec926:_0x2073d9['from']<_0x1ec926)return EditorSelection['normalized'](_0x3ec5c7['slice'](),_0x1e148f);_0x1ec926=_0x2073d9['to'];}return new EditorSelection(_0x3ec5c7,_0x1e148f);}static['cursor'](_0x220ddb,_0x4a94b7=0x0,_0x51f232,_0x38ea40){return SelectionRange['create'](_0x220ddb,_0x220ddb,(0x0==_0x4a94b7?0x0:_0x4a94b7<0x0?0x8:0x10)|(null==_0x51f232?0x7:Math['min'](0x6,_0x51f232))|(null!=_0x38ea40?_0x38ea40:0xffffff)<<0x6);}static['range'](_0x4207f3,_0x530c26,_0x4f6eb0,_0x5902b0){let _0xf5549d=(null!=_0x4f6eb0?_0x4f6eb0:0xffffff)<<0x6|(null==_0x5902b0?0x7:Math['min'](0x6,_0x5902b0));return _0x530c26<_0x4207f3?SelectionRange['create'](_0x530c26,_0x4207f3,0x30|_0xf5549d):SelectionRange['create'](_0x4207f3,_0x530c26,(_0x530c26>_0x4207f3?0x8:0x0)|_0xf5549d);}static['normalized'](_0x40a848,_0x40f4cd=0x0){let _0x421c51=_0x40a848[_0x40f4cd];_0x40a848['sort']((_0x2d284c,_0x490567)=>_0x2d284c['from']-_0x490567['from']),_0x40f4cd=_0x40a848['indexOf'](_0x421c51);for(let _0x1d4ea9=0x1;_0x1d4ea9<_0x40a848['length'];_0x1d4ea9++){let _0x52b949=_0x40a848[_0x1d4ea9],_0x1411ff=_0x40a848[_0x1d4ea9-0x1];if(_0x52b949['empty']?_0x52b949['from']<=_0x1411ff['to']:_0x52b949['from']<_0x1411ff['to']){let _0x15baa0=_0x1411ff['from'],_0x12d658=Math['max'](_0x52b949['to'],_0x1411ff['to']);_0x1d4ea9<=_0x40f4cd&&_0x40f4cd--,_0x40a848['splice'](--_0x1d4ea9,0x2,_0x52b949['anchor']>_0x52b949['head']?EditorSelection['range'](_0x12d658,_0x15baa0):EditorSelection['range'](_0x15baa0,_0x12d658));}}return new EditorSelection(_0x40a848,_0x40f4cd);}}function checkSelection(_0xc3e388,_0x595f20){for(let _0x4f8d4b of _0xc3e388['ranges'])if(_0x4f8d4b['to']>_0x595f20)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let nextID=0x0;class Facet{constructor(_0x8a0edd,_0x1a50b5,_0x43e677,_0x1b7105,_0xbcf8cb){this['combine']=_0x8a0edd,this['compareInput']=_0x1a50b5,this['compare']=_0x43e677,this['isStatic']=_0x1b7105,this['id']=nextID++,this['default']=_0x8a0edd([]),this['extensions']='function'==typeof _0xbcf8cb?_0xbcf8cb(this):_0xbcf8cb;}get['reader'](){return this;}static['define'](_0x41cf4f={}){return new Facet(_0x41cf4f['combine']||(_0x41ccfa=>_0x41ccfa),_0x41cf4f['compareInput']||((_0x300bd9,_0x55edd2)=>_0x300bd9===_0x55edd2),_0x41cf4f['compare']||(_0x41cf4f['combine']?(_0x22a1ac,_0x4c0288)=>_0x22a1ac===_0x4c0288:_0x1b4e07),!!_0x41cf4f['static'],_0x41cf4f['enables']);}['of'](_0x51ac80){return new FacetProvider([],this,0x0,_0x51ac80);}['compute'](_0xce7551,_0x1cdc28){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0xce7551,this,0x1,_0x1cdc28);}['computeN'](_0x4fff31,_0x5c9baf){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x4fff31,this,0x2,_0x5c9baf);}['from'](_0x46bfa0,_0x39e286){return _0x39e286||(_0x39e286=_0xe61000=>_0xe61000),this['compute']([_0x46bfa0],_0x1b1864=>_0x39e286(_0x1b1864['field'](_0x46bfa0)));}}function _0x1b4e07(_0x2e721c,_0x5835a5){return _0x2e721c==_0x5835a5||_0x2e721c['length']==_0x5835a5['length']&&_0x2e721c['every']((_0x4d4900,_0x4e728c)=>_0x4d4900===_0x5835a5[_0x4e728c]);}class FacetProvider{constructor(_0x471e41,_0x73de4a,_0x300db9,_0x527381){this['dependencies']=_0x471e41,this['facet']=_0x73de4a,this['type']=_0x300db9,this['value']=_0x527381,this['id']=nextID++;}['dynamicSlot'](_0x3126ad){var _0x5c1447;let _0x3ce4db=this['value'],_0x47a447=this['facet']['compareInput'],_0x2de821=this['id'],_0x53c81d=_0x3126ad[_0x2de821]>>0x1,_0x25e684=0x2==this['type'],_0x591d34=!0x1,_0x3f5907=!0x1,_0x94aac2=[];for(let _0x4ec3aa of this['dependencies'])'doc'==_0x4ec3aa?_0x591d34=!0x0:'selection'==_0x4ec3aa?_0x3f5907=!0x0:0x1&(null!==(_0x5c1447=_0x3126ad[_0x4ec3aa['id']])&&void 0x0!==_0x5c1447?_0x5c1447:0x1)||_0x94aac2['push'](_0x3126ad[_0x4ec3aa['id']]);return{'create':_0x5a2057=>(_0x5a2057['values'][_0x53c81d]=_0x3ce4db(_0x5a2057),0x1),'update'(_0x2f069c,_0x110675){if(_0x591d34&&_0x110675['docChanged']||_0x3f5907&&(_0x110675['docChanged']||_0x110675['selection'])||_0x3771c5(_0x2f069c,_0x94aac2)){let _0x53e457=_0x3ce4db(_0x2f069c);if(_0x25e684?!_0x313bf6(_0x53e457,_0x2f069c['values'][_0x53c81d],_0x47a447):!_0x47a447(_0x53e457,_0x2f069c['values'][_0x53c81d]))return _0x2f069c['values'][_0x53c81d]=_0x53e457,0x1;}return 0x0;},'reconfigure':(_0x5ef71e,_0x33857f)=>{let _0x4d0dc3,_0x2dab99=_0x33857f['config']['address'][_0x2de821];if(null!=_0x2dab99){let _0x465f60=getAddr(_0x33857f,_0x2dab99);if(this['dependencies']['every'](_0x2bf986=>_0x2bf986 instanceof Facet?_0x33857f['facet'](_0x2bf986)===_0x5ef71e['facet'](_0x2bf986):!(_0x2bf986 instanceof StateField)||_0x33857f['field'](_0x2bf986,!0x1)==_0x5ef71e['field'](_0x2bf986,!0x1))||(_0x25e684?_0x313bf6(_0x4d0dc3=_0x3ce4db(_0x5ef71e),_0x465f60,_0x47a447):_0x47a447(_0x4d0dc3=_0x3ce4db(_0x5ef71e),_0x465f60)))return _0x5ef71e['values'][_0x53c81d]=_0x465f60,0x0;}else _0x4d0dc3=_0x3ce4db(_0x5ef71e);return _0x5ef71e['values'][_0x53c81d]=_0x4d0dc3,0x1;}};}}function _0x313bf6(_0x5251f2,_0x340a8c,_0x276eda){if(_0x5251f2['length']!=_0x340a8c['length'])return!0x1;for(let _0x2f150a=0x0;_0x2f150a<_0x5251f2['length'];_0x2f150a++)if(!_0x276eda(_0x5251f2[_0x2f150a],_0x340a8c[_0x2f150a]))return!0x1;return!0x0;}function _0x3771c5(_0x9c1d09,_0x1b3920){let _0x352748=!0x1;for(let _0x251b91 of _0x1b3920)0x1&_0x3c773a(_0x9c1d09,_0x251b91)&&(_0x352748=!0x0);return _0x352748;}function dynamicFacetSlot(_0x3cc73d,_0x5cbc06,_0x1f2381){let _0x94c54d=_0x1f2381['map'](_0x5620c8=>_0x3cc73d[_0x5620c8['id']]),_0x53645c=_0x1f2381['map'](_0x41de0f=>_0x41de0f['type']),_0x206cfc=_0x94c54d['filter'](_0x2171ed=>!(0x1&_0x2171ed)),_0x5eb1f2=_0x3cc73d[_0x5cbc06['id']]>>0x1;function _0x6ffb3f(_0x37b6f3){let _0x5c7eeb=[];for(let _0x58bd50=0x0;_0x58bd50<_0x94c54d['length'];_0x58bd50++){let _0x4311b5=getAddr(_0x37b6f3,_0x94c54d[_0x58bd50]);if(0x2==_0x53645c[_0x58bd50]){for(let _0x22eed6 of _0x4311b5)_0x5c7eeb['push'](_0x22eed6);}else _0x5c7eeb['push'](_0x4311b5);}return _0x5cbc06['combine'](_0x5c7eeb);}return{'create'(_0x952141){for(let _0x224d85 of _0x94c54d)_0x3c773a(_0x952141,_0x224d85);return _0x952141['values'][_0x5eb1f2]=_0x6ffb3f(_0x952141),0x1;},'update'(_0x2d6b8a,_0x498066){if(!_0x3771c5(_0x2d6b8a,_0x206cfc))return 0x0;let _0x1d4089=_0x6ffb3f(_0x2d6b8a);return _0x5cbc06['compare'](_0x1d4089,_0x2d6b8a['values'][_0x5eb1f2])?0x0:(_0x2d6b8a['values'][_0x5eb1f2]=_0x1d4089,0x1);},'reconfigure'(_0xbc3eb2,_0x2e2e27){let _0x3b7214=_0x3771c5(_0xbc3eb2,_0x94c54d),_0x5b2273=_0x2e2e27['config']['facets'][_0x5cbc06['id']],_0x1b9e48=_0x2e2e27['facet'](_0x5cbc06);if(_0x5b2273&&!_0x3b7214&&_0x1b4e07(_0x1f2381,_0x5b2273))return _0xbc3eb2['values'][_0x5eb1f2]=_0x1b9e48,0x0;let _0x541fdd=_0x6ffb3f(_0xbc3eb2);return _0x5cbc06['compare'](_0x541fdd,_0x1b9e48)?(_0xbc3eb2['values'][_0x5eb1f2]=_0x1b9e48,0x0):(_0xbc3eb2['values'][_0x5eb1f2]=_0x541fdd,0x1);}};}const initField=Facet['define']({'static':!0x0});class StateField{constructor(_0x1c647f,_0x852ab9,_0x2ecf93,_0x416dbd,_0x396c0d){this['id']=_0x1c647f,this['createF']=_0x852ab9,this['updateF']=_0x2ecf93,this['compareF']=_0x416dbd,this['spec']=_0x396c0d,this['provides']=void 0x0;}static['define'](_0x4075db){let _0x42274f=new StateField(nextID++,_0x4075db['create'],_0x4075db['update'],_0x4075db['compare']||((_0x279e4e,_0x16fdb4)=>_0x279e4e===_0x16fdb4),_0x4075db);return _0x4075db['provide']&&(_0x42274f['provides']=_0x4075db['provide'](_0x42274f)),_0x42274f;}['create'](_0x2d63fb){let _0x134a43=_0x2d63fb['facet'](initField)['find'](_0x46607f=>_0x46607f['field']==this);return((null==_0x134a43?void 0x0:_0x134a43['create'])||this['createF'])(_0x2d63fb);}['slot'](_0x341d90){let _0x4aeff3=_0x341d90[this['id']]>>0x1;return{'create':_0x15ec06=>(_0x15ec06['values'][_0x4aeff3]=this['create'](_0x15ec06),0x1),'update':(_0x1c7f96,_0x2cc747)=>{let _0x533bae=_0x1c7f96['values'][_0x4aeff3],_0x2bb72c=this['updateF'](_0x533bae,_0x2cc747);return this['compareF'](_0x533bae,_0x2bb72c)?0x0:(_0x1c7f96['values'][_0x4aeff3]=_0x2bb72c,0x1);},'reconfigure':(_0x2990e4,_0x514d48)=>{let _0x5d3119,_0x2cc434=_0x2990e4['facet'](initField),_0x2f7771=_0x514d48['facet'](initField);return(_0x5d3119=_0x2cc434['find'](_0x557c9e=>_0x557c9e['field']==this))&&_0x5d3119!=_0x2f7771['find'](_0x3eebc8=>_0x3eebc8['field']==this)?(_0x2990e4['values'][_0x4aeff3]=_0x5d3119['create'](_0x2990e4),0x1):null!=_0x514d48['config']['address'][this['id']]?(_0x2990e4['values'][_0x4aeff3]=_0x514d48['field'](this),0x0):(_0x2990e4['values'][_0x4aeff3]=this['create'](_0x2990e4),0x1);}};}['init'](_0x191c44){return[this,initField['of']({'field':this,'create':_0x191c44})];}get['extension'](){return this;}}const _0x5b553e={'lowest':0x4,'low':0x3,'default':0x2,'high':0x1,'highest':0x0};function _0x5274cd(_0x3ade9a){return _0x14b981=>new PrecExtension(_0x14b981,_0x3ade9a);}const _0x346fa8={'highest':_0x5274cd(_0x5b553e['highest']),'high':_0x5274cd(_0x5b553e['high']),'default':_0x5274cd(_0x5b553e['default']),'low':_0x5274cd(_0x5b553e['low']),'lowest':_0x5274cd(_0x5b553e['lowest'])};class PrecExtension{constructor(_0x36bd27,_0x4464ce){this['inner']=_0x36bd27,this['prec']=_0x4464ce;}}class Compartment{['of'](_0x2a38a8){return new CompartmentInstance(this,_0x2a38a8);}['reconfigure'](_0x550c7e){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x550c7e});}['get'](_0x190173){return _0x190173['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x2a088f,_0x2017dd){this['compartment']=_0x2a088f,this['inner']=_0x2017dd;}}class Configuration{constructor(_0x2fbc04,_0x18ac6b,_0x51fc6f,_0x4a4517,_0x57064f,_0x2d873e){for(this['base']=_0x2fbc04,this['compartments']=_0x18ac6b,this['dynamicSlots']=_0x51fc6f,this['address']=_0x4a4517,this['staticValues']=_0x57064f,this['facets']=_0x2d873e,this['statusTemplate']=[];this['statusTemplate']['length']<_0x51fc6f['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x3e25ba){let _0x3c625f=this['address'][_0x3e25ba['id']];return null==_0x3c625f?_0x3e25ba['default']:this['staticValues'][_0x3c625f>>0x1];}static['resolve'](_0x2cca0a,_0x3a2be3,_0x3efb27){let _0x131ca3=[],_0xb1c757=Object['create'](null),_0x1c2297=new Map();for(let _0x2d8f3b of flatten(_0x2cca0a,_0x3a2be3,_0x1c2297))_0x2d8f3b instanceof StateField?_0x131ca3['push'](_0x2d8f3b):(_0xb1c757[_0x2d8f3b['facet']['id']]||(_0xb1c757[_0x2d8f3b['facet']['id']]=[]))['push'](_0x2d8f3b);let _0x8ab88=Object['create'](null),_0x5b23cd=[],_0xd988e0=[];for(let _0x2d701a of _0x131ca3)_0x8ab88[_0x2d701a['id']]=_0xd988e0['length']<<0x1,_0xd988e0['push'](_0x4725c8=>_0x2d701a['slot'](_0x4725c8));let _0x55a8d6=null==_0x3efb27?void 0x0:_0x3efb27['config']['facets'];for(let _0x5a9072 in _0xb1c757){let _0x5b89ed=_0xb1c757[_0x5a9072],_0x3f4ce2=_0x5b89ed[0x0]['facet'],_0x4e3342=_0x55a8d6&&_0x55a8d6[_0x5a9072]||[];if(_0x5b89ed['every'](_0xaf2695=>0x0==_0xaf2695['type'])){if(_0x8ab88[_0x3f4ce2['id']]=_0x5b23cd['length']<<0x1|0x1,_0x1b4e07(_0x4e3342,_0x5b89ed))_0x5b23cd['push'](_0x3efb27['facet'](_0x3f4ce2));else{let _0xd5aed1=_0x3f4ce2['combine'](_0x5b89ed['map'](_0x1688de=>_0x1688de['value']));_0x5b23cd['push'](_0x3efb27&&_0x3f4ce2['compare'](_0xd5aed1,_0x3efb27['facet'](_0x3f4ce2))?_0x3efb27['facet'](_0x3f4ce2):_0xd5aed1);}}else{for(let _0x5832a1 of _0x5b89ed)0x0==_0x5832a1['type']?(_0x8ab88[_0x5832a1['id']]=_0x5b23cd['length']<<0x1|0x1,_0x5b23cd['push'](_0x5832a1['value'])):(_0x8ab88[_0x5832a1['id']]=_0xd988e0['length']<<0x1,_0xd988e0['push'](_0x484536=>_0x5832a1['dynamicSlot'](_0x484536)));_0x8ab88[_0x3f4ce2['id']]=_0xd988e0['length']<<0x1,_0xd988e0['push'](_0x2abd49=>dynamicFacetSlot(_0x2abd49,_0x3f4ce2,_0x5b89ed));}}let _0x1b51ee=_0xd988e0['map'](_0x35ddc7=>_0x35ddc7(_0x8ab88));return new Configuration(_0x2cca0a,_0x1c2297,_0x1b51ee,_0x8ab88,_0x5b23cd,_0xb1c757);}}function flatten(_0x23b504,_0x324c58,_0x4b55eb){let _0x4c097e=[[],[],[],[],[]],_0x3b7984=new Map();return function _0x49c167(_0x3936bb,_0x1c235c){let _0x32bb63=_0x3b7984['get'](_0x3936bb);if(null!=_0x32bb63){if(_0x32bb63<=_0x1c235c)return;let _0x3459b6=_0x4c097e[_0x32bb63]['indexOf'](_0x3936bb);_0x3459b6>-0x1&&_0x4c097e[_0x32bb63]['splice'](_0x3459b6,0x1),_0x3936bb instanceof CompartmentInstance&&_0x4b55eb['delete'](_0x3936bb['compartment']);}if(_0x3b7984['set'](_0x3936bb,_0x1c235c),Array['isArray'](_0x3936bb)){for(let _0x88d807 of _0x3936bb)_0x49c167(_0x88d807,_0x1c235c);}else{if(_0x3936bb instanceof CompartmentInstance){if(_0x4b55eb['has'](_0x3936bb['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x173d94=_0x324c58['get'](_0x3936bb['compartment'])||_0x3936bb['inner'];_0x4b55eb['set'](_0x3936bb['compartment'],_0x173d94),_0x49c167(_0x173d94,_0x1c235c);}else{if(_0x3936bb instanceof PrecExtension)_0x49c167(_0x3936bb['inner'],_0x3936bb['prec']);else{if(_0x3936bb instanceof StateField)_0x4c097e[_0x1c235c]['push'](_0x3936bb),_0x3936bb['provides']&&_0x49c167(_0x3936bb['provides'],_0x1c235c);else{if(_0x3936bb instanceof FacetProvider)_0x4c097e[_0x1c235c]['push'](_0x3936bb),_0x3936bb['facet']['extensions']&&_0x49c167(_0x3936bb['facet']['extensions'],_0x5b553e['default']);else{let _0x2778db=_0x3936bb['extension'];if(!_0x2778db)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x3936bb+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x49c167(_0x2778db,_0x1c235c);}}}}}}(_0x23b504,_0x5b553e['default']),_0x4c097e['reduce']((_0x15af6d,_0x4043a6)=>_0x15af6d['concat'](_0x4043a6));}function _0x3c773a(_0x207af0,_0x3d96b3){if(0x1&_0x3d96b3)return 0x2;let _0x2a02e0=_0x3d96b3>>0x1,_0x126eab=_0x207af0['status'][_0x2a02e0];if(0x4==_0x126eab)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x126eab)return _0x126eab;_0x207af0['status'][_0x2a02e0]=0x4;let _0x3c6408=_0x207af0['computeSlot'](_0x207af0,_0x207af0['config']['dynamicSlots'][_0x2a02e0]);return _0x207af0['status'][_0x2a02e0]=0x2|_0x3c6408;}function getAddr(_0x46fe87,_0x2518ee){return 0x1&_0x2518ee?_0x46fe87['config']['staticValues'][_0x2518ee>>0x1]:_0x46fe87['values'][_0x2518ee>>0x1];}const languageData=Facet['define'](),allowMultipleSelections=Facet['define']({'combine':_0x1ec4c0=>_0x1ec4c0['some'](_0x2a9de7=>_0x2a9de7),'static':!0x0}),lineSeparator=Facet['define']({'combine':_0x55af8a=>_0x55af8a['length']?_0x55af8a[0x0]:void 0x0,'static':!0x0}),changeFilter=Facet['define'](),transactionFilter=Facet['define'](),transactionExtender=Facet['define'](),_0x7b0935=Facet['define']({'combine':_0xc588a1=>!!_0xc588a1['length']&&_0xc588a1[0x0]});class Annotation{constructor(_0x59f312,_0x405407){this['type']=_0x59f312,this['value']=_0x405407;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x6c0145){return new Annotation(this,_0x6c0145);}}class StateEffectType{constructor(_0x17b64d){this['map']=_0x17b64d;}['of'](_0x31ac1c){return new StateEffect(this,_0x31ac1c);}}class StateEffect{constructor(_0x9ce2ff,_0x454665){this['type']=_0x9ce2ff,this['value']=_0x454665;}['map'](_0x3f3265){let _0xcdfe5=this['type']['map'](this['value'],_0x3f3265);return void 0x0===_0xcdfe5?void 0x0:_0xcdfe5==this['value']?this:new StateEffect(this['type'],_0xcdfe5);}['is'](_0x27f543){return this['type']==_0x27f543;}static['define'](_0x3402b4={}){return new StateEffectType(_0x3402b4['map']||(_0x4b5714=>_0x4b5714));}static['mapEffects'](_0x35c4bd,_0x2f1ae3){if(!_0x35c4bd['length'])return _0x35c4bd;let _0x3b36a3=[];for(let _0x3b4c2a of _0x35c4bd){let _0x562aa7=_0x3b4c2a['map'](_0x2f1ae3);_0x562aa7&&_0x3b36a3['push'](_0x562aa7);}return _0x3b36a3;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x8fa66d,_0x42aea5,_0x5dac4d,_0x45ef87,_0x3fa587,_0x1fb03a){this['startState']=_0x8fa66d,this['changes']=_0x42aea5,this['selection']=_0x5dac4d,this['effects']=_0x45ef87,this['annotations']=_0x3fa587,this['scrollIntoView']=_0x1fb03a,this['_doc']=null,this['_state']=null,_0x5dac4d&&checkSelection(_0x5dac4d,_0x42aea5['newLength']),_0x3fa587['some'](_0x4f7c0a=>_0x4f7c0a['type']==Transaction['time'])||(this['annotations']=_0x3fa587['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x1b72a0,_0x5b8b5d,_0x95fad1,_0x133cb1,_0x26eeef,_0x15fe94){return new Transaction(_0x1b72a0,_0x5b8b5d,_0x95fad1,_0x133cb1,_0x26eeef,_0x15fe94);}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'](_0x1eabb8){for(let _0x26faad of this['annotations'])if(_0x26faad['type']==_0x1eabb8)return _0x26faad['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x3b12b3){let _0x2e58d0=this['annotation'](Transaction['userEvent']);return!(!_0x2e58d0||!(_0x2e58d0==_0x3b12b3||_0x2e58d0['length']>_0x3b12b3['length']&&_0x2e58d0['slice'](0x0,_0x3b12b3['length'])==_0x3b12b3&&'.'==_0x2e58d0[_0x3b12b3['length']]));}}function _0x22eaaa(_0x5da6d4,_0x4aef83){let _0x3f87e3=[];for(let _0x206c73=0x0,_0x1a85ee=0x0;;){let _0xb2baa3,_0x2ccd1d;if(_0x206c73<_0x5da6d4['length']&&(_0x1a85ee==_0x4aef83['length']||_0x4aef83[_0x1a85ee]>=_0x5da6d4[_0x206c73]))_0xb2baa3=_0x5da6d4[_0x206c73++],_0x2ccd1d=_0x5da6d4[_0x206c73++];else{if(!(_0x1a85ee<_0x4aef83['length']))return _0x3f87e3;_0xb2baa3=_0x4aef83[_0x1a85ee++],_0x2ccd1d=_0x4aef83[_0x1a85ee++];}!_0x3f87e3['length']||_0x3f87e3[_0x3f87e3['length']-0x1]<_0xb2baa3?_0x3f87e3['push'](_0xb2baa3,_0x2ccd1d):_0x3f87e3[_0x3f87e3['length']-0x1]<_0x2ccd1d&&(_0x3f87e3[_0x3f87e3['length']-0x1]=_0x2ccd1d);}}function mergeTransaction(_0xa80f4c,_0x313eec,_0x5f16b1){var _0x57745a;let _0x59a08c,_0x4d9885,_0x2b9fae;return _0x5f16b1?(_0x59a08c=_0x313eec['changes'],_0x4d9885=ChangeSet['empty'](_0x313eec['changes']['length']),_0x2b9fae=_0xa80f4c['changes']['compose'](_0x313eec['changes'])):(_0x59a08c=_0x313eec['changes']['map'](_0xa80f4c['changes']),_0x4d9885=_0xa80f4c['changes']['mapDesc'](_0x313eec['changes'],!0x0),_0x2b9fae=_0xa80f4c['changes']['compose'](_0x59a08c)),{'changes':_0x2b9fae,'selection':_0x313eec['selection']?_0x313eec['selection']['map'](_0x4d9885):null===(_0x57745a=_0xa80f4c['selection'])||void 0x0===_0x57745a?void 0x0:_0x57745a['map'](_0x59a08c),'effects':StateEffect['mapEffects'](_0xa80f4c['effects'],_0x59a08c)['concat'](StateEffect['mapEffects'](_0x313eec['effects'],_0x4d9885)),'annotations':_0xa80f4c['annotations']['length']?_0xa80f4c['annotations']['concat'](_0x313eec['annotations']):_0x313eec['annotations'],'scrollIntoView':_0xa80f4c['scrollIntoView']||_0x313eec['scrollIntoView']};}function resolveTransactionInner(_0x2f43a4,_0x4e7cd2,_0x254eeb){let _0x2116b5=_0x4e7cd2['selection'],_0x3eb2e2=_0x5187fd(_0x4e7cd2['annotations']);return _0x4e7cd2['userEvent']&&(_0x3eb2e2=_0x3eb2e2['concat'](Transaction['userEvent']['of'](_0x4e7cd2['userEvent']))),{'changes':_0x4e7cd2['changes']instanceof ChangeSet?_0x4e7cd2['changes']:ChangeSet['of'](_0x4e7cd2['changes']||[],_0x254eeb,_0x2f43a4['facet'](lineSeparator)),'selection':_0x2116b5&&(_0x2116b5 instanceof EditorSelection?_0x2116b5:EditorSelection['single'](_0x2116b5['anchor'],_0x2116b5['head'])),'effects':_0x5187fd(_0x4e7cd2['effects']),'annotations':_0x3eb2e2,'scrollIntoView':!!_0x4e7cd2['scrollIntoView']};}function resolveTransaction(_0x5b695b,_0x4cb04f,_0x45924e){let _0x173f37=resolveTransactionInner(_0x5b695b,_0x4cb04f['length']?_0x4cb04f[0x0]:{},_0x5b695b['doc']['length']);_0x4cb04f['length']&&!0x1===_0x4cb04f[0x0]['filter']&&(_0x45924e=!0x1);for(let _0x4068c7=0x1;_0x4068c7<_0x4cb04f['length'];_0x4068c7++){!0x1===_0x4cb04f[_0x4068c7]['filter']&&(_0x45924e=!0x1);let _0x528e71=!!_0x4cb04f[_0x4068c7]['sequential'];_0x173f37=mergeTransaction(_0x173f37,resolveTransactionInner(_0x5b695b,_0x4cb04f[_0x4068c7],_0x528e71?_0x173f37['changes']['newLength']:_0x5b695b['doc']['length']),_0x528e71);}let _0x54d008=Transaction['create'](_0x5b695b,_0x173f37['changes'],_0x173f37['selection'],_0x173f37['effects'],_0x173f37['annotations'],_0x173f37['scrollIntoView']);return extendTransaction(_0x45924e?filterTransaction(_0x54d008):_0x54d008);}function filterTransaction(_0x35815a){let _0x163317=_0x35815a['startState'],_0x12c720=!0x0;for(let _0x53ea98 of _0x163317['facet'](changeFilter)){let _0x1cd50b=_0x53ea98(_0x35815a);if(!0x1===_0x1cd50b){_0x12c720=!0x1;break;}Array['isArray'](_0x1cd50b)&&(_0x12c720=!0x0===_0x12c720?_0x1cd50b:_0x22eaaa(_0x12c720,_0x1cd50b));}if(!0x0!==_0x12c720){let _0x167cda,_0x1c1840;if(!0x1===_0x12c720)_0x1c1840=_0x35815a['changes']['invertedDesc'],_0x167cda=ChangeSet['empty'](_0x163317['doc']['length']);else{let _0x5056d9=_0x35815a['changes']['filter'](_0x12c720);_0x167cda=_0x5056d9['changes'],_0x1c1840=_0x5056d9['filtered']['mapDesc'](_0x5056d9['changes'])['invertedDesc'];}_0x35815a=Transaction['create'](_0x163317,_0x167cda,_0x35815a['selection']&&_0x35815a['selection']['map'](_0x1c1840),StateEffect['mapEffects'](_0x35815a['effects'],_0x1c1840),_0x35815a['annotations'],_0x35815a['scrollIntoView']);}let _0x2d0a79=_0x163317['facet'](transactionFilter);for(let _0x2a4bf3=_0x2d0a79['length']-0x1;_0x2a4bf3>=0x0;_0x2a4bf3--){let _0x520347=_0x2d0a79[_0x2a4bf3](_0x35815a);_0x35815a=_0x520347 instanceof Transaction?_0x520347:Array['isArray'](_0x520347)&&0x1==_0x520347['length']&&_0x520347[0x0]instanceof Transaction?_0x520347[0x0]:resolveTransaction(_0x163317,_0x5187fd(_0x520347),!0x1);}return _0x35815a;}function extendTransaction(_0x5c8dc8){let _0x149061=_0x5c8dc8['startState'],_0x3392b1=_0x149061['facet'](transactionExtender),_0x1569bf=_0x5c8dc8;for(let _0x177144=_0x3392b1['length']-0x1;_0x177144>=0x0;_0x177144--){let _0x4cb826=_0x3392b1[_0x177144](_0x5c8dc8);_0x4cb826&&Object['keys'](_0x4cb826)['length']&&(_0x1569bf=mergeTransaction(_0x1569bf,resolveTransactionInner(_0x149061,_0x4cb826,_0x5c8dc8['changes']['newLength']),!0x0));}return _0x1569bf==_0x5c8dc8?_0x5c8dc8:Transaction['create'](_0x149061,_0x5c8dc8['changes'],_0x5c8dc8['selection'],_0x1569bf['effects'],_0x1569bf['annotations'],_0x1569bf['scrollIntoView']);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x2d6b31=[];function _0x5187fd(_0x471f57){return null==_0x471f57?_0x2d6b31:Array['isArray'](_0x471f57)?_0x471f57:[_0x471f57];}var CharCategory=function(_0x4e8de7){return _0x4e8de7[_0x4e8de7['Word']=0x0]='Word',_0x4e8de7[_0x4e8de7['Space']=0x1]='Space',_0x4e8de7[_0x4e8de7['Other']=0x2]='Other',_0x4e8de7;}(CharCategory||(CharCategory={}));const _0x306385=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x3e2654;try{_0x3e2654=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0xad9d5d){}function _0x246023(_0x2fb958){if(_0x3e2654)return _0x3e2654['test'](_0x2fb958);for(let _0x2b07cf=0x0;_0x2b07cf<_0x2fb958['length'];_0x2b07cf++){let _0xd4029e=_0x2fb958[_0x2b07cf];if(/\w/['test'](_0xd4029e)||_0xd4029e>'\u0080'&&(_0xd4029e['toUpperCase']()!=_0xd4029e['toLowerCase']()||_0x306385['test'](_0xd4029e)))return!0x0;}return!0x1;}function makeCategorizer(_0x425c71){return _0x1b3e8b=>{if(!/\S/['test'](_0x1b3e8b))return CharCategory['Space'];if(_0x246023(_0x1b3e8b))return CharCategory['Word'];for(let _0x579954=0x0;_0x579954<_0x425c71['length'];_0x579954++)if(_0x1b3e8b['indexOf'](_0x425c71[_0x579954])>-0x1)return CharCategory['Word'];return CharCategory['Other'];};}class EditorState{constructor(_0x3fd2f4,_0x24554d,_0x3714d8,_0x523e98,_0x5cf8b6,_0x1fd04b){this['config']=_0x3fd2f4,this['doc']=_0x24554d,this['selection']=_0x3714d8,this['values']=_0x523e98,this['status']=_0x3fd2f4['statusTemplate']['slice'](),this['computeSlot']=_0x5cf8b6,_0x1fd04b&&(_0x1fd04b['_state']=this);for(let _0x120be7=0x0;_0x120be7<this['config']['dynamicSlots']['length'];_0x120be7++)_0x3c773a(this,_0x120be7<<0x1);this['computeSlot']=null;}['field'](_0x5ec5cd,_0x14c59a=!0x0){let _0x40d77b=this['config']['address'][_0x5ec5cd['id']];if(null!=_0x40d77b)return _0x3c773a(this,_0x40d77b),getAddr(this,_0x40d77b);if(_0x14c59a)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x579e6b){return resolveTransaction(this,_0x579e6b,!0x0);}['applyTransaction'](_0x264c9d){let _0x523fbe,_0xc81c25=this['config'],{base:_0x4ef8b2,compartments:_0x314a08}=_0xc81c25;for(let _0x19dbe3 of _0x264c9d['effects'])_0x19dbe3['is'](Compartment['reconfigure'])?(_0xc81c25&&(_0x314a08=new Map(),_0xc81c25['compartments']['forEach']((_0x278c33,_0x239b9b)=>_0x314a08['set'](_0x239b9b,_0x278c33)),_0xc81c25=null),_0x314a08['set'](_0x19dbe3['value']['compartment'],_0x19dbe3['value']['extension'])):_0x19dbe3['is'](StateEffect['reconfigure'])?(_0xc81c25=null,_0x4ef8b2=_0x19dbe3['value']):_0x19dbe3['is'](StateEffect['appendConfig'])&&(_0xc81c25=null,_0x4ef8b2=_0x5187fd(_0x4ef8b2)['concat'](_0x19dbe3['value']));if(_0xc81c25)_0x523fbe=_0x264c9d['startState']['values']['slice']();else _0xc81c25=Configuration['resolve'](_0x4ef8b2,_0x314a08,this),_0x523fbe=new EditorState(_0xc81c25,this['doc'],this['selection'],_0xc81c25['dynamicSlots']['map'](()=>null),(_0x45cd41,_0x4f7252)=>_0x4f7252['reconfigure'](_0x45cd41,this),null)['values'];let _0x579109=_0x264c9d['startState']['facet'](allowMultipleSelections)?_0x264c9d['newSelection']:_0x264c9d['newSelection']['asSingle']();new EditorState(_0xc81c25,_0x264c9d['newDoc'],_0x579109,_0x523fbe,(_0xb538d9,_0x34c45f)=>_0x34c45f['update'](_0xb538d9,_0x264c9d),_0x264c9d);}['replaceSelection'](_0x4669d9){return'string'==typeof _0x4669d9&&(_0x4669d9=this['toText'](_0x4669d9)),this['changeByRange'](_0x47a557=>({'changes':{'from':_0x47a557['from'],'to':_0x47a557['to'],'insert':_0x4669d9},'range':EditorSelection['cursor'](_0x47a557['from']+_0x4669d9['length'])}));}['changeByRange'](_0x4894be){let _0x549267=this['selection'],_0x3cf0b9=_0x4894be(_0x549267['ranges'][0x0]),_0xc17652=this['changes'](_0x3cf0b9['changes']),_0x2d1d77=[_0x3cf0b9['range']],_0x1d48b4=_0x5187fd(_0x3cf0b9['effects']);for(let _0x172d1d=0x1;_0x172d1d<_0x549267['ranges']['length'];_0x172d1d++){let _0x2c4dd5=_0x4894be(_0x549267['ranges'][_0x172d1d]),_0x158048=this['changes'](_0x2c4dd5['changes']),_0x5e06b2=_0x158048['map'](_0xc17652);for(let _0x29c2e4=0x0;_0x29c2e4<_0x172d1d;_0x29c2e4++)_0x2d1d77[_0x29c2e4]=_0x2d1d77[_0x29c2e4]['map'](_0x5e06b2);let _0x4e38df=_0xc17652['mapDesc'](_0x158048,!0x0);_0x2d1d77['push'](_0x2c4dd5['range']['map'](_0x4e38df)),_0xc17652=_0xc17652['compose'](_0x5e06b2),_0x1d48b4=StateEffect['mapEffects'](_0x1d48b4,_0x5e06b2)['concat'](StateEffect['mapEffects'](_0x5187fd(_0x2c4dd5['effects']),_0x4e38df));}return{'changes':_0xc17652,'selection':EditorSelection['create'](_0x2d1d77,_0x549267['mainIndex']),'effects':_0x1d48b4};}['changes'](_0x24cb01=[]){return _0x24cb01 instanceof ChangeSet?_0x24cb01:ChangeSet['of'](_0x24cb01,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x5d3807){return Text['of'](_0x5d3807['split'](this['facet'](EditorState['lineSeparator'])||DefaultSplit));}['sliceDoc'](_0x5bf639=0x0,_0x59ad5d=this['doc']['length']){return this['doc']['sliceString'](_0x5bf639,_0x59ad5d,this['lineBreak']);}['facet'](_0x597a63){let _0x1fcbd1=this['config']['address'][_0x597a63['id']];return null==_0x1fcbd1?_0x597a63['default']:(_0x3c773a(this,_0x1fcbd1),getAddr(this,_0x1fcbd1));}['toJSON'](_0x4758a8){let _0x163e2f={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x4758a8)for(let _0x59bc96 in _0x4758a8){let _0xd66b9c=_0x4758a8[_0x59bc96];_0xd66b9c instanceof StateField&&null!=this['config']['address'][_0xd66b9c['id']]&&(_0x163e2f[_0x59bc96]=_0xd66b9c['spec']['toJSON'](this['field'](_0x4758a8[_0x59bc96]),this));}return _0x163e2f;}static['fromJSON'](_0x4bf521,_0x15bfff={},_0x5248d3){if(!_0x4bf521||'string'!=typeof _0x4bf521['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x40f7bb=[];if(_0x5248d3){for(let _0xc83095 in _0x5248d3)if(Object['prototype']['hasOwnProperty']['call'](_0x4bf521,_0xc83095)){let _0x22de85=_0x5248d3[_0xc83095],_0xc2af4f=_0x4bf521[_0xc83095];_0x40f7bb['push'](_0x22de85['init'](_0xceac22=>_0x22de85['spec']['fromJSON'](_0xc2af4f,_0xceac22)));}}return EditorState['create']({'doc':_0x4bf521['doc'],'selection':EditorSelection['fromJSON'](_0x4bf521['selection']),'extensions':_0x15bfff['extensions']?_0x40f7bb['concat']([_0x15bfff['extensions']]):_0x40f7bb});}static['create'](_0x1da351={}){let _0x130664=Configuration['resolve'](_0x1da351['extensions']||[],new Map()),_0x32cbdf=_0x1da351['doc']instanceof Text?_0x1da351['doc']:Text['of']((_0x1da351['doc']||'')['split'](_0x130664['staticFacet'](EditorState['lineSeparator'])||DefaultSplit)),_0x1b3f7e=_0x1da351['selection']?_0x1da351['selection']instanceof EditorSelection?_0x1da351['selection']:EditorSelection['single'](_0x1da351['selection']['anchor'],_0x1da351['selection']['head']):EditorSelection['single'](0x0);return checkSelection(_0x1b3f7e,_0x32cbdf['length']),_0x130664['staticFacet'](allowMultipleSelections)||(_0x1b3f7e=_0x1b3f7e['asSingle']()),new EditorState(_0x130664,_0x32cbdf,_0x1b3f7e,_0x130664['dynamicSlots']['map'](()=>null),(_0x104403,_0x44e1f2)=>_0x44e1f2['create'](_0x104403),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x7b0935);}['phrase'](_0x20373c,..._0x218027){for(let _0x132836 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x132836,_0x20373c)){_0x20373c=_0x132836[_0x20373c];break;}return _0x218027['length']&&(_0x20373c=_0x20373c['replace'](/\$(\$|\d*)/g,(_0x407ca1,_0x2885a1)=>{if('$'==_0x2885a1)return'$';let _0x255852=+(_0x2885a1||0x1);return!_0x255852||_0x255852>_0x218027['length']?_0x407ca1:_0x218027[_0x255852-0x1];})),_0x20373c;}['languageDataAt'](_0x3f227a,_0x343446,_0x4c3d39=-0x1){let _0x533ebe=[];for(let _0x3bbb24 of this['facet'](languageData))for(let _0x315554 of _0x3bbb24(this,_0x343446,_0x4c3d39))Object['prototype']['hasOwnProperty']['call'](_0x315554,_0x3f227a)&&_0x533ebe['push'](_0x315554[_0x3f227a]);return _0x533ebe;}['charCategorizer'](_0x18d552){return makeCategorizer(this['languageDataAt']('wordChars',_0x18d552)['join'](''));}['wordAt'](_0x169c68){let {text:_0x4d31dd,from:_0x251f03,length:_0x30e49c}=this['doc']['lineAt'](_0x169c68),_0x2b3b12=this['charCategorizer'](_0x169c68),_0x16328f=_0x169c68-_0x251f03,_0x931191=_0x169c68-_0x251f03;for(;_0x16328f>0x0;){let _0xc8238a=findClusterBreak(_0x4d31dd,_0x16328f,!0x1);if(_0x2b3b12(_0x4d31dd['slice'](_0xc8238a,_0x16328f))!=CharCategory['Word'])break;_0x16328f=_0xc8238a;}for(;_0x931191<_0x30e49c;){let _0x1b7388=findClusterBreak(_0x4d31dd,_0x931191);if(_0x2b3b12(_0x4d31dd['slice'](_0x931191,_0x1b7388))!=CharCategory['Word'])break;_0x931191=_0x1b7388;}return _0x16328f==_0x931191?null:EditorSelection['range'](_0x16328f+_0x251f03,_0x931191+_0x251f03);}}function _0x3c2ae7(_0x347822,_0x4a8796,_0x490790={}){let _0x16bc22={};for(let _0x51829e of _0x347822)for(let _0xa4c109 of Object['keys'](_0x51829e)){let _0x4fc79a=_0x51829e[_0xa4c109],_0x2330e1=_0x16bc22[_0xa4c109];if(void 0x0===_0x2330e1)_0x16bc22[_0xa4c109]=_0x4fc79a;else{if(_0x2330e1===_0x4fc79a||void 0x0===_0x4fc79a);else{if(!Object['hasOwnProperty']['call'](_0x490790,_0xa4c109))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0xa4c109);_0x16bc22[_0xa4c109]=_0x490790[_0xa4c109](_0x2330e1,_0x4fc79a);}}}for(let _0x4fd607 in _0x4a8796)void 0x0===_0x16bc22[_0x4fd607]&&(_0x16bc22[_0x4fd607]=_0x4a8796[_0x4fd607]);return _0x16bc22;}EditorState['allowMultipleSelections']=allowMultipleSelections,EditorState['tabSize']=Facet['define']({'combine':_0x5991f8=>_0x5991f8['length']?_0x5991f8[0x0]:0x4}),EditorState['lineSeparator']=lineSeparator,EditorState['readOnly']=_0x7b0935,EditorState['phrases']=Facet['define']({'compare'(_0x5bb5b5,_0x280ae3){let _0x2c1714=Object['keys'](_0x5bb5b5),_0x104dbe=Object['keys'](_0x280ae3);return _0x2c1714['length']==_0x104dbe['length']&&_0x2c1714['every'](_0x2ee304=>_0x5bb5b5[_0x2ee304]==_0x280ae3[_0x2ee304]);}}),EditorState['languageData']=languageData,EditorState['changeFilter']=changeFilter,EditorState['transactionFilter']=transactionFilter,EditorState['transactionExtender']=transactionExtender,Compartment['reconfigure']=StateEffect['define']();class _0x54fcea{['eq'](_0x544f7d){return this==_0x544f7d;}['range'](_0x1a7fe6,_0x4f003f=_0x1a7fe6){return _0x51da6f['create'](_0x1a7fe6,_0x4f003f,this);}}_0x54fcea['prototype']['startSide']=_0x54fcea['prototype']['endSide']=0x0,_0x54fcea['prototype']['point']=!0x1,_0x54fcea['prototype']['mapMode']=_0x270cd3['TrackDel'];let _0x51da6f=class _0x1bb5f8{constructor(_0x161e9f,_0x2b22ac,_0x3fafd9){this['from']=_0x161e9f,this['to']=_0x2b22ac,this['value']=_0x3fafd9;}static['create'](_0x533c1d,_0x2fdcef,_0x3816a8){return new _0x1bb5f8(_0x533c1d,_0x2fdcef,_0x3816a8);}};function _0x5e2298(_0x564132,_0x10f8b1){return _0x564132['from']-_0x10f8b1['from']||_0x564132['value']['startSide']-_0x10f8b1['value']['startSide'];}class _0x616a5a{constructor(_0x44642d,_0xf26f41,_0x193ce2,_0xbcc51c){this['from']=_0x44642d,this['to']=_0xf26f41,this['value']=_0x193ce2,this['maxPoint']=_0xbcc51c;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x8386be,_0x3658d1,_0x8c4467,_0x57c8b7=0x0){let _0x2b19e3=_0x8c4467?this['to']:this['from'];for(let _0xb03334=_0x57c8b7,_0x453545=_0x2b19e3['length'];;){if(_0xb03334==_0x453545)return _0xb03334;let _0x199cb5=_0xb03334+_0x453545>>0x1,_0x3cf178=_0x2b19e3[_0x199cb5]-_0x8386be||(_0x8c4467?this['value'][_0x199cb5]['endSide']:this['value'][_0x199cb5]['startSide'])-_0x3658d1;if(_0x199cb5==_0xb03334)return _0x3cf178>=0x0?_0xb03334:_0x453545;_0x3cf178>=0x0?_0x453545=_0x199cb5:_0xb03334=_0x199cb5+0x1;}}['between'](_0xabb97a,_0x5719f8,_0x1db40d,_0x159331){for(let _0x517ae1=this['findIndex'](_0x5719f8,-0x3b9aca00,!0x0),_0x5189db=this['findIndex'](_0x1db40d,0x3b9aca00,!0x1,_0x517ae1);_0x517ae1<_0x5189db;_0x517ae1++)if(!0x1===_0x159331(this['from'][_0x517ae1]+_0xabb97a,this['to'][_0x517ae1]+_0xabb97a,this['value'][_0x517ae1]))return!0x1;}['map'](_0x5e8571,_0x4ec654){let _0x3ac7c7=[],_0x27a43e=[],_0x35f44a=[],_0x1797d6=-0x1,_0x4daa31=-0x1;for(let _0x515804=0x0;_0x515804<this['value']['length'];_0x515804++){let _0x3737f1,_0x29d33f,_0x361ca8=this['value'][_0x515804],_0x3980f1=this['from'][_0x515804]+_0x5e8571,_0x443c3e=this['to'][_0x515804]+_0x5e8571;if(_0x3980f1==_0x443c3e){let _0x1d248c=_0x4ec654['mapPos'](_0x3980f1,_0x361ca8['startSide'],_0x361ca8['mapMode']);if(null==_0x1d248c)continue;if(_0x3737f1=_0x29d33f=_0x1d248c,_0x361ca8['startSide']!=_0x361ca8['endSide']&&(_0x29d33f=_0x4ec654['mapPos'](_0x3980f1,_0x361ca8['endSide']),_0x29d33f<_0x3737f1))continue;}else{if(_0x3737f1=_0x4ec654['mapPos'](_0x3980f1,_0x361ca8['startSide']),_0x29d33f=_0x4ec654['mapPos'](_0x443c3e,_0x361ca8['endSide']),_0x3737f1>_0x29d33f||_0x3737f1==_0x29d33f&&_0x361ca8['startSide']>0x0&&_0x361ca8['endSide']<=0x0)continue;}(_0x29d33f-_0x3737f1||_0x361ca8['endSide']-_0x361ca8['startSide'])<0x0||(_0x1797d6<0x0&&(_0x1797d6=_0x3737f1),_0x361ca8['point']&&(_0x4daa31=Math['max'](_0x4daa31,_0x29d33f-_0x3737f1)),_0x3ac7c7['push'](_0x361ca8),_0x27a43e['push'](_0x3737f1-_0x1797d6),_0x35f44a['push'](_0x29d33f-_0x1797d6));}return{'mapped':_0x3ac7c7['length']?new _0x616a5a(_0x27a43e,_0x35f44a,_0x3ac7c7,_0x4daa31):null,'pos':_0x1797d6};}}class RangeSet{constructor(_0x431011,_0x1c43ed,_0x7e45fa,_0x24cfb9){this['chunkPos']=_0x431011,this['chunk']=_0x1c43ed,this['nextLayer']=_0x7e45fa,this['maxPoint']=_0x24cfb9;}static['create'](_0x58612d,_0x255ef2,_0x39b323,_0x9b46f4){return new RangeSet(_0x58612d,_0x255ef2,_0x39b323,_0x9b46f4);}get['length'](){let _0x3da448=this['chunk']['length']-0x1;return _0x3da448<0x0?0x0:Math['max'](this['chunkEnd'](_0x3da448),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x382f2d=this['nextLayer']['size'];for(let _0x1586b9 of this['chunk'])_0x382f2d+=_0x1586b9['value']['length'];return _0x382f2d;}['chunkEnd'](_0x2f6932){return this['chunkPos'][_0x2f6932]+this['chunk'][_0x2f6932]['length'];}['update'](_0x5289b2){let {add:_0x1548ae=[],sort:_0x3e3e44=!0x1,filterFrom:_0x38b60f=0x0,filterTo:_0x242feb=this['length']}=_0x5289b2,_0x1edb93=_0x5289b2['filter'];if(0x0==_0x1548ae['length']&&!_0x1edb93)return this;if(_0x3e3e44&&(_0x1548ae=_0x1548ae['slice']()['sort'](_0x5e2298)),this['isEmpty'])return _0x1548ae['length']?RangeSet['of'](_0x1548ae):this;let _0xb011ca=new _0x226c7c(this,null,-0x1)['goto'](0x0),_0x555a4a=0x0,_0xc1f98c=[],_0x259f73=new RangeSetBuilder();for(;_0xb011ca['value']||_0x555a4a<_0x1548ae['length'];)if(_0x555a4a<_0x1548ae['length']&&(_0xb011ca['from']-_0x1548ae[_0x555a4a]['from']||_0xb011ca['startSide']-_0x1548ae[_0x555a4a]['value']['startSide'])>=0x0){let _0x244dde=_0x1548ae[_0x555a4a++];_0x259f73['addInner'](_0x244dde['from'],_0x244dde['to'],_0x244dde['value'])||_0xc1f98c['push'](_0x244dde);}else 0x1==_0xb011ca['rangeIndex']&&_0xb011ca['chunkIndex']<this['chunk']['length']&&(_0x555a4a==_0x1548ae['length']||this['chunkEnd'](_0xb011ca['chunkIndex'])<_0x1548ae[_0x555a4a]['from'])&&(!_0x1edb93||_0x38b60f>this['chunkEnd'](_0xb011ca['chunkIndex'])||_0x242feb<this['chunkPos'][_0xb011ca['chunkIndex']])&&_0x259f73['addChunk'](this['chunkPos'][_0xb011ca['chunkIndex']],this['chunk'][_0xb011ca['chunkIndex']])?_0xb011ca['nextChunk']():((!_0x1edb93||_0x38b60f>_0xb011ca['to']||_0x242feb<_0xb011ca['from']||_0x1edb93(_0xb011ca['from'],_0xb011ca['to'],_0xb011ca['value']))&&(_0x259f73['addInner'](_0xb011ca['from'],_0xb011ca['to'],_0xb011ca['value'])||_0xc1f98c['push'](_0x51da6f['create'](_0xb011ca['from'],_0xb011ca['to'],_0xb011ca['value']))),_0xb011ca['next']());return _0x259f73['finishInner'](this['nextLayer']['isEmpty']&&!_0xc1f98c['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0xc1f98c,'filter':_0x1edb93,'filterFrom':_0x38b60f,'filterTo':_0x242feb}));}['map'](_0x7ee8c3){if(_0x7ee8c3['empty']||this['isEmpty'])return this;let _0x3dba7b=[],_0x4084b4=[],_0x579256=-0x1;for(let _0x37d6e1=0x0;_0x37d6e1<this['chunk']['length'];_0x37d6e1++){let _0x1b9027=this['chunkPos'][_0x37d6e1],_0x195023=this['chunk'][_0x37d6e1],_0x46ffe4=_0x7ee8c3['touchesRange'](_0x1b9027,_0x1b9027+_0x195023['length']);if(!0x1===_0x46ffe4)_0x579256=Math['max'](_0x579256,_0x195023['maxPoint']),_0x3dba7b['push'](_0x195023),_0x4084b4['push'](_0x7ee8c3['mapPos'](_0x1b9027));else{if(!0x0===_0x46ffe4){let {mapped:_0x2b50a4,pos:_0x1a5b1b}=_0x195023['map'](_0x1b9027,_0x7ee8c3);_0x2b50a4&&(_0x579256=Math['max'](_0x579256,_0x2b50a4['maxPoint']),_0x3dba7b['push'](_0x2b50a4),_0x4084b4['push'](_0x1a5b1b));}}}let _0x244e3c=this['nextLayer']['map'](_0x7ee8c3);return 0x0==_0x3dba7b['length']?_0x244e3c:new RangeSet(_0x4084b4,_0x3dba7b,_0x244e3c||RangeSet['empty'],_0x579256);}['between'](_0xf00ef7,_0x161ba9,_0x700f37){if(!this['isEmpty']){for(let _0x1f033c=0x0;_0x1f033c<this['chunk']['length'];_0x1f033c++){let _0x246f41=this['chunkPos'][_0x1f033c],_0xa84af1=this['chunk'][_0x1f033c];if(_0x161ba9>=_0x246f41&&_0xf00ef7<=_0x246f41+_0xa84af1['length']&&!0x1===_0xa84af1['between'](_0x246f41,_0xf00ef7-_0x246f41,_0x161ba9-_0x246f41,_0x700f37))return;}this['nextLayer']['between'](_0xf00ef7,_0x161ba9,_0x700f37);}}['iter'](_0x5a3a9a=0x0){return _0x16c6d5['from']([this])['goto'](_0x5a3a9a);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x3761d2,_0x2f76f9=0x0){return _0x16c6d5['from'](_0x3761d2)['goto'](_0x2f76f9);}static['compare'](_0x3e7164,_0x1dddd8,_0x535486,_0x5d5ae5,_0x267ec8=-0x1){let _0x36dc6f=_0x3e7164['filter'](_0x1d9230=>_0x1d9230['maxPoint']>0x0||!_0x1d9230['isEmpty']&&_0x1d9230['maxPoint']>=_0x267ec8),_0x5f21a1=_0x1dddd8['filter'](_0x49be62=>_0x49be62['maxPoint']>0x0||!_0x49be62['isEmpty']&&_0x49be62['maxPoint']>=_0x267ec8),_0x1ad306=_0x12fea3(_0x36dc6f,_0x5f21a1,_0x535486),_0x54f56f=new _0x2e6ce2(_0x36dc6f,_0x1ad306,_0x267ec8),_0x58dc85=new _0x2e6ce2(_0x5f21a1,_0x1ad306,_0x267ec8);_0x535486['iterGaps']((_0x42c9,_0x1fad08,_0x3c9f40)=>_0x323264(_0x54f56f,_0x42c9,_0x58dc85,_0x1fad08,_0x3c9f40,_0x5d5ae5)),_0x535486['empty']&&0x0==_0x535486['length']&&_0x323264(_0x54f56f,0x0,_0x58dc85,0x0,0x0,_0x5d5ae5);}static['eq'](_0x87eb,_0x52b1f0,_0x18d64b=0x0,_0x5c52a6){null==_0x5c52a6&&(_0x5c52a6=0x3b9ac9ff);let _0x38d03a=_0x87eb['filter'](_0x4176bb=>!_0x4176bb['isEmpty']&&_0x52b1f0['indexOf'](_0x4176bb)<0x0),_0x2a6a84=_0x52b1f0['filter'](_0x102343=>!_0x102343['isEmpty']&&_0x87eb['indexOf'](_0x102343)<0x0);if(_0x38d03a['length']!=_0x2a6a84['length'])return!0x1;if(!_0x38d03a['length'])return!0x0;let _0x43aab7=_0x12fea3(_0x38d03a,_0x2a6a84),_0x424562=new _0x2e6ce2(_0x38d03a,_0x43aab7,0x0)['goto'](_0x18d64b),_0x11cee4=new _0x2e6ce2(_0x2a6a84,_0x43aab7,0x0)['goto'](_0x18d64b);for(;;){if(_0x424562['to']!=_0x11cee4['to']||!_0x3127fb(_0x424562['active'],_0x11cee4['active'])||_0x424562['point']&&(!_0x11cee4['point']||!_0x424562['point']['eq'](_0x11cee4['point'])))return!0x1;if(_0x424562['to']>_0x5c52a6)return!0x0;_0x424562['next'](),_0x11cee4['next']();}}static['spans'](_0x4fb5fb,_0xbb8257,_0x54aca4,_0xf874d4,_0x2ee415=-0x1){let _0x22fe00=new _0x2e6ce2(_0x4fb5fb,null,_0x2ee415)['goto'](_0xbb8257),_0x40295a=_0xbb8257,_0x14a124=_0x22fe00['openStart'];for(;;){let _0x1ad8ba=Math['min'](_0x22fe00['to'],_0x54aca4);if(_0x22fe00['point']){let _0x5ebfc1=_0x22fe00['activeForPoint'](_0x22fe00['to']),_0x387d4b=_0x22fe00['pointFrom']<_0xbb8257?_0x5ebfc1['length']+0x1:_0x22fe00['point']['startSide']<0x0?_0x5ebfc1['length']:Math['min'](_0x5ebfc1['length'],_0x14a124);_0xf874d4['point'](_0x40295a,_0x1ad8ba,_0x22fe00['point'],_0x5ebfc1,_0x387d4b,_0x22fe00['pointRank']),_0x14a124=Math['min'](_0x22fe00['openEnd'](_0x1ad8ba),_0x5ebfc1['length']);}else _0x1ad8ba>_0x40295a&&(_0xf874d4['span'](_0x40295a,_0x1ad8ba,_0x22fe00['active'],_0x14a124),_0x14a124=_0x22fe00['openEnd'](_0x1ad8ba));if(_0x22fe00['to']>_0x54aca4)return _0x14a124+(_0x22fe00['point']&&_0x22fe00['to']>_0x54aca4?0x1:0x0);_0x40295a=_0x22fe00['to'],_0x22fe00['next']();}}static['of'](_0x20e763,_0x4a7a23=!0x1){let _0x33b791=new RangeSetBuilder();for(let _0x5393e2 of _0x20e763 instanceof _0x51da6f?[_0x20e763]:_0x4a7a23?lazySort(_0x20e763):_0x20e763)_0x33b791['add'](_0x5393e2['from'],_0x5393e2['to'],_0x5393e2['value']);return _0x33b791['finish']();}static['join'](_0x1c26d6){if(!_0x1c26d6['length'])return RangeSet['empty'];let _0x5a9538=_0x1c26d6[_0x1c26d6['length']-0x1];for(let _0x50341=_0x1c26d6['length']-0x2;_0x50341>=0x0;_0x50341--)for(let _0x1c1621=_0x1c26d6[_0x50341];_0x1c1621!=RangeSet['empty'];_0x1c1621=_0x1c1621['nextLayer'])_0x5a9538=new RangeSet(_0x1c1621['chunkPos'],_0x1c1621['chunk'],_0x5a9538,Math['max'](_0x1c1621['maxPoint'],_0x5a9538['maxPoint']));return _0x5a9538;}}function lazySort(_0x5dfa70){if(_0x5dfa70['length']>0x1)for(let _0x18776b=_0x5dfa70[0x0],_0x487275=0x1;_0x487275<_0x5dfa70['length'];_0x487275++){let _0x5b5a83=_0x5dfa70[_0x487275];if(_0x5e2298(_0x18776b,_0x5b5a83)>0x0)return _0x5dfa70['slice']()['sort'](_0x5e2298);_0x18776b=_0x5b5a83;}return _0x5dfa70;}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x1e8345){this['chunks']['push'](new _0x616a5a(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,_0x1e8345&&(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'](_0x5b5e07,_0x4d73db,_0x468b9f){this['addInner'](_0x5b5e07,_0x4d73db,_0x468b9f)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x5b5e07,_0x4d73db,_0x468b9f);}['addInner'](_0x175dfc,_0x56d502,_0x38532f){let _0x1062cc=_0x175dfc-this['lastTo']||_0x38532f['startSide']-this['last']['endSide'];if(_0x1062cc<=0x0&&(_0x175dfc-this['lastFrom']||_0x38532f['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x1062cc<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x175dfc),this['from']['push'](_0x175dfc-this['chunkStart']),this['to']['push'](_0x56d502-this['chunkStart']),this['last']=_0x38532f,this['lastFrom']=_0x175dfc,this['lastTo']=_0x56d502,this['value']['push'](_0x38532f),_0x38532f['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x56d502-_0x175dfc)),!0x0);}['addChunk'](_0x43dbed,_0x869acb){if((_0x43dbed-this['lastTo']||_0x869acb['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x869acb['maxPoint']),this['chunks']['push'](_0x869acb),this['chunkPos']['push'](_0x43dbed);let _0x1545fc=_0x869acb['value']['length']-0x1;return this['last']=_0x869acb['value'][_0x1545fc],this['lastFrom']=_0x869acb['from'][_0x1545fc]+_0x43dbed,this['lastTo']=_0x869acb['to'][_0x1545fc]+_0x43dbed,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x509912){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x509912;let _0x27fc13=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x509912):_0x509912,this['setMaxPoint']);return this['from']=null,_0x27fc13;}}function _0x12fea3(_0xb08f53,_0x5c541f,_0x522ebb){let _0x4dd97a=new Map();for(let _0x3214bf of _0xb08f53)for(let _0x403091=0x0;_0x403091<_0x3214bf['chunk']['length'];_0x403091++)_0x3214bf['chunk'][_0x403091]['maxPoint']<=0x0&&_0x4dd97a['set'](_0x3214bf['chunk'][_0x403091],_0x3214bf['chunkPos'][_0x403091]);let _0x3a3c00=new Set();for(let _0x28a356 of _0x5c541f)for(let _0x197a8c=0x0;_0x197a8c<_0x28a356['chunk']['length'];_0x197a8c++){let _0x1cf884=_0x4dd97a['get'](_0x28a356['chunk'][_0x197a8c]);null==_0x1cf884||(_0x522ebb?_0x522ebb['mapPos'](_0x1cf884):_0x1cf884)!=_0x28a356['chunkPos'][_0x197a8c]||(null==_0x522ebb?void 0x0:_0x522ebb['touchesRange'](_0x1cf884,_0x1cf884+_0x28a356['chunk'][_0x197a8c]['length']))||_0x3a3c00['add'](_0x28a356['chunk'][_0x197a8c]);}return _0x3a3c00;}class _0x226c7c{constructor(_0x45baf6,_0xdb593a,_0x126288,_0xab1cd9=0x0){this['layer']=_0x45baf6,this['skip']=_0xdb593a,this['minPoint']=_0x126288,this['rank']=_0xab1cd9;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x122d31,_0x51a7a6=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x122d31,_0x51a7a6,!0x1),this;}['gotoInner'](_0xdb5455,_0x3f1b11,_0x2c750f){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x543ab0=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x543ab0)||this['layer']['chunkEnd'](this['chunkIndex'])<_0xdb5455||_0x543ab0['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x2c750f=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0xcc6c49=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0xdb5455-this['layer']['chunkPos'][this['chunkIndex']],_0x3f1b11,!0x0);(!_0x2c750f||this['rangeIndex']<_0xcc6c49)&&this['setRangeIndex'](_0xcc6c49);}this['next']();}['forward'](_0x46eca2,_0x1549e7){(this['to']-_0x46eca2||this['endSide']-_0x1549e7)<0x0&&this['gotoInner'](_0x46eca2,_0x1549e7,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x55397=this['layer']['chunkPos'][this['chunkIndex']],_0x3f4060=this['layer']['chunk'][this['chunkIndex']],_0x527615=_0x55397+_0x3f4060['from'][this['rangeIndex']];if(this['from']=_0x527615,this['to']=_0x55397+_0x3f4060['to'][this['rangeIndex']],this['value']=_0x3f4060['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x53a28e){if(_0x53a28e==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']=_0x53a28e;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x7ec920){return this['from']-_0x7ec920['from']||this['startSide']-_0x7ec920['startSide']||this['rank']-_0x7ec920['rank']||this['to']-_0x7ec920['to']||this['endSide']-_0x7ec920['endSide'];}}class _0x16c6d5{constructor(_0x51f186){this['heap']=_0x51f186;}static['from'](_0x2fac57,_0x2b36f0=null,_0x3662ee=-0x1){let _0x539197=[];for(let _0x59e229=0x0;_0x59e229<_0x2fac57['length'];_0x59e229++)for(let _0x3b6f1c=_0x2fac57[_0x59e229];!_0x3b6f1c['isEmpty'];_0x3b6f1c=_0x3b6f1c['nextLayer'])_0x3b6f1c['maxPoint']>=_0x3662ee&&_0x539197['push'](new _0x226c7c(_0x3b6f1c,_0x2b36f0,_0x3662ee,_0x59e229));return 0x1==_0x539197['length']?_0x539197[0x0]:new _0x16c6d5(_0x539197);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x283fde,_0x141554=-0x3b9aca00){for(let _0x5a0666 of this['heap'])_0x5a0666['goto'](_0x283fde,_0x141554);for(let _0x1a52b6=this['heap']['length']>>0x1;_0x1a52b6>=0x0;_0x1a52b6--)_0x3a4040(this['heap'],_0x1a52b6);return this['next'](),this;}['forward'](_0x52ca83,_0x2f0180){for(let _0x92f73d of this['heap'])_0x92f73d['forward'](_0x52ca83,_0x2f0180);for(let _0x186818=this['heap']['length']>>0x1;_0x186818>=0x0;_0x186818--)_0x3a4040(this['heap'],_0x186818);(this['to']-_0x52ca83||this['value']['endSide']-_0x2f0180)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x3805d1=this['heap'][0x0];this['from']=_0x3805d1['from'],this['to']=_0x3805d1['to'],this['value']=_0x3805d1['value'],this['rank']=_0x3805d1['rank'],_0x3805d1['value']&&_0x3805d1['next'](),_0x3a4040(this['heap'],0x0);}}}function _0x3a4040(_0x13676b,_0x3d0ad6){for(let _0x4e76cb=_0x13676b[_0x3d0ad6];;){let _0x8b87df=0x1+(_0x3d0ad6<<0x1);if(_0x8b87df>=_0x13676b['length'])break;let _0x216b2d=_0x13676b[_0x8b87df];if(_0x8b87df+0x1<_0x13676b['length']&&_0x216b2d['compare'](_0x13676b[_0x8b87df+0x1])>=0x0&&(_0x216b2d=_0x13676b[_0x8b87df+0x1],_0x8b87df++),_0x4e76cb['compare'](_0x216b2d)<0x0)break;_0x13676b[_0x8b87df]=_0x4e76cb,_0x13676b[_0x3d0ad6]=_0x216b2d,_0x3d0ad6=_0x8b87df;}}class _0x2e6ce2{constructor(_0x3fe811,_0x57c4a1,_0x3b1c48){this['minPoint']=_0x3b1c48,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']=_0x16c6d5['from'](_0x3fe811,_0x57c4a1,_0x3b1c48);}['goto'](_0x3f28f4,_0xa6ecfd=-0x3b9aca00){return this['cursor']['goto'](_0x3f28f4,_0xa6ecfd),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x3f28f4,this['endSide']=_0xa6ecfd,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x3afaeb,_0x3fe024){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x3afaeb||this['active'][this['minActive']]['endSide']-_0x3fe024)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x3afaeb,_0x3fe024);}['removeActive'](_0x4d020b){_0x3ff618(this['active'],_0x4d020b),_0x3ff618(this['activeTo'],_0x4d020b),_0x3ff618(this['activeRank'],_0x4d020b),this['minActive']=_0x29f39f(this['active'],this['activeTo']);}['addActive'](_0xd84ed8){let _0x207ca6=0x0,{value:_0x850704,to:_0x4b49d2,rank:_0x30e3d8}=this['cursor'];for(;_0x207ca6<this['activeRank']['length']&&(_0x30e3d8-this['activeRank'][_0x207ca6]||_0x4b49d2-this['activeTo'][_0x207ca6])>0x0;)_0x207ca6++;insert(this['active'],_0x207ca6,_0x850704),insert(this['activeTo'],_0x207ca6,_0x4b49d2),insert(this['activeRank'],_0x207ca6,_0x30e3d8),_0xd84ed8&&insert(_0xd84ed8,_0x207ca6,this['cursor']['from']),this['minActive']=_0x29f39f(this['active'],this['activeTo']);}['next'](){let _0x49edcb=this['to'],_0xe81953=this['point'];this['point']=null;let _0x297e5d=this['openStart']<0x0?[]:null;for(;;){let _0x458055=this['minActive'];if(_0x458055>-0x1&&(this['activeTo'][_0x458055]-this['cursor']['from']||this['active'][_0x458055]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x458055]>_0x49edcb){this['to']=this['activeTo'][_0x458055],this['endSide']=this['active'][_0x458055]['endSide'];break;}this['removeActive'](_0x458055),_0x297e5d&&_0x3ff618(_0x297e5d,_0x458055);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x49edcb){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x31b68b=this['cursor']['value'];if(_0x31b68b['point']){if(!(_0xe81953&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x31b68b,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x31b68b['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x297e5d),this['cursor']['next']();}}}if(_0x297e5d){this['openStart']=0x0;for(let _0x309006=_0x297e5d['length']-0x1;_0x309006>=0x0&&_0x297e5d[_0x309006]<_0x49edcb;_0x309006--)this['openStart']++;}}['activeForPoint'](_0x3b7342){if(!this['active']['length'])return this['active'];let _0x219c48=[];for(let _0x505cdc=this['active']['length']-0x1;_0x505cdc>=0x0&&!(this['activeRank'][_0x505cdc]<this['pointRank']);_0x505cdc--)(this['activeTo'][_0x505cdc]>_0x3b7342||this['activeTo'][_0x505cdc]==_0x3b7342&&this['active'][_0x505cdc]['endSide']>=this['point']['endSide'])&&_0x219c48['push'](this['active'][_0x505cdc]);return _0x219c48['reverse']();}['openEnd'](_0x58a0db){let _0x29b928=0x0;for(let _0x134939=this['activeTo']['length']-0x1;_0x134939>=0x0&&this['activeTo'][_0x134939]>_0x58a0db;_0x134939--)_0x29b928++;return _0x29b928;}}function _0x323264(_0x27328b,_0x14aa03,_0x67d637,_0x34cc17,_0x66b9ec,_0x2d24e5){_0x27328b['goto'](_0x14aa03),_0x67d637['goto'](_0x34cc17);let _0x18da13=_0x34cc17+_0x66b9ec,_0x1f939e=_0x34cc17,_0x48aa8c=_0x34cc17-_0x14aa03;for(;;){let _0x2dec1c=_0x27328b['to']+_0x48aa8c-_0x67d637['to'],_0x218fcd=_0x2dec1c||_0x27328b['endSide']-_0x67d637['endSide'],_0x117add=_0x218fcd<0x0?_0x27328b['to']+_0x48aa8c:_0x67d637['to'],_0x5cd0d4=Math['min'](_0x117add,_0x18da13);if(_0x27328b['point']||_0x67d637['point']?_0x27328b['point']&&_0x67d637['point']&&(_0x27328b['point']==_0x67d637['point']||_0x27328b['point']['eq'](_0x67d637['point']))&&_0x3127fb(_0x27328b['activeForPoint'](_0x27328b['to']),_0x67d637['activeForPoint'](_0x67d637['to']))||_0x2d24e5['comparePoint'](_0x1f939e,_0x5cd0d4,_0x27328b['point'],_0x67d637['point']):_0x5cd0d4>_0x1f939e&&!_0x3127fb(_0x27328b['active'],_0x67d637['active'])&&_0x2d24e5['compareRange'](_0x1f939e,_0x5cd0d4,_0x27328b['active'],_0x67d637['active']),_0x117add>_0x18da13)break;(_0x2dec1c||_0x27328b['openEnd']!=_0x67d637['openEnd'])&&_0x2d24e5['boundChange']&&_0x2d24e5['boundChange'](_0x117add),_0x1f939e=_0x117add,_0x218fcd<=0x0&&_0x27328b['next'](),_0x218fcd>=0x0&&_0x67d637['next']();}}function _0x3127fb(_0x12c084,_0x2ac850){if(_0x12c084['length']!=_0x2ac850['length'])return!0x1;for(let _0x58cc1d=0x0;_0x58cc1d<_0x12c084['length'];_0x58cc1d++)if(_0x12c084[_0x58cc1d]!=_0x2ac850[_0x58cc1d]&&!_0x12c084[_0x58cc1d]['eq'](_0x2ac850[_0x58cc1d]))return!0x1;return!0x0;}function _0x3ff618(_0x1ea45d,_0x3a8099){for(let _0x3de088=_0x3a8099,_0x35843a=_0x1ea45d['length']-0x1;_0x3de088<_0x35843a;_0x3de088++)_0x1ea45d[_0x3de088]=_0x1ea45d[_0x3de088+0x1];_0x1ea45d['pop']();}function insert(_0xc410a6,_0x17b71f,_0x3418dc){for(let _0x354ac7=_0xc410a6['length']-0x1;_0x354ac7>=_0x17b71f;_0x354ac7--)_0xc410a6[_0x354ac7+0x1]=_0xc410a6[_0x354ac7];_0xc410a6[_0x17b71f]=_0x3418dc;}function _0x29f39f(_0x52db3e,_0x3ef721){let _0x2326c2=-0x1,_0x1cf935=0x3b9aca00;for(let _0x37f37a=0x0;_0x37f37a<_0x3ef721['length'];_0x37f37a++)(_0x3ef721[_0x37f37a]-_0x1cf935||_0x52db3e[_0x37f37a]['endSide']-_0x52db3e[_0x2326c2]['endSide'])<0x0&&(_0x2326c2=_0x37f37a,_0x1cf935=_0x3ef721[_0x37f37a]);return _0x2326c2;}function countColumn(_0x1031ea,_0x40eb93,_0x3d6ee2=_0x1031ea['length']){let _0x23ed4d=0x0;for(let _0x4d4461=0x0;_0x4d4461<_0x3d6ee2&&_0x4d4461<_0x1031ea['length'];)0x9==_0x1031ea['charCodeAt'](_0x4d4461)?(_0x23ed4d+=_0x40eb93-_0x23ed4d%_0x40eb93,_0x4d4461++):(_0x23ed4d++,_0x4d4461=findClusterBreak(_0x1031ea,_0x4d4461));return _0x23ed4d;}function _0x8ab3c5(_0x567bdb,_0x2f6a76,_0x1a080d,_0x15afe1){for(let _0x1e7c4d=0x0,_0x53d251=0x0;;){if(_0x53d251>=_0x2f6a76)return _0x1e7c4d;if(_0x1e7c4d==_0x567bdb['length'])break;_0x53d251+=0x9==_0x567bdb['charCodeAt'](_0x1e7c4d)?_0x1a080d-_0x53d251%_0x1a080d:0x1,_0x1e7c4d=findClusterBreak(_0x567bdb,_0x1e7c4d);}return!0x0===_0x15afe1?-0x1:_0x567bdb['length'];}const _0x497b30='ͼ',_0x262e8='undefined'==typeof Symbol?'__'+_0x497b30:Symbol['for'](_0x497b30),_0x327e89='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),top='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x5ce5c4,_0x151c29){this['rules']=[];let {finish:_0x455afb}=_0x151c29||{};function _0x2665e8(_0x312146){return/^@/['test'](_0x312146)?[_0x312146]:_0x312146['split'](/,\s*/);}function _0x3b829c(_0x2b2425,_0x20bc9d,_0x5bcfc2,_0x35fe74){let _0x46ecb3=[],_0x14f23f=/^@(\w+)\b/['exec'](_0x2b2425[0x0]),_0x49c49b=_0x14f23f&&'keyframes'==_0x14f23f[0x1];if(_0x14f23f&&null==_0x20bc9d)return _0x5bcfc2['push'](_0x2b2425[0x0]+';');for(let _0x29253e in _0x20bc9d){let _0x36e2c8=_0x20bc9d[_0x29253e];if(/&/['test'](_0x29253e))_0x3b829c(_0x29253e['split'](/,\s*/)['map'](_0xd9809=>_0x2b2425['map'](_0x3fecba=>_0xd9809['replace'](/&/,_0x3fecba)))['reduce']((_0x456cd2,_0x975417)=>_0x456cd2['concat'](_0x975417)),_0x36e2c8,_0x5bcfc2);else{if(_0x36e2c8&&'object'==typeof _0x36e2c8){if(!_0x14f23f)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x29253e+')\x20should\x20be\x20a\x20primitive\x20value.');_0x3b829c(_0x2665e8(_0x29253e),_0x36e2c8,_0x46ecb3,_0x49c49b);}else null!=_0x36e2c8&&_0x46ecb3['push'](_0x29253e['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x6579cf=>'-'+_0x6579cf['toLowerCase']())+':\x20'+_0x36e2c8+';');}}(_0x46ecb3['length']||_0x49c49b)&&_0x5bcfc2['push']((!_0x455afb||_0x14f23f||_0x35fe74?_0x2b2425:_0x2b2425['map'](_0x455afb))['join'](',\x20')+'\x20{'+_0x46ecb3['join']('\x20')+'}');}for(let _0x269674 in _0x5ce5c4)_0x3b829c(_0x2665e8(_0x269674),_0x5ce5c4[_0x269674],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x453894=top[_0x262e8]||0x1;return top[_0x262e8]=_0x453894+0x1,_0x497b30+_0x453894['toString'](0x24);}static['mount'](_0x37de47,_0x26c748,_0x3f3b3e){let _0x945ce4=_0x37de47[_0x327e89],_0x44c5a8=_0x3f3b3e&&_0x3f3b3e['nonce'];_0x945ce4?_0x44c5a8&&_0x945ce4['setNonce'](_0x44c5a8):_0x945ce4=new StyleSet(_0x37de47,_0x44c5a8),_0x945ce4['mount'](Array['isArray'](_0x26c748)?_0x26c748:[_0x26c748],_0x37de47);}}let adoptedSet=new Map();class StyleSet{constructor(_0x40f998,_0x1b928d){let _0x27a2c9=_0x40f998['ownerDocument']||_0x40f998,_0x39c9fe=_0x27a2c9['defaultView'];if(!_0x40f998['head']&&_0x40f998['adoptedStyleSheets']&&_0x39c9fe['CSSStyleSheet']){let _0x56696a=adoptedSet['get'](_0x27a2c9);if(_0x56696a)return _0x40f998[_0x327e89]=_0x56696a;this['sheet']=new _0x39c9fe['CSSStyleSheet'](),adoptedSet['set'](_0x27a2c9,this);}else this['styleTag']=_0x27a2c9['createElement']('style'),_0x1b928d&&this['styleTag']['setAttribute']('nonce',_0x1b928d);this['modules']=[],_0x40f998[_0x327e89]=this;}['mount'](_0xf82430,_0x102e79){let _0x27372f=this['sheet'],_0x367d3a=0x0,_0x3f0db4=0x0;for(let _0xaef03f=0x0;_0xaef03f<_0xf82430['length'];_0xaef03f++){let _0x4549f4=_0xf82430[_0xaef03f],_0x39f9a7=this['modules']['indexOf'](_0x4549f4);if(_0x39f9a7<_0x3f0db4&&_0x39f9a7>-0x1&&(this['modules']['splice'](_0x39f9a7,0x1),_0x3f0db4--,_0x39f9a7=-0x1),-0x1==_0x39f9a7){if(this['modules']['splice'](_0x3f0db4++,0x0,_0x4549f4),_0x27372f){for(let _0x483a5a=0x0;_0x483a5a<_0x4549f4['rules']['length'];_0x483a5a++)_0x27372f['insertRule'](_0x4549f4['rules'][_0x483a5a],_0x367d3a++);}}else{for(;_0x3f0db4<_0x39f9a7;)_0x367d3a+=this['modules'][_0x3f0db4++]['rules']['length'];_0x367d3a+=_0x4549f4['rules']['length'],_0x3f0db4++;}}if(_0x27372f)_0x102e79['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x102e79['adoptedStyleSheets']=[this['sheet'],..._0x102e79['adoptedStyleSheets']]);else{let _0x5aed50='';for(let _0x3b3b82=0x0;_0x3b3b82<this['modules']['length'];_0x3b3b82++)_0x5aed50+=this['modules'][_0x3b3b82]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x5aed50;let _0x3439e3=_0x102e79['head']||_0x102e79;this['styleTag']['parentNode']!=_0x3439e3&&_0x3439e3['insertBefore'](this['styleTag'],_0x3439e3['firstChild']);}}['setNonce'](_0x3e205b){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x3e205b&&this['styleTag']['setAttribute']('nonce',_0x3e205b);}}for(var _0x4d9887={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'},shift={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'},_0x3ea7cc='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x4a6d7d='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x5301f0=0x0;_0x5301f0<0xa;_0x5301f0++)_0x4d9887[0x30+_0x5301f0]=_0x4d9887[0x60+_0x5301f0]=String(_0x5301f0);for(var _0x5301f0=0x1;_0x5301f0<=0x18;_0x5301f0++)_0x4d9887[_0x5301f0+0x6f]='F'+_0x5301f0;for(var _0x5301f0=0x41;_0x5301f0<=0x5a;_0x5301f0++)_0x4d9887[_0x5301f0]=String['fromCharCode'](_0x5301f0+0x20),shift[_0x5301f0]=String['fromCharCode'](_0x5301f0);for(var _0x245b8b in _0x4d9887)shift['hasOwnProperty'](_0x245b8b)||(shift[_0x245b8b]=_0x4d9887[_0x245b8b]);function _0x5df1ba(_0x2b76c3){var _0x1f073b=!(_0x3ea7cc&&_0x2b76c3['metaKey']&&_0x2b76c3['shiftKey']&&!_0x2b76c3['ctrlKey']&&!_0x2b76c3['altKey']||_0x4a6d7d&&_0x2b76c3['shiftKey']&&_0x2b76c3['key']&&0x1==_0x2b76c3['key']['length']||'Unidentified'==_0x2b76c3['key'])&&_0x2b76c3['key']||(_0x2b76c3['shiftKey']?shift:_0x4d9887)[_0x2b76c3['keyCode']]||_0x2b76c3['key']||'Unidentified';return'Esc'==_0x1f073b&&(_0x1f073b='Escape'),'Del'==_0x1f073b&&(_0x1f073b='Delete'),'Left'==_0x1f073b&&(_0x1f073b='ArrowLeft'),'Up'==_0x1f073b&&(_0x1f073b='ArrowUp'),'Right'==_0x1f073b&&(_0x1f073b='ArrowRight'),'Down'==_0x1f073b&&(_0x1f073b='ArrowDown'),_0x1f073b;}let _0x1dc86c='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0xe0f920='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x5daa3a=/Edge\/(\d+)/['exec'](_0x1dc86c['userAgent']),ie_upto10=/MSIE \d/['test'](_0x1dc86c['userAgent']),_0x4265b4=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x1dc86c['userAgent']),_0xe3136=!!(ie_upto10||_0x4265b4||_0x5daa3a),_0x5f1bdc=!_0xe3136&&/gecko\/(\d+)/i['test'](_0x1dc86c['userAgent']),_0x504986=!_0xe3136&&/Chrome\/(\d+)/['exec'](_0x1dc86c['userAgent']),webkit='webkitFontSmoothing'in _0xe0f920['documentElement']['style'],_0x436e7e=!_0xe3136&&/Apple Computer/['test'](_0x1dc86c['vendor']),_0xfcb4c4=_0x436e7e&&(/Mobile\/\w+/['test'](_0x1dc86c['userAgent'])||_0x1dc86c['maxTouchPoints']>0x2);var _0x54ee61={'mac':_0xfcb4c4||/Mac/['test'](_0x1dc86c['platform']),'windows':/Win/['test'](_0x1dc86c['platform']),'linux':/Linux|X11/['test'](_0x1dc86c['platform']),'ie':_0xe3136,'ie_version':ie_upto10?_0xe0f920['documentMode']||0x6:_0x4265b4?+_0x4265b4[0x1]:_0x5daa3a?+_0x5daa3a[0x1]:0x0,'gecko':_0x5f1bdc,'gecko_version':_0x5f1bdc?+(/Firefox\/(\d+)/['exec'](_0x1dc86c['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x504986,'chrome_version':_0x504986?+_0x504986[0x1]:0x0,'ios':_0xfcb4c4,'android':/Android\b/['test'](_0x1dc86c['userAgent']),'webkit_version':webkit?+(/\bAppleWebKit\/(\d+)/['exec'](_0x1dc86c['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x436e7e,'safari_version':_0x436e7e?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x1dc86c['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0xe0f920['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function getSelection(_0x12d629){let _0xb93f65;return _0xb93f65=0xb==_0x12d629['nodeType']?_0x12d629['getSelection']?_0x12d629:_0x12d629['ownerDocument']:_0x12d629,_0xb93f65['getSelection']();}function contains(_0x2bb3f9,_0x6075c){return!!_0x6075c&&(_0x2bb3f9==_0x6075c||_0x2bb3f9['contains'](0x1!=_0x6075c['nodeType']?_0x6075c['parentNode']:_0x6075c));}function hasSelection(_0x54b33a,_0x2ec4fd){if(!_0x2ec4fd['anchorNode'])return!0x1;try{return contains(_0x54b33a,_0x2ec4fd['anchorNode']);}catch(_0x48d047){return!0x1;}}function clientRectsFor(_0x5c659d){return 0x3==_0x5c659d['nodeType']?textRange(_0x5c659d,0x0,_0x5c659d['nodeValue']['length'])['getClientRects']():0x1==_0x5c659d['nodeType']?_0x5c659d['getClientRects']():[];}function isEquivalentPosition(_0x495322,_0x2fb26a,_0x232ee6,_0x458335){return!!_0x232ee6&&(_0x119d6a(_0x495322,_0x2fb26a,_0x232ee6,_0x458335,-0x1)||_0x119d6a(_0x495322,_0x2fb26a,_0x232ee6,_0x458335,0x1));}function _0x4587d0(_0x4523f6){for(var _0x3cd0e5=0x0;;_0x3cd0e5++)if(!(_0x4523f6=_0x4523f6['previousSibling']))return _0x3cd0e5;}function isBlockElement(_0x4a8b22){return 0x1==_0x4a8b22['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x4a8b22['nodeName']);}function _0x119d6a(_0xa56201,_0xa05732,_0x5500eb,_0x4dc154,_0x151e11){for(;;){if(_0xa56201==_0x5500eb&&_0xa05732==_0x4dc154)return!0x0;if(_0xa05732==(_0x151e11<0x0?0x0:maxOffset(_0xa56201))){if('DIV'==_0xa56201['nodeName'])return!0x1;let _0x4b9533=_0xa56201['parentNode'];if(!_0x4b9533||0x1!=_0x4b9533['nodeType'])return!0x1;_0xa05732=_0x4587d0(_0xa56201)+(_0x151e11<0x0?0x0:0x1),_0xa56201=_0x4b9533;}else{if(0x1!=_0xa56201['nodeType'])return!0x1;if(0x1==(_0xa56201=_0xa56201['childNodes'][_0xa05732+(_0x151e11<0x0?-0x1:0x0)])['nodeType']&&'false'==_0xa56201['contentEditable'])return!0x1;_0xa05732=_0x151e11<0x0?maxOffset(_0xa56201):0x0;}}}function maxOffset(_0x42e0f7){return 0x3==_0x42e0f7['nodeType']?_0x42e0f7['nodeValue']['length']:_0x42e0f7['childNodes']['length'];}function flattenRect(_0x2d98cc,_0x11bc18){let _0x25548c=_0x11bc18?_0x2d98cc['left']:_0x2d98cc['right'];return{'left':_0x25548c,'right':_0x25548c,'top':_0x2d98cc['top'],'bottom':_0x2d98cc['bottom']};}function windowRect(_0x1ba89f){let _0xba9cb7=_0x1ba89f['visualViewport'];return _0xba9cb7?{'left':0x0,'right':_0xba9cb7['width'],'top':0x0,'bottom':_0xba9cb7['height']}:{'left':0x0,'right':_0x1ba89f['innerWidth'],'top':0x0,'bottom':_0x1ba89f['innerHeight']};}function getScale(_0x578691,_0x412a86){let _0x1658a6=_0x412a86['width']/_0x578691['offsetWidth'],_0x10da80=_0x412a86['height']/_0x578691['offsetHeight'];return(_0x1658a6>0.995&&_0x1658a6<1.005||!isFinite(_0x1658a6)||Math['abs'](_0x412a86['width']-_0x578691['offsetWidth'])<0x1)&&(_0x1658a6=0x1),(_0x10da80>0.995&&_0x10da80<1.005||!isFinite(_0x10da80)||Math['abs'](_0x412a86['height']-_0x578691['offsetHeight'])<0x1)&&(_0x10da80=0x1),{'scaleX':_0x1658a6,'scaleY':_0x10da80};}function scrollRectIntoView(_0x551292,_0x1fd649,_0x1df0f1,_0x715ec1,_0x2bf844,_0x4c74ac,_0x30d241,_0x4b1752){let _0x4a0544=_0x551292['ownerDocument'],_0x4ae8ec=_0x4a0544['defaultView']||window;for(let _0x3d7413=_0x551292,_0x41e0f9=!0x1;_0x3d7413&&!_0x41e0f9;)if(0x1==_0x3d7413['nodeType']){let _0x2cc954,_0x18e049=_0x3d7413==_0x4a0544['body'],_0x365060=0x1,_0x36fb08=0x1;if(_0x18e049)_0x2cc954=windowRect(_0x4ae8ec);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x3d7413)['position'])&&(_0x41e0f9=!0x0),_0x3d7413['scrollHeight']<=_0x3d7413['clientHeight']&&_0x3d7413['scrollWidth']<=_0x3d7413['clientWidth']){_0x3d7413=_0x3d7413['assignedSlot']||_0x3d7413['parentNode'];continue;}let _0x54e6ac=_0x3d7413['getBoundingClientRect']();({scaleX:_0x365060,scaleY:_0x36fb08}=getScale(_0x3d7413,_0x54e6ac),_0x2cc954={'left':_0x54e6ac['left'],'right':_0x54e6ac['left']+_0x3d7413['clientWidth']*_0x365060,'top':_0x54e6ac['top'],'bottom':_0x54e6ac['top']+_0x3d7413['clientHeight']*_0x36fb08});}let _0x5140c1=0x0,_0x9c1669=0x0;if('nearest'==_0x2bf844)_0x1fd649['top']<_0x2cc954['top']?(_0x9c1669=_0x1fd649['top']-(_0x2cc954['top']+_0x30d241),_0x1df0f1>0x0&&_0x1fd649['bottom']>_0x2cc954['bottom']+_0x9c1669&&(_0x9c1669=_0x1fd649['bottom']-_0x2cc954['bottom']+_0x30d241)):_0x1fd649['bottom']>_0x2cc954['bottom']&&(_0x9c1669=_0x1fd649['bottom']-_0x2cc954['bottom']+_0x30d241,_0x1df0f1<0x0&&_0x1fd649['top']-_0x9c1669<_0x2cc954['top']&&(_0x9c1669=_0x1fd649['top']-(_0x2cc954['top']+_0x30d241)));else{let _0x118f22=_0x1fd649['bottom']-_0x1fd649['top'],_0x191655=_0x2cc954['bottom']-_0x2cc954['top'];_0x9c1669=('center'==_0x2bf844&&_0x118f22<=_0x191655?_0x1fd649['top']+_0x118f22/0x2-_0x191655/0x2:'start'==_0x2bf844||'center'==_0x2bf844&&_0x1df0f1<0x0?_0x1fd649['top']-_0x30d241:_0x1fd649['bottom']-_0x191655+_0x30d241)-_0x2cc954['top'];}if('nearest'==_0x715ec1)_0x1fd649['left']<_0x2cc954['left']?(_0x5140c1=_0x1fd649['left']-(_0x2cc954['left']+_0x4c74ac),_0x1df0f1>0x0&&_0x1fd649['right']>_0x2cc954['right']+_0x5140c1&&(_0x5140c1=_0x1fd649['right']-_0x2cc954['right']+_0x4c74ac)):_0x1fd649['right']>_0x2cc954['right']&&(_0x5140c1=_0x1fd649['right']-_0x2cc954['right']+_0x4c74ac,_0x1df0f1<0x0&&_0x1fd649['left']<_0x2cc954['left']+_0x5140c1&&(_0x5140c1=_0x1fd649['left']-(_0x2cc954['left']+_0x4c74ac)));else _0x5140c1=('center'==_0x715ec1?_0x1fd649['left']+(_0x1fd649['right']-_0x1fd649['left'])/0x2-(_0x2cc954['right']-_0x2cc954['left'])/0x2:'start'==_0x715ec1==_0x4b1752?_0x1fd649['left']-_0x4c74ac:_0x1fd649['right']-(_0x2cc954['right']-_0x2cc954['left'])+_0x4c74ac)-_0x2cc954['left'];if(_0x5140c1||_0x9c1669){if(_0x18e049)_0x4ae8ec['scrollBy'](_0x5140c1,_0x9c1669);else{let _0x2f3534=0x0,_0x2c3c29=0x0;if(_0x9c1669){let _0x46cd14=_0x3d7413['scrollTop'];_0x3d7413['scrollTop']+=_0x9c1669/_0x36fb08,_0x2c3c29=(_0x3d7413['scrollTop']-_0x46cd14)*_0x36fb08;}if(_0x5140c1){let _0x28827a=_0x3d7413['scrollLeft'];_0x3d7413['scrollLeft']+=_0x5140c1/_0x365060,_0x2f3534=(_0x3d7413['scrollLeft']-_0x28827a)*_0x365060;}_0x1fd649={'left':_0x1fd649['left']-_0x2f3534,'top':_0x1fd649['top']-_0x2c3c29,'right':_0x1fd649['right']-_0x2f3534,'bottom':_0x1fd649['bottom']-_0x2c3c29},_0x2f3534&&Math['abs'](_0x2f3534-_0x5140c1)<0x1&&(_0x715ec1='nearest'),_0x2c3c29&&Math['abs'](_0x2c3c29-_0x9c1669)<0x1&&(_0x2bf844='nearest');}}if(_0x18e049)break;(_0x1fd649['top']<_0x2cc954['top']||_0x1fd649['bottom']>_0x2cc954['bottom']||_0x1fd649['left']<_0x2cc954['left']||_0x1fd649['right']>_0x2cc954['right'])&&(_0x1fd649={'left':Math['max'](_0x1fd649['left'],_0x2cc954['left']),'right':Math['min'](_0x1fd649['right'],_0x2cc954['right']),'top':Math['max'](_0x1fd649['top'],_0x2cc954['top']),'bottom':Math['min'](_0x1fd649['bottom'],_0x2cc954['bottom'])}),_0x3d7413=_0x3d7413['assignedSlot']||_0x3d7413['parentNode'];}else{if(0xb!=_0x3d7413['nodeType'])break;_0x3d7413=_0x3d7413['host'];}}function scrollableParents(_0x37a39b){let _0x48d67d,_0x365deb,_0x302628=_0x37a39b['ownerDocument'];for(let _0x435e5f=_0x37a39b['parentNode'];_0x435e5f&&!(_0x435e5f==_0x302628['body']||_0x48d67d&&_0x365deb);)if(0x1==_0x435e5f['nodeType'])!_0x365deb&&_0x435e5f['scrollHeight']>_0x435e5f['clientHeight']&&(_0x365deb=_0x435e5f),!_0x48d67d&&_0x435e5f['scrollWidth']>_0x435e5f['clientWidth']&&(_0x48d67d=_0x435e5f),_0x435e5f=_0x435e5f['assignedSlot']||_0x435e5f['parentNode'];else{if(0xb!=_0x435e5f['nodeType'])break;_0x435e5f=_0x435e5f['host'];}return{'x':_0x48d67d,'y':_0x365deb};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x399a82){return this['anchorNode']==_0x399a82['anchorNode']&&this['anchorOffset']==_0x399a82['anchorOffset']&&this['focusNode']==_0x399a82['focusNode']&&this['focusOffset']==_0x399a82['focusOffset'];}['setRange'](_0x16f983){let {anchorNode:_0x1c2cbf,focusNode:_0x2c81e2}=_0x16f983;this['set'](_0x1c2cbf,Math['min'](_0x16f983['anchorOffset'],_0x1c2cbf?maxOffset(_0x1c2cbf):0x0),_0x2c81e2,Math['min'](_0x16f983['focusOffset'],_0x2c81e2?maxOffset(_0x2c81e2):0x0));}['set'](_0x1c752d,_0x2f2b98,_0x3cc5ab,_0x3c4c28){this['anchorNode']=_0x1c752d,this['anchorOffset']=_0x2f2b98,this['focusNode']=_0x3cc5ab,this['focusOffset']=_0x3c4c28;}}let preventScrollSupported=null,scratchRange;function focusPreventScroll(_0x3d6b12){if(_0x3d6b12['setActive'])return _0x3d6b12['setActive']();if(preventScrollSupported)return _0x3d6b12['focus'](preventScrollSupported);let _0x46c3e5=[];for(let _0x1f344b=_0x3d6b12;_0x1f344b&&(_0x46c3e5['push'](_0x1f344b,_0x1f344b['scrollTop'],_0x1f344b['scrollLeft']),_0x1f344b!=_0x1f344b['ownerDocument']);_0x1f344b=_0x1f344b['parentNode']);if(_0x3d6b12['focus'](null==preventScrollSupported?{get 'preventScroll'(){return preventScrollSupported={'preventScroll':!0x0},!0x0;}}:void 0x0),!preventScrollSupported){preventScrollSupported=!0x1;for(let _0x327732=0x0;_0x327732<_0x46c3e5['length'];){let _0x2a5d68=_0x46c3e5[_0x327732++],_0x29b742=_0x46c3e5[_0x327732++],_0x2f8f3d=_0x46c3e5[_0x327732++];_0x2a5d68['scrollTop']!=_0x29b742&&(_0x2a5d68['scrollTop']=_0x29b742),_0x2a5d68['scrollLeft']!=_0x2f8f3d&&(_0x2a5d68['scrollLeft']=_0x2f8f3d);}}}function textRange(_0x56287c,_0x25f7d8,_0x18e17c=_0x25f7d8){let _0x5180e0=scratchRange||(scratchRange=document['createRange']());return _0x5180e0['setEnd'](_0x56287c,_0x18e17c),_0x5180e0['setStart'](_0x56287c,_0x25f7d8),_0x5180e0;}function dispatchKey(_0x2024cd,_0x3c9fbe,_0x54c80a,_0x758b9e){let _0x4b381a={'key':_0x3c9fbe,'code':_0x3c9fbe,'keyCode':_0x54c80a,'which':_0x54c80a,'cancelable':!0x0};_0x758b9e&&({altKey:_0x4b381a['altKey'],ctrlKey:_0x4b381a['ctrlKey'],shiftKey:_0x4b381a['shiftKey'],metaKey:_0x4b381a['metaKey']}=_0x758b9e);let _0x46e9aa=new KeyboardEvent('keydown',_0x4b381a);_0x46e9aa['synthetic']=!0x0,_0x2024cd['dispatchEvent'](_0x46e9aa);let _0x278d02=new KeyboardEvent('keyup',_0x4b381a);return _0x278d02['synthetic']=!0x0,_0x2024cd['dispatchEvent'](_0x278d02),_0x46e9aa['defaultPrevented']||_0x278d02['defaultPrevented'];}function getRoot(_0x5f04e6){for(;_0x5f04e6;){if(_0x5f04e6&&(0x9==_0x5f04e6['nodeType']||0xb==_0x5f04e6['nodeType']&&_0x5f04e6['host']))return _0x5f04e6;_0x5f04e6=_0x5f04e6['assignedSlot']||_0x5f04e6['parentNode'];}return null;}function clearAttributes(_0x884d75){for(;_0x884d75['attributes']['length'];)_0x884d75['removeAttributeNode'](_0x884d75['attributes'][0x0]);}function atElementStart(_0x35405f,_0x4d6430){let _0x21b489=_0x4d6430['focusNode'],_0x250a51=_0x4d6430['focusOffset'];if(!_0x21b489||_0x4d6430['anchorNode']!=_0x21b489||_0x4d6430['anchorOffset']!=_0x250a51)return!0x1;for(_0x250a51=Math['min'](_0x250a51,maxOffset(_0x21b489));;)if(_0x250a51){if(0x1!=_0x21b489['nodeType'])return!0x1;let _0x350a01=_0x21b489['childNodes'][_0x250a51-0x1];'false'==_0x350a01['contentEditable']?_0x250a51--:(_0x21b489=_0x350a01,_0x250a51=maxOffset(_0x21b489));}else{if(_0x21b489==_0x35405f)return!0x0;_0x250a51=_0x4587d0(_0x21b489),_0x21b489=_0x21b489['parentNode'];}}function isScrolledToBottom(_0x362359){return _0x362359['scrollTop']>Math['max'](0x1,_0x362359['scrollHeight']-_0x362359['clientHeight']-0x4);}function textNodeBefore(_0x27a4b2,_0x1fa242){for(let _0x1ae195=_0x27a4b2,_0x53e0d1=_0x1fa242;;){if(0x3==_0x1ae195['nodeType']&&_0x53e0d1>0x0)return{'node':_0x1ae195,'offset':_0x53e0d1};if(0x1==_0x1ae195['nodeType']&&_0x53e0d1>0x0){if('false'==_0x1ae195['contentEditable'])return null;_0x1ae195=_0x1ae195['childNodes'][_0x53e0d1-0x1],_0x53e0d1=maxOffset(_0x1ae195);}else{if(!_0x1ae195['parentNode']||isBlockElement(_0x1ae195))return null;_0x53e0d1=_0x4587d0(_0x1ae195),_0x1ae195=_0x1ae195['parentNode'];}}}function textNodeAfter(_0x56c9dc,_0x4618ac){for(let _0x2d570b=_0x56c9dc,_0x40d938=_0x4618ac;;){if(0x3==_0x2d570b['nodeType']&&_0x40d938<_0x2d570b['nodeValue']['length'])return{'node':_0x2d570b,'offset':_0x40d938};if(0x1==_0x2d570b['nodeType']&&_0x40d938<_0x2d570b['childNodes']['length']){if('false'==_0x2d570b['contentEditable'])return null;_0x2d570b=_0x2d570b['childNodes'][_0x40d938],_0x40d938=0x0;}else{if(!_0x2d570b['parentNode']||isBlockElement(_0x2d570b))return null;_0x40d938=_0x4587d0(_0x2d570b)+0x1,_0x2d570b=_0x2d570b['parentNode'];}}}_0x54ee61['safari']&&_0x54ee61['safari_version']>=0x1a&&(preventScrollSupported=!0x1);class _0x2c342f{constructor(_0x37e715,_0x3068ac,_0x40274f=!0x0){this['node']=_0x37e715,this['offset']=_0x3068ac,this['precise']=_0x40274f;}static['before'](_0xdbbb34,_0xdeed47){return new _0x2c342f(_0xdbbb34['parentNode'],_0x4587d0(_0xdbbb34),_0xdeed47);}static['after'](_0x1be4e5,_0x548116){return new _0x2c342f(_0x1be4e5['parentNode'],_0x4587d0(_0x1be4e5)+0x1,_0x548116);}}const _0x12aa5e=[];class ContentView{constructor(){this['parent']=null,this['dom']=null,this['flags']=0x2;}get['overrideDOMText'](){return null;}get['posAtStart'](){return this['parent']?this['parent']['posBefore'](this):0x0;}get['posAtEnd'](){return this['posAtStart']+this['length'];}['posBefore'](_0x2290c5){let _0x49bf73=this['posAtStart'];for(let _0x411a67 of this['children']){if(_0x411a67==_0x2290c5)return _0x49bf73;_0x49bf73+=_0x411a67['length']+_0x411a67['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x561de8){return this['posBefore'](_0x561de8)+_0x561de8['length'];}['sync'](_0x514e9a,_0x5aaca4){if(0x2&this['flags']){let _0x41980e,_0x39b213=this['dom'],_0x111bae=null;for(let _0x1f7e2d of this['children']){if(0x7&_0x1f7e2d['flags']){if(!_0x1f7e2d['dom']&&(_0x41980e=_0x111bae?_0x111bae['nextSibling']:_0x39b213['firstChild'])){let _0x9d2715=ContentView['get'](_0x41980e);(!_0x9d2715||!_0x9d2715['parent']&&_0x9d2715['canReuseDOM'](_0x1f7e2d))&&_0x1f7e2d['reuseDOM'](_0x41980e);}_0x1f7e2d['sync'](_0x514e9a,_0x5aaca4),_0x1f7e2d['flags']&=-0x8;}if(_0x41980e=_0x111bae?_0x111bae['nextSibling']:_0x39b213['firstChild'],_0x5aaca4&&!_0x5aaca4['written']&&_0x5aaca4['node']==_0x39b213&&_0x41980e!=_0x1f7e2d['dom']&&(_0x5aaca4['written']=!0x0),_0x1f7e2d['dom']['parentNode']==_0x39b213){for(;_0x41980e&&_0x41980e!=_0x1f7e2d['dom'];)_0x41980e=_0x30d17c(_0x41980e);}else _0x39b213['insertBefore'](_0x1f7e2d['dom'],_0x41980e);_0x111bae=_0x1f7e2d['dom'];}for(_0x41980e=_0x111bae?_0x111bae['nextSibling']:_0x39b213['firstChild'],_0x41980e&&_0x5aaca4&&_0x5aaca4['node']==_0x39b213&&(_0x5aaca4['written']=!0x0);_0x41980e;)_0x41980e=_0x30d17c(_0x41980e);}else{if(0x1&this['flags']){for(let _0x4da2b8 of this['children'])0x7&_0x4da2b8['flags']&&(_0x4da2b8['sync'](_0x514e9a,_0x5aaca4),_0x4da2b8['flags']&=-0x8);}}}['reuseDOM'](_0x544422){}['localPosFromDOM'](_0xbe1240,_0x2b5918){let _0x33f6dd;if(_0xbe1240==this['dom'])_0x33f6dd=this['dom']['childNodes'][_0x2b5918];else{let _0x2b38a6=0x0==maxOffset(_0xbe1240)?0x0:0x0==_0x2b5918?-0x1:0x1;for(;;){let _0xf2ae28=_0xbe1240['parentNode'];if(_0xf2ae28==this['dom'])break;0x0==_0x2b38a6&&_0xf2ae28['firstChild']!=_0xf2ae28['lastChild']&&(_0x2b38a6=_0xbe1240==_0xf2ae28['firstChild']?-0x1:0x1),_0xbe1240=_0xf2ae28;}_0x33f6dd=_0x2b38a6<0x0?_0xbe1240:_0xbe1240['nextSibling'];}if(_0x33f6dd==this['dom']['firstChild'])return 0x0;for(;_0x33f6dd&&!ContentView['get'](_0x33f6dd);)_0x33f6dd=_0x33f6dd['nextSibling'];if(!_0x33f6dd)return this['length'];for(let _0xf27706=0x0,_0x43c761=0x0;;_0xf27706++){let _0x1e392c=this['children'][_0xf27706];if(_0x1e392c['dom']==_0x33f6dd)return _0x43c761;_0x43c761+=_0x1e392c['length']+_0x1e392c['breakAfter'];}}['domBoundsAround'](_0xc7d117,_0x243599,_0x44b9f1=0x0){let _0x4190a8=-0x1,_0x5d6987=-0x1,_0xe14900=-0x1,_0x256885=-0x1;for(let _0xdca407=0x0,_0x3f3da7=_0x44b9f1,_0xbfbdb4=_0x44b9f1;_0xdca407<this['children']['length'];_0xdca407++){let _0x5bc7cc=this['children'][_0xdca407],_0x18e50a=_0x3f3da7+_0x5bc7cc['length'];if(_0x3f3da7<_0xc7d117&&_0x18e50a>_0x243599)return _0x5bc7cc['domBoundsAround'](_0xc7d117,_0x243599,_0x3f3da7);if(_0x18e50a>=_0xc7d117&&-0x1==_0x4190a8&&(_0x4190a8=_0xdca407,_0x5d6987=_0x3f3da7),_0x3f3da7>_0x243599&&_0x5bc7cc['dom']['parentNode']==this['dom']){_0xe14900=_0xdca407,_0x256885=_0xbfbdb4;break;}_0xbfbdb4=_0x18e50a,_0x3f3da7=_0x18e50a+_0x5bc7cc['breakAfter'];}return{'from':_0x5d6987,'to':_0x256885<0x0?_0x44b9f1+this['length']:_0x256885,'startDOM':(_0x4190a8?this['children'][_0x4190a8-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0xe14900<this['children']['length']&&_0xe14900>=0x0?this['children'][_0xe14900]['dom']:null};}['markDirty'](_0x3082f4=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x3082f4);}['markParentsDirty'](_0x580e29){for(let _0x2736ff=this['parent'];_0x2736ff;_0x2736ff=_0x2736ff['parent']){if(_0x580e29&&(_0x2736ff['flags']|=0x2),0x1&_0x2736ff['flags'])return;_0x2736ff['flags']|=0x1,_0x580e29=!0x1;}}['setParent'](_0x46d71b){this['parent']!=_0x46d71b&&(this['parent']=_0x46d71b,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0xfd7c31){this['dom']!=_0xfd7c31&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0xfd7c31,_0xfd7c31['cmView']=this);}get['rootView'](){for(let _0x4d25c6=this;;){let _0x42706d=_0x4d25c6['parent'];if(!_0x42706d)return _0x4d25c6;_0x4d25c6=_0x42706d;}}['replaceChildren'](_0x169584,_0x52eb63,_0x2d02ff=_0x12aa5e){this['markDirty']();for(let _0x5a0f41=_0x169584;_0x5a0f41<_0x52eb63;_0x5a0f41++){let _0x7e3238=this['children'][_0x5a0f41];_0x7e3238['parent']==this&&_0x2d02ff['indexOf'](_0x7e3238)<0x0&&_0x7e3238['destroy']();}_0x2d02ff['length']<0xfa?this['children']['splice'](_0x169584,_0x52eb63-_0x169584,..._0x2d02ff):this['children']=[]['concat'](this['children']['slice'](0x0,_0x169584),_0x2d02ff,this['children']['slice'](_0x52eb63));for(let _0x39c412=0x0;_0x39c412<_0x2d02ff['length'];_0x39c412++)_0x2d02ff[_0x39c412]['setParent'](this);}['ignoreMutation'](_0x1c797c){return!0x1;}['ignoreEvent'](_0x5e180d){return!0x1;}['childCursor'](_0x3f5005=this['length']){return new _0x2de854(this['children'],_0x3f5005,this['children']['length']);}['childPos'](_0x46d1cb,_0x2fdf56=0x1){return this['childCursor']()['findPos'](_0x46d1cb,_0x2fdf56);}['toString'](){let _0x2338e9=this['constructor']['name']['replace']('View','');return _0x2338e9+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x2338e9?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x6ab8c0){return _0x6ab8c0['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x250e1b,_0x129cdd,_0x3fb5a9,_0x46937d,_0xfade46,_0x4b23e8){return!0x1;}['become'](_0x2b9938){return!0x1;}['canReuseDOM'](_0x4fcec1){return _0x4fcec1['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x4fcec1['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x434a54 of this['children'])_0x434a54['parent']==this&&_0x434a54['destroy']();this['parent']=null;}}function _0x30d17c(_0x1d1a7c){let _0x4b716b=_0x1d1a7c['nextSibling'];return _0x1d1a7c['parentNode']['removeChild'](_0x1d1a7c),_0x4b716b;}ContentView['prototype']['breakAfter']=0x0;class _0x2de854{constructor(_0x3e82f9,_0x489cb7,_0x530944){this['children']=_0x3e82f9,this['pos']=_0x489cb7,this['i']=_0x530944,this['off']=0x0;}['findPos'](_0x37de68,_0x507236=0x1){for(;;){if(_0x37de68>this['pos']||_0x37de68==this['pos']&&(_0x507236>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x37de68-this['pos'],this;let _0x7d89d2=this['children'][--this['i']];this['pos']-=_0x7d89d2['length']+_0x7d89d2['breakAfter'];}}}function _0x2abfbf(_0x49f8b4,_0x1d5307,_0x158ba2,_0x4b0f00,_0x502ed7,_0x10a471,_0x4cdeaf,_0x5e0751,_0x4ff2cf){let {children:_0x4612b7}=_0x49f8b4,_0x1e29f3=_0x4612b7['length']?_0x4612b7[_0x1d5307]:null,_0x524c22=_0x10a471['length']?_0x10a471[_0x10a471['length']-0x1]:null,_0x5c74c9=_0x524c22?_0x524c22['breakAfter']:_0x4cdeaf;if(!(_0x1d5307==_0x4b0f00&&_0x1e29f3&&!_0x4cdeaf&&!_0x5c74c9&&_0x10a471['length']<0x2&&_0x1e29f3['merge'](_0x158ba2,_0x502ed7,_0x10a471['length']?_0x524c22:null,0x0==_0x158ba2,_0x5e0751,_0x4ff2cf))){if(_0x4b0f00<_0x4612b7['length']){let _0x5e2d9f=_0x4612b7[_0x4b0f00];_0x5e2d9f&&(_0x502ed7<_0x5e2d9f['length']||_0x5e2d9f['breakAfter']&&(null==_0x524c22?void 0x0:_0x524c22['breakAfter']))?(_0x1d5307==_0x4b0f00&&(_0x5e2d9f=_0x5e2d9f['split'](_0x502ed7),_0x502ed7=0x0),!_0x5c74c9&&_0x524c22&&_0x5e2d9f['merge'](0x0,_0x502ed7,_0x524c22,!0x0,0x0,_0x4ff2cf)?_0x10a471[_0x10a471['length']-0x1]=_0x5e2d9f:((_0x502ed7||_0x5e2d9f['children']['length']&&!_0x5e2d9f['children'][0x0]['length'])&&_0x5e2d9f['merge'](0x0,_0x502ed7,null,!0x1,0x0,_0x4ff2cf),_0x10a471['push'](_0x5e2d9f))):(null==_0x5e2d9f?void 0x0:_0x5e2d9f['breakAfter'])&&(_0x524c22?_0x524c22['breakAfter']=0x1:_0x4cdeaf=0x1),_0x4b0f00++;}for(_0x1e29f3&&(_0x1e29f3['breakAfter']=_0x4cdeaf,_0x158ba2>0x0&&(!_0x4cdeaf&&_0x10a471['length']&&_0x1e29f3['merge'](_0x158ba2,_0x1e29f3['length'],_0x10a471[0x0],!0x1,_0x5e0751,0x0)?_0x1e29f3['breakAfter']=_0x10a471['shift']()['breakAfter']:(_0x158ba2<_0x1e29f3['length']||_0x1e29f3['children']['length']&&0x0==_0x1e29f3['children'][_0x1e29f3['children']['length']-0x1]['length'])&&_0x1e29f3['merge'](_0x158ba2,_0x1e29f3['length'],null,!0x1,_0x5e0751,0x0),_0x1d5307++));_0x1d5307<_0x4b0f00&&_0x10a471['length'];)if(_0x4612b7[_0x4b0f00-0x1]['become'](_0x10a471[_0x10a471['length']-0x1]))_0x4b0f00--,_0x10a471['pop'](),_0x4ff2cf=_0x10a471['length']?0x0:_0x5e0751;else{if(!_0x4612b7[_0x1d5307]['become'](_0x10a471[0x0]))break;_0x1d5307++,_0x10a471['shift'](),_0x5e0751=_0x10a471['length']?0x0:_0x4ff2cf;}!_0x10a471['length']&&_0x1d5307&&_0x4b0f00<_0x4612b7['length']&&!_0x4612b7[_0x1d5307-0x1]['breakAfter']&&_0x4612b7[_0x4b0f00]['merge'](0x0,0x0,_0x4612b7[_0x1d5307-0x1],!0x1,_0x5e0751,_0x4ff2cf)&&_0x1d5307--,(_0x1d5307<_0x4b0f00||_0x10a471['length'])&&_0x49f8b4['replaceChildren'](_0x1d5307,_0x4b0f00,_0x10a471);}}function mergeChildrenInto(_0x4775f0,_0x19b35e,_0x2c360d,_0x412e3e,_0x2b51f4,_0x491efd){let _0x29f68a=_0x4775f0['childCursor'](),{i:_0x5cb2d7,off:_0x5689cf}=_0x29f68a['findPos'](_0x2c360d,0x1),{i:_0x1f356f,off:_0x112d4b}=_0x29f68a['findPos'](_0x19b35e,-0x1),_0x306f47=_0x19b35e-_0x2c360d;for(let _0x1706be of _0x412e3e)_0x306f47+=_0x1706be['length'];_0x4775f0['length']+=_0x306f47,_0x2abfbf(_0x4775f0,_0x1f356f,_0x112d4b,_0x5cb2d7,_0x5689cf,_0x412e3e,0x0,_0x2b51f4,_0x491efd);}const _0x15151f=0x100;class TextView extends ContentView{constructor(_0x13c5c1){super(),this['text']=_0x13c5c1;}get['length'](){return this['text']['length'];}['createDOM'](_0x1a8f03){this['setDOM'](_0x1a8f03||document['createTextNode'](this['text']));}['sync'](_0x2d4804,_0x3aa154){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x3aa154&&_0x3aa154['node']==this['dom']&&(_0x3aa154['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x5906d8){0x3==_0x5906d8['nodeType']&&this['createDOM'](_0x5906d8);}['merge'](_0xc8489,_0x3e1b15,_0x1dbae1){return!(0x8&this['flags']||_0x1dbae1&&(!(_0x1dbae1 instanceof TextView)||this['length']-(_0x3e1b15-_0xc8489)+_0x1dbae1['length']>_0x15151f||0x8&_0x1dbae1['flags']))&&(this['text']=this['text']['slice'](0x0,_0xc8489)+(_0x1dbae1?_0x1dbae1['text']:'')+this['text']['slice'](_0x3e1b15),this['markDirty'](),!0x0);}['split'](_0x11e8bc){let _0x401df0=new TextView(this['text']['slice'](_0x11e8bc));return this['text']=this['text']['slice'](0x0,_0x11e8bc),this['markDirty'](),_0x401df0['flags']|=0x8&this['flags'],_0x401df0;}['localPosFromDOM'](_0x28a6e1,_0x3e2d34){return _0x28a6e1==this['dom']?_0x3e2d34:_0x3e2d34?this['text']['length']:0x0;}['domAtPos'](_0x219c28){return new _0x2c342f(this['dom'],_0x219c28);}['domBoundsAround'](_0x2f257e,_0x38c6fc,_0x4b8eac){return{'from':_0x4b8eac,'to':_0x4b8eac+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0xec4207,_0x4eeea1){return textCoords(this['dom'],_0xec4207,_0x4eeea1);}}class _0x404896 extends ContentView{constructor(_0x472ca1,_0x40f5b8=[],_0x5ce68c=0x0){super(),this['mark']=_0x472ca1,this['children']=_0x40f5b8,this['length']=_0x5ce68c;for(let _0x2c9706 of _0x40f5b8)_0x2c9706['setParent'](this);}['setAttrs'](_0x22604b){if(clearAttributes(_0x22604b),this['mark']['class']&&(_0x22604b['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x539689 in this['mark']['attrs'])_0x22604b['setAttribute'](_0x539689,this['mark']['attrs'][_0x539689]);}return _0x22604b;}['canReuseDOM'](_0xaaa360){return super['canReuseDOM'](_0xaaa360)&&!(0x8&(this['flags']|_0xaaa360['flags']));}['reuseDOM'](_0x16644c){_0x16644c['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x16644c),this['flags']|=0x6);}['sync'](_0x2ecade,_0x47c4cc){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x2ecade,_0x47c4cc);}['merge'](_0x3cb9a7,_0x4df935,_0xb7be02,_0x25e793,_0x568447,_0x55fbf6){return(!_0xb7be02||!(!(_0xb7be02 instanceof _0x404896&&_0xb7be02['mark']['eq'](this['mark']))||_0x3cb9a7&&_0x568447<=0x0||_0x4df935<this['length']&&_0x55fbf6<=0x0))&&(mergeChildrenInto(this,_0x3cb9a7,_0x4df935,_0xb7be02?_0xb7be02['children']['slice']():[],_0x568447-0x1,_0x55fbf6-0x1),this['markDirty'](),!0x0);}['split'](_0x584e14){let _0x2870d8=[],_0x5d455c=0x0,_0x65a0ed=-0x1,_0x26e500=0x0;for(let _0x1169e9 of this['children']){let _0x55d2fc=_0x5d455c+_0x1169e9['length'];_0x55d2fc>_0x584e14&&_0x2870d8['push'](_0x5d455c<_0x584e14?_0x1169e9['split'](_0x584e14-_0x5d455c):_0x1169e9),_0x65a0ed<0x0&&_0x5d455c>=_0x584e14&&(_0x65a0ed=_0x26e500),_0x5d455c=_0x55d2fc,_0x26e500++;}let _0x225ebd=this['length']-_0x584e14;return this['length']=_0x584e14,_0x65a0ed>-0x1&&(this['children']['length']=_0x65a0ed,this['markDirty']()),new _0x404896(this['mark'],_0x2870d8,_0x225ebd);}['domAtPos'](_0x43aa3b){return inlineDOMAtPos(this,_0x43aa3b);}['coordsAt'](_0x2f2bf0,_0x3b88e5){return _0x2723cb(this,_0x2f2bf0,_0x3b88e5);}}function textCoords(_0x5b429b,_0x2de993,_0x4b18e1){let _0xd5063e=_0x5b429b['nodeValue']['length'];_0x2de993>_0xd5063e&&(_0x2de993=_0xd5063e);let _0x48399a=_0x2de993,_0x3dbbd9=_0x2de993,_0x6679e0=0x0;0x0==_0x2de993&&_0x4b18e1<0x0||_0x2de993==_0xd5063e&&_0x4b18e1>=0x0?_0x54ee61['chrome']||_0x54ee61['gecko']||(_0x2de993?(_0x48399a--,_0x6679e0=0x1):_0x3dbbd9<_0xd5063e&&(_0x3dbbd9++,_0x6679e0=-0x1)):_0x4b18e1<0x0?_0x48399a--:_0x3dbbd9<_0xd5063e&&_0x3dbbd9++;let _0x69a6c5=textRange(_0x5b429b,_0x48399a,_0x3dbbd9)['getClientRects']();if(!_0x69a6c5['length'])return null;let _0x4427a8=_0x69a6c5[(_0x6679e0?_0x6679e0<0x0:_0x4b18e1>=0x0)?0x0:_0x69a6c5['length']-0x1];return _0x54ee61['safari']&&!_0x6679e0&&0x0==_0x4427a8['width']&&(_0x4427a8=Array['prototype']['find']['call'](_0x69a6c5,_0x33d381=>_0x33d381['width'])||_0x4427a8),_0x6679e0?flattenRect(_0x4427a8,_0x6679e0<0x0):_0x4427a8||null;}class WidgetView extends ContentView{static['create'](_0x280a0f,_0x14f8ac,_0x4f9541){return new WidgetView(_0x280a0f,_0x14f8ac,_0x4f9541);}constructor(_0x5ad7a7,_0x4ae10e,_0x5eb5ca){super(),this['widget']=_0x5ad7a7,this['length']=_0x4ae10e,this['side']=_0x5eb5ca,this['prevWidget']=null;}['split'](_0x2cd4a8){let _0x5ae3b7=WidgetView['create'](this['widget'],this['length']-_0x2cd4a8,this['side']);return this['length']-=_0x2cd4a8,_0x5ae3b7;}['sync'](_0x283b5e){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x283b5e)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x283b5e)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x4432f7,_0x30a581,_0x53d3d7,_0x3af67f,_0x231dc4,_0x441f4a){return!(_0x53d3d7&&(!(_0x53d3d7 instanceof WidgetView&&this['widget']['compare'](_0x53d3d7['widget']))||_0x4432f7>0x0&&_0x231dc4<=0x0||_0x30a581<this['length']&&_0x441f4a<=0x0))&&(this['length']=_0x4432f7+(_0x53d3d7?_0x53d3d7['length']:0x0)+(this['length']-_0x30a581),!0x0);}['become'](_0x5b94fa){return _0x5b94fa instanceof WidgetView&&_0x5b94fa['side']==this['side']&&this['widget']['constructor']==_0x5b94fa['widget']['constructor']&&(this['widget']['compare'](_0x5b94fa['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x5b94fa['widget'],this['length']=_0x5b94fa['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x342866){return this['widget']['ignoreEvent'](_0x342866);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x3defac=this;for(;_0x3defac['parent'];)_0x3defac=_0x3defac['parent'];let {view:_0x633f44}=_0x3defac,_0x266998=_0x633f44&&_0x633f44['state']['doc'],_0x14f2b9=this['posAtStart'];return _0x266998?_0x266998['slice'](_0x14f2b9,_0x14f2b9+this['length']):Text['empty'];}['domAtPos'](_0x2510a3){return(this['length']?0x0==_0x2510a3:this['side']>0x0)?_0x2c342f['before'](this['dom']):_0x2c342f['after'](this['dom'],_0x2510a3==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x244e20,_0x542fe0){let _0x569c8e=this['widget']['coordsAt'](this['dom'],_0x244e20,_0x542fe0);if(_0x569c8e)return _0x569c8e;let _0x3141ba=this['dom']['getClientRects'](),_0xa60e48=null;if(!_0x3141ba['length'])return null;let _0x2d13c0=this['side']?this['side']<0x0:_0x244e20>0x0;for(let _0x45b99b=_0x2d13c0?_0x3141ba['length']-0x1:0x0;_0xa60e48=_0x3141ba[_0x45b99b],!(_0x244e20>0x0?0x0==_0x45b99b:_0x45b99b==_0x3141ba['length']-0x1||_0xa60e48['top']<_0xa60e48['bottom']);_0x45b99b+=_0x2d13c0?-0x1:0x1);return flattenRect(_0xa60e48,!_0x2d13c0);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}get['isHidden'](){return this['widget']['isHidden'];}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}}class WidgetBufferView extends ContentView{constructor(_0x4c582e){super(),this['side']=_0x4c582e;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x56d06b){return _0x56d06b instanceof WidgetBufferView&&_0x56d06b['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x4ce639=document['createElement']('img');_0x4ce639['className']='cm-widgetBuffer',_0x4ce639['setAttribute']('aria-hidden','true'),this['setDOM'](_0x4ce639);}}['getSide'](){return this['side'];}['domAtPos'](_0x4b272b){return this['side']>0x0?_0x2c342f['before'](this['dom']):_0x2c342f['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x4ae803){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function inlineDOMAtPos(_0x174ca1,_0x44dd39){let _0x4b6d40=_0x174ca1['dom'],{children:_0x42438d}=_0x174ca1,_0x1ac69c=0x0;for(let _0x4266b7=0x0;_0x1ac69c<_0x42438d['length'];_0x1ac69c++){let _0x5d8763=_0x42438d[_0x1ac69c],_0x554baf=_0x4266b7+_0x5d8763['length'];if(!(_0x554baf==_0x4266b7&&_0x5d8763['getSide']()<=0x0)){if(_0x44dd39>_0x4266b7&&_0x44dd39<_0x554baf&&_0x5d8763['dom']['parentNode']==_0x4b6d40)return _0x5d8763['domAtPos'](_0x44dd39-_0x4266b7);if(_0x44dd39<=_0x4266b7)break;_0x4266b7=_0x554baf;}}for(let _0x415620=_0x1ac69c;_0x415620>0x0;_0x415620--){let _0xc69273=_0x42438d[_0x415620-0x1];if(_0xc69273['dom']['parentNode']==_0x4b6d40)return _0xc69273['domAtPos'](_0xc69273['length']);}for(let _0x569953=_0x1ac69c;_0x569953<_0x42438d['length'];_0x569953++){let _0x85fac0=_0x42438d[_0x569953];if(_0x85fac0['dom']['parentNode']==_0x4b6d40)return _0x85fac0['domAtPos'](0x0);}return new _0x2c342f(_0x4b6d40,0x0);}function joinInlineInto(_0x579b9d,_0xd43f0f,_0x3352a5){let _0x406035,{children:_0x30129d}=_0x579b9d;_0x3352a5>0x0&&_0xd43f0f instanceof _0x404896&&_0x30129d['length']&&(_0x406035=_0x30129d[_0x30129d['length']-0x1])instanceof _0x404896&&_0x406035['mark']['eq'](_0xd43f0f['mark'])?joinInlineInto(_0x406035,_0xd43f0f['children'][0x0],_0x3352a5-0x1):(_0x30129d['push'](_0xd43f0f),_0xd43f0f['setParent'](_0x579b9d)),_0x579b9d['length']+=_0xd43f0f['length'];}function _0x2723cb(_0x599915,_0x37cfc5,_0x5291b3){let _0x52fe9f=null,_0xf09bd2=-0x1,_0x207fbb=null,_0x1b7897=-0x1;!function _0x3928a3(_0x172ffa,_0x3addc6){for(let _0x2354c7=0x0,_0x2434e1=0x0;_0x2354c7<_0x172ffa['children']['length']&&_0x2434e1<=_0x3addc6;_0x2354c7++){let _0x1c7acd=_0x172ffa['children'][_0x2354c7],_0x1b34eb=_0x2434e1+_0x1c7acd['length'];_0x1b34eb>=_0x3addc6&&(_0x1c7acd['children']['length']?_0x3928a3(_0x1c7acd,_0x3addc6-_0x2434e1):(!_0x207fbb||_0x207fbb['isHidden']&&(_0x5291b3>0x0||_0x20b7e8(_0x207fbb,_0x1c7acd)))&&(_0x1b34eb>_0x3addc6||_0x2434e1==_0x1b34eb&&_0x1c7acd['getSide']()>0x0)?(_0x207fbb=_0x1c7acd,_0x1b7897=_0x3addc6-_0x2434e1):(_0x2434e1<_0x3addc6||_0x2434e1==_0x1b34eb&&_0x1c7acd['getSide']()<0x0&&!_0x1c7acd['isHidden'])&&(_0x52fe9f=_0x1c7acd,_0xf09bd2=_0x3addc6-_0x2434e1)),_0x2434e1=_0x1b34eb;}}(_0x599915,_0x37cfc5);let _0xe98940=(_0x5291b3<0x0?_0x52fe9f:_0x207fbb)||_0x52fe9f||_0x207fbb;return _0xe98940?_0xe98940['coordsAt'](Math['max'](0x0,_0xe98940==_0x52fe9f?_0xf09bd2:_0x1b7897),_0x5291b3):fallbackRect(_0x599915);}function fallbackRect(_0x4f60d1){let _0x48597b=_0x4f60d1['dom']['lastChild'];if(!_0x48597b)return _0x4f60d1['dom']['getBoundingClientRect']();let _0x592b4f=clientRectsFor(_0x48597b);return _0x592b4f[_0x592b4f['length']-0x1]||null;}function _0x20b7e8(_0x50a5ea,_0x84a0cd){let _0x3d3cf2=_0x50a5ea['coordsAt'](0x0,0x1),_0x21d45d=_0x84a0cd['coordsAt'](0x0,0x1);return _0x3d3cf2&&_0x21d45d&&_0x21d45d['top']<_0x3d3cf2['bottom'];}function combineAttrs(_0x3f32f5,_0x1aa4db){for(let _0xf1f33c in _0x3f32f5)'class'==_0xf1f33c&&_0x1aa4db['class']?_0x1aa4db['class']+='\x20'+_0x3f32f5['class']:'style'==_0xf1f33c&&_0x1aa4db['style']?_0x1aa4db['style']+=';'+_0x3f32f5['style']:_0x1aa4db[_0xf1f33c]=_0x3f32f5[_0xf1f33c];return _0x1aa4db;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x12aa5e;const noAttrs$1=Object['create'](null);function attrsEq(_0x4bcbf0,_0x3a95eb,_0x11485c){if(_0x4bcbf0==_0x3a95eb)return!0x0;_0x4bcbf0||(_0x4bcbf0=noAttrs$1),_0x3a95eb||(_0x3a95eb=noAttrs$1);let _0x225e4c=Object['keys'](_0x4bcbf0),_0x470eb7=Object['keys'](_0x3a95eb);if(_0x225e4c['length']-(_0x11485c&&_0x225e4c['indexOf'](_0x11485c)>-0x1?0x1:0x0)!=_0x470eb7['length']-(_0x11485c&&_0x470eb7['indexOf'](_0x11485c)>-0x1?0x1:0x0))return!0x1;for(let _0x102a28 of _0x225e4c)if(_0x102a28!=_0x11485c&&(-0x1==_0x470eb7['indexOf'](_0x102a28)||_0x4bcbf0[_0x102a28]!==_0x3a95eb[_0x102a28]))return!0x1;return!0x0;}function updateAttrs(_0x3110eb,_0x19c641,_0x5192ec){let _0x15b20d=!0x1;if(_0x19c641){for(let _0x4bf646 in _0x19c641)_0x5192ec&&_0x4bf646 in _0x5192ec||(_0x15b20d=!0x0,'style'==_0x4bf646?_0x3110eb['style']['cssText']='':_0x3110eb['removeAttribute'](_0x4bf646));}if(_0x5192ec){for(let _0x40bff2 in _0x5192ec)_0x19c641&&_0x19c641[_0x40bff2]==_0x5192ec[_0x40bff2]||(_0x15b20d=!0x0,'style'==_0x40bff2?_0x3110eb['style']['cssText']=_0x5192ec[_0x40bff2]:_0x3110eb['setAttribute'](_0x40bff2,_0x5192ec[_0x40bff2]));}return _0x15b20d;}function getAttrs$1(_0x170a7c){let _0x1fe4fd=Object['create'](null);for(let _0x16e56e=0x0;_0x16e56e<_0x170a7c['attributes']['length'];_0x16e56e++){let _0x473c55=_0x170a7c['attributes'][_0x16e56e];_0x1fe4fd[_0x473c55['name']]=_0x473c55['value'];}return _0x1fe4fd;}class WidgetType{['eq'](_0x89bfe8){return!0x1;}['updateDOM'](_0x2c94b8,_0x3146cd){return!0x1;}['compare'](_0x31c1fc){return this==_0x31c1fc||this['constructor']==_0x31c1fc['constructor']&&this['eq'](_0x31c1fc);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x56c33f){return!0x0;}['coordsAt'](_0x2303fc,_0x5a5040,_0x46ac56){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x54e67e){}}var _0x30e04f=function(_0x418704){return _0x418704[_0x418704['Text']=0x0]='Text',_0x418704[_0x418704['WidgetBefore']=0x1]='WidgetBefore',_0x418704[_0x418704['WidgetAfter']=0x2]='WidgetAfter',_0x418704[_0x418704['WidgetRange']=0x3]='WidgetRange',_0x418704;}(_0x30e04f||(_0x30e04f={}));class Decoration extends _0x54fcea{constructor(_0x2b7810,_0x4f78cd,_0x51f2ea,_0x1d2ec3){super(),this['startSide']=_0x2b7810,this['endSide']=_0x4f78cd,this['widget']=_0x51f2ea,this['spec']=_0x1d2ec3;}get['heightRelevant'](){return!0x1;}static['mark'](_0x345db4){return new MarkDecoration(_0x345db4);}static['widget'](_0x53017c){let _0x72c7d2=Math['max'](-0x2710,Math['min'](0x2710,_0x53017c['side']||0x0)),_0x1ad3d7=!!_0x53017c['block'];return _0x72c7d2+=_0x1ad3d7&&!_0x53017c['inlineOrder']?_0x72c7d2>0x0?0x11e1a300:-0x17d78400:_0x72c7d2>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x53017c,_0x72c7d2,_0x72c7d2,_0x1ad3d7,_0x53017c['widget']||null,!0x1);}static['replace'](_0x48e5e8){let _0x58208c,_0x7687cb,_0xb0df7e=!!_0x48e5e8['block'];if(_0x48e5e8['isBlockGap'])_0x58208c=-0x1dcd6500,_0x7687cb=0x17d78400;else{let {start:_0x54c426,end:_0x112917}=getInclusive(_0x48e5e8,_0xb0df7e);_0x58208c=(_0x54c426?_0xb0df7e?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x7687cb=0x1+(_0x112917?_0xb0df7e?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x48e5e8,_0x58208c,_0x7687cb,_0xb0df7e,_0x48e5e8['widget']||null,!0x0);}static['line'](_0x3b2682){return new LineDecoration(_0x3b2682);}static['set'](_0x342cbd,_0x58e61d=!0x1){return RangeSet['of'](_0x342cbd,_0x58e61d);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x192941){let {start:_0x41083c,end:_0xda8f81}=getInclusive(_0x192941);super(_0x41083c?-0x1:0x1dcd6500,_0xda8f81?0x1:-0x23c34600,null,_0x192941),this['tagName']=_0x192941['tagName']||'span',this['class']=_0x192941['class']||'',this['attrs']=_0x192941['attributes']||null;}['eq'](_0x2870c7){var _0x2ae4ac,_0x4d858b;return this==_0x2870c7||_0x2870c7 instanceof MarkDecoration&&this['tagName']==_0x2870c7['tagName']&&(this['class']||(null===(_0x2ae4ac=this['attrs'])||void 0x0===_0x2ae4ac?void 0x0:_0x2ae4ac['class']))==(_0x2870c7['class']||(null===(_0x4d858b=_0x2870c7['attrs'])||void 0x0===_0x4d858b?void 0x0:_0x4d858b['class']))&&attrsEq(this['attrs'],_0x2870c7['attrs'],'class');}['range'](_0xb181ac,_0xdeb90d=_0xb181ac){if(_0xb181ac>=_0xdeb90d)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0xb181ac,_0xdeb90d);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x52d34f){super(-0xbebc200,-0xbebc200,null,_0x52d34f);}['eq'](_0x2c10e6){return _0x2c10e6 instanceof LineDecoration&&this['spec']['class']==_0x2c10e6['spec']['class']&&attrsEq(this['spec']['attributes'],_0x2c10e6['spec']['attributes']);}['range'](_0x501c36,_0x71901c=_0x501c36){if(_0x71901c!=_0x501c36)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x501c36,_0x71901c);}}LineDecoration['prototype']['mapMode']=_0x270cd3['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x51bf5b,_0x2a65be,_0x53b83c,_0x135cf0,_0x4ee6a3,_0x33b4f6){super(_0x2a65be,_0x53b83c,_0x4ee6a3,_0x51bf5b),this['block']=_0x135cf0,this['isReplace']=_0x33b4f6,this['mapMode']=_0x135cf0?_0x2a65be<=0x0?_0x270cd3['TrackBefore']:_0x270cd3['TrackAfter']:_0x270cd3['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x30e04f['WidgetRange']:this['startSide']<=0x0?_0x30e04f['WidgetBefore']:_0x30e04f['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x35332b){return _0x35332b instanceof PointDecoration&&widgetsEq(this['widget'],_0x35332b['widget'])&&this['block']==_0x35332b['block']&&this['startSide']==_0x35332b['startSide']&&this['endSide']==_0x35332b['endSide'];}['range'](_0x2c3c9d,_0x3f6834=_0x2c3c9d){if(this['isReplace']&&(_0x2c3c9d>_0x3f6834||_0x2c3c9d==_0x3f6834&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x3f6834!=_0x2c3c9d)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x2c3c9d,_0x3f6834);}}function getInclusive(_0x5c02de,_0x4f97f7=!0x1){let {inclusiveStart:_0x2ce0ae,inclusiveEnd:_0x412d89}=_0x5c02de;return null==_0x2ce0ae&&(_0x2ce0ae=_0x5c02de['inclusive']),null==_0x412d89&&(_0x412d89=_0x5c02de['inclusive']),{'start':null!=_0x2ce0ae?_0x2ce0ae:_0x4f97f7,'end':null!=_0x412d89?_0x412d89:_0x4f97f7};}function widgetsEq(_0x1c558d,_0x22dd2a){return _0x1c558d==_0x22dd2a||!!(_0x1c558d&&_0x22dd2a&&_0x1c558d['compare'](_0x22dd2a));}function _0x22d945(_0x107882,_0x4a4f02,_0x12c7af,_0x3514c7=0x0){let _0x262d2f=_0x12c7af['length']-0x1;_0x262d2f>=0x0&&_0x12c7af[_0x262d2f]+_0x3514c7>=_0x107882?_0x12c7af[_0x262d2f]=Math['max'](_0x12c7af[_0x262d2f],_0x4a4f02):_0x12c7af['push'](_0x107882,_0x4a4f02);}PointDecoration['prototype']['point']=!0x0;class _0x5e4138 extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x18a967,_0x576abf,_0x2530c6,_0x1a1816,_0x2af12c,_0xa34fda){if(_0x2530c6){if(!(_0x2530c6 instanceof _0x5e4138))return!0x1;this['dom']||_0x2530c6['transferDOM'](this);}return _0x1a1816&&this['setDeco'](_0x2530c6?_0x2530c6['attrs']:null),mergeChildrenInto(this,_0x18a967,_0x576abf,_0x2530c6?_0x2530c6['children']['slice']():[],_0x2af12c,_0xa34fda),!0x0;}['split'](_0x22c9fd){let _0x2f9830=new _0x5e4138();if(_0x2f9830['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x2f9830;let {i:_0x46f6a1,off:_0x3954eb}=this['childPos'](_0x22c9fd);_0x3954eb&&(_0x2f9830['append'](this['children'][_0x46f6a1]['split'](_0x3954eb),0x0),this['children'][_0x46f6a1]['merge'](_0x3954eb,this['children'][_0x46f6a1]['length'],null,!0x1,0x0,0x0),_0x46f6a1++);for(let _0x3e2a78=_0x46f6a1;_0x3e2a78<this['children']['length'];_0x3e2a78++)_0x2f9830['append'](this['children'][_0x3e2a78],0x0);for(;_0x46f6a1>0x0&&0x0==this['children'][_0x46f6a1-0x1]['length'];)this['children'][--_0x46f6a1]['destroy']();return this['children']['length']=_0x46f6a1,this['markDirty'](),this['length']=_0x22c9fd,_0x2f9830;}['transferDOM'](_0x349733){this['dom']&&(this['markDirty'](),_0x349733['setDOM'](this['dom']),_0x349733['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x2501ea){attrsEq(this['attrs'],_0x2501ea)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x2501ea);}['append'](_0x1e4e96,_0x4cd906){joinInlineInto(this,_0x1e4e96,_0x4cd906);}['addLineDeco'](_0x5a0825){let _0x55310c=_0x5a0825['spec']['attributes'],_0x25c388=_0x5a0825['spec']['class'];_0x55310c&&(this['attrs']=combineAttrs(_0x55310c,this['attrs']||{})),_0x25c388&&(this['attrs']=combineAttrs({'class':_0x25c388},this['attrs']||{}));}['domAtPos'](_0x1fb5b6){return inlineDOMAtPos(this,_0x1fb5b6);}['reuseDOM'](_0x3498cc){'DIV'==_0x3498cc['nodeName']&&(this['setDOM'](_0x3498cc),this['flags']|=0x6);}['sync'](_0x3f15d3,_0x1b4ab0){var _0x3b28af;this['dom']?0x4&this['flags']&&(clearAttributes(this['dom']),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0):(this['setDOM'](document['createElement']('div')),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0),void 0x0!==this['prevAttrs']&&(updateAttrs(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x3f15d3,_0x1b4ab0);let _0x4729e4=this['dom']['lastChild'];for(;_0x4729e4&&ContentView['get'](_0x4729e4)instanceof _0x404896;)_0x4729e4=_0x4729e4['lastChild'];if(!(_0x4729e4&&this['length']&&('BR'==_0x4729e4['nodeName']||0x0!=(null===(_0x3b28af=ContentView['get'](_0x4729e4))||void 0x0===_0x3b28af?void 0x0:_0x3b28af['isEditable'])||_0x54ee61['ios']&&this['children']['some'](_0x411dfd=>_0x411dfd instanceof TextView)))){let _0x5ed71d=document['createElement']('BR');_0x5ed71d['cmIgnore']=!0x0,this['dom']['appendChild'](_0x5ed71d);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x346a40,_0x281024=0x0;for(let _0x4f088 of this['children']){if(!(_0x4f088 instanceof TextView)||/[^ -~]/['test'](_0x4f088['text']))return null;let _0x4a2392=clientRectsFor(_0x4f088['dom']);if(0x1!=_0x4a2392['length'])return null;_0x281024+=_0x4a2392[0x0]['width'],_0x346a40=_0x4a2392[0x0]['height'];}return _0x281024?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x281024/this['length'],'textHeight':_0x346a40}:null;}['coordsAt'](_0xbe11ff,_0x352cd6){let _0x2d51e4=_0x2723cb(this,_0xbe11ff,_0x352cd6);if(!this['children']['length']&&_0x2d51e4&&this['parent']){let {heightOracle:_0x4f6e85}=this['parent']['view']['viewState'],_0x4e1552=_0x2d51e4['bottom']-_0x2d51e4['top'];if(Math['abs'](_0x4e1552-_0x4f6e85['lineHeight'])<0x2&&_0x4f6e85['textHeight']<_0x4e1552){let _0x4997db=(_0x4e1552-_0x4f6e85['textHeight'])/0x2;return{'top':_0x2d51e4['top']+_0x4997db,'bottom':_0x2d51e4['bottom']-_0x4997db,'left':_0x2d51e4['left'],'right':_0x2d51e4['left']};}}return _0x2d51e4;}['become'](_0x4a056a){return _0x4a056a instanceof _0x5e4138&&0x0==this['children']['length']&&0x0==_0x4a056a['children']['length']&&attrsEq(this['attrs'],_0x4a056a['attrs'])&&this['breakAfter']==_0x4a056a['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x3564c1,_0x11a682){for(let _0x255673=0x0,_0xe421e6=0x0;_0x255673<_0x3564c1['children']['length'];_0x255673++){let _0x31ce21=_0x3564c1['children'][_0x255673],_0x4c956a=_0xe421e6+_0x31ce21['length'];if(_0x4c956a>=_0x11a682){if(_0x31ce21 instanceof _0x5e4138)return _0x31ce21;if(_0x4c956a>_0x11a682)break;}_0xe421e6=_0x4c956a+_0x31ce21['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x5cafff,_0x5dadc2,_0x12ae9d){super(),this['widget']=_0x5cafff,this['length']=_0x5dadc2,this['deco']=_0x12ae9d,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x86ad32,_0x45e273,_0x19fe62,_0xc5bd50,_0x54d9ea,_0x328c22){return!(_0x19fe62&&(!(_0x19fe62 instanceof BlockWidgetView&&this['widget']['compare'](_0x19fe62['widget']))||_0x86ad32>0x0&&_0x54d9ea<=0x0||_0x45e273<this['length']&&_0x328c22<=0x0))&&(this['length']=_0x86ad32+(_0x19fe62?_0x19fe62['length']:0x0)+(this['length']-_0x45e273),!0x0);}['domAtPos'](_0x224aa8){return 0x0==_0x224aa8?_0x2c342f['before'](this['dom']):_0x2c342f['after'](this['dom'],_0x224aa8==this['length']);}['split'](_0x4dcc77){let _0x37a64c=this['length']-_0x4dcc77;this['length']=_0x4dcc77;let _0x24c185=new BlockWidgetView(this['widget'],_0x37a64c,this['deco']);return _0x24c185['breakAfter']=this['breakAfter'],_0x24c185;}get['children'](){return _0x12aa5e;}['sync'](_0x1ec401){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x1ec401)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x1ec401)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):Text['empty'];}['domBoundsAround'](){return null;}['become'](_0x1d4623){return _0x1d4623 instanceof BlockWidgetView&&_0x1d4623['widget']['constructor']==this['widget']['constructor']&&(_0x1d4623['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x1d4623['widget'],this['length']=_0x1d4623['length'],this['deco']=_0x1d4623['deco'],this['breakAfter']=_0x1d4623['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x1dfed6){return this['widget']['ignoreEvent'](_0x1dfed6);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0xede1df,_0x42c3a3){let _0x141b09=this['widget']['coordsAt'](this['dom'],_0xede1df,_0x42c3a3);return _0x141b09||(this['widget']instanceof BlockGapWidget?null:flattenRect(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0xede1df:_0x42c3a3<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x408ea7){let {startSide:_0x4c9ccc,endSide:_0x4a185e}=this['deco'];return _0x4c9ccc!=_0x4a185e&&(_0x408ea7<0x0?_0x4c9ccc<0x0:_0x4a185e>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x353bac){super(),this['height']=_0x353bac;}['toDOM'](){let _0x40f1ec=document['createElement']('div');return _0x40f1ec['className']='cm-gap',this['updateDOM'](_0x40f1ec),_0x40f1ec;}['eq'](_0x55cd93){return _0x55cd93['height']==this['height'];}['updateDOM'](_0x24cbd1){return _0x24cbd1['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x222130,_0x20cfe4,_0x3de079,_0x4482a7){this['doc']=_0x222130,this['pos']=_0x20cfe4,this['end']=_0x3de079,this['disallowBlockEffectsFor']=_0x4482a7,this['content']=[],this['curLine']=null,this['breakAtStart']=0x0,this['pendingBuffer']=0x0,this['bufferMarks']=[],this['atCursorPos']=!0x0,this['openStart']=-0x1,this['openEnd']=-0x1,this['text']='',this['textOff']=0x0,this['cursor']=_0x222130['iter'](),this['skip']=_0x20cfe4;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x21c387=this['content'][this['content']['length']-0x1];return!(_0x21c387['breakAfter']||_0x21c387 instanceof BlockWidgetView&&_0x21c387['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x5e4138()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x29ec4f=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x5f1e99(new WidgetBufferView(-0x1),_0x29ec4f),_0x29ec4f['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x142ffd){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x142ffd);}['finish'](_0x90387b){this['pendingBuffer']&&_0x90387b<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x90387b&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x50355d,_0x2a648b,_0x7f222b){for(;_0x50355d>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x4a7a89,lineBreak:_0x2d2ff1,done:_0x2f7643}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x2f7643)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x2d2ff1){this['posCovered']()||this['getLine'](),this['content']['length']?this['content'][this['content']['length']-0x1]['breakAfter']=0x1:this['breakAtStart']=0x1,this['flushBuffer'](),this['curLine']=null,this['atCursorPos']=!0x0,_0x50355d--;continue;}this['text']=_0x4a7a89,this['textOff']=0x0;}let _0xa268ae=Math['min'](this['text']['length']-this['textOff'],_0x50355d),_0x24caba=Math['min'](_0xa268ae,0x200);this['flushBuffer'](_0x2a648b['slice'](_0x2a648b['length']-_0x7f222b)),this['getLine']()['append'](_0x5f1e99(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x24caba)),_0x2a648b),_0x7f222b),this['atCursorPos']=!0x0,this['textOff']+=_0x24caba,_0x50355d-=_0x24caba,_0x7f222b=_0xa268ae<=_0x24caba?0x0:_0x2a648b['length'];}}['span'](_0x30d920,_0x1d36c5,_0x6ceb88,_0x4bba54){this['buildText'](_0x1d36c5-_0x30d920,_0x6ceb88,_0x4bba54),this['pos']=_0x1d36c5,this['openStart']<0x0&&(this['openStart']=_0x4bba54);}['point'](_0x5db553,_0x20f097,_0x437260,_0x344b38,_0xf95196,_0x1ae4a3){if(this['disallowBlockEffectsFor'][_0x1ae4a3]&&_0x437260 instanceof PointDecoration){if(_0x437260['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x20f097>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0xa8bb9e=_0x20f097-_0x5db553;if(_0x437260 instanceof PointDecoration){if(_0x437260['block'])_0x437260['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x437260['widget']||NullWidget['block'],_0xa8bb9e,_0x437260));else{let _0x1fb159=WidgetView['create'](_0x437260['widget']||NullWidget['inline'],_0xa8bb9e,_0xa8bb9e?0x0:_0x437260['startSide']),_0x1497dd=this['atCursorPos']&&!_0x1fb159['isEditable']&&_0xf95196<=_0x344b38['length']&&(_0x5db553<_0x20f097||_0x437260['startSide']>0x0),_0x17d964=!_0x1fb159['isEditable']&&(_0x5db553<_0x20f097||_0xf95196>_0x344b38['length']||_0x437260['startSide']<=0x0),_0x51c098=this['getLine']();0x2!=this['pendingBuffer']||_0x1497dd||_0x1fb159['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x344b38),_0x1497dd&&(_0x51c098['append'](_0x5f1e99(new WidgetBufferView(0x1),_0x344b38),_0xf95196),_0xf95196=_0x344b38['length']+Math['max'](0x0,_0xf95196-_0x344b38['length'])),_0x51c098['append'](_0x5f1e99(_0x1fb159,_0x344b38),_0xf95196),this['atCursorPos']=_0x17d964,this['pendingBuffer']=_0x17d964?_0x5db553<_0x20f097||_0xf95196>_0x344b38['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x344b38['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x437260);_0xa8bb9e&&(this['textOff']+_0xa8bb9e<=this['text']['length']?this['textOff']+=_0xa8bb9e:(this['skip']+=_0xa8bb9e-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x20f097),this['openStart']<0x0&&(this['openStart']=_0xf95196);}static['build'](_0xf8256f,_0x29f000,_0x4e1358,_0x31e996,_0x52c6f4){let _0x2ea51e=new ContentBuilder(_0xf8256f,_0x29f000,_0x4e1358,_0x52c6f4);return _0x2ea51e['openEnd']=RangeSet['spans'](_0x31e996,_0x29f000,_0x4e1358,_0x2ea51e),_0x2ea51e['openStart']<0x0&&(_0x2ea51e['openStart']=_0x2ea51e['openEnd']),_0x2ea51e['finish'](_0x2ea51e['openEnd']),_0x2ea51e;}}function _0x5f1e99(_0x622ea9,_0x2131b3){for(let _0xad9f1b of _0x2131b3)_0x622ea9=new _0x404896(_0xad9f1b,[_0x622ea9],_0x622ea9['length']);return _0x622ea9;}class NullWidget extends WidgetType{constructor(_0x41c050){super(),this['tag']=_0x41c050;}['eq'](_0x191700){return _0x191700['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x4dbac8){return _0x4dbac8['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var Direction=function(_0x4604b8){return _0x4604b8[_0x4604b8['LTR']=0x0]='LTR',_0x4604b8[_0x4604b8['RTL']=0x1]='RTL',_0x4604b8;}(Direction||(Direction={}));const _0x43feaa=Direction['LTR'],_0x5abab6=Direction['RTL'];function _0x23ac9a(_0x530fe6){let _0x89f01b=[];for(let _0x2317a2=0x0;_0x2317a2<_0x530fe6['length'];_0x2317a2++)_0x89f01b['push'](0x1<<+_0x530fe6[_0x2317a2]);return _0x89f01b;}const _0x1f2c36=_0x23ac9a('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x25c2b9=_0x23ac9a('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),Brackets=Object['create'](null),BracketStack=[];for(let _0x90aadf of['()','[]','{}']){let _0x3bf9c8=_0x90aadf['charCodeAt'](0x0),_0x38275a=_0x90aadf['charCodeAt'](0x1);Brackets[_0x3bf9c8]=_0x38275a,Brackets[_0x38275a]=-_0x3bf9c8;}function _0x286fd9(_0x3ac04d){return _0x3ac04d<=0xf7?_0x1f2c36[_0x3ac04d]:0x590<=_0x3ac04d&&_0x3ac04d<=0x5f4?0x2:0x600<=_0x3ac04d&&_0x3ac04d<=0x6f9?_0x25c2b9[_0x3ac04d-0x600]:0x6ee<=_0x3ac04d&&_0x3ac04d<=0x8ac?0x4:0x2000<=_0x3ac04d&&_0x3ac04d<=0x200c?0x100:0xfb50<=_0x3ac04d&&_0x3ac04d<=0xfdff?0x4:0x1;}const _0x3dcef2=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x5433ee{get['dir'](){return this['level']%0x2?_0x5abab6:_0x43feaa;}constructor(_0x4e21f8,_0x20b8f2,_0x308602){this['from']=_0x4e21f8,this['to']=_0x20b8f2,this['level']=_0x308602;}['side'](_0x539a4a,_0x2d8262){return this['dir']==_0x2d8262==_0x539a4a?this['to']:this['from'];}['forward'](_0x1ec339,_0x3cd2ee){return _0x1ec339==(this['dir']==_0x3cd2ee);}static['find'](_0x3e126f,_0x4cddd4,_0x16c6e4,_0xfe0358){let _0xf8cfc3=-0x1;for(let _0x376b63=0x0;_0x376b63<_0x3e126f['length'];_0x376b63++){let _0x37a429=_0x3e126f[_0x376b63];if(_0x37a429['from']<=_0x4cddd4&&_0x37a429['to']>=_0x4cddd4){if(_0x37a429['level']==_0x16c6e4)return _0x376b63;(_0xf8cfc3<0x0||(0x0!=_0xfe0358?_0xfe0358<0x0?_0x37a429['from']<_0x4cddd4:_0x37a429['to']>_0x4cddd4:_0x3e126f[_0xf8cfc3]['level']>_0x37a429['level']))&&(_0xf8cfc3=_0x376b63);}}if(_0xf8cfc3<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0xf8cfc3;}}function isolatesEq(_0x3e8c60,_0x47dc14){if(_0x3e8c60['length']!=_0x47dc14['length'])return!0x1;for(let _0x4a1517=0x0;_0x4a1517<_0x3e8c60['length'];_0x4a1517++){let _0xc2754c=_0x3e8c60[_0x4a1517],_0x1b7560=_0x47dc14[_0x4a1517];if(_0xc2754c['from']!=_0x1b7560['from']||_0xc2754c['to']!=_0x1b7560['to']||_0xc2754c['direction']!=_0x1b7560['direction']||!isolatesEq(_0xc2754c['inner'],_0x1b7560['inner']))return!0x1;}return!0x0;}const types=[];function computeCharTypes(_0x3f5176,_0x16a56c,_0x416d43,_0x3ee5d9,_0xbed5e7){for(let _0x242790=0x0;_0x242790<=_0x3ee5d9['length'];_0x242790++){let _0x559cf2=_0x242790?_0x3ee5d9[_0x242790-0x1]['to']:_0x16a56c,_0x1f178c=_0x242790<_0x3ee5d9['length']?_0x3ee5d9[_0x242790]['from']:_0x416d43,_0x4b37e9=_0x242790?0x100:_0xbed5e7;for(let _0x403263=_0x559cf2,_0x9397ad=_0x4b37e9,_0x2b9739=_0x4b37e9;_0x403263<_0x1f178c;_0x403263++){let _0x1648c8=_0x286fd9(_0x3f5176['charCodeAt'](_0x403263));0x200==_0x1648c8?_0x1648c8=_0x9397ad:0x8==_0x1648c8&&0x4==_0x2b9739&&(_0x1648c8=0x10),types[_0x403263]=0x4==_0x1648c8?0x2:_0x1648c8,0x7&_0x1648c8&&(_0x2b9739=_0x1648c8),_0x9397ad=_0x1648c8;}for(let _0x58c15e=_0x559cf2,_0x5daf82=_0x4b37e9,_0x1edcbc=_0x4b37e9;_0x58c15e<_0x1f178c;_0x58c15e++){let _0x46f208=types[_0x58c15e];if(0x80==_0x46f208)_0x58c15e<_0x1f178c-0x1&&_0x5daf82==types[_0x58c15e+0x1]&&0x18&_0x5daf82?_0x46f208=types[_0x58c15e]=_0x5daf82:types[_0x58c15e]=0x100;else{if(0x40==_0x46f208){let _0x58fb2e=_0x58c15e+0x1;for(;_0x58fb2e<_0x1f178c&&0x40==types[_0x58fb2e];)_0x58fb2e++;let _0x85988e=_0x58c15e&&0x8==_0x5daf82||_0x58fb2e<_0x416d43&&0x8==types[_0x58fb2e]?0x1==_0x1edcbc?0x1:0x8:0x100;for(let _0x44aa51=_0x58c15e;_0x44aa51<_0x58fb2e;_0x44aa51++)types[_0x44aa51]=_0x85988e;_0x58c15e=_0x58fb2e-0x1;}else 0x8==_0x46f208&&0x1==_0x1edcbc&&(types[_0x58c15e]=0x1);}_0x5daf82=_0x46f208,0x7&_0x46f208&&(_0x1edcbc=_0x46f208);}}}function processBracketPairs(_0x16f15f,_0x24c8c8,_0x40191e,_0x3d01da,_0x4bdf18){let _0x35add2=0x1==_0x4bdf18?0x2:0x1;for(let _0x7a9702=0x0,_0x276e45=0x0,_0x59d581=0x0;_0x7a9702<=_0x3d01da['length'];_0x7a9702++){let _0x5c954e=_0x7a9702?_0x3d01da[_0x7a9702-0x1]['to']:_0x24c8c8,_0x6b47f=_0x7a9702<_0x3d01da['length']?_0x3d01da[_0x7a9702]['from']:_0x40191e;for(let _0x9873f4,_0x91196d,_0x4594a6,_0x462538=_0x5c954e;_0x462538<_0x6b47f;_0x462538++)if(_0x91196d=Brackets[_0x9873f4=_0x16f15f['charCodeAt'](_0x462538)]){if(_0x91196d<0x0){for(let _0x4273ca=_0x276e45-0x3;_0x4273ca>=0x0;_0x4273ca-=0x3)if(BracketStack[_0x4273ca+0x1]==-_0x91196d){let _0x395ef7=BracketStack[_0x4273ca+0x2],_0x501858=0x2&_0x395ef7?_0x4bdf18:0x4&_0x395ef7?0x1&_0x395ef7?_0x35add2:_0x4bdf18:0x0;_0x501858&&(types[_0x462538]=types[BracketStack[_0x4273ca]]=_0x501858),_0x276e45=_0x4273ca;break;}}else{if(0xbd==BracketStack['length'])break;BracketStack[_0x276e45++]=_0x462538,BracketStack[_0x276e45++]=_0x9873f4,BracketStack[_0x276e45++]=_0x59d581;}}else{if(0x2==(_0x4594a6=types[_0x462538])||0x1==_0x4594a6){let _0x59d33c=_0x4594a6==_0x4bdf18;_0x59d581=_0x59d33c?0x0:0x1;for(let _0x3a5d2d=_0x276e45-0x3;_0x3a5d2d>=0x0;_0x3a5d2d-=0x3){let _0x577c39=BracketStack[_0x3a5d2d+0x2];if(0x2&_0x577c39)break;if(_0x59d33c)BracketStack[_0x3a5d2d+0x2]|=0x2;else{if(0x4&_0x577c39)break;BracketStack[_0x3a5d2d+0x2]|=0x4;}}}}}}function processNeutrals(_0x448de5,_0x5945e3,_0x53653a,_0x142d5d){for(let _0x5f505b=0x0,_0x307df4=_0x142d5d;_0x5f505b<=_0x53653a['length'];_0x5f505b++){let _0x2f1e52=_0x5f505b?_0x53653a[_0x5f505b-0x1]['to']:_0x448de5,_0x1b59c8=_0x5f505b<_0x53653a['length']?_0x53653a[_0x5f505b]['from']:_0x5945e3;for(let _0x1d4b81=_0x2f1e52;_0x1d4b81<_0x1b59c8;){let _0x4b6ccf=types[_0x1d4b81];if(0x100==_0x4b6ccf){let _0x5afda8=_0x1d4b81+0x1;for(;;)if(_0x5afda8==_0x1b59c8){if(_0x5f505b==_0x53653a['length'])break;_0x5afda8=_0x53653a[_0x5f505b++]['to'],_0x1b59c8=_0x5f505b<_0x53653a['length']?_0x53653a[_0x5f505b]['from']:_0x5945e3;}else{if(0x100!=types[_0x5afda8])break;_0x5afda8++;}let _0x14aa81=0x1==_0x307df4,_0x6eb16d=_0x14aa81==(0x1==(_0x5afda8<_0x5945e3?types[_0x5afda8]:_0x142d5d))?_0x14aa81?0x1:0x2:_0x142d5d;for(let _0x10dfce=_0x5afda8,_0x56ede7=_0x5f505b,_0x84f713=_0x56ede7?_0x53653a[_0x56ede7-0x1]['to']:_0x448de5;_0x10dfce>_0x1d4b81;)_0x10dfce==_0x84f713&&(_0x10dfce=_0x53653a[--_0x56ede7]['from'],_0x84f713=_0x56ede7?_0x53653a[_0x56ede7-0x1]['to']:_0x448de5),types[--_0x10dfce]=_0x6eb16d;_0x1d4b81=_0x5afda8;}else _0x307df4=_0x4b6ccf,_0x1d4b81++;}}}function emitSpans(_0x2759a5,_0xbd06d4,_0x2ed9bc,_0x5b5426,_0x38694e,_0x186b77,_0x1e4542){let _0x35352a=_0x5b5426%0x2?0x2:0x1;if(_0x5b5426%0x2==_0x38694e%0x2)for(let _0x5360e2=_0xbd06d4,_0xfeb19=0x0;_0x5360e2<_0x2ed9bc;){let _0x5297f3=!0x0,_0x1bfbea=!0x1;if(_0xfeb19==_0x186b77['length']||_0x5360e2<_0x186b77[_0xfeb19]['from']){let _0x3ee434=types[_0x5360e2];_0x3ee434!=_0x35352a&&(_0x5297f3=!0x1,_0x1bfbea=0x10==_0x3ee434);}let _0x1e805b=_0x5297f3||0x1!=_0x35352a?null:[],_0x1ae8d7=_0x5297f3?_0x5b5426:_0x5b5426+0x1,_0x36c5c7=_0x5360e2;t:for(;;)if(_0xfeb19<_0x186b77['length']&&_0x36c5c7==_0x186b77[_0xfeb19]['from']){if(_0x1bfbea)break t;let _0x36ef14=_0x186b77[_0xfeb19];if(!_0x5297f3)for(let _0x524429=_0x36ef14['to'],_0x1b39bd=_0xfeb19+0x1;;){if(_0x524429==_0x2ed9bc)break t;if(!(_0x1b39bd<_0x186b77['length']&&_0x186b77[_0x1b39bd]['from']==_0x524429)){if(types[_0x524429]==_0x35352a)break t;break;}_0x524429=_0x186b77[_0x1b39bd++]['to'];}if(_0xfeb19++,_0x1e805b)_0x1e805b['push'](_0x36ef14);else _0x36ef14['from']>_0x5360e2&&_0x1e4542['push'](new _0x5433ee(_0x5360e2,_0x36ef14['from'],_0x1ae8d7)),computeSectionOrder(_0x2759a5,_0x36ef14['direction']==_0x43feaa!=!(_0x1ae8d7%0x2)?_0x5b5426+0x1:_0x5b5426,_0x38694e,_0x36ef14['inner'],_0x36ef14['from'],_0x36ef14['to'],_0x1e4542),_0x5360e2=_0x36ef14['to'];_0x36c5c7=_0x36ef14['to'];}else{if(_0x36c5c7==_0x2ed9bc||(_0x5297f3?types[_0x36c5c7]!=_0x35352a:types[_0x36c5c7]==_0x35352a))break;_0x36c5c7++;}_0x1e805b?emitSpans(_0x2759a5,_0x5360e2,_0x36c5c7,_0x5b5426+0x1,_0x38694e,_0x1e805b,_0x1e4542):_0x5360e2<_0x36c5c7&&_0x1e4542['push'](new _0x5433ee(_0x5360e2,_0x36c5c7,_0x1ae8d7)),_0x5360e2=_0x36c5c7;}else for(let _0x419f9b=_0x2ed9bc,_0x1609be=_0x186b77['length'];_0x419f9b>_0xbd06d4;){let _0x440d22=!0x0,_0x53c4f5=!0x1;if(!_0x1609be||_0x419f9b>_0x186b77[_0x1609be-0x1]['to']){let _0x1b079b=types[_0x419f9b-0x1];_0x1b079b!=_0x35352a&&(_0x440d22=!0x1,_0x53c4f5=0x10==_0x1b079b);}let _0x9421d6=_0x440d22||0x1!=_0x35352a?null:[],_0x4371c2=_0x440d22?_0x5b5426:_0x5b5426+0x1,_0x317eef=_0x419f9b;t:for(;;)if(_0x1609be&&_0x317eef==_0x186b77[_0x1609be-0x1]['to']){if(_0x53c4f5)break t;let _0x67020c=_0x186b77[--_0x1609be];if(!_0x440d22)for(let _0x4bd25f=_0x67020c['from'],_0x46d378=_0x1609be;;){if(_0x4bd25f==_0xbd06d4)break t;if(!_0x46d378||_0x186b77[_0x46d378-0x1]['to']!=_0x4bd25f){if(types[_0x4bd25f-0x1]==_0x35352a)break t;break;}_0x4bd25f=_0x186b77[--_0x46d378]['from'];}if(_0x9421d6)_0x9421d6['push'](_0x67020c);else _0x67020c['to']<_0x419f9b&&_0x1e4542['push'](new _0x5433ee(_0x67020c['to'],_0x419f9b,_0x4371c2)),computeSectionOrder(_0x2759a5,_0x67020c['direction']==_0x43feaa!=!(_0x4371c2%0x2)?_0x5b5426+0x1:_0x5b5426,_0x38694e,_0x67020c['inner'],_0x67020c['from'],_0x67020c['to'],_0x1e4542),_0x419f9b=_0x67020c['from'];_0x317eef=_0x67020c['from'];}else{if(_0x317eef==_0xbd06d4||(_0x440d22?types[_0x317eef-0x1]!=_0x35352a:types[_0x317eef-0x1]==_0x35352a))break;_0x317eef--;}_0x9421d6?emitSpans(_0x2759a5,_0x317eef,_0x419f9b,_0x5b5426+0x1,_0x38694e,_0x9421d6,_0x1e4542):_0x317eef<_0x419f9b&&_0x1e4542['push'](new _0x5433ee(_0x317eef,_0x419f9b,_0x4371c2)),_0x419f9b=_0x317eef;}}function computeSectionOrder(_0x2609d1,_0x1f3801,_0xf5ce5a,_0x573a81,_0x2fe811,_0x5aa41c,_0x4b6ab3){let _0x9d48fd=_0x1f3801%0x2?0x2:0x1;computeCharTypes(_0x2609d1,_0x2fe811,_0x5aa41c,_0x573a81,_0x9d48fd),processBracketPairs(_0x2609d1,_0x2fe811,_0x5aa41c,_0x573a81,_0x9d48fd),processNeutrals(_0x2fe811,_0x5aa41c,_0x573a81,_0x9d48fd),emitSpans(_0x2609d1,_0x2fe811,_0x5aa41c,_0x1f3801,_0xf5ce5a,_0x573a81,_0x4b6ab3);}function computeOrder(_0x59111e,_0x54c5f4,_0x99e670){if(!_0x59111e)return[new _0x5433ee(0x0,0x0,_0x54c5f4==_0x5abab6?0x1:0x0)];if(_0x54c5f4==_0x43feaa&&!_0x99e670['length']&&!_0x3dcef2['test'](_0x59111e))return trivialOrder(_0x59111e['length']);if(_0x99e670['length']){for(;_0x59111e['length']>types['length'];)types[types['length']]=0x100;}let _0x586cd8=[],_0x106f6f=_0x54c5f4==_0x43feaa?0x0:0x1;return computeSectionOrder(_0x59111e,_0x106f6f,_0x106f6f,_0x99e670,0x0,_0x59111e['length'],_0x586cd8),_0x586cd8;}function trivialOrder(_0x3232ff){return[new _0x5433ee(0x0,_0x3232ff,0x0)];}let _0x53fc6e='';function _0x5756e4(_0x56cd3f,_0x3f6778,_0x3a0b05,_0x2e9fb3,_0x1d36d5){var _0x12ede8;let _0x5abf7a=_0x2e9fb3['head']-_0x56cd3f['from'],_0x34a329=_0x5433ee['find'](_0x3f6778,_0x5abf7a,null!==(_0x12ede8=_0x2e9fb3['bidiLevel'])&&void 0x0!==_0x12ede8?_0x12ede8:-0x1,_0x2e9fb3['assoc']),_0xe97c3f=_0x3f6778[_0x34a329],_0x2590f1=_0xe97c3f['side'](_0x1d36d5,_0x3a0b05);if(_0x5abf7a==_0x2590f1){let _0x2da052=_0x34a329+=_0x1d36d5?0x1:-0x1;if(_0x2da052<0x0||_0x2da052>=_0x3f6778['length'])return null;_0xe97c3f=_0x3f6778[_0x34a329=_0x2da052],_0x5abf7a=_0xe97c3f['side'](!_0x1d36d5,_0x3a0b05),_0x2590f1=_0xe97c3f['side'](_0x1d36d5,_0x3a0b05);}let _0x33f82b=findClusterBreak(_0x56cd3f['text'],_0x5abf7a,_0xe97c3f['forward'](_0x1d36d5,_0x3a0b05));(_0x33f82b<_0xe97c3f['from']||_0x33f82b>_0xe97c3f['to'])&&(_0x33f82b=_0x2590f1),_0x53fc6e=_0x56cd3f['text']['slice'](Math['min'](_0x5abf7a,_0x33f82b),Math['max'](_0x5abf7a,_0x33f82b));let _0x4eed32=_0x34a329==(_0x1d36d5?_0x3f6778['length']-0x1:0x0)?null:_0x3f6778[_0x34a329+(_0x1d36d5?0x1:-0x1)];return _0x4eed32&&_0x33f82b==_0x2590f1&&_0x4eed32['level']+(_0x1d36d5?0x0:0x1)<_0xe97c3f['level']?EditorSelection['cursor'](_0x4eed32['side'](!_0x1d36d5,_0x3a0b05)+_0x56cd3f['from'],_0x4eed32['forward'](_0x1d36d5,_0x3a0b05)?0x1:-0x1,_0x4eed32['level']):EditorSelection['cursor'](_0x33f82b+_0x56cd3f['from'],_0xe97c3f['forward'](_0x1d36d5,_0x3a0b05)?-0x1:0x1,_0xe97c3f['level']);}function autoDirection(_0x12cf9a,_0xd06a12,_0x35e282){for(let _0x20ae7b=_0xd06a12;_0x20ae7b<_0x35e282;_0x20ae7b++){let _0x5ea454=_0x286fd9(_0x12cf9a['charCodeAt'](_0x20ae7b));if(0x1==_0x5ea454)return _0x43feaa;if(0x2==_0x5ea454||0x4==_0x5ea454)return _0x5abab6;}return _0x43feaa;}const clickAddsSelectionRange=Facet['define'](),dragMovesSelection$1=Facet['define'](),mouseSelectionStyle=Facet['define'](),exceptionSink=Facet['define'](),updateListener=Facet['define'](),inputHandler$1=Facet['define'](),focusChangeEffect=Facet['define'](),clipboardInputFilter=Facet['define'](),clipboardOutputFilter=Facet['define'](),perLineTextDirection=Facet['define']({'combine':_0x2d4bbb=>_0x2d4bbb['some'](_0xc2f08=>_0xc2f08)}),nativeSelectionHidden=Facet['define']({'combine':_0x4e29a5=>_0x4e29a5['some'](_0x3a7f30=>_0x3a7f30)}),_0x33c578=Facet['define']();class ScrollTarget{constructor(_0x423026,_0x4c4ba3='nearest',_0x619179='nearest',_0x505694=0x5,_0x53d5bc=0x5,_0xaa8fcd=!0x1){this['range']=_0x423026,this['y']=_0x4c4ba3,this['x']=_0x619179,this['yMargin']=_0x505694,this['xMargin']=_0x53d5bc,this['isSnapshot']=_0xaa8fcd;}['map'](_0x332b87){return _0x332b87['empty']?this:new ScrollTarget(this['range']['map'](_0x332b87),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x2709ef){return this['range']['to']<=_0x2709ef['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x2709ef['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const scrollIntoView$1=StateEffect['define']({'map':(t,_0x4022f5)=>t['map'](_0x4022f5)}),setEditContextFormatting=StateEffect['define']();function logException(_0x440ca1,_0x4dd5fb,_0x56b45d){let _0x4a9b44=_0x440ca1['facet'](exceptionSink);_0x4a9b44['length']?_0x4a9b44[0x0](_0x4dd5fb):window['onerror']&&window['onerror'](String(_0x4dd5fb),_0x56b45d,void 0x0,void 0x0,_0x4dd5fb)||(_0x56b45d?console['error'](_0x56b45d+':',_0x4dd5fb):console['error'](_0x4dd5fb));}const editable=Facet['define']({'combine':_0x2dadf1=>!_0x2dadf1['length']||_0x2dadf1[0x0]});let nextPluginID=0x0;const _0x50c7db=Facet['define']({'combine':_0x51a703=>_0x51a703['filter']((_0x71206e,_0x136ce4)=>{for(let _0x4e8238=0x0;_0x4e8238<_0x136ce4;_0x4e8238++)if(_0x51a703[_0x4e8238]['plugin']==_0x71206e['plugin'])return!0x1;return!0x0;})});class _0x2e3bc0{constructor(_0x13d102,_0x5e9241,_0x5353a5,_0x47a011,_0x3be100){this['id']=_0x13d102,this['create']=_0x5e9241,this['domEventHandlers']=_0x5353a5,this['domEventObservers']=_0x47a011,this['baseExtensions']=_0x3be100(this),this['extension']=this['baseExtensions']['concat'](_0x50c7db['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x4b3e51){return this['baseExtensions']['concat'](_0x50c7db['of']({'plugin':this,'arg':_0x4b3e51}));}static['define'](_0x35cce0,_0xa0b7c4){const {eventHandlers:_0xb1f8b4,eventObservers:_0x3854bf,provide:_0x28c394,decorations:_0x3a7be0}=_0xa0b7c4||{};return new _0x2e3bc0(nextPluginID++,_0x35cce0,_0xb1f8b4,_0x3854bf,_0x4330ae=>{let _0x2a3c56=[];return _0x3a7be0&&_0x2a3c56['push'](decorations['of'](_0x45a25a=>{let _0x5f35b9=_0x45a25a['plugin'](_0x4330ae);return _0x5f35b9?_0x3a7be0(_0x5f35b9):Decoration['none'];})),_0x28c394&&_0x2a3c56['push'](_0x28c394(_0x4330ae)),_0x2a3c56;});}static['fromClass'](_0x588d4e,_0x1027d1){return _0x2e3bc0['define']((_0x5cd237,_0x532e8e)=>new _0x588d4e(_0x5cd237,_0x532e8e),_0x1027d1);}}class PluginInstance{constructor(_0x36409e){this['spec']=_0x36409e,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x428c87){if(this['value']){if(this['mustUpdate']){let _0xac1eb1=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0xac1eb1);}catch(_0x1d7609){if(logException(_0xac1eb1['state'],_0x1d7609,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x549c09){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x428c87,this['spec']['arg']);}catch(_0xeadd52){logException(_0x428c87['state'],_0xeadd52,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x4da0f0){var _0xc76710;if(null===(_0xc76710=this['value'])||void 0x0===_0xc76710?void 0x0:_0xc76710['destroy'])try{this['value']['destroy']();}catch(_0x5cc001){logException(_0x4da0f0['state'],_0x5cc001,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const editorAttributes=Facet['define'](),contentAttributes=Facet['define'](),decorations=Facet['define'](),outerDecorations=Facet['define'](),atomicRanges=Facet['define'](),bidiIsolatedRanges=Facet['define']();function getIsolatedRanges(_0x3d821d,_0x19e955){let _0x146467=_0x3d821d['state']['facet'](bidiIsolatedRanges);if(!_0x146467['length'])return _0x146467;let _0x50acf2=_0x146467['map'](_0x4c78be=>_0x4c78be instanceof Function?_0x4c78be(_0x3d821d):_0x4c78be),_0x4176ba=[];return RangeSet['spans'](_0x50acf2,_0x19e955['from'],_0x19e955['to'],{'point'(){},'span'(_0x552c94,_0x15700c,_0x226e2c,_0x350f5e){let _0x3a566b=_0x552c94-_0x19e955['from'],_0x12aa9e=_0x15700c-_0x19e955['from'],_0x525ec5=_0x4176ba;for(let _0x118d49=_0x226e2c['length']-0x1;_0x118d49>=0x0;_0x118d49--,_0x350f5e--){let _0x17199d,_0x17c963=_0x226e2c[_0x118d49]['spec']['bidiIsolate'];if(null==_0x17c963&&(_0x17c963=autoDirection(_0x19e955['text'],_0x3a566b,_0x12aa9e)),_0x350f5e>0x0&&_0x525ec5['length']&&(_0x17199d=_0x525ec5[_0x525ec5['length']-0x1])['to']==_0x3a566b&&_0x17199d['direction']==_0x17c963)_0x17199d['to']=_0x12aa9e,_0x525ec5=_0x17199d['inner'];else{let _0x40fedd={'from':_0x3a566b,'to':_0x12aa9e,'direction':_0x17c963,'inner':[]};_0x525ec5['push'](_0x40fedd),_0x525ec5=_0x40fedd['inner'];}}}}),_0x4176ba;}const _0x2a9439=Facet['define']();function getScrollMargins(_0x1fa87a){let _0x2d3fa4=0x0,_0x4b2bbb=0x0,_0x4b0ecf=0x0,_0x3f8d7f=0x0;for(let _0x4c35d5 of _0x1fa87a['state']['facet'](_0x2a9439)){let _0x36a5f2=_0x4c35d5(_0x1fa87a);_0x36a5f2&&(null!=_0x36a5f2['left']&&(_0x2d3fa4=Math['max'](_0x2d3fa4,_0x36a5f2['left'])),null!=_0x36a5f2['right']&&(_0x4b2bbb=Math['max'](_0x4b2bbb,_0x36a5f2['right'])),null!=_0x36a5f2['top']&&(_0x4b0ecf=Math['max'](_0x4b0ecf,_0x36a5f2['top'])),null!=_0x36a5f2['bottom']&&(_0x3f8d7f=Math['max'](_0x3f8d7f,_0x36a5f2['bottom'])));}return{'left':_0x2d3fa4,'right':_0x4b2bbb,'top':_0x4b0ecf,'bottom':_0x3f8d7f};}const styleModule=Facet['define']();class _0xe57fb0{constructor(_0x2cbccf,_0x510a01,_0xf17261,_0x27d3cb){this['fromA']=_0x2cbccf,this['toA']=_0x510a01,this['fromB']=_0xf17261,this['toB']=_0x27d3cb;}['join'](_0xedd17b){return new _0xe57fb0(Math['min'](this['fromA'],_0xedd17b['fromA']),Math['max'](this['toA'],_0xedd17b['toA']),Math['min'](this['fromB'],_0xedd17b['fromB']),Math['max'](this['toB'],_0xedd17b['toB']));}['addToSet'](_0x4aebd4){let _0x18f022=_0x4aebd4['length'],_0x2feff3=this;for(;_0x18f022>0x0;_0x18f022--){let _0x1df90b=_0x4aebd4[_0x18f022-0x1];if(!(_0x1df90b['fromA']>_0x2feff3['toA'])){if(_0x1df90b['toA']<_0x2feff3['fromA'])break;_0x2feff3=_0x2feff3['join'](_0x1df90b),_0x4aebd4['splice'](_0x18f022-0x1,0x1);}}return _0x4aebd4['splice'](_0x18f022,0x0,_0x2feff3),_0x4aebd4;}static['extendWithRanges'](_0x4bf9db,_0x41de77){if(0x0==_0x41de77['length'])return _0x4bf9db;let _0x272157=[];for(let _0x44aa59=0x0,_0x4bcc9d=0x0,_0x2bbc46=0x0,_0x2668eb=0x0;;_0x44aa59++){let _0x135dbf=_0x44aa59==_0x4bf9db['length']?null:_0x4bf9db[_0x44aa59],_0x19db7b=_0x2bbc46-_0x2668eb,_0xa07284=_0x135dbf?_0x135dbf['fromB']:0x3b9aca00;for(;_0x4bcc9d<_0x41de77['length']&&_0x41de77[_0x4bcc9d]<_0xa07284;){let _0x4662f8=_0x41de77[_0x4bcc9d],_0x30c9c4=_0x41de77[_0x4bcc9d+0x1],_0x1de338=Math['max'](_0x2668eb,_0x4662f8),_0x7bed36=Math['min'](_0xa07284,_0x30c9c4);if(_0x1de338<=_0x7bed36&&new _0xe57fb0(_0x1de338+_0x19db7b,_0x7bed36+_0x19db7b,_0x1de338,_0x7bed36)['addToSet'](_0x272157),_0x30c9c4>_0xa07284)break;_0x4bcc9d+=0x2;}if(!_0x135dbf)return _0x272157;new _0xe57fb0(_0x135dbf['fromA'],_0x135dbf['toA'],_0x135dbf['fromB'],_0x135dbf['toB'])['addToSet'](_0x272157),_0x2bbc46=_0x135dbf['toA'],_0x2668eb=_0x135dbf['toB'];}}}class ViewUpdate{constructor(_0x505f6e,_0x81fc3c,_0x391c7e){this['view']=_0x505f6e,this['state']=_0x81fc3c,this['transactions']=_0x391c7e,this['flags']=0x0,this['startState']=_0x505f6e['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x1331b1 of _0x391c7e)this['changes']=this['changes']['compose'](_0x1331b1['changes']);let _0x20317b=[];this['changes']['iterChangedRanges']((_0x4791c7,_0x502e19,_0x1f7da3,_0x16e7fd)=>_0x20317b['push'](new _0xe57fb0(_0x4791c7,_0x502e19,_0x1f7da3,_0x16e7fd))),this['changedRanges']=_0x20317b;}static['create'](_0x496121,_0x33052a,_0x387f36){return new ViewUpdate(_0x496121,_0x33052a,_0x387f36);}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'](_0x5d884d=>_0x5d884d['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x5d38d6 extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x3562aa){super(),this['view']=_0x3562aa,this['decorations']=[],this['dynamicDecorationMap']=[!0x1],this['domChanged']=null,this['hasComposition']=null,this['markedForComposition']=new Set(),this['editContextFormatting']=Decoration['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['setDOM'](_0x3562aa['contentDOM']),this['children']=[new _0x5e4138()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0xe57fb0(0x0,0x0,0x0,_0x3562aa['state']['doc']['length'])],0x0,null);}['update'](_0x374213){var _0x11453a;let _0x518353=_0x374213['changedRanges'];this['minWidth']>0x0&&_0x518353['length']&&(_0x518353['every'](({fromA:_0x2ced66,toA:_0x124a3a})=>_0x124a3a<this['minWidthFrom']||_0x2ced66>this['minWidthTo'])?(this['minWidthFrom']=_0x374213['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x374213['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x374213);let _0x3f3cd5=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x11453a=this['domChanged'])||void 0x0===_0x11453a?void 0x0:_0x11453a['newSel'])?_0x3f3cd5=this['domChanged']['newSel']['head']:touchesComposition(_0x374213['changes'],this['hasComposition'])||_0x374213['selectionSet']||(_0x3f3cd5=_0x374213['state']['selection']['main']['head']));let _0xe80fe2=_0x3f3cd5>-0x1?findCompositionRange(this['view'],_0x374213['changes'],_0x3f3cd5):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x57e4ad,to:_0x18f7c4}=this['hasComposition'];_0x518353=new _0xe57fb0(_0x57e4ad,_0x18f7c4,_0x374213['changes']['mapPos'](_0x57e4ad,-0x1),_0x374213['changes']['mapPos'](_0x18f7c4,0x1))['addToSet'](_0x518353['slice']());}this['hasComposition']=_0xe80fe2?{'from':_0xe80fe2['range']['fromB'],'to':_0xe80fe2['range']['toB']}:null,(_0x54ee61['ie']||_0x54ee61['chrome'])&&!_0xe80fe2&&_0x374213&&_0x374213['state']['doc']['lines']!=_0x374213['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x77c167=_0xf14a08(this['decorations'],this['updateDeco'](),_0x374213['changes']);return _0x518353=_0xe57fb0['extendWithRanges'](_0x518353,_0x77c167),!!(0x7&this['flags']||0x0!=_0x518353['length'])&&(this['updateInner'](_0x518353,_0x374213['startState']['doc']['length'],_0xe80fe2),_0x374213['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x507ed3,_0x1ff979,_0x25fd6d){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x507ed3,_0x1ff979,_0x25fd6d);let {observer:_0x2132ea}=this['view'];_0x2132ea['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x21322c=_0x54ee61['chrome']||_0x54ee61['ios']?{'node':_0x2132ea['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x21322c),this['flags']&=-0x8,_0x21322c&&(_0x21322c['written']||_0x2132ea['selectionRange']['focusNode']!=_0x21322c['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x3ce737=>_0x3ce737['flags']&=-0x9);let _0x36f92c=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x34bd75 of this['children'])_0x34bd75 instanceof BlockWidgetView&&_0x34bd75['widget']instanceof BlockGapWidget&&_0x36f92c['push'](_0x34bd75['dom']);}_0x2132ea['updateGaps'](_0x36f92c);}['updateChildren'](_0x3ac9b3,_0x2822a1,_0x3d3815){let _0x5c3042=_0x3d3815?_0x3d3815['range']['addToSet'](_0x3ac9b3['slice']()):_0x3ac9b3,_0x554e24=this['childCursor'](_0x2822a1);for(let _0x40873c=_0x5c3042['length']-0x1;;_0x40873c--){let _0x11f842=_0x40873c>=0x0?_0x5c3042[_0x40873c]:null;if(!_0x11f842)break;let _0x2e3ea0,_0x2f6bde,_0x5c00c4,_0x44da15,{fromA:_0x28b445,toA:_0x46cea8,fromB:_0x52a791,toB:_0x59c009}=_0x11f842;if(_0x3d3815&&_0x3d3815['range']['fromB']<_0x59c009&&_0x3d3815['range']['toB']>_0x52a791){let _0x2b5f5d=ContentBuilder['build'](this['view']['state']['doc'],_0x52a791,_0x3d3815['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x5ef9fa=ContentBuilder['build'](this['view']['state']['doc'],_0x3d3815['range']['toB'],_0x59c009,this['decorations'],this['dynamicDecorationMap']);_0x2f6bde=_0x2b5f5d['breakAtStart'],_0x5c00c4=_0x2b5f5d['openStart'],_0x44da15=_0x5ef9fa['openEnd'];let _0xd36c7=this['compositionView'](_0x3d3815);_0x5ef9fa['breakAtStart']?_0xd36c7['breakAfter']=0x1:_0x5ef9fa['content']['length']&&_0xd36c7['merge'](_0xd36c7['length'],_0xd36c7['length'],_0x5ef9fa['content'][0x0],!0x1,_0x5ef9fa['openStart'],0x0)&&(_0xd36c7['breakAfter']=_0x5ef9fa['content'][0x0]['breakAfter'],_0x5ef9fa['content']['shift']()),_0x2b5f5d['content']['length']&&_0xd36c7['merge'](0x0,0x0,_0x2b5f5d['content'][_0x2b5f5d['content']['length']-0x1],!0x0,0x0,_0x2b5f5d['openEnd'])&&_0x2b5f5d['content']['pop'](),_0x2e3ea0=_0x2b5f5d['content']['concat'](_0xd36c7)['concat'](_0x5ef9fa['content']);}else({content:_0x2e3ea0,breakAtStart:_0x2f6bde,openStart:_0x5c00c4,openEnd:_0x44da15}=ContentBuilder['build'](this['view']['state']['doc'],_0x52a791,_0x59c009,this['decorations'],this['dynamicDecorationMap']));let {i:_0x401257,off:_0x2e791d}=_0x554e24['findPos'](_0x46cea8,0x1),{i:_0x434ead,off:_0x561709}=_0x554e24['findPos'](_0x28b445,-0x1);_0x2abfbf(this,_0x434ead,_0x561709,_0x401257,_0x2e791d,_0x2e3ea0,_0x2f6bde,_0x5c00c4,_0x44da15);}_0x3d3815&&this['fixCompositionDOM'](_0x3d3815);}['updateEditContextFormatting'](_0x74c162){this['editContextFormatting']=this['editContextFormatting']['map'](_0x74c162['changes']);for(let _0x55cbcf of _0x74c162['transactions'])for(let _0x1db351 of _0x55cbcf['effects'])_0x1db351['is'](setEditContextFormatting)&&(this['editContextFormatting']=_0x1db351['value']);}['compositionView'](_0x302ae2){let _0x3dbb3e=new TextView(_0x302ae2['text']['nodeValue']);_0x3dbb3e['flags']|=0x8;for(let {deco:_0x55e697}of _0x302ae2['marks'])_0x3dbb3e=new _0x404896(_0x55e697,[_0x3dbb3e],_0x3dbb3e['length']);let _0x32980f=new _0x5e4138();return _0x32980f['append'](_0x3dbb3e,0x0),_0x32980f;}['fixCompositionDOM'](_0x1eff84){let _0x3c1a2d=(_0x12b71a,_0x3a5642)=>{_0x3a5642['flags']|=0x8|(_0x3a5642['children']['some'](_0x1840c6=>0x7&_0x1840c6['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x3a5642);let _0x4fd9f7=ContentView['get'](_0x12b71a);_0x4fd9f7&&_0x4fd9f7!=_0x3a5642&&(_0x4fd9f7['dom']=null),_0x3a5642['setDOM'](_0x12b71a);},_0x227187=this['childPos'](_0x1eff84['range']['fromB'],0x1),_0x4aceed=this['children'][_0x227187['i']];_0x3c1a2d(_0x1eff84['line'],_0x4aceed);for(let _0x141eec=_0x1eff84['marks']['length']-0x1;_0x141eec>=-0x1;_0x141eec--)_0x227187=_0x4aceed['childPos'](_0x227187['off'],0x1),_0x4aceed=_0x4aceed['children'][_0x227187['i']],_0x3c1a2d(_0x141eec>=0x0?_0x1eff84['marks'][_0x141eec]['node']:_0x1eff84['text'],_0x4aceed);}['updateSelection'](_0x479ac0=!0x1,_0x3aff24=!0x1){!_0x479ac0&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x5de827=this['view']['root']['activeElement'],_0x362961=_0x5de827==this['dom'],_0x448bcf=!_0x362961&&!(this['view']['state']['facet'](editable)||this['dom']['tabIndex']>-0x1)&&hasSelection(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x5de827&&this['dom']['contains'](_0x5de827));if(!(_0x362961||_0x3aff24||_0x448bcf))return;let _0x3e2a46=this['forceSelection'];this['forceSelection']=!0x1;let _0x48e346=this['view']['state']['selection']['main'],_0x3b8fdb=this['moveToLine'](this['domAtPos'](_0x48e346['anchor'])),_0x3d45a3=_0x48e346['empty']?_0x3b8fdb:this['moveToLine'](this['domAtPos'](_0x48e346['head']));if(_0x54ee61['gecko']&&_0x48e346['empty']&&!this['hasComposition']&&betweenUneditable(_0x3b8fdb)){let _0xbe8ef2=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x3b8fdb['node']['insertBefore'](_0xbe8ef2,_0x3b8fdb['node']['childNodes'][_0x3b8fdb['offset']]||null)),_0x3b8fdb=_0x3d45a3=new _0x2c342f(_0xbe8ef2,0x0),_0x3e2a46=!0x0;}let _0x2add50=this['view']['observer']['selectionRange'];!_0x3e2a46&&_0x2add50['focusNode']&&(isEquivalentPosition(_0x3b8fdb['node'],_0x3b8fdb['offset'],_0x2add50['anchorNode'],_0x2add50['anchorOffset'])&&isEquivalentPosition(_0x3d45a3['node'],_0x3d45a3['offset'],_0x2add50['focusNode'],_0x2add50['focusOffset'])||this['suppressWidgetCursorChange'](_0x2add50,_0x48e346))||(this['view']['observer']['ignore'](()=>{_0x54ee61['android']&&_0x54ee61['chrome']&&this['dom']['contains'](_0x2add50['focusNode'])&&inUneditable(_0x2add50['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x2c8cc2=getSelection(this['view']['root']);if(_0x2c8cc2){if(_0x48e346['empty']){if(_0x54ee61['gecko']){let _0x487466=nextToUneditable(_0x3b8fdb['node'],_0x3b8fdb['offset']);if(_0x487466&&0x3!=_0x487466){let _0x116ce3=(0x1==_0x487466?textNodeBefore:textNodeAfter)(_0x3b8fdb['node'],_0x3b8fdb['offset']);_0x116ce3&&(_0x3b8fdb=new _0x2c342f(_0x116ce3['node'],_0x116ce3['offset']));}}_0x2c8cc2['collapse'](_0x3b8fdb['node'],_0x3b8fdb['offset']),null!=_0x48e346['bidiLevel']&&void 0x0!==_0x2c8cc2['caretBidiLevel']&&(_0x2c8cc2['caretBidiLevel']=_0x48e346['bidiLevel']);}else{if(_0x2c8cc2['extend']){_0x2c8cc2['collapse'](_0x3b8fdb['node'],_0x3b8fdb['offset']);try{_0x2c8cc2['extend'](_0x3d45a3['node'],_0x3d45a3['offset']);}catch(_0x2552a2){}}else{let _0x1c3cff=document['createRange']();_0x48e346['anchor']>_0x48e346['head']&&([_0x3b8fdb,_0x3d45a3]=[_0x3d45a3,_0x3b8fdb]),_0x1c3cff['setEnd'](_0x3d45a3['node'],_0x3d45a3['offset']),_0x1c3cff['setStart'](_0x3b8fdb['node'],_0x3b8fdb['offset']),_0x2c8cc2['removeAllRanges'](),_0x2c8cc2['addRange'](_0x1c3cff);}}}else;_0x448bcf&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x5de827&&_0x5de827['focus']());}),this['view']['observer']['setSelectionRange'](_0x3b8fdb,_0x3d45a3)),this['impreciseAnchor']=_0x3b8fdb['precise']?null:new _0x2c342f(_0x2add50['anchorNode'],_0x2add50['anchorOffset']),this['impreciseHead']=_0x3d45a3['precise']?null:new _0x2c342f(_0x2add50['focusNode'],_0x2add50['focusOffset']);}['suppressWidgetCursorChange'](_0x3ad897,_0x524c52){return this['hasComposition']&&_0x524c52['empty']&&isEquivalentPosition(_0x3ad897['focusNode'],_0x3ad897['focusOffset'],_0x3ad897['anchorNode'],_0x3ad897['anchorOffset'])&&this['posFromDOM'](_0x3ad897['focusNode'],_0x3ad897['focusOffset'])==_0x524c52['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x2f16d2}=this,_0x44e837=_0x2f16d2['state']['selection']['main'],_0x1aa8ea=getSelection(_0x2f16d2['root']),{anchorNode:_0x57864d,anchorOffset:_0x5285d9}=_0x2f16d2['observer']['selectionRange'];if(!(_0x1aa8ea&&_0x44e837['empty']&&_0x44e837['assoc']&&_0x1aa8ea['modify']))return;let _0x40c776=_0x5e4138['find'](this,_0x44e837['head']);if(!_0x40c776)return;let _0x11174d=_0x40c776['posAtStart'];if(_0x44e837['head']==_0x11174d||_0x44e837['head']==_0x11174d+_0x40c776['length'])return;let _0x21cd04=this['coordsAt'](_0x44e837['head'],-0x1),_0x267283=this['coordsAt'](_0x44e837['head'],0x1);if(!_0x21cd04||!_0x267283||_0x21cd04['bottom']>_0x267283['top'])return;let _0x450d95=this['domAtPos'](_0x44e837['head']+_0x44e837['assoc']);_0x1aa8ea['collapse'](_0x450d95['node'],_0x450d95['offset']),_0x1aa8ea['modify']('move',_0x44e837['assoc']<0x0?'forward':'backward','lineboundary'),_0x2f16d2['observer']['readSelectionRange']();let _0x1db88a=_0x2f16d2['observer']['selectionRange'];_0x2f16d2['docView']['posFromDOM'](_0x1db88a['anchorNode'],_0x1db88a['anchorOffset'])!=_0x44e837['from']&&_0x1aa8ea['collapse'](_0x57864d,_0x5285d9);}['moveToLine'](_0x5ea573){let _0x439133,_0x32194e=this['dom'];if(_0x5ea573['node']!=_0x32194e)return _0x5ea573;for(let _0x513346=_0x5ea573['offset'];!_0x439133&&_0x513346<_0x32194e['childNodes']['length'];_0x513346++){let _0x31cbb5=ContentView['get'](_0x32194e['childNodes'][_0x513346]);_0x31cbb5 instanceof _0x5e4138&&(_0x439133=_0x31cbb5['domAtPos'](0x0));}for(let _0x3f65c5=_0x5ea573['offset']-0x1;!_0x439133&&_0x3f65c5>=0x0;_0x3f65c5--){let _0x12e65d=ContentView['get'](_0x32194e['childNodes'][_0x3f65c5]);_0x12e65d instanceof _0x5e4138&&(_0x439133=_0x12e65d['domAtPos'](_0x12e65d['length']));}return _0x439133?new _0x2c342f(_0x439133['node'],_0x439133['offset'],!0x0):_0x5ea573;}['nearest'](_0x1f63b3){for(let _0x29a59f=_0x1f63b3;_0x29a59f;){let _0x22dd76=ContentView['get'](_0x29a59f);if(_0x22dd76&&_0x22dd76['rootView']==this)return _0x22dd76;_0x29a59f=_0x29a59f['parentNode'];}return null;}['posFromDOM'](_0x367355,_0x5063d1){let _0x331539=this['nearest'](_0x367355);if(!_0x331539)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x331539['localPosFromDOM'](_0x367355,_0x5063d1)+_0x331539['posAtStart'];}['domAtPos'](_0x645ffd){let {i:_0x1b4407,off:_0x5cb0eb}=this['childCursor']()['findPos'](_0x645ffd,-0x1);for(;_0x1b4407<this['children']['length']-0x1;){let _0x308fe3=this['children'][_0x1b4407];if(_0x5cb0eb<_0x308fe3['length']||_0x308fe3 instanceof _0x5e4138)break;_0x1b4407++,_0x5cb0eb=0x0;}return this['children'][_0x1b4407]['domAtPos'](_0x5cb0eb);}['coordsAt'](_0x4b92b7,_0x4ba0a1){let _0x3021f8=null,_0x45f55a=0x0;for(let _0x4bc42a=this['length'],_0x5b5e43=this['children']['length']-0x1;_0x5b5e43>=0x0;_0x5b5e43--){let _0x10c66a=this['children'][_0x5b5e43],_0x5b3277=_0x4bc42a-_0x10c66a['breakAfter'],_0x5dee21=_0x5b3277-_0x10c66a['length'];if(_0x5b3277<_0x4b92b7)break;if(_0x5dee21<=_0x4b92b7&&(_0x5dee21<_0x4b92b7||_0x10c66a['covers'](-0x1))&&(_0x5b3277>_0x4b92b7||_0x10c66a['covers'](0x1))&&(!_0x3021f8||_0x10c66a instanceof _0x5e4138&&!(_0x3021f8 instanceof _0x5e4138&&_0x4ba0a1>=0x0)))_0x3021f8=_0x10c66a,_0x45f55a=_0x5dee21;else{if(_0x3021f8&&_0x5dee21==_0x4b92b7&&_0x5b3277==_0x4b92b7&&_0x10c66a instanceof BlockWidgetView&&Math['abs'](_0x4ba0a1)<0x2){if(_0x10c66a['deco']['startSide']<0x0)break;_0x5b5e43&&(_0x3021f8=null);}}_0x4bc42a=_0x5dee21;}return _0x3021f8?_0x3021f8['coordsAt'](_0x4b92b7-_0x45f55a,_0x4ba0a1):null;}['coordsForChar'](_0x4fbfc6){let {i:_0x5e0116,off:_0x503dfd}=this['childPos'](_0x4fbfc6,0x1),_0x36e4df=this['children'][_0x5e0116];if(!(_0x36e4df instanceof _0x5e4138))return null;for(;_0x36e4df['children']['length'];){let {i:_0x2f5a83,off:_0x551122}=_0x36e4df['childPos'](_0x503dfd,0x1);for(;;_0x2f5a83++){if(_0x2f5a83==_0x36e4df['children']['length'])return null;if((_0x36e4df=_0x36e4df['children'][_0x2f5a83])['length'])break;}_0x503dfd=_0x551122;}if(!(_0x36e4df instanceof TextView))return null;let _0x20b48a=findClusterBreak(_0x36e4df['text'],_0x503dfd);if(_0x20b48a==_0x503dfd)return null;let _0x32071a=textRange(_0x36e4df['dom'],_0x503dfd,_0x20b48a)['getClientRects']();for(let _0x38d921=0x0;_0x38d921<_0x32071a['length'];_0x38d921++){let _0x56fe85=_0x32071a[_0x38d921];if(_0x38d921==_0x32071a['length']-0x1||_0x56fe85['top']<_0x56fe85['bottom']&&_0x56fe85['left']<_0x56fe85['right'])return _0x56fe85;}return null;}['measureVisibleLineHeights'](_0x207904){let _0x144b69=[],{from:_0x417ac8,to:_0x5849e5}=_0x207904,_0x5e9764=this['view']['contentDOM']['clientWidth'],_0x12de83=_0x5e9764>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x56be2d=-0x1,_0xe4e9e6=this['view']['textDirection']==Direction['LTR'];for(let _0x237fb2=0x0,_0x5ee3b9=0x0;_0x5ee3b9<this['children']['length'];_0x5ee3b9++){let _0x5f08f3=this['children'][_0x5ee3b9],_0x3b6eab=_0x237fb2+_0x5f08f3['length'];if(_0x3b6eab>_0x5849e5)break;if(_0x237fb2>=_0x417ac8){let _0x569a6b=_0x5f08f3['dom']['getBoundingClientRect']();if(_0x144b69['push'](_0x569a6b['height']),_0x12de83){let _0x433323=_0x5f08f3['dom']['lastChild'],_0x55d45b=_0x433323?clientRectsFor(_0x433323):[];if(_0x55d45b['length']){let _0x32b8ba=_0x55d45b[_0x55d45b['length']-0x1],_0xde618c=_0xe4e9e6?_0x32b8ba['right']-_0x569a6b['left']:_0x569a6b['right']-_0x32b8ba['left'];_0xde618c>_0x56be2d&&(_0x56be2d=_0xde618c,this['minWidth']=_0x5e9764,this['minWidthFrom']=_0x237fb2,this['minWidthTo']=_0x3b6eab);}}}_0x237fb2=_0x3b6eab+_0x5f08f3['breakAfter'];}return _0x144b69;}['textDirectionAt'](_0x4b7461){let {i:_0x2957f7}=this['childPos'](_0x4b7461,0x1);return'rtl'==getComputedStyle(this['children'][_0x2957f7]['dom'])['direction']?Direction['RTL']:Direction['LTR'];}['measureTextSize'](){for(let _0x5ed01f of this['children'])if(_0x5ed01f instanceof _0x5e4138){let _0x11468a=_0x5ed01f['measureTextSize']();if(_0x11468a)return _0x11468a;}let _0x14d24f,_0x55c00d,_0x1c74f1,_0x422b69=document['createElement']('div');return _0x422b69['className']='cm-line',_0x422b69['style']['width']='99999px',_0x422b69['style']['position']='absolute',_0x422b69['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x422b69);let _0x7ed5d7=clientRectsFor(_0x422b69['firstChild'])[0x0];_0x14d24f=_0x422b69['getBoundingClientRect']()['height'],_0x55c00d=_0x7ed5d7?_0x7ed5d7['width']/0x1b:0x7,_0x1c74f1=_0x7ed5d7?_0x7ed5d7['height']:_0x14d24f,_0x422b69['remove']();}),{'lineHeight':_0x14d24f,'charWidth':_0x55c00d,'textHeight':_0x1c74f1};}['childCursor'](_0x504b81=this['length']){let _0x388744=this['children']['length'];return _0x388744&&(_0x504b81-=this['children'][--_0x388744]['length']),new _0x2de854(this['children'],_0x504b81,_0x388744);}['computeBlockGapDeco'](){let _0x4cc774=[],_0x1e4724=this['view']['viewState'];for(let _0x28d8c1=0x0,_0xee1520=0x0;;_0xee1520++){let _0x1f4c74=_0xee1520==_0x1e4724['viewports']['length']?null:_0x1e4724['viewports'][_0xee1520],_0x18cbb1=_0x1f4c74?_0x1f4c74['from']-0x1:this['length'];if(_0x18cbb1>_0x28d8c1){let _0x1ac062=(_0x1e4724['lineBlockAt'](_0x18cbb1)['bottom']-_0x1e4724['lineBlockAt'](_0x28d8c1)['top'])/this['view']['scaleY'];_0x4cc774['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x1ac062),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x28d8c1,_0x18cbb1));}if(!_0x1f4c74)break;_0x28d8c1=_0x1f4c74['to']+0x1;}return Decoration['set'](_0x4cc774);}['updateDeco'](){let _0x5d403a=0x1,_0x553bf4=this['view']['state']['facet'](decorations)['map'](_0x5a9aad=>(this['dynamicDecorationMap'][_0x5d403a++]='function'==typeof _0x5a9aad)?_0x5a9aad(this['view']):_0x5a9aad),_0x16c48b=!0x1,_0x16b0da=this['view']['state']['facet'](outerDecorations)['map']((_0x48c751,_0x4defab)=>{let _0x1252ea='function'==typeof _0x48c751;return _0x1252ea&&(_0x16c48b=!0x0),_0x1252ea?_0x48c751(this['view']):_0x48c751;});for(_0x16b0da['length']&&(this['dynamicDecorationMap'][_0x5d403a++]=_0x16c48b,_0x553bf4['push'](RangeSet['join'](_0x16b0da))),this['decorations']=[this['editContextFormatting'],..._0x553bf4,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x5d403a<this['decorations']['length'];)this['dynamicDecorationMap'][_0x5d403a++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x35736d){if(_0x35736d['isSnapshot']){let _0x43b2fd=this['view']['viewState']['lineBlockAt'](_0x35736d['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x43b2fd['top']-_0x35736d['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x35736d['xMargin']);}for(let _0x86452a of this['view']['state']['facet'](_0x33c578))try{if(_0x86452a(this['view'],_0x35736d['range'],_0x35736d))return!0x0;}catch(_0x2f91c2){logException(this['view']['state'],_0x2f91c2,'scroll\x20handler');}let _0x2fc66a,{range:_0x364115}=_0x35736d,_0x3e1196=this['coordsAt'](_0x364115['head'],_0x364115['empty']?_0x364115['assoc']:_0x364115['head']>_0x364115['anchor']?-0x1:0x1);if(!_0x3e1196)return;!_0x364115['empty']&&(_0x2fc66a=this['coordsAt'](_0x364115['anchor'],_0x364115['anchor']>_0x364115['head']?-0x1:0x1))&&(_0x3e1196={'left':Math['min'](_0x3e1196['left'],_0x2fc66a['left']),'top':Math['min'](_0x3e1196['top'],_0x2fc66a['top']),'right':Math['max'](_0x3e1196['right'],_0x2fc66a['right']),'bottom':Math['max'](_0x3e1196['bottom'],_0x2fc66a['bottom'])});let _0x54e9e2=getScrollMargins(this['view']),_0x57f496={'left':_0x3e1196['left']-_0x54e9e2['left'],'top':_0x3e1196['top']-_0x54e9e2['top'],'right':_0x3e1196['right']+_0x54e9e2['right'],'bottom':_0x3e1196['bottom']+_0x54e9e2['bottom']},{offsetWidth:_0x77a584,offsetHeight:_0x3efc6c}=this['view']['scrollDOM'];scrollRectIntoView(this['view']['scrollDOM'],_0x57f496,_0x364115['head']<_0x364115['anchor']?-0x1:0x1,_0x35736d['x'],_0x35736d['y'],Math['max'](Math['min'](_0x35736d['xMargin'],_0x77a584),-_0x77a584),Math['max'](Math['min'](_0x35736d['yMargin'],_0x3efc6c),-_0x3efc6c),this['view']['textDirection']==Direction['LTR']);}}function betweenUneditable(_0x281ca1){return 0x1==_0x281ca1['node']['nodeType']&&_0x281ca1['node']['firstChild']&&(0x0==_0x281ca1['offset']||'false'==_0x281ca1['node']['childNodes'][_0x281ca1['offset']-0x1]['contentEditable'])&&(_0x281ca1['offset']==_0x281ca1['node']['childNodes']['length']||'false'==_0x281ca1['node']['childNodes'][_0x281ca1['offset']]['contentEditable']);}function findCompositionNode(_0x47160b,_0x57570e){let _0x4cf47a=_0x47160b['observer']['selectionRange'];if(!_0x4cf47a['focusNode'])return null;let _0x25c08a=textNodeBefore(_0x4cf47a['focusNode'],_0x4cf47a['focusOffset']),_0x4a65ef=textNodeAfter(_0x4cf47a['focusNode'],_0x4cf47a['focusOffset']),_0x32450f=_0x25c08a||_0x4a65ef;if(_0x4a65ef&&_0x25c08a&&_0x4a65ef['node']!=_0x25c08a['node']){let _0x27531d=ContentView['get'](_0x4a65ef['node']);if(!_0x27531d||_0x27531d instanceof TextView&&_0x27531d['text']!=_0x4a65ef['node']['nodeValue'])_0x32450f=_0x4a65ef;else{if(_0x47160b['docView']['lastCompositionAfterCursor']){let _0x1aeb7f=ContentView['get'](_0x25c08a['node']);!_0x1aeb7f||_0x1aeb7f instanceof TextView&&_0x1aeb7f['text']!=_0x25c08a['node']['nodeValue']||(_0x32450f=_0x4a65ef);}}}if(_0x47160b['docView']['lastCompositionAfterCursor']=_0x32450f!=_0x25c08a,!_0x32450f)return null;let _0x36d27a=_0x57570e-_0x32450f['offset'];return{'from':_0x36d27a,'to':_0x36d27a+_0x32450f['node']['nodeValue']['length'],'node':_0x32450f['node']};}function findCompositionRange(_0x2f34d4,_0x3687fb,_0x361911){let _0x2de9bb=findCompositionNode(_0x2f34d4,_0x361911);if(!_0x2de9bb)return null;let {node:_0x139b03,from:_0x2b356b,to:_0x2c061b}=_0x2de9bb,_0x4b95f2=_0x139b03['nodeValue'];if(/[\n\r]/['test'](_0x4b95f2))return null;if(_0x2f34d4['state']['doc']['sliceString'](_0x2de9bb['from'],_0x2de9bb['to'])!=_0x4b95f2)return null;let _0x1ee804=_0x3687fb['invertedDesc'],_0x22c1c3=new _0xe57fb0(_0x1ee804['mapPos'](_0x2b356b),_0x1ee804['mapPos'](_0x2c061b),_0x2b356b,_0x2c061b),_0x131bb1=[];for(let _0x552f64=_0x139b03['parentNode'];;_0x552f64=_0x552f64['parentNode']){let _0x708d85=ContentView['get'](_0x552f64);if(_0x708d85 instanceof _0x404896)_0x131bb1['push']({'node':_0x552f64,'deco':_0x708d85['mark']});else{if(_0x708d85 instanceof _0x5e4138||'DIV'==_0x552f64['nodeName']&&_0x552f64['parentNode']==_0x2f34d4['contentDOM'])return{'range':_0x22c1c3,'text':_0x139b03,'marks':_0x131bb1,'line':_0x552f64};if(_0x552f64==_0x2f34d4['contentDOM'])return null;_0x131bb1['push']({'node':_0x552f64,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':getAttrs$1(_0x552f64),'tagName':_0x552f64['tagName']['toLowerCase']()})});}}}function nextToUneditable(_0xf75c8e,_0x1b86a9){return 0x1!=_0xf75c8e['nodeType']?0x0:(_0x1b86a9&&'false'==_0xf75c8e['childNodes'][_0x1b86a9-0x1]['contentEditable']?0x1:0x0)|(_0x1b86a9<_0xf75c8e['childNodes']['length']&&'false'==_0xf75c8e['childNodes'][_0x1b86a9]['contentEditable']?0x2:0x0);}let DecorationComparator$1=class{constructor(){this['changes']=[];}['compareRange'](_0x460827,_0x4925c0){_0x22d945(_0x460827,_0x4925c0,this['changes']);}['comparePoint'](_0x219034,_0x3d78b6){_0x22d945(_0x219034,_0x3d78b6,this['changes']);}['boundChange'](_0x334212){_0x22d945(_0x334212,_0x334212,this['changes']);}};function _0xf14a08(_0xf5dcc7,_0x528878,_0x2e95e6){let _0x33b101=new DecorationComparator$1();return RangeSet['compare'](_0xf5dcc7,_0x528878,_0x2e95e6,_0x33b101),_0x33b101['changes'];}function inUneditable(_0x1eb4b7,_0x2d69b0){for(let _0x2878d4=_0x1eb4b7;_0x2878d4&&_0x2878d4!=_0x2d69b0;_0x2878d4=_0x2878d4['assignedSlot']||_0x2878d4['parentNode'])if(0x1==_0x2878d4['nodeType']&&'false'==_0x2878d4['contentEditable'])return!0x0;return!0x1;}function touchesComposition(_0x58776b,_0x4f3055){let _0x240a05=!0x1;return _0x4f3055&&_0x58776b['iterChangedRanges']((_0x3b9581,_0x58bb56)=>{_0x3b9581<_0x4f3055['to']&&_0x58bb56>_0x4f3055['from']&&(_0x240a05=!0x0);}),_0x240a05;}function groupAt(_0x5544a6,_0x22c18d,_0x5da513=0x1){let _0x214c34=_0x5544a6['charCategorizer'](_0x22c18d),_0x164329=_0x5544a6['doc']['lineAt'](_0x22c18d),_0x22ab99=_0x22c18d-_0x164329['from'];if(0x0==_0x164329['length'])return EditorSelection['cursor'](_0x22c18d);0x0==_0x22ab99?_0x5da513=0x1:_0x22ab99==_0x164329['length']&&(_0x5da513=-0x1);let _0x340b88=_0x22ab99,_0x3a9851=_0x22ab99;_0x5da513<0x0?_0x340b88=findClusterBreak(_0x164329['text'],_0x22ab99,!0x1):_0x3a9851=findClusterBreak(_0x164329['text'],_0x22ab99);let _0x1e733e=_0x214c34(_0x164329['text']['slice'](_0x340b88,_0x3a9851));for(;_0x340b88>0x0;){let _0x25544b=findClusterBreak(_0x164329['text'],_0x340b88,!0x1);if(_0x214c34(_0x164329['text']['slice'](_0x25544b,_0x340b88))!=_0x1e733e)break;_0x340b88=_0x25544b;}for(;_0x3a9851<_0x164329['length'];){let _0x56e038=findClusterBreak(_0x164329['text'],_0x3a9851);if(_0x214c34(_0x164329['text']['slice'](_0x3a9851,_0x56e038))!=_0x1e733e)break;_0x3a9851=_0x56e038;}return EditorSelection['range'](_0x340b88+_0x164329['from'],_0x3a9851+_0x164329['from']);}function getdx(_0x159fea,_0x264a23){return _0x264a23['left']>_0x159fea?_0x264a23['left']-_0x159fea:Math['max'](0x0,_0x159fea-_0x264a23['right']);}function getdy(_0x4e5f45,_0x2aafa5){return _0x2aafa5['top']>_0x4e5f45?_0x2aafa5['top']-_0x4e5f45:Math['max'](0x0,_0x4e5f45-_0x2aafa5['bottom']);}function _0x13c71f(_0x44ead9,_0x196524){return _0x44ead9['top']<_0x196524['bottom']-0x1&&_0x44ead9['bottom']>_0x196524['top']+0x1;}function _0x1b8cf3(_0x44b455,_0x10c6d7){return _0x10c6d7<_0x44b455['top']?{'top':_0x10c6d7,'left':_0x44b455['left'],'right':_0x44b455['right'],'bottom':_0x44b455['bottom']}:_0x44b455;}function upBot(_0x482186,_0x15a110){return _0x15a110>_0x482186['bottom']?{'top':_0x482186['top'],'left':_0x482186['left'],'right':_0x482186['right'],'bottom':_0x15a110}:_0x482186;}function domPosAtCoords(_0xcc3d62,_0x14bb7d,_0xfc21bb){let _0x52159b,_0x323f6b,_0x162fe9,_0x445e89,_0x30f1a9,_0x386c55,_0x33d636,_0x441843,_0x911371=!0x1;for(let _0x5510a4=_0xcc3d62['firstChild'];_0x5510a4;_0x5510a4=_0x5510a4['nextSibling']){let _0x3f86fd=clientRectsFor(_0x5510a4);for(let _0x2dcca1=0x0;_0x2dcca1<_0x3f86fd['length'];_0x2dcca1++){let _0xd12bd1=_0x3f86fd[_0x2dcca1];_0x323f6b&&_0x13c71f(_0x323f6b,_0xd12bd1)&&(_0xd12bd1=_0x1b8cf3(upBot(_0xd12bd1,_0x323f6b['bottom']),_0x323f6b['top']));let _0x32e9f2=getdx(_0x14bb7d,_0xd12bd1),_0x17266e=getdy(_0xfc21bb,_0xd12bd1);if(0x0==_0x32e9f2&&0x0==_0x17266e)return 0x3==_0x5510a4['nodeType']?domPosInText(_0x5510a4,_0x14bb7d,_0xfc21bb):domPosAtCoords(_0x5510a4,_0x14bb7d,_0xfc21bb);(!_0x52159b||_0x445e89>_0x17266e||_0x445e89==_0x17266e&&_0x162fe9>_0x32e9f2)&&(_0x52159b=_0x5510a4,_0x323f6b=_0xd12bd1,_0x162fe9=_0x32e9f2,_0x445e89=_0x17266e,_0x911371=!_0x32e9f2||(_0x14bb7d<_0xd12bd1['left']?_0x2dcca1>0x0:_0x2dcca1<_0x3f86fd['length']-0x1)),0x0==_0x32e9f2?_0xfc21bb>_0xd12bd1['bottom']&&(!_0x33d636||_0x33d636['bottom']<_0xd12bd1['bottom'])?(_0x30f1a9=_0x5510a4,_0x33d636=_0xd12bd1):_0xfc21bb<_0xd12bd1['top']&&(!_0x441843||_0x441843['top']>_0xd12bd1['top'])&&(_0x386c55=_0x5510a4,_0x441843=_0xd12bd1):_0x33d636&&_0x13c71f(_0x33d636,_0xd12bd1)?_0x33d636=upBot(_0x33d636,_0xd12bd1['bottom']):_0x441843&&_0x13c71f(_0x441843,_0xd12bd1)&&(_0x441843=_0x1b8cf3(_0x441843,_0xd12bd1['top']));}}if(_0x33d636&&_0x33d636['bottom']>=_0xfc21bb?(_0x52159b=_0x30f1a9,_0x323f6b=_0x33d636):_0x441843&&_0x441843['top']<=_0xfc21bb&&(_0x52159b=_0x386c55,_0x323f6b=_0x441843),!_0x52159b)return{'node':_0xcc3d62,'offset':0x0};let _0x31dbb1=Math['max'](_0x323f6b['left'],Math['min'](_0x323f6b['right'],_0x14bb7d));return 0x3==_0x52159b['nodeType']?domPosInText(_0x52159b,_0x31dbb1,_0xfc21bb):_0x911371&&'false'!=_0x52159b['contentEditable']?domPosAtCoords(_0x52159b,_0x31dbb1,_0xfc21bb):{'node':_0xcc3d62,'offset':Array['prototype']['indexOf']['call'](_0xcc3d62['childNodes'],_0x52159b)+(_0x14bb7d>=(_0x323f6b['left']+_0x323f6b['right'])/0x2?0x1:0x0)};}function domPosInText(_0x54372a,_0x5181c9,_0x8b800c){let _0x203455=_0x54372a['nodeValue']['length'],_0x4aa2de=-0x1,_0x1c05bf=0x3b9aca00,_0x1e7062=0x0;for(let _0x31542f=0x0;_0x31542f<_0x203455;_0x31542f++){let _0x427dab=textRange(_0x54372a,_0x31542f,_0x31542f+0x1)['getClientRects']();for(let _0x185889=0x0;_0x185889<_0x427dab['length'];_0x185889++){let _0x35ccb5=_0x427dab[_0x185889];if(_0x35ccb5['top']==_0x35ccb5['bottom'])continue;_0x1e7062||(_0x1e7062=_0x5181c9-_0x35ccb5['left']);let _0x37e8a3=(_0x35ccb5['top']>_0x8b800c?_0x35ccb5['top']-_0x8b800c:_0x8b800c-_0x35ccb5['bottom'])-0x1;if(_0x35ccb5['left']-0x1<=_0x5181c9&&_0x35ccb5['right']+0x1>=_0x5181c9&&_0x37e8a3<_0x1c05bf){let _0x5519f7=_0x5181c9>=(_0x35ccb5['left']+_0x35ccb5['right'])/0x2,_0x237f56=_0x5519f7;(_0x54ee61['chrome']||_0x54ee61['gecko'])&&(textRange(_0x54372a,_0x31542f)['getBoundingClientRect']()['left']==_0x35ccb5['right']&&(_0x237f56=!_0x5519f7));if(_0x37e8a3<=0x0)return{'node':_0x54372a,'offset':_0x31542f+(_0x237f56?0x1:0x0)};_0x4aa2de=_0x31542f+(_0x237f56?0x1:0x0),_0x1c05bf=_0x37e8a3;}}}return{'node':_0x54372a,'offset':_0x4aa2de>-0x1?_0x4aa2de:_0x1e7062>0x0?_0x54372a['nodeValue']['length']:0x0};}function posAtCoords(_0x141b25,_0x392bee,_0x11f3bd,_0x53a22b=-0x1){var _0xedd84d,_0x54065b;let _0xdaa3a2,_0x4f1bc2=_0x141b25['contentDOM']['getBoundingClientRect'](),_0x4ef26c=_0x4f1bc2['top']+_0x141b25['viewState']['paddingTop'],{docHeight:_0x343c65}=_0x141b25['viewState'],{x:_0x27a69d,y:_0x5839e9}=_0x392bee,_0x4adfd6=_0x5839e9-_0x4ef26c;if(_0x4adfd6<0x0)return 0x0;if(_0x4adfd6>_0x343c65)return _0x141b25['state']['doc']['length'];for(let _0x5a3e4b=_0x141b25['viewState']['heightOracle']['textHeight']/0x2,_0x5b6834=!0x1;_0xdaa3a2=_0x141b25['elementAtHeight'](_0x4adfd6),_0xdaa3a2['type']!=_0x30e04f['Text'];)for(;_0x4adfd6=_0x53a22b>0x0?_0xdaa3a2['bottom']+_0x5a3e4b:_0xdaa3a2['top']-_0x5a3e4b,!(_0x4adfd6>=0x0&&_0x4adfd6<=_0x343c65);){if(_0x5b6834)return _0x11f3bd?null:0x0;_0x5b6834=!0x0,_0x53a22b=-_0x53a22b;}_0x5839e9=_0x4ef26c+_0x4adfd6;let _0x38199b=_0xdaa3a2['from'];if(_0x38199b<_0x141b25['viewport']['from'])return 0x0==_0x141b25['viewport']['from']?0x0:_0x11f3bd?null:posAtCoordsImprecise(_0x141b25,_0x4f1bc2,_0xdaa3a2,_0x27a69d,_0x5839e9);if(_0x38199b>_0x141b25['viewport']['to'])return _0x141b25['viewport']['to']==_0x141b25['state']['doc']['length']?_0x141b25['state']['doc']['length']:_0x11f3bd?null:posAtCoordsImprecise(_0x141b25,_0x4f1bc2,_0xdaa3a2,_0x27a69d,_0x5839e9);let _0x510a16=_0x141b25['dom']['ownerDocument'],_0x473553=_0x141b25['root']['elementFromPoint']?_0x141b25['root']:_0x510a16,_0x4762e0=_0x473553['elementFromPoint'](_0x27a69d,_0x5839e9);_0x4762e0&&!_0x141b25['contentDOM']['contains'](_0x4762e0)&&(_0x4762e0=null),_0x4762e0||(_0x27a69d=Math['max'](_0x4f1bc2['left']+0x1,Math['min'](_0x4f1bc2['right']-0x1,_0x27a69d)),_0x4762e0=_0x473553['elementFromPoint'](_0x27a69d,_0x5839e9),_0x4762e0&&!_0x141b25['contentDOM']['contains'](_0x4762e0)&&(_0x4762e0=null));let _0x55c382,_0x518aa3=-0x1;if(_0x4762e0&&0x0!=(null===(_0xedd84d=_0x141b25['docView']['nearest'](_0x4762e0))||void 0x0===_0xedd84d?void 0x0:_0xedd84d['isEditable'])){if(_0x510a16['caretPositionFromPoint']){let _0x124adf=_0x510a16['caretPositionFromPoint'](_0x27a69d,_0x5839e9);_0x124adf&&({offsetNode:_0x55c382,offset:_0x518aa3}=_0x124adf);}else{if(_0x510a16['caretRangeFromPoint']){let _0x5d4c48=_0x510a16['caretRangeFromPoint'](_0x27a69d,_0x5839e9);_0x5d4c48&&({startContainer:_0x55c382,startOffset:_0x518aa3}=_0x5d4c48);}}_0x55c382&&(!_0x141b25['contentDOM']['contains'](_0x55c382)||_0x54ee61['safari']&&isSuspiciousSafariCaretResult(_0x55c382,_0x518aa3,_0x27a69d)||_0x54ee61['chrome']&&isSuspiciousChromeCaretResult(_0x55c382,_0x518aa3,_0x27a69d))&&(_0x55c382=void 0x0),_0x55c382&&(_0x518aa3=Math['min'](maxOffset(_0x55c382),_0x518aa3));}if(!_0x55c382||!_0x141b25['docView']['dom']['contains'](_0x55c382)){let _0x1539f5=_0x5e4138['find'](_0x141b25['docView'],_0x38199b);if(!_0x1539f5)return _0x4adfd6>_0xdaa3a2['top']+_0xdaa3a2['height']/0x2?_0xdaa3a2['to']:_0xdaa3a2['from'];({node:_0x55c382,offset:_0x518aa3}=domPosAtCoords(_0x1539f5['dom'],_0x27a69d,_0x5839e9));}let _0x279b55=_0x141b25['docView']['nearest'](_0x55c382);if(!_0x279b55)return null;if(_0x279b55['isWidget']&&0x1==(null===(_0x54065b=_0x279b55['dom'])||void 0x0===_0x54065b?void 0x0:_0x54065b['nodeType'])){let _0x3feede=_0x279b55['dom']['getBoundingClientRect']();return _0x392bee['y']<_0x3feede['top']||_0x392bee['y']<=_0x3feede['bottom']&&_0x392bee['x']<=(_0x3feede['left']+_0x3feede['right'])/0x2?_0x279b55['posAtStart']:_0x279b55['posAtEnd'];}return _0x279b55['localPosFromDOM'](_0x55c382,_0x518aa3)+_0x279b55['posAtStart'];}function posAtCoordsImprecise(_0x193be8,_0xe96fe7,_0x36ed62,_0x2435ba,_0x54ecd4){let _0x3b535d=Math['round']((_0x2435ba-_0xe96fe7['left'])*_0x193be8['defaultCharacterWidth']);if(_0x193be8['lineWrapping']&&_0x36ed62['height']>1.5*_0x193be8['defaultLineHeight']){let _0x4ca1fd=_0x193be8['viewState']['heightOracle']['textHeight'];_0x3b535d+=Math['floor']((_0x54ecd4-_0x36ed62['top']-0.5*(_0x193be8['defaultLineHeight']-_0x4ca1fd))/_0x4ca1fd)*_0x193be8['viewState']['heightOracle']['lineLength'];}let _0x4bce35=_0x193be8['state']['sliceDoc'](_0x36ed62['from'],_0x36ed62['to']);return _0x36ed62['from']+_0x8ab3c5(_0x4bce35,_0x3b535d,_0x193be8['state']['tabSize']);}function _0x30ab66(_0xb3567f,_0x5792cd,_0xfad45e){let _0x1c5443,_0x2b6ea1=_0xb3567f;if(0x3!=_0xb3567f['nodeType']||_0x5792cd!=(_0x1c5443=_0xb3567f['nodeValue']['length']))return!0x1;for(;;){let _0x485a83=_0x2b6ea1['nextSibling'];if(_0x485a83){if('BR'==_0x485a83['nodeName'])break;return!0x1;}{let _0x137c87=_0x2b6ea1['parentNode'];if(!_0x137c87||'DIV'==_0x137c87['nodeName'])break;_0x2b6ea1=_0x137c87;}}return textRange(_0xb3567f,_0x1c5443-0x1,_0x1c5443)['getBoundingClientRect']()['right']>_0xfad45e;}function isSuspiciousSafariCaretResult(_0x24781b,_0x4d6609,_0x4847a7){return _0x30ab66(_0x24781b,_0x4d6609,_0x4847a7);}function isSuspiciousChromeCaretResult(_0x17f128,_0x22f2b1,_0x27a457){if(0x0!=_0x22f2b1)return _0x30ab66(_0x17f128,_0x22f2b1,_0x27a457);for(let _0x3ea728=_0x17f128;;){let _0x1b53ce=_0x3ea728['parentNode'];if(!_0x1b53ce||0x1!=_0x1b53ce['nodeType']||_0x1b53ce['firstChild']!=_0x3ea728)return!0x1;if(_0x1b53ce['classList']['contains']('cm-line'))break;_0x3ea728=_0x1b53ce;}return _0x27a457-(0x1==_0x17f128['nodeType']?_0x17f128['getBoundingClientRect']():textRange(_0x17f128,0x0,Math['max'](_0x17f128['nodeValue']['length'],0x1))['getBoundingClientRect']())['left']>0x5;}function blockAt(_0x5d6c89,_0x11ef93,_0x5ba6f7){let _0x1bb0b1=_0x5d6c89['lineBlockAt'](_0x11ef93);if(Array['isArray'](_0x1bb0b1['type'])){let _0x45a56b;for(let _0x53915f of _0x1bb0b1['type']){if(_0x53915f['from']>_0x11ef93)break;if(!(_0x53915f['to']<_0x11ef93)){if(_0x53915f['from']<_0x11ef93&&_0x53915f['to']>_0x11ef93)return _0x53915f;_0x45a56b&&(_0x53915f['type']!=_0x30e04f['Text']||_0x45a56b['type']==_0x53915f['type']&&!(_0x5ba6f7<0x0?_0x53915f['from']<_0x11ef93:_0x53915f['to']>_0x11ef93))||(_0x45a56b=_0x53915f);}}return _0x45a56b||_0x1bb0b1;}return _0x1bb0b1;}function _0x46f045(_0x40ee88,_0x28950e,_0x475c73,_0x798b82){let _0x5aced5=blockAt(_0x40ee88,_0x28950e['head'],_0x28950e['assoc']||-0x1),_0x4c6fd2=_0x798b82&&_0x5aced5['type']==_0x30e04f['Text']&&(_0x40ee88['lineWrapping']||_0x5aced5['widgetLineBreaks'])?_0x40ee88['coordsAtPos'](_0x28950e['assoc']<0x0&&_0x28950e['head']>_0x5aced5['from']?_0x28950e['head']-0x1:_0x28950e['head']):null;if(_0x4c6fd2){let _0x40c0a2=_0x40ee88['dom']['getBoundingClientRect'](),_0x389b98=_0x40ee88['textDirectionAt'](_0x5aced5['from']),_0x3cb03e=_0x40ee88['posAtCoords']({'x':_0x475c73==(_0x389b98==Direction['LTR'])?_0x40c0a2['right']-0x1:_0x40c0a2['left']+0x1,'y':(_0x4c6fd2['top']+_0x4c6fd2['bottom'])/0x2});if(null!=_0x3cb03e)return EditorSelection['cursor'](_0x3cb03e,_0x475c73?-0x1:0x1);}return EditorSelection['cursor'](_0x475c73?_0x5aced5['to']:_0x5aced5['from'],_0x475c73?-0x1:0x1);}function _0x9546e8(_0x4bdef4,_0x3f7a23,_0x59e902,_0x1a1272){let _0x1947e4=_0x4bdef4['state']['doc']['lineAt'](_0x3f7a23['head']),_0x1fe4c3=_0x4bdef4['bidiSpans'](_0x1947e4),_0x177477=_0x4bdef4['textDirectionAt'](_0x1947e4['from']);for(let _0x101ccb=_0x3f7a23,_0x34050e=null;;){let _0x15db18=_0x5756e4(_0x1947e4,_0x1fe4c3,_0x177477,_0x101ccb,_0x59e902),_0x4e26e9=_0x53fc6e;if(!_0x15db18){if(_0x1947e4['number']==(_0x59e902?_0x4bdef4['state']['doc']['lines']:0x1))return _0x101ccb;_0x4e26e9='\x0a',_0x1947e4=_0x4bdef4['state']['doc']['line'](_0x1947e4['number']+(_0x59e902?0x1:-0x1)),_0x1fe4c3=_0x4bdef4['bidiSpans'](_0x1947e4),_0x15db18=_0x4bdef4['visualLineSide'](_0x1947e4,!_0x59e902);}if(_0x34050e){if(!_0x34050e(_0x4e26e9))return _0x101ccb;}else{if(!_0x1a1272)return _0x15db18;_0x34050e=_0x1a1272(_0x4e26e9);}_0x101ccb=_0x15db18;}}function _0x3c46cf(_0x1b4205,_0x4c1e1c,_0x3787c6){let _0x310245=_0x1b4205['state']['charCategorizer'](_0x4c1e1c),_0x211356=_0x310245(_0x3787c6);return _0x579f52=>{let _0x2b2799=_0x310245(_0x579f52);return _0x211356==CharCategory['Space']&&(_0x211356=_0x2b2799),_0x211356==_0x2b2799;};}function moveVertically(_0x24880d,_0x37270c,_0x3c4952,_0x401e98){let _0x5a3b69=_0x37270c['head'],_0x536e81=_0x3c4952?0x1:-0x1;if(_0x5a3b69==(_0x3c4952?_0x24880d['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x5a3b69,_0x37270c['assoc']);let _0x1e63dc,_0xdee0d3=_0x37270c['goalColumn'],_0x156d28=_0x24880d['contentDOM']['getBoundingClientRect'](),_0x1878a4=_0x24880d['coordsAtPos'](_0x5a3b69,_0x37270c['assoc']||-0x1),_0x1149e8=_0x24880d['documentTop'];if(_0x1878a4)null==_0xdee0d3&&(_0xdee0d3=_0x1878a4['left']-_0x156d28['left']),_0x1e63dc=_0x536e81<0x0?_0x1878a4['top']:_0x1878a4['bottom'];else{let _0x1cc49f=_0x24880d['viewState']['lineBlockAt'](_0x5a3b69);null==_0xdee0d3&&(_0xdee0d3=Math['min'](_0x156d28['right']-_0x156d28['left'],_0x24880d['defaultCharacterWidth']*(_0x5a3b69-_0x1cc49f['from']))),_0x1e63dc=(_0x536e81<0x0?_0x1cc49f['top']:_0x1cc49f['bottom'])+_0x1149e8;}let _0x3cf28b=_0x156d28['left']+_0xdee0d3,_0x14c4dc=null!=_0x401e98?_0x401e98:_0x24880d['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x474d7e=0x0;;_0x474d7e+=0xa){let _0x30c3b0=_0x1e63dc+(_0x14c4dc+_0x474d7e)*_0x536e81,_0x5947fb=posAtCoords(_0x24880d,{'x':_0x3cf28b,'y':_0x30c3b0},!0x1,_0x536e81);if(_0x30c3b0<_0x156d28['top']||_0x30c3b0>_0x156d28['bottom']||(_0x536e81<0x0?_0x5947fb<_0x5a3b69:_0x5947fb>_0x5a3b69)){let _0x57a8bc=_0x24880d['docView']['coordsForChar'](_0x5947fb),_0x4b5d91=!_0x57a8bc||_0x30c3b0<_0x57a8bc['top']?-0x1:0x1;return EditorSelection['cursor'](_0x5947fb,_0x4b5d91,void 0x0,_0xdee0d3);}}}function skipAtomicRanges(_0x2191b9,_0x2a0f79,_0x49ea77){for(;;){let _0x2742d8=0x0;for(let _0x3e7caa of _0x2191b9)_0x3e7caa['between'](_0x2a0f79-0x1,_0x2a0f79+0x1,(_0x398c0b,_0x312321,_0x46871a)=>{if(_0x2a0f79>_0x398c0b&&_0x2a0f79<_0x312321){let _0x48e231=_0x2742d8||_0x49ea77||(_0x2a0f79-_0x398c0b<_0x312321-_0x2a0f79?-0x1:0x1);_0x2a0f79=_0x48e231<0x0?_0x398c0b:_0x312321,_0x2742d8=_0x48e231;}});if(!_0x2742d8)return _0x2a0f79;}}function skipAtomsForSelection(_0x3ed8e9,_0x1a0440){let _0x51fbd1=null;for(let _0x35c962=0x0;_0x35c962<_0x1a0440['ranges']['length'];_0x35c962++){let _0x27e128=_0x1a0440['ranges'][_0x35c962],_0x3e0bb7=null;if(_0x27e128['empty']){let _0x452d5b=skipAtomicRanges(_0x3ed8e9,_0x27e128['from'],0x0);_0x452d5b!=_0x27e128['from']&&(_0x3e0bb7=EditorSelection['cursor'](_0x452d5b,-0x1));}else{let _0x215db5=skipAtomicRanges(_0x3ed8e9,_0x27e128['from'],-0x1),_0x51a8e0=skipAtomicRanges(_0x3ed8e9,_0x27e128['to'],0x1);_0x215db5==_0x27e128['from']&&_0x51a8e0==_0x27e128['to']||(_0x3e0bb7=EditorSelection['range'](_0x27e128['from']==_0x27e128['anchor']?_0x215db5:_0x51a8e0,_0x27e128['from']==_0x27e128['head']?_0x215db5:_0x51a8e0));}_0x3e0bb7&&(_0x51fbd1||(_0x51fbd1=_0x1a0440['ranges']['slice']()),_0x51fbd1[_0x35c962]=_0x3e0bb7);}return _0x51fbd1?EditorSelection['create'](_0x51fbd1,_0x1a0440['mainIndex']):_0x1a0440;}function skipAtoms(_0x145eb6,_0x1c368f,_0x4c0edb){let _0x5b7352=skipAtomicRanges(_0x145eb6['state']['facet'](atomicRanges)['map'](_0x43c217=>_0x43c217(_0x145eb6)),_0x4c0edb['from'],_0x1c368f['head']>_0x4c0edb['from']?-0x1:0x1);return _0x5b7352==_0x4c0edb['from']?_0x4c0edb:EditorSelection['cursor'](_0x5b7352,_0x5b7352<_0x4c0edb['from']?0x1:-0x1);}const _0x54067e='';class _0xc7dea9{constructor(_0x383ea7,_0x280b12){this['points']=_0x383ea7,this['text']='',this['lineSeparator']=_0x280b12['facet'](EditorState['lineSeparator']);}['append'](_0x3dd60e){this['text']+=_0x3dd60e;}['lineBreak'](){this['text']+=_0x54067e;}['readRange'](_0x4ec3ae,_0x24a4a8){if(!_0x4ec3ae)return this;let _0x356b36=_0x4ec3ae['parentNode'];for(let _0x2bace6=_0x4ec3ae;;){this['findPointBefore'](_0x356b36,_0x2bace6);let _0x3dbccc=this['text']['length'];this['readNode'](_0x2bace6);let _0x51016e=_0x2bace6['nextSibling'];if(_0x51016e==_0x24a4a8)break;let _0x36fa04=ContentView['get'](_0x2bace6),_0x56c64b=ContentView['get'](_0x51016e);(_0x36fa04&&_0x56c64b?_0x36fa04['breakAfter']:(_0x36fa04?_0x36fa04['breakAfter']:isBlockElement(_0x2bace6))||isBlockElement(_0x51016e)&&('BR'!=_0x2bace6['nodeName']||_0x2bace6['cmIgnore'])&&this['text']['length']>_0x3dbccc)&&!isEmptyToEnd(_0x51016e,_0x24a4a8)&&this['lineBreak'](),_0x2bace6=_0x51016e;}return this['findPointBefore'](_0x356b36,_0x24a4a8),this;}['readTextNode'](_0x1c8a1a){let _0x1b44a3=_0x1c8a1a['nodeValue'];for(let _0x18a0a3 of this['points'])_0x18a0a3['node']==_0x1c8a1a&&(_0x18a0a3['pos']=this['text']['length']+Math['min'](_0x18a0a3['offset'],_0x1b44a3['length']));for(let _0x5b349f=0x0,_0x5e4272=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x5aa795,_0x2d3bfb=-0x1,_0x134f89=0x1;if(this['lineSeparator']?(_0x2d3bfb=_0x1b44a3['indexOf'](this['lineSeparator'],_0x5b349f),_0x134f89=this['lineSeparator']['length']):(_0x5aa795=_0x5e4272['exec'](_0x1b44a3))&&(_0x2d3bfb=_0x5aa795['index'],_0x134f89=_0x5aa795[0x0]['length']),this['append'](_0x1b44a3['slice'](_0x5b349f,_0x2d3bfb<0x0?_0x1b44a3['length']:_0x2d3bfb)),_0x2d3bfb<0x0)break;if(this['lineBreak'](),_0x134f89>0x1){for(let _0x11b563 of this['points'])_0x11b563['node']==_0x1c8a1a&&_0x11b563['pos']>this['text']['length']&&(_0x11b563['pos']-=_0x134f89-0x1);}_0x5b349f=_0x2d3bfb+_0x134f89;}}['readNode'](_0x58331c){if(_0x58331c['cmIgnore'])return;let _0x2df0f1=ContentView['get'](_0x58331c),_0x5c269d=_0x2df0f1&&_0x2df0f1['overrideDOMText'];if(null!=_0x5c269d){this['findPointInside'](_0x58331c,_0x5c269d['length']);for(let _0x5dd27c=_0x5c269d['iter']();!_0x5dd27c['next']()['done'];)_0x5dd27c['lineBreak']?this['lineBreak']():this['append'](_0x5dd27c['value']);}else 0x3==_0x58331c['nodeType']?this['readTextNode'](_0x58331c):'BR'==_0x58331c['nodeName']?_0x58331c['nextSibling']&&this['lineBreak']():0x1==_0x58331c['nodeType']&&this['readRange'](_0x58331c['firstChild'],null);}['findPointBefore'](_0x34da56,_0x405641){for(let _0x43cc8e of this['points'])_0x43cc8e['node']==_0x34da56&&_0x34da56['childNodes'][_0x43cc8e['offset']]==_0x405641&&(_0x43cc8e['pos']=this['text']['length']);}['findPointInside'](_0x33dccd,_0x499b44){for(let _0x17bbdf of this['points'])(0x3==_0x33dccd['nodeType']?_0x17bbdf['node']==_0x33dccd:_0x33dccd['contains'](_0x17bbdf['node']))&&(_0x17bbdf['pos']=this['text']['length']+(isAtEnd(_0x33dccd,_0x17bbdf['node'],_0x17bbdf['offset'])?_0x499b44:0x0));}}function isAtEnd(_0x522be3,_0x433cb3,_0x250e94){for(;;){if(!_0x433cb3||_0x250e94<maxOffset(_0x433cb3))return!0x1;if(_0x433cb3==_0x522be3)return!0x0;_0x250e94=_0x4587d0(_0x433cb3)+0x1,_0x433cb3=_0x433cb3['parentNode'];}}function isEmptyToEnd(_0x44001e,_0x5c0ad3){let _0x441243;for(;_0x44001e!=_0x5c0ad3&&_0x44001e;_0x44001e=_0x44001e['nextSibling']){let _0x36cb75=ContentView['get'](_0x44001e);if(!(null==_0x36cb75?void 0x0:_0x36cb75['isWidget'])&&!_0x44001e['cmIgnore'])return!0x1;_0x36cb75&&(_0x441243||(_0x441243=[]))['push'](_0x36cb75);}if(_0x441243)for(let _0x24719a of _0x441243){let _0x3f1f0d=_0x24719a['overrideDOMText'];if(null==_0x3f1f0d?void 0x0:_0x3f1f0d['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x30a30d,_0x45ceb7){this['node']=_0x30a30d,this['offset']=_0x45ceb7,this['pos']=-0x1;}}class _0x2d8a5c{constructor(_0x3e73e7,_0x87ca9b,_0x4b3ec1,_0x376457){this['typeOver']=_0x376457,this['bounds']=null,this['text']='',this['domChanged']=_0x87ca9b>-0x1;let {impreciseHead:_0x2c771e,impreciseAnchor:_0x2ecbaa}=_0x3e73e7['docView'];if(_0x3e73e7['state']['readOnly']&&_0x87ca9b>-0x1)this['newSel']=null;else{if(_0x87ca9b>-0x1&&(this['bounds']=_0x3e73e7['docView']['domBoundsAround'](_0x87ca9b,_0x4b3ec1,0x0))){let _0x412a09=_0x2c771e||_0x2ecbaa?[]:selectionPoints(_0x3e73e7),_0x134247=new _0xc7dea9(_0x412a09,_0x3e73e7['state']);_0x134247['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x134247['text'],this['newSel']=selectionFromPoints(_0x412a09,this['bounds']['from']);}else{let _0x8142ad=_0x3e73e7['observer']['selectionRange'],_0x7e152e=_0x2c771e&&_0x2c771e['node']==_0x8142ad['focusNode']&&_0x2c771e['offset']==_0x8142ad['focusOffset']||!contains(_0x3e73e7['contentDOM'],_0x8142ad['focusNode'])?_0x3e73e7['state']['selection']['main']['head']:_0x3e73e7['docView']['posFromDOM'](_0x8142ad['focusNode'],_0x8142ad['focusOffset']),_0x329977=_0x2ecbaa&&_0x2ecbaa['node']==_0x8142ad['anchorNode']&&_0x2ecbaa['offset']==_0x8142ad['anchorOffset']||!contains(_0x3e73e7['contentDOM'],_0x8142ad['anchorNode'])?_0x3e73e7['state']['selection']['main']['anchor']:_0x3e73e7['docView']['posFromDOM'](_0x8142ad['anchorNode'],_0x8142ad['anchorOffset']),_0x4f1a5f=_0x3e73e7['viewport'];if((_0x54ee61['ios']||_0x54ee61['chrome'])&&_0x3e73e7['state']['selection']['main']['empty']&&_0x7e152e!=_0x329977&&(_0x4f1a5f['from']>0x0||_0x4f1a5f['to']<_0x3e73e7['state']['doc']['length'])){let _0x57845b=Math['min'](_0x7e152e,_0x329977),_0x36c1c0=Math['max'](_0x7e152e,_0x329977),_0x412128=_0x4f1a5f['from']-_0x57845b,_0x32f7de=_0x4f1a5f['to']-_0x36c1c0;0x0!=_0x412128&&0x1!=_0x412128&&0x0!=_0x57845b||0x0!=_0x32f7de&&-0x1!=_0x32f7de&&_0x36c1c0!=_0x3e73e7['state']['doc']['length']||(_0x7e152e=0x0,_0x329977=_0x3e73e7['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x329977,_0x7e152e);}}}}function _0x2b6f8f(_0x4da06a,_0x63f5d1){let _0x55ea41,{newSel:_0xe021cf}=_0x63f5d1,_0x21910c=_0x4da06a['state']['selection']['main'],_0x3ee980=_0x4da06a['inputState']['lastKeyTime']>Date['now']()-0x64?_0x4da06a['inputState']['lastKeyCode']:-0x1;if(_0x63f5d1['bounds']){let {from:_0x143d36,to:_0x4d7a23}=_0x63f5d1['bounds'],_0x4ff652=_0x21910c['from'],_0x113d83=null;(0x8===_0x3ee980||_0x54ee61['android']&&_0x63f5d1['text']['length']<_0x4d7a23-_0x143d36)&&(_0x4ff652=_0x21910c['to'],_0x113d83='end');let _0x5b6265=_0x54b232(_0x4da06a['state']['doc']['sliceString'](_0x143d36,_0x4d7a23,_0x54067e),_0x63f5d1['text'],_0x4ff652-_0x143d36,_0x113d83);_0x5b6265&&(_0x54ee61['chrome']&&0xd==_0x3ee980&&_0x5b6265['toB']==_0x5b6265['from']+0x2&&_0x63f5d1['text']['slice'](_0x5b6265['from'],_0x5b6265['toB'])==_0x54067e+_0x54067e&&_0x5b6265['toB']--,_0x55ea41={'from':_0x143d36+_0x5b6265['from'],'to':_0x143d36+_0x5b6265['toA'],'insert':Text['of'](_0x63f5d1['text']['slice'](_0x5b6265['from'],_0x5b6265['toB'])['split'](_0x54067e))});}else _0xe021cf&&(!_0x4da06a['hasFocus']&&_0x4da06a['state']['facet'](editable)||_0xe021cf['main']['eq'](_0x21910c))&&(_0xe021cf=null);if(!_0x55ea41&&!_0xe021cf)return!0x1;if(!_0x55ea41&&_0x63f5d1['typeOver']&&!_0x21910c['empty']&&_0xe021cf&&_0xe021cf['main']['empty']?_0x55ea41={'from':_0x21910c['from'],'to':_0x21910c['to'],'insert':_0x4da06a['state']['doc']['slice'](_0x21910c['from'],_0x21910c['to'])}:(_0x54ee61['mac']||_0x54ee61['android'])&&_0x55ea41&&_0x55ea41['from']==_0x55ea41['to']&&_0x55ea41['from']==_0x21910c['head']-0x1&&/^\. ?$/['test'](_0x55ea41['insert']['toString']())&&'off'==_0x4da06a['contentDOM']['getAttribute']('autocorrect')?(_0xe021cf&&0x2==_0x55ea41['insert']['length']&&(_0xe021cf=EditorSelection['single'](_0xe021cf['main']['anchor']-0x1,_0xe021cf['main']['head']-0x1)),_0x55ea41={'from':_0x55ea41['from'],'to':_0x55ea41['to'],'insert':Text['of']([_0x55ea41['insert']['toString']()['replace']('.','\x20')])}):_0x55ea41&&_0x55ea41['from']>=_0x21910c['from']&&_0x55ea41['to']<=_0x21910c['to']&&(_0x55ea41['from']!=_0x21910c['from']||_0x55ea41['to']!=_0x21910c['to'])&&_0x21910c['to']-_0x21910c['from']-(_0x55ea41['to']-_0x55ea41['from'])<=0x4?_0x55ea41={'from':_0x21910c['from'],'to':_0x21910c['to'],'insert':_0x4da06a['state']['doc']['slice'](_0x21910c['from'],_0x55ea41['from'])['append'](_0x55ea41['insert'])['append'](_0x4da06a['state']['doc']['slice'](_0x55ea41['to'],_0x21910c['to']))}:_0x54ee61['chrome']&&_0x55ea41&&_0x55ea41['from']==_0x55ea41['to']&&_0x55ea41['from']==_0x21910c['head']&&'\x0a\x20'==_0x55ea41['insert']['toString']()&&_0x4da06a['lineWrapping']&&(_0xe021cf&&(_0xe021cf=EditorSelection['single'](_0xe021cf['main']['anchor']-0x1,_0xe021cf['main']['head']-0x1)),_0x55ea41={'from':_0x21910c['from'],'to':_0x21910c['to'],'insert':Text['of'](['\x20'])}),_0x55ea41)return _0x4a023d(_0x4da06a,_0x55ea41,_0xe021cf,_0x3ee980);if(_0xe021cf&&!_0xe021cf['main']['eq'](_0x21910c)){let _0x179b01=!0x1,_0x11f0eb='select';return _0x4da06a['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x4da06a['inputState']['lastSelectionOrigin']&&(_0x179b01=!0x0),_0x11f0eb=_0x4da06a['inputState']['lastSelectionOrigin'],'select.pointer'==_0x11f0eb&&(_0xe021cf=skipAtomsForSelection(_0x4da06a['state']['facet'](atomicRanges)['map'](_0x564691=>_0x564691(_0x4da06a)),_0xe021cf))),_0x4da06a['dispatch']({'selection':_0xe021cf,'scrollIntoView':_0x179b01,'userEvent':_0x11f0eb}),!0x0;}return!0x1;}function _0x4a023d(_0x43aedd,_0x43e038,_0x42b2cb,_0x11f934=-0x1){if(_0x54ee61['ios']&&_0x43aedd['inputState']['flushIOSKey'](_0x43e038))return!0x0;let _0x282720=_0x43aedd['state']['selection']['main'];if(_0x54ee61['android']&&(_0x43e038['to']==_0x282720['to']&&(_0x43e038['from']==_0x282720['from']||_0x43e038['from']==_0x282720['from']-0x1&&'\x20'==_0x43aedd['state']['sliceDoc'](_0x43e038['from'],_0x282720['from']))&&0x1==_0x43e038['insert']['length']&&0x2==_0x43e038['insert']['lines']&&dispatchKey(_0x43aedd['contentDOM'],'Enter',0xd)||(_0x43e038['from']==_0x282720['from']-0x1&&_0x43e038['to']==_0x282720['to']&&0x0==_0x43e038['insert']['length']||0x8==_0x11f934&&_0x43e038['insert']['length']<_0x43e038['to']-_0x43e038['from']&&_0x43e038['to']>_0x282720['head'])&&dispatchKey(_0x43aedd['contentDOM'],'Backspace',0x8)||_0x43e038['from']==_0x282720['from']&&_0x43e038['to']==_0x282720['to']+0x1&&0x0==_0x43e038['insert']['length']&&dispatchKey(_0x43aedd['contentDOM'],'Delete',0x2e)))return!0x0;let _0x4b76dd,_0xad2541=_0x43e038['insert']['toString']();_0x43aedd['inputState']['composing']>=0x0&&_0x43aedd['inputState']['composing']++;let _0x1fb096=()=>_0x4b76dd||(_0x4b76dd=applyDefaultInsert(_0x43aedd,_0x43e038,_0x42b2cb));return _0x43aedd['state']['facet'](inputHandler$1)['some'](_0x280657=>_0x280657(_0x43aedd,_0x43e038['from'],_0x43e038['to'],_0xad2541,_0x1fb096))||_0x43aedd['dispatch'](_0x1fb096()),!0x0;}function applyDefaultInsert(_0x3eec6a,_0x1c042f,_0x53336b){let _0x4fa97d,_0x126a37=_0x3eec6a['state'],_0x20f2c8=_0x126a37['selection']['main'],_0x1e8959=-0x1;if(_0x1c042f['from']==_0x1c042f['to']&&_0x1c042f['from']<_0x20f2c8['from']||_0x1c042f['from']>_0x20f2c8['to']){let _0x5a6af1=_0x1c042f['from']<_0x20f2c8['from']?-0x1:0x1,_0x85744f=_0x5a6af1<0x0?_0x20f2c8['from']:_0x20f2c8['to'],_0xc7d39e=skipAtomicRanges(_0x126a37['facet'](atomicRanges)['map'](_0x45e2bd=>_0x45e2bd(_0x3eec6a)),_0x85744f,_0x5a6af1);_0x1c042f['from']==_0xc7d39e&&(_0x1e8959=_0xc7d39e);}if(_0x1e8959>-0x1)_0x4fa97d={'changes':_0x1c042f,'selection':EditorSelection['cursor'](_0x1c042f['from']+_0x1c042f['insert']['length'],-0x1)};else{if(_0x1c042f['from']>=_0x20f2c8['from']&&_0x1c042f['to']<=_0x20f2c8['to']&&_0x1c042f['to']-_0x1c042f['from']>=(_0x20f2c8['to']-_0x20f2c8['from'])/0x3&&(!_0x53336b||_0x53336b['main']['empty']&&_0x53336b['main']['from']==_0x1c042f['from']+_0x1c042f['insert']['length'])&&_0x3eec6a['inputState']['composing']<0x0){let _0x377cdf=_0x20f2c8['from']<_0x1c042f['from']?_0x126a37['sliceDoc'](_0x20f2c8['from'],_0x1c042f['from']):'',_0x4d41ea=_0x20f2c8['to']>_0x1c042f['to']?_0x126a37['sliceDoc'](_0x1c042f['to'],_0x20f2c8['to']):'';_0x4fa97d=_0x126a37['replaceSelection'](_0x3eec6a['state']['toText'](_0x377cdf+_0x1c042f['insert']['sliceString'](0x0,void 0x0,_0x3eec6a['state']['lineBreak'])+_0x4d41ea));}else{let _0x7d65db=_0x126a37['changes'](_0x1c042f),_0x2a0d98=_0x53336b&&_0x53336b['main']['to']<=_0x7d65db['newLength']?_0x53336b['main']:void 0x0;if(_0x126a37['selection']['ranges']['length']>0x1&&_0x3eec6a['inputState']['composing']>=0x0&&_0x1c042f['to']<=_0x20f2c8['to']&&_0x1c042f['to']>=_0x20f2c8['to']-0xa){let _0x5f268f,_0x484c38=_0x3eec6a['state']['sliceDoc'](_0x1c042f['from'],_0x1c042f['to']),_0x15a296=_0x53336b&&findCompositionNode(_0x3eec6a,_0x53336b['main']['head']);if(_0x15a296){let _0x9bd8ad=_0x1c042f['insert']['length']-(_0x1c042f['to']-_0x1c042f['from']);_0x5f268f={'from':_0x15a296['from'],'to':_0x15a296['to']-_0x9bd8ad};}else _0x5f268f=_0x3eec6a['state']['doc']['lineAt'](_0x20f2c8['head']);let _0xec9aad=_0x20f2c8['to']-_0x1c042f['to'],_0x14594a=_0x20f2c8['to']-_0x20f2c8['from'];_0x4fa97d=_0x126a37['changeByRange'](_0x1a646f=>{if(_0x1a646f['from']==_0x20f2c8['from']&&_0x1a646f['to']==_0x20f2c8['to'])return{'changes':_0x7d65db,'range':_0x2a0d98||_0x1a646f['map'](_0x7d65db)};let _0x4ff722=_0x1a646f['to']-_0xec9aad,_0x53ac3a=_0x4ff722-_0x484c38['length'];if(_0x1a646f['to']-_0x1a646f['from']!=_0x14594a||_0x3eec6a['state']['sliceDoc'](_0x53ac3a,_0x4ff722)!=_0x484c38||_0x1a646f['to']>=_0x5f268f['from']&&_0x1a646f['from']<=_0x5f268f['to'])return{'range':_0x1a646f};let _0x335ea3=_0x126a37['changes']({'from':_0x53ac3a,'to':_0x4ff722,'insert':_0x1c042f['insert']}),_0x122b51=_0x1a646f['to']-_0x20f2c8['to'];return{'changes':_0x335ea3,'range':_0x2a0d98?EditorSelection['range'](Math['max'](0x0,_0x2a0d98['anchor']+_0x122b51),Math['max'](0x0,_0x2a0d98['head']+_0x122b51)):_0x1a646f['map'](_0x335ea3)};});}else _0x4fa97d={'changes':_0x7d65db,'selection':_0x2a0d98&&_0x126a37['selection']['replaceRange'](_0x2a0d98)};}}let _0x3a0814='input.type';return(_0x3eec6a['composing']||_0x3eec6a['inputState']['compositionPendingChange']&&_0x3eec6a['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x3eec6a['inputState']['compositionPendingChange']=!0x1,_0x3a0814+='.compose',_0x3eec6a['inputState']['compositionFirstChange']&&(_0x3a0814+='.start',_0x3eec6a['inputState']['compositionFirstChange']=!0x1)),_0x126a37['update'](_0x4fa97d,{'userEvent':_0x3a0814,'scrollIntoView':!0x0});}function _0x54b232(_0x2372e1,_0x3f734b,_0x1a642b,_0x190902){let _0x5b4e14=Math['min'](_0x2372e1['length'],_0x3f734b['length']),_0x5d9bb1=0x0;for(;_0x5d9bb1<_0x5b4e14&&_0x2372e1['charCodeAt'](_0x5d9bb1)==_0x3f734b['charCodeAt'](_0x5d9bb1);)_0x5d9bb1++;if(_0x5d9bb1==_0x5b4e14&&_0x2372e1['length']==_0x3f734b['length'])return null;let _0xc7c9ec=_0x2372e1['length'],_0x456cb3=_0x3f734b['length'];for(;_0xc7c9ec>0x0&&_0x456cb3>0x0&&_0x2372e1['charCodeAt'](_0xc7c9ec-0x1)==_0x3f734b['charCodeAt'](_0x456cb3-0x1);)_0xc7c9ec--,_0x456cb3--;'end'==_0x190902&&(_0x1a642b-=_0xc7c9ec+Math['max'](0x0,_0x5d9bb1-Math['min'](_0xc7c9ec,_0x456cb3))-_0x5d9bb1);if(_0xc7c9ec<_0x5d9bb1&&_0x2372e1['length']<_0x3f734b['length'])_0x5d9bb1-=_0x1a642b<=_0x5d9bb1&&_0x1a642b>=_0xc7c9ec?_0x5d9bb1-_0x1a642b:0x0,_0x456cb3=_0x5d9bb1+(_0x456cb3-_0xc7c9ec),_0xc7c9ec=_0x5d9bb1;else _0x456cb3<_0x5d9bb1&&(_0x5d9bb1-=_0x1a642b<=_0x5d9bb1&&_0x1a642b>=_0x456cb3?_0x5d9bb1-_0x1a642b:0x0,_0xc7c9ec=_0x5d9bb1+(_0xc7c9ec-_0x456cb3),_0x456cb3=_0x5d9bb1);return{'from':_0x5d9bb1,'toA':_0xc7c9ec,'toB':_0x456cb3};}function selectionPoints(_0x53910c){let _0x34ce8d=[];if(_0x53910c['root']['activeElement']!=_0x53910c['contentDOM'])return _0x34ce8d;let {anchorNode:_0x205c2c,anchorOffset:_0x57421a,focusNode:_0x1e103b,focusOffset:_0x521db4}=_0x53910c['observer']['selectionRange'];return _0x205c2c&&(_0x34ce8d['push'](new DOMPoint(_0x205c2c,_0x57421a)),_0x1e103b==_0x205c2c&&_0x521db4==_0x57421a||_0x34ce8d['push'](new DOMPoint(_0x1e103b,_0x521db4))),_0x34ce8d;}function selectionFromPoints(_0x1cc185,_0x37a063){if(0x0==_0x1cc185['length'])return null;let _0x3a9e2e=_0x1cc185[0x0]['pos'],_0x379aa9=0x2==_0x1cc185['length']?_0x1cc185[0x1]['pos']:_0x3a9e2e;return _0x3a9e2e>-0x1&&_0x379aa9>-0x1?EditorSelection['single'](_0x3a9e2e+_0x37a063,_0x379aa9+_0x37a063):null;}class InputState{['setSelectionOrigin'](_0x5cf411){this['lastSelectionOrigin']=_0x5cf411,this['lastSelectionTime']=Date['now']();}constructor(_0x3ea50f){this['view']=_0x3ea50f,this['lastKeyCode']=0x0,this['lastKeyTime']=0x0,this['lastTouchTime']=0x0,this['lastFocusTime']=0x0,this['lastScrollTop']=0x0,this['lastScrollLeft']=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['mouseSelection']=null,this['draggedContent']=null,this['handleEvent']=this['handleEvent']['bind'](this),this['notifiedFocused']=_0x3ea50f['hasFocus'],_0x54ee61['safari']&&_0x3ea50f['contentDOM']['addEventListener']('input',()=>null),_0x54ee61['gecko']&&firefoxCopyCutHack(_0x3ea50f['contentDOM']['ownerDocument']);}['handleEvent'](_0x6e739d){eventBelongsToEditor(this['view'],_0x6e739d)&&!this['ignoreDuringComposition'](_0x6e739d)&&('keydown'==_0x6e739d['type']&&this['keydown'](_0x6e739d)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x6e739d['type'],_0x6e739d)):this['runHandlers'](_0x6e739d['type'],_0x6e739d)));}['runHandlers'](_0x4e905a,_0x333496){let _0x291c12=this['handlers'][_0x4e905a];if(_0x291c12){for(let _0x373bed of _0x291c12['observers'])_0x373bed(this['view'],_0x333496);for(let _0x3cf60b of _0x291c12['handlers']){if(_0x333496['defaultPrevented'])break;if(_0x3cf60b(this['view'],_0x333496)){_0x333496['preventDefault']();break;}}}}['ensureHandlers'](_0x8231d6){let _0x28ac0d=computeHandlers(_0x8231d6),_0x450605=this['handlers'],_0x331870=this['view']['contentDOM'];for(let _0x59b60c in _0x28ac0d)if('scroll'!=_0x59b60c){let _0x2503a5=!_0x28ac0d[_0x59b60c]['handlers']['length'],_0x333218=_0x450605[_0x59b60c];_0x333218&&_0x2503a5!=!_0x333218['handlers']['length']&&(_0x331870['removeEventListener'](_0x59b60c,this['handleEvent']),_0x333218=null),_0x333218||_0x331870['addEventListener'](_0x59b60c,this['handleEvent'],{'passive':_0x2503a5});}for(let _0x4b4ef9 in _0x450605)'scroll'==_0x4b4ef9||_0x28ac0d[_0x4b4ef9]||_0x331870['removeEventListener'](_0x4b4ef9,this['handleEvent']);this['handlers']=_0x28ac0d;}['keydown'](_0x4db35c){if(this['lastKeyCode']=_0x4db35c['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x4db35c['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x4db35c['keyCode']&&_0x29905c['indexOf'](_0x4db35c['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x54ee61['android']&&_0x54ee61['chrome']&&!_0x4db35c['synthetic']&&(0xd==_0x4db35c['keyCode']||0x8==_0x4db35c['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x4db35c['key'],_0x4db35c['keyCode']),!0x0;let _0x59b181;return!_0x54ee61['ios']||_0x4db35c['synthetic']||_0x4db35c['altKey']||_0x4db35c['metaKey']||!((_0x59b181=_0x1d7aeb['find'](_0x1bacf7=>_0x1bacf7['keyCode']==_0x4db35c['keyCode']))&&!_0x4db35c['ctrlKey']||_0x5a3abc['indexOf'](_0x4db35c['key'])>-0x1&&_0x4db35c['ctrlKey']&&!_0x4db35c['shiftKey'])?(0xe5!=_0x4db35c['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x59b181||_0x4db35c,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x261883){let _0x656f8e=this['pendingIOSKey'];return!!_0x656f8e&&(!('Enter'==_0x656f8e['key']&&_0x261883&&_0x261883['from']<_0x261883['to']&&/^\S+$/['test'](_0x261883['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,dispatchKey(this['view']['contentDOM'],_0x656f8e['key'],_0x656f8e['keyCode'],_0x656f8e instanceof KeyboardEvent?_0x656f8e:void 0x0)));}['ignoreDuringComposition'](_0x43d43a){return!(!/^key/['test'](_0x43d43a['type'])||_0x43d43a['synthetic'])&&(this['composing']>0x0||!!(_0x54ee61['safari']&&!_0x54ee61['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x5109ad){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x5109ad;}['update'](_0x51b1ed){this['view']['observer']['update'](_0x51b1ed),this['mouseSelection']&&this['mouseSelection']['update'](_0x51b1ed),this['draggedContent']&&_0x51b1ed['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x51b1ed['changes'])),_0x51b1ed['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x253c27(_0x382f0e,_0x36df4a){return(_0x4a0760,_0xd2468)=>{try{return _0x36df4a['call'](_0x382f0e,_0xd2468,_0x4a0760);}catch(_0x5d3578){logException(_0x4a0760['state'],_0x5d3578);}};}function computeHandlers(_0x3a64b8){let _0x5f3bc5=Object['create'](null);function _0x1b1baa(_0x11c9c6){return _0x5f3bc5[_0x11c9c6]||(_0x5f3bc5[_0x11c9c6]={'observers':[],'handlers':[]});}for(let _0x4720c1 of _0x3a64b8){let _0x477d15=_0x4720c1['spec'],_0x5309cf=_0x477d15&&_0x477d15['plugin']['domEventHandlers'],_0x132e3d=_0x477d15&&_0x477d15['plugin']['domEventObservers'];if(_0x5309cf)for(let _0x321c29 in _0x5309cf){let _0x2132f1=_0x5309cf[_0x321c29];_0x2132f1&&_0x1b1baa(_0x321c29)['handlers']['push'](_0x253c27(_0x4720c1['value'],_0x2132f1));}if(_0x132e3d)for(let _0x5183a5 in _0x132e3d){let _0x2e01ff=_0x132e3d[_0x5183a5];_0x2e01ff&&_0x1b1baa(_0x5183a5)['observers']['push'](_0x253c27(_0x4720c1['value'],_0x2e01ff));}}for(let _0x30ef2c in _0x1ee22e)_0x1b1baa(_0x30ef2c)['handlers']['push'](_0x1ee22e[_0x30ef2c]);for(let _0x5c0d20 in _0xe48fa2)_0x1b1baa(_0x5c0d20)['observers']['push'](_0xe48fa2[_0x5c0d20]);return _0x5f3bc5;}const _0x1d7aeb=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x5a3abc='dthko',_0x29905c=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1],_0x2d2740=0x6;function _0x28bd15(_0x12d7c5){return 0.7*Math['max'](0x0,_0x12d7c5)+0x8;}function dist(_0x34d229,_0x206a46){return Math['max'](Math['abs'](_0x34d229['clientX']-_0x206a46['clientX']),Math['abs'](_0x34d229['clientY']-_0x206a46['clientY']));}class MouseSelection{constructor(_0x390a2f,_0x10434e,_0x4c8fca,_0x1b9a1d){this['view']=_0x390a2f,this['startEvent']=_0x10434e,this['style']=_0x4c8fca,this['mustSelect']=_0x1b9a1d,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x10434e,this['scrollParents']=scrollableParents(_0x390a2f['contentDOM']),this['atoms']=_0x390a2f['state']['facet'](atomicRanges)['map'](_0x588675=>_0x588675(_0x390a2f));let _0x45b2bb=_0x390a2f['contentDOM']['ownerDocument'];_0x45b2bb['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x45b2bb['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x10434e['shiftKey'],this['multiple']=_0x390a2f['state']['facet'](EditorState['allowMultipleSelections'])&&addsSelectionRange(_0x390a2f,_0x10434e),this['dragging']=!(!isInPrimarySelection(_0x390a2f,_0x10434e)||0x1!=getClickType(_0x10434e))&&null;}['start'](_0x425db9){!0x1===this['dragging']&&this['select'](_0x425db9);}['move'](_0x163484){if(0x0==_0x163484['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&dist(this['startEvent'],_0x163484)<0xa)return;this['select'](this['lastEvent']=_0x163484);let _0x29e08b=0x0,_0x2c35b3=0x0,_0x38c04b=0x0,_0x1108fd=0x0,_0x3982a3=this['view']['win']['innerWidth'],_0x6123d3=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x38c04b,right:_0x3982a3}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x1108fd,bottom:_0x6123d3}=this['scrollParents']['y']['getBoundingClientRect']());let _0x1d516f=getScrollMargins(this['view']);_0x163484['clientX']-_0x1d516f['left']<=_0x38c04b+_0x2d2740?_0x29e08b=-_0x28bd15(_0x38c04b-_0x163484['clientX']):_0x163484['clientX']+_0x1d516f['right']>=_0x3982a3-_0x2d2740&&(_0x29e08b=_0x28bd15(_0x163484['clientX']-_0x3982a3)),_0x163484['clientY']-_0x1d516f['top']<=_0x1108fd+_0x2d2740?_0x2c35b3=-_0x28bd15(_0x1108fd-_0x163484['clientY']):_0x163484['clientY']+_0x1d516f['bottom']>=_0x6123d3-_0x2d2740&&(_0x2c35b3=_0x28bd15(_0x163484['clientY']-_0x6123d3)),this['setScrollSpeed'](_0x29e08b,_0x2c35b3);}['up'](_0xcf9b5d){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0xcf9b5d['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x1749df=this['view']['contentDOM']['ownerDocument'];_0x1749df['removeEventListener']('mousemove',this['move']),_0x1749df['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x2a9bba,_0x399dc1){this['scrollSpeed']={'x':_0x2a9bba,'y':_0x399dc1},_0x2a9bba||_0x399dc1?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x12cf15,y:_0x5c3a9b}=this['scrollSpeed'];_0x12cf15&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x12cf15,_0x12cf15=0x0),_0x5c3a9b&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x5c3a9b,_0x5c3a9b=0x0),(_0x12cf15||_0x5c3a9b)&&this['view']['win']['scrollBy'](_0x12cf15,_0x5c3a9b),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x135248){let {view:_0x3d02cf}=this,_0x3ed949=skipAtomsForSelection(this['atoms'],this['style']['get'](_0x135248,this['extend'],this['multiple']));!this['mustSelect']&&_0x3ed949['eq'](_0x3d02cf['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x3ed949,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x1f3a16){_0x1f3a16['transactions']['some'](_0x9e1e74=>_0x9e1e74['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x1f3a16)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}function addsSelectionRange(_0x243e8e,_0xb112db){let _0x240b85=_0x243e8e['state']['facet'](clickAddsSelectionRange);return _0x240b85['length']?_0x240b85[0x0](_0xb112db):_0x54ee61['mac']?_0xb112db['metaKey']:_0xb112db['ctrlKey'];}function dragMovesSelection(_0x1fa118,_0x18b18e){let _0xf58072=_0x1fa118['state']['facet'](dragMovesSelection$1);return _0xf58072['length']?_0xf58072[0x0](_0x18b18e):_0x54ee61['mac']?!_0x18b18e['altKey']:!_0x18b18e['ctrlKey'];}function isInPrimarySelection(_0x12895d,_0x197734){let {main:_0x4109cf}=_0x12895d['state']['selection'];if(_0x4109cf['empty'])return!0x1;let _0x210c4c=getSelection(_0x12895d['root']);if(!_0x210c4c||0x0==_0x210c4c['rangeCount'])return!0x0;let _0x4d541c=_0x210c4c['getRangeAt'](0x0)['getClientRects']();for(let _0x4ad529=0x0;_0x4ad529<_0x4d541c['length'];_0x4ad529++){let _0x5415ed=_0x4d541c[_0x4ad529];if(_0x5415ed['left']<=_0x197734['clientX']&&_0x5415ed['right']>=_0x197734['clientX']&&_0x5415ed['top']<=_0x197734['clientY']&&_0x5415ed['bottom']>=_0x197734['clientY'])return!0x0;}return!0x1;}function eventBelongsToEditor(_0x4366a2,_0x4cbf6a){if(!_0x4cbf6a['bubbles'])return!0x0;if(_0x4cbf6a['defaultPrevented'])return!0x1;for(let _0x4b90a1,_0x2c23ff=_0x4cbf6a['target'];_0x2c23ff!=_0x4366a2['contentDOM'];_0x2c23ff=_0x2c23ff['parentNode'])if(!_0x2c23ff||0xb==_0x2c23ff['nodeType']||(_0x4b90a1=ContentView['get'](_0x2c23ff))&&_0x4b90a1['ignoreEvent'](_0x4cbf6a))return!0x1;return!0x0;}const _0x1ee22e=Object['create'](null),_0xe48fa2=Object['create'](null),_0x1fb239=_0x54ee61['ie']&&_0x54ee61['ie_version']<0xf||_0x54ee61['ios']&&_0x54ee61['webkit_version']<0x25c;function capturePaste(_0xe60b49){let _0x571ef4=_0xe60b49['dom']['parentNode'];if(!_0x571ef4)return;let _0x22221e=_0x571ef4['appendChild'](document['createElement']('textarea'));_0x22221e['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x22221e['focus'](),setTimeout(()=>{_0xe60b49['focus'](),_0x22221e['remove'](),doPaste(_0xe60b49,_0x22221e['value']);},0x32);}function textFilter(_0x44795e,_0x4a9ba4,_0x3af898){for(let _0xb093fb of _0x44795e['facet'](_0x4a9ba4))_0x3af898=_0xb093fb(_0x3af898,_0x44795e);return _0x3af898;}function doPaste(_0x53238a,_0x559cdb){_0x559cdb=textFilter(_0x53238a['state'],clipboardInputFilter,_0x559cdb);let _0x5565eb,{state:_0x513879}=_0x53238a,_0x1d19c5=0x1,_0x1116ff=_0x513879['toText'](_0x559cdb),_0x296862=_0x1116ff['lines']==_0x513879['selection']['ranges']['length'],_0x10b9ed=null!=lastLinewiseCopy&&_0x513879['selection']['ranges']['every'](_0x3c5b37=>_0x3c5b37['empty'])&&lastLinewiseCopy==_0x1116ff['toString']();if(_0x10b9ed){let _0x5e7120=-0x1;_0x5565eb=_0x513879['changeByRange'](_0x3e740e=>{let _0x47294c=_0x513879['doc']['lineAt'](_0x3e740e['from']);if(_0x47294c['from']==_0x5e7120)return{'range':_0x3e740e};_0x5e7120=_0x47294c['from'];let _0x22dc9c=_0x513879['toText']((_0x296862?_0x1116ff['line'](_0x1d19c5++)['text']:_0x559cdb)+_0x513879['lineBreak']);return{'changes':{'from':_0x47294c['from'],'insert':_0x22dc9c},'range':EditorSelection['cursor'](_0x3e740e['from']+_0x22dc9c['length'])};});}else _0x5565eb=_0x296862?_0x513879['changeByRange'](_0x2b69c1=>{let _0x2d1eff=_0x1116ff['line'](_0x1d19c5++);return{'changes':{'from':_0x2b69c1['from'],'to':_0x2b69c1['to'],'insert':_0x2d1eff['text']},'range':EditorSelection['cursor'](_0x2b69c1['from']+_0x2d1eff['length'])};}):_0x513879['replaceSelection'](_0x1116ff);_0x53238a['dispatch'](_0x5565eb,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x19bbb2(_0x284cf1,_0x512ec9,_0x338f01,_0xe4fc5d){if(0x1==_0xe4fc5d)return EditorSelection['cursor'](_0x512ec9,_0x338f01);if(0x2==_0xe4fc5d)return groupAt(_0x284cf1['state'],_0x512ec9,_0x338f01);{let _0x4a05bc=_0x5e4138['find'](_0x284cf1['docView'],_0x512ec9),_0x29128a=_0x284cf1['state']['doc']['lineAt'](_0x4a05bc?_0x4a05bc['posAtEnd']:_0x512ec9),_0x2470dc=_0x4a05bc?_0x4a05bc['posAtStart']:_0x29128a['from'],_0xe94d83=_0x4a05bc?_0x4a05bc['posAtEnd']:_0x29128a['to'];return _0xe94d83<_0x284cf1['state']['doc']['length']&&_0xe94d83==_0x29128a['to']&&_0xe94d83++,EditorSelection['range'](_0x2470dc,_0xe94d83);}}_0xe48fa2['scroll']=_0x424e10=>{_0x424e10['inputState']['lastScrollTop']=_0x424e10['scrollDOM']['scrollTop'],_0x424e10['inputState']['lastScrollLeft']=_0x424e10['scrollDOM']['scrollLeft'];},_0x1ee22e['keydown']=(_0x109040,_0x12bb78)=>(_0x109040['inputState']['setSelectionOrigin']('select'),0x1b==_0x12bb78['keyCode']&&0x0!=_0x109040['inputState']['tabFocusMode']&&(_0x109040['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0xe48fa2['touchstart']=(_0x27bc63,_0x190369)=>{_0x27bc63['inputState']['lastTouchTime']=Date['now'](),_0x27bc63['inputState']['setSelectionOrigin']('select.pointer');},_0xe48fa2['touchmove']=_0x216bc1=>{_0x216bc1['inputState']['setSelectionOrigin']('select.pointer');},_0x1ee22e['mousedown']=(_0x1acecc,_0x4680c5)=>{if(_0x1acecc['observer']['flush'](),_0x1acecc['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x2221ad=null;for(let _0x375bad of _0x1acecc['state']['facet'](mouseSelectionStyle))if(_0x2221ad=_0x375bad(_0x1acecc,_0x4680c5),_0x2221ad)break;if(_0x2221ad||0x0!=_0x4680c5['button']||(_0x2221ad=basicMouseSelection(_0x1acecc,_0x4680c5)),_0x2221ad){let _0x3eaff0=!_0x1acecc['hasFocus'];_0x1acecc['inputState']['startMouseSelection'](new MouseSelection(_0x1acecc,_0x4680c5,_0x2221ad,_0x3eaff0)),_0x3eaff0&&_0x1acecc['observer']['ignore'](()=>{focusPreventScroll(_0x1acecc['contentDOM']);let _0x47ed95=_0x1acecc['root']['activeElement'];_0x47ed95&&!_0x47ed95['contains'](_0x1acecc['contentDOM'])&&_0x47ed95['blur']();});let _0xea3c7c=_0x1acecc['inputState']['mouseSelection'];if(_0xea3c7c)return _0xea3c7c['start'](_0x4680c5),!0x1===_0xea3c7c['dragging'];}else _0x1acecc['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x1a73ad=(_0x3ef6b9,_0x5d508d,_0x3db6d5)=>_0x5d508d>=_0x3db6d5['top']&&_0x5d508d<=_0x3db6d5['bottom']&&_0x3ef6b9>=_0x3db6d5['left']&&_0x3ef6b9<=_0x3db6d5['right'];function findPositionSide(_0x437823,_0x20f31f,_0x369424,_0x5d1633){let _0x3db745=_0x5e4138['find'](_0x437823['docView'],_0x20f31f);if(!_0x3db745)return 0x1;let _0x40bf67=_0x20f31f-_0x3db745['posAtStart'];if(0x0==_0x40bf67)return 0x1;if(_0x40bf67==_0x3db745['length'])return-0x1;let _0x27405a=_0x3db745['coordsAt'](_0x40bf67,-0x1);if(_0x27405a&&_0x1a73ad(_0x369424,_0x5d1633,_0x27405a))return-0x1;let _0x2e6ee8=_0x3db745['coordsAt'](_0x40bf67,0x1);return _0x2e6ee8&&_0x1a73ad(_0x369424,_0x5d1633,_0x2e6ee8)?0x1:_0x27405a&&_0x27405a['bottom']>=_0x5d1633?-0x1:0x1;}function _0x347041(_0x20f939,_0xf8235c){let _0x93b33d=_0x20f939['posAtCoords']({'x':_0xf8235c['clientX'],'y':_0xf8235c['clientY']},!0x1);return{'pos':_0x93b33d,'bias':findPositionSide(_0x20f939,_0x93b33d,_0xf8235c['clientX'],_0xf8235c['clientY'])};}const BadMouseDetail=_0x54ee61['ie']&&_0x54ee61['ie_version']<=0xb;let lastMouseDown=null,lastMouseDownCount=0x0,lastMouseDownTime=0x0;function getClickType(_0xf431d4){if(!BadMouseDetail)return _0xf431d4['detail'];let _0x2aa6aa=lastMouseDown,_0x2461a7=lastMouseDownTime;return lastMouseDown=_0xf431d4,lastMouseDownTime=Date['now'](),lastMouseDownCount=!_0x2aa6aa||_0x2461a7>Date['now']()-0x190&&Math['abs'](_0x2aa6aa['clientX']-_0xf431d4['clientX'])<0x2&&Math['abs'](_0x2aa6aa['clientY']-_0xf431d4['clientY'])<0x2?(lastMouseDownCount+0x1)%0x3:0x1;}function basicMouseSelection(_0x19e2a2,_0x558480){let _0x2098bc=_0x347041(_0x19e2a2,_0x558480),_0x101332=getClickType(_0x558480),_0x1d637f=_0x19e2a2['state']['selection'];return{'update'(_0x40c541){_0x40c541['docChanged']&&(_0x2098bc['pos']=_0x40c541['changes']['mapPos'](_0x2098bc['pos']),_0x1d637f=_0x1d637f['map'](_0x40c541['changes']));},'get'(_0x4aa94e,_0xb7f230,_0x5a9719){let _0x2c1a3e,_0x1fcadb=_0x347041(_0x19e2a2,_0x4aa94e),_0x376f1c=_0x19bbb2(_0x19e2a2,_0x1fcadb['pos'],_0x1fcadb['bias'],_0x101332);if(_0x2098bc['pos']!=_0x1fcadb['pos']&&!_0xb7f230){let _0x43725c=_0x19bbb2(_0x19e2a2,_0x2098bc['pos'],_0x2098bc['bias'],_0x101332),_0x76cde1=Math['min'](_0x43725c['from'],_0x376f1c['from']),_0x436171=Math['max'](_0x43725c['to'],_0x376f1c['to']);_0x376f1c=_0x76cde1<_0x376f1c['from']?EditorSelection['range'](_0x76cde1,_0x436171):EditorSelection['range'](_0x436171,_0x76cde1);}return _0xb7f230?_0x1d637f['replaceRange'](_0x1d637f['main']['extend'](_0x376f1c['from'],_0x376f1c['to'])):_0x5a9719&&0x1==_0x101332&&_0x1d637f['ranges']['length']>0x1&&(_0x2c1a3e=_0x2f98ac(_0x1d637f,_0x1fcadb['pos']))?_0x2c1a3e:_0x5a9719?_0x1d637f['addRange'](_0x376f1c):EditorSelection['create']([_0x376f1c]);}};}function _0x2f98ac(_0x423c0f,_0x3fdad1){for(let _0x2ea408=0x0;_0x2ea408<_0x423c0f['ranges']['length'];_0x2ea408++){let {from:_0x11ae76,to:_0x251d63}=_0x423c0f['ranges'][_0x2ea408];if(_0x11ae76<=_0x3fdad1&&_0x251d63>=_0x3fdad1)return EditorSelection['create'](_0x423c0f['ranges']['slice'](0x0,_0x2ea408)['concat'](_0x423c0f['ranges']['slice'](_0x2ea408+0x1)),_0x423c0f['mainIndex']==_0x2ea408?0x0:_0x423c0f['mainIndex']-(_0x423c0f['mainIndex']>_0x2ea408?0x1:0x0));}return null;}function dropText(_0x47b75a,_0x5a3adb,_0x2a4e05,_0x4b6ca8){if(!(_0x2a4e05=textFilter(_0x47b75a['state'],clipboardInputFilter,_0x2a4e05)))return;let _0xc3b6a3=_0x47b75a['posAtCoords']({'x':_0x5a3adb['clientX'],'y':_0x5a3adb['clientY']},!0x1),{draggedContent:_0x2bf1c3}=_0x47b75a['inputState'],_0x23ff5a=_0x4b6ca8&&_0x2bf1c3&&dragMovesSelection(_0x47b75a,_0x5a3adb)?{'from':_0x2bf1c3['from'],'to':_0x2bf1c3['to']}:null,_0x329e4f={'from':_0xc3b6a3,'insert':_0x2a4e05},_0x40e43d=_0x47b75a['state']['changes'](_0x23ff5a?[_0x23ff5a,_0x329e4f]:_0x329e4f);_0x47b75a['focus'](),_0x47b75a['dispatch']({'changes':_0x40e43d,'selection':{'anchor':_0x40e43d['mapPos'](_0xc3b6a3,-0x1),'head':_0x40e43d['mapPos'](_0xc3b6a3,0x1)},'userEvent':_0x23ff5a?'move.drop':'input.drop'}),_0x47b75a['inputState']['draggedContent']=null;}function captureCopy(_0x1c709b,_0x52d4ce){let _0x52b185=_0x1c709b['dom']['parentNode'];if(!_0x52b185)return;let _0x46d7d7=_0x52b185['appendChild'](document['createElement']('textarea'));_0x46d7d7['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x46d7d7['value']=_0x52d4ce,_0x46d7d7['focus'](),_0x46d7d7['selectionEnd']=_0x52d4ce['length'],_0x46d7d7['selectionStart']=0x0,setTimeout(()=>{_0x46d7d7['remove'](),_0x1c709b['focus']();},0x32);}function _0x5ea5be(_0x36cb2d){let _0x4b8d37=[],_0x34f6a8=[],_0xa105c8=!0x1;for(let _0xa41410 of _0x36cb2d['selection']['ranges'])_0xa41410['empty']||(_0x4b8d37['push'](_0x36cb2d['sliceDoc'](_0xa41410['from'],_0xa41410['to'])),_0x34f6a8['push'](_0xa41410));if(!_0x4b8d37['length']){let _0x1b8196=-0x1;for(let {from:_0x30941e}of _0x36cb2d['selection']['ranges']){let _0x22d9bb=_0x36cb2d['doc']['lineAt'](_0x30941e);_0x22d9bb['number']>_0x1b8196&&(_0x4b8d37['push'](_0x22d9bb['text']),_0x34f6a8['push']({'from':_0x22d9bb['from'],'to':Math['min'](_0x36cb2d['doc']['length'],_0x22d9bb['to']+0x1)})),_0x1b8196=_0x22d9bb['number'];}_0xa105c8=!0x0;}return{'text':textFilter(_0x36cb2d,clipboardOutputFilter,_0x4b8d37['join'](_0x36cb2d['lineBreak'])),'ranges':_0x34f6a8,'linewise':_0xa105c8};}_0x1ee22e['dragstart']=(_0x2c31c4,_0x3099d1)=>{let {selection:{main:_0x378b80}}=_0x2c31c4['state'];if(_0x3099d1['target']['draggable']){let _0x5ecdab=_0x2c31c4['docView']['nearest'](_0x3099d1['target']);if(_0x5ecdab&&_0x5ecdab['isWidget']){let _0x4fd9ba=_0x5ecdab['posAtStart'],_0x51a7a8=_0x4fd9ba+_0x5ecdab['length'];(_0x4fd9ba>=_0x378b80['to']||_0x51a7a8<=_0x378b80['from'])&&(_0x378b80=EditorSelection['range'](_0x4fd9ba,_0x51a7a8));}}let {inputState:_0x225224}=_0x2c31c4;return _0x225224['mouseSelection']&&(_0x225224['mouseSelection']['dragging']=!0x0),_0x225224['draggedContent']=_0x378b80,_0x3099d1['dataTransfer']&&(_0x3099d1['dataTransfer']['setData']('Text',textFilter(_0x2c31c4['state'],clipboardOutputFilter,_0x2c31c4['state']['sliceDoc'](_0x378b80['from'],_0x378b80['to']))),_0x3099d1['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x1ee22e['dragend']=_0xdbe06e=>(_0xdbe06e['inputState']['draggedContent']=null,!0x1),_0x1ee22e['drop']=(_0x3e070f,_0x991a20)=>{if(!_0x991a20['dataTransfer'])return!0x1;if(_0x3e070f['state']['readOnly'])return!0x0;let _0x6b2796=_0x991a20['dataTransfer']['files'];if(_0x6b2796&&_0x6b2796['length']){let _0x29f04e=Array(_0x6b2796['length']),_0x395117=0x0,_0x59bd97=()=>{++_0x395117==_0x6b2796['length']&&dropText(_0x3e070f,_0x991a20,_0x29f04e['filter'](_0x3c128c=>null!=_0x3c128c)['join'](_0x3e070f['state']['lineBreak']),!0x1);};for(let _0x4ccd3e=0x0;_0x4ccd3e<_0x6b2796['length'];_0x4ccd3e++){let _0x37fa26=new FileReader();_0x37fa26['onerror']=_0x59bd97,_0x37fa26['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x37fa26['result'])||(_0x29f04e[_0x4ccd3e]=_0x37fa26['result']),_0x59bd97();},_0x37fa26['readAsText'](_0x6b2796[_0x4ccd3e]);}return!0x0;}{let _0x2fbcfd=_0x991a20['dataTransfer']['getData']('Text');if(_0x2fbcfd)return dropText(_0x3e070f,_0x991a20,_0x2fbcfd,!0x0),!0x0;}return!0x1;},_0x1ee22e['paste']=(_0x15d22a,_0x55adb9)=>{if(_0x15d22a['state']['readOnly'])return!0x0;_0x15d22a['observer']['flush']();let _0xc57100=_0x1fb239?null:_0x55adb9['clipboardData'];return _0xc57100?(doPaste(_0x15d22a,_0xc57100['getData']('text/plain')||_0xc57100['getData']('text/uri-list')),!0x0):(capturePaste(_0x15d22a),!0x1);};let lastLinewiseCopy=null;_0x1ee22e['copy']=_0x1ee22e['cut']=(_0x1d302f,_0x1450d8)=>{let {text:_0x5cc4a4,ranges:_0x41fdb9,linewise:_0x340acf}=_0x5ea5be(_0x1d302f['state']);if(!_0x5cc4a4&&!_0x340acf)return!0x1;lastLinewiseCopy=_0x340acf?_0x5cc4a4:null,'cut'!=_0x1450d8['type']||_0x1d302f['state']['readOnly']||_0x1d302f['dispatch']({'changes':_0x41fdb9,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x1da106=_0x1fb239?null:_0x1450d8['clipboardData'];return _0x1da106?(_0x1da106['clearData'](),_0x1da106['setData']('text/plain',_0x5cc4a4),!0x0):(captureCopy(_0x1d302f,_0x5cc4a4),!0x1);};const _0x23900a=Annotation['define']();function focusChangeTransaction(_0x7481a8,_0x5b7151){let _0x420adc=[];for(let _0x350ad1 of _0x7481a8['facet'](focusChangeEffect)){let _0x1220d9=_0x350ad1(_0x7481a8,_0x5b7151);_0x1220d9&&_0x420adc['push'](_0x1220d9);}return _0x420adc['length']?_0x7481a8['update']({'effects':_0x420adc,'annotations':_0x23900a['of'](!0x0)}):null;}function updateForFocusChange(_0xcdf6a){setTimeout(()=>{let _0x3d05a9=_0xcdf6a['hasFocus'];if(_0x3d05a9!=_0xcdf6a['inputState']['notifiedFocused']){let _0x3b1850=focusChangeTransaction(_0xcdf6a['state'],_0x3d05a9);_0x3b1850?_0xcdf6a['dispatch'](_0x3b1850):_0xcdf6a['update']([]);}},0xa);}_0xe48fa2['focus']=_0x169f2f=>{_0x169f2f['inputState']['lastFocusTime']=Date['now'](),_0x169f2f['scrollDOM']['scrollTop']||!_0x169f2f['inputState']['lastScrollTop']&&!_0x169f2f['inputState']['lastScrollLeft']||(_0x169f2f['scrollDOM']['scrollTop']=_0x169f2f['inputState']['lastScrollTop'],_0x169f2f['scrollDOM']['scrollLeft']=_0x169f2f['inputState']['lastScrollLeft']),updateForFocusChange(_0x169f2f);},_0xe48fa2['blur']=_0x4934ae=>{_0x4934ae['observer']['clearSelectionRange'](),updateForFocusChange(_0x4934ae);},_0xe48fa2['compositionstart']=_0xe48fa2['compositionupdate']=_0x4c5094=>{_0x4c5094['observer']['editContext']||(null==_0x4c5094['inputState']['compositionFirstChange']&&(_0x4c5094['inputState']['compositionFirstChange']=!0x0),_0x4c5094['inputState']['composing']<0x0&&(_0x4c5094['inputState']['composing']=0x0));},_0xe48fa2['compositionend']=_0x4cc683=>{_0x4cc683['observer']['editContext']||(_0x4cc683['inputState']['composing']=-0x1,_0x4cc683['inputState']['compositionEndedAt']=Date['now'](),_0x4cc683['inputState']['compositionPendingKey']=!0x0,_0x4cc683['inputState']['compositionPendingChange']=_0x4cc683['observer']['pendingRecords']()['length']>0x0,_0x4cc683['inputState']['compositionFirstChange']=null,_0x54ee61['chrome']&&_0x54ee61['android']?_0x4cc683['observer']['flushSoon']():_0x4cc683['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x4cc683['observer']['flush']()):setTimeout(()=>{_0x4cc683['inputState']['composing']<0x0&&_0x4cc683['docView']['hasComposition']&&_0x4cc683['update']([]);},0x32));},_0xe48fa2['contextmenu']=_0xcda0ad=>{_0xcda0ad['inputState']['lastContextMenu']=Date['now']();},_0x1ee22e['beforeinput']=(_0x322909,_0x165b40)=>{var _0x257823,_0x15d76b;if('insertReplacementText'==_0x165b40['inputType']&&_0x322909['observer']['editContext']){let _0x37e4cf=null===(_0x257823=_0x165b40['dataTransfer'])||void 0x0===_0x257823?void 0x0:_0x257823['getData']('text/plain'),_0x8dcc24=_0x165b40['getTargetRanges']();if(_0x37e4cf&&_0x8dcc24['length']){let _0x2d9802=_0x8dcc24[0x0],_0x246e91=_0x322909['posAtDOM'](_0x2d9802['startContainer'],_0x2d9802['startOffset']),_0x3c1bfe=_0x322909['posAtDOM'](_0x2d9802['endContainer'],_0x2d9802['endOffset']);return _0x4a023d(_0x322909,{'from':_0x246e91,'to':_0x3c1bfe,'insert':_0x322909['state']['toText'](_0x37e4cf)},null),!0x0;}}let _0x72960a;if(_0x54ee61['chrome']&&_0x54ee61['android']&&(_0x72960a=_0x1d7aeb['find'](_0x1c5682=>_0x1c5682['inputType']==_0x165b40['inputType']))&&(_0x322909['observer']['delayAndroidKey'](_0x72960a['key'],_0x72960a['keyCode']),'Backspace'==_0x72960a['key']||'Delete'==_0x72960a['key'])){let _0x539a90=(null===(_0x15d76b=window['visualViewport'])||void 0x0===_0x15d76b?void 0x0:_0x15d76b['height'])||0x0;setTimeout(()=>{var _0x63e1af;((null===(_0x63e1af=window['visualViewport'])||void 0x0===_0x63e1af?void 0x0:_0x63e1af['height'])||0x0)>_0x539a90+0xa&&_0x322909['hasFocus']&&(_0x322909['contentDOM']['blur'](),_0x322909['focus']());},0x64);}return _0x54ee61['ios']&&'deleteContentForward'==_0x165b40['inputType']&&_0x322909['observer']['flushSoon'](),_0x54ee61['safari']&&'insertText'==_0x165b40['inputType']&&_0x322909['inputState']['composing']>=0x0&&setTimeout(()=>_0xe48fa2['compositionend'](_0x322909,_0x165b40),0x14),!0x1;};const _0xdc0ede=new Set();function firefoxCopyCutHack(_0x27dd67){_0xdc0ede['has'](_0x27dd67)||(_0xdc0ede['add'](_0x27dd67),_0x27dd67['addEventListener']('copy',()=>{}),_0x27dd67['addEventListener']('cut',()=>{}));}const wrappingWhiteSpace=['pre-wrap','normal','pre-line','break-spaces'];let heightChangeFlag=!0x1;function clearHeightChangeFlag(){heightChangeFlag=!0x1;}class HeightOracle{constructor(_0x518b05){this['lineWrapping']=_0x518b05,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x1c5222,_0x5ecddb){let _0x2ad966=this['doc']['lineAt'](_0x5ecddb)['number']-this['doc']['lineAt'](_0x1c5222)['number']+0x1;return this['lineWrapping']&&(_0x2ad966+=Math['max'](0x0,Math['ceil']((_0x5ecddb-_0x1c5222-_0x2ad966*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x2ad966;}['heightForLine'](_0x54aa9b){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x54aa9b-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0xd1a070){return this['doc']=_0xd1a070,this;}['mustRefreshForWrapping'](_0x454cef){return wrappingWhiteSpace['indexOf'](_0x454cef)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0xdd7007){let _0xa8e469=!0x1;for(let _0x98a4db=0x0;_0x98a4db<_0xdd7007['length'];_0x98a4db++){let _0x389951=_0xdd7007[_0x98a4db];_0x389951<0x0?_0x98a4db++:this['heightSamples'][Math['floor'](0xa*_0x389951)]||(_0xa8e469=!0x0,this['heightSamples'][Math['floor'](0xa*_0x389951)]=!0x0);}return _0xa8e469;}['refresh'](_0x2a414a,_0x147c43,_0xb265f,_0x6b9be,_0x4eb1eb,_0x49a77a){let _0x52cbe6=wrappingWhiteSpace['indexOf'](_0x2a414a)>-0x1,_0x407e85=Math['round'](_0x147c43)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x52cbe6;if(this['lineWrapping']=_0x52cbe6,this['lineHeight']=_0x147c43,this['charWidth']=_0xb265f,this['textHeight']=_0x6b9be,this['lineLength']=_0x4eb1eb,_0x407e85){this['heightSamples']={};for(let _0x591cdf=0x0;_0x591cdf<_0x49a77a['length'];_0x591cdf++){let _0x1668ce=_0x49a77a[_0x591cdf];_0x1668ce<0x0?_0x591cdf++:this['heightSamples'][Math['floor'](0xa*_0x1668ce)]=!0x0;}}return _0x407e85;}}class MeasuredHeights{constructor(_0x2e9b2c,_0x3d75ed){this['from']=_0x2e9b2c,this['heights']=_0x3d75ed,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x2d18d9{constructor(_0x52e33c,_0x20fb9e,_0x357b70,_0x350337,_0x2446c3){this['from']=_0x52e33c,this['length']=_0x20fb9e,this['top']=_0x357b70,this['height']=_0x350337,this['_content']=_0x2446c3;}get['type'](){return'number'==typeof this['_content']?_0x30e04f['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 PointDecoration?this['_content']['widget']:null;}get['widgetLineBreaks'](){return'number'==typeof this['_content']?this['_content']:0x0;}['join'](_0x496047){let _0x55b367=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x496047['_content'])?_0x496047['_content']:[_0x496047]);return new _0x2d18d9(this['from'],this['length']+_0x496047['length'],this['top'],this['height']+_0x496047['height'],_0x55b367);}}var _0x5333db=function(_0x359183){return _0x359183[_0x359183['ByPos']=0x0]='ByPos',_0x359183[_0x359183['ByHeight']=0x1]='ByHeight',_0x359183[_0x359183['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x359183;}(_0x5333db||(_0x5333db={}));const _0x682761=0.001;class HeightMap{constructor(_0x26dc40,_0x145aae,_0x325992=0x2){this['length']=_0x26dc40,this['height']=_0x145aae,this['flags']=_0x325992;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x338bbf){this['flags']=(_0x338bbf?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x546a5d){this['height']!=_0x546a5d&&(Math['abs'](this['height']-_0x546a5d)>_0x682761&&(heightChangeFlag=!0x0),this['height']=_0x546a5d);}['replace'](_0x58b781,_0x54e7e3,_0x2f9907){return HeightMap['of'](_0x2f9907);}['decomposeLeft'](_0x2d272a,_0x429b5d){_0x429b5d['push'](this);}['decomposeRight'](_0x2e895d,_0x415cc3){_0x415cc3['push'](this);}['applyChanges'](_0x45d051,_0x47f083,_0x33253c,_0xb5d3fb){let _0x3dabe1=this,_0x337483=_0x33253c['doc'];for(let _0x1ebe00=_0xb5d3fb['length']-0x1;_0x1ebe00>=0x0;_0x1ebe00--){let {fromA:_0x5b5fa7,toA:_0x49b279,fromB:_0x127cd8,toB:_0x67e9e2}=_0xb5d3fb[_0x1ebe00],_0x4a9ddf=_0x3dabe1['lineAt'](_0x5b5fa7,_0x5333db['ByPosNoHeight'],_0x33253c['setDoc'](_0x47f083),0x0,0x0),_0x14c9b3=_0x4a9ddf['to']>=_0x49b279?_0x4a9ddf:_0x3dabe1['lineAt'](_0x49b279,_0x5333db['ByPosNoHeight'],_0x33253c,0x0,0x0);for(_0x67e9e2+=_0x14c9b3['to']-_0x49b279,_0x49b279=_0x14c9b3['to'];_0x1ebe00>0x0&&_0x4a9ddf['from']<=_0xb5d3fb[_0x1ebe00-0x1]['toA'];)_0x5b5fa7=_0xb5d3fb[_0x1ebe00-0x1]['fromA'],_0x127cd8=_0xb5d3fb[_0x1ebe00-0x1]['fromB'],_0x1ebe00--,_0x5b5fa7<_0x4a9ddf['from']&&(_0x4a9ddf=_0x3dabe1['lineAt'](_0x5b5fa7,_0x5333db['ByPosNoHeight'],_0x33253c,0x0,0x0));_0x127cd8+=_0x4a9ddf['from']-_0x5b5fa7,_0x5b5fa7=_0x4a9ddf['from'];let _0x14e027=_0x1b83ea['build'](_0x33253c['setDoc'](_0x337483),_0x45d051,_0x127cd8,_0x67e9e2);_0x3dabe1=_0x32f421(_0x3dabe1,_0x3dabe1['replace'](_0x5b5fa7,_0x49b279,_0x14e027));}return _0x3dabe1['updateHeight'](_0x33253c,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x1033bb){if(0x1==_0x1033bb['length'])return _0x1033bb[0x0];let _0x1a48d5=0x0,_0x103eac=_0x1033bb['length'],_0x1c3763=0x0,_0x380a8f=0x0;for(;;)if(_0x1a48d5==_0x103eac){if(_0x1c3763>0x2*_0x380a8f){let _0x5ced3a=_0x1033bb[_0x1a48d5-0x1];_0x5ced3a['break']?_0x1033bb['splice'](--_0x1a48d5,0x1,_0x5ced3a['left'],null,_0x5ced3a['right']):_0x1033bb['splice'](--_0x1a48d5,0x1,_0x5ced3a['left'],_0x5ced3a['right']),_0x103eac+=0x1+_0x5ced3a['break'],_0x1c3763-=_0x5ced3a['size'];}else{if(!(_0x380a8f>0x2*_0x1c3763))break;{let _0x4cce74=_0x1033bb[_0x103eac];_0x4cce74['break']?_0x1033bb['splice'](_0x103eac,0x1,_0x4cce74['left'],null,_0x4cce74['right']):_0x1033bb['splice'](_0x103eac,0x1,_0x4cce74['left'],_0x4cce74['right']),_0x103eac+=0x2+_0x4cce74['break'],_0x380a8f-=_0x4cce74['size'];}}}else{if(_0x1c3763<_0x380a8f){let _0x4b74c9=_0x1033bb[_0x1a48d5++];_0x4b74c9&&(_0x1c3763+=_0x4b74c9['size']);}else{let _0x98bd6b=_0x1033bb[--_0x103eac];_0x98bd6b&&(_0x380a8f+=_0x98bd6b['size']);}}let _0x3afb2e=0x0;return null==_0x1033bb[_0x1a48d5-0x1]?(_0x3afb2e=0x1,_0x1a48d5--):null==_0x1033bb[_0x1a48d5]&&(_0x3afb2e=0x1,_0x103eac++),new HeightMapBranch(HeightMap['of'](_0x1033bb['slice'](0x0,_0x1a48d5)),_0x3afb2e,HeightMap['of'](_0x1033bb['slice'](_0x103eac)));}}function _0x32f421(_0x578876,_0x361ebc){return _0x578876==_0x361ebc?_0x578876:(_0x578876['constructor']!=_0x361ebc['constructor']&&(heightChangeFlag=!0x0),_0x361ebc);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0xabd63a,_0x432acb,_0x58378b){super(_0xabd63a,_0x432acb),this['deco']=_0x58378b;}['blockAt'](_0x492778,_0xee05ab,_0x101022,_0x1bcc7f){return new _0x2d18d9(_0x1bcc7f,this['length'],_0x101022,this['height'],this['deco']||0x0);}['lineAt'](_0x1875fe,_0xebea92,_0x4251d5,_0x222830,_0x48cbad){return this['blockAt'](0x0,_0x4251d5,_0x222830,_0x48cbad);}['forEachLine'](_0x264165,_0x4761e2,_0x22841d,_0x421fd5,_0x353da5,_0x170740){_0x264165<=_0x353da5+this['length']&&_0x4761e2>=_0x353da5&&_0x170740(this['blockAt'](0x0,_0x22841d,_0x421fd5,_0x353da5));}['updateHeight'](_0x11b685,_0x400cd1=0x0,_0x18dca0=!0x1,_0x3cf5e6){return _0x3cf5e6&&_0x3cf5e6['from']<=_0x400cd1&&_0x3cf5e6['more']&&this['setHeight'](_0x3cf5e6['heights'][_0x3cf5e6['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x20c790,_0x59cb76){super(_0x20c790,_0x59cb76,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x5686c5,_0x2ea9b9,_0x5e4e2b,_0x16aef3){return new _0x2d18d9(_0x16aef3,this['length'],_0x5e4e2b,this['height'],this['breaks']);}['replace'](_0x35b79b,_0xae5d84,_0x355fde){let _0xdc2f8b=_0x355fde[0x0];return 0x1==_0x355fde['length']&&(_0xdc2f8b instanceof HeightMapText||_0xdc2f8b instanceof HeightMapGap&&0x4&_0xdc2f8b['flags'])&&Math['abs'](this['length']-_0xdc2f8b['length'])<0xa?(_0xdc2f8b instanceof HeightMapGap?_0xdc2f8b=new HeightMapText(_0xdc2f8b['length'],this['height']):_0xdc2f8b['height']=this['height'],this['outdated']||(_0xdc2f8b['outdated']=!0x1),_0xdc2f8b):HeightMap['of'](_0x355fde);}['updateHeight'](_0x2049ce,_0x3f10f7=0x0,_0x556314=!0x1,_0x3e394b){return _0x3e394b&&_0x3e394b['from']<=_0x3f10f7&&_0x3e394b['more']?this['setHeight'](_0x3e394b['heights'][_0x3e394b['index']++]):(_0x556314||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x2049ce['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x2049ce['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x50d8a3){super(_0x50d8a3,0x0);}['heightMetrics'](_0x6524cb,_0x4333c0){let _0x255979,_0x36fc1a=_0x6524cb['doc']['lineAt'](_0x4333c0)['number'],_0x4a2e37=_0x6524cb['doc']['lineAt'](_0x4333c0+this['length'])['number'],_0x185ffe=_0x4a2e37-_0x36fc1a+0x1,_0x5adaa7=0x0;if(_0x6524cb['lineWrapping']){let _0x16bc1a=Math['min'](this['height'],_0x6524cb['lineHeight']*_0x185ffe);_0x255979=_0x16bc1a/_0x185ffe,this['length']>_0x185ffe+0x1&&(_0x5adaa7=(this['height']-_0x16bc1a)/(this['length']-_0x185ffe-0x1));}else _0x255979=this['height']/_0x185ffe;return{'firstLine':_0x36fc1a,'lastLine':_0x4a2e37,'perLine':_0x255979,'perChar':_0x5adaa7};}['blockAt'](_0x5c804b,_0x3ce42a,_0x2a0d3e,_0xa539ff){let {firstLine:_0x47fdda,lastLine:_0x3f53eb,perLine:_0x58c6da,perChar:_0xc5bcd}=this['heightMetrics'](_0x3ce42a,_0xa539ff);if(_0x3ce42a['lineWrapping']){let _0x2931b3=_0xa539ff+(_0x5c804b<_0x3ce42a['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x5c804b-_0x2a0d3e)/this['height']))*this['length'])),_0x6eda11=_0x3ce42a['doc']['lineAt'](_0x2931b3),_0x4cf0d3=_0x58c6da+_0x6eda11['length']*_0xc5bcd,_0x305e2a=Math['max'](_0x2a0d3e,_0x5c804b-_0x4cf0d3/0x2);return new _0x2d18d9(_0x6eda11['from'],_0x6eda11['length'],_0x305e2a,_0x4cf0d3,0x0);}{let _0x25f497=Math['max'](0x0,Math['min'](_0x3f53eb-_0x47fdda,Math['floor']((_0x5c804b-_0x2a0d3e)/_0x58c6da))),{from:_0x3b6a48,length:_0x5e2d2a}=_0x3ce42a['doc']['line'](_0x47fdda+_0x25f497);return new _0x2d18d9(_0x3b6a48,_0x5e2d2a,_0x2a0d3e+_0x58c6da*_0x25f497,_0x58c6da,0x0);}}['lineAt'](_0x808ceb,_0x47faf5,_0xa87bad,_0x1f5f52,_0x1a8267){if(_0x47faf5==_0x5333db['ByHeight'])return this['blockAt'](_0x808ceb,_0xa87bad,_0x1f5f52,_0x1a8267);if(_0x47faf5==_0x5333db['ByPosNoHeight']){let {from:_0x2b1592,to:_0x5d9d50}=_0xa87bad['doc']['lineAt'](_0x808ceb);return new _0x2d18d9(_0x2b1592,_0x5d9d50-_0x2b1592,0x0,0x0,0x0);}let {firstLine:_0x148e22,perLine:_0x547b06,perChar:_0x18c9be}=this['heightMetrics'](_0xa87bad,_0x1a8267),_0x744bdf=_0xa87bad['doc']['lineAt'](_0x808ceb),_0x5ebdea=_0x547b06+_0x744bdf['length']*_0x18c9be,_0x49d93e=_0x744bdf['number']-_0x148e22,_0x1f788c=_0x1f5f52+_0x547b06*_0x49d93e+_0x18c9be*(_0x744bdf['from']-_0x1a8267-_0x49d93e);return new _0x2d18d9(_0x744bdf['from'],_0x744bdf['length'],Math['max'](_0x1f5f52,Math['min'](_0x1f788c,_0x1f5f52+this['height']-_0x5ebdea)),_0x5ebdea,0x0);}['forEachLine'](_0x2c2399,_0x29f890,_0x3e8a88,_0xa00985,_0x44338d,_0x19f151){_0x2c2399=Math['max'](_0x2c2399,_0x44338d),_0x29f890=Math['min'](_0x29f890,_0x44338d+this['length']);let {firstLine:_0x5bcc00,perLine:_0x1c78c0,perChar:_0x3e5d45}=this['heightMetrics'](_0x3e8a88,_0x44338d);for(let _0x4abebd=_0x2c2399,_0x2341b2=_0xa00985;_0x4abebd<=_0x29f890;){let _0xf0f852=_0x3e8a88['doc']['lineAt'](_0x4abebd);if(_0x4abebd==_0x2c2399){let _0x1e8f0e=_0xf0f852['number']-_0x5bcc00;_0x2341b2+=_0x1c78c0*_0x1e8f0e+_0x3e5d45*(_0x2c2399-_0x44338d-_0x1e8f0e);}let _0x420552=_0x1c78c0+_0x3e5d45*_0xf0f852['length'];_0x19f151(new _0x2d18d9(_0xf0f852['from'],_0xf0f852['length'],_0x2341b2,_0x420552,0x0)),_0x2341b2+=_0x420552,_0x4abebd=_0xf0f852['to']+0x1;}}['replace'](_0x330c6c,_0x17168d,_0x562d91){let _0x3030a0=this['length']-_0x17168d;if(_0x3030a0>0x0){let _0x48b51e=_0x562d91[_0x562d91['length']-0x1];_0x48b51e instanceof HeightMapGap?_0x562d91[_0x562d91['length']-0x1]=new HeightMapGap(_0x48b51e['length']+_0x3030a0):_0x562d91['push'](null,new HeightMapGap(_0x3030a0-0x1));}if(_0x330c6c>0x0){let _0x40b4c0=_0x562d91[0x0];_0x40b4c0 instanceof HeightMapGap?_0x562d91[0x0]=new HeightMapGap(_0x330c6c+_0x40b4c0['length']):_0x562d91['unshift'](new HeightMapGap(_0x330c6c-0x1),null);}return HeightMap['of'](_0x562d91);}['decomposeLeft'](_0x3d23ce,_0x1008b8){_0x1008b8['push'](new HeightMapGap(_0x3d23ce-0x1),null);}['decomposeRight'](_0xeef005,_0x59c45e){_0x59c45e['push'](null,new HeightMapGap(this['length']-_0xeef005-0x1));}['updateHeight'](_0x55d67b,_0x47871b=0x0,_0x16722f=!0x1,_0xe2aba9){let _0x112ded=_0x47871b+this['length'];if(_0xe2aba9&&_0xe2aba9['from']<=_0x47871b+this['length']&&_0xe2aba9['more']){let _0x33b32d=[],_0x159936=Math['max'](_0x47871b,_0xe2aba9['from']),_0x35cb94=-0x1;for(_0xe2aba9['from']>_0x47871b&&_0x33b32d['push'](new HeightMapGap(_0xe2aba9['from']-_0x47871b-0x1)['updateHeight'](_0x55d67b,_0x47871b));_0x159936<=_0x112ded&&_0xe2aba9['more'];){let _0x568276=_0x55d67b['doc']['lineAt'](_0x159936)['length'];_0x33b32d['length']&&_0x33b32d['push'](null);let _0x4e63b6=_0xe2aba9['heights'][_0xe2aba9['index']++];-0x1==_0x35cb94?_0x35cb94=_0x4e63b6:Math['abs'](_0x4e63b6-_0x35cb94)>=_0x682761&&(_0x35cb94=-0x2);let _0x5c7ba4=new HeightMapText(_0x568276,_0x4e63b6);_0x5c7ba4['outdated']=!0x1,_0x33b32d['push'](_0x5c7ba4),_0x159936+=_0x568276+0x1;}_0x159936<=_0x112ded&&_0x33b32d['push'](null,new HeightMapGap(_0x112ded-_0x159936)['updateHeight'](_0x55d67b,_0x159936));let _0x47f545=HeightMap['of'](_0x33b32d);return(_0x35cb94<0x0||Math['abs'](_0x47f545['height']-this['height'])>=_0x682761||Math['abs'](_0x35cb94-this['heightMetrics'](_0x55d67b,_0x47871b)['perLine'])>=_0x682761)&&(heightChangeFlag=!0x0),_0x32f421(this,_0x47f545);}return(_0x16722f||this['outdated'])&&(this['setHeight'](_0x55d67b['heightForGap'](_0x47871b,_0x47871b+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x365441,_0x4a78cf,_0x302c1b){super(_0x365441['length']+_0x4a78cf+_0x302c1b['length'],_0x365441['height']+_0x302c1b['height'],_0x4a78cf|(_0x365441['outdated']||_0x302c1b['outdated']?0x2:0x0)),this['left']=_0x365441,this['right']=_0x302c1b,this['size']=_0x365441['size']+_0x302c1b['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0xa4a516,_0x543f2d,_0x376abd,_0x361af5){let _0x53df92=_0x376abd+this['left']['height'];return _0xa4a516<_0x53df92?this['left']['blockAt'](_0xa4a516,_0x543f2d,_0x376abd,_0x361af5):this['right']['blockAt'](_0xa4a516,_0x543f2d,_0x53df92,_0x361af5+this['left']['length']+this['break']);}['lineAt'](_0x25af1f,_0x2d76bc,_0x29496b,_0x24db85,_0x55609e){let _0x39bcb0=_0x24db85+this['left']['height'],_0x1a975c=_0x55609e+this['left']['length']+this['break'],_0x13740d=_0x2d76bc==_0x5333db['ByHeight']?_0x25af1f<_0x39bcb0:_0x25af1f<_0x1a975c,_0xe77bb9=_0x13740d?this['left']['lineAt'](_0x25af1f,_0x2d76bc,_0x29496b,_0x24db85,_0x55609e):this['right']['lineAt'](_0x25af1f,_0x2d76bc,_0x29496b,_0x39bcb0,_0x1a975c);if(this['break']||(_0x13740d?_0xe77bb9['to']<_0x1a975c:_0xe77bb9['from']>_0x1a975c))return _0xe77bb9;let _0x335715=_0x2d76bc==_0x5333db['ByPosNoHeight']?_0x5333db['ByPosNoHeight']:_0x5333db['ByPos'];return _0x13740d?_0xe77bb9['join'](this['right']['lineAt'](_0x1a975c,_0x335715,_0x29496b,_0x39bcb0,_0x1a975c)):this['left']['lineAt'](_0x1a975c,_0x335715,_0x29496b,_0x24db85,_0x55609e)['join'](_0xe77bb9);}['forEachLine'](_0x5be48c,_0x48618a,_0xb50608,_0x50018c,_0x5757de,_0x4e73e7){let _0x8d7265=_0x50018c+this['left']['height'],_0xce4388=_0x5757de+this['left']['length']+this['break'];if(this['break'])_0x5be48c<_0xce4388&&this['left']['forEachLine'](_0x5be48c,_0x48618a,_0xb50608,_0x50018c,_0x5757de,_0x4e73e7),_0x48618a>=_0xce4388&&this['right']['forEachLine'](_0x5be48c,_0x48618a,_0xb50608,_0x8d7265,_0xce4388,_0x4e73e7);else{let _0x5c0e4b=this['lineAt'](_0xce4388,_0x5333db['ByPos'],_0xb50608,_0x50018c,_0x5757de);_0x5be48c<_0x5c0e4b['from']&&this['left']['forEachLine'](_0x5be48c,_0x5c0e4b['from']-0x1,_0xb50608,_0x50018c,_0x5757de,_0x4e73e7),_0x5c0e4b['to']>=_0x5be48c&&_0x5c0e4b['from']<=_0x48618a&&_0x4e73e7(_0x5c0e4b),_0x48618a>_0x5c0e4b['to']&&this['right']['forEachLine'](_0x5c0e4b['to']+0x1,_0x48618a,_0xb50608,_0x8d7265,_0xce4388,_0x4e73e7);}}['replace'](_0x5d5ee5,_0x11149f,_0x1a2632){let _0x404d80=this['left']['length']+this['break'];if(_0x11149f<_0x404d80)return this['balanced'](this['left']['replace'](_0x5d5ee5,_0x11149f,_0x1a2632),this['right']);if(_0x5d5ee5>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x5d5ee5-_0x404d80,_0x11149f-_0x404d80,_0x1a2632));let _0x2abf43=[];_0x5d5ee5>0x0&&this['decomposeLeft'](_0x5d5ee5,_0x2abf43);let _0x3d3ece=_0x2abf43['length'];for(let _0xfbcc75 of _0x1a2632)_0x2abf43['push'](_0xfbcc75);if(_0x5d5ee5>0x0&&_0x4816e2(_0x2abf43,_0x3d3ece-0x1),_0x11149f<this['length']){let _0x22aff3=_0x2abf43['length'];this['decomposeRight'](_0x11149f,_0x2abf43),_0x4816e2(_0x2abf43,_0x22aff3);}return HeightMap['of'](_0x2abf43);}['decomposeLeft'](_0x144d11,_0x3a1e2c){let _0x100b14=this['left']['length'];if(_0x144d11<=_0x100b14)return this['left']['decomposeLeft'](_0x144d11,_0x3a1e2c);_0x3a1e2c['push'](this['left']),this['break']&&(_0x100b14++,_0x144d11>=_0x100b14&&_0x3a1e2c['push'](null)),_0x144d11>_0x100b14&&this['right']['decomposeLeft'](_0x144d11-_0x100b14,_0x3a1e2c);}['decomposeRight'](_0x18b368,_0x376479){let _0x2a7fee=this['left']['length'],_0x52422c=_0x2a7fee+this['break'];if(_0x18b368>=_0x52422c)return this['right']['decomposeRight'](_0x18b368-_0x52422c,_0x376479);_0x18b368<_0x2a7fee&&this['left']['decomposeRight'](_0x18b368,_0x376479),this['break']&&_0x18b368<_0x52422c&&_0x376479['push'](null),_0x376479['push'](this['right']);}['balanced'](_0x5f2b2f,_0x58954b){return _0x5f2b2f['size']>0x2*_0x58954b['size']||_0x58954b['size']>0x2*_0x5f2b2f['size']?HeightMap['of'](this['break']?[_0x5f2b2f,null,_0x58954b]:[_0x5f2b2f,_0x58954b]):(this['left']=_0x32f421(this['left'],_0x5f2b2f),this['right']=_0x32f421(this['right'],_0x58954b),this['setHeight'](_0x5f2b2f['height']+_0x58954b['height']),this['outdated']=_0x5f2b2f['outdated']||_0x58954b['outdated'],this['size']=_0x5f2b2f['size']+_0x58954b['size'],this['length']=_0x5f2b2f['length']+this['break']+_0x58954b['length'],this);}['updateHeight'](_0x3c66a6,_0x4623dc=0x0,_0x4f2ef2=!0x1,_0x530b2a){let {left:_0x588929,right:_0x4918d0}=this,_0x99adf3=_0x4623dc+_0x588929['length']+this['break'],_0x5232af=null;return _0x530b2a&&_0x530b2a['from']<=_0x4623dc+_0x588929['length']&&_0x530b2a['more']?_0x5232af=_0x588929=_0x588929['updateHeight'](_0x3c66a6,_0x4623dc,_0x4f2ef2,_0x530b2a):_0x588929['updateHeight'](_0x3c66a6,_0x4623dc,_0x4f2ef2),_0x530b2a&&_0x530b2a['from']<=_0x99adf3+_0x4918d0['length']&&_0x530b2a['more']?_0x5232af=_0x4918d0=_0x4918d0['updateHeight'](_0x3c66a6,_0x99adf3,_0x4f2ef2,_0x530b2a):_0x4918d0['updateHeight'](_0x3c66a6,_0x99adf3,_0x4f2ef2),_0x5232af?this['balanced'](_0x588929,_0x4918d0):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x4816e2(_0x32bbec,_0x10d992){let _0x19a972,_0x589c82;null==_0x32bbec[_0x10d992]&&(_0x19a972=_0x32bbec[_0x10d992-0x1])instanceof HeightMapGap&&(_0x589c82=_0x32bbec[_0x10d992+0x1])instanceof HeightMapGap&&_0x32bbec['splice'](_0x10d992-0x1,0x3,new HeightMapGap(_0x19a972['length']+0x1+_0x589c82['length']));}const relevantWidgetHeight=0x5;class _0x1b83ea{constructor(_0xd1a903,_0x1ffe3c){this['pos']=_0xd1a903,this['oracle']=_0x1ffe3c,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0xd1a903;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0xb695a9,_0x5692e3){if(this['lineStart']>-0x1){let _0x49cf93=Math['min'](_0x5692e3,this['lineEnd']),_0x97a9b7=this['nodes'][this['nodes']['length']-0x1];_0x97a9b7 instanceof HeightMapText?_0x97a9b7['length']+=_0x49cf93-this['pos']:(_0x49cf93>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x49cf93-this['pos'],-0x1)),this['writtenTo']=_0x49cf93,_0x5692e3>_0x49cf93&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x5692e3;}['point'](_0x4bf277,_0x3b2782,_0x36dcc6){if(_0x4bf277<_0x3b2782||_0x36dcc6['heightRelevant']){let _0x40e335=_0x36dcc6['widget']?_0x36dcc6['widget']['estimatedHeight']:0x0,_0x7f484a=_0x36dcc6['widget']?_0x36dcc6['widget']['lineBreaks']:0x0;_0x40e335<0x0&&(_0x40e335=this['oracle']['lineHeight']);let _0x51217f=_0x3b2782-_0x4bf277;_0x36dcc6['block']?this['addBlock'](new HeightMapBlock(_0x51217f,_0x40e335,_0x36dcc6)):(_0x51217f||_0x7f484a||_0x40e335>=relevantWidgetHeight)&&this['addLineDeco'](_0x40e335,_0x7f484a,_0x51217f);}else _0x3b2782>_0x4bf277&&this['span'](_0x4bf277,_0x3b2782);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x57f10c,to:_0x540650}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x57f10c,this['lineEnd']=_0x540650,this['writtenTo']<_0x57f10c&&((this['writtenTo']<_0x57f10c-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x57f10c-0x1)),this['nodes']['push'](null)),this['pos']>_0x57f10c&&this['nodes']['push'](new HeightMapText(this['pos']-_0x57f10c,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x573d29,_0x2319e6){let _0x440a1c=new HeightMapGap(_0x2319e6-_0x573d29);return this['oracle']['doc']['lineAt'](_0x573d29)['to']==_0x2319e6&&(_0x440a1c['flags']|=0x4),_0x440a1c;}['ensureLine'](){this['enterLine']();let _0x203c3b=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x203c3b instanceof HeightMapText)return _0x203c3b;let _0x2b3167=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x2b3167),_0x2b3167;}['addBlock'](_0x2f938c){this['enterLine']();let _0x3eda9a=_0x2f938c['deco'];_0x3eda9a&&_0x3eda9a['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x2f938c),this['writtenTo']=this['pos']=this['pos']+_0x2f938c['length'],_0x3eda9a&&_0x3eda9a['endSide']>0x0&&(this['covering']=_0x2f938c);}['addLineDeco'](_0x1eaf3c,_0x215f00,_0x128ba5){let _0x2359f9=this['ensureLine']();_0x2359f9['length']+=_0x128ba5,_0x2359f9['collapsed']+=_0x128ba5,_0x2359f9['widgetHeight']=Math['max'](_0x2359f9['widgetHeight'],_0x1eaf3c),_0x2359f9['breaks']+=_0x215f00,this['writtenTo']=this['pos']=this['pos']+_0x128ba5;}['finish'](_0x3fb442){let _0x5d2e4e=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x5d2e4e instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x5d2e4e)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x45b742=_0x3fb442;for(let _0xc1e01 of this['nodes'])_0xc1e01 instanceof HeightMapText&&_0xc1e01['updateHeight'](this['oracle'],_0x45b742),_0x45b742+=_0xc1e01?_0xc1e01['length']:0x1;return this['nodes'];}static['build'](_0x397cc9,_0x23fbcc,_0x123946,_0x3ebaa4){let _0x46e0f3=new _0x1b83ea(_0x123946,_0x397cc9);return RangeSet['spans'](_0x23fbcc,_0x123946,_0x3ebaa4,_0x46e0f3,0x0),_0x46e0f3['finish'](_0x123946);}}function heightRelevantDecoChanges(_0x21c99f,_0x562f0a,_0x4bd0c0){let _0x37c90d=new DecorationComparator();return RangeSet['compare'](_0x21c99f,_0x562f0a,_0x4bd0c0,_0x37c90d,0x0),_0x37c90d['changes'];}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x39f33f,_0x8db84,_0x256949,_0x20eb2f){(_0x39f33f<_0x8db84||_0x256949&&_0x256949['heightRelevant']||_0x20eb2f&&_0x20eb2f['heightRelevant'])&&_0x22d945(_0x39f33f,_0x8db84,this['changes'],0x5);}}function _0x49801d(_0x193cbb,_0x214816){let _0x3852a5=_0x193cbb['getBoundingClientRect'](),_0x112610=_0x193cbb['ownerDocument'],_0x135272=_0x112610['defaultView']||window,_0xf80d35=Math['max'](0x0,_0x3852a5['left']),_0x27e7a3=Math['min'](_0x135272['innerWidth'],_0x3852a5['right']),_0x484904=Math['max'](0x0,_0x3852a5['top']),_0x176ce1=Math['min'](_0x135272['innerHeight'],_0x3852a5['bottom']);for(let _0x1f9e79=_0x193cbb['parentNode'];_0x1f9e79&&_0x1f9e79!=_0x112610['body'];)if(0x1==_0x1f9e79['nodeType']){let _0x2047be=_0x1f9e79,_0x362808=window['getComputedStyle'](_0x2047be);if((_0x2047be['scrollHeight']>_0x2047be['clientHeight']||_0x2047be['scrollWidth']>_0x2047be['clientWidth'])&&'visible'!=_0x362808['overflow']){let _0x4e43a9=_0x2047be['getBoundingClientRect']();_0xf80d35=Math['max'](_0xf80d35,_0x4e43a9['left']),_0x27e7a3=Math['min'](_0x27e7a3,_0x4e43a9['right']),_0x484904=Math['max'](_0x484904,_0x4e43a9['top']),_0x176ce1=Math['min'](_0x1f9e79==_0x193cbb['parentNode']?_0x135272['innerHeight']:_0x176ce1,_0x4e43a9['bottom']);}_0x1f9e79='absolute'==_0x362808['position']||'fixed'==_0x362808['position']?_0x2047be['offsetParent']:_0x2047be['parentNode'];}else{if(0xb!=_0x1f9e79['nodeType'])break;_0x1f9e79=_0x1f9e79['host'];}return{'left':_0xf80d35-_0x3852a5['left'],'right':Math['max'](_0xf80d35,_0x27e7a3)-_0x3852a5['left'],'top':_0x484904-(_0x3852a5['top']+_0x214816),'bottom':Math['max'](_0x484904,_0x176ce1)-(_0x3852a5['top']+_0x214816)};}function _0x5879b0(_0x14fef6){let _0x27300f=_0x14fef6['getBoundingClientRect'](),_0x30b840=_0x14fef6['ownerDocument']['defaultView']||window;return _0x27300f['left']<_0x30b840['innerWidth']&&_0x27300f['right']>0x0&&_0x27300f['top']<_0x30b840['innerHeight']&&_0x27300f['bottom']>0x0;}function _0x562f4f(_0x2b22d1,_0x5c84d8){let _0x4ed724=_0x2b22d1['getBoundingClientRect']();return{'left':0x0,'right':_0x4ed724['right']-_0x4ed724['left'],'top':_0x5c84d8,'bottom':_0x4ed724['bottom']-(_0x4ed724['top']+_0x5c84d8)};}class _0x1c6753{constructor(_0x5a6a8f,_0x39fe95,_0x1e714f,_0x28ac66){this['from']=_0x5a6a8f,this['to']=_0x39fe95,this['size']=_0x1e714f,this['displaySize']=_0x28ac66;}static['same'](_0x3bab6c,_0x4d4bc6){if(_0x3bab6c['length']!=_0x4d4bc6['length'])return!0x1;for(let _0x377c9b=0x0;_0x377c9b<_0x3bab6c['length'];_0x377c9b++){let _0x572ab2=_0x3bab6c[_0x377c9b],_0x5ee0f9=_0x4d4bc6[_0x377c9b];if(_0x572ab2['from']!=_0x5ee0f9['from']||_0x572ab2['to']!=_0x5ee0f9['to']||_0x572ab2['size']!=_0x5ee0f9['size'])return!0x1;}return!0x0;}['draw'](_0x16b6dc,_0x41f332){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x41f332?_0x16b6dc['scaleY']:_0x16b6dc['scaleX']),_0x41f332)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x582fdf,_0x45f816){super(),this['size']=_0x582fdf,this['vertical']=_0x45f816;}['eq'](_0x584884){return _0x584884['size']==this['size']&&_0x584884['vertical']==this['vertical'];}['toDOM'](){let _0x442bbe=document['createElement']('div');return this['vertical']?_0x442bbe['style']['height']=this['size']+'px':(_0x442bbe['style']['width']=this['size']+'px',_0x442bbe['style']['height']='2px',_0x442bbe['style']['display']='inline-block'),_0x442bbe;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x19536d){this['state']=_0x19536d,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['scrollTop']=0x0,this['scrolledToBottom']=!0x1,this['scaleX']=0x1,this['scaleY']=0x1,this['scrollAnchorPos']=0x0,this['scrollAnchorHeight']=-0x1,this['scaler']=_0x3782b4,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=Direction['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x50a3f8=_0x19536d['facet'](contentAttributes)['some'](_0x2a87fe=>'function'!=typeof _0x2a87fe&&'cm-lineWrapping'==_0x2a87fe['class']);this['heightOracle']=new HeightOracle(_0x50a3f8),this['stateDeco']=_0x19536d['facet'](decorations)['filter'](_0x4175be=>'function'!=typeof _0x4175be),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x19536d['doc']),[new _0xe57fb0(0x0,0x0,0x0,_0x19536d['doc']['length'])]);for(let _0x26a4c8=0x0;_0x26a4c8<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x26a4c8++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x309897=>_0x309897['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x288b64=[this['viewport']],{main:_0x17e733}=this['state']['selection'];for(let _0x422d07=0x0;_0x422d07<=0x1;_0x422d07++){let _0x126682=_0x422d07?_0x17e733['head']:_0x17e733['anchor'];if(!_0x288b64['some'](({from:_0x139932,to:_0x125cba})=>_0x126682>=_0x139932&&_0x126682<=_0x125cba)){let {from:_0x154ff3,to:_0x59ddf1}=this['lineBlockAt'](_0x126682);_0x288b64['push'](new Viewport(_0x154ff3,_0x59ddf1));}}return this['viewports']=_0x288b64['sort']((_0x18d086,_0x1ab3fc)=>_0x18d086['from']-_0x1ab3fc['from']),this['updateScaler']();}['updateScaler'](){let _0x7a5061=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x3782b4:new _0x1479fd(this['heightOracle'],this['heightMap'],this['viewports']),_0x7a5061['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,_0x4e720d=>{this['viewportLines']['push'](_0x4278f3(_0x4e720d,this['scaler']));});}['update'](_0x1700e2,_0x59979a=null){this['state']=_0x1700e2['state'];let _0x590562=this['stateDeco'];this['stateDeco']=this['state']['facet'](decorations)['filter'](_0x52d289=>'function'!=typeof _0x52d289);let _0x49a0ba=_0x1700e2['changedRanges'],_0x20d22c=_0xe57fb0['extendWithRanges'](_0x49a0ba,heightRelevantDecoChanges(_0x590562,this['stateDeco'],_0x1700e2?_0x1700e2['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x4924db=this['heightMap']['height'],_0x5da3bb=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);clearHeightChangeFlag(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x1700e2['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x20d22c),(this['heightMap']['height']!=_0x4924db||heightChangeFlag)&&(_0x1700e2['flags']|=0x2),_0x5da3bb?(this['scrollAnchorPos']=_0x1700e2['changes']['mapPos'](_0x5da3bb['from'],-0x1),this['scrollAnchorHeight']=_0x5da3bb['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x4924db);let _0x3d63ca=_0x20d22c['length']?this['mapViewport'](this['viewport'],_0x1700e2['changes']):this['viewport'];(_0x59979a&&(_0x59979a['range']['head']<_0x3d63ca['from']||_0x59979a['range']['head']>_0x3d63ca['to'])||!this['viewportIsAppropriate'](_0x3d63ca))&&(_0x3d63ca=this['getViewport'](0x0,_0x59979a));let _0x302928=_0x3d63ca['from']!=this['viewport']['from']||_0x3d63ca['to']!=this['viewport']['to'];this['viewport']=_0x3d63ca,_0x1700e2['flags']|=this['updateForViewport'](),(_0x302928||!_0x1700e2['changes']['empty']||0x2&_0x1700e2['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x1700e2['changes']))),_0x1700e2['flags']|=this['computeVisibleRanges'](_0x1700e2['changes']),_0x59979a&&(this['scrollTarget']=_0x59979a),!this['mustEnforceCursorAssoc']&&_0x1700e2['selectionSet']&&_0x1700e2['view']['lineWrapping']&&_0x1700e2['state']['selection']['main']['empty']&&_0x1700e2['state']['selection']['main']['assoc']&&!_0x1700e2['state']['facet'](nativeSelectionHidden)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x62ea1d){let _0xa11610=_0x62ea1d['contentDOM'],_0x141885=window['getComputedStyle'](_0xa11610),_0x20b977=this['heightOracle'],_0x2689ce=_0x141885['whiteSpace'];this['defaultTextDirection']='rtl'==_0x141885['direction']?Direction['RTL']:Direction['LTR'];let _0x408e0b=this['heightOracle']['mustRefreshForWrapping'](_0x2689ce),_0xa5fa7d=_0xa11610['getBoundingClientRect'](),_0x435ab9=_0x408e0b||this['mustMeasureContent']||this['contentDOMHeight']!=_0xa5fa7d['height'];this['contentDOMHeight']=_0xa5fa7d['height'],this['mustMeasureContent']=!0x1;let _0x5d3fca=0x0,_0x37db78=0x0;if(_0xa5fa7d['width']&&_0xa5fa7d['height']){let {scaleX:_0x41e874,scaleY:_0x157a1d}=getScale(_0xa11610,_0xa5fa7d);(_0x41e874>0.005&&Math['abs'](this['scaleX']-_0x41e874)>0.005||_0x157a1d>0.005&&Math['abs'](this['scaleY']-_0x157a1d)>0.005)&&(this['scaleX']=_0x41e874,this['scaleY']=_0x157a1d,_0x5d3fca|=0x10,_0x408e0b=_0x435ab9=!0x0);}let _0x38862c=(parseInt(_0x141885['paddingTop'])||0x0)*this['scaleY'],_0x47f878=(parseInt(_0x141885['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x38862c&&this['paddingBottom']==_0x47f878||(this['paddingTop']=_0x38862c,this['paddingBottom']=_0x47f878,_0x5d3fca|=0x12),this['editorWidth']!=_0x62ea1d['scrollDOM']['clientWidth']&&(_0x20b977['lineWrapping']&&(_0x435ab9=!0x0),this['editorWidth']=_0x62ea1d['scrollDOM']['clientWidth'],_0x5d3fca|=0x10);let _0x5ce926=_0x62ea1d['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x5ce926&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x5ce926),this['scrolledToBottom']=isScrolledToBottom(_0x62ea1d['scrollDOM']);let _0x54b70f=(this['printing']?_0x562f4f:_0x49801d)(_0xa11610,this['paddingTop']),_0xcd4248=_0x54b70f['top']-this['pixelViewport']['top'],_0xf3ec03=_0x54b70f['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x54b70f;let _0x1cd715=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x1cd715!=this['inView']&&(this['inView']=_0x1cd715,_0x1cd715&&(_0x435ab9=!0x0)),!this['inView']&&!this['scrollTarget']&&!_0x5879b0(_0x62ea1d['dom']))return 0x0;let _0x40efad=_0xa5fa7d['width'];if(this['contentDOMWidth']==_0x40efad&&this['editorHeight']==_0x62ea1d['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0xa5fa7d['width'],this['editorHeight']=_0x62ea1d['scrollDOM']['clientHeight'],_0x5d3fca|=0x10),_0x435ab9){let _0x2b305a=_0x62ea1d['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x20b977['mustRefreshForHeights'](_0x2b305a)&&(_0x408e0b=!0x0),_0x408e0b||_0x20b977['lineWrapping']&&Math['abs'](_0x40efad-this['contentDOMWidth'])>_0x20b977['charWidth']){let {lineHeight:_0x4b688d,charWidth:_0x4c8484,textHeight:_0x4ffab8}=_0x62ea1d['docView']['measureTextSize']();_0x408e0b=_0x4b688d>0x0&&_0x20b977['refresh'](_0x2689ce,_0x4b688d,_0x4c8484,_0x4ffab8,Math['max'](0x5,_0x40efad/_0x4c8484),_0x2b305a),_0x408e0b&&(_0x62ea1d['docView']['minWidth']=0x0,_0x5d3fca|=0x10);}_0xcd4248>0x0&&_0xf3ec03>0x0?_0x37db78=Math['max'](_0xcd4248,_0xf3ec03):_0xcd4248<0x0&&_0xf3ec03<0x0&&(_0x37db78=Math['min'](_0xcd4248,_0xf3ec03)),clearHeightChangeFlag();for(let _0x4d5645 of this['viewports']){let _0x3ed263=_0x4d5645['from']==this['viewport']['from']?_0x2b305a:_0x62ea1d['docView']['measureVisibleLineHeights'](_0x4d5645);this['heightMap']=(_0x408e0b?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new _0xe57fb0(0x0,0x0,0x0,_0x62ea1d['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x20b977,0x0,_0x408e0b,new MeasuredHeights(_0x4d5645['from'],_0x3ed263));}heightChangeFlag&&(_0x5d3fca|=0x2);}let _0x34932c=!this['viewportIsAppropriate'](this['viewport'],_0x37db78)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x34932c&&(0x2&_0x5d3fca&&(_0x5d3fca|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x37db78,this['scrollTarget']),_0x5d3fca|=this['updateForViewport']()),(0x2&_0x5d3fca||_0x34932c)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x408e0b?[]:this['lineGaps'],_0x62ea1d)),_0x5d3fca|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x62ea1d['docView']['enforceCursorAssoc']()),_0x5d3fca;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x46feff,_0x3b419c){let _0x46ed26=0.5-Math['max'](-0.5,Math['min'](0.5,_0x46feff/0x3e8/0x2)),_0x30eb1d=this['heightMap'],_0x4fcf5b=this['heightOracle'],{visibleTop:_0x13a694,visibleBottom:_0x484bc2}=this,_0x6d73f9=new Viewport(_0x30eb1d['lineAt'](_0x13a694-0x3e8*_0x46ed26,_0x5333db['ByHeight'],_0x4fcf5b,0x0,0x0)['from'],_0x30eb1d['lineAt'](_0x484bc2+0x3e8*(0x1-_0x46ed26),_0x5333db['ByHeight'],_0x4fcf5b,0x0,0x0)['to']);if(_0x3b419c){let {head:_0x32f145}=_0x3b419c['range'];if(_0x32f145<_0x6d73f9['from']||_0x32f145>_0x6d73f9['to']){let _0x21494e,_0x4233dc=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x356ce0=_0x30eb1d['lineAt'](_0x32f145,_0x5333db['ByPos'],_0x4fcf5b,0x0,0x0);_0x21494e='center'==_0x3b419c['y']?(_0x356ce0['top']+_0x356ce0['bottom'])/0x2-_0x4233dc/0x2:'start'==_0x3b419c['y']||'nearest'==_0x3b419c['y']&&_0x32f145<_0x6d73f9['from']?_0x356ce0['top']:_0x356ce0['bottom']-_0x4233dc,_0x6d73f9=new Viewport(_0x30eb1d['lineAt'](_0x21494e-0x1f4,_0x5333db['ByHeight'],_0x4fcf5b,0x0,0x0)['from'],_0x30eb1d['lineAt'](_0x21494e+_0x4233dc+0x1f4,_0x5333db['ByHeight'],_0x4fcf5b,0x0,0x0)['to']);}}return _0x6d73f9;}['mapViewport'](_0x5db96b,_0x360147){let _0x235973=_0x360147['mapPos'](_0x5db96b['from'],-0x1),_0xe1539b=_0x360147['mapPos'](_0x5db96b['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x235973,_0x5333db['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0xe1539b,_0x5333db['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x32bcda,to:_0x263d2d},_0xa16f=0x0){if(!this['inView'])return!0x0;let {top:_0x5d8bcd}=this['heightMap']['lineAt'](_0x32bcda,_0x5333db['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x13089d}=this['heightMap']['lineAt'](_0x263d2d,_0x5333db['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x3b838e,visibleBottom:_0x16f011}=this;return(0x0==_0x32bcda||_0x5d8bcd<=_0x3b838e-Math['max'](0xa,Math['min'](-_0xa16f,0xfa)))&&(_0x263d2d==this['state']['doc']['length']||_0x13089d>=_0x16f011+Math['max'](0xa,Math['min'](_0xa16f,0xfa)))&&_0x5d8bcd>_0x3b838e-0x7d0&&_0x13089d<_0x16f011+0x7d0;}['mapLineGaps'](_0x11b1bc,_0x35e894){if(!_0x11b1bc['length']||_0x35e894['empty'])return _0x11b1bc;let _0x4051fa=[];for(let _0x1e7870 of _0x11b1bc)_0x35e894['touchesRange'](_0x1e7870['from'],_0x1e7870['to'])||_0x4051fa['push'](new _0x1c6753(_0x35e894['mapPos'](_0x1e7870['from']),_0x35e894['mapPos'](_0x1e7870['to']),_0x1e7870['size'],_0x1e7870['displaySize']));return _0x4051fa;}['ensureLineGaps'](_0x4aea3e,_0x421441){let _0x5a70c5=this['heightOracle']['lineWrapping'],_0xa1014c=_0x5a70c5?0x2710:0x7d0,_0x183855=_0xa1014c>>0x1,_0x4d7b65=_0xa1014c<<0x1;if(this['defaultTextDirection']!=Direction['LTR']&&!_0x5a70c5)return[];let _0x9a7370=[],_0x7b6a7d=(_0x6304a6,_0x4d828b,_0x1fe7b2,_0x407eaa)=>{if(_0x4d828b-_0x6304a6<_0x183855)return;let _0x355079=this['state']['selection']['main'],_0x1e720e=[_0x355079['from']];_0x355079['empty']||_0x1e720e['push'](_0x355079['to']);for(let _0x5d64e8 of _0x1e720e)if(_0x5d64e8>_0x6304a6&&_0x5d64e8<_0x4d828b)return _0x7b6a7d(_0x6304a6,_0x5d64e8-0xa,_0x1fe7b2,_0x407eaa),void _0x7b6a7d(_0x5d64e8+0xa,_0x4d828b,_0x1fe7b2,_0x407eaa);let _0x1fcd76=_0x40fcc4(_0x4aea3e,_0x243968=>_0x243968['from']>=_0x1fe7b2['from']&&_0x243968['to']<=_0x1fe7b2['to']&&Math['abs'](_0x243968['from']-_0x6304a6)<_0x183855&&Math['abs'](_0x243968['to']-_0x4d828b)<_0x183855&&!_0x1e720e['some'](_0x356810=>_0x243968['from']<_0x356810&&_0x243968['to']>_0x356810));if(!_0x1fcd76){if(_0x4d828b<_0x1fe7b2['to']&&_0x421441&&_0x5a70c5&&_0x421441['visibleRanges']['some'](_0x5a2b58=>_0x5a2b58['from']<=_0x4d828b&&_0x5a2b58['to']>=_0x4d828b)){let _0x33214d=_0x421441['moveToLineBoundary'](EditorSelection['cursor'](_0x4d828b),!0x1,!0x0)['head'];_0x33214d>_0x6304a6&&(_0x4d828b=_0x33214d);}let _0x4fd2dd=this['gapSize'](_0x1fe7b2,_0x6304a6,_0x4d828b,_0x407eaa);_0x1fcd76=new _0x1c6753(_0x6304a6,_0x4d828b,_0x4fd2dd,_0x5a70c5||_0x4fd2dd<0x1e8480?_0x4fd2dd:0x1e8480);}_0x9a7370['push'](_0x1fcd76);},_0x104f56=_0xfc1282=>{if(_0xfc1282['length']<_0x4d7b65||_0xfc1282['type']!=_0x30e04f['Text'])return;let _0x1bd8bc=lineStructure(_0xfc1282['from'],_0xfc1282['to'],this['stateDeco']);if(_0x1bd8bc['total']<_0x4d7b65)return;let _0x48985a,_0x19551a,_0x20f357=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x5a70c5){let _0xf72427,_0x1771ae,_0x28e3d8=_0xa1014c/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x20f357){let _0x278b20=findFraction(_0x1bd8bc,_0x20f357),_0x2c62b6=((this['visibleBottom']-this['visibleTop'])/0x2+_0x28e3d8)/_0xfc1282['height'];_0xf72427=_0x278b20-_0x2c62b6,_0x1771ae=_0x278b20+_0x2c62b6;}else _0xf72427=(this['visibleTop']-_0xfc1282['top']-_0x28e3d8)/_0xfc1282['height'],_0x1771ae=(this['visibleBottom']-_0xfc1282['top']+_0x28e3d8)/_0xfc1282['height'];_0x48985a=findPosition(_0x1bd8bc,_0xf72427),_0x19551a=findPosition(_0x1bd8bc,_0x1771ae);}else{let _0x217b60=_0x1bd8bc['total']*this['heightOracle']['charWidth'],_0xb02737=_0xa1014c*this['heightOracle']['charWidth'],_0x27a8a6=0x0;if(_0x217b60>0x1e8480){for(let _0x57df17 of _0x4aea3e)_0x57df17['from']>=_0xfc1282['from']&&_0x57df17['from']<_0xfc1282['to']&&_0x57df17['size']!=_0x57df17['displaySize']&&_0x57df17['from']*this['heightOracle']['charWidth']+_0x27a8a6<this['pixelViewport']['left']&&(_0x27a8a6=_0x57df17['size']-_0x57df17['displaySize']);}let _0x4c1137,_0x24114e,_0x18589c=this['pixelViewport']['left']+_0x27a8a6,_0xf6e66d=this['pixelViewport']['right']+_0x27a8a6;if(null!=_0x20f357){let _0x4ec665=findFraction(_0x1bd8bc,_0x20f357),_0x65b895=((_0xf6e66d-_0x18589c)/0x2+_0xb02737)/_0x217b60;_0x4c1137=_0x4ec665-_0x65b895,_0x24114e=_0x4ec665+_0x65b895;}else _0x4c1137=(_0x18589c-_0xb02737)/_0x217b60,_0x24114e=(_0xf6e66d+_0xb02737)/_0x217b60;_0x48985a=findPosition(_0x1bd8bc,_0x4c1137),_0x19551a=findPosition(_0x1bd8bc,_0x24114e);}_0x48985a>_0xfc1282['from']&&_0x7b6a7d(_0xfc1282['from'],_0x48985a,_0xfc1282,_0x1bd8bc),_0x19551a<_0xfc1282['to']&&_0x7b6a7d(_0x19551a,_0xfc1282['to'],_0xfc1282,_0x1bd8bc);};for(let _0x553247 of this['viewportLines'])Array['isArray'](_0x553247['type'])?_0x553247['type']['forEach'](_0x104f56):_0x104f56(_0x553247);return _0x9a7370;}['gapSize'](_0x5aea71,_0x122a5d,_0x1ef82b,_0x2f11b1){let _0x4466b1=findFraction(_0x2f11b1,_0x1ef82b)-findFraction(_0x2f11b1,_0x122a5d);return this['heightOracle']['lineWrapping']?_0x5aea71['height']*_0x4466b1:_0x2f11b1['total']*this['heightOracle']['charWidth']*_0x4466b1;}['updateLineGaps'](_0x2335ec){_0x1c6753['same'](_0x2335ec,this['lineGaps'])||(this['lineGaps']=_0x2335ec,this['lineGapDeco']=Decoration['set'](_0x2335ec['map'](_0x29dd57=>_0x29dd57['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x28875e){let _0x2937f4=this['stateDeco'];this['lineGaps']['length']&&(_0x2937f4=_0x2937f4['concat'](this['lineGapDeco']));let _0x40407d=[];RangeSet['spans'](_0x2937f4,this['viewport']['from'],this['viewport']['to'],{'span'(_0x36cc51,_0x281edf){_0x40407d['push']({'from':_0x36cc51,'to':_0x281edf});},'point'(){}},0x14);let _0x231bb7=0x0;if(_0x40407d['length']!=this['visibleRanges']['length'])_0x231bb7=0xc;else for(let _0x50a4b6=0x0;_0x50a4b6<_0x40407d['length']&&!(0x8&_0x231bb7);_0x50a4b6++){let _0x32c343=this['visibleRanges'][_0x50a4b6],_0x575475=_0x40407d[_0x50a4b6];_0x32c343['from']==_0x575475['from']&&_0x32c343['to']==_0x575475['to']||(_0x231bb7|=0x4,_0x28875e&&_0x28875e['mapPos'](_0x32c343['from'],-0x1)==_0x575475['from']&&_0x28875e['mapPos'](_0x32c343['to'],0x1)==_0x575475['to']||(_0x231bb7|=0x8));}return this['visibleRanges']=_0x40407d,_0x231bb7;}['lineBlockAt'](_0x2feedf){return _0x2feedf>=this['viewport']['from']&&_0x2feedf<=this['viewport']['to']&&this['viewportLines']['find'](_0x3820a5=>_0x3820a5['from']<=_0x2feedf&&_0x3820a5['to']>=_0x2feedf)||_0x4278f3(this['heightMap']['lineAt'](_0x2feedf,_0x5333db['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x25eb40){return _0x25eb40>=this['viewportLines'][0x0]['top']&&_0x25eb40<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x496dc0=>_0x496dc0['top']<=_0x25eb40&&_0x496dc0['bottom']>=_0x25eb40)||_0x4278f3(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x25eb40),_0x5333db['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x515a88){let _0x524ee1=this['lineBlockAtHeight'](_0x515a88+0x8);return _0x524ee1['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x515a88>0xc8?_0x524ee1:this['viewportLines'][0x0];}['elementAtHeight'](_0x4388d5){return _0x4278f3(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x4388d5),this['heightOracle'],0x0,0x0),this['scaler']);}get['docHeight'](){return this['scaler']['toDOM'](this['heightMap']['height']);}get['contentHeight'](){return this['docHeight']+this['paddingTop']+this['paddingBottom'];}}class Viewport{constructor(_0x5b7923,_0x246005){this['from']=_0x5b7923,this['to']=_0x246005;}}function lineStructure(_0x4bf0ce,_0x2aaf37,_0x354f1a){let _0x3c3299=[],_0x2812da=_0x4bf0ce,_0x5ed2aa=0x0;return RangeSet['spans'](_0x354f1a,_0x4bf0ce,_0x2aaf37,{'span'(){},'point'(_0xc4c00b,_0x41cec3){_0xc4c00b>_0x2812da&&(_0x3c3299['push']({'from':_0x2812da,'to':_0xc4c00b}),_0x5ed2aa+=_0xc4c00b-_0x2812da),_0x2812da=_0x41cec3;}},0x14),_0x2812da<_0x2aaf37&&(_0x3c3299['push']({'from':_0x2812da,'to':_0x2aaf37}),_0x5ed2aa+=_0x2aaf37-_0x2812da),{'total':_0x5ed2aa,'ranges':_0x3c3299};}function findPosition({total:_0x3b32fa,ranges:_0x2cd52b},_0x22e0b6){if(_0x22e0b6<=0x0)return _0x2cd52b[0x0]['from'];if(_0x22e0b6>=0x1)return _0x2cd52b[_0x2cd52b['length']-0x1]['to'];let _0x20e108=Math['floor'](_0x3b32fa*_0x22e0b6);for(let _0x39e228=0x0;;_0x39e228++){let {from:_0x4dcd7b,to:_0x285d9e}=_0x2cd52b[_0x39e228],_0x4f0044=_0x285d9e-_0x4dcd7b;if(_0x20e108<=_0x4f0044)return _0x4dcd7b+_0x20e108;_0x20e108-=_0x4f0044;}}function findFraction(_0x3c1c1f,_0x156974){let _0x3177cd=0x0;for(let {from:_0x467989,to:_0x38d5e5}of _0x3c1c1f['ranges']){if(_0x156974<=_0x38d5e5){_0x3177cd+=_0x156974-_0x467989;break;}_0x3177cd+=_0x38d5e5-_0x467989;}return _0x3177cd/_0x3c1c1f['total'];}function _0x40fcc4(_0x15adab,_0x363cb6){for(let _0x273f1b of _0x15adab)if(_0x363cb6(_0x273f1b))return _0x273f1b;}const _0x3782b4={'toDOM':_0x35ec96=>_0x35ec96,'fromDOM':_0xaa0f3e=>_0xaa0f3e,'scale':0x1,'eq'(_0x434503){return _0x434503==this;}};class _0x1479fd{constructor(_0x3647ec,_0x4c7534,_0x1a75ff){let _0x367f80=0x0,_0x2bf762=0x0,_0x2891e3=0x0;this['viewports']=_0x1a75ff['map'](({from:_0x3a82b6,to:_0x2e86c9})=>{let _0x5960cb=_0x4c7534['lineAt'](_0x3a82b6,_0x5333db['ByPos'],_0x3647ec,0x0,0x0)['top'],_0x5303ef=_0x4c7534['lineAt'](_0x2e86c9,_0x5333db['ByPos'],_0x3647ec,0x0,0x0)['bottom'];return _0x367f80+=_0x5303ef-_0x5960cb,{'from':_0x3a82b6,'to':_0x2e86c9,'top':_0x5960cb,'bottom':_0x5303ef,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x367f80)/(_0x4c7534['height']-_0x367f80);for(let _0x6aad43 of this['viewports'])_0x6aad43['domTop']=_0x2891e3+(_0x6aad43['top']-_0x2bf762)*this['scale'],_0x2891e3=_0x6aad43['domBottom']=_0x6aad43['domTop']+(_0x6aad43['bottom']-_0x6aad43['top']),_0x2bf762=_0x6aad43['bottom'];}['toDOM'](_0x4045e7){for(let _0x4bf717=0x0,_0x2ca68a=0x0,_0xcd671f=0x0;;_0x4bf717++){let _0x9e2179=_0x4bf717<this['viewports']['length']?this['viewports'][_0x4bf717]:null;if(!_0x9e2179||_0x4045e7<_0x9e2179['top'])return _0xcd671f+(_0x4045e7-_0x2ca68a)*this['scale'];if(_0x4045e7<=_0x9e2179['bottom'])return _0x9e2179['domTop']+(_0x4045e7-_0x9e2179['top']);_0x2ca68a=_0x9e2179['bottom'],_0xcd671f=_0x9e2179['domBottom'];}}['fromDOM'](_0x43cf11){for(let _0x199237=0x0,_0x27128e=0x0,_0x2ef5a3=0x0;;_0x199237++){let _0x228a16=_0x199237<this['viewports']['length']?this['viewports'][_0x199237]:null;if(!_0x228a16||_0x43cf11<_0x228a16['domTop'])return _0x27128e+(_0x43cf11-_0x2ef5a3)/this['scale'];if(_0x43cf11<=_0x228a16['domBottom'])return _0x228a16['top']+(_0x43cf11-_0x228a16['domTop']);_0x27128e=_0x228a16['bottom'],_0x2ef5a3=_0x228a16['domBottom'];}}['eq'](_0x2bbb59){return _0x2bbb59 instanceof _0x1479fd&&(this['scale']==_0x2bbb59['scale']&&this['viewports']['length']==_0x2bbb59['viewports']['length']&&this['viewports']['every']((_0x37c540,_0x4652ce)=>_0x37c540['from']==_0x2bbb59['viewports'][_0x4652ce]['from']&&_0x37c540['to']==_0x2bbb59['viewports'][_0x4652ce]['to']));}}function _0x4278f3(_0x7e7bd6,_0x1857b1){if(0x1==_0x1857b1['scale'])return _0x7e7bd6;let _0x3d5174=_0x1857b1['toDOM'](_0x7e7bd6['top']),_0x25640b=_0x1857b1['toDOM'](_0x7e7bd6['bottom']);return new _0x2d18d9(_0x7e7bd6['from'],_0x7e7bd6['length'],_0x3d5174,_0x25640b-_0x3d5174,Array['isArray'](_0x7e7bd6['_content'])?_0x7e7bd6['_content']['map'](_0x6e9db2=>_0x4278f3(_0x6e9db2,_0x1857b1)):_0x7e7bd6['_content']);}const theme=Facet['define']({'combine':_0x5f552f=>_0x5f552f['join']('\x20')}),_0x43e1b2=Facet['define']({'combine':_0x4e05d4=>_0x4e05d4['indexOf'](!0x0)>-0x1}),_0x3652c1=StyleModule['newName'](),baseLightID=StyleModule['newName'](),_0x3f755e=StyleModule['newName'](),lightDarkIDs={'&light':'.'+baseLightID,'&dark':'.'+_0x3f755e};function _0x2f38d8(_0xc03018,_0x349eb2,_0x4fab67){return new StyleModule(_0x349eb2,{'finish':_0x2e507a=>/&/['test'](_0x2e507a)?_0x2e507a['replace'](/&\w*/,_0x56ae31=>{if('&'==_0x56ae31)return _0xc03018;if(!_0x4fab67||!_0x4fab67[_0x56ae31])throw new RangeError('Unsupported\x20selector:\x20'+_0x56ae31);return _0x4fab67[_0x56ae31];}):_0xc03018+'\x20'+_0x2e507a});}const _0x3506af=_0x2f38d8('.'+_0x3652c1,{'&':{'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':{'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-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'}},lightDarkIDs),observeOptions={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},useCharData=_0x54ee61['ie']&&_0x54ee61['ie_version']<=0xb;class _0x35e377{constructor(_0x6a40a4){this['view']=_0x6a40a4,this['active']=!0x1,this['editContext']=null,this['selectionRange']=new DOMSelectionState(),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']=_0x6a40a4['contentDOM'],this['observer']=new MutationObserver(_0x377c60=>{for(let _0x326b37 of _0x377c60)this['queue']['push'](_0x326b37);(_0x54ee61['ie']&&_0x54ee61['ie_version']<=0xb||_0x54ee61['ios']&&_0x6a40a4['composing'])&&_0x377c60['some'](_0x7e124c=>'childList'==_0x7e124c['type']&&_0x7e124c['removedNodes']['length']||'characterData'==_0x7e124c['type']&&_0x7e124c['oldValue']['length']>_0x7e124c['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x54ee61['android']||!0x1===_0x6a40a4['constructor']['EDIT_CONTEXT']||_0x54ee61['chrome']&&_0x54ee61['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x6a40a4),_0x6a40a4['state']['facet'](editable)&&(_0x6a40a4['contentDOM']['editContext']=this['editContext']['editContext'])),useCharData&&(this['onCharData']=_0x3a5fe1=>{this['queue']['push']({'target':_0x3a5fe1['target'],'type':'characterData','oldValue':_0x3a5fe1['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 _0x1112ab;(null===(_0x1112ab=this['view']['docView'])||void 0x0===_0x1112ab?void 0x0:_0x1112ab['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x6a40a4['scrollDOM'])),this['addWindowListeners'](this['win']=_0x6a40a4['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x48c915=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x48c915['length']>0x0&&_0x48c915[_0x48c915['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(_0x7c7c17=>{_0x7c7c17['length']>0x0&&_0x7c7c17[_0x7c7c17['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x5e53db){this['view']['inputState']['runHandlers']('scroll',_0x5e53db),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x161684){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x161684);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x4d196d){('change'!=_0x4d196d['type']&&_0x4d196d['type']||_0x4d196d['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x44f33c){if(this['gapIntersection']&&(_0x44f33c['length']!=this['gaps']['length']||this['gaps']['some']((_0x595f48,_0x191913)=>_0x595f48!=_0x44f33c[_0x191913]))){this['gapIntersection']['disconnect']();for(let _0x2d378b of _0x44f33c)this['gapIntersection']['observe'](_0x2d378b);this['gaps']=_0x44f33c;}}['onSelectionChange'](_0x2fc94d){let _0x209662=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x16f698}=this,_0xe67cbe=this['selectionRange'];if(_0x16f698['state']['facet'](editable)?_0x16f698['root']['activeElement']!=this['dom']:!hasSelection(this['dom'],_0xe67cbe))return;let _0x166803=_0xe67cbe['anchorNode']&&_0x16f698['docView']['nearest'](_0xe67cbe['anchorNode']);_0x166803&&_0x166803['ignoreEvent'](_0x2fc94d)?_0x209662||(this['selectionChanged']=!0x1):(_0x54ee61['ie']&&_0x54ee61['ie_version']<=0xb||_0x54ee61['android']&&_0x54ee61['chrome'])&&!_0x16f698['state']['selection']['main']['empty']&&_0xe67cbe['focusNode']&&isEquivalentPosition(_0xe67cbe['focusNode'],_0xe67cbe['focusOffset'],_0xe67cbe['anchorNode'],_0xe67cbe['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x15e4b9}=this,_0x4294ef=getSelection(_0x15e4b9['root']);if(!_0x4294ef)return!0x1;let _0x20a1c4=_0x54ee61['safari']&&0xb==_0x15e4b9['root']['nodeType']&&_0x15e4b9['root']['activeElement']==this['dom']&&safariSelectionRangeHack(this['view'],_0x4294ef)||_0x4294ef;if(!_0x20a1c4||this['selectionRange']['eq'](_0x20a1c4))return!0x1;let _0x5262a2=hasSelection(this['dom'],_0x20a1c4);return _0x5262a2&&!this['selectionChanged']&&_0x15e4b9['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x15e4b9['inputState']['lastTouchTime']<Date['now']()-0x12c&&atElementStart(this['dom'],_0x20a1c4)?(this['view']['inputState']['lastFocusTime']=0x0,_0x15e4b9['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x20a1c4),_0x5262a2&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0xd1b7e2,_0x24f081){this['selectionRange']['set'](_0xd1b7e2['node'],_0xd1b7e2['offset'],_0x24f081['node'],_0x24f081['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x4eb497=0x0,_0x340139=null;for(let _0x3d0f78=this['dom'];_0x3d0f78;)if(0x1==_0x3d0f78['nodeType'])!_0x340139&&_0x4eb497<this['scrollTargets']['length']&&this['scrollTargets'][_0x4eb497]==_0x3d0f78?_0x4eb497++:_0x340139||(_0x340139=this['scrollTargets']['slice'](0x0,_0x4eb497)),_0x340139&&_0x340139['push'](_0x3d0f78),_0x3d0f78=_0x3d0f78['assignedSlot']||_0x3d0f78['parentNode'];else{if(0xb!=_0x3d0f78['nodeType'])break;_0x3d0f78=_0x3d0f78['host'];}if(_0x4eb497<this['scrollTargets']['length']&&!_0x340139&&(_0x340139=this['scrollTargets']['slice'](0x0,_0x4eb497)),_0x340139){for(let _0x17421a of this['scrollTargets'])_0x17421a['removeEventListener']('scroll',this['onScroll']);for(let _0x132644 of this['scrollTargets']=_0x340139)_0x132644['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x2a70b6){if(!this['active'])return _0x2a70b6();try{return this['stop'](),_0x2a70b6();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],observeOptions),useCharData&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),useCharData&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0xaf4dcf,_0x4f840a){var _0x433f31;if(!this['delayedAndroidKey']){let _0x2f2240=()=>{let _0xea949f=this['delayedAndroidKey'];_0xea949f&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0xea949f['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0xea949f['force']&&dispatchKey(this['dom'],_0xea949f['key'],_0xea949f['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x2f2240);}this['delayedAndroidKey']&&'Enter'!=_0xaf4dcf||(this['delayedAndroidKey']={'key':_0xaf4dcf,'keyCode':_0x4f840a,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x433f31=this['delayedAndroidKey'])||void 0x0===_0x433f31?void 0x0:_0x433f31['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 _0xf21ac1 of this['observer']['takeRecords']())this['queue']['push'](_0xf21ac1);return this['queue'];}['processRecords'](){let _0x5499a4=this['pendingRecords']();_0x5499a4['length']&&(this['queue']=[]);let _0x1b4796=-0x1,_0x57450b=-0x1,_0x1e0ccc=!0x1;for(let _0x4f1a01 of _0x5499a4){let _0x1a3476=this['readMutation'](_0x4f1a01);_0x1a3476&&(_0x1a3476['typeOver']&&(_0x1e0ccc=!0x0),-0x1==_0x1b4796?{from:_0x1b4796,to:_0x57450b}=_0x1a3476:(_0x1b4796=Math['min'](_0x1a3476['from'],_0x1b4796),_0x57450b=Math['max'](_0x1a3476['to'],_0x57450b)));}return{'from':_0x1b4796,'to':_0x57450b,'typeOver':_0x1e0ccc};}['readChange'](){let {from:_0x9eb16f,to:_0x32375f,typeOver:_0x2a96d6}=this['processRecords'](),_0x21c3f1=this['selectionChanged']&&hasSelection(this['dom'],this['selectionRange']);if(_0x9eb16f<0x0&&!_0x21c3f1)return null;_0x9eb16f>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x535a5b=new _0x2d8a5c(this['view'],_0x9eb16f,_0x32375f,_0x2a96d6);return this['view']['docView']['domChanged']={'newSel':_0x535a5b['newSel']?_0x535a5b['newSel']['main']:null},_0x535a5b;}['flush'](_0xf03669=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0xf03669&&this['readSelectionRange']();let _0x4182f7=this['readChange']();if(!_0x4182f7)return this['view']['requestMeasure'](),!0x1;let _0x3bdb47=this['view']['state'],_0x57a7d7=_0x2b6f8f(this['view'],_0x4182f7);return this['view']['state']==_0x3bdb47&&(_0x4182f7['domChanged']||_0x4182f7['newSel']&&!_0x4182f7['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x57a7d7;}['readMutation'](_0x59451d){let _0x53ee98=this['view']['docView']['nearest'](_0x59451d['target']);if(!_0x53ee98||_0x53ee98['ignoreMutation'](_0x59451d))return null;if(_0x53ee98['markDirty']('attributes'==_0x59451d['type']),'attributes'==_0x59451d['type']&&(_0x53ee98['flags']|=0x4),'childList'==_0x59451d['type']){let _0x332635=_0x3c14e4(_0x53ee98,_0x59451d['previousSibling']||_0x59451d['target']['previousSibling'],-0x1),_0x445cd4=_0x3c14e4(_0x53ee98,_0x59451d['nextSibling']||_0x59451d['target']['nextSibling'],0x1);return{'from':_0x332635?_0x53ee98['posAfter'](_0x332635):_0x53ee98['posAtStart'],'to':_0x445cd4?_0x53ee98['posBefore'](_0x445cd4):_0x53ee98['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x59451d['type']?{'from':_0x53ee98['posAtStart'],'to':_0x53ee98['posAtEnd'],'typeOver':_0x59451d['target']['nodeValue']==_0x59451d['oldValue']}:null;}['setWindow'](_0x59c4e1){_0x59c4e1!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x59c4e1,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x43b333){_0x43b333['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x43b333['addEventListener']('beforeprint',this['onPrint']),_0x43b333['addEventListener']('scroll',this['onScroll']),_0x43b333['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x1c6655){_0x1c6655['removeEventListener']('scroll',this['onScroll']),_0x1c6655['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x1c6655['removeEventListener']('beforeprint',this['onPrint']),_0x1c6655['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x4928b2){this['editContext']&&(this['editContext']['update'](_0x4928b2),_0x4928b2['startState']['facet'](editable)!=_0x4928b2['state']['facet'](editable)&&(_0x4928b2['view']['contentDOM']['editContext']=_0x4928b2['state']['facet'](editable)?this['editContext']['editContext']:null));}['destroy'](){var _0x418235,_0x5aa78a,_0x4b07dc;this['stop'](),null===(_0x418235=this['intersection'])||void 0x0===_0x418235||_0x418235['disconnect'](),null===(_0x5aa78a=this['gapIntersection'])||void 0x0===_0x5aa78a||_0x5aa78a['disconnect'](),null===(_0x4b07dc=this['resizeScroll'])||void 0x0===_0x4b07dc||_0x4b07dc['disconnect']();for(let _0x133272 of this['scrollTargets'])_0x133272['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 _0x3c14e4(_0x55d47c,_0x58ee9c,_0x45047f){for(;_0x58ee9c;){let _0x4a9ecd=ContentView['get'](_0x58ee9c);if(_0x4a9ecd&&_0x4a9ecd['parent']==_0x55d47c)return _0x4a9ecd;let _0x38163e=_0x58ee9c['parentNode'];_0x58ee9c=_0x38163e!=_0x55d47c['dom']?_0x38163e:_0x45047f>0x0?_0x58ee9c['nextSibling']:_0x58ee9c['previousSibling'];}return null;}function buildSelectionRangeFromRange(_0x10c11b,_0x3fb52c){let _0x289af8=_0x3fb52c['startContainer'],_0x5a8972=_0x3fb52c['startOffset'],_0xe6b718=_0x3fb52c['endContainer'],_0x5e62ba=_0x3fb52c['endOffset'],_0x2b7f88=_0x10c11b['docView']['domAtPos'](_0x10c11b['state']['selection']['main']['anchor']);return isEquivalentPosition(_0x2b7f88['node'],_0x2b7f88['offset'],_0xe6b718,_0x5e62ba)&&([_0x289af8,_0x5a8972,_0xe6b718,_0x5e62ba]=[_0xe6b718,_0x5e62ba,_0x289af8,_0x5a8972]),{'anchorNode':_0x289af8,'anchorOffset':_0x5a8972,'focusNode':_0xe6b718,'focusOffset':_0x5e62ba};}function safariSelectionRangeHack(_0x1b5b49,_0x4f4ebe){if(_0x4f4ebe['getComposedRanges']){let _0xe8c0ba=_0x4f4ebe['getComposedRanges'](_0x1b5b49['root'])[0x0];if(_0xe8c0ba)return buildSelectionRangeFromRange(_0x1b5b49,_0xe8c0ba);}let _0x431846=null;function _0x227509(_0x51b144){_0x51b144['preventDefault'](),_0x51b144['stopImmediatePropagation'](),_0x431846=_0x51b144['getTargetRanges']()[0x0];}return _0x1b5b49['contentDOM']['addEventListener']('beforeinput',_0x227509,!0x0),_0x1b5b49['dom']['ownerDocument']['execCommand']('indent'),_0x1b5b49['contentDOM']['removeEventListener']('beforeinput',_0x227509,!0x0),_0x431846?buildSelectionRangeFromRange(_0x1b5b49,_0x431846):null;}class EditContextManager{constructor(_0x227efb){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x227efb['state']);let _0xcbf29c=this['editContext']=new window['EditContext']({'text':_0x227efb['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x227efb['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x227efb['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x446870=>{let _0x1bde11=_0x227efb['state']['selection']['main'],{anchor:_0x4446ce,head:_0x41d924}=_0x1bde11,_0x4ad2f6=this['toEditorPos'](_0x446870['updateRangeStart']),_0x4c3899=this['toEditorPos'](_0x446870['updateRangeEnd']);_0x227efb['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x446870['updateRangeStart'],'editorBase':_0x4ad2f6,'drifted':!0x1});let _0x550e71=_0x4c3899-_0x4ad2f6>_0x446870['text']['length'];_0x4ad2f6==this['from']&&_0x4446ce<this['from']?_0x4ad2f6=_0x4446ce:_0x4c3899==this['to']&&_0x4446ce>this['to']&&(_0x4c3899=_0x4446ce);let _0x33f3ee=_0x54b232(_0x227efb['state']['sliceDoc'](_0x4ad2f6,_0x4c3899),_0x446870['text'],(_0x550e71?_0x1bde11['from']:_0x1bde11['to'])-_0x4ad2f6,_0x550e71?'end':null);if(!_0x33f3ee){let _0x19872d=EditorSelection['single'](this['toEditorPos'](_0x446870['selectionStart']),this['toEditorPos'](_0x446870['selectionEnd']));return void(_0x19872d['main']['eq'](_0x1bde11)||_0x227efb['dispatch']({'selection':_0x19872d,'userEvent':'select'}));}let _0x39ffde={'from':_0x33f3ee['from']+_0x4ad2f6,'to':_0x33f3ee['toA']+_0x4ad2f6,'insert':Text['of'](_0x446870['text']['slice'](_0x33f3ee['from'],_0x33f3ee['toB'])['split']('\x0a'))};if((_0x54ee61['mac']||_0x54ee61['android'])&&_0x39ffde['from']==_0x41d924-0x1&&/^\. ?$/['test'](_0x446870['text'])&&'off'==_0x227efb['contentDOM']['getAttribute']('autocorrect')&&(_0x39ffde={'from':_0x4ad2f6,'to':_0x4c3899,'insert':Text['of']([_0x446870['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x39ffde,!_0x227efb['state']['readOnly']){let _0x15c9e5=this['to']-this['from']+(_0x39ffde['to']-_0x39ffde['from']+_0x39ffde['insert']['length']);_0x4a023d(_0x227efb,_0x39ffde,EditorSelection['single'](this['toEditorPos'](_0x446870['selectionStart'],_0x15c9e5),this['toEditorPos'](_0x446870['selectionEnd'],_0x15c9e5)));}this['pendingContextChange']&&(this['revertPending'](_0x227efb['state']),this['setSelection'](_0x227efb['state'])),_0x39ffde['from']<_0x39ffde['to']&&!_0x39ffde['insert']['length']&&_0x227efb['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0xcbf29c['text']['slice'](Math['max'](0x0,_0x446870['updateRangeStart']-0x1),Math['min'](_0xcbf29c['text']['length'],_0x446870['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x446870);},this['handlers']['characterboundsupdate']=_0x5ad54f=>{let _0x639e8d=[],_0x459831=null;for(let _0x61285b=this['toEditorPos'](_0x5ad54f['rangeStart']),_0x355568=this['toEditorPos'](_0x5ad54f['rangeEnd']);_0x61285b<_0x355568;_0x61285b++){let _0x4523cd=_0x227efb['coordsForChar'](_0x61285b);_0x459831=_0x4523cd&&new DOMRect(_0x4523cd['left'],_0x4523cd['top'],_0x4523cd['right']-_0x4523cd['left'],_0x4523cd['bottom']-_0x4523cd['top'])||_0x459831||new DOMRect(),_0x639e8d['push'](_0x459831);}_0xcbf29c['updateCharacterBounds'](_0x5ad54f['rangeStart'],_0x639e8d);},this['handlers']['textformatupdate']=_0x312525=>{let _0x1ecbf5=[];for(let _0xdd65be of _0x312525['getTextFormats']()){let _0x571b09=_0xdd65be['underlineStyle'],_0x2e6f8a=_0xdd65be['underlineThickness'];if(!/none/i['test'](_0x571b09)&&!/none/i['test'](_0x2e6f8a)){let _0x4de914=this['toEditorPos'](_0xdd65be['rangeStart']),_0x518983=this['toEditorPos'](_0xdd65be['rangeEnd']);if(_0x4de914<_0x518983){let _0x2bdd20='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x571b09)?_0x571b09+'\x20':'Dashed'==_0x571b09?'dashed\x20':'Squiggle'==_0x571b09?'wavy\x20':'')+(/thin/i['test'](_0x2e6f8a)?0x1:0x2)+'px';_0x1ecbf5['push'](Decoration['mark']({'attributes':{'style':_0x2bdd20}})['range'](_0x4de914,_0x518983));}}}_0x227efb['dispatch']({'effects':setEditContextFormatting['of'](Decoration['set'](_0x1ecbf5))});},this['handlers']['compositionstart']=()=>{_0x227efb['inputState']['composing']<0x0&&(_0x227efb['inputState']['composing']=0x0,_0x227efb['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x227efb['inputState']['composing']=-0x1,_0x227efb['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x3545be}=this['composing'];this['composing']=null,_0x3545be&&this['reset'](_0x227efb['state']);}};for(let _0x5e4017 in this['handlers'])_0xcbf29c['addEventListener'](_0x5e4017,this['handlers'][_0x5e4017]);this['measureReq']={'read':_0x160f4f=>{this['editContext']['updateControlBounds'](_0x160f4f['contentDOM']['getBoundingClientRect']());let _0x26eb38=getSelection(_0x160f4f['root']);_0x26eb38&&_0x26eb38['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x26eb38['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x2a7d76){let _0x8db984=0x0,_0x3d0d54=!0x1,_0x2957aa=this['pendingContextChange'];return _0x2a7d76['changes']['iterChanges']((_0x3f6ba8,_0x460553,_0xad25c5,_0x4830f5,_0x4d1027)=>{if(_0x3d0d54)return;let _0x5eade5=_0x4d1027['length']-(_0x460553-_0x3f6ba8);if(_0x2957aa&&_0x460553>=_0x2957aa['to']){if(_0x2957aa['from']==_0x3f6ba8&&_0x2957aa['to']==_0x460553&&_0x2957aa['insert']['eq'](_0x4d1027))return _0x2957aa=this['pendingContextChange']=null,_0x8db984+=_0x5eade5,void(this['to']+=_0x5eade5);_0x2957aa=null,this['revertPending'](_0x2a7d76['state']);}if(_0x3f6ba8+=_0x8db984,(_0x460553+=_0x8db984)<=this['from'])this['from']+=_0x5eade5,this['to']+=_0x5eade5;else{if(_0x3f6ba8<this['to']){if(_0x3f6ba8<this['from']||_0x460553>this['to']||this['to']-this['from']+_0x4d1027['length']>0x7530)return void(_0x3d0d54=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x3f6ba8),this['toContextPos'](_0x460553),_0x4d1027['toString']()),this['to']+=_0x5eade5;}}_0x8db984+=_0x5eade5;}),_0x2957aa&&!_0x3d0d54&&this['revertPending'](_0x2a7d76['state']),!_0x3d0d54;}['update'](_0x57b777){let _0x12a0d6=this['pendingContextChange'],_0x17f1d9=_0x57b777['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x57b777['changes']['touchesRange'](_0x17f1d9['from'],_0x17f1d9['to'])&&_0x57b777['transactions']['some'](_0x45ffaf=>!_0x45ffaf['isUserEvent']('input.type')&&_0x45ffaf['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x57b777['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x57b777)&&this['rangeIsValid'](_0x57b777['state'])?(_0x57b777['docChanged']||_0x57b777['selectionSet']||_0x12a0d6)&&this['setSelection'](_0x57b777['state']):(this['pendingContextChange']=null,this['reset'](_0x57b777['state'])),(_0x57b777['geometryChanged']||_0x57b777['docChanged']||_0x57b777['selectionSet'])&&_0x57b777['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x46ede7){let {head:_0x340737}=_0x46ede7['selection']['main'];this['from']=Math['max'](0x0,_0x340737-0x2710),this['to']=Math['min'](_0x46ede7['doc']['length'],_0x340737+0x2710);}['reset'](_0x55ef56){this['resetRange'](_0x55ef56),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x55ef56['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x55ef56);}['revertPending'](_0x5a1afe){let _0x1e5f87=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x1e5f87['from']),this['toContextPos'](_0x1e5f87['from']+_0x1e5f87['insert']['length']),_0x5a1afe['doc']['sliceString'](_0x1e5f87['from'],_0x1e5f87['to']));}['setSelection'](_0xb1be81){let {main:_0x5badc2}=_0xb1be81['selection'],_0x5a7ba0=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x5badc2['anchor']))),_0x2b6b53=this['toContextPos'](_0x5badc2['head']);this['editContext']['selectionStart']==_0x5a7ba0&&this['editContext']['selectionEnd']==_0x2b6b53||this['editContext']['updateSelection'](_0x5a7ba0,_0x2b6b53);}['rangeIsValid'](_0x26ca2b){let {head:_0x4f13e6}=_0x26ca2b['selection']['main'];return!(this['from']>0x0&&_0x4f13e6-this['from']<0x1f4||this['to']<_0x26ca2b['doc']['length']&&this['to']-_0x4f13e6<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x1c2ae5,_0x22900d=this['to']-this['from']){_0x1c2ae5=Math['min'](_0x1c2ae5,_0x22900d);let _0x24f145=this['composing'];return _0x24f145&&_0x24f145['drifted']?_0x24f145['editorBase']+(_0x1c2ae5-_0x24f145['contextBase']):_0x1c2ae5+this['from'];}['toContextPos'](_0x18f80a){let _0x34dfdf=this['composing'];return _0x34dfdf&&_0x34dfdf['drifted']?_0x34dfdf['contextBase']+(_0x18f80a-_0x34dfdf['editorBase']):_0x18f80a-this['from'];}['destroy'](){for(let _0xc2dd3e in this['handlers'])this['editContext']['removeEventListener'](_0xc2dd3e,this['handlers'][_0xc2dd3e]);}}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(_0x9be855={}){var _0x1599b3;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']),_0x9be855['parent']&&_0x9be855['parent']['appendChild'](this['dom']);let {dispatch:_0x42ce93}=_0x9be855;this['dispatchTransactions']=_0x9be855['dispatchTransactions']||_0x42ce93&&(_0x782e3f=>_0x782e3f['forEach'](_0x353bff=>_0x42ce93(_0x353bff,this)))||(_0xfb7c76=>this['update'](_0xfb7c76)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x9be855['root']||getRoot(_0x9be855['parent'])||document,this['viewState']=new ViewState(_0x9be855['state']||EditorState['create'](_0x9be855)),_0x9be855['scrollTo']&&_0x9be855['scrollTo']['is'](scrollIntoView$1)&&(this['viewState']['scrollTarget']=_0x9be855['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x50c7db)['map'](_0x5609a2=>new PluginInstance(_0x5609a2));for(let _0x38c9ce of this['plugins'])_0x38c9ce['update'](this);this['observer']=new _0x35e377(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x5d38d6(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x1599b3=document['fonts'])||void 0x0===_0x1599b3?void 0x0:_0x1599b3['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x3b1014){let _0x7a0239=0x1==_0x3b1014['length']&&_0x3b1014[0x0]instanceof Transaction?_0x3b1014:0x1==_0x3b1014['length']&&Array['isArray'](_0x3b1014[0x0])?_0x3b1014[0x0]:[this['state']['update'](..._0x3b1014)];this['dispatchTransactions'](_0x7a0239,this);}['update'](_0x5c613f){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0xa1be89,_0x341152=!0x1,_0x374862=!0x1,_0x263a28=this['state'];for(let _0x5bac6e of _0x5c613f){if(_0x5bac6e['startState']!=_0x263a28)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x263a28=_0x5bac6e['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x263a28);let _0x4b5af7=this['hasFocus'],_0x14cd24=0x0,_0x461527=null;_0x5c613f['some'](_0x49fa8b=>_0x49fa8b['annotation'](_0x23900a))?(this['inputState']['notifiedFocused']=_0x4b5af7,_0x14cd24=0x1):_0x4b5af7!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x4b5af7,_0x461527=focusChangeTransaction(_0x263a28,_0x4b5af7),_0x461527||(_0x14cd24=0x1));let _0x131771=this['observer']['delayedAndroidKey'],_0x54d092=null;if(_0x131771?(this['observer']['clearDelayedAndroidKey'](),_0x54d092=this['observer']['readChange'](),(_0x54d092&&!this['state']['doc']['eq'](_0x263a28['doc'])||!this['state']['selection']['eq'](_0x263a28['selection']))&&(_0x54d092=null)):this['observer']['clear'](),_0x263a28['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x263a28);_0xa1be89=ViewUpdate['create'](this,_0x263a28,_0x5c613f),_0xa1be89['flags']|=_0x14cd24;let _0x28a0b3=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x4d9de2 of _0x5c613f){if(_0x28a0b3&&(_0x28a0b3=_0x28a0b3['map'](_0x4d9de2['changes'])),_0x4d9de2['scrollIntoView']){let {main:_0x23ff8d}=_0x4d9de2['state']['selection'];_0x28a0b3=new ScrollTarget(_0x23ff8d['empty']?_0x23ff8d:EditorSelection['cursor'](_0x23ff8d['head'],_0x23ff8d['head']>_0x23ff8d['anchor']?-0x1:0x1));}for(let _0x3e6317 of _0x4d9de2['effects'])_0x3e6317['is'](scrollIntoView$1)&&(_0x28a0b3=_0x3e6317['value']['clip'](this['state']));}this['viewState']['update'](_0xa1be89,_0x28a0b3),this['bidiCache']=_0x5c7697['update'](this['bidiCache'],_0xa1be89['changes']),_0xa1be89['empty']||(this['updatePlugins'](_0xa1be89),this['inputState']['update'](_0xa1be89)),_0x341152=this['docView']['update'](_0xa1be89),this['state']['facet'](styleModule)!=this['styleModules']&&this['mountStyles'](),_0x374862=this['updateAttrs'](),this['showAnnouncements'](_0x5c613f),this['docView']['updateSelection'](_0x341152,_0x5c613f['some'](_0x1d6212=>_0x1d6212['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0xa1be89['startState']['facet'](theme)!=_0xa1be89['state']['facet'](theme)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x341152||_0x374862||_0x28a0b3||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x341152&&this['docViewUpdate'](),!_0xa1be89['empty']){for(let _0x4ad401 of this['state']['facet'](updateListener))try{_0x4ad401(_0xa1be89);}catch(_0x16f778){logException(this['state'],_0x16f778,'update\x20listener');}}(_0x461527||_0x54d092)&&Promise['resolve']()['then'](()=>{_0x461527&&this['state']==_0x461527['startState']&&this['dispatch'](_0x461527),_0x54d092&&!_0x2b6f8f(this,_0x54d092)&&_0x131771['force']&&dispatchKey(this['contentDOM'],_0x131771['key'],_0x131771['keyCode']);});}['setState'](_0x36d553){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']=_0x36d553);this['updateState']=0x2;let _0x2b9932=this['hasFocus'];try{for(let _0x5e8e87 of this['plugins'])_0x5e8e87['destroy'](this);this['viewState']=new ViewState(_0x36d553),this['plugins']=_0x36d553['facet'](_0x50c7db)['map'](_0x18704c=>new PluginInstance(_0x18704c)),this['pluginMap']['clear']();for(let _0x3976ab of this['plugins'])_0x3976ab['update'](this);this['docView']['destroy'](),this['docView']=new _0x5d38d6(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x2b9932&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x1a8afc){let _0x32dc85=_0x1a8afc['startState']['facet'](_0x50c7db),_0x37eac9=_0x1a8afc['state']['facet'](_0x50c7db);if(_0x32dc85!=_0x37eac9){let _0xf92f3f=[];for(let _0x5f1880 of _0x37eac9){let _0xce2959=_0x32dc85['indexOf'](_0x5f1880);if(_0xce2959<0x0)_0xf92f3f['push'](new PluginInstance(_0x5f1880));else{let _0x4c6843=this['plugins'][_0xce2959];_0x4c6843['mustUpdate']=_0x1a8afc,_0xf92f3f['push'](_0x4c6843);}}for(let _0x2eb8b0 of this['plugins'])_0x2eb8b0['mustUpdate']!=_0x1a8afc&&_0x2eb8b0['destroy'](this);this['plugins']=_0xf92f3f,this['pluginMap']['clear']();}else{for(let _0x28199e of this['plugins'])_0x28199e['mustUpdate']=_0x1a8afc;}for(let _0x3e35e5=0x0;_0x3e35e5<this['plugins']['length'];_0x3e35e5++)this['plugins'][_0x3e35e5]['update'](this);_0x32dc85!=_0x37eac9&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x2814ec of this['plugins']){let _0x4799e8=_0x2814ec['value'];if(_0x4799e8&&_0x4799e8['docViewUpdate'])try{_0x4799e8['docViewUpdate'](this);}catch(_0x18dc69){logException(this['state'],_0x18dc69,'doc\x20view\x20update\x20listener');}}}['measure'](_0x4db931=!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,_0x4db931&&this['observer']['forceFlush']();let _0x47f513=null,_0x34a117=this['scrollDOM'],_0x36b7e2=_0x34a117['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x5422ac,scrollAnchorHeight:_0x1bda17}=this['viewState'];Math['abs'](_0x36b7e2-this['viewState']['scrollTop'])>0x1&&(_0x1bda17=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x2d895f=0x0;;_0x2d895f++){if(_0x1bda17<0x0){if(isScrolledToBottom(_0x34a117))_0x5422ac=-0x1,_0x1bda17=this['viewState']['heightMap']['height'];else{let _0x140187=this['viewState']['scrollAnchorAt'](_0x36b7e2);_0x5422ac=_0x140187['from'],_0x1bda17=_0x140187['top'];}}this['updateState']=0x1;let _0x39273e=this['viewState']['measure'](this);if(!_0x39273e&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x2d895f>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x162f56=[];0x4&_0x39273e||([this['measureRequests'],_0x162f56]=[_0x162f56,this['measureRequests']]);let _0x2d450c=_0x162f56['map'](_0x62a276=>{try{return _0x62a276['read'](this);}catch(_0x2d0007){return logException(this['state'],_0x2d0007),_0x5bbae1;}}),_0x3538f2=ViewUpdate['create'](this,this['state'],[]),_0x5eda8a=!0x1;_0x3538f2['flags']|=_0x39273e,_0x47f513?_0x47f513['flags']|=_0x39273e:_0x47f513=_0x3538f2,this['updateState']=0x2,_0x3538f2['empty']||(this['updatePlugins'](_0x3538f2),this['inputState']['update'](_0x3538f2),this['updateAttrs'](),_0x5eda8a=this['docView']['update'](_0x3538f2),_0x5eda8a&&this['docViewUpdate']());for(let _0x1b5fa9=0x0;_0x1b5fa9<_0x162f56['length'];_0x1b5fa9++)if(_0x2d450c[_0x1b5fa9]!=_0x5bbae1)try{let _0x3ac38e=_0x162f56[_0x1b5fa9];_0x3ac38e['write']&&_0x3ac38e['write'](_0x2d450c[_0x1b5fa9],this);}catch(_0x5f2355){logException(this['state'],_0x5f2355);}if(_0x5eda8a&&this['docView']['updateSelection'](!0x0),!_0x3538f2['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x1bda17=-0x1;continue;}{let _0x17e40d=(_0x5422ac<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x5422ac)['top'])-_0x1bda17;if(_0x17e40d>0x1||_0x17e40d<-0x1){_0x36b7e2+=_0x17e40d,_0x34a117['scrollTop']=_0x36b7e2/this['scaleY'],_0x1bda17=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x47f513&&!_0x47f513['empty']){for(let _0x133861 of this['state']['facet'](updateListener))_0x133861(_0x47f513);}}get['themeClasses'](){return _0x3652c1+'\x20'+(this['state']['facet'](_0x43e1b2)?_0x3f755e:baseLightID)+'\x20'+this['state']['facet'](theme);}['updateAttrs'](){let _0x254f2f=attrsFromFacet(this,editorAttributes,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x48e520={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](editable)?'true':'false','class':'cm-content','style':_0x54ee61['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x48e520['aria-readonly']='true'),attrsFromFacet(this,contentAttributes,_0x48e520);let _0x264c1c=this['observer']['ignore'](()=>{let _0xadf094=updateAttrs(this['contentDOM'],this['contentAttrs'],_0x48e520),_0x2cccef=updateAttrs(this['dom'],this['editorAttrs'],_0x254f2f);return _0xadf094||_0x2cccef;});return this['editorAttrs']=_0x254f2f,this['contentAttrs']=_0x48e520,_0x264c1c;}['showAnnouncements'](_0x1e114a){let _0x58de08=!0x0;for(let _0x20e633 of _0x1e114a)for(let _0x2dd5bf of _0x20e633['effects'])_0x2dd5bf['is'](EditorView['announce'])&&(_0x58de08&&(this['announceDOM']['textContent']=''),_0x58de08=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x2dd5bf['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](styleModule);let _0x52bd4f=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x3506af)['reverse'](),_0x52bd4f?{'nonce':_0x52bd4f}: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'](_0x3338d4){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x3338d4){if(this['measureRequests']['indexOf'](_0x3338d4)>-0x1)return;if(null!=_0x3338d4['key']){for(let _0x1ba39e=0x0;_0x1ba39e<this['measureRequests']['length'];_0x1ba39e++)if(this['measureRequests'][_0x1ba39e]['key']===_0x3338d4['key'])return void(this['measureRequests'][_0x1ba39e]=_0x3338d4);}this['measureRequests']['push'](_0x3338d4);}}['plugin'](_0x45770c){let _0x462165=this['pluginMap']['get'](_0x45770c);return(void 0x0===_0x462165||_0x462165&&_0x462165['plugin']!=_0x45770c)&&this['pluginMap']['set'](_0x45770c,_0x462165=this['plugins']['find'](_0x214ded=>_0x214ded['plugin']==_0x45770c)||null),_0x462165&&_0x462165['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'](_0x4e93db){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x4e93db);}['lineBlockAtHeight'](_0x412ce7){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x412ce7);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0xd690ec){return this['viewState']['lineBlockAt'](_0xd690ec);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x20b5a2,_0x4cc37a,_0x4f69f8){return skipAtoms(this,_0x20b5a2,_0x9546e8(this,_0x20b5a2,_0x4cc37a,_0x4f69f8));}['moveByGroup'](_0x5e6096,_0x546347){return skipAtoms(this,_0x5e6096,_0x9546e8(this,_0x5e6096,_0x546347,_0x1aaa5b=>_0x3c46cf(this,_0x5e6096['head'],_0x1aaa5b)));}['visualLineSide'](_0x31643d,_0x35cdd2){let _0x11e04b=this['bidiSpans'](_0x31643d),_0x15273b=this['textDirectionAt'](_0x31643d['from']),_0x3e79a9=_0x11e04b[_0x35cdd2?_0x11e04b['length']-0x1:0x0];return EditorSelection['cursor'](_0x3e79a9['side'](_0x35cdd2,_0x15273b)+_0x31643d['from'],_0x3e79a9['forward'](!_0x35cdd2,_0x15273b)?0x1:-0x1);}['moveToLineBoundary'](_0x5accd3,_0x21bf61,_0x4b77b7=!0x0){return _0x46f045(this,_0x5accd3,_0x21bf61,_0x4b77b7);}['moveVertically'](_0x26b5d8,_0x2baa10,_0x11cac2){return skipAtoms(this,_0x26b5d8,moveVertically(this,_0x26b5d8,_0x2baa10,_0x11cac2));}['domAtPos'](_0x13443b){return this['docView']['domAtPos'](_0x13443b);}['posAtDOM'](_0x36878b,_0x41025e=0x0){return this['docView']['posFromDOM'](_0x36878b,_0x41025e);}['posAtCoords'](_0x21255d,_0x1143aa=!0x0){return this['readMeasured'](),posAtCoords(this,_0x21255d,_0x1143aa);}['coordsAtPos'](_0x165bec,_0x5d24ce=0x1){this['readMeasured']();let _0x33f5dd=this['docView']['coordsAt'](_0x165bec,_0x5d24ce);if(!_0x33f5dd||_0x33f5dd['left']==_0x33f5dd['right'])return _0x33f5dd;let _0x238cd2=this['state']['doc']['lineAt'](_0x165bec),_0x5b0559=this['bidiSpans'](_0x238cd2);return flattenRect(_0x33f5dd,_0x5b0559[_0x5433ee['find'](_0x5b0559,_0x165bec-_0x238cd2['from'],-0x1,_0x5d24ce)]['dir']==Direction['LTR']==_0x5d24ce>0x0);}['coordsForChar'](_0x13c85f){return this['readMeasured'](),this['docView']['coordsForChar'](_0x13c85f);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x1d3b58){return!this['state']['facet'](perLineTextDirection)||_0x1d3b58<this['viewport']['from']||_0x1d3b58>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x1d3b58));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x16a413){if(_0x16a413['length']>_0x2f29cb)return trivialOrder(_0x16a413['length']);let _0x4e06d3,_0x2c6936=this['textDirectionAt'](_0x16a413['from']);for(let _0x9b23f8 of this['bidiCache'])if(_0x9b23f8['from']==_0x16a413['from']&&_0x9b23f8['dir']==_0x2c6936&&(_0x9b23f8['fresh']||isolatesEq(_0x9b23f8['isolates'],_0x4e06d3=getIsolatedRanges(this,_0x16a413))))return _0x9b23f8['order'];_0x4e06d3||(_0x4e06d3=getIsolatedRanges(this,_0x16a413));let _0x4cebe3=computeOrder(_0x16a413['text'],_0x2c6936,_0x4e06d3);return this['bidiCache']['push'](new _0x5c7697(_0x16a413['from'],_0x16a413['to'],_0x2c6936,_0x4e06d3,!0x0,_0x4cebe3)),_0x4cebe3;}get['hasFocus'](){var _0x5a7e37;return(this['dom']['ownerDocument']['hasFocus']()||_0x54ee61['safari']&&(null===(_0x5a7e37=this['inputState'])||void 0x0===_0x5a7e37?void 0x0:_0x5a7e37['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{focusPreventScroll(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x379e2a){this['_root']!=_0x379e2a&&(this['_root']=_0x379e2a,this['observer']['setWindow']((0x9==_0x379e2a['nodeType']?_0x379e2a:_0x379e2a['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x221b78 of this['plugins'])_0x221b78['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'](_0x588c42,_0x5a5f4b={}){return scrollIntoView$1['of'](new ScrollTarget('number'==typeof _0x588c42?EditorSelection['cursor'](_0x588c42):_0x588c42,_0x5a5f4b['y'],_0x5a5f4b['x'],_0x5a5f4b['yMargin'],_0x5a5f4b['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x1728cb,scrollLeft:_0xd79f05}=this['scrollDOM'],_0x28d4e0=this['viewState']['scrollAnchorAt'](_0x1728cb);return scrollIntoView$1['of'](new ScrollTarget(EditorSelection['cursor'](_0x28d4e0['from']),'start','start',_0x28d4e0['top']-_0x1728cb,_0xd79f05,!0x0));}['setTabFocusMode'](_0x8ffec4){null==_0x8ffec4?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x8ffec4?this['inputState']['tabFocusMode']=_0x8ffec4?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x8ffec4);}static['domEventHandlers'](_0x78832b){return _0x2e3bc0['define'](()=>({}),{'eventHandlers':_0x78832b});}static['domEventObservers'](_0x1b6351){return _0x2e3bc0['define'](()=>({}),{'eventObservers':_0x1b6351});}static['theme'](_0x306956,_0x351847){let _0x46d0f2=StyleModule['newName'](),_0x5d6ffb=[theme['of'](_0x46d0f2),styleModule['of'](_0x2f38d8('.'+_0x46d0f2,_0x306956))];return _0x351847&&_0x351847['dark']&&_0x5d6ffb['push'](_0x43e1b2['of'](!0x0)),_0x5d6ffb;}static['baseTheme'](_0x40f35a){return _0x346fa8['lowest'](styleModule['of'](_0x2f38d8('.'+_0x3652c1,_0x40f35a,lightDarkIDs)));}static['findFromDOM'](_0x939bec){var _0x3a6e51;let _0xf4b300=_0x939bec['querySelector']('.cm-content'),_0xc307b1=_0xf4b300&&ContentView['get'](_0xf4b300)||ContentView['get'](_0x939bec);return(null===(_0x3a6e51=null==_0xc307b1?void 0x0:_0xc307b1['rootView'])||void 0x0===_0x3a6e51?void 0x0:_0x3a6e51['view'])||null;}}EditorView['styleModule']=styleModule,EditorView['inputHandler']=inputHandler$1,EditorView['clipboardInputFilter']=clipboardInputFilter,EditorView['clipboardOutputFilter']=clipboardOutputFilter,EditorView['scrollHandler']=_0x33c578,EditorView['focusChangeEffect']=focusChangeEffect,EditorView['perLineTextDirection']=perLineTextDirection,EditorView['exceptionSink']=exceptionSink,EditorView['updateListener']=updateListener,EditorView['editable']=editable,EditorView['mouseSelectionStyle']=mouseSelectionStyle,EditorView['dragMovesSelection']=dragMovesSelection$1,EditorView['clickAddsSelectionRange']=clickAddsSelectionRange,EditorView['decorations']=decorations,EditorView['outerDecorations']=outerDecorations,EditorView['atomicRanges']=atomicRanges,EditorView['bidiIsolatedRanges']=bidiIsolatedRanges,EditorView['scrollMargins']=_0x2a9439,EditorView['darkTheme']=_0x43e1b2,EditorView['cspNonce']=Facet['define']({'combine':_0x1b41bc=>_0x1b41bc['length']?_0x1b41bc[0x0]:''}),EditorView['contentAttributes']=contentAttributes,EditorView['editorAttributes']=editorAttributes,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x2f29cb=0x1000,_0x5bbae1={};class _0x5c7697{constructor(_0x441489,_0x5dd5f2,_0x46444f,_0xbe1cb1,_0x19577b,_0x3ed95d){this['from']=_0x441489,this['to']=_0x5dd5f2,this['dir']=_0x46444f,this['isolates']=_0xbe1cb1,this['fresh']=_0x19577b,this['order']=_0x3ed95d;}static['update'](_0x264ce0,_0x86b1a3){if(_0x86b1a3['empty']&&!_0x264ce0['some'](_0x10673e=>_0x10673e['fresh']))return _0x264ce0;let _0xcc9ea8=[],_0x448ce9=_0x264ce0['length']?_0x264ce0[_0x264ce0['length']-0x1]['dir']:Direction['LTR'];for(let _0x5f5053=Math['max'](0x0,_0x264ce0['length']-0xa);_0x5f5053<_0x264ce0['length'];_0x5f5053++){let _0x8a6ca8=_0x264ce0[_0x5f5053];_0x8a6ca8['dir']!=_0x448ce9||_0x86b1a3['touchesRange'](_0x8a6ca8['from'],_0x8a6ca8['to'])||_0xcc9ea8['push'](new _0x5c7697(_0x86b1a3['mapPos'](_0x8a6ca8['from'],0x1),_0x86b1a3['mapPos'](_0x8a6ca8['to'],-0x1),_0x8a6ca8['dir'],_0x8a6ca8['isolates'],!0x1,_0x8a6ca8['order']));}return _0xcc9ea8;}}function attrsFromFacet(_0x2f76c6,_0xeb60c8,_0x46863){for(let _0x3b2dec=_0x2f76c6['state']['facet'](_0xeb60c8),_0x3f1c7f=_0x3b2dec['length']-0x1;_0x3f1c7f>=0x0;_0x3f1c7f--){let _0x4d792=_0x3b2dec[_0x3f1c7f],_0x1ac88c='function'==typeof _0x4d792?_0x4d792(_0x2f76c6):_0x4d792;_0x1ac88c&&combineAttrs(_0x1ac88c,_0x46863);}return _0x46863;}const currentPlatform=_0x54ee61['mac']?'mac':_0x54ee61['windows']?'win':_0x54ee61['linux']?'linux':'key';function _0x33422d(_0xfbdfa4,_0x415099){const _0x20210a=_0xfbdfa4['split'](/-(?!$)/);let _0x36e5ef,_0x2f3cb2,_0xb85247,_0x583e3c,_0x15568b=_0x20210a[_0x20210a['length']-0x1];'Space'==_0x15568b&&(_0x15568b='\x20');for(let _0x1aa28c=0x0;_0x1aa28c<_0x20210a['length']-0x1;++_0x1aa28c){const _0x5d0859=_0x20210a[_0x1aa28c];if(/^(cmd|meta|m)$/i['test'](_0x5d0859))_0x583e3c=!0x0;else{if(/^a(lt)?$/i['test'](_0x5d0859))_0x36e5ef=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x5d0859))_0x2f3cb2=!0x0;else{if(/^s(hift)?$/i['test'](_0x5d0859))_0xb85247=!0x0;else{if(!/^mod$/i['test'](_0x5d0859))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x5d0859);'mac'==_0x415099?_0x583e3c=!0x0:_0x2f3cb2=!0x0;}}}}}return _0x36e5ef&&(_0x15568b='Alt-'+_0x15568b),_0x2f3cb2&&(_0x15568b='Ctrl-'+_0x15568b),_0x583e3c&&(_0x15568b='Meta-'+_0x15568b),_0xb85247&&(_0x15568b='Shift-'+_0x15568b),_0x15568b;}function _0x417398(_0x43f50c,_0x2dab23,_0x2c0f4e){return _0x2dab23['altKey']&&(_0x43f50c='Alt-'+_0x43f50c),_0x2dab23['ctrlKey']&&(_0x43f50c='Ctrl-'+_0x43f50c),_0x2dab23['metaKey']&&(_0x43f50c='Meta-'+_0x43f50c),!0x1!==_0x2c0f4e&&_0x2dab23['shiftKey']&&(_0x43f50c='Shift-'+_0x43f50c),_0x43f50c;}const handleKeyEvents=_0x346fa8['default'](EditorView['domEventHandlers']({'keydown':(_0x14543a,_0x4d3d7c)=>_0x158357(getKeymap(_0x4d3d7c['state']),_0x14543a,_0x4d3d7c,'editor')})),_0x1e0442=Facet['define']({'enables':handleKeyEvents}),_0x118d48=new WeakMap();function getKeymap(_0xdd39a2){let _0x54e008=_0xdd39a2['facet'](_0x1e0442),_0x4147b3=_0x118d48['get'](_0x54e008);return _0x4147b3||_0x118d48['set'](_0x54e008,_0x4147b3=_0x59985f(_0x54e008['reduce']((_0x3b69be,_0x4dfd29)=>_0x3b69be['concat'](_0x4dfd29),[]))),_0x4147b3;}let storedPrefix=null;const PrefixTimeout=0xfa0;function _0x59985f(_0x4c7d67,_0x55ac4a=currentPlatform){let _0xbabbf4=Object['create'](null),_0x1cca4c=Object['create'](null),_0x4f246d=(_0x184127,_0x419e06)=>{let _0x26bf08=_0x1cca4c[_0x184127];if(null==_0x26bf08)_0x1cca4c[_0x184127]=_0x419e06;else{if(_0x26bf08!=_0x419e06)throw new Error('Key\x20binding\x20'+_0x184127+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x8fcaf5=(_0x2f7e1c,_0x5bb97d,_0x202941,_0x516a6b,_0x5a0702)=>{var _0x59a1fc,_0x1704d0;let _0x322a09=_0xbabbf4[_0x2f7e1c]||(_0xbabbf4[_0x2f7e1c]=Object['create'](null)),_0x2ba4c2=_0x5bb97d['split'](/ (?!$)/)['map'](_0x1d6c85=>_0x33422d(_0x1d6c85,_0x55ac4a));for(let _0x4f2539=0x1;_0x4f2539<_0x2ba4c2['length'];_0x4f2539++){let _0x17800d=_0x2ba4c2['slice'](0x0,_0x4f2539)['join']('\x20');_0x4f246d(_0x17800d,!0x0),_0x322a09[_0x17800d]||(_0x322a09[_0x17800d]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x1ed79a=>{let _0x9b7f9d=storedPrefix={'view':_0x1ed79a,'prefix':_0x17800d,'scope':_0x2f7e1c};return setTimeout(()=>{storedPrefix==_0x9b7f9d&&(storedPrefix=null);},PrefixTimeout),!0x0;}]});}let _0x36db6=_0x2ba4c2['join']('\x20');_0x4f246d(_0x36db6,!0x1);let _0x61dd26=_0x322a09[_0x36db6]||(_0x322a09[_0x36db6]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x1704d0=null===(_0x59a1fc=_0x322a09['_any'])||void 0x0===_0x59a1fc?void 0x0:_0x59a1fc['run'])||void 0x0===_0x1704d0?void 0x0:_0x1704d0['slice']())||[]});_0x202941&&_0x61dd26['run']['push'](_0x202941),_0x516a6b&&(_0x61dd26['preventDefault']=!0x0),_0x5a0702&&(_0x61dd26['stopPropagation']=!0x0);};for(let _0x172946 of _0x4c7d67){let _0x38ea3a=_0x172946['scope']?_0x172946['scope']['split']('\x20'):['editor'];if(_0x172946['any'])for(let _0x267f4e of _0x38ea3a){let _0x3b53e4=_0xbabbf4[_0x267f4e]||(_0xbabbf4[_0x267f4e]=Object['create'](null));_0x3b53e4['_any']||(_0x3b53e4['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x551ff5}=_0x172946;for(let _0x2efdb5 in _0x3b53e4)_0x3b53e4[_0x2efdb5]['run']['push'](_0x36fcfb=>_0x551ff5(_0x36fcfb,currentKeyEvent));}let _0x54ed70=_0x172946[_0x55ac4a]||_0x172946['key'];if(_0x54ed70){for(let _0x55ed81 of _0x38ea3a)_0x8fcaf5(_0x55ed81,_0x54ed70,_0x172946['run'],_0x172946['preventDefault'],_0x172946['stopPropagation']),_0x172946['shift']&&_0x8fcaf5(_0x55ed81,'Shift-'+_0x54ed70,_0x172946['shift'],_0x172946['preventDefault'],_0x172946['stopPropagation']);}}return _0xbabbf4;}let currentKeyEvent=null;function _0x158357(_0x33d286,_0x3a2f0a,_0x53305b,_0xee57a2){currentKeyEvent=_0x3a2f0a;let _0x5a9315=_0x5df1ba(_0x3a2f0a),_0x16bfb8=codePointSize(codePointAt(_0x5a9315,0x0))==_0x5a9315['length']&&'\x20'!=_0x5a9315,_0xb02178='',_0x1fb1b4=!0x1,_0x5b9c0f=!0x1,_0x4c1b54=!0x1;storedPrefix&&storedPrefix['view']==_0x53305b&&storedPrefix['scope']==_0xee57a2&&(_0xb02178=storedPrefix['prefix']+'\x20',_0x29905c['indexOf'](_0x3a2f0a['keyCode'])<0x0&&(_0x5b9c0f=!0x0,storedPrefix=null));let _0x2211d3,_0x53b419,_0x30b9a9=new Set(),_0x5d1f87=_0x3a12a9=>{if(_0x3a12a9){for(let _0x4b731b of _0x3a12a9['run'])if(!_0x30b9a9['has'](_0x4b731b)&&(_0x30b9a9['add'](_0x4b731b),_0x4b731b(_0x53305b)))return _0x3a12a9['stopPropagation']&&(_0x4c1b54=!0x0),!0x0;_0x3a12a9['preventDefault']&&(_0x3a12a9['stopPropagation']&&(_0x4c1b54=!0x0),_0x5b9c0f=!0x0);}return!0x1;},_0x244544=_0x33d286[_0xee57a2];return _0x244544&&(_0x5d1f87(_0x244544[_0xb02178+_0x417398(_0x5a9315,_0x3a2f0a,!_0x16bfb8)])?_0x1fb1b4=!0x0:!_0x16bfb8||!(_0x3a2f0a['altKey']||_0x3a2f0a['metaKey']||_0x3a2f0a['ctrlKey'])||_0x54ee61['windows']&&_0x3a2f0a['ctrlKey']&&_0x3a2f0a['altKey']||_0x54ee61['mac']&&_0x3a2f0a['altKey']&&!_0x3a2f0a['ctrlKey']&&!_0x3a2f0a['metaKey']||!(_0x2211d3=_0x4d9887[_0x3a2f0a['keyCode']])||_0x2211d3==_0x5a9315?_0x16bfb8&&_0x3a2f0a['shiftKey']&&_0x5d1f87(_0x244544[_0xb02178+_0x417398(_0x5a9315,_0x3a2f0a,!0x0)])&&(_0x1fb1b4=!0x0):(_0x5d1f87(_0x244544[_0xb02178+_0x417398(_0x2211d3,_0x3a2f0a,!0x0)])||_0x3a2f0a['shiftKey']&&(_0x53b419=shift[_0x3a2f0a['keyCode']])!=_0x5a9315&&_0x53b419!=_0x2211d3&&_0x5d1f87(_0x244544[_0xb02178+_0x417398(_0x53b419,_0x3a2f0a,!0x1)]))&&(_0x1fb1b4=!0x0),!_0x1fb1b4&&_0x5d1f87(_0x244544['_any'])&&(_0x1fb1b4=!0x0)),_0x5b9c0f&&(_0x1fb1b4=!0x0),_0x1fb1b4&&_0x4c1b54&&_0x3a2f0a['stopPropagation'](),currentKeyEvent=null,_0x1fb1b4;}class RectangleMarker{constructor(_0x4926c7,_0x46c8bc,_0x4ed40b,_0x331d4a,_0x87d39d){this['className']=_0x4926c7,this['left']=_0x46c8bc,this['top']=_0x4ed40b,this['width']=_0x331d4a,this['height']=_0x87d39d;}['draw'](){let _0x58412b=document['createElement']('div');return _0x58412b['className']=this['className'],this['adjust'](_0x58412b),_0x58412b;}['update'](_0x21157c,_0x1ff9b4){return _0x1ff9b4['className']==this['className']&&(this['adjust'](_0x21157c),!0x0);}['adjust'](_0x190444){_0x190444['style']['left']=this['left']+'px',_0x190444['style']['top']=this['top']+'px',null!=this['width']&&(_0x190444['style']['width']=this['width']+'px'),_0x190444['style']['height']=this['height']+'px';}['eq'](_0xe4dbdd){return this['left']==_0xe4dbdd['left']&&this['top']==_0xe4dbdd['top']&&this['width']==_0xe4dbdd['width']&&this['height']==_0xe4dbdd['height']&&this['className']==_0xe4dbdd['className'];}static['forRange'](_0x7aa707,_0x42b320,_0x5f2d8e){if(_0x5f2d8e['empty']){let _0x33793f=_0x7aa707['coordsAtPos'](_0x5f2d8e['head'],_0x5f2d8e['assoc']||0x1);if(!_0x33793f)return[];let _0x426f12=getBase(_0x7aa707);return[new RectangleMarker(_0x42b320,_0x33793f['left']-_0x426f12['left'],_0x33793f['top']-_0x426f12['top'],null,_0x33793f['bottom']-_0x33793f['top'])];}return rectanglesForRange(_0x7aa707,_0x42b320,_0x5f2d8e);}}function getBase(_0x150891){let _0x2d7126=_0x150891['scrollDOM']['getBoundingClientRect']();return{'left':(_0x150891['textDirection']==Direction['LTR']?_0x2d7126['left']:_0x2d7126['right']-_0x150891['scrollDOM']['clientWidth']*_0x150891['scaleX'])-_0x150891['scrollDOM']['scrollLeft']*_0x150891['scaleX'],'top':_0x2d7126['top']-_0x150891['scrollDOM']['scrollTop']*_0x150891['scaleY']};}function _0x5ab77c(_0x110ee5,_0x49bb55,_0x1b0580,_0x233321){let _0x341e94=_0x110ee5['coordsAtPos'](_0x49bb55,0x2*_0x1b0580);if(!_0x341e94)return _0x233321;let _0x1368e3=_0x110ee5['dom']['getBoundingClientRect'](),_0xec8f43=(_0x341e94['top']+_0x341e94['bottom'])/0x2,_0x396ae3=_0x110ee5['posAtCoords']({'x':_0x1368e3['left']+0x1,'y':_0xec8f43}),_0x34ae46=_0x110ee5['posAtCoords']({'x':_0x1368e3['right']-0x1,'y':_0xec8f43});return null==_0x396ae3||null==_0x34ae46?_0x233321:{'from':Math['max'](_0x233321['from'],Math['min'](_0x396ae3,_0x34ae46)),'to':Math['min'](_0x233321['to'],Math['max'](_0x396ae3,_0x34ae46))};}function rectanglesForRange(_0x5c2e18,_0x1639a4,_0x19cdf5){if(_0x19cdf5['to']<=_0x5c2e18['viewport']['from']||_0x19cdf5['from']>=_0x5c2e18['viewport']['to'])return[];let _0x587915=Math['max'](_0x19cdf5['from'],_0x5c2e18['viewport']['from']),_0x4f9c2b=Math['min'](_0x19cdf5['to'],_0x5c2e18['viewport']['to']),_0x2919a2=_0x5c2e18['textDirection']==Direction['LTR'],_0xa97a2d=_0x5c2e18['contentDOM'],_0x1dec18=_0xa97a2d['getBoundingClientRect'](),_0x1ac440=getBase(_0x5c2e18),_0x230b80=_0xa97a2d['querySelector']('.cm-line'),_0x1d0ca3=_0x230b80&&window['getComputedStyle'](_0x230b80),_0x551607=_0x1dec18['left']+(_0x1d0ca3?parseInt(_0x1d0ca3['paddingLeft'])+Math['min'](0x0,parseInt(_0x1d0ca3['textIndent'])):0x0),_0x30786f=_0x1dec18['right']-(_0x1d0ca3?parseInt(_0x1d0ca3['paddingRight']):0x0),_0x34275b=blockAt(_0x5c2e18,_0x587915,0x1),_0xf542b4=blockAt(_0x5c2e18,_0x4f9c2b,-0x1),_0x3f5125=_0x34275b['type']==_0x30e04f['Text']?_0x34275b:null,_0x162ea8=_0xf542b4['type']==_0x30e04f['Text']?_0xf542b4:null;if(_0x3f5125&&(_0x5c2e18['lineWrapping']||_0x34275b['widgetLineBreaks'])&&(_0x3f5125=_0x5ab77c(_0x5c2e18,_0x587915,0x1,_0x3f5125)),_0x162ea8&&(_0x5c2e18['lineWrapping']||_0xf542b4['widgetLineBreaks'])&&(_0x162ea8=_0x5ab77c(_0x5c2e18,_0x4f9c2b,-0x1,_0x162ea8)),_0x3f5125&&_0x162ea8&&_0x3f5125['from']==_0x162ea8['from']&&_0x3f5125['to']==_0x162ea8['to'])return _0x10b223(_0x548e47(_0x19cdf5['from'],_0x19cdf5['to'],_0x3f5125));{let _0x222ec3=_0x3f5125?_0x548e47(_0x19cdf5['from'],null,_0x3f5125):_0x56112a(_0x34275b,!0x1),_0x30ae66=_0x162ea8?_0x548e47(null,_0x19cdf5['to'],_0x162ea8):_0x56112a(_0xf542b4,!0x0),_0x4cbea6=[];return(_0x3f5125||_0x34275b)['to']<(_0x162ea8||_0xf542b4)['from']-(_0x3f5125&&_0x162ea8?0x1:0x0)||_0x34275b['widgetLineBreaks']>0x1&&_0x222ec3['bottom']+_0x5c2e18['defaultLineHeight']/0x2<_0x30ae66['top']?_0x4cbea6['push'](_0x5af449(_0x551607,_0x222ec3['bottom'],_0x30786f,_0x30ae66['top'])):_0x222ec3['bottom']<_0x30ae66['top']&&_0x5c2e18['elementAtHeight']((_0x222ec3['bottom']+_0x30ae66['top'])/0x2)['type']==_0x30e04f['Text']&&(_0x222ec3['bottom']=_0x30ae66['top']=(_0x222ec3['bottom']+_0x30ae66['top'])/0x2),_0x10b223(_0x222ec3)['concat'](_0x4cbea6)['concat'](_0x10b223(_0x30ae66));}function _0x5af449(_0x2fe4a0,_0x66f4f,_0x2b0157,_0x565017){return new RectangleMarker(_0x1639a4,_0x2fe4a0-_0x1ac440['left'],_0x66f4f-_0x1ac440['top'],_0x2b0157-_0x2fe4a0,_0x565017-_0x66f4f);}function _0x10b223({top:_0x2422b1,bottom:_0x47ece5,horizontal:_0x40009a}){let _0x47b36a=[];for(let _0x1944a7=0x0;_0x1944a7<_0x40009a['length'];_0x1944a7+=0x2)_0x47b36a['push'](_0x5af449(_0x40009a[_0x1944a7],_0x2422b1,_0x40009a[_0x1944a7+0x1],_0x47ece5));return _0x47b36a;}function _0x548e47(_0x1bac8e,_0x4fc4a0,_0x1d4862){let _0x4f2bcd=0x3b9aca00,_0x342309=-0x3b9aca00,_0x54bf71=[];function _0x46d488(_0x27f5bc,_0x3afa03,_0x24b2a8,_0x4921e8,_0x3602e8){let _0x2d85ca=_0x5c2e18['coordsAtPos'](_0x27f5bc,_0x27f5bc==_0x1d4862['to']?-0x2:0x2),_0x584e8f=_0x5c2e18['coordsAtPos'](_0x24b2a8,_0x24b2a8==_0x1d4862['from']?0x2:-0x2);_0x2d85ca&&_0x584e8f&&(_0x4f2bcd=Math['min'](_0x2d85ca['top'],_0x584e8f['top'],_0x4f2bcd),_0x342309=Math['max'](_0x2d85ca['bottom'],_0x584e8f['bottom'],_0x342309),_0x3602e8==Direction['LTR']?_0x54bf71['push'](_0x2919a2&&_0x3afa03?_0x551607:_0x2d85ca['left'],_0x2919a2&&_0x4921e8?_0x30786f:_0x584e8f['right']):_0x54bf71['push'](!_0x2919a2&&_0x4921e8?_0x551607:_0x584e8f['left'],!_0x2919a2&&_0x3afa03?_0x30786f:_0x2d85ca['right']));}let _0x197a40=null!=_0x1bac8e?_0x1bac8e:_0x1d4862['from'],_0x494490=null!=_0x4fc4a0?_0x4fc4a0:_0x1d4862['to'];for(let _0x2152ac of _0x5c2e18['visibleRanges'])if(_0x2152ac['to']>_0x197a40&&_0x2152ac['from']<_0x494490)for(let _0x53da4f=Math['max'](_0x2152ac['from'],_0x197a40),_0x32cbc4=Math['min'](_0x2152ac['to'],_0x494490);;){let _0x2b2f6b=_0x5c2e18['state']['doc']['lineAt'](_0x53da4f);for(let _0x4885aa of _0x5c2e18['bidiSpans'](_0x2b2f6b)){let _0x385fa9=_0x4885aa['from']+_0x2b2f6b['from'],_0x53b6d2=_0x4885aa['to']+_0x2b2f6b['from'];if(_0x385fa9>=_0x32cbc4)break;_0x53b6d2>_0x53da4f&&_0x46d488(Math['max'](_0x385fa9,_0x53da4f),null==_0x1bac8e&&_0x385fa9<=_0x197a40,Math['min'](_0x53b6d2,_0x32cbc4),null==_0x4fc4a0&&_0x53b6d2>=_0x494490,_0x4885aa['dir']);}if(_0x53da4f=_0x2b2f6b['to']+0x1,_0x53da4f>=_0x32cbc4)break;}return 0x0==_0x54bf71['length']&&_0x46d488(_0x197a40,null==_0x1bac8e,_0x494490,null==_0x4fc4a0,_0x5c2e18['textDirection']),{'top':_0x4f2bcd,'bottom':_0x342309,'horizontal':_0x54bf71};}function _0x56112a(_0x1584d9,_0x37f1a2){let _0x1a07e6=_0x1dec18['top']+(_0x37f1a2?_0x1584d9['top']:_0x1584d9['bottom']);return{'top':_0x1a07e6,'bottom':_0x1a07e6,'horizontal':[]};}}function _0x51af95(_0x44aaee,_0x3863a7){return _0x44aaee['constructor']==_0x3863a7['constructor']&&_0x44aaee['eq'](_0x3863a7);}class _0x59e950{constructor(_0x228342,_0x314e0a){this['view']=_0x228342,this['layer']=_0x314e0a,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x228342['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x314e0a['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x314e0a['class']&&this['dom']['classList']['add'](_0x314e0a['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x228342['state']),_0x228342['requestMeasure'](this['measureReq']),_0x314e0a['mount']&&_0x314e0a['mount'](this['dom'],_0x228342);}['update'](_0x3abc94){_0x3abc94['startState']['facet'](_0x46d697)!=_0x3abc94['state']['facet'](_0x46d697)&&this['setOrder'](_0x3abc94['state']),(this['layer']['update'](_0x3abc94,this['dom'])||_0x3abc94['geometryChanged'])&&(this['scale'](),_0x3abc94['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x519881){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x519881['requestMeasure'](this['measureReq']);}['setOrder'](_0x461c3c){let _0x2d7891=0x0,_0x2ff6ed=_0x461c3c['facet'](_0x46d697);for(;_0x2d7891<_0x2ff6ed['length']&&_0x2ff6ed[_0x2d7891]!=this['layer'];)_0x2d7891++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x2d7891);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x6b83e1,scaleY:_0x1db778}=this['view'];_0x6b83e1==this['scaleX']&&_0x1db778==this['scaleY']||(this['scaleX']=_0x6b83e1,this['scaleY']=_0x1db778,this['dom']['style']['transform']='scale('+0x1/_0x6b83e1+',\x20'+0x1/_0x1db778+')');}['draw'](_0x2064cf){if(_0x2064cf['length']!=this['drawn']['length']||_0x2064cf['some']((_0x18c4ad,_0x2f63bf)=>!_0x51af95(_0x18c4ad,this['drawn'][_0x2f63bf]))){let _0x12c366=this['dom']['firstChild'],_0x5156ec=0x0;for(let _0x18c7c6 of _0x2064cf)_0x18c7c6['update']&&_0x12c366&&_0x18c7c6['constructor']&&this['drawn'][_0x5156ec]['constructor']&&_0x18c7c6['update'](_0x12c366,this['drawn'][_0x5156ec])?(_0x12c366=_0x12c366['nextSibling'],_0x5156ec++):this['dom']['insertBefore'](_0x18c7c6['draw'](),_0x12c366);for(;_0x12c366;){let _0x3ff16d=_0x12c366['nextSibling'];_0x12c366['remove'](),_0x12c366=_0x3ff16d;}this['drawn']=_0x2064cf,_0x54ee61['safari']&&_0x54ee61['safari_version']>=0x1a&&(this['dom']['style']['display']=this['dom']['firstChild']?'':'none');}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}}const _0x46d697=Facet['define']();function _0x125785(_0x19c447){return[_0x2e3bc0['define'](_0x23febf=>new _0x59e950(_0x23febf,_0x19c447)),_0x46d697['of'](_0x19c447)];}const selectionConfig=Facet['define']({'combine':_0x8b69f6=>_0x3c2ae7(_0x8b69f6,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0xcd00a7,_0x10f9ef)=>Math['min'](_0xcd00a7,_0x10f9ef),'drawRangeCursor':(_0x3bedb1,_0x3d9d1d)=>_0x3bedb1||_0x3d9d1d})});function drawSelection(_0x3ffd8d={}){return[selectionConfig['of'](_0x3ffd8d),_0x13f183,selectionLayer,hideNativeSelection,nativeSelectionHidden['of'](!0x0)];}function _0x5744bb(_0x279018){return _0x279018['startState']['facet'](selectionConfig)!=_0x279018['state']['facet'](selectionConfig);}const _0x13f183=_0x125785({'above':!0x0,'markers'(_0x29534a){let {state:_0x3688a3}=_0x29534a,_0x4506e8=_0x3688a3['facet'](selectionConfig),_0xf597ff=[];for(let _0xf92f5f of _0x3688a3['selection']['ranges']){let _0x50d799=_0xf92f5f==_0x3688a3['selection']['main'];if(_0xf92f5f['empty']||_0x4506e8['drawRangeCursor']){let _0xfcac2=_0x50d799?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x3cdea2=_0xf92f5f['empty']?_0xf92f5f:EditorSelection['cursor'](_0xf92f5f['head'],_0xf92f5f['head']>_0xf92f5f['anchor']?-0x1:0x1);for(let _0x2fa3af of RectangleMarker['forRange'](_0x29534a,_0xfcac2,_0x3cdea2))_0xf597ff['push'](_0x2fa3af);}}return _0xf597ff;},'update'(_0x65c84f,_0x157561){_0x65c84f['transactions']['some'](_0x5aac98=>_0x5aac98['selection'])&&(_0x157561['style']['animationName']='cm-blink'==_0x157561['style']['animationName']?'cm-blink2':'cm-blink');let _0x18b3ad=_0x5744bb(_0x65c84f);return _0x18b3ad&&setBlinkRate(_0x65c84f['state'],_0x157561),_0x65c84f['docChanged']||_0x65c84f['selectionSet']||_0x18b3ad;},'mount'(_0x982f8e,_0x5c2bae){setBlinkRate(_0x5c2bae['state'],_0x982f8e);},'class':'cm-cursorLayer'});function setBlinkRate(_0x35462e,_0xab80b5){_0xab80b5['style']['animationDuration']=_0x35462e['facet'](selectionConfig)['cursorBlinkRate']+'ms';}const selectionLayer=_0x125785({'above':!0x1,'markers':_0x4dbf87=>_0x4dbf87['state']['selection']['ranges']['map'](_0x1dc286=>_0x1dc286['empty']?[]:RectangleMarker['forRange'](_0x4dbf87,'cm-selectionBackground',_0x1dc286))['reduce']((_0x1ed0ad,_0x50da5c)=>_0x1ed0ad['concat'](_0x50da5c)),'update':(_0x624b3c,_0x45ebfa)=>_0x624b3c['docChanged']||_0x624b3c['selectionSet']||_0x624b3c['viewportChanged']||_0x5744bb(_0x624b3c),'class':'cm-selectionLayer'}),hideNativeSelection=_0x346fa8['highest'](EditorView['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'}}}})),setDropCursorPos=StateEffect['define']({'map':(_0x5df2bd,_0x27ab19)=>null==_0x5df2bd?null:_0x27ab19['mapPos'](_0x5df2bd)}),_0x2f8e10=StateField['define']({'create':()=>null,'update':(_0x260ef0,_0x15f31f)=>(null!=_0x260ef0&&(_0x260ef0=_0x15f31f['changes']['mapPos'](_0x260ef0)),_0x15f31f['effects']['reduce']((_0x26755e,_0x4fb8e0)=>_0x4fb8e0['is'](setDropCursorPos)?_0x4fb8e0['value']:_0x26755e,_0x260ef0))}),_0x63ba4b=_0x2e3bc0['fromClass'](class{constructor(_0x31a730){this['view']=_0x31a730,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x289be8){var _0x13849c;let _0x410d36=_0x289be8['state']['field'](_0x2f8e10);null==_0x410d36?null!=this['cursor']&&(null===(_0x13849c=this['cursor'])||void 0x0===_0x13849c||_0x13849c['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x289be8['startState']['field'](_0x2f8e10)!=_0x410d36||_0x289be8['docChanged']||_0x289be8['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x2b4999}=this,_0x155423=_0x2b4999['state']['field'](_0x2f8e10),_0x3a7193=null!=_0x155423&&_0x2b4999['coordsAtPos'](_0x155423);if(!_0x3a7193)return null;let _0xad2aac=_0x2b4999['scrollDOM']['getBoundingClientRect']();return{'left':_0x3a7193['left']-_0xad2aac['left']+_0x2b4999['scrollDOM']['scrollLeft']*_0x2b4999['scaleX'],'top':_0x3a7193['top']-_0xad2aac['top']+_0x2b4999['scrollDOM']['scrollTop']*_0x2b4999['scaleY'],'height':_0x3a7193['bottom']-_0x3a7193['top']};}['drawCursor'](_0x95ee9a){if(this['cursor']){let {scaleX:_0x47e4cf,scaleY:_0x4ec839}=this['view'];_0x95ee9a?(this['cursor']['style']['left']=_0x95ee9a['left']/_0x47e4cf+'px',this['cursor']['style']['top']=_0x95ee9a['top']/_0x4ec839+'px',this['cursor']['style']['height']=_0x95ee9a['height']/_0x4ec839+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x19d78a){this['view']['state']['field'](_0x2f8e10)!=_0x19d78a&&this['view']['dispatch']({'effects':setDropCursorPos['of'](_0x19d78a)});}},{'eventObservers':{'dragover'(_0x58b778){this['setDropPos'](this['view']['posAtCoords']({'x':_0x58b778['clientX'],'y':_0x58b778['clientY']}));},'dragleave'(_0x40bd0e){_0x40bd0e['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x40bd0e['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x24ee53(){return[_0x2f8e10,_0x63ba4b];}function iterMatches(_0x2d4c6b,_0x5149da,_0x75e070,_0x1f01e6,_0x4aea9e){_0x5149da['lastIndex']=0x0;for(let _0x1dd2df,_0x5d4432=_0x2d4c6b['iterRange'](_0x75e070,_0x1f01e6),_0x285644=_0x75e070;!_0x5d4432['next']()['done'];_0x285644+=_0x5d4432['value']['length'])if(!_0x5d4432['lineBreak']){for(;_0x1dd2df=_0x5149da['exec'](_0x5d4432['value']);)_0x4aea9e(_0x285644+_0x1dd2df['index'],_0x1dd2df);}}function matchRanges(_0x5b384b,_0x505a3e){let _0x24ec21=_0x5b384b['visibleRanges'];if(0x1==_0x24ec21['length']&&_0x24ec21[0x0]['from']==_0x5b384b['viewport']['from']&&_0x24ec21[0x0]['to']==_0x5b384b['viewport']['to'])return _0x24ec21;let _0x4d7252=[];for(let {from:_0xfbbcd4,to:_0x3b98c4}of _0x24ec21)_0xfbbcd4=Math['max'](_0x5b384b['state']['doc']['lineAt'](_0xfbbcd4)['from'],_0xfbbcd4-_0x505a3e),_0x3b98c4=Math['min'](_0x5b384b['state']['doc']['lineAt'](_0x3b98c4)['to'],_0x3b98c4+_0x505a3e),_0x4d7252['length']&&_0x4d7252[_0x4d7252['length']-0x1]['to']>=_0xfbbcd4?_0x4d7252[_0x4d7252['length']-0x1]['to']=_0x3b98c4:_0x4d7252['push']({'from':_0xfbbcd4,'to':_0x3b98c4});return _0x4d7252;}class MatchDecorator{constructor(_0x395c99){const {regexp:_0x4df12b,decoration:_0x368f76,decorate:_0xc0a60,boundary:_0x1a0af7,maxLength:_0x434ef7=0x3e8}=_0x395c99;if(!_0x4df12b['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x4df12b,_0xc0a60)this['addMatch']=(_0x430927,_0x2be56c,_0x4ed285,_0x35c095)=>_0xc0a60(_0x35c095,_0x4ed285,_0x4ed285+_0x430927[0x0]['length'],_0x430927,_0x2be56c);else{if('function'==typeof _0x368f76)this['addMatch']=(_0x1f3241,_0x2329de,_0x1fd114,_0x336f38)=>{let _0xcb1f4e=_0x368f76(_0x1f3241,_0x2329de,_0x1fd114);_0xcb1f4e&&_0x336f38(_0x1fd114,_0x1fd114+_0x1f3241[0x0]['length'],_0xcb1f4e);};else{if(!_0x368f76)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x4cf3e0,_0x20beb1,_0x2a85b6,_0x170e91)=>_0x170e91(_0x2a85b6,_0x2a85b6+_0x4cf3e0[0x0]['length'],_0x368f76);}}this['boundary']=_0x1a0af7,this['maxLength']=_0x434ef7;}['createDeco'](_0x452b34){let _0x5d7f14=new RangeSetBuilder(),_0x3f8cd5=_0x5d7f14['add']['bind'](_0x5d7f14);for(let {from:_0x4bbeed,to:_0xdfcd87}of matchRanges(_0x452b34,this['maxLength']))iterMatches(_0x452b34['state']['doc'],this['regexp'],_0x4bbeed,_0xdfcd87,(_0x25ce92,_0x96bd6e)=>this['addMatch'](_0x96bd6e,_0x452b34,_0x25ce92,_0x3f8cd5));return _0x5d7f14['finish']();}['updateDeco'](_0x20a3ca,_0x21795b){let _0x5cc583=0x3b9aca00,_0x11143a=-0x1;return _0x20a3ca['docChanged']&&_0x20a3ca['changes']['iterChanges']((_0x3e5935,_0x1024b3,_0x1d0b21,_0x3e768f)=>{_0x3e768f>=_0x20a3ca['view']['viewport']['from']&&_0x1d0b21<=_0x20a3ca['view']['viewport']['to']&&(_0x5cc583=Math['min'](_0x1d0b21,_0x5cc583),_0x11143a=Math['max'](_0x3e768f,_0x11143a));}),_0x20a3ca['viewportMoved']||_0x11143a-_0x5cc583>0x3e8?this['createDeco'](_0x20a3ca['view']):_0x11143a>-0x1?this['updateRange'](_0x20a3ca['view'],_0x21795b['map'](_0x20a3ca['changes']),_0x5cc583,_0x11143a):_0x21795b;}['updateRange'](_0x1f72eb,_0x28c1d6,_0x15dac0,_0x522f81){for(let _0x14b7a1 of _0x1f72eb['visibleRanges']){let _0x46bc95=Math['max'](_0x14b7a1['from'],_0x15dac0),_0x1591ba=Math['min'](_0x14b7a1['to'],_0x522f81);if(_0x1591ba>=_0x46bc95){let _0x180357=_0x1f72eb['state']['doc']['lineAt'](_0x46bc95),_0x3f9b81=_0x180357['to']<_0x1591ba?_0x1f72eb['state']['doc']['lineAt'](_0x1591ba):_0x180357,_0x1f9f70=Math['max'](_0x14b7a1['from'],_0x180357['from']),_0x4b441f=Math['min'](_0x14b7a1['to'],_0x3f9b81['to']);if(this['boundary']){for(;_0x46bc95>_0x180357['from'];_0x46bc95--)if(this['boundary']['test'](_0x180357['text'][_0x46bc95-0x1-_0x180357['from']])){_0x1f9f70=_0x46bc95;break;}for(;_0x1591ba<_0x3f9b81['to'];_0x1591ba++)if(this['boundary']['test'](_0x3f9b81['text'][_0x1591ba-_0x3f9b81['from']])){_0x4b441f=_0x1591ba;break;}}let _0x3828e1,_0x18c7ae=[],_0x4c6b9e=(_0x586f12,_0x1b6c4d,_0x179c10)=>_0x18c7ae['push'](_0x179c10['range'](_0x586f12,_0x1b6c4d));if(_0x180357==_0x3f9b81){for(this['regexp']['lastIndex']=_0x1f9f70-_0x180357['from'];(_0x3828e1=this['regexp']['exec'](_0x180357['text']))&&_0x3828e1['index']<_0x4b441f-_0x180357['from'];)this['addMatch'](_0x3828e1,_0x1f72eb,_0x3828e1['index']+_0x180357['from'],_0x4c6b9e);}else iterMatches(_0x1f72eb['state']['doc'],this['regexp'],_0x1f9f70,_0x4b441f,(_0x71348b,_0xd00ec2)=>this['addMatch'](_0xd00ec2,_0x1f72eb,_0x71348b,_0x4c6b9e));_0x28c1d6=_0x28c1d6['update']({'filterFrom':_0x1f9f70,'filterTo':_0x4b441f,'filter':(_0x1e830c,_0x275686)=>_0x1e830c<_0x1f9f70||_0x275686>_0x4b441f,'add':_0x18c7ae});}}return _0x28c1d6;}}const UnicodeRegexpSupport=null!=/x/['unicode']?'gu':'g',_0x4c22e2=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',UnicodeRegexpSupport),_0x374739={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 _supportsTabSize=null;function supportsTabSize(){var _0x1fbec4;if(null==_supportsTabSize&&'undefined'!=typeof document&&document['body']){let _0x10661a=document['body']['style'];_supportsTabSize=null!=(null!==(_0x1fbec4=_0x10661a['tabSize'])&&void 0x0!==_0x1fbec4?_0x1fbec4:_0x10661a['MozTabSize']);}return _supportsTabSize||!0x1;}const _0x3ec28c=Facet['define']({'combine'(_0x54e73a){let _0x99a67c=_0x3c2ae7(_0x54e73a,{'render':null,'specialChars':_0x4c22e2,'addSpecialChars':null});return(_0x99a67c['replaceTabs']=!supportsTabSize())&&(_0x99a67c['specialChars']=new RegExp('\x09|'+_0x99a67c['specialChars']['source'],UnicodeRegexpSupport)),_0x99a67c['addSpecialChars']&&(_0x99a67c['specialChars']=new RegExp(_0x99a67c['specialChars']['source']+'|'+_0x99a67c['addSpecialChars']['source'],UnicodeRegexpSupport)),_0x99a67c;}});function highlightSpecialChars(_0x143905={}){return[_0x3ec28c['of'](_0x143905),_0x5e8ce4()];}let _0x4a59f5=null;function _0x5e8ce4(){return _0x4a59f5||(_0x4a59f5=_0x2e3bc0['fromClass'](class{constructor(_0x46aadf){this['view']=_0x46aadf,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x46aadf['state']['facet'](_0x3ec28c)),this['decorations']=this['decorator']['createDeco'](_0x46aadf);}['makeDecorator'](_0x436e38){return new MatchDecorator({'regexp':_0x436e38['specialChars'],'decoration':(_0x15f31e,_0x699219,_0x316e88)=>{let {doc:_0x179151}=_0x699219['state'],_0x4bca00=codePointAt(_0x15f31e[0x0],0x0);if(0x9==_0x4bca00){let _0x457758=_0x179151['lineAt'](_0x316e88),_0x50c442=_0x699219['state']['tabSize'],_0x1848cd=countColumn(_0x457758['text'],_0x50c442,_0x316e88-_0x457758['from']);return Decoration['replace']({'widget':new TabWidget((_0x50c442-_0x1848cd%_0x50c442)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x4bca00]||(this['decorationCache'][_0x4bca00]=Decoration['replace']({'widget':new SpecialCharWidget(_0x436e38,_0x4bca00)}));},'boundary':_0x436e38['replaceTabs']?void 0x0:/[^]/});}['update'](_0x3de779){let _0x4fc803=_0x3de779['state']['facet'](_0x3ec28c);_0x3de779['startState']['facet'](_0x3ec28c)!=_0x4fc803?(this['decorator']=this['makeDecorator'](_0x4fc803),this['decorations']=this['decorator']['createDeco'](_0x3de779['view'])):this['decorations']=this['decorator']['updateDeco'](_0x3de779,this['decorations']);}},{'decorations':_0x3798cc=>_0x3798cc['decorations']}));}const DefaultPlaceholder='•';function _0x7e0209(_0x4c1310){return _0x4c1310>=0x20?DefaultPlaceholder:0xa==_0x4c1310?'␤':String['fromCharCode'](0x2400+_0x4c1310);}class SpecialCharWidget extends WidgetType{constructor(_0x1d4a31,_0x20a732){super(),this['options']=_0x1d4a31,this['code']=_0x20a732;}['eq'](_0x528647){return _0x528647['code']==this['code'];}['toDOM'](_0x5c5a68){let _0x51124e=_0x7e0209(this['code']),_0x306456=_0x5c5a68['state']['phrase']('Control\x20character')+'\x20'+(_0x374739[this['code']]||'0x'+this['code']['toString'](0x10)),_0x76b0f4=this['options']['render']&&this['options']['render'](this['code'],_0x306456,_0x51124e);if(_0x76b0f4)return _0x76b0f4;let _0x89050c=document['createElement']('span');return _0x89050c['textContent']=_0x51124e,_0x89050c['title']=_0x306456,_0x89050c['setAttribute']('aria-label',_0x306456),_0x89050c['className']='cm-specialChar',_0x89050c;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x34f10e){super(),this['width']=_0x34f10e;}['eq'](_0x30cc1f){return _0x30cc1f['width']==this['width'];}['toDOM'](){let _0x59ae0c=document['createElement']('span');return _0x59ae0c['textContent']='\x09',_0x59ae0c['className']='cm-tab',_0x59ae0c['style']['width']=this['width']+'px',_0x59ae0c;}['ignoreEvent'](){return!0x1;}}function highlightActiveLine(){return activeLineHighlighter;}const _0x3b5024=Decoration['line']({'class':'cm-activeLine'}),activeLineHighlighter=_0x2e3bc0['fromClass'](class{constructor(_0x422153){this['decorations']=this['getDeco'](_0x422153);}['update'](_0xfc15c9){(_0xfc15c9['docChanged']||_0xfc15c9['selectionSet'])&&(this['decorations']=this['getDeco'](_0xfc15c9['view']));}['getDeco'](_0x31b80f){let _0x1333c3=-0x1,_0x424c9a=[];for(let _0x350031 of _0x31b80f['state']['selection']['ranges']){let _0x2aada7=_0x31b80f['lineBlockAt'](_0x350031['head']);_0x2aada7['from']>_0x1333c3&&(_0x424c9a['push'](_0x3b5024['range'](_0x2aada7['from'])),_0x1333c3=_0x2aada7['from']);}return Decoration['set'](_0x424c9a);}},{'decorations':_0x207ac7=>_0x207ac7['decorations']}),_0x4a3199=0x7d0;function rectangleFor(_0x3ea105,_0x178179,_0x499df6){let _0x3f1b66=Math['min'](_0x178179['line'],_0x499df6['line']),_0x3f561e=Math['max'](_0x178179['line'],_0x499df6['line']),_0x5baaab=[];if(_0x178179['off']>_0x4a3199||_0x499df6['off']>_0x4a3199||_0x178179['col']<0x0||_0x499df6['col']<0x0){let _0x400f51=Math['min'](_0x178179['off'],_0x499df6['off']),_0x105754=Math['max'](_0x178179['off'],_0x499df6['off']);for(let _0xcd0c0a=_0x3f1b66;_0xcd0c0a<=_0x3f561e;_0xcd0c0a++){let _0x3a567c=_0x3ea105['doc']['line'](_0xcd0c0a);_0x3a567c['length']<=_0x105754&&_0x5baaab['push'](EditorSelection['range'](_0x3a567c['from']+_0x400f51,_0x3a567c['to']+_0x105754));}}else{let _0x3fa6c9=Math['min'](_0x178179['col'],_0x499df6['col']),_0x141a08=Math['max'](_0x178179['col'],_0x499df6['col']);for(let _0x58dc1d=_0x3f1b66;_0x58dc1d<=_0x3f561e;_0x58dc1d++){let _0x17c277=_0x3ea105['doc']['line'](_0x58dc1d),_0x29f150=_0x8ab3c5(_0x17c277['text'],_0x3fa6c9,_0x3ea105['tabSize'],!0x0);if(_0x29f150<0x0)_0x5baaab['push'](EditorSelection['cursor'](_0x17c277['to']));else{let _0x36ca98=_0x8ab3c5(_0x17c277['text'],_0x141a08,_0x3ea105['tabSize']);_0x5baaab['push'](EditorSelection['range'](_0x17c277['from']+_0x29f150,_0x17c277['from']+_0x36ca98));}}}return _0x5baaab;}function absoluteColumn(_0xbf0ea7,_0x2acfc9){let _0x1483af=_0xbf0ea7['coordsAtPos'](_0xbf0ea7['viewport']['from']);return _0x1483af?Math['round'](Math['abs']((_0x1483af['left']-_0x2acfc9)/_0xbf0ea7['defaultCharacterWidth'])):-0x1;}function getPos(_0x153674,_0x2a60b2){let _0x3ef395=_0x153674['posAtCoords']({'x':_0x2a60b2['clientX'],'y':_0x2a60b2['clientY']},!0x1),_0x77c703=_0x153674['state']['doc']['lineAt'](_0x3ef395),_0x33fcc2=_0x3ef395-_0x77c703['from'],_0x179a60=_0x33fcc2>_0x4a3199?-0x1:_0x33fcc2==_0x77c703['length']?absoluteColumn(_0x153674,_0x2a60b2['clientX']):countColumn(_0x77c703['text'],_0x153674['state']['tabSize'],_0x3ef395-_0x77c703['from']);return{'line':_0x77c703['number'],'col':_0x179a60,'off':_0x33fcc2};}function rectangleSelectionStyle(_0x29b510,_0x52d2d5){let _0x5bcc45=getPos(_0x29b510,_0x52d2d5),_0x27f063=_0x29b510['state']['selection'];return _0x5bcc45?{'update'(_0x3af0ca){if(_0x3af0ca['docChanged']){let _0xa0769e=_0x3af0ca['changes']['mapPos'](_0x3af0ca['startState']['doc']['line'](_0x5bcc45['line'])['from']),_0x412c76=_0x3af0ca['state']['doc']['lineAt'](_0xa0769e);_0x5bcc45={'line':_0x412c76['number'],'col':_0x5bcc45['col'],'off':Math['min'](_0x5bcc45['off'],_0x412c76['length'])},_0x27f063=_0x27f063['map'](_0x3af0ca['changes']);}},'get'(_0x57e6c8,_0x1b125d,_0x461282){let _0x31a332=getPos(_0x29b510,_0x57e6c8);if(!_0x31a332)return _0x27f063;let _0x26f41f=rectangleFor(_0x29b510['state'],_0x5bcc45,_0x31a332);return _0x26f41f['length']?_0x461282?EditorSelection['create'](_0x26f41f['concat'](_0x27f063['ranges'])):EditorSelection['create'](_0x26f41f):_0x27f063;}}:null;}function rectangularSelection(_0x24af9c){return EditorView['mouseSelectionStyle']['of']((_0x3184e5,_0x4c635c)=>(_0x1d9296=>_0x1d9296['altKey']&&0x0==_0x1d9296['button'])(_0x4c635c)?rectangleSelectionStyle(_0x3184e5,_0x4c635c):null);}const _0x3bace4={'Alt':[0x12,_0x8ec7c8=>!!_0x8ec7c8['altKey']],'Control':[0x11,_0x49ac80=>!!_0x49ac80['ctrlKey']],'Shift':[0x10,_0x136daf=>!!_0x136daf['shiftKey']],'Meta':[0x5b,_0x45a86b=>!!_0x45a86b['metaKey']]},_0x27d203={'style':'cursor:\x20crosshair'};function _0x3e4769(_0x1691eb={}){let [_0xf8bcc3,_0x122684]=_0x3bace4[_0x1691eb['key']||'Alt'],_0x55b7dd=_0x2e3bc0['fromClass'](class{constructor(_0x32184e){this['view']=_0x32184e,this['isDown']=!0x1;}['set'](_0x2c43e5){this['isDown']!=_0x2c43e5&&(this['isDown']=_0x2c43e5,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x466340){this['set'](_0x466340['keyCode']==_0xf8bcc3||_0x122684(_0x466340));},'keyup'(_0x17304e){_0x17304e['keyCode']!=_0xf8bcc3&&_0x122684(_0x17304e)||this['set'](!0x1);},'mousemove'(_0x31d468){this['set'](_0x122684(_0x31d468));}}});return[_0x55b7dd,EditorView['contentAttributes']['of'](_0x153338=>{var _0x3143c5;return(null===(_0x3143c5=_0x153338['plugin'](_0x55b7dd))||void 0x0===_0x3143c5?void 0x0:_0x3143c5['isDown'])?_0x27d203:null;})];}const Outside='-10000px';class TooltipViewManager{constructor(_0x57feb0,_0x441c40,_0x1c5343,_0x337276){this['facet']=_0x441c40,this['createTooltipView']=_0x1c5343,this['removeTooltipView']=_0x337276,this['input']=_0x57feb0['state']['facet'](_0x441c40),this['tooltips']=this['input']['filter'](t=>t);let _0x1b41dd=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x1b41dd=_0x1c5343(t,_0x1b41dd));}['update'](_0x1a7dec,_0x254a5e){var _0x1a399c;let _0x8117ed=_0x1a7dec['state']['facet'](this['facet']),_0x425c39=_0x8117ed['filter'](_0x3475f5=>_0x3475f5);if(_0x8117ed===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x1a7dec);return!0x1;}let _0x2471bf=[],_0x2c45e3=_0x254a5e?[]:null;for(let _0x21de8f=0x0;_0x21de8f<_0x425c39['length'];_0x21de8f++){let _0x586714=_0x425c39[_0x21de8f],_0x1f1f86=-0x1;if(_0x586714){for(let _0x2e8ee2=0x0;_0x2e8ee2<this['tooltips']['length'];_0x2e8ee2++){let _0xc93126=this['tooltips'][_0x2e8ee2];_0xc93126&&_0xc93126['create']==_0x586714['create']&&(_0x1f1f86=_0x2e8ee2);}if(_0x1f1f86<0x0)_0x2471bf[_0x21de8f]=this['createTooltipView'](_0x586714,_0x21de8f?_0x2471bf[_0x21de8f-0x1]:null),_0x2c45e3&&(_0x2c45e3[_0x21de8f]=!!_0x586714['above']);else{let _0x5cdea3=_0x2471bf[_0x21de8f]=this['tooltipViews'][_0x1f1f86];_0x2c45e3&&(_0x2c45e3[_0x21de8f]=_0x254a5e[_0x1f1f86]),_0x5cdea3['update']&&_0x5cdea3['update'](_0x1a7dec);}}}for(let t of this['tooltipViews'])_0x2471bf['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x1a399c=t['destroy'])||void 0x0===_0x1a399c||_0x1a399c['call'](t));return _0x254a5e&&(_0x2c45e3['forEach']((_0x22764,_0xeb81f4)=>_0x254a5e[_0xeb81f4]=_0x22764),_0x254a5e['length']=_0x2c45e3['length']),this['input']=_0x8117ed,this['tooltips']=_0x425c39,this['tooltipViews']=_0x2471bf,!0x0;}}function _0x705ace(_0xc4b40e){let _0xc0a9e=_0xc4b40e['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0xc0a9e['clientHeight'],'right':_0xc0a9e['clientWidth']};}const tooltipConfig=Facet['define']({'combine':_0x163bc5=>{var _0x5207b2,_0x411892,_0x2e29aa;return{'position':_0x54ee61['ios']?'absolute':(null===(_0x5207b2=_0x163bc5['find'](_0x44b3d0=>_0x44b3d0['position']))||void 0x0===_0x5207b2?void 0x0:_0x5207b2['position'])||'fixed','parent':(null===(_0x411892=_0x163bc5['find'](_0x153c8c=>_0x153c8c['parent']))||void 0x0===_0x411892?void 0x0:_0x411892['parent'])||null,'tooltipSpace':(null===(_0x2e29aa=_0x163bc5['find'](_0x37d45f=>_0x37d45f['tooltipSpace']))||void 0x0===_0x2e29aa?void 0x0:_0x2e29aa['tooltipSpace'])||_0x705ace};}}),knownHeight=new WeakMap(),tooltipPlugin=_0x2e3bc0['fromClass'](class{constructor(_0x55d0db){this['view']=_0x55d0db,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x3ac76e=_0x55d0db['state']['facet'](tooltipConfig);this['position']=_0x3ac76e['position'],this['parent']=_0x3ac76e['parent'],this['classes']=_0x55d0db['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 TooltipViewManager(_0x55d0db,showTooltip,(t,_0x45d9a8)=>this['createTooltip'](t,_0x45d9a8),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(_0x101524=>{Date['now']()>this['lastTransaction']-0x32&&_0x101524['length']>0x0&&_0x101524[_0x101524['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x55d0db['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 _0xef2067 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0xef2067['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x673a58){_0x673a58['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x104e28=this['manager']['update'](_0x673a58,this['above']);_0x104e28&&this['observeIntersection']();let _0x547d68=_0x104e28||_0x673a58['geometryChanged'],_0x4c7942=_0x673a58['state']['facet'](tooltipConfig);if(_0x4c7942['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x4c7942['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x547d68=!0x0;}if(_0x4c7942['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x4c7942['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x547d68=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x547d68&&this['maybeMeasure']();}['createTooltip'](_0x126772,_0x21808a){let _0x42e4a1=_0x126772['create'](this['view']),_0x519c46=_0x21808a?_0x21808a['dom']:null;if(_0x42e4a1['dom']['classList']['add']('cm-tooltip'),_0x126772['arrow']&&!_0x42e4a1['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x46be65=document['createElement']('div');_0x46be65['className']='cm-tooltip-arrow',_0x42e4a1['dom']['appendChild'](_0x46be65);}return _0x42e4a1['dom']['style']['position']=this['position'],_0x42e4a1['dom']['style']['top']=Outside,_0x42e4a1['dom']['style']['left']='0px',this['container']['insertBefore'](_0x42e4a1['dom'],_0x519c46),_0x42e4a1['mount']&&_0x42e4a1['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x42e4a1['dom']),_0x42e4a1;}['destroy'](){var _0x486284,_0x4bcd8a,_0x7ce8e7;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x26f9a6 of this['manager']['tooltipViews'])_0x26f9a6['dom']['remove'](),null===(_0x486284=_0x26f9a6['destroy'])||void 0x0===_0x486284||_0x486284['call'](_0x26f9a6);this['parent']&&this['container']['remove'](),null===(_0x4bcd8a=this['resizeObserver'])||void 0x0===_0x4bcd8a||_0x4bcd8a['disconnect'](),null===(_0x7ce8e7=this['intersectionObserver'])||void 0x0===_0x7ce8e7||_0x7ce8e7['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x4daf1c=0x1,_0x423abf=0x1,_0x2419c2=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x2bbc61}=this['manager']['tooltipViews'][0x0];if(_0x54ee61['gecko'])_0x2419c2=_0x2bbc61['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x2bbc61['style']['top']==Outside&&'0px'==_0x2bbc61['style']['left']){let _0x33f123=_0x2bbc61['getBoundingClientRect']();_0x2419c2=Math['abs'](_0x33f123['top']+0x2710)>0x1||Math['abs'](_0x33f123['left'])>0x1;}}}if(_0x2419c2||'absolute'==this['position']){if(this['parent']){let _0x12fbf2=this['parent']['getBoundingClientRect']();_0x12fbf2['width']&&_0x12fbf2['height']&&(_0x4daf1c=_0x12fbf2['width']/this['parent']['offsetWidth'],_0x423abf=_0x12fbf2['height']/this['parent']['offsetHeight']);}else({scaleX:_0x4daf1c,scaleY:_0x423abf}=this['view']['viewState']);}let _0x577515=this['view']['scrollDOM']['getBoundingClientRect'](),_0x40d39d=getScrollMargins(this['view']);return{'visible':{'left':_0x577515['left']+_0x40d39d['left'],'top':_0x577515['top']+_0x40d39d['top'],'right':_0x577515['right']-_0x40d39d['right'],'bottom':_0x577515['bottom']-_0x40d39d['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x55516c)=>{let _0x2fd0c2=this['manager']['tooltipViews'][_0x55516c];return _0x2fd0c2['getCoords']?_0x2fd0c2['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x2100ed})=>_0x2100ed['getBoundingClientRect']()),'space':this['view']['state']['facet'](tooltipConfig)['tooltipSpace'](this['view']),'scaleX':_0x4daf1c,'scaleY':_0x423abf,'makeAbsolute':_0x2419c2};}['writeMeasure'](_0x364727){var _0x17fb3d;if(_0x364727['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x424211,space:_0x2aaf7a,scaleX:_0x15e3c4,scaleY:_0x10cc3b}=_0x364727,_0x470ee1=[];for(let _0x428a5c=0x0;_0x428a5c<this['manager']['tooltips']['length'];_0x428a5c++){let _0x255bd6=this['manager']['tooltips'][_0x428a5c],_0x15b8d0=this['manager']['tooltipViews'][_0x428a5c],{dom:_0x312a33}=_0x15b8d0,_0x457585=_0x364727['pos'][_0x428a5c],_0x53cd7b=_0x364727['size'][_0x428a5c];if(!_0x457585||!0x1!==_0x255bd6['clip']&&(_0x457585['bottom']<=Math['max'](_0x424211['top'],_0x2aaf7a['top'])||_0x457585['top']>=Math['min'](_0x424211['bottom'],_0x2aaf7a['bottom'])||_0x457585['right']<Math['max'](_0x424211['left'],_0x2aaf7a['left'])-0.1||_0x457585['left']>Math['min'](_0x424211['right'],_0x2aaf7a['right'])+0.1)){_0x312a33['style']['top']=Outside;continue;}let _0x52158f=_0x255bd6['arrow']?_0x15b8d0['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x506718=_0x52158f?0x7:0x0,_0x55b0c1=_0x53cd7b['right']-_0x53cd7b['left'],_0x12802e=null!==(_0x17fb3d=knownHeight['get'](_0x15b8d0))&&void 0x0!==_0x17fb3d?_0x17fb3d:_0x53cd7b['bottom']-_0x53cd7b['top'],_0x42b02c=_0x15b8d0['offset']||noOffset,_0x5aa85a=this['view']['textDirection']==Direction['LTR'],_0x392ff5=_0x53cd7b['width']>_0x2aaf7a['right']-_0x2aaf7a['left']?_0x5aa85a?_0x2aaf7a['left']:_0x2aaf7a['right']-_0x53cd7b['width']:_0x5aa85a?Math['max'](_0x2aaf7a['left'],Math['min'](_0x457585['left']-(_0x52158f?0xe:0x0)+_0x42b02c['x'],_0x2aaf7a['right']-_0x55b0c1)):Math['min'](Math['max'](_0x2aaf7a['left'],_0x457585['left']-_0x55b0c1+(_0x52158f?0xe:0x0)-_0x42b02c['x']),_0x2aaf7a['right']-_0x55b0c1),_0x50f97d=this['above'][_0x428a5c];!_0x255bd6['strictSide']&&(_0x50f97d?_0x457585['top']-_0x12802e-_0x506718-_0x42b02c['y']<_0x2aaf7a['top']:_0x457585['bottom']+_0x12802e+_0x506718+_0x42b02c['y']>_0x2aaf7a['bottom'])&&_0x50f97d==_0x2aaf7a['bottom']-_0x457585['bottom']>_0x457585['top']-_0x2aaf7a['top']&&(_0x50f97d=this['above'][_0x428a5c]=!_0x50f97d);let _0x115103=(_0x50f97d?_0x457585['top']-_0x2aaf7a['top']:_0x2aaf7a['bottom']-_0x457585['bottom'])-_0x506718;if(_0x115103<_0x12802e&&!0x1!==_0x15b8d0['resize']){if(_0x115103<this['view']['defaultLineHeight']){_0x312a33['style']['top']=Outside;continue;}knownHeight['set'](_0x15b8d0,_0x12802e),_0x312a33['style']['height']=(_0x12802e=_0x115103)/_0x10cc3b+'px';}else _0x312a33['style']['height']&&(_0x312a33['style']['height']='');let _0x11e5a9=_0x50f97d?_0x457585['top']-_0x12802e-_0x506718-_0x42b02c['y']:_0x457585['bottom']+_0x506718+_0x42b02c['y'],_0x5ac8ce=_0x392ff5+_0x55b0c1;if(!0x0!==_0x15b8d0['overlap']){for(let _0x45896a of _0x470ee1)_0x45896a['left']<_0x5ac8ce&&_0x45896a['right']>_0x392ff5&&_0x45896a['top']<_0x11e5a9+_0x12802e&&_0x45896a['bottom']>_0x11e5a9&&(_0x11e5a9=_0x50f97d?_0x45896a['top']-_0x12802e-0x2-_0x506718:_0x45896a['bottom']+_0x506718+0x2);}if('absolute'==this['position']?(_0x312a33['style']['top']=(_0x11e5a9-_0x364727['parent']['top'])/_0x10cc3b+'px',setLeftStyle(_0x312a33,(_0x392ff5-_0x364727['parent']['left'])/_0x15e3c4)):(_0x312a33['style']['top']=_0x11e5a9/_0x10cc3b+'px',setLeftStyle(_0x312a33,_0x392ff5/_0x15e3c4)),_0x52158f){let _0x31a9e4=_0x457585['left']+(_0x5aa85a?_0x42b02c['x']:-_0x42b02c['x'])-(_0x392ff5+0xe-0x7);_0x52158f['style']['left']=_0x31a9e4/_0x15e3c4+'px';}!0x0!==_0x15b8d0['overlap']&&_0x470ee1['push']({'left':_0x392ff5,'top':_0x11e5a9,'right':_0x5ac8ce,'bottom':_0x11e5a9+_0x12802e}),_0x312a33['classList']['toggle']('cm-tooltip-above',_0x50f97d),_0x312a33['classList']['toggle']('cm-tooltip-below',!_0x50f97d),_0x15b8d0['positioned']&&_0x15b8d0['positioned'](_0x364727['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 _0x2f48be of this['manager']['tooltipViews'])_0x2f48be['dom']['style']['top']=Outside;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function setLeftStyle(_0x45032e,_0x5528ac){let _0x5bbc1e=parseInt(_0x45032e['style']['left'],0xa);(isNaN(_0x5bbc1e)||Math['abs'](_0x5528ac-_0x5bbc1e)>0x1)&&(_0x45032e['style']['left']=_0x5528ac+'px');}const _0x959173=EditorView['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'}}}),noOffset={'x':0x0,'y':0x0},showTooltip=Facet['define']({'enables':[tooltipPlugin,_0x959173]});function getTooltip(_0x28b92c,_0x11f2d0){let _0xe678f8=_0x28b92c['plugin'](tooltipPlugin);if(!_0xe678f8)return null;let _0x459a0b=_0xe678f8['manager']['tooltips']['indexOf'](_0x11f2d0);return _0x459a0b<0x0?null:_0xe678f8['manager']['tooltipViews'][_0x459a0b];}class GutterMarker extends _0x54fcea{['compare'](_0x5ec67e){return this==_0x5ec67e||this['constructor']==_0x5ec67e['constructor']&&this['eq'](_0x5ec67e);}['eq'](_0x59b525){return!0x1;}['destroy'](_0x47e698){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x270cd3['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const gutterLineClass=Facet['define'](),gutterWidgetClass=Facet['define'](),defaults$1={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},activeGutters=Facet['define']();function gutter(_0x4c8f1d){return[gutters(),activeGutters['of']({...defaults$1,..._0x4c8f1d})];}const unfixGutters=Facet['define']({'combine':_0x3742f5=>_0x3742f5['some'](_0x2773bd=>_0x2773bd)});function gutters(_0x58de37){return[gutterView];}const gutterView=_0x2e3bc0['fromClass'](class{constructor(_0x4a6e88){this['view']=_0x4a6e88,this['domAfter']=null,this['prevViewport']=_0x4a6e88['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']=_0x4a6e88['state']['facet'](activeGutters)['map'](_0x9e895a=>new SingleGutterView(_0x4a6e88,_0x9e895a)),this['fixed']=!_0x4a6e88['state']['facet'](unfixGutters);for(let _0x1c7e5b of this['gutters'])'after'==_0x1c7e5b['config']['side']?this['getDOMAfter']()['appendChild'](_0x1c7e5b['dom']):this['dom']['appendChild'](_0x1c7e5b['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x4a6e88['scrollDOM']['insertBefore'](this['dom'],_0x4a6e88['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'](_0x3c8650){if(this['updateGutters'](_0x3c8650)){let _0x1bbb01=this['prevViewport'],_0x5b923c=_0x3c8650['view']['viewport'],_0x497330=Math['min'](_0x1bbb01['to'],_0x5b923c['to'])-Math['max'](_0x1bbb01['from'],_0x5b923c['from']);this['syncGutters'](_0x497330<0.8*(_0x5b923c['to']-_0x5b923c['from']));}if(_0x3c8650['geometryChanged']){let _0x3bba1f=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x3bba1f,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x3bba1f);}this['view']['state']['facet'](unfixGutters)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x3c8650['view']['viewport'];}['syncGutters'](_0x3c464a){let _0x467ff7=this['dom']['nextSibling'];_0x3c464a&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x3ef9d7=RangeSet['iter'](this['view']['state']['facet'](gutterLineClass),this['view']['viewport']['from']),_0xde4f2b=[],_0x5ccbcc=this['gutters']['map'](_0xe7b4db=>new UpdateContext(_0xe7b4db,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x7acda3 of this['view']['viewportLineBlocks'])if(_0xde4f2b['length']&&(_0xde4f2b=[]),Array['isArray'](_0x7acda3['type'])){let _0x561883=!0x0;for(let _0x39a35a of _0x7acda3['type'])if(_0x39a35a['type']==_0x30e04f['Text']&&_0x561883){_0x4f84e3(_0x3ef9d7,_0xde4f2b,_0x39a35a['from']);for(let _0x2c35d5 of _0x5ccbcc)_0x2c35d5['line'](this['view'],_0x39a35a,_0xde4f2b);_0x561883=!0x1;}else{if(_0x39a35a['widget']){for(let _0x3dc33b of _0x5ccbcc)_0x3dc33b['widget'](this['view'],_0x39a35a);}}}else{if(_0x7acda3['type']==_0x30e04f['Text']){_0x4f84e3(_0x3ef9d7,_0xde4f2b,_0x7acda3['from']);for(let _0x3a15cd of _0x5ccbcc)_0x3a15cd['line'](this['view'],_0x7acda3,_0xde4f2b);}else{if(_0x7acda3['widget']){for(let _0x4581c3 of _0x5ccbcc)_0x4581c3['widget'](this['view'],_0x7acda3);}}}for(let _0x192e8d of _0x5ccbcc)_0x192e8d['finish']();_0x3c464a&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x467ff7),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x5bb9d1){let _0x423d16=_0x5bb9d1['startState']['facet'](activeGutters),_0x144b58=_0x5bb9d1['state']['facet'](activeGutters),_0x532a3b=_0x5bb9d1['docChanged']||_0x5bb9d1['heightChanged']||_0x5bb9d1['viewportChanged']||!RangeSet['eq'](_0x5bb9d1['startState']['facet'](gutterLineClass),_0x5bb9d1['state']['facet'](gutterLineClass),_0x5bb9d1['view']['viewport']['from'],_0x5bb9d1['view']['viewport']['to']);if(_0x423d16==_0x144b58){for(let _0x2fce6c of this['gutters'])_0x2fce6c['update'](_0x5bb9d1)&&(_0x532a3b=!0x0);}else{_0x532a3b=!0x0;let _0x307d7e=[];for(let _0x147680 of _0x144b58){let _0x27495b=_0x423d16['indexOf'](_0x147680);_0x27495b<0x0?_0x307d7e['push'](new SingleGutterView(this['view'],_0x147680)):(this['gutters'][_0x27495b]['update'](_0x5bb9d1),_0x307d7e['push'](this['gutters'][_0x27495b]));}for(let _0xb62caf of this['gutters'])_0xb62caf['dom']['remove'](),_0x307d7e['indexOf'](_0xb62caf)<0x0&&_0xb62caf['destroy']();for(let _0x4020a2 of _0x307d7e)'after'==_0x4020a2['config']['side']?this['getDOMAfter']()['appendChild'](_0x4020a2['dom']):this['dom']['appendChild'](_0x4020a2['dom']);this['gutters']=_0x307d7e;}return _0x532a3b;}['destroy'](){for(let _0x5cc535 of this['gutters'])_0x5cc535['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x2abf5a=>EditorView['scrollMargins']['of'](_0x48a8dd=>{let _0x21941b=_0x48a8dd['plugin'](_0x2abf5a);if(!_0x21941b||0x0==_0x21941b['gutters']['length']||!_0x21941b['fixed'])return null;let _0x359de1=_0x21941b['dom']['offsetWidth']*_0x48a8dd['scaleX'],_0x7b449c=_0x21941b['domAfter']?_0x21941b['domAfter']['offsetWidth']*_0x48a8dd['scaleX']:0x0;return _0x48a8dd['textDirection']==Direction['LTR']?{'left':_0x359de1,'right':_0x7b449c}:{'right':_0x359de1,'left':_0x7b449c};})});function _0x14837c(_0x4d8d43){return Array['isArray'](_0x4d8d43)?_0x4d8d43:[_0x4d8d43];}function _0x4f84e3(_0x3fccbb,_0x5b8fdc,_0x7250ef){for(;_0x3fccbb['value']&&_0x3fccbb['from']<=_0x7250ef;)_0x3fccbb['from']==_0x7250ef&&_0x5b8fdc['push'](_0x3fccbb['value']),_0x3fccbb['next']();}class UpdateContext{constructor(_0x2623fd,_0x3cca84,_0x425927){this['gutter']=_0x2623fd,this['height']=_0x425927,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x2623fd['markers'],_0x3cca84['from']);}['addElement'](_0x2ad2cd,_0x5abc71,_0x4ad553){let {gutter:_0x5e089a}=this,_0x3c5672=(_0x5abc71['top']-this['height'])/_0x2ad2cd['scaleY'],_0x27fab0=_0x5abc71['height']/_0x2ad2cd['scaleY'];if(this['i']==_0x5e089a['elements']['length']){let _0x496fbc=new GutterElement(_0x2ad2cd,_0x27fab0,_0x3c5672,_0x4ad553);_0x5e089a['elements']['push'](_0x496fbc),_0x5e089a['dom']['appendChild'](_0x496fbc['dom']);}else _0x5e089a['elements'][this['i']]['update'](_0x2ad2cd,_0x27fab0,_0x3c5672,_0x4ad553);this['height']=_0x5abc71['bottom'],this['i']++;}['line'](_0x2fe3ea,_0x4c1c60,_0xe1bfa6){let _0x3d0305=[];_0x4f84e3(this['cursor'],_0x3d0305,_0x4c1c60['from']),_0xe1bfa6['length']&&(_0x3d0305=_0x3d0305['concat'](_0xe1bfa6));let _0x55f2e2=this['gutter']['config']['lineMarker'](_0x2fe3ea,_0x4c1c60,_0x3d0305);_0x55f2e2&&_0x3d0305['unshift'](_0x55f2e2);let _0x3044f0=this['gutter'];(0x0!=_0x3d0305['length']||_0x3044f0['config']['renderEmptyElements'])&&this['addElement'](_0x2fe3ea,_0x4c1c60,_0x3d0305);}['widget'](_0x48bbf0,_0x4fcd63){let _0x2e7932=this['gutter']['config']['widgetMarker'](_0x48bbf0,_0x4fcd63['widget'],_0x4fcd63),_0x41aa0f=_0x2e7932?[_0x2e7932]:null;for(let _0x25b4a6 of _0x48bbf0['state']['facet'](gutterWidgetClass)){let _0x2b7a84=_0x25b4a6(_0x48bbf0,_0x4fcd63['widget'],_0x4fcd63);_0x2b7a84&&(_0x41aa0f||(_0x41aa0f=[]))['push'](_0x2b7a84);}_0x41aa0f&&this['addElement'](_0x48bbf0,_0x4fcd63,_0x41aa0f);}['finish'](){let _0x332bc3=this['gutter'];for(;_0x332bc3['elements']['length']>this['i'];){let _0x9fcd79=_0x332bc3['elements']['pop']();_0x332bc3['dom']['removeChild'](_0x9fcd79['dom']),_0x9fcd79['destroy']();}}}class SingleGutterView{constructor(_0xd92a09,_0x5dbc6b){this['view']=_0xd92a09,this['config']=_0x5dbc6b,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x4d7a2f in _0x5dbc6b['domEventHandlers'])this['dom']['addEventListener'](_0x4d7a2f,_0x3cf359=>{let _0x4a9a9d,_0x27bc5c=_0x3cf359['target'];if(_0x27bc5c!=this['dom']&&this['dom']['contains'](_0x27bc5c)){for(;_0x27bc5c['parentNode']!=this['dom'];)_0x27bc5c=_0x27bc5c['parentNode'];let _0x29e9f0=_0x27bc5c['getBoundingClientRect']();_0x4a9a9d=(_0x29e9f0['top']+_0x29e9f0['bottom'])/0x2;}else _0x4a9a9d=_0x3cf359['clientY'];let _0x5a8d9b=_0xd92a09['lineBlockAtHeight'](_0x4a9a9d-_0xd92a09['documentTop']);_0x5dbc6b['domEventHandlers'][_0x4d7a2f](_0xd92a09,_0x5a8d9b,_0x3cf359)&&_0x3cf359['preventDefault']();});this['markers']=_0x14837c(_0x5dbc6b['markers'](_0xd92a09)),_0x5dbc6b['initialSpacer']&&(this['spacer']=new GutterElement(_0xd92a09,0x0,0x0,[_0x5dbc6b['initialSpacer'](_0xd92a09)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x56fcd6){let _0x413909=this['markers'];if(this['markers']=_0x14837c(this['config']['markers'](_0x56fcd6['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x4239e7=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x56fcd6);_0x4239e7!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x56fcd6['view'],0x0,0x0,[_0x4239e7]);}let _0x27cfd6=_0x56fcd6['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x413909,_0x27cfd6['from'],_0x27cfd6['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x56fcd6);}['destroy'](){for(let _0x5adb95 of this['elements'])_0x5adb95['destroy']();}}class GutterElement{constructor(_0x2c6781,_0x3b55b4,_0x44ba86,_0x500262){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x2c6781,_0x3b55b4,_0x44ba86,_0x500262);}['update'](_0x592268,_0x359b60,_0x36fb41,_0x183dce){this['height']!=_0x359b60&&(this['height']=_0x359b60,this['dom']['style']['height']=_0x359b60+'px'),this['above']!=_0x36fb41&&(this['dom']['style']['marginTop']=(this['above']=_0x36fb41)?_0x36fb41+'px':''),_0x313d1a(this['markers'],_0x183dce)||this['setMarkers'](_0x592268,_0x183dce);}['setMarkers'](_0x3f30b5,_0x1ff7fb){let _0x1cdd02='cm-gutterElement',_0x33080c=this['dom']['firstChild'];for(let _0x394909=0x0,_0x137aec=0x0;;){let _0x39bd63=_0x137aec,_0x1cc64f=_0x394909<_0x1ff7fb['length']?_0x1ff7fb[_0x394909++]:null,_0x5f126a=!0x1;if(_0x1cc64f){let _0x289f96=_0x1cc64f['elementClass'];_0x289f96&&(_0x1cdd02+='\x20'+_0x289f96);for(let _0x5cac78=_0x137aec;_0x5cac78<this['markers']['length'];_0x5cac78++)if(this['markers'][_0x5cac78]['compare'](_0x1cc64f)){_0x39bd63=_0x5cac78,_0x5f126a=!0x0;break;}}else _0x39bd63=this['markers']['length'];for(;_0x137aec<_0x39bd63;){let _0x1f4fb4=this['markers'][_0x137aec++];if(_0x1f4fb4['toDOM']){_0x1f4fb4['destroy'](_0x33080c);let _0x2e37e4=_0x33080c['nextSibling'];_0x33080c['remove'](),_0x33080c=_0x2e37e4;}}if(!_0x1cc64f)break;_0x1cc64f['toDOM']&&(_0x5f126a?_0x33080c=_0x33080c['nextSibling']:this['dom']['insertBefore'](_0x1cc64f['toDOM'](_0x3f30b5),_0x33080c)),_0x5f126a&&_0x137aec++;}this['dom']['className']=_0x1cdd02,this['markers']=_0x1ff7fb;}['destroy'](){this['setMarkers'](null,[]);}}function _0x313d1a(_0x3d9693,_0x13d5a6){if(_0x3d9693['length']!=_0x13d5a6['length'])return!0x1;for(let _0x4262a4=0x0;_0x4262a4<_0x3d9693['length'];_0x4262a4++)if(!_0x3d9693[_0x4262a4]['compare'](_0x13d5a6[_0x4262a4]))return!0x1;return!0x0;}const _0x2ac855=Facet['define'](),lineNumberWidgetMarker=Facet['define'](),_0x351df3=Facet['define']({'combine':_0x1609da=>_0x3c2ae7(_0x1609da,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x17ded1,_0x351e18){let _0xf88469=Object['assign']({},_0x17ded1);for(let _0x529b4 in _0x351e18){let _0x98d506=_0xf88469[_0x529b4],_0x288014=_0x351e18[_0x529b4];_0xf88469[_0x529b4]=_0x98d506?(_0x4acc51,_0x1d403f,_0x4797e6)=>_0x98d506(_0x4acc51,_0x1d403f,_0x4797e6)||_0x288014(_0x4acc51,_0x1d403f,_0x4797e6):_0x288014;}return _0xf88469;}})});class _0x26b69a extends GutterMarker{constructor(_0x216e93){super(),this['number']=_0x216e93;}['eq'](_0x1096b5){return this['number']==_0x1096b5['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function formatNumber(_0x25d311,_0x5b2143){return _0x25d311['state']['facet'](_0x351df3)['formatNumber'](_0x5b2143,_0x25d311['state']);}const lineNumberGutter=activeGutters['compute']([_0x351df3],_0xbdc5e4=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x555b97=>_0x555b97['state']['facet'](_0x2ac855),'lineMarker':(_0x2d5ac3,_0x226fb5,_0x40f028)=>_0x40f028['some'](_0x188952=>_0x188952['toDOM'])?null:new _0x26b69a(formatNumber(_0x2d5ac3,_0x2d5ac3['state']['doc']['lineAt'](_0x226fb5['from'])['number'])),'widgetMarker':(_0x2fe388,_0x279ec9,_0x29e5b6)=>{for(let _0x22e210 of _0x2fe388['state']['facet'](lineNumberWidgetMarker)){let _0xc48075=_0x22e210(_0x2fe388,_0x279ec9,_0x29e5b6);if(_0xc48075)return _0xc48075;}return null;},'lineMarkerChange':_0x588176=>_0x588176['startState']['facet'](_0x351df3)!=_0x588176['state']['facet'](_0x351df3),'initialSpacer':_0x3fbf69=>new _0x26b69a(formatNumber(_0x3fbf69,_0x3551ac(_0x3fbf69['state']['doc']['lines']))),'updateSpacer'(_0x2e2cb9,_0x1cb45e){let _0x343f60=formatNumber(_0x1cb45e['view'],_0x3551ac(_0x1cb45e['view']['state']['doc']['lines']));return _0x343f60==_0x2e2cb9['number']?_0x2e2cb9:new _0x26b69a(_0x343f60);},'domEventHandlers':_0xbdc5e4['facet'](_0x351df3)['domEventHandlers'],'side':'before'}));function _0x2b520e(_0x49c9f7={}){return[_0x351df3['of'](_0x49c9f7),gutters(),lineNumberGutter];}function _0x3551ac(_0x2c6c02){let _0x100c47=0x9;for(;_0x100c47<_0x2c6c02;)_0x100c47=0xa*_0x100c47+0x9;return _0x100c47;}const activeLineGutterMarker=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),activeLineGutterHighlighter=gutterLineClass['compute'](['selection'],_0x351795=>{let _0x2b373a=[],_0x23ed0b=-0x1;for(let _0x5715a1 of _0x351795['selection']['ranges']){let _0x4b34fe=_0x351795['doc']['lineAt'](_0x5715a1['head'])['from'];_0x4b34fe>_0x23ed0b&&(_0x23ed0b=_0x4b34fe,_0x2b373a['push'](activeLineGutterMarker['range'](_0x4b34fe)));}return RangeSet['of'](_0x2b373a);});function highlightActiveLineGutter(){return activeLineGutterHighlighter;}const DefaultBufferLength=0x400;let nextPropID=0x0;class _0x385874{constructor(_0xea86a,_0xdcb28c){this['from']=_0xea86a,this['to']=_0xdcb28c;}}class _0x323035{constructor(_0xf692f0={}){this['id']=nextPropID++,this['perNode']=!!_0xf692f0['perNode'],this['deserialize']=_0xf692f0['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0xf692f0['combine']||null;}['add'](_0x71911a){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x71911a&&(_0x71911a=_0xcfe90f['match'](_0x71911a)),_0x203f88=>{let _0xe4c422=_0x71911a(_0x203f88);return void 0x0===_0xe4c422?null:[this,_0xe4c422];};}}_0x323035['closedBy']=new _0x323035({'deserialize':_0x34652a=>_0x34652a['split']('\x20')}),_0x323035['openedBy']=new _0x323035({'deserialize':_0x22a90d=>_0x22a90d['split']('\x20')}),_0x323035['group']=new _0x323035({'deserialize':_0x510e6a=>_0x510e6a['split']('\x20')}),_0x323035['isolate']=new _0x323035({'deserialize':_0x1e506b=>{if(_0x1e506b&&'rtl'!=_0x1e506b&&'ltr'!=_0x1e506b&&'auto'!=_0x1e506b)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x1e506b);return _0x1e506b||'auto';}}),_0x323035['contextHash']=new _0x323035({'perNode':!0x0}),_0x323035['lookAhead']=new _0x323035({'perNode':!0x0}),_0x323035['mounted']=new _0x323035({'perNode':!0x0});class MountedTree{constructor(_0x558923,_0x5463e3,_0x24e460){this['tree']=_0x558923,this['overlay']=_0x5463e3,this['parser']=_0x24e460;}static['get'](_0x112d0f){return _0x112d0f&&_0x112d0f['props']&&_0x112d0f['props'][_0x323035['mounted']['id']];}}const _0x400ea7=Object['create'](null);class _0xcfe90f{constructor(_0x3396be,_0x3a7281,_0x5e4016,_0x2409c9=0x0){this['name']=_0x3396be,this['props']=_0x3a7281,this['id']=_0x5e4016,this['flags']=_0x2409c9;}static['define'](_0x2bb66e){let _0x1fa8d2=_0x2bb66e['props']&&_0x2bb66e['props']['length']?Object['create'](null):_0x400ea7,_0x25b249=(_0x2bb66e['top']?0x1:0x0)|(_0x2bb66e['skipped']?0x2:0x0)|(_0x2bb66e['error']?0x4:0x0)|(null==_0x2bb66e['name']?0x8:0x0),_0x57985d=new _0xcfe90f(_0x2bb66e['name']||'',_0x1fa8d2,_0x2bb66e['id'],_0x25b249);if(_0x2bb66e['props']){for(let _0x242001 of _0x2bb66e['props'])if(Array['isArray'](_0x242001)||(_0x242001=_0x242001(_0x57985d)),_0x242001){if(_0x242001[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x1fa8d2[_0x242001[0x0]['id']]=_0x242001[0x1];}}return _0x57985d;}['prop'](_0xc722af){return this['props'][_0xc722af['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'](_0x1d2184){if('string'==typeof _0x1d2184){if(this['name']==_0x1d2184)return!0x0;let _0x47df19=this['prop'](_0x323035['group']);return!!_0x47df19&&_0x47df19['indexOf'](_0x1d2184)>-0x1;}return this['id']==_0x1d2184;}static['match'](_0x4c29b1){let _0x1ee17a=Object['create'](null);for(let _0x43c800 in _0x4c29b1)for(let _0x275418 of _0x43c800['split']('\x20'))_0x1ee17a[_0x275418]=_0x4c29b1[_0x43c800];return _0x4766e2=>{for(let _0x6473a9=_0x4766e2['prop'](_0x323035['group']),_0x382a05=-0x1;_0x382a05<(_0x6473a9?_0x6473a9['length']:0x0);_0x382a05++){let _0x3ac564=_0x1ee17a[_0x382a05<0x0?_0x4766e2['name']:_0x6473a9[_0x382a05]];if(_0x3ac564)return _0x3ac564;}};}}_0xcfe90f['none']=new _0xcfe90f('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x488052){this['types']=_0x488052;for(let _0x55582b=0x0;_0x55582b<_0x488052['length'];_0x55582b++)if(_0x488052[_0x55582b]['id']!=_0x55582b)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x174a41){let _0x45bc98=[];for(let _0x3dd079 of this['types']){let _0x48a386=null;for(let _0x577e63 of _0x174a41){let _0x423aaf=_0x577e63(_0x3dd079);if(_0x423aaf){_0x48a386||(_0x48a386=Object['assign']({},_0x3dd079['props']));let _0x3b0975=_0x423aaf[0x1],_0x3a60e5=_0x423aaf[0x0];_0x3a60e5['combine']&&_0x3a60e5['id']in _0x48a386&&(_0x3b0975=_0x3a60e5['combine'](_0x48a386[_0x3a60e5['id']],_0x3b0975)),_0x48a386[_0x3a60e5['id']]=_0x3b0975;}}_0x45bc98['push'](_0x48a386?new _0xcfe90f(_0x3dd079['name'],_0x48a386,_0x3dd079['id'],_0x3dd079['flags']):_0x3dd079);}return new NodeSet(_0x45bc98);}}const _0x380b3f=new WeakMap(),_0x2249fa=new WeakMap();var IterMode;!function(_0x4dce5b){_0x4dce5b[_0x4dce5b['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x4dce5b[_0x4dce5b['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x4dce5b[_0x4dce5b['IgnoreMounts']=0x4]='IgnoreMounts',_0x4dce5b[_0x4dce5b['IgnoreOverlays']=0x8]='IgnoreOverlays';}(IterMode||(IterMode={}));class _0x39ae63{constructor(_0x3f1a82,_0x1473c5,_0x30719a,_0x5efa33,_0x4707d2){if(this['type']=_0x3f1a82,this['children']=_0x1473c5,this['positions']=_0x30719a,this['length']=_0x5efa33,this['props']=null,_0x4707d2&&_0x4707d2['length']){this['props']=Object['create'](null);for(let [_0x408677,_0x38aed4]of _0x4707d2)this['props']['number'==typeof _0x408677?_0x408677:_0x408677['id']]=_0x38aed4;}}['toString'](){let _0x46e135=MountedTree['get'](this);if(_0x46e135&&!_0x46e135['overlay'])return _0x46e135['tree']['toString']();let _0x473af5='';for(let _0x389dcd of this['children']){let _0x43e9f3=_0x389dcd['toString']();_0x43e9f3&&(_0x473af5&&(_0x473af5+=','),_0x473af5+=_0x43e9f3);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x473af5['length']?'('+_0x473af5+')':''):_0x473af5;}['cursor'](_0x3e07c0=0x0){return new _0x339fd1(this['topNode'],_0x3e07c0);}['cursorAt'](_0x107e63,_0x26bfd8=0x0,_0x50cb37=0x0){let _0x42f287=_0x380b3f['get'](this)||this['topNode'],_0x48c8f1=new _0x339fd1(_0x42f287);return _0x48c8f1['moveTo'](_0x107e63,_0x26bfd8),_0x380b3f['set'](this,_0x48c8f1['_tree']),_0x48c8f1;}get['topNode'](){return new _0x246bfe(this,0x0,0x0,null);}['resolve'](_0x5b2942,_0x3afcf8=0x0){let _0xcc9e03=_0x161cd5(_0x380b3f['get'](this)||this['topNode'],_0x5b2942,_0x3afcf8,!0x1);return _0x380b3f['set'](this,_0xcc9e03),_0xcc9e03;}['resolveInner'](_0x4e1478,_0x4a2251=0x0){let _0x35dcc8=_0x161cd5(_0x2249fa['get'](this)||this['topNode'],_0x4e1478,_0x4a2251,!0x0);return _0x2249fa['set'](this,_0x35dcc8),_0x35dcc8;}['resolveStack'](_0x53c610,_0x42115e=0x0){return stackIterator(this,_0x53c610,_0x42115e);}['iterate'](_0x39f25c){let {enter:_0x3df59b,leave:_0x29b04b,from:_0x45775a=0x0,to:_0x23cd86=this['length']}=_0x39f25c,_0x1ac3b6=_0x39f25c['mode']||0x0,_0x35a294=(_0x1ac3b6&IterMode['IncludeAnonymous'])>0x0;for(let _0x136fb9=this['cursor'](_0x1ac3b6|IterMode['IncludeAnonymous']);;){let _0x5d0376=!0x1;if(_0x136fb9['from']<=_0x23cd86&&_0x136fb9['to']>=_0x45775a&&(!_0x35a294&&_0x136fb9['type']['isAnonymous']||!0x1!==_0x3df59b(_0x136fb9))){if(_0x136fb9['firstChild']())continue;_0x5d0376=!0x0;}for(;_0x5d0376&&_0x29b04b&&(_0x35a294||!_0x136fb9['type']['isAnonymous'])&&_0x29b04b(_0x136fb9),!_0x136fb9['nextSibling']();){if(!_0x136fb9['parent']())return;_0x5d0376=!0x0;}}}['prop'](_0x4b1a98){return _0x4b1a98['perNode']?this['props']?this['props'][_0x4b1a98['id']]:void 0x0:this['type']['prop'](_0x4b1a98);}get['propValues'](){let _0x417426=[];if(this['props']){for(let _0x7e0902 in this['props'])_0x417426['push']([+_0x7e0902,this['props'][_0x7e0902]]);}return _0x417426;}['balance'](_0x49671e={}){return this['children']['length']<=0x8?this:_0x277312(_0xcfe90f['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x1f2a04,_0x31220a,_0x2aef23)=>new _0x39ae63(this['type'],_0x1f2a04,_0x31220a,_0x2aef23,this['propValues']),_0x49671e['makeTree']||((_0x41b8bc,_0x4b7955,_0x511a17)=>new _0x39ae63(_0xcfe90f['none'],_0x41b8bc,_0x4b7955,_0x511a17)));}static['build'](_0x3d94cc){return _0x282aa7(_0x3d94cc);}}_0x39ae63['empty']=new _0x39ae63(_0xcfe90f['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x221604,_0x11e68d){this['buffer']=_0x221604,this['index']=_0x11e68d;}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']);}}class _0x42d51c{constructor(_0xe577eb,_0xfc13d3,_0x48bd38){this['buffer']=_0xe577eb,this['length']=_0xfc13d3,this['set']=_0x48bd38;}get['type'](){return _0xcfe90f['none'];}['toString'](){let _0x1b73b2=[];for(let _0x5f0cdb=0x0;_0x5f0cdb<this['buffer']['length'];)_0x1b73b2['push'](this['childString'](_0x5f0cdb)),_0x5f0cdb=this['buffer'][_0x5f0cdb+0x3];return _0x1b73b2['join'](',');}['childString'](_0x130809){let _0x5a3d23=this['buffer'][_0x130809],_0x2d4c36=this['buffer'][_0x130809+0x3],_0x519ee1=this['set']['types'][_0x5a3d23],_0x91d3b8=_0x519ee1['name'];if(/\W/['test'](_0x91d3b8)&&!_0x519ee1['isError']&&(_0x91d3b8=JSON['stringify'](_0x91d3b8)),_0x2d4c36==(_0x130809+=0x4))return _0x91d3b8;let _0x35fbcf=[];for(;_0x130809<_0x2d4c36;)_0x35fbcf['push'](this['childString'](_0x130809)),_0x130809=this['buffer'][_0x130809+0x3];return _0x91d3b8+'('+_0x35fbcf['join'](',')+')';}['findChild'](_0x13fc07,_0x5acffa,_0x333bfa,_0x1a6cca,_0x1350c4){let {buffer:_0x56d02d}=this,_0xf0fafe=-0x1;for(let _0x4a91a6=_0x13fc07;_0x4a91a6!=_0x5acffa&&!(_0x4e5584(_0x1350c4,_0x1a6cca,_0x56d02d[_0x4a91a6+0x1],_0x56d02d[_0x4a91a6+0x2])&&(_0xf0fafe=_0x4a91a6,_0x333bfa>0x0));_0x4a91a6=_0x56d02d[_0x4a91a6+0x3]);return _0xf0fafe;}['slice'](_0x402e58,_0x124a68,_0x45ce80){let _0x13805f=this['buffer'],_0x4415fd=new Uint16Array(_0x124a68-_0x402e58),_0x360996=0x0;for(let _0xf26d59=_0x402e58,_0x55cc2a=0x0;_0xf26d59<_0x124a68;){_0x4415fd[_0x55cc2a++]=_0x13805f[_0xf26d59++],_0x4415fd[_0x55cc2a++]=_0x13805f[_0xf26d59++]-_0x45ce80;let _0x136fb8=_0x4415fd[_0x55cc2a++]=_0x13805f[_0xf26d59++]-_0x45ce80;_0x4415fd[_0x55cc2a++]=_0x13805f[_0xf26d59++]-_0x402e58,_0x360996=Math['max'](_0x360996,_0x136fb8);}return new _0x42d51c(_0x4415fd,_0x360996,this['set']);}}function _0x4e5584(_0x418e15,_0x482cf6,_0x2335be,_0x15f284){switch(_0x418e15){case-0x2:return _0x2335be<_0x482cf6;case-0x1:return _0x15f284>=_0x482cf6&&_0x2335be<_0x482cf6;case 0x0:return _0x2335be<_0x482cf6&&_0x15f284>_0x482cf6;case 0x1:return _0x2335be<=_0x482cf6&&_0x15f284>_0x482cf6;case 0x2:return _0x15f284>_0x482cf6;case 0x4:return!0x0;}}function _0x161cd5(_0x197adc,_0x2a5ac2,_0xf461a8,_0x7cea28){for(var _0x5b5ad2;_0x197adc['from']==_0x197adc['to']||(_0xf461a8<0x1?_0x197adc['from']>=_0x2a5ac2:_0x197adc['from']>_0x2a5ac2)||(_0xf461a8>-0x1?_0x197adc['to']<=_0x2a5ac2:_0x197adc['to']<_0x2a5ac2);){let _0x437003=!_0x7cea28&&_0x197adc instanceof _0x246bfe&&_0x197adc['index']<0x0?null:_0x197adc['parent'];if(!_0x437003)return _0x197adc;_0x197adc=_0x437003;}let _0x4c1c9f=_0x7cea28?0x0:IterMode['IgnoreOverlays'];if(_0x7cea28){for(let _0x201f5a=_0x197adc,_0x5bd754=_0x201f5a['parent'];_0x5bd754;_0x201f5a=_0x5bd754,_0x5bd754=_0x201f5a['parent'])_0x201f5a instanceof _0x246bfe&&_0x201f5a['index']<0x0&&(null===(_0x5b5ad2=_0x5bd754['enter'](_0x2a5ac2,_0xf461a8,_0x4c1c9f))||void 0x0===_0x5b5ad2?void 0x0:_0x5b5ad2['from'])!=_0x201f5a['from']&&(_0x197adc=_0x5bd754);}for(;;){let _0xc93d5f=_0x197adc['enter'](_0x2a5ac2,_0xf461a8,_0x4c1c9f);if(!_0xc93d5f)return _0x197adc;_0x197adc=_0xc93d5f;}}class _0x52edcc{['cursor'](_0x1d452f=0x0){return new _0x339fd1(this,_0x1d452f);}['getChild'](_0x3b673b,_0x3f912f=null,_0x4b641c=null){let _0x4505c7=getChildren(this,_0x3b673b,_0x3f912f,_0x4b641c);return _0x4505c7['length']?_0x4505c7[0x0]:null;}['getChildren'](_0xd158d3,_0x18e5f9=null,_0xe31f33=null){return getChildren(this,_0xd158d3,_0x18e5f9,_0xe31f33);}['resolve'](_0x4fe519,_0x24f0da=0x0){return _0x161cd5(this,_0x4fe519,_0x24f0da,!0x1);}['resolveInner'](_0x463eeb,_0x1acd48=0x0){return _0x161cd5(this,_0x463eeb,_0x1acd48,!0x0);}['matchContext'](_0x5e14e1){return matchNodeContext(this['parent'],_0x5e14e1);}['enterUnfinishedNodesBefore'](_0x32064e){let _0x567e40=this['childBefore'](_0x32064e),_0x15c25f=this;for(;_0x567e40;){let _0x55226c=_0x567e40['lastChild'];if(!_0x55226c||_0x55226c['to']!=_0x567e40['to'])break;_0x55226c['type']['isError']&&_0x55226c['from']==_0x55226c['to']?(_0x15c25f=_0x567e40,_0x567e40=_0x55226c['prevSibling']):_0x567e40=_0x55226c;}return _0x15c25f;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x246bfe extends _0x52edcc{constructor(_0x13880f,_0x27a48d,_0x5167d9,_0x32e430){super(),this['_tree']=_0x13880f,this['from']=_0x27a48d,this['index']=_0x5167d9,this['_parent']=_0x32e430;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x1d4636,_0x27e40b,_0x6ba836,_0x4343ab,_0x27fae7=0x0){for(let _0x1a7f65=this;;){for(let {children:_0x33fdb7,positions:_0x4f9843}=_0x1a7f65['_tree'],_0x2c5eb8=_0x27e40b>0x0?_0x33fdb7['length']:-0x1;_0x1d4636!=_0x2c5eb8;_0x1d4636+=_0x27e40b){let _0x4e013b=_0x33fdb7[_0x1d4636],_0x4f0315=_0x4f9843[_0x1d4636]+_0x1a7f65['from'];if(_0x4e5584(_0x4343ab,_0x6ba836,_0x4f0315,_0x4f0315+_0x4e013b['length'])){if(_0x4e013b instanceof _0x42d51c){if(_0x27fae7&IterMode['ExcludeBuffers'])continue;let _0xd24375=_0x4e013b['findChild'](0x0,_0x4e013b['buffer']['length'],_0x27e40b,_0x6ba836-_0x4f0315,_0x4343ab);if(_0xd24375>-0x1)return new _0x176226(new BufferContext(_0x1a7f65,_0x4e013b,_0x1d4636,_0x4f0315),null,_0xd24375);}else{if(_0x27fae7&IterMode['IncludeAnonymous']||!_0x4e013b['type']['isAnonymous']||_0x546f5a(_0x4e013b)){let _0x238cb3;if(!(_0x27fae7&IterMode['IgnoreMounts'])&&(_0x238cb3=MountedTree['get'](_0x4e013b))&&!_0x238cb3['overlay'])return new _0x246bfe(_0x238cb3['tree'],_0x4f0315,_0x1d4636,_0x1a7f65);let _0xf2118d=new _0x246bfe(_0x4e013b,_0x4f0315,_0x1d4636,_0x1a7f65);return _0x27fae7&IterMode['IncludeAnonymous']||!_0xf2118d['type']['isAnonymous']?_0xf2118d:_0xf2118d['nextChild'](_0x27e40b<0x0?_0x4e013b['children']['length']-0x1:0x0,_0x27e40b,_0x6ba836,_0x4343ab);}}}}if(_0x27fae7&IterMode['IncludeAnonymous']||!_0x1a7f65['type']['isAnonymous'])return null;if(_0x1d4636=_0x1a7f65['index']>=0x0?_0x1a7f65['index']+_0x27e40b:_0x27e40b<0x0?-0x1:_0x1a7f65['_parent']['_tree']['children']['length'],_0x1a7f65=_0x1a7f65['_parent'],!_0x1a7f65)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'](_0x2690fd){return this['nextChild'](0x0,0x1,_0x2690fd,0x2);}['childBefore'](_0x2fb5dd){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x2fb5dd,-0x2);}['enter'](_0x8c4169,_0x3c0cdc,_0x46c1e9=0x0){let _0x501bb6;if(!(_0x46c1e9&IterMode['IgnoreOverlays'])&&(_0x501bb6=MountedTree['get'](this['_tree']))&&_0x501bb6['overlay']){let _0x22a03c=_0x8c4169-this['from'];for(let {from:_0xd00e73,to:_0x3a460e}of _0x501bb6['overlay'])if((_0x3c0cdc>0x0?_0xd00e73<=_0x22a03c:_0xd00e73<_0x22a03c)&&(_0x3c0cdc<0x0?_0x3a460e>=_0x22a03c:_0x3a460e>_0x22a03c))return new _0x246bfe(_0x501bb6['tree'],_0x501bb6['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x8c4169,_0x3c0cdc,_0x46c1e9);}['nextSignificantParent'](){let _0x20b149=this;for(;_0x20b149['type']['isAnonymous']&&_0x20b149['_parent'];)_0x20b149=_0x20b149['_parent'];return _0x20b149;}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 getChildren(_0x4655ab,_0x5ed594,_0x2d4150,_0xcf48a8){let _0x3929b9=_0x4655ab['cursor'](),_0x5e9103=[];if(!_0x3929b9['firstChild']())return _0x5e9103;if(null!=_0x2d4150){for(let _0x44957f=!0x1;!_0x44957f;)if(_0x44957f=_0x3929b9['type']['is'](_0x2d4150),!_0x3929b9['nextSibling']())return _0x5e9103;}for(;;){if(null!=_0xcf48a8&&_0x3929b9['type']['is'](_0xcf48a8))return _0x5e9103;if(_0x3929b9['type']['is'](_0x5ed594)&&_0x5e9103['push'](_0x3929b9['node']),!_0x3929b9['nextSibling']())return null==_0xcf48a8?_0x5e9103:[];}}function matchNodeContext(_0x2bdc51,_0x38dfdf,_0x169dda=_0x38dfdf['length']-0x1){for(let _0x1e74b7=_0x2bdc51;_0x169dda>=0x0;_0x1e74b7=_0x1e74b7['parent']){if(!_0x1e74b7)return!0x1;if(!_0x1e74b7['type']['isAnonymous']){if(_0x38dfdf[_0x169dda]&&_0x38dfdf[_0x169dda]!=_0x1e74b7['name'])return!0x1;_0x169dda--;}}return!0x0;}class BufferContext{constructor(_0x19bb3b,_0x122f97,_0x3ea2dc,_0x2d0acc){this['parent']=_0x19bb3b,this['buffer']=_0x122f97,this['index']=_0x3ea2dc,this['start']=_0x2d0acc;}}class _0x176226 extends _0x52edcc{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(_0x1d988d,_0x7c24a0,_0x25eb91){super(),this['context']=_0x1d988d,this['_parent']=_0x7c24a0,this['index']=_0x25eb91,this['type']=_0x1d988d['buffer']['set']['types'][_0x1d988d['buffer']['buffer'][_0x25eb91]];}['child'](_0x5a0e72,_0x3acb6c,_0x1401ab){let {buffer:_0x548921}=this['context'],_0x3a0f0a=_0x548921['findChild'](this['index']+0x4,_0x548921['buffer'][this['index']+0x3],_0x5a0e72,_0x3acb6c-this['context']['start'],_0x1401ab);return _0x3a0f0a<0x0?null:new _0x176226(this['context'],this,_0x3a0f0a);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x2ad5aa){return this['child'](0x1,_0x2ad5aa,0x2);}['childBefore'](_0x2336cd){return this['child'](-0x1,_0x2336cd,-0x2);}['enter'](_0x31822a,_0x30e6f7,_0x1d387e=0x0){if(_0x1d387e&IterMode['ExcludeBuffers'])return null;let {buffer:_0x25526a}=this['context'],_0x51e6e5=_0x25526a['findChild'](this['index']+0x4,_0x25526a['buffer'][this['index']+0x3],_0x30e6f7>0x0?0x1:-0x1,_0x31822a-this['context']['start'],_0x30e6f7);return _0x51e6e5<0x0?null:new _0x176226(this['context'],this,_0x51e6e5);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x236cb2){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x236cb2,_0x236cb2,0x0,0x4);}get['nextSibling'](){let {buffer:_0x6180fe}=this['context'],_0x108557=_0x6180fe['buffer'][this['index']+0x3];return _0x108557<(this['_parent']?_0x6180fe['buffer'][this['_parent']['index']+0x3]:_0x6180fe['buffer']['length'])?new _0x176226(this['context'],this['_parent'],_0x108557):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x598175}=this['context'],_0x11c6ec=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x11c6ec?this['externalSibling'](-0x1):new _0x176226(this['context'],this['_parent'],_0x598175['findChild'](_0x11c6ec,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x1bc0d8=[],_0x2ccc1a=[],{buffer:_0x4321d5}=this['context'],_0x2a27be=this['index']+0x4,_0x18f337=_0x4321d5['buffer'][this['index']+0x3];if(_0x18f337>_0x2a27be){let _0x337181=_0x4321d5['buffer'][this['index']+0x1];_0x1bc0d8['push'](_0x4321d5['slice'](_0x2a27be,_0x18f337,_0x337181)),_0x2ccc1a['push'](0x0);}return new _0x39ae63(this['type'],_0x1bc0d8,_0x2ccc1a,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function iterStack(_0x158d4d){if(!_0x158d4d['length'])return null;let _0x24d552=0x0,_0x1b34df=_0x158d4d[0x0];for(let _0x1a0f38=0x1;_0x1a0f38<_0x158d4d['length'];_0x1a0f38++){let _0x5e3209=_0x158d4d[_0x1a0f38];(_0x5e3209['from']>_0x1b34df['from']||_0x5e3209['to']<_0x1b34df['to'])&&(_0x1b34df=_0x5e3209,_0x24d552=_0x1a0f38);}let _0x5423de=_0x1b34df instanceof _0x246bfe&&_0x1b34df['index']<0x0?null:_0x1b34df['parent'],_0x9ddca4=_0x158d4d['slice']();return _0x5423de?_0x9ddca4[_0x24d552]=_0x5423de:_0x9ddca4['splice'](_0x24d552,0x1),new StackIterator(_0x9ddca4,_0x1b34df);}class StackIterator{constructor(_0x1ae007,_0x5267c9){this['heads']=_0x1ae007,this['node']=_0x5267c9;}get['next'](){return iterStack(this['heads']);}}function stackIterator(_0x156042,_0x1817ff,_0x2adfbd){let _0x52935d=_0x156042['resolveInner'](_0x1817ff,_0x2adfbd),_0x1a3b74=null;for(let _0x4f908c=_0x52935d instanceof _0x246bfe?_0x52935d:_0x52935d['context']['parent'];_0x4f908c;_0x4f908c=_0x4f908c['parent'])if(_0x4f908c['index']<0x0){let _0xc77a94=_0x4f908c['parent'];(_0x1a3b74||(_0x1a3b74=[_0x52935d]))['push'](_0xc77a94['resolve'](_0x1817ff,_0x2adfbd)),_0x4f908c=_0xc77a94;}else{let _0x4e6f75=MountedTree['get'](_0x4f908c['tree']);if(_0x4e6f75&&_0x4e6f75['overlay']&&_0x4e6f75['overlay'][0x0]['from']<=_0x1817ff&&_0x4e6f75['overlay'][_0x4e6f75['overlay']['length']-0x1]['to']>=_0x1817ff){let _0x1632f9=new _0x246bfe(_0x4e6f75['tree'],_0x4e6f75['overlay'][0x0]['from']+_0x4f908c['from'],-0x1,_0x4f908c);(_0x1a3b74||(_0x1a3b74=[_0x52935d]))['push'](_0x161cd5(_0x1632f9,_0x1817ff,_0x2adfbd,!0x1));}}return _0x1a3b74?iterStack(_0x1a3b74):_0x52935d;}class _0x339fd1{get['name'](){return this['type']['name'];}constructor(_0x54cdee,_0x105f11=0x0){if(this['mode']=_0x105f11,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x54cdee instanceof _0x246bfe)this['yieldNode'](_0x54cdee);else{this['_tree']=_0x54cdee['context']['parent'],this['buffer']=_0x54cdee['context'];for(let _0x49a90c=_0x54cdee['_parent'];_0x49a90c;_0x49a90c=_0x49a90c['_parent'])this['stack']['unshift'](_0x49a90c['index']);this['bufferNode']=_0x54cdee,this['yieldBuf'](_0x54cdee['index']);}}['yieldNode'](_0x466e99){return!!_0x466e99&&(this['_tree']=_0x466e99,this['type']=_0x466e99['type'],this['from']=_0x466e99['from'],this['to']=_0x466e99['to'],!0x0);}['yieldBuf'](_0x3234ba,_0x5c0080){this['index']=_0x3234ba;let {start:_0x23b2e0,buffer:_0xa308b3}=this['buffer'];return this['type']=_0x5c0080||_0xa308b3['set']['types'][_0xa308b3['buffer'][_0x3234ba]],this['from']=_0x23b2e0+_0xa308b3['buffer'][_0x3234ba+0x1],this['to']=_0x23b2e0+_0xa308b3['buffer'][_0x3234ba+0x2],!0x0;}['yield'](_0x1eb1e7){return!!_0x1eb1e7&&(_0x1eb1e7 instanceof _0x246bfe?(this['buffer']=null,this['yieldNode'](_0x1eb1e7)):(this['buffer']=_0x1eb1e7['context'],this['yieldBuf'](_0x1eb1e7['index'],_0x1eb1e7['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x5f16cc,_0x306a03,_0x2bc1f7){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x5f16cc<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x5f16cc,_0x306a03,_0x2bc1f7,this['mode']));let {buffer:_0x2b0714}=this['buffer'],_0x2439cc=_0x2b0714['findChild'](this['index']+0x4,_0x2b0714['buffer'][this['index']+0x3],_0x5f16cc,_0x306a03-this['buffer']['start'],_0x2bc1f7);return!(_0x2439cc<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x2439cc));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x2d0261){return this['enterChild'](0x1,_0x2d0261,0x2);}['childBefore'](_0x134f8c){return this['enterChild'](-0x1,_0x134f8c,-0x2);}['enter'](_0x4edb96,_0xfbb29f,_0x5ce51f=this['mode']){return this['buffer']?!(_0x5ce51f&IterMode['ExcludeBuffers'])&&this['enterChild'](0x1,_0x4edb96,_0xfbb29f):this['yield'](this['_tree']['enter'](_0x4edb96,_0xfbb29f,_0x5ce51f));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&IterMode['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0xf1917e=this['mode']&IterMode['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0xf1917e);}['sibling'](_0xb08174){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0xb08174,_0xb08174,0x0,0x4,this['mode']));let {buffer:_0x28ddd0}=this['buffer'],_0xb92881=this['stack']['length']-0x1;if(_0xb08174<0x0){let _0x373548=_0xb92881<0x0?0x0:this['stack'][_0xb92881]+0x4;if(this['index']!=_0x373548)return this['yieldBuf'](_0x28ddd0['findChild'](_0x373548,this['index'],-0x1,0x0,0x4));}else{let _0xbc4667=_0x28ddd0['buffer'][this['index']+0x3];if(_0xbc4667<(_0xb92881<0x0?_0x28ddd0['buffer']['length']:_0x28ddd0['buffer'][this['stack'][_0xb92881]+0x3]))return this['yieldBuf'](_0xbc4667);}return _0xb92881<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0xb08174,_0xb08174,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x3c3b35){let _0x378e23,_0x41ebb8,{buffer:_0x39e888}=this;if(_0x39e888){if(_0x3c3b35>0x0){if(this['index']<_0x39e888['buffer']['buffer']['length'])return!0x1;}else{for(let _0x440fde=0x0;_0x440fde<this['index'];_0x440fde++)if(_0x39e888['buffer']['buffer'][_0x440fde+0x3]<this['index'])return!0x1;}({index:_0x378e23,parent:_0x41ebb8}=_0x39e888);}else({index:_0x378e23,_parent:_0x41ebb8}=this['_tree']);for(;_0x41ebb8;{index:_0x378e23,_parent:_0x41ebb8}=_0x41ebb8)if(_0x378e23>-0x1)for(let _0x30e533=_0x378e23+_0x3c3b35,_0x33fe22=_0x3c3b35<0x0?-0x1:_0x41ebb8['_tree']['children']['length'];_0x30e533!=_0x33fe22;_0x30e533+=_0x3c3b35){let _0x38727c=_0x41ebb8['_tree']['children'][_0x30e533];if(this['mode']&IterMode['IncludeAnonymous']||_0x38727c instanceof _0x42d51c||!_0x38727c['type']['isAnonymous']||_0x546f5a(_0x38727c))return!0x1;}return!0x0;}['move'](_0x2d681d,_0x4463ed){if(_0x4463ed&&this['enterChild'](_0x2d681d,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x2d681d))return!0x0;if(this['atLastNode'](_0x2d681d)||!this['parent']())return!0x1;}}['next'](_0x48273f=!0x0){return this['move'](0x1,_0x48273f);}['prev'](_0x3ba850=!0x0){return this['move'](-0x1,_0x3ba850);}['moveTo'](_0x5f05f4,_0x29ffe2=0x0){for(;(this['from']==this['to']||(_0x29ffe2<0x1?this['from']>=_0x5f05f4:this['from']>_0x5f05f4)||(_0x29ffe2>-0x1?this['to']<=_0x5f05f4:this['to']<_0x5f05f4))&&this['parent'](););for(;this['enterChild'](0x1,_0x5f05f4,_0x29ffe2););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x2f1125=this['bufferNode'],_0x510b98=null,_0x16421f=0x0;if(_0x2f1125&&_0x2f1125['context']==this['buffer']){t:for(let _0x470dde=this['index'],_0x5e37d3=this['stack']['length'];_0x5e37d3>=0x0;){for(let _0x47d78d=_0x2f1125;_0x47d78d;_0x47d78d=_0x47d78d['_parent'])if(_0x47d78d['index']==_0x470dde){if(_0x470dde==this['index'])return _0x47d78d;_0x510b98=_0x47d78d,_0x16421f=_0x5e37d3+0x1;break t;}_0x470dde=this['stack'][--_0x5e37d3];}}for(let _0x1b008a=_0x16421f;_0x1b008a<this['stack']['length'];_0x1b008a++)_0x510b98=new _0x176226(this['buffer'],_0x510b98,this['stack'][_0x1b008a]);return this['bufferNode']=new _0x176226(this['buffer'],_0x510b98,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x3ea1f5,_0x167a49){for(let _0x40ff8e=0x0;;){let _0x2511f6=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x3ea1f5(this)){if(this['firstChild']()){_0x40ff8e++;continue;}this['type']['isAnonymous']||(_0x2511f6=!0x0);}for(;;){if(_0x2511f6&&_0x167a49&&_0x167a49(this),_0x2511f6=this['type']['isAnonymous'],!_0x40ff8e)return;if(this['nextSibling']())break;this['parent'](),_0x40ff8e--,_0x2511f6=!0x0;}}}['matchContext'](_0x4f8485){if(!this['buffer'])return matchNodeContext(this['node']['parent'],_0x4f8485);let {buffer:_0x37226e}=this['buffer'],{types:_0xcc527e}=_0x37226e['set'];for(let _0x5a1cb9=_0x4f8485['length']-0x1,_0x1dc607=this['stack']['length']-0x1;_0x5a1cb9>=0x0;_0x1dc607--){if(_0x1dc607<0x0)return matchNodeContext(this['_tree'],_0x4f8485,_0x5a1cb9);let _0x29259b=_0xcc527e[_0x37226e['buffer'][this['stack'][_0x1dc607]]];if(!_0x29259b['isAnonymous']){if(_0x4f8485[_0x5a1cb9]&&_0x4f8485[_0x5a1cb9]!=_0x29259b['name'])return!0x1;_0x5a1cb9--;}}return!0x0;}}function _0x546f5a(_0x557b03){return _0x557b03['children']['some'](_0x3acf37=>_0x3acf37 instanceof _0x42d51c||!_0x3acf37['type']['isAnonymous']||_0x546f5a(_0x3acf37));}function _0x282aa7(_0x4d20d0){var _0x45b574;let {buffer:_0x386b62,nodeSet:_0x3180d1,maxBufferLength:_0x5494fd=DefaultBufferLength,reused:_0x195211=[],minRepeatType:_0xa9b564=_0x3180d1['types']['length']}=_0x4d20d0,_0x4eecf9=Array['isArray'](_0x386b62)?new FlatBufferCursor(_0x386b62,_0x386b62['length']):_0x386b62,_0x5a5691=_0x3180d1['types'],_0x21dead=0x0,_0x1909e3=0x0;function _0x317698(_0x15c665,_0x29eaae,_0x409b43,_0x153017,_0x2d40b3,_0x4c6a25){let {id:_0x26295a,start:_0x1a1528,end:_0x57e276,size:_0x30f812}=_0x4eecf9,_0x35f2c1=_0x1909e3,_0x1882fe=_0x21dead;if(_0x30f812<0x0){if(_0x4eecf9['next'](),-0x1==_0x30f812){let _0x4836bd=_0x195211[_0x26295a];return _0x409b43['push'](_0x4836bd),void _0x153017['push'](_0x1a1528-_0x15c665);}if(-0x3==_0x30f812)return void(_0x21dead=_0x26295a);if(-0x4==_0x30f812)return void(_0x1909e3=_0x26295a);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x30f812);}let _0x35c40b,_0x47ba15,_0x46e495=_0x5a5691[_0x26295a],_0x56dd25=_0x1a1528-_0x15c665;if(_0x57e276-_0x1a1528<=_0x5494fd&&(_0x47ba15=function(_0x5ca85c,_0x1b48ef){let _0xcea4bf=_0x4eecf9['fork'](),_0x4185d0=0x0,_0x1e5287=0x0,_0x1f0485=0x0,_0x54b53a=_0xcea4bf['end']-_0x5494fd,_0x402d7a={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x2e5733=_0xcea4bf['pos']-_0x5ca85c;_0xcea4bf['pos']>_0x2e5733;){let _0x37bad2=_0xcea4bf['size'];if(_0xcea4bf['id']==_0x1b48ef&&_0x37bad2>=0x0){_0x402d7a['size']=_0x4185d0,_0x402d7a['start']=_0x1e5287,_0x402d7a['skip']=_0x1f0485,_0x1f0485+=0x4,_0x4185d0+=0x4,_0xcea4bf['next']();continue;}let _0x2b512b=_0xcea4bf['pos']-_0x37bad2;if(_0x37bad2<0x0||_0x2b512b<_0x2e5733||_0xcea4bf['start']<_0x54b53a)break;let _0x1b036d=_0xcea4bf['id']>=_0xa9b564?0x4:0x0,_0x1d958a=_0xcea4bf['start'];for(_0xcea4bf['next']();_0xcea4bf['pos']>_0x2b512b;){if(_0xcea4bf['size']<0x0){if(-0x3!=_0xcea4bf['size'])break t;_0x1b036d+=0x4;}else _0xcea4bf['id']>=_0xa9b564&&(_0x1b036d+=0x4);_0xcea4bf['next']();}_0x1e5287=_0x1d958a,_0x4185d0+=_0x37bad2,_0x1f0485+=_0x1b036d;}return(_0x1b48ef<0x0||_0x4185d0==_0x5ca85c)&&(_0x402d7a['size']=_0x4185d0,_0x402d7a['start']=_0x1e5287,_0x402d7a['skip']=_0x1f0485),_0x402d7a['size']>0x4?_0x402d7a:void 0x0;}(_0x4eecf9['pos']-_0x29eaae,_0x2d40b3))){let _0x571407=new Uint16Array(_0x47ba15['size']-_0x47ba15['skip']),_0x4118a1=_0x4eecf9['pos']-_0x47ba15['size'],_0x202759=_0x571407['length'];for(;_0x4eecf9['pos']>_0x4118a1;)_0x202759=_0x500013(_0x47ba15['start'],_0x571407,_0x202759);_0x35c40b=new _0x42d51c(_0x571407,_0x57e276-_0x47ba15['start'],_0x3180d1),_0x56dd25=_0x47ba15['start']-_0x15c665;}else{let _0x1c23e4=_0x4eecf9['pos']-_0x30f812;_0x4eecf9['next']();let _0x4921d5=[],_0xcec6d3=[],_0x4431d6=_0x26295a>=_0xa9b564?_0x26295a:-0x1,_0x58d43b=0x0,_0x5adc60=_0x57e276;for(;_0x4eecf9['pos']>_0x1c23e4;)_0x4431d6>=0x0&&_0x4eecf9['id']==_0x4431d6&&_0x4eecf9['size']>=0x0?(_0x4eecf9['end']<=_0x5adc60-_0x5494fd&&(_0x38bc04(_0x4921d5,_0xcec6d3,_0x1a1528,_0x58d43b,_0x4eecf9['end'],_0x5adc60,_0x4431d6,_0x35f2c1,_0x1882fe),_0x58d43b=_0x4921d5['length'],_0x5adc60=_0x4eecf9['end']),_0x4eecf9['next']()):_0x4c6a25>0x9c4?_0x2d164e(_0x1a1528,_0x1c23e4,_0x4921d5,_0xcec6d3):_0x317698(_0x1a1528,_0x1c23e4,_0x4921d5,_0xcec6d3,_0x4431d6,_0x4c6a25+0x1);if(_0x4431d6>=0x0&&_0x58d43b>0x0&&_0x58d43b<_0x4921d5['length']&&_0x38bc04(_0x4921d5,_0xcec6d3,_0x1a1528,_0x58d43b,_0x1a1528,_0x5adc60,_0x4431d6,_0x35f2c1,_0x1882fe),_0x4921d5['reverse'](),_0xcec6d3['reverse'](),_0x4431d6>-0x1&&_0x58d43b>0x0){let _0x39ee0b=function(_0x3f1bb9,_0x13d92b){return(_0x540288,_0x1c88a5,_0x4529c4)=>{let _0x5cebef,_0x468a1a,_0x2d1dd8=0x0,_0x474444=_0x540288['length']-0x1;if(_0x474444>=0x0&&(_0x5cebef=_0x540288[_0x474444])instanceof _0x39ae63){if(!_0x474444&&_0x5cebef['type']==_0x3f1bb9&&_0x5cebef['length']==_0x4529c4)return _0x5cebef;(_0x468a1a=_0x5cebef['prop'](_0x323035['lookAhead']))&&(_0x2d1dd8=_0x1c88a5[_0x474444]+_0x5cebef['length']+_0x468a1a);}return _0x3394df(_0x3f1bb9,_0x540288,_0x1c88a5,_0x4529c4,_0x2d1dd8,_0x13d92b);};}(_0x46e495,_0x1882fe);_0x35c40b=_0x277312(_0x46e495,_0x4921d5,_0xcec6d3,0x0,_0x4921d5['length'],0x0,_0x57e276-_0x1a1528,_0x39ee0b,_0x39ee0b);}else _0x35c40b=_0x3394df(_0x46e495,_0x4921d5,_0xcec6d3,_0x57e276-_0x1a1528,_0x35f2c1-_0x57e276,_0x1882fe);}_0x409b43['push'](_0x35c40b),_0x153017['push'](_0x56dd25);}function _0x2d164e(_0x71b442,_0x53ac62,_0x3fa639,_0xada785){let _0xa7d4d=[],_0x2c23bc=0x0,_0x3607bc=-0x1;for(;_0x4eecf9['pos']>_0x53ac62;){let {id:_0x5e82ce,start:_0x1e2e2a,end:_0x4e123c,size:_0x25c1c5}=_0x4eecf9;if(_0x25c1c5>0x4)_0x4eecf9['next']();else{if(_0x3607bc>-0x1&&_0x1e2e2a<_0x3607bc)break;_0x3607bc<0x0&&(_0x3607bc=_0x4e123c-_0x5494fd),_0xa7d4d['push'](_0x5e82ce,_0x1e2e2a,_0x4e123c),_0x2c23bc++,_0x4eecf9['next']();}}if(_0x2c23bc){let _0x3b6e55=new Uint16Array(0x4*_0x2c23bc),_0x1d58dc=_0xa7d4d[_0xa7d4d['length']-0x2];for(let _0x307cd5=_0xa7d4d['length']-0x3,_0x2aa4f6=0x0;_0x307cd5>=0x0;_0x307cd5-=0x3)_0x3b6e55[_0x2aa4f6++]=_0xa7d4d[_0x307cd5],_0x3b6e55[_0x2aa4f6++]=_0xa7d4d[_0x307cd5+0x1]-_0x1d58dc,_0x3b6e55[_0x2aa4f6++]=_0xa7d4d[_0x307cd5+0x2]-_0x1d58dc,_0x3b6e55[_0x2aa4f6++]=_0x2aa4f6;_0x3fa639['push'](new _0x42d51c(_0x3b6e55,_0xa7d4d[0x2]-_0x1d58dc,_0x3180d1)),_0xada785['push'](_0x1d58dc-_0x71b442);}}function _0x38bc04(_0x492387,_0xa5e84c,_0x46070e,_0x3afcf4,_0x145587,_0x57768f,_0xe7f59e,_0x46922e,_0x441e04){let _0x220b9c=[],_0x35d8f3=[];for(;_0x492387['length']>_0x3afcf4;)_0x220b9c['push'](_0x492387['pop']()),_0x35d8f3['push'](_0xa5e84c['pop']()+_0x46070e-_0x145587);_0x492387['push'](_0x3394df(_0x3180d1['types'][_0xe7f59e],_0x220b9c,_0x35d8f3,_0x57768f-_0x145587,_0x46922e-_0x57768f,_0x441e04)),_0xa5e84c['push'](_0x145587-_0x46070e);}function _0x3394df(_0x293b01,_0x361a5d,_0x1e0565,_0x3b7a65,_0x35c3c7,_0x2b4c83,_0x6fc4e9){if(_0x2b4c83){let _0x272878=[_0x323035['contextHash'],_0x2b4c83];_0x6fc4e9=_0x6fc4e9?[_0x272878]['concat'](_0x6fc4e9):[_0x272878];}if(_0x35c3c7>0x19){let _0x1b22a4=[_0x323035['lookAhead'],_0x35c3c7];_0x6fc4e9=_0x6fc4e9?[_0x1b22a4]['concat'](_0x6fc4e9):[_0x1b22a4];}return new _0x39ae63(_0x293b01,_0x361a5d,_0x1e0565,_0x3b7a65,_0x6fc4e9);}function _0x500013(_0x5e2741,_0x2bd340,_0x25631d){let {id:_0x3046a9,start:_0x4fd824,end:_0x740cc4,size:_0x357564}=_0x4eecf9;if(_0x4eecf9['next'](),_0x357564>=0x0&&_0x3046a9<_0xa9b564){let _0x321e94=_0x25631d;if(_0x357564>0x4){let _0xf2b461=_0x4eecf9['pos']-(_0x357564-0x4);for(;_0x4eecf9['pos']>_0xf2b461;)_0x25631d=_0x500013(_0x5e2741,_0x2bd340,_0x25631d);}_0x2bd340[--_0x25631d]=_0x321e94,_0x2bd340[--_0x25631d]=_0x740cc4-_0x5e2741,_0x2bd340[--_0x25631d]=_0x4fd824-_0x5e2741,_0x2bd340[--_0x25631d]=_0x3046a9;}else-0x3==_0x357564?_0x21dead=_0x3046a9:-0x4==_0x357564&&(_0x1909e3=_0x3046a9);return _0x25631d;}let _0x366725=[],_0x4e2081=[];for(;_0x4eecf9['pos']>0x0;)_0x317698(_0x4d20d0['start']||0x0,_0x4d20d0['bufferStart']||0x0,_0x366725,_0x4e2081,-0x1,0x0);let _0x24457c=null!==(_0x45b574=_0x4d20d0['length'])&&void 0x0!==_0x45b574?_0x45b574:_0x366725['length']?_0x4e2081[0x0]+_0x366725[0x0]['length']:0x0;return new _0x39ae63(_0x5a5691[_0x4d20d0['topID']],_0x366725['reverse'](),_0x4e2081['reverse'](),_0x24457c);}const _0x4838a1=new WeakMap();function _0xe38e4e(_0x1a543a,_0x1c5397){if(!_0x1a543a['isAnonymous']||_0x1c5397 instanceof _0x42d51c||_0x1c5397['type']!=_0x1a543a)return 0x1;let _0x27bb81=_0x4838a1['get'](_0x1c5397);if(null==_0x27bb81){_0x27bb81=0x1;for(let _0x2461b0 of _0x1c5397['children']){if(_0x2461b0['type']!=_0x1a543a||!(_0x2461b0 instanceof _0x39ae63)){_0x27bb81=0x1;break;}_0x27bb81+=_0xe38e4e(_0x1a543a,_0x2461b0);}_0x4838a1['set'](_0x1c5397,_0x27bb81);}return _0x27bb81;}function _0x277312(_0x1d9c48,_0x336aeb,_0x1e1302,_0x289779,_0x51b8e1,_0x5ed22e,_0x11a7ec,_0x50748f,_0x2c51a1){let _0x449eb2=0x0;for(let _0xc1e091=_0x289779;_0xc1e091<_0x51b8e1;_0xc1e091++)_0x449eb2+=_0xe38e4e(_0x1d9c48,_0x336aeb[_0xc1e091]);let _0x42ee74=Math['ceil'](1.5*_0x449eb2/0x8),_0x191bb4=[],_0x44bfef=[];return function _0xf4224d(_0x1ea923,_0x54d309,_0x1bddf8,_0x36f307,_0x1a2b37){for(let _0x5339ea=_0x1bddf8;_0x5339ea<_0x36f307;){let _0x5868b9=_0x5339ea,_0x146d03=_0x54d309[_0x5339ea],_0x8b88b4=_0xe38e4e(_0x1d9c48,_0x1ea923[_0x5339ea]);for(_0x5339ea++;_0x5339ea<_0x36f307;_0x5339ea++){let _0x5315d0=_0xe38e4e(_0x1d9c48,_0x1ea923[_0x5339ea]);if(_0x8b88b4+_0x5315d0>=_0x42ee74)break;_0x8b88b4+=_0x5315d0;}if(_0x5339ea==_0x5868b9+0x1){if(_0x8b88b4>_0x42ee74){let _0x1f8c96=_0x1ea923[_0x5868b9];_0xf4224d(_0x1f8c96['children'],_0x1f8c96['positions'],0x0,_0x1f8c96['children']['length'],_0x54d309[_0x5868b9]+_0x1a2b37);continue;}_0x191bb4['push'](_0x1ea923[_0x5868b9]);}else{let _0x56cab5=_0x54d309[_0x5339ea-0x1]+_0x1ea923[_0x5339ea-0x1]['length']-_0x146d03;_0x191bb4['push'](_0x277312(_0x1d9c48,_0x1ea923,_0x54d309,_0x5868b9,_0x5339ea,_0x146d03,_0x56cab5,null,_0x2c51a1));}_0x44bfef['push'](_0x146d03+_0x1a2b37-_0x5ed22e);}}(_0x336aeb,_0x1e1302,_0x289779,_0x51b8e1,0x0),(_0x50748f||_0x2c51a1)(_0x191bb4,_0x44bfef,_0x11a7ec);}class _0x244577{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x18a01e,_0x45c2df,_0x5d1b94){let _0x8faaee=this['map']['get'](_0x18a01e);_0x8faaee||this['map']['set'](_0x18a01e,_0x8faaee=new Map()),_0x8faaee['set'](_0x45c2df,_0x5d1b94);}['getBuffer'](_0x31c98e,_0x56128b){let _0x74d281=this['map']['get'](_0x31c98e);return _0x74d281&&_0x74d281['get'](_0x56128b);}['set'](_0x1187d5,_0x2c58a3){_0x1187d5 instanceof _0x176226?this['setBuffer'](_0x1187d5['context']['buffer'],_0x1187d5['index'],_0x2c58a3):_0x1187d5 instanceof _0x246bfe&&this['map']['set'](_0x1187d5['tree'],_0x2c58a3);}['get'](_0x2c8492){return _0x2c8492 instanceof _0x176226?this['getBuffer'](_0x2c8492['context']['buffer'],_0x2c8492['index']):_0x2c8492 instanceof _0x246bfe?this['map']['get'](_0x2c8492['tree']):void 0x0;}['cursorSet'](_0x14dde1,_0xd5bea6){_0x14dde1['buffer']?this['setBuffer'](_0x14dde1['buffer']['buffer'],_0x14dde1['index'],_0xd5bea6):this['map']['set'](_0x14dde1['tree'],_0xd5bea6);}['cursorGet'](_0x2722dc){return _0x2722dc['buffer']?this['getBuffer'](_0x2722dc['buffer']['buffer'],_0x2722dc['index']):this['map']['get'](_0x2722dc['tree']);}}class TreeFragment{constructor(_0x5ed64b,_0x2811ce,_0x2c1011,_0xd322c2,_0x234709=!0x1,_0x34d24c=!0x1){this['from']=_0x5ed64b,this['to']=_0x2811ce,this['tree']=_0x2c1011,this['offset']=_0xd322c2,this['open']=(_0x234709?0x1:0x0)|(_0x34d24c?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x1e643a,_0x14f009=[],_0x5e71d6=!0x1){let _0x3b61fb=[new TreeFragment(0x0,_0x1e643a['length'],_0x1e643a,0x0,!0x1,_0x5e71d6)];for(let _0x5c39c3 of _0x14f009)_0x5c39c3['to']>_0x1e643a['length']&&_0x3b61fb['push'](_0x5c39c3);return _0x3b61fb;}static['applyChanges'](_0x23521a,_0x3ec14c,_0x39e7e5=0x80){if(!_0x3ec14c['length'])return _0x23521a;let _0x22961f=[],_0x26696c=0x1,_0x3f0f7c=_0x23521a['length']?_0x23521a[0x0]:null;for(let _0x2d2bff=0x0,_0x3caf56=0x0,_0x461d42=0x0;;_0x2d2bff++){let _0x3259ae=_0x2d2bff<_0x3ec14c['length']?_0x3ec14c[_0x2d2bff]:null,_0x2d4bea=_0x3259ae?_0x3259ae['fromA']:0x3b9aca00;if(_0x2d4bea-_0x3caf56>=_0x39e7e5)for(;_0x3f0f7c&&_0x3f0f7c['from']<_0x2d4bea;){let _0x59ac2c=_0x3f0f7c;if(_0x3caf56>=_0x59ac2c['from']||_0x2d4bea<=_0x59ac2c['to']||_0x461d42){let _0x19148c=Math['max'](_0x59ac2c['from'],_0x3caf56)-_0x461d42,_0x1ad315=Math['min'](_0x59ac2c['to'],_0x2d4bea)-_0x461d42;_0x59ac2c=_0x19148c>=_0x1ad315?null:new TreeFragment(_0x19148c,_0x1ad315,_0x59ac2c['tree'],_0x59ac2c['offset']+_0x461d42,_0x2d2bff>0x0,!!_0x3259ae);}if(_0x59ac2c&&_0x22961f['push'](_0x59ac2c),_0x3f0f7c['to']>_0x2d4bea)break;_0x3f0f7c=_0x26696c<_0x23521a['length']?_0x23521a[_0x26696c++]:null;}if(!_0x3259ae)break;_0x3caf56=_0x3259ae['toA'],_0x461d42=_0x3259ae['toA']-_0x3259ae['toB'];}return _0x22961f;}}class _0x2362af{['startParse'](_0x286674,_0x91208f,_0x2c26a8){return'string'==typeof _0x286674&&(_0x286674=new StringInput(_0x286674)),_0x2c26a8=_0x2c26a8?_0x2c26a8['length']?_0x2c26a8['map'](_0x32c9f3=>new _0x385874(_0x32c9f3['from'],_0x32c9f3['to'])):[new _0x385874(0x0,0x0)]:[new _0x385874(0x0,_0x286674['length'])],this['createParse'](_0x286674,_0x91208f||[],_0x2c26a8);}['parse'](_0x170d96,_0x9c5849,_0x1deee3){let _0x711b9e=this['startParse'](_0x170d96,_0x9c5849,_0x1deee3);for(;;){let _0x2741a7=_0x711b9e['advance']();if(_0x2741a7)return _0x2741a7;}}}class StringInput{constructor(_0x469092){this['string']=_0x469092;}get['length'](){return this['string']['length'];}['chunk'](_0x311c29){return this['string']['slice'](_0x311c29);}get['lineChunks'](){return!0x1;}['read'](_0x10c072,_0x1dc3d3){return this['string']['slice'](_0x10c072,_0x1dc3d3);}}function _0x26b8f1(_0x338ea5){return(_0x1de8b6,_0x1dbfe5,_0x59b7b8,_0x5c9fb5)=>new _0x441a5b(_0x1de8b6,_0x338ea5,_0x1dbfe5,_0x59b7b8,_0x5c9fb5);}class _0x4c3625{constructor(_0x2878ec,_0x2f87a3,_0x493e5f,_0x464afc,_0x9bcc77){this['parser']=_0x2878ec,this['parse']=_0x2f87a3,this['overlay']=_0x493e5f,this['target']=_0x464afc,this['from']=_0x9bcc77;}}function _0x2cc7df(_0x1bb3db){if(!_0x1bb3db['length']||_0x1bb3db['some'](_0x34e70c=>_0x34e70c['from']>=_0x34e70c['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x1bb3db));}class ActiveOverlay{constructor(_0x14f335,_0x1f2dd2,_0x311af9,_0x17ecc5,_0x43b544,_0x13c2db,_0x3426d3){this['parser']=_0x14f335,this['predicate']=_0x1f2dd2,this['mounts']=_0x311af9,this['index']=_0x17ecc5,this['start']=_0x43b544,this['target']=_0x13c2db,this['prev']=_0x3426d3,this['depth']=0x0,this['ranges']=[];}}const stoppedInner=new _0x323035({'perNode':!0x0});class _0x441a5b{constructor(_0x449d34,_0x46351e,_0x496363,_0x17477c,_0x54b3f9){this['nest']=_0x46351e,this['input']=_0x496363,this['fragments']=_0x17477c,this['ranges']=_0x54b3f9,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x449d34;}['advance'](){if(this['baseParse']){let _0x431eee=this['baseParse']['advance']();if(!_0x431eee)return null;if(this['baseParse']=null,this['baseTree']=_0x431eee,this['startInner'](),null!=this['stoppedAt']){for(let _0x4fd70d of this['inner'])_0x4fd70d['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x5d5a43=this['baseTree'];return null!=this['stoppedAt']&&(_0x5d5a43=new _0x39ae63(_0x5d5a43['type'],_0x5d5a43['children'],_0x5d5a43['positions'],_0x5d5a43['length'],_0x5d5a43['propValues']['concat']([[stoppedInner,this['stoppedAt']]]))),_0x5d5a43;}let _0x5b24fc=this['inner'][this['innerDone']],_0x14bf24=_0x5b24fc['parse']['advance']();if(_0x14bf24){this['innerDone']++;let _0x5c632f=Object['assign'](Object['create'](null),_0x5b24fc['target']['props']);_0x5c632f[_0x323035['mounted']['id']]=new MountedTree(_0x14bf24,_0x5b24fc['overlay'],_0x5b24fc['parser']),_0x5b24fc['target']['props']=_0x5c632f;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x5c1128=this['input']['length'];for(let _0x4c05c6=this['innerDone'];_0x4c05c6<this['inner']['length'];_0x4c05c6++)this['inner'][_0x4c05c6]['from']<_0x5c1128&&(_0x5c1128=Math['min'](_0x5c1128,this['inner'][_0x4c05c6]['parse']['parsedPos']));return _0x5c1128;}['stopAt'](_0x46411d){if(this['stoppedAt']=_0x46411d,this['baseParse'])this['baseParse']['stopAt'](_0x46411d);else{for(let _0x16c9e5=this['innerDone'];_0x16c9e5<this['inner']['length'];_0x16c9e5++)this['inner'][_0x16c9e5]['parse']['stopAt'](_0x46411d);}}['startInner'](){let _0x1c4b77=new FragmentCursor$2(this['fragments']),_0x2b1cab=null,_0x409bc7=null,_0x26fe05=new _0x339fd1(new _0x246bfe(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);t:for(let _0x45b861,_0x196631;;){let _0x502364,_0x30346b=!0x0;if(null!=this['stoppedAt']&&_0x26fe05['from']>=this['stoppedAt'])_0x30346b=!0x1;else{if(_0x1c4b77['hasNode'](_0x26fe05)){if(_0x2b1cab){let _0x5547f7=_0x2b1cab['mounts']['find'](_0x291058=>_0x291058['frag']['from']<=_0x26fe05['from']&&_0x291058['frag']['to']>=_0x26fe05['to']&&_0x291058['mount']['overlay']);if(_0x5547f7)for(let _0xf2ad7a of _0x5547f7['mount']['overlay']){let _0x19e24c=_0xf2ad7a['from']+_0x5547f7['pos'],_0x3bb4c4=_0xf2ad7a['to']+_0x5547f7['pos'];_0x19e24c>=_0x26fe05['from']&&_0x3bb4c4<=_0x26fe05['to']&&!_0x2b1cab['ranges']['some'](_0x54fc7a=>_0x54fc7a['from']<_0x3bb4c4&&_0x54fc7a['to']>_0x19e24c)&&_0x2b1cab['ranges']['push']({'from':_0x19e24c,'to':_0x3bb4c4});}}_0x30346b=!0x1;}else{if(_0x409bc7&&(_0x196631=_0x175179(_0x409bc7['ranges'],_0x26fe05['from'],_0x26fe05['to'])))_0x30346b=0x2!=_0x196631;else{if(!_0x26fe05['type']['isAnonymous']&&(_0x45b861=this['nest'](_0x26fe05,this['input']))&&(_0x26fe05['from']<_0x26fe05['to']||!_0x45b861['overlay'])){_0x26fe05['tree']||(materialize(_0x26fe05),_0x2b1cab&&_0x2b1cab['depth']++,_0x409bc7&&_0x409bc7['depth']++);let _0x2d0e92=_0x1c4b77['findMounts'](_0x26fe05['from'],_0x45b861['parser']);if('function'==typeof _0x45b861['overlay'])_0x2b1cab=new ActiveOverlay(_0x45b861['parser'],_0x45b861['overlay'],_0x2d0e92,this['inner']['length'],_0x26fe05['from'],_0x26fe05['tree'],_0x2b1cab);else{let _0x2b8026=_0x3d4a48(this['ranges'],_0x45b861['overlay']||(_0x26fe05['from']<_0x26fe05['to']?[new _0x385874(_0x26fe05['from'],_0x26fe05['to'])]:[]));_0x2b8026['length']&&_0x2cc7df(_0x2b8026),!_0x2b8026['length']&&_0x45b861['overlay']||this['inner']['push'](new _0x4c3625(_0x45b861['parser'],_0x2b8026['length']?_0x45b861['parser']['startParse'](this['input'],enterFragments(_0x2d0e92,_0x2b8026),_0x2b8026):_0x45b861['parser']['startParse'](''),_0x45b861['overlay']?_0x45b861['overlay']['map'](_0x450f3a=>new _0x385874(_0x450f3a['from']-_0x26fe05['from'],_0x450f3a['to']-_0x26fe05['from'])):null,_0x26fe05['tree'],_0x2b8026['length']?_0x2b8026[0x0]['from']:_0x26fe05['from'])),_0x45b861['overlay']?_0x2b8026['length']&&(_0x409bc7={'ranges':_0x2b8026,'depth':0x0,'prev':_0x409bc7}):_0x30346b=!0x1;}}else{if(_0x2b1cab&&(_0x502364=_0x2b1cab['predicate'](_0x26fe05))&&(!0x0===_0x502364&&(_0x502364=new _0x385874(_0x26fe05['from'],_0x26fe05['to'])),_0x502364['from']<_0x502364['to'])){let _0x2b546b=_0x2b1cab['ranges']['length']-0x1;_0x2b546b>=0x0&&_0x2b1cab['ranges'][_0x2b546b]['to']==_0x502364['from']?_0x2b1cab['ranges'][_0x2b546b]={'from':_0x2b1cab['ranges'][_0x2b546b]['from'],'to':_0x502364['to']}:_0x2b1cab['ranges']['push'](_0x502364);}}}}}if(_0x30346b&&_0x26fe05['firstChild']())_0x2b1cab&&_0x2b1cab['depth']++,_0x409bc7&&_0x409bc7['depth']++;else for(;!_0x26fe05['nextSibling']();){if(!_0x26fe05['parent']())break t;if(_0x2b1cab&&!--_0x2b1cab['depth']){let _0x5eb626=_0x3d4a48(this['ranges'],_0x2b1cab['ranges']);_0x5eb626['length']&&(_0x2cc7df(_0x5eb626),this['inner']['splice'](_0x2b1cab['index'],0x0,new _0x4c3625(_0x2b1cab['parser'],_0x2b1cab['parser']['startParse'](this['input'],enterFragments(_0x2b1cab['mounts'],_0x5eb626),_0x5eb626),_0x2b1cab['ranges']['map'](_0x34fbda=>new _0x385874(_0x34fbda['from']-_0x2b1cab['start'],_0x34fbda['to']-_0x2b1cab['start'])),_0x2b1cab['target'],_0x5eb626[0x0]['from']))),_0x2b1cab=_0x2b1cab['prev'];}_0x409bc7&&!--_0x409bc7['depth']&&(_0x409bc7=_0x409bc7['prev']);}}}}function _0x175179(_0x4db849,_0x55462d,_0x186f22){for(let _0x45143e of _0x4db849){if(_0x45143e['from']>=_0x186f22)break;if(_0x45143e['to']>_0x55462d)return _0x45143e['from']<=_0x55462d&&_0x45143e['to']>=_0x186f22?0x2:0x1;}return 0x0;}function _0x4354e8(_0x53dda9,_0x175994,_0x4f2bf7,_0x6dbbf3,_0x2995e1,_0x4684d3){if(_0x175994<_0x4f2bf7){let _0x324f64=_0x53dda9['buffer'][_0x175994+0x1];_0x6dbbf3['push'](_0x53dda9['slice'](_0x175994,_0x4f2bf7,_0x324f64)),_0x2995e1['push'](_0x324f64-_0x4684d3);}}function materialize(_0x4708a3){let {node:_0x44a208}=_0x4708a3,_0x521e37=[],_0x5c53c6=_0x44a208['context']['buffer'];do{_0x521e37['push'](_0x4708a3['index']),_0x4708a3['parent']();}while(!_0x4708a3['tree']);let _0x2a2cc1=_0x4708a3['tree'],_0x12ab9f=_0x2a2cc1['children']['indexOf'](_0x5c53c6),_0x26ddd2=_0x2a2cc1['children'][_0x12ab9f],_0x1f6941=_0x26ddd2['buffer'],_0x964f46=[_0x12ab9f];_0x2a2cc1['children'][_0x12ab9f]=function _0x7b6b47(_0x400063,_0x52b774,_0x3fb12a,_0x3f3a93,_0x10fdbf,_0x25d3dd){let _0x29531e=_0x521e37[_0x25d3dd],_0x179a8e=[],_0xfa1331=[];_0x4354e8(_0x26ddd2,_0x400063,_0x29531e,_0x179a8e,_0xfa1331,_0x3f3a93);let _0x2dfeea=_0x1f6941[_0x29531e+0x1],_0xcb5cb2=_0x1f6941[_0x29531e+0x2];_0x964f46['push'](_0x179a8e['length']);let _0x403e6f=_0x25d3dd?_0x7b6b47(_0x29531e+0x4,_0x1f6941[_0x29531e+0x3],_0x26ddd2['set']['types'][_0x1f6941[_0x29531e]],_0x2dfeea,_0xcb5cb2-_0x2dfeea,_0x25d3dd-0x1):_0x44a208['toTree']();return _0x179a8e['push'](_0x403e6f),_0xfa1331['push'](_0x2dfeea-_0x3f3a93),_0x4354e8(_0x26ddd2,_0x1f6941[_0x29531e+0x3],_0x52b774,_0x179a8e,_0xfa1331,_0x3f3a93),new _0x39ae63(_0x3fb12a,_0x179a8e,_0xfa1331,_0x10fdbf);}(0x0,_0x1f6941['length'],_0xcfe90f['none'],0x0,_0x26ddd2['length'],_0x521e37['length']-0x1);for(let _0x58665e of _0x964f46){let _0x3c6ae5=_0x4708a3['tree']['children'][_0x58665e],_0x2bbb37=_0x4708a3['tree']['positions'][_0x58665e];_0x4708a3['yield'](new _0x246bfe(_0x3c6ae5,_0x2bbb37+_0x4708a3['from'],_0x58665e,_0x4708a3['_tree']));}}class StructureCursor{constructor(_0x1f524f,_0x461ae0){this['offset']=_0x461ae0,this['done']=!0x1,this['cursor']=_0x1f524f['cursor'](IterMode['IncludeAnonymous']|IterMode['IgnoreMounts']);}['moveTo'](_0x5e4385){let {cursor:_0xa2b1d1}=this,_0x14d4aa=_0x5e4385-this['offset'];for(;!this['done']&&_0xa2b1d1['from']<_0x14d4aa;)_0xa2b1d1['to']>=_0x5e4385&&_0xa2b1d1['enter'](_0x14d4aa,0x1,IterMode['IgnoreOverlays']|IterMode['ExcludeBuffers'])||_0xa2b1d1['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x4a7275){if(this['moveTo'](_0x4a7275['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x4a7275['from']&&this['cursor']['tree'])for(let _0x352795=this['cursor']['tree'];;){if(_0x352795==_0x4a7275['tree'])return!0x0;if(!(_0x352795['children']['length']&&0x0==_0x352795['positions'][0x0]&&_0x352795['children'][0x0]instanceof _0x39ae63))break;_0x352795=_0x352795['children'][0x0];}return!0x1;}}let FragmentCursor$2=class{constructor(_0x344414){var _0xf82e08;if(this['fragments']=_0x344414,this['curTo']=0x0,this['fragI']=0x0,_0x344414['length']){let _0x5706eb=this['curFrag']=_0x344414[0x0];this['curTo']=null!==(_0xf82e08=_0x5706eb['tree']['prop'](stoppedInner))&&void 0x0!==_0xf82e08?_0xf82e08:_0x5706eb['to'],this['inner']=new StructureCursor(_0x5706eb['tree'],-_0x5706eb['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x393d1d){for(;this['curFrag']&&_0x393d1d['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x393d1d['from']&&this['curTo']>=_0x393d1d['to']&&this['inner']['hasNode'](_0x393d1d);}['nextFrag'](){var _0x590542;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x16d967=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x590542=_0x16d967['tree']['prop'](stoppedInner))&&void 0x0!==_0x590542?_0x590542:_0x16d967['to'],this['inner']=new StructureCursor(_0x16d967['tree'],-_0x16d967['offset']);}}['findMounts'](_0x295495,_0x2cce3d){var _0x35bba2;let _0x53b054=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x295495,0x1);for(let _0x227d5b=this['inner']['cursor']['node'];_0x227d5b;_0x227d5b=_0x227d5b['parent']){let _0x57c16c=null===(_0x35bba2=_0x227d5b['tree'])||void 0x0===_0x35bba2?void 0x0:_0x35bba2['prop'](_0x323035['mounted']);if(_0x57c16c&&_0x57c16c['parser']==_0x2cce3d)for(let _0x4f7be6=this['fragI'];_0x4f7be6<this['fragments']['length'];_0x4f7be6++){let _0x155dea=this['fragments'][_0x4f7be6];if(_0x155dea['from']>=_0x227d5b['to'])break;_0x155dea['tree']==this['curFrag']['tree']&&_0x53b054['push']({'frag':_0x155dea,'pos':_0x227d5b['from']-_0x155dea['offset'],'mount':_0x57c16c});}}}return _0x53b054;}};function _0x3d4a48(_0x5dd006,_0x3594f8){let _0x1c604e=null,_0x5d582a=_0x3594f8;for(let _0x139759=0x1,_0x4f36b9=0x0;_0x139759<_0x5dd006['length'];_0x139759++){let _0x27d23c=_0x5dd006[_0x139759-0x1]['to'],_0x3baa56=_0x5dd006[_0x139759]['from'];for(;_0x4f36b9<_0x5d582a['length'];_0x4f36b9++){let _0x19f6e0=_0x5d582a[_0x4f36b9];if(_0x19f6e0['from']>=_0x3baa56)break;_0x19f6e0['to']<=_0x27d23c||(_0x1c604e||(_0x5d582a=_0x1c604e=_0x3594f8['slice']()),_0x19f6e0['from']<_0x27d23c?(_0x1c604e[_0x4f36b9]=new _0x385874(_0x19f6e0['from'],_0x27d23c),_0x19f6e0['to']>_0x3baa56&&_0x1c604e['splice'](_0x4f36b9+0x1,0x0,new _0x385874(_0x3baa56,_0x19f6e0['to']))):_0x19f6e0['to']>_0x3baa56?_0x1c604e[_0x4f36b9--]=new _0x385874(_0x3baa56,_0x19f6e0['to']):_0x1c604e['splice'](_0x4f36b9--,0x1));}}return _0x5d582a;}function _0x1bc7fc(_0x250fd0,_0x1d3b11,_0x2c1770,_0x2dfc61){let _0x3d189f=0x0,_0x242f7b=0x0,_0x20aceb=!0x1,_0x1f23c5=!0x1,_0x17be27=-0x3b9aca00,_0x28b428=[];for(;;){let _0x54a5c0=_0x3d189f==_0x250fd0['length']?0x3b9aca00:_0x20aceb?_0x250fd0[_0x3d189f]['to']:_0x250fd0[_0x3d189f]['from'],_0xcb32dd=_0x242f7b==_0x1d3b11['length']?0x3b9aca00:_0x1f23c5?_0x1d3b11[_0x242f7b]['to']:_0x1d3b11[_0x242f7b]['from'];if(_0x20aceb!=_0x1f23c5){let _0x27d293=Math['max'](_0x17be27,_0x2c1770),_0x17c956=Math['min'](_0x54a5c0,_0xcb32dd,_0x2dfc61);_0x27d293<_0x17c956&&_0x28b428['push'](new _0x385874(_0x27d293,_0x17c956));}if(_0x17be27=Math['min'](_0x54a5c0,_0xcb32dd),0x3b9aca00==_0x17be27)break;_0x54a5c0==_0x17be27&&(_0x20aceb?(_0x20aceb=!0x1,_0x3d189f++):_0x20aceb=!0x0),_0xcb32dd==_0x17be27&&(_0x1f23c5?(_0x1f23c5=!0x1,_0x242f7b++):_0x1f23c5=!0x0);}return _0x28b428;}function enterFragments(_0x37a9e2,_0x10aea4){let _0x3fd5ac=[];for(let {pos:_0x24f06f,mount:_0x31085a,frag:_0x554c20}of _0x37a9e2){let _0x3131f0=_0x24f06f+(_0x31085a['overlay']?_0x31085a['overlay'][0x0]['from']:0x0),_0x5b8f2e=_0x3131f0+_0x31085a['tree']['length'],_0x5910c3=Math['max'](_0x554c20['from'],_0x3131f0),_0x1ebe42=Math['min'](_0x554c20['to'],_0x5b8f2e);if(_0x31085a['overlay']){let _0x5f5676=_0x31085a['overlay']['map'](_0x1afaa8=>new _0x385874(_0x1afaa8['from']+_0x24f06f,_0x1afaa8['to']+_0x24f06f)),_0x12993a=_0x1bc7fc(_0x10aea4,_0x5f5676,_0x5910c3,_0x1ebe42);for(let _0x4a89a1=0x0,_0x4b2522=_0x5910c3;;_0x4a89a1++){let _0x4ad6b7=_0x4a89a1==_0x12993a['length'],_0x2d4649=_0x4ad6b7?_0x1ebe42:_0x12993a[_0x4a89a1]['from'];if(_0x2d4649>_0x4b2522&&_0x3fd5ac['push'](new TreeFragment(_0x4b2522,_0x2d4649,_0x31085a['tree'],-_0x3131f0,_0x554c20['from']>=_0x4b2522||_0x554c20['openStart'],_0x554c20['to']<=_0x2d4649||_0x554c20['openEnd'])),_0x4ad6b7)break;_0x4b2522=_0x12993a[_0x4a89a1]['to'];}}else _0x3fd5ac['push'](new TreeFragment(_0x5910c3,_0x1ebe42,_0x31085a['tree'],-_0x3131f0,_0x554c20['from']>=_0x3131f0||_0x554c20['openStart'],_0x554c20['to']<=_0x5b8f2e||_0x554c20['openEnd']));}return _0x3fd5ac;}let nextTagID=0x0;class _0xac07ae{constructor(_0x456e6e,_0x238560,_0x5cc141,_0x25f764){this['name']=_0x456e6e,this['set']=_0x238560,this['base']=_0x5cc141,this['modified']=_0x25f764,this['id']=nextTagID++;}['toString'](){let {name:_0x4c3283}=this;for(let _0x49ab64 of this['modified'])_0x49ab64['name']&&(_0x4c3283=_0x49ab64['name']+'('+_0x4c3283+')');return _0x4c3283;}static['define'](_0x1c149c,_0x132de5){let _0x576e6f='string'==typeof _0x1c149c?_0x1c149c:'?';if(_0x1c149c instanceof _0xac07ae&&(_0x132de5=_0x1c149c),null==_0x132de5?void 0x0:_0x132de5['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x5a1356=new _0xac07ae(_0x576e6f,[],null,[]);if(_0x5a1356['set']['push'](_0x5a1356),_0x132de5){for(let t of _0x132de5['set'])_0x5a1356['set']['push'](t);}return _0x5a1356;}static['defineModifier'](_0x449cd6){let _0x345f0f=new _0x529761(_0x449cd6);return _0x52e3d0=>_0x52e3d0['modified']['indexOf'](_0x345f0f)>-0x1?_0x52e3d0:_0x529761['get'](_0x52e3d0['base']||_0x52e3d0,_0x52e3d0['modified']['concat'](_0x345f0f)['sort']((_0x1848a1,_0x5df74a)=>_0x1848a1['id']-_0x5df74a['id']));}}let nextModifierID=0x0;class _0x529761{constructor(_0x44e1ed){this['name']=_0x44e1ed,this['instances']=[],this['id']=nextModifierID++;}static['get'](_0x26b824,_0x575a32){if(!_0x575a32['length'])return _0x26b824;let _0x515de3=_0x575a32[0x0]['instances']['find'](t=>t['base']==_0x26b824&&_0x3320d8(_0x575a32,t['modified']));if(_0x515de3)return _0x515de3;let _0x2443a2=[],_0x1a2b72=new _0xac07ae(_0x26b824['name'],_0x2443a2,_0x26b824,_0x575a32);for(let _0x489352 of _0x575a32)_0x489352['instances']['push'](_0x1a2b72);let _0x147acc=powerSet(_0x575a32);for(let _0x166517 of _0x26b824['set'])if(!_0x166517['modified']['length']){for(let _0x48014a of _0x147acc)_0x2443a2['push'](_0x529761['get'](_0x166517,_0x48014a));}return _0x1a2b72;}}function _0x3320d8(_0x59ceff,_0x4dee50){return _0x59ceff['length']==_0x4dee50['length']&&_0x59ceff['every']((_0x1bb69b,_0x3eaf51)=>_0x1bb69b==_0x4dee50[_0x3eaf51]);}function powerSet(_0x15eba6){let _0x54c2f1=[[]];for(let _0x5e68c8=0x0;_0x5e68c8<_0x15eba6['length'];_0x5e68c8++)for(let _0x3739d8=0x0,_0x2d2d3e=_0x54c2f1['length'];_0x3739d8<_0x2d2d3e;_0x3739d8++)_0x54c2f1['push'](_0x54c2f1[_0x3739d8]['concat'](_0x15eba6[_0x5e68c8]));return _0x54c2f1['sort']((_0x483bc9,_0x30302e)=>_0x30302e['length']-_0x483bc9['length']);}function styleTags(_0x2ee940){let _0xaedc17=Object['create'](null);for(let _0x1f097c in _0x2ee940){let _0x376ca8=_0x2ee940[_0x1f097c];Array['isArray'](_0x376ca8)||(_0x376ca8=[_0x376ca8]);for(let _0x5f5254 of _0x1f097c['split']('\x20'))if(_0x5f5254){let _0x1f1aef=[],_0x2f8435=0x2,_0x4c328=_0x5f5254;for(let _0x53fa13=0x0;;){if('...'==_0x4c328&&_0x53fa13>0x0&&_0x53fa13+0x3==_0x5f5254['length']){_0x2f8435=0x1;break;}let _0x328450=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x4c328);if(!_0x328450)throw new RangeError('Invalid\x20path:\x20'+_0x5f5254);if(_0x1f1aef['push']('*'==_0x328450[0x0]?'':'\x22'==_0x328450[0x0][0x0]?JSON['parse'](_0x328450[0x0]):_0x328450[0x0]),_0x53fa13+=_0x328450[0x0]['length'],_0x53fa13==_0x5f5254['length'])break;let _0x5bbb61=_0x5f5254[_0x53fa13++];if(_0x53fa13==_0x5f5254['length']&&'!'==_0x5bbb61){_0x2f8435=0x0;break;}if('/'!=_0x5bbb61)throw new RangeError('Invalid\x20path:\x20'+_0x5f5254);_0x4c328=_0x5f5254['slice'](_0x53fa13);}let _0x10ad43=_0x1f1aef['length']-0x1,_0x5ea141=_0x1f1aef[_0x10ad43];if(!_0x5ea141)throw new RangeError('Invalid\x20path:\x20'+_0x5f5254);let _0x569aa8=new _0x3f0634(_0x376ca8,_0x2f8435,_0x10ad43>0x0?_0x1f1aef['slice'](0x0,_0x10ad43):null);_0xaedc17[_0x5ea141]=_0x569aa8['sort'](_0xaedc17[_0x5ea141]);}}return _0x128d3c['add'](_0xaedc17);}const _0x128d3c=new _0x323035({'combine'(_0x3cbcba,_0x1ce943){let _0x3c9a33,_0x32951c,_0x587bc1;for(;_0x3cbcba||_0x1ce943;){if(!_0x3cbcba||_0x1ce943&&_0x3cbcba['depth']>=_0x1ce943['depth']?(_0x587bc1=_0x1ce943,_0x1ce943=_0x1ce943['next']):(_0x587bc1=_0x3cbcba,_0x3cbcba=_0x3cbcba['next']),_0x3c9a33&&_0x3c9a33['mode']==_0x587bc1['mode']&&!_0x587bc1['context']&&!_0x3c9a33['context'])continue;let _0x51789d=new _0x3f0634(_0x587bc1['tags'],_0x587bc1['mode'],_0x587bc1['context']);_0x3c9a33?_0x3c9a33['next']=_0x51789d:_0x32951c=_0x51789d,_0x3c9a33=_0x51789d;}return _0x32951c;}});class _0x3f0634{constructor(_0x4f8fa8,_0x519adf,_0xa2ac11,_0x240680){this['tags']=_0x4f8fa8,this['mode']=_0x519adf,this['context']=_0xa2ac11,this['next']=_0x240680;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x52c0df){return!_0x52c0df||_0x52c0df['depth']<this['depth']?(this['next']=_0x52c0df,this):(_0x52c0df['next']=this['sort'](_0x52c0df['next']),_0x52c0df);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function tagHighlighter(_0x1c9bd6,_0x25faa0){let _0x367c7d=Object['create'](null);for(let _0x4e53e5 of _0x1c9bd6)if(Array['isArray'](_0x4e53e5['tag'])){for(let _0x1d757b of _0x4e53e5['tag'])_0x367c7d[_0x1d757b['id']]=_0x4e53e5['class'];}else _0x367c7d[_0x4e53e5['tag']['id']]=_0x4e53e5['class'];let {scope:_0x2f709b,all:_0x531f6a=null}=_0x25faa0||{};return{'style':_0x1e1f3d=>{let _0x309d38=_0x531f6a;for(let _0x5c7a68 of _0x1e1f3d)for(let _0x5442b4 of _0x5c7a68['set']){let _0x1ae561=_0x367c7d[_0x5442b4['id']];if(_0x1ae561){_0x309d38=_0x309d38?_0x309d38+'\x20'+_0x1ae561:_0x1ae561;break;}}return _0x309d38;},'scope':_0x2f709b};}function highlightTags(_0x50adcf,_0x42179f){let _0x4c8f5b=null;for(let _0x175f96 of _0x50adcf){let _0x4107de=_0x175f96['style'](_0x42179f);_0x4107de&&(_0x4c8f5b=_0x4c8f5b?_0x4c8f5b+'\x20'+_0x4107de:_0x4107de);}return _0x4c8f5b;}function highlightTree(_0x5b0709,_0x1cb046,_0x2eb16e,_0x2009f5=0x0,_0xacea8e=_0x5b0709['length']){let _0x12e28f=new HighlightBuilder(_0x2009f5,Array['isArray'](_0x1cb046)?_0x1cb046:[_0x1cb046],_0x2eb16e);_0x12e28f['highlightRange'](_0x5b0709['cursor'](),_0x2009f5,_0xacea8e,'',_0x12e28f['highlighters']),_0x12e28f['flush'](_0xacea8e);}_0x3f0634['empty']=new _0x3f0634([],0x2,null);class HighlightBuilder{constructor(_0x359074,_0x2fdb4a,_0x583a10){this['at']=_0x359074,this['highlighters']=_0x2fdb4a,this['span']=_0x583a10,this['class']='';}['startSpan'](_0x3e8889,_0x21aaec){_0x21aaec!=this['class']&&(this['flush'](_0x3e8889),_0x3e8889>this['at']&&(this['at']=_0x3e8889),this['class']=_0x21aaec);}['flush'](_0x5421ca){_0x5421ca>this['at']&&this['class']&&this['span'](this['at'],_0x5421ca,this['class']);}['highlightRange'](_0x2302db,_0x310c58,_0x41c535,_0x12e080,_0x3fc43e){let {type:_0x351ecc,from:_0x41b031,to:_0x7b52cb}=_0x2302db;if(_0x41b031>=_0x41c535||_0x7b52cb<=_0x310c58)return;_0x351ecc['isTop']&&(_0x3fc43e=this['highlighters']['filter'](_0x393fb1=>!_0x393fb1['scope']||_0x393fb1['scope'](_0x351ecc)));let _0x4a1291=_0x12e080,_0x3cb995=getStyleTags(_0x2302db)||_0x3f0634['empty'],_0x1a890d=highlightTags(_0x3fc43e,_0x3cb995['tags']);if(_0x1a890d&&(_0x4a1291&&(_0x4a1291+='\x20'),_0x4a1291+=_0x1a890d,0x1==_0x3cb995['mode']&&(_0x12e080+=(_0x12e080?'\x20':'')+_0x1a890d)),this['startSpan'](Math['max'](_0x310c58,_0x41b031),_0x4a1291),_0x3cb995['opaque'])return;let _0x1ec141=_0x2302db['tree']&&_0x2302db['tree']['prop'](_0x323035['mounted']);if(_0x1ec141&&_0x1ec141['overlay']){let _0x5a2465=_0x2302db['node']['enter'](_0x1ec141['overlay'][0x0]['from']+_0x41b031,0x1),_0x7b8609=this['highlighters']['filter'](_0x39e20b=>!_0x39e20b['scope']||_0x39e20b['scope'](_0x1ec141['tree']['type'])),_0x466662=_0x2302db['firstChild']();for(let _0xc00e6a=0x0,_0x1b8d33=_0x41b031;;_0xc00e6a++){let _0x12c612=_0xc00e6a<_0x1ec141['overlay']['length']?_0x1ec141['overlay'][_0xc00e6a]:null,_0x258b96=_0x12c612?_0x12c612['from']+_0x41b031:_0x7b52cb,_0x47826c=Math['max'](_0x310c58,_0x1b8d33),_0x598bf9=Math['min'](_0x41c535,_0x258b96);if(_0x47826c<_0x598bf9&&_0x466662){for(;_0x2302db['from']<_0x598bf9&&(this['highlightRange'](_0x2302db,_0x47826c,_0x598bf9,_0x12e080,_0x3fc43e),this['startSpan'](Math['min'](_0x598bf9,_0x2302db['to']),_0x4a1291),!(_0x2302db['to']>=_0x258b96)&&_0x2302db['nextSibling']()););}if(!_0x12c612||_0x258b96>_0x41c535)break;_0x1b8d33=_0x12c612['to']+_0x41b031,_0x1b8d33>_0x310c58&&(this['highlightRange'](_0x5a2465['cursor'](),Math['max'](_0x310c58,_0x12c612['from']+_0x41b031),Math['min'](_0x41c535,_0x1b8d33),'',_0x7b8609),this['startSpan'](Math['min'](_0x41c535,_0x1b8d33),_0x4a1291));}_0x466662&&_0x2302db['parent']();}else{if(_0x2302db['firstChild']()){_0x1ec141&&(_0x12e080='');do{if(!(_0x2302db['to']<=_0x310c58)){if(_0x2302db['from']>=_0x41c535)break;this['highlightRange'](_0x2302db,_0x310c58,_0x41c535,_0x12e080,_0x3fc43e),this['startSpan'](Math['min'](_0x41c535,_0x2302db['to']),_0x4a1291);}}while(_0x2302db['nextSibling']());_0x2302db['parent']();}}}}function getStyleTags(_0x15e2d7){let _0x144cd2=_0x15e2d7['type']['prop'](_0x128d3c);for(;_0x144cd2&&_0x144cd2['context']&&!_0x15e2d7['matchContext'](_0x144cd2['context']);)_0x144cd2=_0x144cd2['next'];return _0x144cd2||null;}const t=_0xac07ae['define'],comment=t(),_0x46caa9=t(),typeName=t(_0x46caa9),propertyName=t(_0x46caa9),literal=t(),string=t(literal),_0x22f57f=t(literal),content=t(),_0x2fd9e5=t(content),_0x248789=t(),operator=t(),punctuation=t(),bracket=t(punctuation),meta=t(),tags$1={'comment':comment,'lineComment':t(comment),'blockComment':t(comment),'docComment':t(comment),'name':_0x46caa9,'variableName':t(_0x46caa9),'typeName':typeName,'tagName':t(typeName),'propertyName':propertyName,'attributeName':t(propertyName),'className':t(_0x46caa9),'labelName':t(_0x46caa9),'namespace':t(_0x46caa9),'macroName':t(_0x46caa9),'literal':literal,'string':string,'docString':t(string),'character':t(string),'attributeValue':t(string),'number':_0x22f57f,'integer':t(_0x22f57f),'float':t(_0x22f57f),'bool':t(literal),'regexp':t(literal),'escape':t(literal),'color':t(literal),'url':t(literal),'keyword':_0x248789,'self':t(_0x248789),'null':t(_0x248789),'atom':t(_0x248789),'unit':t(_0x248789),'modifier':t(_0x248789),'operatorKeyword':t(_0x248789),'controlKeyword':t(_0x248789),'definitionKeyword':t(_0x248789),'moduleKeyword':t(_0x248789),'operator':operator,'derefOperator':t(operator),'arithmeticOperator':t(operator),'logicOperator':t(operator),'bitwiseOperator':t(operator),'compareOperator':t(operator),'updateOperator':t(operator),'definitionOperator':t(operator),'typeOperator':t(operator),'controlOperator':t(operator),'punctuation':punctuation,'separator':t(punctuation),'bracket':bracket,'angleBracket':t(bracket),'squareBracket':t(bracket),'paren':t(bracket),'brace':t(bracket),'content':content,'heading':_0x2fd9e5,'heading1':t(_0x2fd9e5),'heading2':t(_0x2fd9e5),'heading3':t(_0x2fd9e5),'heading4':t(_0x2fd9e5),'heading5':t(_0x2fd9e5),'heading6':t(_0x2fd9e5),'contentSeparator':t(content),'list':t(content),'quote':t(content),'emphasis':t(content),'strong':t(content),'link':t(content),'monospace':t(content),'strikethrough':t(content),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':meta,'documentMeta':t(meta),'annotation':t(meta),'processingInstruction':t(meta),'definition':_0xac07ae['defineModifier']('definition'),'constant':_0xac07ae['defineModifier']('constant'),'function':_0xac07ae['defineModifier']('function'),'standard':_0xac07ae['defineModifier']('standard'),'local':_0xac07ae['defineModifier']('local'),'special':_0xac07ae['defineModifier']('special')};for(let _0xff8ed6 in tags$1){let _0x13759f=tags$1[_0xff8ed6];_0x13759f instanceof _0xac07ae&&(_0x13759f['name']=_0xff8ed6);}var _0x3b44c8;tagHighlighter([{'tag':tags$1['link'],'class':'tok-link'},{'tag':tags$1['heading'],'class':'tok-heading'},{'tag':tags$1['emphasis'],'class':'tok-emphasis'},{'tag':tags$1['strong'],'class':'tok-strong'},{'tag':tags$1['keyword'],'class':'tok-keyword'},{'tag':tags$1['atom'],'class':'tok-atom'},{'tag':tags$1['bool'],'class':'tok-bool'},{'tag':tags$1['url'],'class':'tok-url'},{'tag':tags$1['labelName'],'class':'tok-labelName'},{'tag':tags$1['inserted'],'class':'tok-inserted'},{'tag':tags$1['deleted'],'class':'tok-deleted'},{'tag':tags$1['literal'],'class':'tok-literal'},{'tag':tags$1['string'],'class':'tok-string'},{'tag':tags$1['number'],'class':'tok-number'},{'tag':[tags$1['regexp'],tags$1['escape'],tags$1['special'](tags$1['string'])],'class':'tok-string2'},{'tag':tags$1['variableName'],'class':'tok-variableName'},{'tag':tags$1['local'](tags$1['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':tags$1['definition'](tags$1['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':tags$1['special'](tags$1['variableName']),'class':'tok-variableName2'},{'tag':tags$1['definition'](tags$1['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':tags$1['typeName'],'class':'tok-typeName'},{'tag':tags$1['namespace'],'class':'tok-namespace'},{'tag':tags$1['className'],'class':'tok-className'},{'tag':tags$1['macroName'],'class':'tok-macroName'},{'tag':tags$1['propertyName'],'class':'tok-propertyName'},{'tag':tags$1['operator'],'class':'tok-operator'},{'tag':tags$1['comment'],'class':'tok-comment'},{'tag':tags$1['meta'],'class':'tok-meta'},{'tag':tags$1['invalid'],'class':'tok-invalid'},{'tag':tags$1['punctuation'],'class':'tok-punctuation'}]);const languageDataProp=new _0x323035();function defineLanguageFacet(_0x49feab){return Facet['define']({'combine':_0x49feab?_0x883576=>_0x883576['concat'](_0x49feab):void 0x0});}const _0x127b98=new _0x323035();class _0x3f1f3e{constructor(_0x3b921b,_0x530a6a,_0x5f2a91=[],_0x3a5416=''){this['data']=_0x3b921b,this['name']=_0x3a5416,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return syntaxTree(this);}}),this['parser']=_0x530a6a,this['extension']=[_0x29c893['of'](this),EditorState['languageData']['of']((_0x29469c,_0x2a34cb,_0x424cee)=>{let _0xbf3171=topNodeAt(_0x29469c,_0x2a34cb,_0x424cee),_0x4b95de=_0xbf3171['type']['prop'](languageDataProp);if(!_0x4b95de)return[];let _0x2cdb15=_0x29469c['facet'](_0x4b95de),_0x276f1e=_0xbf3171['type']['prop'](_0x127b98);if(_0x276f1e){let _0x30fcff=_0xbf3171['resolve'](_0x2a34cb-_0xbf3171['from'],_0x424cee);for(let _0x1fcd0b of _0x276f1e)if(_0x1fcd0b['test'](_0x30fcff,_0x29469c)){let _0x18aeb0=_0x29469c['facet'](_0x1fcd0b['facet']);return'replace'==_0x1fcd0b['type']?_0x18aeb0:_0x18aeb0['concat'](_0x2cdb15);}}return _0x2cdb15;})]['concat'](_0x5f2a91);}['isActiveAt'](_0x409b73,_0x14595c,_0x6c775e=-0x1){return topNodeAt(_0x409b73,_0x14595c,_0x6c775e)['type']['prop'](languageDataProp)==this['data'];}['findRegions'](_0x47a016){let _0x36ed9a=_0x47a016['facet'](_0x29c893);if((null==_0x36ed9a?void 0x0:_0x36ed9a['data'])==this['data'])return[{'from':0x0,'to':_0x47a016['doc']['length']}];if(!_0x36ed9a||!_0x36ed9a['allowsNesting'])return[];let _0xef81a7=[],_0x1e40ec=(_0x26ce0b,_0x102844)=>{if(_0x26ce0b['prop'](languageDataProp)==this['data'])return void _0xef81a7['push']({'from':_0x102844,'to':_0x102844+_0x26ce0b['length']});let _0x57315c=_0x26ce0b['prop'](_0x323035['mounted']);if(_0x57315c){if(_0x57315c['tree']['prop'](languageDataProp)==this['data']){if(_0x57315c['overlay']){for(let _0x226fc4 of _0x57315c['overlay'])_0xef81a7['push']({'from':_0x226fc4['from']+_0x102844,'to':_0x226fc4['to']+_0x102844});}else _0xef81a7['push']({'from':_0x102844,'to':_0x102844+_0x26ce0b['length']});return;}if(_0x57315c['overlay']){let _0x4a335e=_0xef81a7['length'];if(_0x1e40ec(_0x57315c['tree'],_0x57315c['overlay'][0x0]['from']+_0x102844),_0xef81a7['length']>_0x4a335e)return;}}for(let _0x23aa4f=0x0;_0x23aa4f<_0x26ce0b['children']['length'];_0x23aa4f++){let _0x1f4a06=_0x26ce0b['children'][_0x23aa4f];_0x1f4a06 instanceof _0x39ae63&&_0x1e40ec(_0x1f4a06,_0x26ce0b['positions'][_0x23aa4f]+_0x102844);}};return _0x1e40ec(syntaxTree(_0x47a016),0x0),_0xef81a7;}get['allowsNesting'](){return!0x0;}}function topNodeAt(_0x41ff84,_0x45a5d5,_0x2be29c){let _0x1664c3=_0x41ff84['facet'](_0x29c893),_0x4fa3d3=syntaxTree(_0x41ff84)['topNode'];if(!_0x1664c3||_0x1664c3['allowsNesting']){for(let _0x2e21db=_0x4fa3d3;_0x2e21db;_0x2e21db=_0x2e21db['enter'](_0x45a5d5,_0x2be29c,IterMode['ExcludeBuffers']))_0x2e21db['type']['isTop']&&(_0x4fa3d3=_0x2e21db);}return _0x4fa3d3;}_0x3f1f3e['setState']=StateEffect['define']();class _0x1c3806 extends _0x3f1f3e{constructor(_0x2983b8,_0x35073a,_0x31f65f){super(_0x2983b8,_0x35073a,[],_0x31f65f),this['parser']=_0x35073a;}static['define'](_0x4329ef){let _0x1fd4b7=defineLanguageFacet(_0x4329ef['languageData']);return new _0x1c3806(_0x1fd4b7,_0x4329ef['parser']['configure']({'props':[languageDataProp['add'](_0x386629=>_0x386629['isTop']?_0x1fd4b7:void 0x0)]}),_0x4329ef['name']);}['configure'](_0xaae90a,_0x2d56cb){return new _0x1c3806(this['data'],this['parser']['configure'](_0xaae90a),_0x2d56cb||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function syntaxTree(_0x57099d){let _0x497051=_0x57099d['field'](_0x3f1f3e['state'],!0x1);return _0x497051?_0x497051['tree']:_0x39ae63['empty'];}class DocInput{constructor(_0xcffb35){this['doc']=_0xcffb35,this['cursorPos']=0x0,this['string']='',this['cursor']=_0xcffb35['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x11d693){return this['string']=this['cursor']['next'](_0x11d693-this['cursorPos'])['value'],this['cursorPos']=_0x11d693+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x1ac622){return this['syncTo'](_0x1ac622),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x10447b,_0x509874){let _0x480b9c=this['cursorPos']-this['string']['length'];return _0x10447b<_0x480b9c||_0x509874>=this['cursorPos']?this['doc']['sliceString'](_0x10447b,_0x509874):this['string']['slice'](_0x10447b-_0x480b9c,_0x509874-_0x480b9c);}}let currentContext=null;class ParseContext{constructor(_0x14b853,_0x485a8e,_0x5f4f76=[],_0x10d9d2,_0x4271dc,_0x4f63bc,_0x36b13a,_0x5e302a){this['parser']=_0x14b853,this['state']=_0x485a8e,this['fragments']=_0x5f4f76,this['tree']=_0x10d9d2,this['treeLen']=_0x4271dc,this['viewport']=_0x4f63bc,this['skipped']=_0x36b13a,this['scheduleOn']=_0x5e302a,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x216939,_0x5dd149,_0x3b0b0d){return new ParseContext(_0x216939,_0x5dd149,[],_0x39ae63['empty'],0x0,_0x3b0b0d,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x4a95cc,_0x22a0e0){return null!=_0x22a0e0&&_0x22a0e0>=this['state']['doc']['length']&&(_0x22a0e0=void 0x0),this['tree']!=_0x39ae63['empty']&&this['isDone'](null!=_0x22a0e0?_0x22a0e0:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x7e7d59;if('number'==typeof _0x4a95cc){let _0x1682ad=Date['now']()+_0x4a95cc;_0x4a95cc=()=>Date['now']()>_0x1682ad;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x22a0e0&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x22a0e0)&&_0x22a0e0<this['state']['doc']['length']&&this['parse']['stopAt'](_0x22a0e0);;){let _0x55b048=this['parse']['advance']();if(_0x55b048){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x55b048,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x7e7d59=this['parse']['stoppedAt'])&&void 0x0!==_0x7e7d59?_0x7e7d59:this['state']['doc']['length'],this['tree']=_0x55b048,this['parse']=null,!(this['treeLen']<(null!=_0x22a0e0?_0x22a0e0:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x4a95cc())return!0x1;}});}['takeTree'](){let _0x1f514b,_0x303655;this['parse']&&(_0x1f514b=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x1f514b)&&this['parse']['stopAt'](_0x1f514b),this['withContext'](()=>{for(;!(_0x303655=this['parse']['advance']()););}),this['treeLen']=_0x1f514b,this['tree']=_0x303655,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x54b6a2){let _0xe9c621=currentContext;currentContext=this;try{return _0x54b6a2();}finally{currentContext=_0xe9c621;}}['withoutTempSkipped'](_0x544880){for(let _0x1bd27b;_0x1bd27b=this['tempSkipped']['pop']();)_0x544880=cutFragments(_0x544880,_0x1bd27b['from'],_0x1bd27b['to']);return _0x544880;}['changes'](_0x4b6f2c,_0x55e5bc){let {fragments:_0xff35a1,tree:_0x33a19a,treeLen:_0x366e52,viewport:_0x23b416,skipped:_0x20b174}=this;if(this['takeTree'](),!_0x4b6f2c['empty']){let _0x313dd5=[];if(_0x4b6f2c['iterChangedRanges']((_0xdfb6e1,_0x14cda2,_0x17b72d,_0x14af4d)=>_0x313dd5['push']({'fromA':_0xdfb6e1,'toA':_0x14cda2,'fromB':_0x17b72d,'toB':_0x14af4d})),_0xff35a1=TreeFragment['applyChanges'](_0xff35a1,_0x313dd5),_0x33a19a=_0x39ae63['empty'],_0x366e52=0x0,_0x23b416={'from':_0x4b6f2c['mapPos'](_0x23b416['from'],-0x1),'to':_0x4b6f2c['mapPos'](_0x23b416['to'],0x1)},this['skipped']['length']){_0x20b174=[];for(let _0x20f7c2 of this['skipped']){let _0x122e55=_0x4b6f2c['mapPos'](_0x20f7c2['from'],0x1),_0x268e26=_0x4b6f2c['mapPos'](_0x20f7c2['to'],-0x1);_0x122e55<_0x268e26&&_0x20b174['push']({'from':_0x122e55,'to':_0x268e26});}}}return new ParseContext(this['parser'],_0x55e5bc,_0xff35a1,_0x33a19a,_0x366e52,_0x23b416,_0x20b174,this['scheduleOn']);}['updateViewport'](_0x4c8974){if(this['viewport']['from']==_0x4c8974['from']&&this['viewport']['to']==_0x4c8974['to'])return!0x1;this['viewport']=_0x4c8974;let _0x5d1f92=this['skipped']['length'];for(let _0x2c0218=0x0;_0x2c0218<this['skipped']['length'];_0x2c0218++){let {from:_0x3e4654,to:_0x485516}=this['skipped'][_0x2c0218];_0x3e4654<_0x4c8974['to']&&_0x485516>_0x4c8974['from']&&(this['fragments']=cutFragments(this['fragments'],_0x3e4654,_0x485516),this['skipped']['splice'](_0x2c0218--,0x1));}return!(this['skipped']['length']>=_0x5d1f92)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x11d1a6,_0xd8e2a7){this['skipped']['push']({'from':_0x11d1a6,'to':_0xd8e2a7});}static['getSkippingParser'](_0x58f4d6){return new class extends _0x2362af{['createParse'](_0x27aeeb,_0x130c91,_0x2cf6aa){let _0x1c5080=_0x2cf6aa[0x0]['from'],_0x582e0f=_0x2cf6aa[_0x2cf6aa['length']-0x1]['to'],_0x319896={'parsedPos':_0x1c5080,'advance'(){let _0x45356d=currentContext;if(_0x45356d){for(let _0x3d3fa0 of _0x2cf6aa)_0x45356d['tempSkipped']['push'](_0x3d3fa0);_0x58f4d6&&(_0x45356d['scheduleOn']=_0x45356d['scheduleOn']?Promise['all']([_0x45356d['scheduleOn'],_0x58f4d6]):_0x58f4d6);}return this['parsedPos']=_0x582e0f,new _0x39ae63(_0xcfe90f['none'],[],[],_0x582e0f-_0x1c5080);},'stoppedAt':null,'stopAt'(){}};return _0x319896;}}();}['isDone'](_0x2d669a){_0x2d669a=Math['min'](_0x2d669a,this['state']['doc']['length']);let _0x144ad5=this['fragments'];return this['treeLen']>=_0x2d669a&&_0x144ad5['length']&&0x0==_0x144ad5[0x0]['from']&&_0x144ad5[0x0]['to']>=_0x2d669a;}static['get'](){return currentContext;}}function cutFragments(_0x2e602a,_0xfd2bc7,_0x928ef1){return TreeFragment['applyChanges'](_0x2e602a,[{'fromA':_0xfd2bc7,'toA':_0x928ef1,'fromB':_0xfd2bc7,'toB':_0x928ef1}]);}class LanguageState{constructor(_0x4a5447){this['context']=_0x4a5447,this['tree']=_0x4a5447['tree'];}['apply'](_0x23a25a){if(!_0x23a25a['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x53e46e=this['context']['changes'](_0x23a25a['changes'],_0x23a25a['state']),_0x562a8d=this['context']['treeLen']==_0x23a25a['startState']['doc']['length']?void 0x0:Math['max'](_0x23a25a['changes']['mapPos'](this['context']['treeLen']),_0x53e46e['viewport']['to']);return _0x53e46e['work'](0x14,_0x562a8d)||_0x53e46e['takeTree'](),new LanguageState(_0x53e46e);}static['init'](_0x43622b){let _0x35d9fb=Math['min'](0xbb8,_0x43622b['doc']['length']),_0x14cec1=ParseContext['create'](_0x43622b['facet'](_0x29c893)['parser'],_0x43622b,{'from':0x0,'to':_0x35d9fb});return _0x14cec1['work'](0x14,_0x35d9fb)||_0x14cec1['takeTree'](),new LanguageState(_0x14cec1);}}_0x3f1f3e['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x410df5,_0x1ca9f2){for(let _0x4c1a26 of _0x1ca9f2['effects'])if(_0x4c1a26['is'](_0x3f1f3e['setState']))return _0x4c1a26['value'];return _0x1ca9f2['startState']['facet'](_0x29c893)!=_0x1ca9f2['state']['facet'](_0x29c893)?LanguageState['init'](_0x1ca9f2['state']):_0x410df5['apply'](_0x1ca9f2);}});let requestIdle=_0x216b69=>{let _0x3a1ad5=setTimeout(()=>_0x216b69(),0x1f4);return()=>clearTimeout(_0x3a1ad5);};'undefined'!=typeof requestIdleCallback&&(requestIdle=_0x1c11d3=>{let _0x1197df=-0x1,_0x3f2c03=setTimeout(()=>{_0x1197df=requestIdleCallback(_0x1c11d3,{'timeout':0x190});},0x64);return()=>_0x1197df<0x0?clearTimeout(_0x3f2c03):cancelIdleCallback(_0x1197df);});const isInputPending='undefined'!=typeof navigator&&(null===(_0x3b44c8=navigator['scheduling'])||void 0x0===_0x3b44c8?void 0x0:_0x3b44c8['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x403c99=_0x2e3bc0['fromClass'](class{constructor(_0x3b266f){this['view']=_0x3b266f,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x43216b){let _0x20a8b8=this['view']['state']['field'](_0x3f1f3e['state'])['context'];(_0x20a8b8['updateViewport'](_0x43216b['view']['viewport'])||this['view']['viewport']['to']>_0x20a8b8['treeLen'])&&this['scheduleWork'](),(_0x43216b['docChanged']||_0x43216b['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x20a8b8);}['scheduleWork'](){if(this['working'])return;let {state:_0x235a83}=this['view'],_0x1edb1e=_0x235a83['field'](_0x3f1f3e['state']);_0x1edb1e['tree']==_0x1edb1e['context']['tree']&&_0x1edb1e['context']['isDone'](_0x235a83['doc']['length'])||(this['working']=requestIdle(this['work']));}['work'](_0x3c699d){this['working']=null;let _0x4648e9=Date['now']();if(this['chunkEnd']<_0x4648e9&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x4648e9+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x5543cc,viewport:{to:_0x68ad1f}}=this['view'],_0x400207=_0x5543cc['field'](_0x3f1f3e['state']);if(_0x400207['tree']==_0x400207['context']['tree']&&_0x400207['context']['isDone'](_0x68ad1f+0x186a0))return;let _0x5dbffa=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x3c699d&&!isInputPending?Math['max'](0x19,_0x3c699d['timeRemaining']()-0x5):0x3b9aca00),_0x57a2bc=_0x400207['context']['treeLen']<_0x68ad1f&&_0x5543cc['doc']['length']>_0x68ad1f+0x3e8,_0x55ca31=_0x400207['context']['work'](()=>isInputPending&&isInputPending()||Date['now']()>_0x5dbffa,_0x68ad1f+(_0x57a2bc?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x4648e9,(_0x55ca31||this['chunkBudget']<=0x0)&&(_0x400207['context']['takeTree'](),this['view']['dispatch']({'effects':_0x3f1f3e['setState']['of'](new LanguageState(_0x400207['context']))})),this['chunkBudget']>0x0&&(!_0x55ca31||_0x57a2bc)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x400207['context']);}['checkAsyncSchedule'](_0x50670a){_0x50670a['scheduleOn']&&(this['workScheduled']++,_0x50670a['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x150801=>logException(this['view']['state'],_0x150801))['then'](()=>this['workScheduled']--),_0x50670a['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x29c893=Facet['define']({'combine':_0x125bfa=>_0x125bfa['length']?_0x125bfa[0x0]:null,'enables':_0x1f6a0f=>[_0x3f1f3e['state'],_0x403c99,EditorView['contentAttributes']['compute']([_0x1f6a0f],_0x30ed26=>{let _0x3424cc=_0x30ed26['facet'](_0x1f6a0f);return _0x3424cc&&_0x3424cc['name']?{'data-language':_0x3424cc['name']}:{};})]});class LanguageSupport{constructor(_0x4beb4c,_0x5b4ebb=[]){this['language']=_0x4beb4c,this['support']=_0x5b4ebb,this['extension']=[_0x4beb4c,_0x5b4ebb];}}class LanguageDescription{constructor(_0x174448,_0x43eb9a,_0x36b1fe,_0xad8ca2,_0xc8d3cc,_0x4d35c8=void 0x0){this['name']=_0x174448,this['alias']=_0x43eb9a,this['extensions']=_0x36b1fe,this['filename']=_0xad8ca2,this['loadFunc']=_0xc8d3cc,this['support']=_0x4d35c8,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x5e31a7=>this['support']=_0x5e31a7,_0x4d0c31=>{throw this['loading']=null,_0x4d0c31;}));}static['of'](_0x461ec7){let {load:_0x8db7b2,support:_0x4ef6a6}=_0x461ec7;if(!_0x8db7b2){if(!_0x4ef6a6)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x8db7b2=()=>Promise['resolve'](_0x4ef6a6);}return new LanguageDescription(_0x461ec7['name'],(_0x461ec7['alias']||[])['concat'](_0x461ec7['name'])['map'](_0x4ef42a=>_0x4ef42a['toLowerCase']()),_0x461ec7['extensions']||[],_0x461ec7['filename'],_0x8db7b2,_0x4ef6a6);}static['matchFilename'](_0x25b06e,_0x3a84df){for(let _0x4acb29 of _0x25b06e)if(_0x4acb29['filename']&&_0x4acb29['filename']['test'](_0x3a84df))return _0x4acb29;let _0x5ea74b=/\.([^.]+)$/['exec'](_0x3a84df);if(_0x5ea74b){for(let _0x4a4bf3 of _0x25b06e)if(_0x4a4bf3['extensions']['indexOf'](_0x5ea74b[0x1])>-0x1)return _0x4a4bf3;}return null;}static['matchLanguageName'](_0x256432,_0x1b84b6,_0x4085f6=!0x0){_0x1b84b6=_0x1b84b6['toLowerCase']();for(let _0x5b09d0 of _0x256432)if(_0x5b09d0['alias']['some'](_0xd2e4f1=>_0xd2e4f1==_0x1b84b6))return _0x5b09d0;if(_0x4085f6){for(let _0x8e0d26 of _0x256432)for(let _0x330d52 of _0x8e0d26['alias']){let _0x4dde2a=_0x1b84b6['indexOf'](_0x330d52);if(_0x4dde2a>-0x1&&(_0x330d52['length']>0x2||!/\w/['test'](_0x1b84b6[_0x4dde2a-0x1])&&!/\w/['test'](_0x1b84b6[_0x4dde2a+_0x330d52['length']])))return _0x8e0d26;}}return null;}}const indentService=Facet['define'](),indentUnit=Facet['define']({'combine':_0x20b5db=>{if(!_0x20b5db['length'])return'\x20\x20';let _0x1ebefc=_0x20b5db[0x0];if(!_0x1ebefc||/\S/['test'](_0x1ebefc)||Array['from'](_0x1ebefc)['some'](_0x39a146=>_0x39a146!=_0x1ebefc[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x20b5db[0x0]));return _0x1ebefc;}});function getIndentUnit(_0x48fd17){let _0x18d83a=_0x48fd17['facet'](indentUnit);return 0x9==_0x18d83a['charCodeAt'](0x0)?_0x48fd17['tabSize']*_0x18d83a['length']:_0x18d83a['length'];}function indentString(_0x1c9c08,_0x33a37e){let _0x2518f3='',_0x488e39=_0x1c9c08['tabSize'],_0x212254=_0x1c9c08['facet'](indentUnit)[0x0];if('\x09'==_0x212254){for(;_0x33a37e>=_0x488e39;)_0x2518f3+='\x09',_0x33a37e-=_0x488e39;_0x212254='\x20';}for(let _0x2622de=0x0;_0x2622de<_0x33a37e;_0x2622de++)_0x2518f3+=_0x212254;return _0x2518f3;}function getIndentation(_0x35218e,_0x2bc1de){_0x35218e instanceof EditorState&&(_0x35218e=new IndentContext(_0x35218e));for(let _0x585156 of _0x35218e['state']['facet'](indentService)){let _0x85c20b=_0x585156(_0x35218e,_0x2bc1de);if(void 0x0!==_0x85c20b)return _0x85c20b;}let _0x4e3812=syntaxTree(_0x35218e['state']);return _0x4e3812['length']>=_0x2bc1de?syntaxIndentation(_0x35218e,_0x4e3812,_0x2bc1de):null;}class IndentContext{constructor(_0x1025ac,_0x333e30={}){this['state']=_0x1025ac,this['options']=_0x333e30,this['unit']=getIndentUnit(_0x1025ac);}['lineAt'](_0x4f9211,_0x3d216f=0x1){let _0x5c4f63=this['state']['doc']['lineAt'](_0x4f9211),{simulateBreak:_0x1b7436,simulateDoubleBreak:_0x2eba1a}=this['options'];return null!=_0x1b7436&&_0x1b7436>=_0x5c4f63['from']&&_0x1b7436<=_0x5c4f63['to']?_0x2eba1a&&_0x1b7436==_0x4f9211?{'text':'','from':_0x4f9211}:(_0x3d216f<0x0?_0x1b7436<_0x4f9211:_0x1b7436<=_0x4f9211)?{'text':_0x5c4f63['text']['slice'](_0x1b7436-_0x5c4f63['from']),'from':_0x1b7436}:{'text':_0x5c4f63['text']['slice'](0x0,_0x1b7436-_0x5c4f63['from']),'from':_0x5c4f63['from']}:_0x5c4f63;}['textAfterPos'](_0x27b1bc,_0x70a86b=0x1){if(this['options']['simulateDoubleBreak']&&_0x27b1bc==this['options']['simulateBreak'])return'';let {text:_0x4743c9,from:_0x3d2cc0}=this['lineAt'](_0x27b1bc,_0x70a86b);return _0x4743c9['slice'](_0x27b1bc-_0x3d2cc0,Math['min'](_0x4743c9['length'],_0x27b1bc+0x64-_0x3d2cc0));}['column'](_0x273e6c,_0x9416f3=0x1){let {text:_0x451a0d,from:_0xed566b}=this['lineAt'](_0x273e6c,_0x9416f3),_0x33824e=this['countColumn'](_0x451a0d,_0x273e6c-_0xed566b),_0x6ebdb5=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0xed566b):-0x1;return _0x6ebdb5>-0x1&&(_0x33824e+=_0x6ebdb5-this['countColumn'](_0x451a0d,_0x451a0d['search'](/\S|$/))),_0x33824e;}['countColumn'](_0x933592,_0x1be214=_0x933592['length']){return countColumn(_0x933592,this['state']['tabSize'],_0x1be214);}['lineIndent'](_0x176cae,_0x45ee37=0x1){let {text:_0xdb4475,from:_0x45b629}=this['lineAt'](_0x176cae,_0x45ee37),_0x236677=this['options']['overrideIndentation'];if(_0x236677){let _0x5c9693=_0x236677(_0x45b629);if(_0x5c9693>-0x1)return _0x5c9693;}return this['countColumn'](_0xdb4475,_0xdb4475['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const indentNodeProp=new _0x323035();function syntaxIndentation(_0x2a3cbb,_0x4f2817,_0x2b22f1){let _0x2479aa=_0x4f2817['resolveStack'](_0x2b22f1),_0x428c73=_0x4f2817['resolveInner'](_0x2b22f1,-0x1)['resolve'](_0x2b22f1,0x0)['enterUnfinishedNodesBefore'](_0x2b22f1);if(_0x428c73!=_0x2479aa['node']){let _0x466821=[];for(let _0x5183e8=_0x428c73;_0x5183e8&&!(_0x5183e8['from']<_0x2479aa['node']['from']||_0x5183e8['to']>_0x2479aa['node']['to']||_0x5183e8['from']==_0x2479aa['node']['from']&&_0x5183e8['type']==_0x2479aa['node']['type']);_0x5183e8=_0x5183e8['parent'])_0x466821['push'](_0x5183e8);for(let _0x26b438=_0x466821['length']-0x1;_0x26b438>=0x0;_0x26b438--)_0x2479aa={'node':_0x466821[_0x26b438],'next':_0x2479aa};}return indentFor(_0x2479aa,_0x2a3cbb,_0x2b22f1);}function indentFor(_0x24eaa9,_0x4d232d,_0x102956){for(let _0x3d4101=_0x24eaa9;_0x3d4101;_0x3d4101=_0x3d4101['next']){let _0x225b73=indentStrategy(_0x3d4101['node']);if(_0x225b73)return _0x225b73(TreeIndentContext['create'](_0x4d232d,_0x102956,_0x3d4101));}return 0x0;}function _0x23b672(_0x1070a9){return _0x1070a9['pos']==_0x1070a9['options']['simulateBreak']&&_0x1070a9['options']['simulateDoubleBreak'];}function indentStrategy(_0x1c9f31){let _0x311310=_0x1c9f31['type']['prop'](indentNodeProp);if(_0x311310)return _0x311310;let _0xb91ff1,_0x19c05c=_0x1c9f31['firstChild'];if(_0x19c05c&&(_0xb91ff1=_0x19c05c['type']['prop'](_0x323035['closedBy']))){let _0x55e2af=_0x1c9f31['lastChild'],_0x3b1e4a=_0x55e2af&&_0xb91ff1['indexOf'](_0x55e2af['name'])>-0x1;return _0x402790=>delimitedStrategy(_0x402790,!0x0,0x1,void 0x0,_0x3b1e4a&&!_0x23b672(_0x402790)?_0x55e2af['from']:void 0x0);}return null==_0x1c9f31['parent']?topIndent:null;}function topIndent(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x2e0614,_0x2a055f,_0x59b9eb){super(_0x2e0614['state'],_0x2e0614['options']),this['base']=_0x2e0614,this['pos']=_0x2a055f,this['context']=_0x59b9eb;}get['node'](){return this['context']['node'];}static['create'](_0x550b96,_0x148531,_0x3d2b70){return new TreeIndentContext(_0x550b96,_0x148531,_0x3d2b70);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x2b14ae){let _0x548f19=this['state']['doc']['lineAt'](_0x2b14ae['from']);for(;;){let _0x284fcb=_0x2b14ae['resolve'](_0x548f19['from']);for(;_0x284fcb['parent']&&_0x284fcb['parent']['from']==_0x284fcb['from'];)_0x284fcb=_0x284fcb['parent'];if(isParent(_0x284fcb,_0x2b14ae))break;_0x548f19=this['state']['doc']['lineAt'](_0x284fcb['from']);}return this['lineIndent'](_0x548f19['from']);}['continue'](){return indentFor(this['context']['next'],this['base'],this['pos']);}}function isParent(_0x16f919,_0x2d8b89){for(let _0x48042d=_0x2d8b89;_0x48042d;_0x48042d=_0x48042d['parent'])if(_0x16f919==_0x48042d)return!0x0;return!0x1;}function bracketedAligned(_0x49774a){let _0x586058=_0x49774a['node'],_0x3664e0=_0x586058['childAfter'](_0x586058['from']),_0x4c19ce=_0x586058['lastChild'];if(!_0x3664e0)return null;let _0x1a1d7f=_0x49774a['options']['simulateBreak'],_0x535d27=_0x49774a['state']['doc']['lineAt'](_0x3664e0['from']),_0x4a549d=null==_0x1a1d7f||_0x1a1d7f<=_0x535d27['from']?_0x535d27['to']:Math['min'](_0x535d27['to'],_0x1a1d7f);for(let _0x3d1bf3=_0x3664e0['to'];;){let _0x474724=_0x586058['childAfter'](_0x3d1bf3);if(!_0x474724||_0x474724==_0x4c19ce)return null;if(!_0x474724['type']['isSkipped']){if(_0x474724['from']>=_0x4a549d)return null;let _0x3bfb3d=/^ */['exec'](_0x535d27['text']['slice'](_0x3664e0['to']-_0x535d27['from']))[0x0]['length'];return{'from':_0x3664e0['from'],'to':_0x3664e0['to']+_0x3bfb3d};}_0x3d1bf3=_0x474724['to'];}}function delimitedIndent({closing:_0x18e2b8,align:_0x2e075c=!0x0,units:_0x5e4be5=0x1}){return _0x36c79e=>delimitedStrategy(_0x36c79e,_0x2e075c,_0x5e4be5,_0x18e2b8);}function delimitedStrategy(_0x3cad1b,_0x104d64,_0xa47617,_0x270801,_0x8d5ee3){let _0x24d7b4=_0x3cad1b['textAfter'],_0x1c1d12=_0x24d7b4['match'](/^\s*/)[0x0]['length'],_0x36529b=_0x270801&&_0x24d7b4['slice'](_0x1c1d12,_0x1c1d12+_0x270801['length'])==_0x270801||_0x8d5ee3==_0x3cad1b['pos']+_0x1c1d12,_0x52835f=_0x104d64?bracketedAligned(_0x3cad1b):null;return _0x52835f?_0x36529b?_0x3cad1b['column'](_0x52835f['from']):_0x3cad1b['column'](_0x52835f['to']):_0x3cad1b['baseIndent']+(_0x36529b?0x0:_0x3cad1b['unit']*_0xa47617);}const flatIndent=_0x19ce4a=>_0x19ce4a['baseIndent'];function continuedIndent({except:_0x540e78,units:_0x1e668f=0x1}={}){return _0x11806f=>{let _0x4f7b67=_0x540e78&&_0x540e78['test'](_0x11806f['textAfter']);return _0x11806f['baseIndent']+(_0x4f7b67?0x0:_0x1e668f*_0x11806f['unit']);};}const DontIndentBeyond=0xc8;function indentOnInput(){return EditorState['transactionFilter']['of'](_0x29e913=>{if(!_0x29e913['docChanged']||!_0x29e913['isUserEvent']('input.type')&&!_0x29e913['isUserEvent']('input.complete'))return _0x29e913;let _0x3f5e41=_0x29e913['startState']['languageDataAt']('indentOnInput',_0x29e913['startState']['selection']['main']['head']);if(!_0x3f5e41['length'])return _0x29e913;let _0xc416fb=_0x29e913['newDoc'],{head:_0x58634e}=_0x29e913['newSelection']['main'],_0xe557ac=_0xc416fb['lineAt'](_0x58634e);if(_0x58634e>_0xe557ac['from']+DontIndentBeyond)return _0x29e913;let _0x1efbae=_0xc416fb['sliceString'](_0xe557ac['from'],_0x58634e);if(!_0x3f5e41['some'](_0x5adad5=>_0x5adad5['test'](_0x1efbae)))return _0x29e913;let {state:_0x6ac128}=_0x29e913,_0xfe77ad=-0x1,_0x2b1418=[];for(let {head:_0x46e91a}of _0x6ac128['selection']['ranges']){let _0x3bfd9d=_0x6ac128['doc']['lineAt'](_0x46e91a);if(_0x3bfd9d['from']==_0xfe77ad)continue;_0xfe77ad=_0x3bfd9d['from'];let _0x210a77=getIndentation(_0x6ac128,_0x3bfd9d['from']);if(null==_0x210a77)continue;let _0x15e5a1=/^\s*/['exec'](_0x3bfd9d['text'])[0x0],_0x5286c9=indentString(_0x6ac128,_0x210a77);_0x15e5a1!=_0x5286c9&&_0x2b1418['push']({'from':_0x3bfd9d['from'],'to':_0x3bfd9d['from']+_0x15e5a1['length'],'insert':_0x5286c9});}return _0x2b1418['length']?[_0x29e913,{'changes':_0x2b1418,'sequential':!0x0}]:_0x29e913;});}const _0x50d4d5=Facet['define'](),_0x474e8e=new _0x323035();function _0x5d30d4(_0xad05be){let _0x2bcf0d=_0xad05be['firstChild'],_0x17f60f=_0xad05be['lastChild'];return _0x2bcf0d&&_0x2bcf0d['to']<_0x17f60f['from']?{'from':_0x2bcf0d['to'],'to':_0x17f60f['type']['isError']?_0xad05be['to']:_0x17f60f['from']}:null;}function syntaxFolding(_0x3b062a,_0x3c482a,_0x33bffd){let _0x4c55fa=syntaxTree(_0x3b062a);if(_0x4c55fa['length']<_0x33bffd)return null;let _0x1dad45=null;for(let _0x4374ff=_0x4c55fa['resolveStack'](_0x33bffd,0x1);_0x4374ff;_0x4374ff=_0x4374ff['next']){let _0x3a75d8=_0x4374ff['node'];if(_0x3a75d8['to']<=_0x33bffd||_0x3a75d8['from']>_0x33bffd)continue;if(_0x1dad45&&_0x3a75d8['from']<_0x3c482a)break;let _0x15e089=_0x3a75d8['type']['prop'](_0x474e8e);if(_0x15e089&&(_0x3a75d8['to']<_0x4c55fa['length']-0x32||_0x4c55fa['length']==_0x3b062a['doc']['length']||!_0x20413d(_0x3a75d8))){let _0x4087b5=_0x15e089(_0x3a75d8,_0x3b062a);_0x4087b5&&_0x4087b5['from']<=_0x33bffd&&_0x4087b5['from']>=_0x3c482a&&_0x4087b5['to']>_0x33bffd&&(_0x1dad45=_0x4087b5);}}return _0x1dad45;}function _0x20413d(_0x2ff536){let _0x21268b=_0x2ff536['lastChild'];return _0x21268b&&_0x21268b['to']==_0x2ff536['to']&&_0x21268b['type']['isError'];}function _0x1d5c12(_0x46ffc5,_0x558e2a,_0x207d1d){for(let _0x464d75 of _0x46ffc5['facet'](_0x50d4d5)){let _0x4bbebe=_0x464d75(_0x46ffc5,_0x558e2a,_0x207d1d);if(_0x4bbebe)return _0x4bbebe;}return syntaxFolding(_0x46ffc5,_0x558e2a,_0x207d1d);}function _0x126cdf(_0x2a8d82,_0x57d2b3){let _0x239325=_0x57d2b3['mapPos'](_0x2a8d82['from'],0x1),_0xa95e5=_0x57d2b3['mapPos'](_0x2a8d82['to'],-0x1);return _0x239325>=_0xa95e5?void 0x0:{'from':_0x239325,'to':_0xa95e5};}const foldEffect=StateEffect['define']({'map':_0x126cdf}),unfoldEffect=StateEffect['define']({'map':_0x126cdf});function selectedLines(_0x2f1856){let _0x323d84=[];for(let {head:_0x4d6cd3}of _0x2f1856['state']['selection']['ranges'])_0x323d84['some'](_0x1a6d85=>_0x1a6d85['from']<=_0x4d6cd3&&_0x1a6d85['to']>=_0x4d6cd3)||_0x323d84['push'](_0x2f1856['lineBlockAt'](_0x4d6cd3));return _0x323d84;}const foldState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x4a8266,_0x424493){_0x424493['isUserEvent']('delete')&&_0x424493['changes']['iterChangedRanges']((_0x1ff09f,_0x1376c6)=>_0x4a8266=_0x4e4043(_0x4a8266,_0x1ff09f,_0x1376c6)),_0x4a8266=_0x4a8266['map'](_0x424493['changes']);for(let _0x4ddc49 of _0x424493['effects'])if(_0x4ddc49['is'](foldEffect)&&!foldExists(_0x4a8266,_0x4ddc49['value']['from'],_0x4ddc49['value']['to'])){let {preparePlaceholder:_0x24e5e2}=_0x424493['state']['facet'](_0x12ca3f),_0x5104dc=_0x24e5e2?Decoration['replace']({'widget':new PreparedFoldWidget(_0x24e5e2(_0x424493['state'],_0x4ddc49['value']))}):foldWidget;_0x4a8266=_0x4a8266['update']({'add':[_0x5104dc['range'](_0x4ddc49['value']['from'],_0x4ddc49['value']['to'])]});}else _0x4ddc49['is'](unfoldEffect)&&(_0x4a8266=_0x4a8266['update']({'filter':(_0x57d304,_0x31fbba)=>_0x4ddc49['value']['from']!=_0x57d304||_0x4ddc49['value']['to']!=_0x31fbba,'filterFrom':_0x4ddc49['value']['from'],'filterTo':_0x4ddc49['value']['to']}));return _0x424493['selection']&&(_0x4a8266=_0x4e4043(_0x4a8266,_0x424493['selection']['main']['head'])),_0x4a8266;},'provide':_0x356d0e=>EditorView['decorations']['from'](_0x356d0e),'toJSON'(_0xf04cc7,_0x2fa0d3){let _0x3f5ac0=[];return _0xf04cc7['between'](0x0,_0x2fa0d3['doc']['length'],(_0x1482b8,_0x29d875)=>{_0x3f5ac0['push'](_0x1482b8,_0x29d875);}),_0x3f5ac0;},'fromJSON'(_0x2513ef){if(!Array['isArray'](_0x2513ef)||_0x2513ef['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x3911e1=[];for(let _0x5ed0e9=0x0;_0x5ed0e9<_0x2513ef['length'];){let _0x1bd9d5=_0x2513ef[_0x5ed0e9++],_0x337bf8=_0x2513ef[_0x5ed0e9++];if('number'!=typeof _0x1bd9d5||'number'!=typeof _0x337bf8)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x3911e1['push'](foldWidget['range'](_0x1bd9d5,_0x337bf8));}return Decoration['set'](_0x3911e1,!0x0);}});function _0x4e4043(_0xa38eee,_0x1e6cf1,_0x562a5b=_0x1e6cf1){let _0x179824=!0x1;return _0xa38eee['between'](_0x1e6cf1,_0x562a5b,(_0x322f25,_0x2f5aab)=>{_0x322f25<_0x562a5b&&_0x2f5aab>_0x1e6cf1&&(_0x179824=!0x0);}),_0x179824?_0xa38eee['update']({'filterFrom':_0x1e6cf1,'filterTo':_0x562a5b,'filter':(_0x2c3c03,_0x20bb31)=>_0x2c3c03>=_0x562a5b||_0x20bb31<=_0x1e6cf1}):_0xa38eee;}function _0x7ff367(_0x145ef3,_0x114411,_0x467412){var _0x2f7313;let _0x3bb4b6=null;return null===(_0x2f7313=_0x145ef3['field'](foldState,!0x1))||void 0x0===_0x2f7313||_0x2f7313['between'](_0x114411,_0x467412,(_0x1d4653,_0x3b63fe)=>{(!_0x3bb4b6||_0x3bb4b6['from']>_0x1d4653)&&(_0x3bb4b6={'from':_0x1d4653,'to':_0x3b63fe});}),_0x3bb4b6;}function foldExists(_0x3b68fb,_0x479e05,_0x3cfed9){let _0x36b0be=!0x1;return _0x3b68fb['between'](_0x479e05,_0x479e05,(_0x4a9478,_0x288b66)=>{_0x4a9478==_0x479e05&&_0x288b66==_0x3cfed9&&(_0x36b0be=!0x0);}),_0x36b0be;}function _0x2bfaea(_0xd8085f,_0xe0df74){return _0xd8085f['field'](foldState,!0x1)?_0xe0df74:_0xe0df74['concat'](StateEffect['appendConfig']['of'](_0x3b5af3()));}const _0x107a8a=_0x543ec3=>{for(let _0x453618 of selectedLines(_0x543ec3)){let _0x176943=_0x1d5c12(_0x543ec3['state'],_0x453618['from'],_0x453618['to']);if(_0x176943)return _0x543ec3['dispatch']({'effects':_0x2bfaea(_0x543ec3['state'],[foldEffect['of'](_0x176943),_0x5f49a9(_0x543ec3,_0x176943)])}),!0x0;}return!0x1;},_0x118024=_0x4f70af=>{if(!_0x4f70af['state']['field'](foldState,!0x1))return!0x1;let _0x4fdc5d=[];for(let _0x525586 of selectedLines(_0x4f70af)){let _0x5d8f63=_0x7ff367(_0x4f70af['state'],_0x525586['from'],_0x525586['to']);_0x5d8f63&&_0x4fdc5d['push'](unfoldEffect['of'](_0x5d8f63),_0x5f49a9(_0x4f70af,_0x5d8f63,!0x1));}return _0x4fdc5d['length']&&_0x4f70af['dispatch']({'effects':_0x4fdc5d}),_0x4fdc5d['length']>0x0;};function _0x5f49a9(_0x4c2f6e,_0x3ec24c,_0x12a074=!0x0){let _0x53758c=_0x4c2f6e['state']['doc']['lineAt'](_0x3ec24c['from'])['number'],_0x53df2c=_0x4c2f6e['state']['doc']['lineAt'](_0x3ec24c['to'])['number'];return EditorView['announce']['of'](_0x4c2f6e['state']['phrase'](_0x12a074?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x53758c+'\x20'+_0x4c2f6e['state']['phrase']('to')+'\x20'+_0x53df2c+'.');}const _0x130c2d=_0xb3ab25=>{let {state:_0x4c8135}=_0xb3ab25,_0x365187=[];for(let _0x32b757=0x0;_0x32b757<_0x4c8135['doc']['length'];){let _0x3877bf=_0xb3ab25['lineBlockAt'](_0x32b757),_0x521802=_0x1d5c12(_0x4c8135,_0x3877bf['from'],_0x3877bf['to']);_0x521802&&_0x365187['push'](foldEffect['of'](_0x521802)),_0x32b757=(_0x521802?_0xb3ab25['lineBlockAt'](_0x521802['to']):_0x3877bf)['to']+0x1;}return _0x365187['length']&&_0xb3ab25['dispatch']({'effects':_0x2bfaea(_0xb3ab25['state'],_0x365187)}),!!_0x365187['length'];},_0x564499=_0x52b916=>{let _0x4dd2a6=_0x52b916['state']['field'](foldState,!0x1);if(!_0x4dd2a6||!_0x4dd2a6['size'])return!0x1;let _0x1a60a8=[];return _0x4dd2a6['between'](0x0,_0x52b916['state']['doc']['length'],(_0x350555,_0x190c68)=>{_0x1a60a8['push'](unfoldEffect['of']({'from':_0x350555,'to':_0x190c68}));}),_0x52b916['dispatch']({'effects':_0x1a60a8}),!0x0;},_0x492e2c=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x107a8a},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x118024},{'key':'Ctrl-Alt-[','run':_0x130c2d},{'key':'Ctrl-Alt-]','run':_0x564499}],defaultConfig={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x12ca3f=Facet['define']({'combine':_0x36022a=>_0x3c2ae7(_0x36022a,defaultConfig)});function _0x3b5af3(_0x3800e4){return[foldState,_0x50fcdd];}function widgetToDOM(_0x4d8316,_0x280b4c){let {state:_0x562d57}=_0x4d8316,_0x5d02f8=_0x562d57['facet'](_0x12ca3f),_0x13b40f=_0x143872=>{let _0x5712ff=_0x4d8316['lineBlockAt'](_0x4d8316['posAtDOM'](_0x143872['target'])),_0x41f246=_0x7ff367(_0x4d8316['state'],_0x5712ff['from'],_0x5712ff['to']);_0x41f246&&_0x4d8316['dispatch']({'effects':unfoldEffect['of'](_0x41f246)}),_0x143872['preventDefault']();};if(_0x5d02f8['placeholderDOM'])return _0x5d02f8['placeholderDOM'](_0x4d8316,_0x13b40f,_0x280b4c);let _0x5786fd=document['createElement']('span');return _0x5786fd['textContent']=_0x5d02f8['placeholderText'],_0x5786fd['setAttribute']('aria-label',_0x562d57['phrase']('folded\x20code')),_0x5786fd['title']=_0x562d57['phrase']('unfold'),_0x5786fd['className']='cm-foldPlaceholder',_0x5786fd['onclick']=_0x13b40f,_0x5786fd;}const foldWidget=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x40b8b1){return widgetToDOM(_0x40b8b1,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x2bddab){super(),this['value']=_0x2bddab;}['eq'](_0x26fb4c){return this['value']==_0x26fb4c['value'];}['toDOM'](_0x15116e){return widgetToDOM(_0x15116e,this['value']);}}const foldGutterDefaults={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x182e82 extends GutterMarker{constructor(_0x4bb890,_0x2e2b83){super(),this['config']=_0x4bb890,this['open']=_0x2e2b83;}['eq'](_0x425fe4){return this['config']==_0x425fe4['config']&&this['open']==_0x425fe4['open'];}['toDOM'](_0xdc3604){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x1c0302=document['createElement']('span');return _0x1c0302['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x1c0302['title']=_0xdc3604['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x1c0302;}}function foldGutter(_0x40138d={}){let _0x432adc={...foldGutterDefaults,..._0x40138d},_0x203cd7=new _0x182e82(_0x432adc,!0x0),_0x46d25c=new _0x182e82(_0x432adc,!0x1),_0x2cbad2=_0x2e3bc0['fromClass'](class{constructor(_0x2b6e56){this['from']=_0x2b6e56['viewport']['from'],this['markers']=this['buildMarkers'](_0x2b6e56);}['update'](_0x27ae6c){(_0x27ae6c['docChanged']||_0x27ae6c['viewportChanged']||_0x27ae6c['startState']['facet'](_0x29c893)!=_0x27ae6c['state']['facet'](_0x29c893)||_0x27ae6c['startState']['field'](foldState,!0x1)!=_0x27ae6c['state']['field'](foldState,!0x1)||syntaxTree(_0x27ae6c['startState'])!=syntaxTree(_0x27ae6c['state'])||_0x432adc['foldingChanged'](_0x27ae6c))&&(this['markers']=this['buildMarkers'](_0x27ae6c['view']));}['buildMarkers'](_0xe8865e){let _0x2ff63c=new RangeSetBuilder();for(let _0x551c75 of _0xe8865e['viewportLineBlocks']){let _0x2617c3=_0x7ff367(_0xe8865e['state'],_0x551c75['from'],_0x551c75['to'])?_0x46d25c:_0x1d5c12(_0xe8865e['state'],_0x551c75['from'],_0x551c75['to'])?_0x203cd7:null;_0x2617c3&&_0x2ff63c['add'](_0x551c75['from'],_0x551c75['from'],_0x2617c3);}return _0x2ff63c['finish']();}}),{domEventHandlers:_0xc39fe3}=_0x432adc;return[_0x2cbad2,gutter({'class':'cm-foldGutter','markers'(_0x2911c3){var _0x468159;return(null===(_0x468159=_0x2911c3['plugin'](_0x2cbad2))||void 0x0===_0x468159?void 0x0:_0x468159['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x182e82(_0x432adc,!0x1),'domEventHandlers':{..._0xc39fe3,'click':(_0x448d56,_0x9e8bd2,_0x40d4ab)=>{if(_0xc39fe3['click']&&_0xc39fe3['click'](_0x448d56,_0x9e8bd2,_0x40d4ab))return!0x0;let _0x202ca9=_0x7ff367(_0x448d56['state'],_0x9e8bd2['from'],_0x9e8bd2['to']);if(_0x202ca9)return _0x448d56['dispatch']({'effects':unfoldEffect['of'](_0x202ca9)}),!0x0;let _0x42faa5=_0x1d5c12(_0x448d56['state'],_0x9e8bd2['from'],_0x9e8bd2['to']);return!!_0x42faa5&&(_0x448d56['dispatch']({'effects':foldEffect['of'](_0x42faa5)}),!0x0);}}}),_0x3b5af3()];}const _0x50fcdd=EditorView['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'}});class HighlightStyle{constructor(_0x23612d,_0x33c100){let _0x255498;function _0x14297e(_0x3cea0e){let _0x2bcc25=StyleModule['newName']();return(_0x255498||(_0x255498=Object['create'](null)))['.'+_0x2bcc25]=_0x3cea0e,_0x2bcc25;}this['specs']=_0x23612d;const _0x3459f6='string'==typeof _0x33c100['all']?_0x33c100['all']:_0x33c100['all']?_0x14297e(_0x33c100['all']):void 0x0,_0x307f3a=_0x33c100['scope'];this['scope']=_0x307f3a instanceof _0x3f1f3e?_0x48ee78=>_0x48ee78['prop'](languageDataProp)==_0x307f3a['data']:_0x307f3a?_0x47332b=>_0x47332b==_0x307f3a:void 0x0,this['style']=tagHighlighter(_0x23612d['map'](_0x5512cb=>({'tag':_0x5512cb['tag'],'class':_0x5512cb['class']||_0x14297e(Object['assign']({},_0x5512cb,{'tag':null}))})),{'all':_0x3459f6})['style'],this['module']=_0x255498?new StyleModule(_0x255498):null,this['themeType']=_0x33c100['themeType'];}static['define'](_0x416242,_0x121f22){return new HighlightStyle(_0x416242,_0x121f22||{});}}const highlighterFacet=Facet['define'](),fallbackHighlighter=Facet['define']({'combine':_0x4cde62=>_0x4cde62['length']?[_0x4cde62[0x0]]:null});function getHighlighters(_0x30f1f1){let _0x48b630=_0x30f1f1['facet'](highlighterFacet);return _0x48b630['length']?_0x48b630:_0x30f1f1['facet'](fallbackHighlighter);}function syntaxHighlighting(_0x343fdc,_0x20bad6){let _0x31831b,_0x23291d=[treeHighlighter];return _0x343fdc instanceof HighlightStyle&&(_0x343fdc['module']&&_0x23291d['push'](EditorView['styleModule']['of'](_0x343fdc['module'])),_0x31831b=_0x343fdc['themeType']),(null==_0x20bad6?void 0x0:_0x20bad6['fallback'])?_0x23291d['push'](fallbackHighlighter['of'](_0x343fdc)):_0x31831b?_0x23291d['push'](highlighterFacet['computeN']([EditorView['darkTheme']],_0xa21f60=>_0xa21f60['facet'](EditorView['darkTheme'])==('dark'==_0x31831b)?[_0x343fdc]:[])):_0x23291d['push'](highlighterFacet['of'](_0x343fdc)),_0x23291d;}class TreeHighlighter{constructor(_0x2b2460){this['markCache']=Object['create'](null),this['tree']=syntaxTree(_0x2b2460['state']),this['decorations']=this['buildDeco'](_0x2b2460,getHighlighters(_0x2b2460['state'])),this['decoratedTo']=_0x2b2460['viewport']['to'];}['update'](_0x490aaa){let _0x4d27f3=syntaxTree(_0x490aaa['state']),_0x30fd55=getHighlighters(_0x490aaa['state']),_0x4a270e=_0x30fd55!=getHighlighters(_0x490aaa['startState']),{viewport:_0xd38e5c}=_0x490aaa['view'],_0x223b2e=_0x490aaa['changes']['mapPos'](this['decoratedTo'],0x1);_0x4d27f3['length']<_0xd38e5c['to']&&!_0x4a270e&&_0x4d27f3['type']==this['tree']['type']&&_0x223b2e>=_0xd38e5c['to']?(this['decorations']=this['decorations']['map'](_0x490aaa['changes']),this['decoratedTo']=_0x223b2e):(_0x4d27f3!=this['tree']||_0x490aaa['viewportChanged']||_0x4a270e)&&(this['tree']=_0x4d27f3,this['decorations']=this['buildDeco'](_0x490aaa['view'],_0x30fd55),this['decoratedTo']=_0xd38e5c['to']);}['buildDeco'](_0x429b54,_0x1c9ba5){if(!_0x1c9ba5||!this['tree']['length'])return Decoration['none'];let _0x1e144c=new RangeSetBuilder();for(let {from:_0x59d02f,to:_0x5151c5}of _0x429b54['visibleRanges'])highlightTree(this['tree'],_0x1c9ba5,(_0x2376e6,_0x57684c,_0xa648aa)=>{_0x1e144c['add'](_0x2376e6,_0x57684c,this['markCache'][_0xa648aa]||(this['markCache'][_0xa648aa]=Decoration['mark']({'class':_0xa648aa})));},_0x59d02f,_0x5151c5);return _0x1e144c['finish']();}}const treeHighlighter=_0x346fa8['high'](_0x2e3bc0['fromClass'](TreeHighlighter,{'decorations':_0x3ba2f0=>_0x3ba2f0['decorations']})),defaultHighlightStyle=HighlightStyle['define']([{'tag':tags$1['meta'],'color':'#404740'},{'tag':tags$1['link'],'textDecoration':'underline'},{'tag':tags$1['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':tags$1['emphasis'],'fontStyle':'italic'},{'tag':tags$1['strong'],'fontWeight':'bold'},{'tag':tags$1['strikethrough'],'textDecoration':'line-through'},{'tag':tags$1['keyword'],'color':'#708'},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['url'],tags$1['contentSeparator'],tags$1['labelName']],'color':'#219'},{'tag':[tags$1['literal'],tags$1['inserted']],'color':'#164'},{'tag':[tags$1['string'],tags$1['deleted']],'color':'#a11'},{'tag':[tags$1['regexp'],tags$1['escape'],tags$1['special'](tags$1['string'])],'color':'#e40'},{'tag':tags$1['definition'](tags$1['variableName']),'color':'#00f'},{'tag':tags$1['local'](tags$1['variableName']),'color':'#30a'},{'tag':[tags$1['typeName'],tags$1['namespace']],'color':'#085'},{'tag':tags$1['className'],'color':'#167'},{'tag':[tags$1['special'](tags$1['variableName']),tags$1['macroName']],'color':'#256'},{'tag':tags$1['definition'](tags$1['propertyName']),'color':'#00c'},{'tag':tags$1['comment'],'color':'#940'},{'tag':tags$1['invalid'],'color':'#f00'}]),_0x423751=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),DefaultScanDist=0x2710,DefaultBrackets='()[]{}',bracketMatchingConfig=Facet['define']({'combine':_0x20e4f0=>_0x3c2ae7(_0x20e4f0,{'afterCursor':!0x0,'brackets':DefaultBrackets,'maxScanDistance':DefaultScanDist,'renderMatch':defaultRenderMatch})}),matchingMark=Decoration['mark']({'class':'cm-matchingBracket'}),nonmatchingMark=Decoration['mark']({'class':'cm-nonmatchingBracket'});function defaultRenderMatch(_0x35925b){let _0x4f1cd9=[],_0x47a2f5=_0x35925b['matched']?matchingMark:nonmatchingMark;return _0x4f1cd9['push'](_0x47a2f5['range'](_0x35925b['start']['from'],_0x35925b['start']['to'])),_0x35925b['end']&&_0x4f1cd9['push'](_0x47a2f5['range'](_0x35925b['end']['from'],_0x35925b['end']['to'])),_0x4f1cd9;}const bracketMatchingState=StateField['define']({'create':()=>Decoration['none'],'update'(_0x24954a,_0x253a48){if(!_0x253a48['docChanged']&&!_0x253a48['selection'])return _0x24954a;let _0x39b15b=[],_0x337406=_0x253a48['state']['facet'](bracketMatchingConfig);for(let _0x44e71d of _0x253a48['state']['selection']['ranges']){if(!_0x44e71d['empty'])continue;let _0x388de9=matchBrackets(_0x253a48['state'],_0x44e71d['head'],-0x1,_0x337406)||_0x44e71d['head']>0x0&&matchBrackets(_0x253a48['state'],_0x44e71d['head']-0x1,0x1,_0x337406)||_0x337406['afterCursor']&&(matchBrackets(_0x253a48['state'],_0x44e71d['head'],0x1,_0x337406)||_0x44e71d['head']<_0x253a48['state']['doc']['length']&&matchBrackets(_0x253a48['state'],_0x44e71d['head']+0x1,-0x1,_0x337406));_0x388de9&&(_0x39b15b=_0x39b15b['concat'](_0x337406['renderMatch'](_0x388de9,_0x253a48['state'])));}return Decoration['set'](_0x39b15b,!0x0);},'provide':_0x242fb1=>EditorView['decorations']['from'](_0x242fb1)}),bracketMatchingUnique=[bracketMatchingState,_0x423751];function bracketMatching(_0x1c34bc={}){return[bracketMatchingConfig['of'](_0x1c34bc),bracketMatchingUnique];}const bracketMatchingHandle=new _0x323035();function matchingNodes(_0x2d72b5,_0x597012,_0x52da65){let _0xdb35d8=_0x2d72b5['prop'](_0x597012<0x0?_0x323035['openedBy']:_0x323035['closedBy']);if(_0xdb35d8)return _0xdb35d8;if(0x1==_0x2d72b5['name']['length']){let _0x259177=_0x52da65['indexOf'](_0x2d72b5['name']);if(_0x259177>-0x1&&_0x259177%0x2==(_0x597012<0x0?0x1:0x0))return[_0x52da65[_0x259177+_0x597012]];}return null;}function _0x5e98ec(_0x5a3b66){let _0x433ffd=_0x5a3b66['type']['prop'](bracketMatchingHandle);return _0x433ffd?_0x433ffd(_0x5a3b66['node']):_0x5a3b66;}function matchBrackets(_0x2136f4,_0x365a70,_0x1bc49a,_0x386c56={}){let _0x2de434=_0x386c56['maxScanDistance']||DefaultScanDist,_0x10c9a9=_0x386c56['brackets']||DefaultBrackets,_0x2e2f12=syntaxTree(_0x2136f4),_0x2801f1=_0x2e2f12['resolveInner'](_0x365a70,_0x1bc49a);for(let _0x4c5e7b=_0x2801f1;_0x4c5e7b;_0x4c5e7b=_0x4c5e7b['parent']){let _0x357eb8=matchingNodes(_0x4c5e7b['type'],_0x1bc49a,_0x10c9a9);if(_0x357eb8&&_0x4c5e7b['from']<_0x4c5e7b['to']){let _0x39ba49=_0x5e98ec(_0x4c5e7b);if(_0x39ba49&&(_0x1bc49a>0x0?_0x365a70>=_0x39ba49['from']&&_0x365a70<_0x39ba49['to']:_0x365a70>_0x39ba49['from']&&_0x365a70<=_0x39ba49['to']))return matchMarkedBrackets(_0x2136f4,_0x365a70,_0x1bc49a,_0x4c5e7b,_0x39ba49,_0x357eb8,_0x10c9a9);}}return matchPlainBrackets(_0x2136f4,_0x365a70,_0x1bc49a,_0x2e2f12,_0x2801f1['type'],_0x2de434,_0x10c9a9);}function matchMarkedBrackets(_0x141d2c,_0x12346f,_0x50c718,_0x50094e,_0x5bfbcf,_0x20fae7,_0x389cc3){let _0x32694b=_0x50094e['parent'],_0x5b4cf9={'from':_0x5bfbcf['from'],'to':_0x5bfbcf['to']},_0x451b72=0x0,_0x44dc28=null==_0x32694b?void 0x0:_0x32694b['cursor']();if(_0x44dc28&&(_0x50c718<0x0?_0x44dc28['childBefore'](_0x50094e['from']):_0x44dc28['childAfter'](_0x50094e['to'])))do{if(_0x50c718<0x0?_0x44dc28['to']<=_0x50094e['from']:_0x44dc28['from']>=_0x50094e['to']){if(0x0==_0x451b72&&_0x20fae7['indexOf'](_0x44dc28['type']['name'])>-0x1&&_0x44dc28['from']<_0x44dc28['to']){let _0x22ddf8=_0x5e98ec(_0x44dc28);return{'start':_0x5b4cf9,'end':_0x22ddf8?{'from':_0x22ddf8['from'],'to':_0x22ddf8['to']}:void 0x0,'matched':!0x0};}if(matchingNodes(_0x44dc28['type'],_0x50c718,_0x389cc3))_0x451b72++;else{if(matchingNodes(_0x44dc28['type'],-_0x50c718,_0x389cc3)){if(0x0==_0x451b72){let _0x320010=_0x5e98ec(_0x44dc28);return{'start':_0x5b4cf9,'end':_0x320010&&_0x320010['from']<_0x320010['to']?{'from':_0x320010['from'],'to':_0x320010['to']}:void 0x0,'matched':!0x1};}_0x451b72--;}}}}while(_0x50c718<0x0?_0x44dc28['prevSibling']():_0x44dc28['nextSibling']());return{'start':_0x5b4cf9,'matched':!0x1};}function matchPlainBrackets(_0xf998c2,_0x1292c2,_0x2bc304,_0x5f54c4,_0x5b0a06,_0x3ecd2a,_0x26cb44){let _0x477afd=_0x2bc304<0x0?_0xf998c2['sliceDoc'](_0x1292c2-0x1,_0x1292c2):_0xf998c2['sliceDoc'](_0x1292c2,_0x1292c2+0x1),_0x489918=_0x26cb44['indexOf'](_0x477afd);if(_0x489918<0x0||_0x489918%0x2==0x0!=_0x2bc304>0x0)return null;let _0x41a791={'from':_0x2bc304<0x0?_0x1292c2-0x1:_0x1292c2,'to':_0x2bc304>0x0?_0x1292c2+0x1:_0x1292c2},_0x528805=_0xf998c2['doc']['iterRange'](_0x1292c2,_0x2bc304>0x0?_0xf998c2['doc']['length']:0x0),_0x592688=0x0;for(let _0x1f4268=0x0;!_0x528805['next']()['done']&&_0x1f4268<=_0x3ecd2a;){let _0x160ef2=_0x528805['value'];_0x2bc304<0x0&&(_0x1f4268+=_0x160ef2['length']);let _0x49703a=_0x1292c2+_0x1f4268*_0x2bc304;for(let _0x33f72c=_0x2bc304>0x0?0x0:_0x160ef2['length']-0x1,_0x437eb9=_0x2bc304>0x0?_0x160ef2['length']:-0x1;_0x33f72c!=_0x437eb9;_0x33f72c+=_0x2bc304){let _0x32fba5=_0x26cb44['indexOf'](_0x160ef2[_0x33f72c]);if(!(_0x32fba5<0x0||_0x5f54c4['resolveInner'](_0x49703a+_0x33f72c,0x1)['type']!=_0x5b0a06)){if(_0x32fba5%0x2==0x0==_0x2bc304>0x0)_0x592688++;else{if(0x1==_0x592688)return{'start':_0x41a791,'end':{'from':_0x49703a+_0x33f72c,'to':_0x49703a+_0x33f72c+0x1},'matched':_0x32fba5>>0x1==_0x489918>>0x1};_0x592688--;}}}_0x2bc304>0x0&&(_0x1f4268+=_0x160ef2['length']);}return _0x528805['done']?{'start':_0x41a791,'matched':!0x1}:null;}const _0x3300df=Object['create'](null),typeArray=[_0xcfe90f['none']],_0xdbaa76=[],_0x221eed=Object['create'](null),defaultTable=Object['create'](null);for(let [_0x38d460,_0x54bf4e]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']])defaultTable[_0x38d460]=createTokenType(_0x3300df,_0x54bf4e);function warnForPart(_0x16371e,_0x1fd312){_0xdbaa76['indexOf'](_0x16371e)>-0x1||(_0xdbaa76['push'](_0x16371e),console['warn'](_0x1fd312));}function createTokenType(_0x86cb17,_0x1c70fd){let _0x26730c=[];for(let _0x51fe19 of _0x1c70fd['split']('\x20')){let _0x2569e9=[];for(let _0x4d5c7e of _0x51fe19['split']('.')){let _0x639058=_0x86cb17[_0x4d5c7e]||tags$1[_0x4d5c7e];_0x639058?'function'==typeof _0x639058?_0x2569e9['length']?_0x2569e9=_0x2569e9['map'](_0x639058):warnForPart(_0x4d5c7e,'Modifier\x20'+_0x4d5c7e+'\x20used\x20at\x20start\x20of\x20tag'):_0x2569e9['length']?warnForPart(_0x4d5c7e,'Tag\x20'+_0x4d5c7e+'\x20used\x20as\x20modifier'):_0x2569e9=Array['isArray'](_0x639058)?_0x639058:[_0x639058]:warnForPart(_0x4d5c7e,'Unknown\x20highlighting\x20tag\x20'+_0x4d5c7e);}for(let _0x361f20 of _0x2569e9)_0x26730c['push'](_0x361f20);}if(!_0x26730c['length'])return 0x0;let _0x1d6812=_0x1c70fd['replace'](/ /g,'_'),_0x49b83c=_0x1d6812+'\x20'+_0x26730c['map'](t=>t['id']),_0x876a67=_0x221eed[_0x49b83c];if(_0x876a67)return _0x876a67['id'];let _0x57f4d5=_0x221eed[_0x49b83c]=_0xcfe90f['define']({'id':typeArray['length'],'name':_0x1d6812,'props':[styleTags({[_0x1d6812]:_0x26730c})]});return typeArray['push'](_0x57f4d5),_0x57f4d5['id'];}Direction['RTL'],Direction['LTR'];const toggleComment=_0xf1d498=>{let {state:_0x58b0a8}=_0xf1d498,_0x12db03=_0x58b0a8['doc']['lineAt'](_0x58b0a8['selection']['main']['from']),_0x2ed098=getConfig(_0xf1d498['state'],_0x12db03['from']);return _0x2ed098['line']?toggleLineComment(_0xf1d498):!!_0x2ed098['block']&&toggleBlockCommentByLine(_0xf1d498);};function _0x30aac9(_0x11cc0d,_0x1e5196){return({state:_0xf8cd78,dispatch:_0x1056ef})=>{if(_0xf8cd78['readOnly'])return!0x1;let _0x5c3bf1=_0x11cc0d(_0x1e5196,_0xf8cd78);return!!_0x5c3bf1&&(_0x1056ef(_0xf8cd78['update'](_0x5c3bf1)),!0x0);};}const toggleLineComment=_0x30aac9(changeLineComment,0x0),toggleBlockComment=_0x30aac9(changeBlockComment,0x0),toggleBlockCommentByLine=_0x30aac9((_0x917bab,_0x18586f)=>changeBlockComment(_0x917bab,_0x18586f,selectedLineRanges(_0x18586f)),0x0);function getConfig(_0x4246ce,_0x4bd86e){let _0x16a95c=_0x4246ce['languageDataAt']('commentTokens',_0x4bd86e,0x1);return _0x16a95c['length']?_0x16a95c[0x0]:{};}const _0x1f56d7=0x32;function findBlockComment(_0x5988a3,{open:_0x29dbe4,close:_0x26262c},_0x2de5f8,_0x1cab17){let _0x75a9eb,_0x3f09d7,_0xe3bb3b=_0x5988a3['sliceDoc'](_0x2de5f8-_0x1f56d7,_0x2de5f8),_0x12f058=_0x5988a3['sliceDoc'](_0x1cab17,_0x1cab17+_0x1f56d7),_0x1deb5d=/\s*$/['exec'](_0xe3bb3b)[0x0]['length'],_0x47682d=/^\s*/['exec'](_0x12f058)[0x0]['length'],_0x2784d3=_0xe3bb3b['length']-_0x1deb5d;if(_0xe3bb3b['slice'](_0x2784d3-_0x29dbe4['length'],_0x2784d3)==_0x29dbe4&&_0x12f058['slice'](_0x47682d,_0x47682d+_0x26262c['length'])==_0x26262c)return{'open':{'pos':_0x2de5f8-_0x1deb5d,'margin':_0x1deb5d&&0x1},'close':{'pos':_0x1cab17+_0x47682d,'margin':_0x47682d&&0x1}};_0x1cab17-_0x2de5f8<=0x2*_0x1f56d7?_0x75a9eb=_0x3f09d7=_0x5988a3['sliceDoc'](_0x2de5f8,_0x1cab17):(_0x75a9eb=_0x5988a3['sliceDoc'](_0x2de5f8,_0x2de5f8+_0x1f56d7),_0x3f09d7=_0x5988a3['sliceDoc'](_0x1cab17-_0x1f56d7,_0x1cab17));let _0x465eda=/^\s*/['exec'](_0x75a9eb)[0x0]['length'],_0x1b86d4=/\s*$/['exec'](_0x3f09d7)[0x0]['length'],_0x424f5f=_0x3f09d7['length']-_0x1b86d4-_0x26262c['length'];return _0x75a9eb['slice'](_0x465eda,_0x465eda+_0x29dbe4['length'])==_0x29dbe4&&_0x3f09d7['slice'](_0x424f5f,_0x424f5f+_0x26262c['length'])==_0x26262c?{'open':{'pos':_0x2de5f8+_0x465eda+_0x29dbe4['length'],'margin':/\s/['test'](_0x75a9eb['charAt'](_0x465eda+_0x29dbe4['length']))?0x1:0x0},'close':{'pos':_0x1cab17-_0x1b86d4-_0x26262c['length'],'margin':/\s/['test'](_0x3f09d7['charAt'](_0x424f5f-0x1))?0x1:0x0}}:null;}function selectedLineRanges(_0x6d574a){let _0x3b7b30=[];for(let _0x2fb2ca of _0x6d574a['selection']['ranges']){let _0x83645=_0x6d574a['doc']['lineAt'](_0x2fb2ca['from']),_0x1a4ca7=_0x2fb2ca['to']<=_0x83645['to']?_0x83645:_0x6d574a['doc']['lineAt'](_0x2fb2ca['to']);_0x1a4ca7['from']>_0x83645['from']&&_0x1a4ca7['from']==_0x2fb2ca['to']&&(_0x1a4ca7=_0x2fb2ca['to']==_0x83645['to']+0x1?_0x83645:_0x6d574a['doc']['lineAt'](_0x2fb2ca['to']-0x1));let _0x4c4099=_0x3b7b30['length']-0x1;_0x4c4099>=0x0&&_0x3b7b30[_0x4c4099]['to']>_0x83645['from']?_0x3b7b30[_0x4c4099]['to']=_0x1a4ca7['to']:_0x3b7b30['push']({'from':_0x83645['from']+/^\s*/['exec'](_0x83645['text'])[0x0]['length'],'to':_0x1a4ca7['to']});}return _0x3b7b30;}function changeBlockComment(_0x53e2b1,_0x3b44ea,_0x4d6216=_0x3b44ea['selection']['ranges']){let _0x30baf6=_0x4d6216['map'](_0x462e71=>getConfig(_0x3b44ea,_0x462e71['from'])['block']);if(!_0x30baf6['every'](_0x2342e4=>_0x2342e4))return null;let _0x1734fd=_0x4d6216['map']((_0x3427aa,_0x36d7c4)=>findBlockComment(_0x3b44ea,_0x30baf6[_0x36d7c4],_0x3427aa['from'],_0x3427aa['to']));if(0x2!=_0x53e2b1&&!_0x1734fd['every'](_0x26260a=>_0x26260a))return{'changes':_0x3b44ea['changes'](_0x4d6216['map']((_0x350b15,_0x53d2c0)=>_0x1734fd[_0x53d2c0]?[]:[{'from':_0x350b15['from'],'insert':_0x30baf6[_0x53d2c0]['open']+'\x20'},{'from':_0x350b15['to'],'insert':'\x20'+_0x30baf6[_0x53d2c0]['close']}]))};if(0x1!=_0x53e2b1&&_0x1734fd['some'](_0x9cf408=>_0x9cf408)){let _0x30c5ab=[];for(let _0x4c792b,_0x58816a=0x0;_0x58816a<_0x1734fd['length'];_0x58816a++)if(_0x4c792b=_0x1734fd[_0x58816a]){let _0x20448c=_0x30baf6[_0x58816a],{open:_0x3cb8b1,close:_0x2798ab}=_0x4c792b;_0x30c5ab['push']({'from':_0x3cb8b1['pos']-_0x20448c['open']['length'],'to':_0x3cb8b1['pos']+_0x3cb8b1['margin']},{'from':_0x2798ab['pos']-_0x2798ab['margin'],'to':_0x2798ab['pos']+_0x20448c['close']['length']});}return{'changes':_0x30c5ab};}return null;}function changeLineComment(_0x2b163b,_0x4ce7c2,_0x4fa65d=_0x4ce7c2['selection']['ranges']){let _0x17c16a=[],_0x15399b=-0x1;for(let {from:_0x53d657,to:_0x22b057}of _0x4fa65d){let _0x65530c=_0x17c16a['length'],_0x1dcf1d=0x3b9aca00,_0xec6195=getConfig(_0x4ce7c2,_0x53d657)['line'];if(_0xec6195){for(let _0x447c6a=_0x53d657;_0x447c6a<=_0x22b057;){let _0x5bccde=_0x4ce7c2['doc']['lineAt'](_0x447c6a);if(_0x5bccde['from']>_0x15399b&&(_0x53d657==_0x22b057||_0x22b057>_0x5bccde['from'])){_0x15399b=_0x5bccde['from'];let _0xfa3057=/^\s*/['exec'](_0x5bccde['text'])[0x0]['length'],_0x573871=_0xfa3057==_0x5bccde['length'],_0x54ec61=_0x5bccde['text']['slice'](_0xfa3057,_0xfa3057+_0xec6195['length'])==_0xec6195?_0xfa3057:-0x1;_0xfa3057<_0x5bccde['text']['length']&&_0xfa3057<_0x1dcf1d&&(_0x1dcf1d=_0xfa3057),_0x17c16a['push']({'line':_0x5bccde,'comment':_0x54ec61,'token':_0xec6195,'indent':_0xfa3057,'empty':_0x573871,'single':!0x1});}_0x447c6a=_0x5bccde['to']+0x1;}if(_0x1dcf1d<0x3b9aca00){for(let _0xb1bcb5=_0x65530c;_0xb1bcb5<_0x17c16a['length'];_0xb1bcb5++)_0x17c16a[_0xb1bcb5]['indent']<_0x17c16a[_0xb1bcb5]['line']['text']['length']&&(_0x17c16a[_0xb1bcb5]['indent']=_0x1dcf1d);}_0x17c16a['length']==_0x65530c+0x1&&(_0x17c16a[_0x65530c]['single']=!0x0);}}if(0x2!=_0x2b163b&&_0x17c16a['some'](_0x235868=>_0x235868['comment']<0x0&&(!_0x235868['empty']||_0x235868['single']))){let _0x49e1e=[];for(let {line:_0x4dc374,token:_0x11809b,indent:_0x20b2e2,empty:_0x797858,single:_0x1beebf}of _0x17c16a)!_0x1beebf&&_0x797858||_0x49e1e['push']({'from':_0x4dc374['from']+_0x20b2e2,'insert':_0x11809b+'\x20'});let _0x258b3d=_0x4ce7c2['changes'](_0x49e1e);return{'changes':_0x258b3d,'selection':_0x4ce7c2['selection']['map'](_0x258b3d,0x1)};}if(0x1!=_0x2b163b&&_0x17c16a['some'](_0x54ca4c=>_0x54ca4c['comment']>=0x0)){let _0x26b2c7=[];for(let {line:_0x426f08,comment:_0x2eee53,token:_0xdb7d70}of _0x17c16a)if(_0x2eee53>=0x0){let _0xbd53dc=_0x426f08['from']+_0x2eee53,_0x321898=_0xbd53dc+_0xdb7d70['length'];'\x20'==_0x426f08['text'][_0x321898-_0x426f08['from']]&&_0x321898++,_0x26b2c7['push']({'from':_0xbd53dc,'to':_0x321898});}return{'changes':_0x26b2c7};}return null;}const fromHistory=Annotation['define'](),isolateHistory=Annotation['define'](),invertedEffects=Facet['define'](),historyConfig=Facet['define']({'combine':_0x5e675e=>_0x3c2ae7(_0x5e675e,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x30d6de,_0x56eb6b)=>_0x56eb6b},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x407209,_0x4f60fb)=>(_0xa2faad,_0x414bd2)=>_0x407209(_0xa2faad,_0x414bd2)||_0x4f60fb(_0xa2faad,_0x414bd2)})}),historyField_=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x2375cf,_0x4089dc){let _0x589d73=_0x4089dc['state']['facet'](historyConfig),_0x50ec0e=_0x4089dc['annotation'](fromHistory);if(_0x50ec0e){let _0x46e24a=HistEvent['fromTransaction'](_0x4089dc,_0x50ec0e['selection']),_0xff4946=_0x50ec0e['side'],_0x4836eb=0x0==_0xff4946?_0x2375cf['undone']:_0x2375cf['done'];return _0x4836eb=_0x46e24a?updateBranch(_0x4836eb,_0x4836eb['length'],_0x589d73['minDepth'],_0x46e24a):addSelection(_0x4836eb,_0x4089dc['startState']['selection']),new HistoryState(0x0==_0xff4946?_0x50ec0e['rest']:_0x4836eb,0x0==_0xff4946?_0x4836eb:_0x50ec0e['rest']);}let _0x58eb7c=_0x4089dc['annotation'](isolateHistory);if('full'!=_0x58eb7c&&'before'!=_0x58eb7c||(_0x2375cf=_0x2375cf['isolate']()),!0x1===_0x4089dc['annotation'](Transaction['addToHistory']))return _0x4089dc['changes']['empty']?_0x2375cf:_0x2375cf['addMapping'](_0x4089dc['changes']['desc']);let _0x4edff8=HistEvent['fromTransaction'](_0x4089dc),_0x56b13a=_0x4089dc['annotation'](Transaction['time']),_0x19088a=_0x4089dc['annotation'](Transaction['userEvent']);return _0x4edff8?_0x2375cf=_0x2375cf['addChanges'](_0x4edff8,_0x56b13a,_0x19088a,_0x589d73,_0x4089dc):_0x4089dc['selection']&&(_0x2375cf=_0x2375cf['addSelection'](_0x4089dc['startState']['selection'],_0x56b13a,_0x19088a,_0x589d73['newGroupDelay'])),'full'!=_0x58eb7c&&'after'!=_0x58eb7c||(_0x2375cf=_0x2375cf['isolate']()),_0x2375cf;},'toJSON':_0x20a9fe=>({'done':_0x20a9fe['done']['map'](_0xc30f33=>_0xc30f33['toJSON']()),'undone':_0x20a9fe['undone']['map'](_0xd6b941=>_0xd6b941['toJSON']())}),'fromJSON':_0x2ea4a4=>new HistoryState(_0x2ea4a4['done']['map'](HistEvent['fromJSON']),_0x2ea4a4['undone']['map'](HistEvent['fromJSON']))});function history(_0x3f4ff7={}){return[historyField_,historyConfig['of'](_0x3f4ff7),EditorView['domEventHandlers']({'beforeinput'(_0x26751e,_0x3550c9){let _0x3ac937='historyUndo'==_0x26751e['inputType']?_0x2c2b00:'historyRedo'==_0x26751e['inputType']?_0x44186f:null;return!!_0x3ac937&&(_0x26751e['preventDefault'](),_0x3ac937(_0x3550c9));}})];}function _0x58b81f(_0x392aad,_0x5cb9ad){return function({state:_0x27961b,dispatch:_0x46ab5b}){if(!_0x5cb9ad&&_0x27961b['readOnly'])return!0x1;let _0x4f6cf2=_0x27961b['field'](historyField_,!0x1);if(!_0x4f6cf2)return!0x1;let _0x1e4e7e=_0x4f6cf2['pop'](_0x392aad,_0x27961b,_0x5cb9ad);return!!_0x1e4e7e&&(_0x46ab5b(_0x1e4e7e),!0x0);};}const _0x2c2b00=_0x58b81f(0x0,!0x1),_0x44186f=_0x58b81f(0x1,!0x1),undoSelection=_0x58b81f(0x0,!0x0),redoSelection=_0x58b81f(0x1,!0x0);class HistEvent{constructor(_0x27f2d6,_0x521295,_0x3d3121,_0x5780f7,_0x335936){this['changes']=_0x27f2d6,this['effects']=_0x521295,this['mapped']=_0x3d3121,this['startSelection']=_0x5780f7,this['selectionsAfter']=_0x335936;}['setSelAfter'](_0x53f96d){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x53f96d);}['toJSON'](){var _0x2197c5,_0x1017fe,_0x3c0ae5;return{'changes':null===(_0x2197c5=this['changes'])||void 0x0===_0x2197c5?void 0x0:_0x2197c5['toJSON'](),'mapped':null===(_0x1017fe=this['mapped'])||void 0x0===_0x1017fe?void 0x0:_0x1017fe['toJSON'](),'startSelection':null===(_0x3c0ae5=this['startSelection'])||void 0x0===_0x3c0ae5?void 0x0:_0x3c0ae5['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x1a16b3=>_0x1a16b3['toJSON']())};}static['fromJSON'](_0x46164d){return new HistEvent(_0x46164d['changes']&&ChangeSet['fromJSON'](_0x46164d['changes']),[],_0x46164d['mapped']&&_0x4000ab['fromJSON'](_0x46164d['mapped']),_0x46164d['startSelection']&&EditorSelection['fromJSON'](_0x46164d['startSelection']),_0x46164d['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x260921,_0x352d02){let _0x24b586=_0x1edcf9;for(let _0x251248 of _0x260921['startState']['facet'](invertedEffects)){let _0x1df35e=_0x251248(_0x260921);_0x1df35e['length']&&(_0x24b586=_0x24b586['concat'](_0x1df35e));}return!_0x24b586['length']&&_0x260921['changes']['empty']?null:new HistEvent(_0x260921['changes']['invert'](_0x260921['startState']['doc']),_0x24b586,void 0x0,_0x352d02||_0x260921['startState']['selection'],_0x1edcf9);}static['selection'](_0x521d28){return new HistEvent(void 0x0,_0x1edcf9,void 0x0,void 0x0,_0x521d28);}}function updateBranch(_0x1f7545,_0x45fd08,_0x1324a8,_0x4eb274){let _0x12f668=_0x45fd08+0x1>_0x1324a8+0x14?_0x45fd08-_0x1324a8-0x1:0x0,_0x400fb6=_0x1f7545['slice'](_0x12f668,_0x45fd08);return _0x400fb6['push'](_0x4eb274),_0x400fb6;}function isAdjacent(_0x388cd3,_0x1d734f){let _0x383a47=[],_0x516134=!0x1;return _0x388cd3['iterChangedRanges']((_0x4dfcc7,t)=>_0x383a47['push'](_0x4dfcc7,t)),_0x1d734f['iterChangedRanges']((_0x4a42af,_0x354966,_0x311d23,t)=>{for(let _0x2e3b0f=0x0;_0x2e3b0f<_0x383a47['length'];){let _0x867489=_0x383a47[_0x2e3b0f++],_0x31bde1=_0x383a47[_0x2e3b0f++];t>=_0x867489&&_0x311d23<=_0x31bde1&&(_0x516134=!0x0);}}),_0x516134;}function eqSelectionShape(_0x3c3a31,_0x5b1b79){return _0x3c3a31['ranges']['length']==_0x5b1b79['ranges']['length']&&0x0===_0x3c3a31['ranges']['filter']((_0x2358ab,_0xb7befd)=>_0x2358ab['empty']!=_0x5b1b79['ranges'][_0xb7befd]['empty'])['length'];}function _0x201f97(_0x22b5ba,_0x40af00){return _0x22b5ba['length']?_0x40af00['length']?_0x22b5ba['concat'](_0x40af00):_0x22b5ba:_0x40af00;}const _0x1edcf9=[],MaxSelectionsPerEvent=0xc8;function addSelection(_0x79fce9,_0x4e28eb){if(_0x79fce9['length']){let _0x315f2c=_0x79fce9[_0x79fce9['length']-0x1],_0x1c5b60=_0x315f2c['selectionsAfter']['slice'](Math['max'](0x0,_0x315f2c['selectionsAfter']['length']-MaxSelectionsPerEvent));return _0x1c5b60['length']&&_0x1c5b60[_0x1c5b60['length']-0x1]['eq'](_0x4e28eb)?_0x79fce9:(_0x1c5b60['push'](_0x4e28eb),updateBranch(_0x79fce9,_0x79fce9['length']-0x1,0x3b9aca00,_0x315f2c['setSelAfter'](_0x1c5b60)));}return[HistEvent['selection']([_0x4e28eb])];}function popSelection(_0x549ce1){let _0x4ac8cd=_0x549ce1[_0x549ce1['length']-0x1],_0x14cdcb=_0x549ce1['slice']();return _0x14cdcb[_0x549ce1['length']-0x1]=_0x4ac8cd['setSelAfter'](_0x4ac8cd['selectionsAfter']['slice'](0x0,_0x4ac8cd['selectionsAfter']['length']-0x1)),_0x14cdcb;}function _0x3120a8(_0x341b28,_0x3abbc1){if(!_0x341b28['length'])return _0x341b28;let _0xe966c8=_0x341b28['length'],_0x2b7d5e=_0x1edcf9;for(;_0xe966c8;){let _0x1db53f=mapEvent(_0x341b28[_0xe966c8-0x1],_0x3abbc1,_0x2b7d5e);if(_0x1db53f['changes']&&!_0x1db53f['changes']['empty']||_0x1db53f['effects']['length']){let _0x2eee40=_0x341b28['slice'](0x0,_0xe966c8);return _0x2eee40[_0xe966c8-0x1]=_0x1db53f,_0x2eee40;}_0x3abbc1=_0x1db53f['mapped'],_0xe966c8--,_0x2b7d5e=_0x1db53f['selectionsAfter'];}return _0x2b7d5e['length']?[HistEvent['selection'](_0x2b7d5e)]:_0x1edcf9;}function mapEvent(_0x162872,_0x47a520,_0x14e8a4){let _0x5cb1e1=_0x201f97(_0x162872['selectionsAfter']['length']?_0x162872['selectionsAfter']['map'](_0x43492e=>_0x43492e['map'](_0x47a520)):_0x1edcf9,_0x14e8a4);if(!_0x162872['changes'])return HistEvent['selection'](_0x5cb1e1);let _0x350109=_0x162872['changes']['map'](_0x47a520),_0x4adb25=_0x47a520['mapDesc'](_0x162872['changes'],!0x0),_0x4a00f7=_0x162872['mapped']?_0x162872['mapped']['composeDesc'](_0x4adb25):_0x4adb25;return new HistEvent(_0x350109,StateEffect['mapEffects'](_0x162872['effects'],_0x47a520),_0x4a00f7,_0x162872['startSelection']['map'](_0x4adb25),_0x5cb1e1);}const joinableUserEvent=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x8ca773,_0xaab7ee,_0x1f45ec=0x0,_0x5e3780=void 0x0){this['done']=_0x8ca773,this['undone']=_0xaab7ee,this['prevTime']=_0x1f45ec,this['prevUserEvent']=_0x5e3780;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x301f5a,_0x2a0175,_0x18fa81,_0x31f4ee,_0x171036){let _0x46ca83=this['done'],_0x95127e=_0x46ca83[_0x46ca83['length']-0x1];return _0x46ca83=_0x95127e&&_0x95127e['changes']&&!_0x95127e['changes']['empty']&&_0x301f5a['changes']&&(!_0x18fa81||joinableUserEvent['test'](_0x18fa81))&&(!_0x95127e['selectionsAfter']['length']&&_0x2a0175-this['prevTime']<_0x31f4ee['newGroupDelay']&&_0x31f4ee['joinToEvent'](_0x171036,isAdjacent(_0x95127e['changes'],_0x301f5a['changes']))||'input.type.compose'==_0x18fa81)?updateBranch(_0x46ca83,_0x46ca83['length']-0x1,_0x31f4ee['minDepth'],new HistEvent(_0x301f5a['changes']['compose'](_0x95127e['changes']),_0x201f97(StateEffect['mapEffects'](_0x301f5a['effects'],_0x95127e['changes']),_0x95127e['effects']),_0x95127e['mapped'],_0x95127e['startSelection'],_0x1edcf9)):updateBranch(_0x46ca83,_0x46ca83['length'],_0x31f4ee['minDepth'],_0x301f5a),new HistoryState(_0x46ca83,_0x1edcf9,_0x2a0175,_0x18fa81);}['addSelection'](_0x5990b9,_0x22b166,_0x42ba29,_0x2f1a8b){let _0x533dbd=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x1edcf9;return _0x533dbd['length']>0x0&&_0x22b166-this['prevTime']<_0x2f1a8b&&_0x42ba29==this['prevUserEvent']&&_0x42ba29&&/^select($|\.)/['test'](_0x42ba29)&&eqSelectionShape(_0x533dbd[_0x533dbd['length']-0x1],_0x5990b9)?this:new HistoryState(addSelection(this['done'],_0x5990b9),this['undone'],_0x22b166,_0x42ba29);}['addMapping'](_0x150cb8){return new HistoryState(_0x3120a8(this['done'],_0x150cb8),_0x3120a8(this['undone'],_0x150cb8),this['prevTime'],this['prevUserEvent']);}['pop'](_0x2c5011,_0x4cb7df,_0x4d0718){let _0x2bbcc2=0x0==_0x2c5011?this['done']:this['undone'];if(0x0==_0x2bbcc2['length'])return null;let _0x27b791=_0x2bbcc2[_0x2bbcc2['length']-0x1],_0xa6bf22=_0x27b791['selectionsAfter'][0x0]||_0x4cb7df['selection'];if(_0x4d0718&&_0x27b791['selectionsAfter']['length'])return _0x4cb7df['update']({'selection':_0x27b791['selectionsAfter'][_0x27b791['selectionsAfter']['length']-0x1],'annotations':fromHistory['of']({'side':_0x2c5011,'rest':popSelection(_0x2bbcc2),'selection':_0xa6bf22}),'userEvent':0x0==_0x2c5011?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x27b791['changes']){let _0x5556d7=0x1==_0x2bbcc2['length']?_0x1edcf9:_0x2bbcc2['slice'](0x0,_0x2bbcc2['length']-0x1);return _0x27b791['mapped']&&(_0x5556d7=_0x3120a8(_0x5556d7,_0x27b791['mapped'])),_0x4cb7df['update']({'changes':_0x27b791['changes'],'selection':_0x27b791['startSelection'],'effects':_0x27b791['effects'],'annotations':fromHistory['of']({'side':_0x2c5011,'rest':_0x5556d7,'selection':_0xa6bf22}),'filter':!0x1,'userEvent':0x0==_0x2c5011?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x1edcf9,_0x1edcf9);const historyKeymap=[{'key':'Mod-z','run':_0x2c2b00,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x44186f,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x44186f,'preventDefault':!0x0},{'key':'Mod-u','run':undoSelection,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':redoSelection,'preventDefault':!0x0}];function updateSel(_0x3e8e36,_0x55f3bd){return EditorSelection['create'](_0x3e8e36['ranges']['map'](_0x55f3bd),_0x3e8e36['mainIndex']);}function setSel(_0x39e379,_0x37efa0){return _0x39e379['update']({'selection':_0x37efa0,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x24539b({state:_0x27f518,dispatch:_0x14f7eb},_0x55a2f4){let _0x19b499=updateSel(_0x27f518['selection'],_0x55a2f4);return!_0x19b499['eq'](_0x27f518['selection'],!0x0)&&(_0x14f7eb(setSel(_0x27f518,_0x19b499)),!0x0);}function _0x1c705a(_0x358a8d,_0x2f3447){return EditorSelection['cursor'](_0x2f3447?_0x358a8d['to']:_0x358a8d['from']);}function _0x3771f2(_0x404516,_0x35f24d){return _0x24539b(_0x404516,_0x5e8b6f=>_0x5e8b6f['empty']?_0x404516['moveByChar'](_0x5e8b6f,_0x35f24d):_0x1c705a(_0x5e8b6f,_0x35f24d));}function ltrAtCursor(_0x2ccb1f){return _0x2ccb1f['textDirectionAt'](_0x2ccb1f['state']['selection']['main']['head'])==Direction['LTR'];}const cursorCharLeft=_0x2e825b=>_0x3771f2(_0x2e825b,!ltrAtCursor(_0x2e825b)),cursorCharRight=_0x32a150=>_0x3771f2(_0x32a150,ltrAtCursor(_0x32a150));function _0x3ec5fd(_0x5ca6a4,_0x1c9dd5){return _0x24539b(_0x5ca6a4,_0x486d08=>_0x486d08['empty']?_0x5ca6a4['moveByGroup'](_0x486d08,_0x1c9dd5):_0x1c705a(_0x486d08,_0x1c9dd5));}const cursorGroupLeft=_0x3a1ccd=>_0x3ec5fd(_0x3a1ccd,!ltrAtCursor(_0x3a1ccd)),cursorGroupRight=_0x417096=>_0x3ec5fd(_0x417096,ltrAtCursor(_0x417096));function interestingNode(_0x41d6e9,_0x2e2552,_0x392ad6){if(_0x2e2552['type']['prop'](_0x392ad6))return!0x0;let _0x319e5c=_0x2e2552['to']-_0x2e2552['from'];return _0x319e5c&&(_0x319e5c>0x2||/[^\s,.;:]/['test'](_0x41d6e9['sliceDoc'](_0x2e2552['from'],_0x2e2552['to'])))||_0x2e2552['firstChild'];}function moveBySyntax(_0x3c9f11,_0x4c10f4,_0x1d057b){let _0x3f52bd,_0x490dec,_0x2bfa58=syntaxTree(_0x3c9f11)['resolveInner'](_0x4c10f4['head']),_0x50e7f3=_0x1d057b?_0x323035['closedBy']:_0x323035['openedBy'];for(let _0x2acf3a=_0x4c10f4['head'];;){let _0x28cf1e=_0x1d057b?_0x2bfa58['childAfter'](_0x2acf3a):_0x2bfa58['childBefore'](_0x2acf3a);if(!_0x28cf1e)break;interestingNode(_0x3c9f11,_0x28cf1e,_0x50e7f3)?_0x2bfa58=_0x28cf1e:_0x2acf3a=_0x1d057b?_0x28cf1e['to']:_0x28cf1e['from'];}return _0x490dec=_0x2bfa58['type']['prop'](_0x50e7f3)&&(_0x3f52bd=_0x1d057b?matchBrackets(_0x3c9f11,_0x2bfa58['from'],0x1):matchBrackets(_0x3c9f11,_0x2bfa58['to'],-0x1))&&_0x3f52bd['matched']?_0x1d057b?_0x3f52bd['end']['to']:_0x3f52bd['end']['from']:_0x1d057b?_0x2bfa58['to']:_0x2bfa58['from'],EditorSelection['cursor'](_0x490dec,_0x1d057b?-0x1:0x1);}const cursorSyntaxLeft=_0x1443e7=>_0x24539b(_0x1443e7,_0x3e28e9=>moveBySyntax(_0x1443e7['state'],_0x3e28e9,!ltrAtCursor(_0x1443e7))),cursorSyntaxRight=_0x2c16f5=>_0x24539b(_0x2c16f5,_0x5707db=>moveBySyntax(_0x2c16f5['state'],_0x5707db,ltrAtCursor(_0x2c16f5)));function _0x22240a(_0x253e0e,_0x4bedc1){return _0x24539b(_0x253e0e,_0x419ae6=>{if(!_0x419ae6['empty'])return _0x1c705a(_0x419ae6,_0x4bedc1);let _0x5ac455=_0x253e0e['moveVertically'](_0x419ae6,_0x4bedc1);return _0x5ac455['head']!=_0x419ae6['head']?_0x5ac455:_0x253e0e['moveToLineBoundary'](_0x419ae6,_0x4bedc1);});}const _0x564faf=_0x117dba=>_0x22240a(_0x117dba,!0x1),_0x3ad896=_0x5ef985=>_0x22240a(_0x5ef985,!0x0);function _0x4c0e40(_0x1fc01c){let _0x2b8a05,_0x2a5f49=_0x1fc01c['scrollDOM']['clientHeight']<_0x1fc01c['scrollDOM']['scrollHeight']-0x2,_0x44b08d=0x0,_0x54031e=0x0;if(_0x2a5f49){for(let _0x556058 of _0x1fc01c['state']['facet'](EditorView['scrollMargins'])){let _0x2bbaa4=_0x556058(_0x1fc01c);(null==_0x2bbaa4?void 0x0:_0x2bbaa4['top'])&&(_0x44b08d=Math['max'](null==_0x2bbaa4?void 0x0:_0x2bbaa4['top'],_0x44b08d)),(null==_0x2bbaa4?void 0x0:_0x2bbaa4['bottom'])&&(_0x54031e=Math['max'](null==_0x2bbaa4?void 0x0:_0x2bbaa4['bottom'],_0x54031e));}_0x2b8a05=_0x1fc01c['scrollDOM']['clientHeight']-_0x44b08d-_0x54031e;}else _0x2b8a05=(_0x1fc01c['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x44b08d,'marginBottom':_0x54031e,'selfScroll':_0x2a5f49,'height':Math['max'](_0x1fc01c['defaultLineHeight'],_0x2b8a05-0x5)};}function _0x117264(_0x8fbda6,_0x348faf){let _0x421f64,_0x62f5ac=_0x4c0e40(_0x8fbda6),{state:_0x477ad7}=_0x8fbda6,_0x2f9b27=updateSel(_0x477ad7['selection'],_0x2a54c7=>_0x2a54c7['empty']?_0x8fbda6['moveVertically'](_0x2a54c7,_0x348faf,_0x62f5ac['height']):_0x1c705a(_0x2a54c7,_0x348faf));if(_0x2f9b27['eq'](_0x477ad7['selection']))return!0x1;if(_0x62f5ac['selfScroll']){let _0x30cfc4=_0x8fbda6['coordsAtPos'](_0x477ad7['selection']['main']['head']),_0xa16c0e=_0x8fbda6['scrollDOM']['getBoundingClientRect'](),_0x31dadb=_0xa16c0e['top']+_0x62f5ac['marginTop'],_0x1d42be=_0xa16c0e['bottom']-_0x62f5ac['marginBottom'];_0x30cfc4&&_0x30cfc4['top']>_0x31dadb&&_0x30cfc4['bottom']<_0x1d42be&&(_0x421f64=EditorView['scrollIntoView'](_0x2f9b27['main']['head'],{'y':'start','yMargin':_0x30cfc4['top']-_0x31dadb}));}return _0x8fbda6['dispatch'](setSel(_0x477ad7,_0x2f9b27),{'effects':_0x421f64}),!0x0;}const _0x142839=_0x393212=>_0x117264(_0x393212,!0x1),_0x22908e=_0x159678=>_0x117264(_0x159678,!0x0);function _0x1aa82f(_0x377826,_0x5ebe65,_0x4c3769){let _0x93bc32=_0x377826['lineBlockAt'](_0x5ebe65['head']),_0x1a11f7=_0x377826['moveToLineBoundary'](_0x5ebe65,_0x4c3769);if(_0x1a11f7['head']==_0x5ebe65['head']&&_0x1a11f7['head']!=(_0x4c3769?_0x93bc32['to']:_0x93bc32['from'])&&(_0x1a11f7=_0x377826['moveToLineBoundary'](_0x5ebe65,_0x4c3769,!0x1)),!_0x4c3769&&_0x1a11f7['head']==_0x93bc32['from']&&_0x93bc32['length']){let _0xf9b55c=/^\s*/['exec'](_0x377826['state']['sliceDoc'](_0x93bc32['from'],Math['min'](_0x93bc32['from']+0x64,_0x93bc32['to'])))[0x0]['length'];_0xf9b55c&&_0x5ebe65['head']!=_0x93bc32['from']+_0xf9b55c&&(_0x1a11f7=EditorSelection['cursor'](_0x93bc32['from']+_0xf9b55c));}return _0x1a11f7;}const _0x5e2278=_0x1efa5b=>_0x24539b(_0x1efa5b,_0xd2c245=>_0x1aa82f(_0x1efa5b,_0xd2c245,!0x0)),_0x14f7be=_0x195d82=>_0x24539b(_0x195d82,_0x5112af=>_0x1aa82f(_0x195d82,_0x5112af,!0x1)),cursorLineBoundaryLeft=_0x4a0ee7=>_0x24539b(_0x4a0ee7,_0x195395=>_0x1aa82f(_0x4a0ee7,_0x195395,!ltrAtCursor(_0x4a0ee7))),cursorLineBoundaryRight=_0x113637=>_0x24539b(_0x113637,_0x17cb24=>_0x1aa82f(_0x113637,_0x17cb24,ltrAtCursor(_0x113637))),cursorLineStart=_0x681f0e=>_0x24539b(_0x681f0e,_0x593335=>EditorSelection['cursor'](_0x681f0e['lineBlockAt'](_0x593335['head'])['from'],0x1)),_0x27a8ae=_0x3293a4=>_0x24539b(_0x3293a4,_0x337238=>EditorSelection['cursor'](_0x3293a4['lineBlockAt'](_0x337238['head'])['to'],-0x1));function toMatchingBracket(_0x54b0c8,_0x4a3359,_0xfa0ced){let _0x5e01c0=!0x1,_0xa7b3c6=updateSel(_0x54b0c8['selection'],_0x29c4ad=>{let _0x582067=matchBrackets(_0x54b0c8,_0x29c4ad['head'],-0x1)||matchBrackets(_0x54b0c8,_0x29c4ad['head'],0x1)||_0x29c4ad['head']>0x0&&matchBrackets(_0x54b0c8,_0x29c4ad['head']-0x1,0x1)||_0x29c4ad['head']<_0x54b0c8['doc']['length']&&matchBrackets(_0x54b0c8,_0x29c4ad['head']+0x1,-0x1);if(!_0x582067||!_0x582067['end'])return _0x29c4ad;_0x5e01c0=!0x0;let _0x417a59=_0x582067['start']['from']==_0x29c4ad['head']?_0x582067['end']['to']:_0x582067['end']['from'];return EditorSelection['cursor'](_0x417a59);});return!!_0x5e01c0&&(_0x4a3359(setSel(_0x54b0c8,_0xa7b3c6)),!0x0);}const cursorMatchingBracket=({state:_0x41fbe9,dispatch:_0x587d9f})=>toMatchingBracket(_0x41fbe9,_0x587d9f);function extendSel(_0x4067ca,_0x5f51ac){let _0x135568=updateSel(_0x4067ca['state']['selection'],_0x2271ef=>{let _0x5410f7=_0x5f51ac(_0x2271ef);return EditorSelection['range'](_0x2271ef['anchor'],_0x5410f7['head'],_0x5410f7['goalColumn'],_0x5410f7['bidiLevel']||void 0x0);});return!_0x135568['eq'](_0x4067ca['state']['selection'])&&(_0x4067ca['dispatch'](setSel(_0x4067ca['state'],_0x135568)),!0x0);}function selectByChar(_0x1e4ba3,_0x41a076){return extendSel(_0x1e4ba3,_0x58fac5=>_0x1e4ba3['moveByChar'](_0x58fac5,_0x41a076));}const selectCharLeft=_0x4eb84a=>selectByChar(_0x4eb84a,!ltrAtCursor(_0x4eb84a)),selectCharRight=_0x3452fe=>selectByChar(_0x3452fe,ltrAtCursor(_0x3452fe));function selectByGroup(_0x49db6b,_0x44f82a){return extendSel(_0x49db6b,_0x351849=>_0x49db6b['moveByGroup'](_0x351849,_0x44f82a));}const selectGroupLeft=_0x43ef79=>selectByGroup(_0x43ef79,!ltrAtCursor(_0x43ef79)),selectGroupRight=_0x2ac981=>selectByGroup(_0x2ac981,ltrAtCursor(_0x2ac981)),selectSyntaxLeft=_0x1f560b=>extendSel(_0x1f560b,_0x44c2e5=>moveBySyntax(_0x1f560b['state'],_0x44c2e5,!ltrAtCursor(_0x1f560b))),selectSyntaxRight=_0x65dc41=>extendSel(_0x65dc41,_0x6dd4b0=>moveBySyntax(_0x65dc41['state'],_0x6dd4b0,ltrAtCursor(_0x65dc41)));function selectByLine(_0x3a101d,_0x59c541){return extendSel(_0x3a101d,_0x4d8a37=>_0x3a101d['moveVertically'](_0x4d8a37,_0x59c541));}const selectLineUp=_0x358f69=>selectByLine(_0x358f69,!0x1),selectLineDown=_0x2a2162=>selectByLine(_0x2a2162,!0x0);function selectByPage(_0x3f50c4,_0x304164){return extendSel(_0x3f50c4,_0x259db4=>_0x3f50c4['moveVertically'](_0x259db4,_0x304164,_0x4c0e40(_0x3f50c4)['height']));}const selectPageUp=_0x469a21=>selectByPage(_0x469a21,!0x1),selectPageDown=_0x203434=>selectByPage(_0x203434,!0x0),selectLineBoundaryForward=_0x4c9db0=>extendSel(_0x4c9db0,_0x3c36da=>_0x1aa82f(_0x4c9db0,_0x3c36da,!0x0)),selectLineBoundaryBackward=_0x5e8796=>extendSel(_0x5e8796,_0x182c7c=>_0x1aa82f(_0x5e8796,_0x182c7c,!0x1)),selectLineBoundaryLeft=_0x493819=>extendSel(_0x493819,_0x49cd7a=>_0x1aa82f(_0x493819,_0x49cd7a,!ltrAtCursor(_0x493819))),selectLineBoundaryRight=_0x3d07d1=>extendSel(_0x3d07d1,_0x269da5=>_0x1aa82f(_0x3d07d1,_0x269da5,ltrAtCursor(_0x3d07d1))),selectLineStart=_0x3fda83=>extendSel(_0x3fda83,_0x84ae8f=>EditorSelection['cursor'](_0x3fda83['lineBlockAt'](_0x84ae8f['head'])['from'])),selectLineEnd=_0x412210=>extendSel(_0x412210,_0x381094=>EditorSelection['cursor'](_0x412210['lineBlockAt'](_0x381094['head'])['to'])),cursorDocStart=({state:_0x21f296,dispatch:_0x54deaa})=>(_0x54deaa(setSel(_0x21f296,{'anchor':0x0})),!0x0),_0x37bc3f=({state:_0x55584b,dispatch:_0xe546cb})=>(_0xe546cb(setSel(_0x55584b,{'anchor':_0x55584b['doc']['length']})),!0x0),selectDocStart=({state:_0x1596db,dispatch:_0x38e9d8})=>(_0x38e9d8(setSel(_0x1596db,{'anchor':_0x1596db['selection']['main']['anchor'],'head':0x0})),!0x0),selectDocEnd=({state:_0x573bf9,dispatch:_0x55af93})=>(_0x55af93(setSel(_0x573bf9,{'anchor':_0x573bf9['selection']['main']['anchor'],'head':_0x573bf9['doc']['length']})),!0x0),selectAll=({state:_0x23134c,dispatch:_0x3cee0c})=>(_0x3cee0c(_0x23134c['update']({'selection':{'anchor':0x0,'head':_0x23134c['doc']['length']},'userEvent':'select'})),!0x0),selectLine=({state:_0x283657,dispatch:_0x2f2f06})=>{let _0x1325e7=selectedLineBlocks(_0x283657)['map'](({from:_0x443c5f,to:_0x3708c7})=>EditorSelection['range'](_0x443c5f,Math['min'](_0x3708c7+0x1,_0x283657['doc']['length'])));return _0x2f2f06(_0x283657['update']({'selection':EditorSelection['create'](_0x1325e7),'userEvent':'select'})),!0x0;},selectParentSyntax=({state:_0x5af4da,dispatch:_0x272c33})=>{let _0x498141=updateSel(_0x5af4da['selection'],_0x499e44=>{let _0x4c3477=syntaxTree(_0x5af4da),_0x5d5a71=_0x4c3477['resolveStack'](_0x499e44['from'],0x1);if(_0x499e44['empty']){let _0x162160=_0x4c3477['resolveStack'](_0x499e44['from'],-0x1);_0x162160['node']['from']>=_0x5d5a71['node']['from']&&_0x162160['node']['to']<=_0x5d5a71['node']['to']&&(_0x5d5a71=_0x162160);}for(let _0x6f7fe5=_0x5d5a71;_0x6f7fe5;_0x6f7fe5=_0x6f7fe5['next']){let {node:_0x3caf15}=_0x6f7fe5;if((_0x3caf15['from']<_0x499e44['from']&&_0x3caf15['to']>=_0x499e44['to']||_0x3caf15['to']>_0x499e44['to']&&_0x3caf15['from']<=_0x499e44['from'])&&_0x6f7fe5['next'])return EditorSelection['range'](_0x3caf15['to'],_0x3caf15['from']);}return _0x499e44;});return!_0x498141['eq'](_0x5af4da['selection'])&&(_0x272c33(setSel(_0x5af4da,_0x498141)),!0x0);},simplifySelection=({state:_0x40637c,dispatch:_0x54db3a})=>{let _0x206c81=_0x40637c['selection'],_0x13adff=null;return _0x206c81['ranges']['length']>0x1?_0x13adff=EditorSelection['create']([_0x206c81['main']]):_0x206c81['main']['empty']||(_0x13adff=EditorSelection['create']([EditorSelection['cursor'](_0x206c81['main']['head'])])),!!_0x13adff&&(_0x54db3a(setSel(_0x40637c,_0x13adff)),!0x0);};function deleteBy(_0x21aeeb,_0x11827d){if(_0x21aeeb['state']['readOnly'])return!0x1;let _0x7d59a1='delete.selection',{state:_0x3ba0df}=_0x21aeeb,_0x1dcb72=_0x3ba0df['changeByRange'](_0x40f963=>{let {from:_0x5978a6,to:_0x7c08d5}=_0x40f963;if(_0x5978a6==_0x7c08d5){let _0x24ae61=_0x11827d(_0x40f963);_0x24ae61<_0x5978a6?(_0x7d59a1='delete.backward',_0x24ae61=skipAtomic(_0x21aeeb,_0x24ae61,!0x1)):_0x24ae61>_0x5978a6&&(_0x7d59a1='delete.forward',_0x24ae61=skipAtomic(_0x21aeeb,_0x24ae61,!0x0)),_0x5978a6=Math['min'](_0x5978a6,_0x24ae61),_0x7c08d5=Math['max'](_0x7c08d5,_0x24ae61);}else _0x5978a6=skipAtomic(_0x21aeeb,_0x5978a6,!0x1),_0x7c08d5=skipAtomic(_0x21aeeb,_0x7c08d5,!0x0);return _0x5978a6==_0x7c08d5?{'range':_0x40f963}:{'changes':{'from':_0x5978a6,'to':_0x7c08d5},'range':EditorSelection['cursor'](_0x5978a6,_0x5978a6<_0x40f963['head']?-0x1:0x1)};});return!_0x1dcb72['changes']['empty']&&(_0x21aeeb['dispatch'](_0x3ba0df['update'](_0x1dcb72,{'scrollIntoView':!0x0,'userEvent':_0x7d59a1,'effects':'delete.selection'==_0x7d59a1?EditorView['announce']['of'](_0x3ba0df['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function skipAtomic(_0x36fdc3,_0x1bd666,_0x222428){if(_0x36fdc3 instanceof EditorView){for(let _0x28408b of _0x36fdc3['state']['facet'](EditorView['atomicRanges'])['map'](_0x3a9d72=>_0x3a9d72(_0x36fdc3)))_0x28408b['between'](_0x1bd666,_0x1bd666,(_0x5b79d1,_0x42f2c9)=>{_0x5b79d1<_0x1bd666&&_0x42f2c9>_0x1bd666&&(_0x1bd666=_0x222428?_0x42f2c9:_0x5b79d1);});}return _0x1bd666;}const deleteByChar=(_0x50c2a2,_0x9adef2,_0x5726e4)=>deleteBy(_0x50c2a2,_0x3a36a0=>{let _0x406270,_0x22fd9b,_0x4820bb=_0x3a36a0['from'],{state:_0x25aa42}=_0x50c2a2,_0x1936be=_0x25aa42['doc']['lineAt'](_0x4820bb);if(_0x5726e4&&!_0x9adef2&&_0x4820bb>_0x1936be['from']&&_0x4820bb<_0x1936be['from']+0xc8&&!/[^ \t]/['test'](_0x406270=_0x1936be['text']['slice'](0x0,_0x4820bb-_0x1936be['from']))){if('\x09'==_0x406270[_0x406270['length']-0x1])return _0x4820bb-0x1;let _0x1cf455=countColumn(_0x406270,_0x25aa42['tabSize'])%getIndentUnit(_0x25aa42)||getIndentUnit(_0x25aa42);for(let _0x50fd71=0x0;_0x50fd71<_0x1cf455&&'\x20'==_0x406270[_0x406270['length']-0x1-_0x50fd71];_0x50fd71++)_0x4820bb--;_0x22fd9b=_0x4820bb;}else _0x22fd9b=findClusterBreak(_0x1936be['text'],_0x4820bb-_0x1936be['from'],_0x9adef2,_0x9adef2)+_0x1936be['from'],_0x22fd9b==_0x4820bb&&_0x1936be['number']!=(_0x9adef2?_0x25aa42['doc']['lines']:0x1)?_0x22fd9b+=_0x9adef2?0x1:-0x1:!_0x9adef2&&/[\ufe00-\ufe0f]/['test'](_0x1936be['text']['slice'](_0x22fd9b-_0x1936be['from'],_0x4820bb-_0x1936be['from']))&&(_0x22fd9b=findClusterBreak(_0x1936be['text'],_0x22fd9b-_0x1936be['from'],!0x1,!0x1)+_0x1936be['from']);return _0x22fd9b;}),deleteCharBackward=_0x3cf50c=>deleteByChar(_0x3cf50c,!0x1,!0x0),deleteCharForward=_0x2d2a1e=>deleteByChar(_0x2d2a1e,!0x0,!0x1),deleteByGroup=(_0x55648d,_0x149cc1)=>deleteBy(_0x55648d,_0x4b0c1c=>{let _0x114752=_0x4b0c1c['head'],{state:_0x5a8a14}=_0x55648d,_0x14e87d=_0x5a8a14['doc']['lineAt'](_0x114752),_0x41c59f=_0x5a8a14['charCategorizer'](_0x114752);for(let _0x2e8079=null;;){if(_0x114752==(_0x149cc1?_0x14e87d['to']:_0x14e87d['from'])){_0x114752==_0x4b0c1c['head']&&_0x14e87d['number']!=(_0x149cc1?_0x5a8a14['doc']['lines']:0x1)&&(_0x114752+=_0x149cc1?0x1:-0x1);break;}let _0x5d3740=findClusterBreak(_0x14e87d['text'],_0x114752-_0x14e87d['from'],_0x149cc1)+_0x14e87d['from'],_0x422ee5=_0x14e87d['text']['slice'](Math['min'](_0x114752,_0x5d3740)-_0x14e87d['from'],Math['max'](_0x114752,_0x5d3740)-_0x14e87d['from']),_0x178b9b=_0x41c59f(_0x422ee5);if(null!=_0x2e8079&&_0x178b9b!=_0x2e8079)break;'\x20'==_0x422ee5&&_0x114752==_0x4b0c1c['head']||(_0x2e8079=_0x178b9b),_0x114752=_0x5d3740;}return _0x114752;}),deleteGroupBackward=_0xa920d0=>deleteByGroup(_0xa920d0,!0x1),deleteGroupForward=_0x4fcc09=>deleteByGroup(_0x4fcc09,!0x0),deleteToLineEnd=_0x14cd6d=>deleteBy(_0x14cd6d,_0x2c08a5=>{let _0x118327=_0x14cd6d['lineBlockAt'](_0x2c08a5['head'])['to'];return _0x2c08a5['head']<_0x118327?_0x118327:Math['min'](_0x14cd6d['state']['doc']['length'],_0x2c08a5['head']+0x1);}),deleteLineBoundaryBackward=_0x18a62c=>deleteBy(_0x18a62c,_0x6c9d62=>{let _0x56bc47=_0x18a62c['moveToLineBoundary'](_0x6c9d62,!0x1)['head'];return _0x6c9d62['head']>_0x56bc47?_0x56bc47:Math['max'](0x0,_0x6c9d62['head']-0x1);}),deleteLineBoundaryForward=_0x13c9a0=>deleteBy(_0x13c9a0,_0x4c8675=>{let _0xdfb1bf=_0x13c9a0['moveToLineBoundary'](_0x4c8675,!0x0)['head'];return _0x4c8675['head']<_0xdfb1bf?_0xdfb1bf:Math['min'](_0x13c9a0['state']['doc']['length'],_0x4c8675['head']+0x1);}),splitLine=({state:_0x1945c8,dispatch:_0x223117})=>{if(_0x1945c8['readOnly'])return!0x1;let _0x26c5a3=_0x1945c8['changeByRange'](_0x2c7b2b=>({'changes':{'from':_0x2c7b2b['from'],'to':_0x2c7b2b['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x2c7b2b['from'])}));return _0x223117(_0x1945c8['update'](_0x26c5a3,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;},transposeChars=({state:_0x59c04b,dispatch:_0x2dce19})=>{if(_0x59c04b['readOnly'])return!0x1;let _0x397858=_0x59c04b['changeByRange'](_0x42b011=>{if(!_0x42b011['empty']||0x0==_0x42b011['from']||_0x42b011['from']==_0x59c04b['doc']['length'])return{'range':_0x42b011};let _0x109dc0=_0x42b011['from'],_0xc0d860=_0x59c04b['doc']['lineAt'](_0x109dc0),_0x3dda36=_0x109dc0==_0xc0d860['from']?_0x109dc0-0x1:findClusterBreak(_0xc0d860['text'],_0x109dc0-_0xc0d860['from'],!0x1)+_0xc0d860['from'],_0x2cdcc1=_0x109dc0==_0xc0d860['to']?_0x109dc0+0x1:findClusterBreak(_0xc0d860['text'],_0x109dc0-_0xc0d860['from'],!0x0)+_0xc0d860['from'];return{'changes':{'from':_0x3dda36,'to':_0x2cdcc1,'insert':_0x59c04b['doc']['slice'](_0x109dc0,_0x2cdcc1)['append'](_0x59c04b['doc']['slice'](_0x3dda36,_0x109dc0))},'range':EditorSelection['cursor'](_0x2cdcc1)};});return!_0x397858['changes']['empty']&&(_0x2dce19(_0x59c04b['update'](_0x397858,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);};function selectedLineBlocks(_0x1da731){let _0x4c9809=[],_0x348003=-0x1;for(let _0x4acc67 of _0x1da731['selection']['ranges']){let _0x21d79f=_0x1da731['doc']['lineAt'](_0x4acc67['from']),_0x41b1ea=_0x1da731['doc']['lineAt'](_0x4acc67['to']);if(_0x4acc67['empty']||_0x4acc67['to']!=_0x41b1ea['from']||(_0x41b1ea=_0x1da731['doc']['lineAt'](_0x4acc67['to']-0x1)),_0x348003>=_0x21d79f['number']){let _0x58c5b9=_0x4c9809[_0x4c9809['length']-0x1];_0x58c5b9['to']=_0x41b1ea['to'],_0x58c5b9['ranges']['push'](_0x4acc67);}else _0x4c9809['push']({'from':_0x21d79f['from'],'to':_0x41b1ea['to'],'ranges':[_0x4acc67]});_0x348003=_0x41b1ea['number']+0x1;}return _0x4c9809;}function _0xe876f(_0x5b6fb6,_0x385311,_0x5bd469){if(_0x5b6fb6['readOnly'])return!0x1;let _0x3b7821=[],_0x2c6948=[];for(let _0x2349c1 of selectedLineBlocks(_0x5b6fb6)){if(_0x5bd469?_0x2349c1['to']==_0x5b6fb6['doc']['length']:0x0==_0x2349c1['from'])continue;let _0x1e265b=_0x5b6fb6['doc']['lineAt'](_0x5bd469?_0x2349c1['to']+0x1:_0x2349c1['from']-0x1),_0x32cafa=_0x1e265b['length']+0x1;if(_0x5bd469){_0x3b7821['push']({'from':_0x2349c1['to'],'to':_0x1e265b['to']},{'from':_0x2349c1['from'],'insert':_0x1e265b['text']+_0x5b6fb6['lineBreak']});for(let _0xf51876 of _0x2349c1['ranges'])_0x2c6948['push'](EditorSelection['range'](Math['min'](_0x5b6fb6['doc']['length'],_0xf51876['anchor']+_0x32cafa),Math['min'](_0x5b6fb6['doc']['length'],_0xf51876['head']+_0x32cafa)));}else{_0x3b7821['push']({'from':_0x1e265b['from'],'to':_0x2349c1['from']},{'from':_0x2349c1['to'],'insert':_0x5b6fb6['lineBreak']+_0x1e265b['text']});for(let _0x4b5303 of _0x2349c1['ranges'])_0x2c6948['push'](EditorSelection['range'](_0x4b5303['anchor']-_0x32cafa,_0x4b5303['head']-_0x32cafa));}}return!!_0x3b7821['length']&&(_0x385311(_0x5b6fb6['update']({'changes':_0x3b7821,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x2c6948,_0x5b6fb6['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}const _0x5bd968=({state:_0x1b9203,dispatch:_0x6a1e70})=>_0xe876f(_0x1b9203,_0x6a1e70,!0x1),_0x1c9740=({state:_0x244982,dispatch:_0x492e08})=>_0xe876f(_0x244982,_0x492e08,!0x0);function _0x4a4b87(_0x45d557,_0xecc769,_0x2369c6){if(_0x45d557['readOnly'])return!0x1;let _0x4c434d=[];for(let _0x4272f8 of selectedLineBlocks(_0x45d557))_0x2369c6?_0x4c434d['push']({'from':_0x4272f8['from'],'insert':_0x45d557['doc']['slice'](_0x4272f8['from'],_0x4272f8['to'])+_0x45d557['lineBreak']}):_0x4c434d['push']({'from':_0x4272f8['to'],'insert':_0x45d557['lineBreak']+_0x45d557['doc']['slice'](_0x4272f8['from'],_0x4272f8['to'])});return _0xecc769(_0x45d557['update']({'changes':_0x4c434d,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x497f19=({state:_0x37bfe6,dispatch:_0x3e3ab3})=>_0x4a4b87(_0x37bfe6,_0x3e3ab3,!0x1),_0x4e71a5=({state:_0x5f4e15,dispatch:_0x460318})=>_0x4a4b87(_0x5f4e15,_0x460318,!0x0),deleteLine=_0x1626b0=>{if(_0x1626b0['state']['readOnly'])return!0x1;let {state:_0x41bc43}=_0x1626b0,_0x310c9d=_0x41bc43['changes'](selectedLineBlocks(_0x41bc43)['map'](({from:_0x3d4e1a,to:_0x39767a})=>(_0x3d4e1a>0x0?_0x3d4e1a--:_0x39767a<_0x41bc43['doc']['length']&&_0x39767a++,{'from':_0x3d4e1a,'to':_0x39767a}))),_0x2c5db2=updateSel(_0x41bc43['selection'],_0x263617=>{let _0x3eb4e0;if(_0x1626b0['lineWrapping']){let _0x38c0f2=_0x1626b0['lineBlockAt'](_0x263617['head']),_0x48c7ec=_0x1626b0['coordsAtPos'](_0x263617['head'],_0x263617['assoc']||0x1);_0x48c7ec&&(_0x3eb4e0=_0x38c0f2['bottom']+_0x1626b0['documentTop']-_0x48c7ec['bottom']+_0x1626b0['defaultLineHeight']/0x2);}return _0x1626b0['moveVertically'](_0x263617,!0x0,_0x3eb4e0);})['map'](_0x310c9d);return _0x1626b0['dispatch']({'changes':_0x310c9d,'selection':_0x2c5db2,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;};function isBetweenBrackets(_0x55fc75,_0x13bf35){if(/\(\)|\[\]|\{\}/['test'](_0x55fc75['sliceDoc'](_0x13bf35-0x1,_0x13bf35+0x1)))return{'from':_0x13bf35,'to':_0x13bf35};let _0x4ee20b,_0x5b37df=syntaxTree(_0x55fc75)['resolveInner'](_0x13bf35),_0x5026f6=_0x5b37df['childBefore'](_0x13bf35),_0x289198=_0x5b37df['childAfter'](_0x13bf35);return _0x5026f6&&_0x289198&&_0x5026f6['to']<=_0x13bf35&&_0x289198['from']>=_0x13bf35&&(_0x4ee20b=_0x5026f6['type']['prop'](_0x323035['closedBy']))&&_0x4ee20b['indexOf'](_0x289198['name'])>-0x1&&_0x55fc75['doc']['lineAt'](_0x5026f6['to'])['from']==_0x55fc75['doc']['lineAt'](_0x289198['from'])['from']&&!/\S/['test'](_0x55fc75['sliceDoc'](_0x5026f6['to'],_0x289198['from']))?{'from':_0x5026f6['to'],'to':_0x289198['from']}:null;}const insertNewlineAndIndent=newlineAndIndent(!0x1),insertBlankLine=newlineAndIndent(!0x0);function newlineAndIndent(_0x2cd252){return({state:_0x1a0f8d,dispatch:_0x3a837b})=>{if(_0x1a0f8d['readOnly'])return!0x1;let _0x3355f8=_0x1a0f8d['changeByRange'](_0x422387=>{let {from:_0x3fc7a2,to:_0x5cf401}=_0x422387,_0x3daf79=_0x1a0f8d['doc']['lineAt'](_0x3fc7a2),_0x524741=!_0x2cd252&&_0x3fc7a2==_0x5cf401&&isBetweenBrackets(_0x1a0f8d,_0x3fc7a2);_0x2cd252&&(_0x3fc7a2=_0x5cf401=(_0x5cf401<=_0x3daf79['to']?_0x3daf79:_0x1a0f8d['doc']['lineAt'](_0x5cf401))['to']);let _0x49c38c=new IndentContext(_0x1a0f8d,{'simulateBreak':_0x3fc7a2,'simulateDoubleBreak':!!_0x524741}),_0x521376=getIndentation(_0x49c38c,_0x3fc7a2);for(null==_0x521376&&(_0x521376=countColumn(/^\s*/['exec'](_0x1a0f8d['doc']['lineAt'](_0x3fc7a2)['text'])[0x0],_0x1a0f8d['tabSize']));_0x5cf401<_0x3daf79['to']&&/\s/['test'](_0x3daf79['text'][_0x5cf401-_0x3daf79['from']]);)_0x5cf401++;_0x524741?{from:_0x3fc7a2,to:_0x5cf401}=_0x524741:_0x3fc7a2>_0x3daf79['from']&&_0x3fc7a2<_0x3daf79['from']+0x64&&!/\S/['test'](_0x3daf79['text']['slice'](0x0,_0x3fc7a2))&&(_0x3fc7a2=_0x3daf79['from']);let _0x1738c4=['',indentString(_0x1a0f8d,_0x521376)];return _0x524741&&_0x1738c4['push'](indentString(_0x1a0f8d,_0x49c38c['lineIndent'](_0x3daf79['from'],-0x1))),{'changes':{'from':_0x3fc7a2,'to':_0x5cf401,'insert':Text['of'](_0x1738c4)},'range':EditorSelection['cursor'](_0x3fc7a2+0x1+_0x1738c4[0x1]['length'])};});return _0x3a837b(_0x1a0f8d['update'](_0x3355f8,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function changeBySelectedLine(_0x83bd25,_0x38f747){let _0x964b59=-0x1;return _0x83bd25['changeByRange'](_0x4a1392=>{let _0x370397=[];for(let _0x2d47c1=_0x4a1392['from'];_0x2d47c1<=_0x4a1392['to'];){let _0x1f2c4b=_0x83bd25['doc']['lineAt'](_0x2d47c1);_0x1f2c4b['number']>_0x964b59&&(_0x4a1392['empty']||_0x4a1392['to']>_0x1f2c4b['from'])&&(_0x38f747(_0x1f2c4b,_0x370397,_0x4a1392),_0x964b59=_0x1f2c4b['number']),_0x2d47c1=_0x1f2c4b['to']+0x1;}let _0x48a3ae=_0x83bd25['changes'](_0x370397);return{'changes':_0x370397,'range':EditorSelection['range'](_0x48a3ae['mapPos'](_0x4a1392['anchor'],0x1),_0x48a3ae['mapPos'](_0x4a1392['head'],0x1))};});}const indentSelection=({state:_0x3b3ec5,dispatch:_0x2043bf})=>{if(_0x3b3ec5['readOnly'])return!0x1;let _0x49ec0c=Object['create'](null),_0x38b434=new IndentContext(_0x3b3ec5,{'overrideIndentation':_0x51de98=>{let _0x14720b=_0x49ec0c[_0x51de98];return null==_0x14720b?-0x1:_0x14720b;}}),_0x2c447b=changeBySelectedLine(_0x3b3ec5,(_0x27bd56,_0x4ee9de,_0x413868)=>{let _0x523168=getIndentation(_0x38b434,_0x27bd56['from']);if(null==_0x523168)return;/\S/['test'](_0x27bd56['text'])||(_0x523168=0x0);let _0x253f1c=/^\s*/['exec'](_0x27bd56['text'])[0x0],_0x282267=indentString(_0x3b3ec5,_0x523168);(_0x253f1c!=_0x282267||_0x413868['from']<_0x27bd56['from']+_0x253f1c['length'])&&(_0x49ec0c[_0x27bd56['from']]=_0x523168,_0x4ee9de['push']({'from':_0x27bd56['from'],'to':_0x27bd56['from']+_0x253f1c['length'],'insert':_0x282267}));});return _0x2c447b['changes']['empty']||_0x2043bf(_0x3b3ec5['update'](_0x2c447b,{'userEvent':'indent'})),!0x0;},indentMore=({state:_0xc17308,dispatch:_0x579504})=>!_0xc17308['readOnly']&&(_0x579504(_0xc17308['update'](changeBySelectedLine(_0xc17308,(_0x261298,_0x513500)=>{_0x513500['push']({'from':_0x261298['from'],'insert':_0xc17308['facet'](indentUnit)});}),{'userEvent':'input.indent'})),!0x0),indentLess=({state:_0x3497d4,dispatch:_0x551c49})=>!_0x3497d4['readOnly']&&(_0x551c49(_0x3497d4['update'](changeBySelectedLine(_0x3497d4,(_0x186eab,_0x37e4d5)=>{let _0x237ea4=/^\s*/['exec'](_0x186eab['text'])[0x0];if(!_0x237ea4)return;let _0x404c8b=countColumn(_0x237ea4,_0x3497d4['tabSize']),_0x22af35=0x0,_0x1f51bf=indentString(_0x3497d4,Math['max'](0x0,_0x404c8b-getIndentUnit(_0x3497d4)));for(;_0x22af35<_0x237ea4['length']&&_0x22af35<_0x1f51bf['length']&&_0x237ea4['charCodeAt'](_0x22af35)==_0x1f51bf['charCodeAt'](_0x22af35);)_0x22af35++;_0x37e4d5['push']({'from':_0x186eab['from']+_0x22af35,'to':_0x186eab['from']+_0x237ea4['length'],'insert':_0x1f51bf['slice'](_0x22af35)});}),{'userEvent':'delete.dedent'})),!0x0),toggleTabFocusMode=_0x508166=>(_0x508166['setTabFocusMode'](),!0x0),emacsStyleKeymap=[{'key':'Ctrl-b','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Ctrl-f','run':cursorCharRight,'shift':selectCharRight},{'key':'Ctrl-p','run':_0x564faf,'shift':selectLineUp},{'key':'Ctrl-n','run':_0x3ad896,'shift':selectLineDown},{'key':'Ctrl-a','run':cursorLineStart,'shift':selectLineStart},{'key':'Ctrl-e','run':_0x27a8ae,'shift':selectLineEnd},{'key':'Ctrl-d','run':deleteCharForward},{'key':'Ctrl-h','run':deleteCharBackward},{'key':'Ctrl-k','run':deleteToLineEnd},{'key':'Ctrl-Alt-h','run':deleteGroupBackward},{'key':'Ctrl-o','run':splitLine},{'key':'Ctrl-t','run':transposeChars},{'key':'Ctrl-v','run':_0x22908e}],standardKeymap=[{'key':'ArrowLeft','run':cursorCharLeft,'shift':selectCharLeft,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':cursorGroupLeft,'shift':selectGroupLeft,'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':cursorLineBoundaryLeft,'shift':selectLineBoundaryLeft,'preventDefault':!0x0},{'key':'ArrowRight','run':cursorCharRight,'shift':selectCharRight,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':cursorGroupRight,'shift':selectGroupRight,'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':cursorLineBoundaryRight,'shift':selectLineBoundaryRight,'preventDefault':!0x0},{'key':'ArrowUp','run':_0x564faf,'shift':selectLineUp,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':cursorDocStart,'shift':selectDocStart},{'mac':'Ctrl-ArrowUp','run':_0x142839,'shift':selectPageUp},{'key':'ArrowDown','run':_0x3ad896,'shift':selectLineDown,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x37bc3f,'shift':selectDocEnd},{'mac':'Ctrl-ArrowDown','run':_0x22908e,'shift':selectPageDown},{'key':'PageUp','run':_0x142839,'shift':selectPageUp},{'key':'PageDown','run':_0x22908e,'shift':selectPageDown},{'key':'Home','run':_0x14f7be,'shift':selectLineBoundaryBackward,'preventDefault':!0x0},{'key':'Mod-Home','run':cursorDocStart,'shift':selectDocStart},{'key':'End','run':_0x5e2278,'shift':selectLineBoundaryForward,'preventDefault':!0x0},{'key':'Mod-End','run':_0x37bc3f,'shift':selectDocEnd},{'key':'Enter','run':insertNewlineAndIndent,'shift':insertNewlineAndIndent},{'key':'Mod-a','run':selectAll},{'key':'Backspace','run':deleteCharBackward,'shift':deleteCharBackward},{'key':'Delete','run':deleteCharForward},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':deleteGroupBackward},{'key':'Mod-Delete','mac':'Alt-Delete','run':deleteGroupForward},{'mac':'Mod-Backspace','run':deleteLineBoundaryBackward},{'mac':'Mod-Delete','run':deleteLineBoundaryForward}]['concat'](emacsStyleKeymap['map'](_0x11dc08=>({'mac':_0x11dc08['key'],'run':_0x11dc08['run'],'shift':_0x11dc08['shift']}))),defaultKeymap=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':cursorSyntaxLeft,'shift':selectSyntaxLeft},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':cursorSyntaxRight,'shift':selectSyntaxRight},{'key':'Alt-ArrowUp','run':_0x5bd968},{'key':'Shift-Alt-ArrowUp','run':_0x497f19},{'key':'Alt-ArrowDown','run':_0x1c9740},{'key':'Shift-Alt-ArrowDown','run':_0x4e71a5},{'key':'Escape','run':simplifySelection},{'key':'Mod-Enter','run':insertBlankLine},{'key':'Alt-l','mac':'Ctrl-l','run':selectLine},{'key':'Mod-i','run':selectParentSyntax,'preventDefault':!0x0},{'key':'Mod-[','run':indentLess},{'key':'Mod-]','run':indentMore},{'key':'Mod-Alt-\x5c','run':indentSelection},{'key':'Shift-Mod-k','run':deleteLine},{'key':'Shift-Mod-\x5c','run':cursorMatchingBracket},{'key':'Mod-/','run':toggleComment},{'key':'Alt-A','run':toggleBlockComment},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':toggleTabFocusMode}]['concat'](standardKeymap);class CompletionContext{constructor(_0x37fa2c,_0x45eaf4,_0x11bb34,_0x2da688){this['state']=_0x37fa2c,this['pos']=_0x45eaf4,this['explicit']=_0x11bb34,this['view']=_0x2da688,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x38683d){let _0x35e2da=syntaxTree(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x35e2da&&_0x38683d['indexOf'](_0x35e2da['name'])<0x0;)_0x35e2da=_0x35e2da['parent'];return _0x35e2da?{'from':_0x35e2da['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x35e2da['from'],this['pos']),'type':_0x35e2da['type']}:null;}['matchBefore'](_0xaba391){let _0x4956d8=this['state']['doc']['lineAt'](this['pos']),_0x1e181e=Math['max'](_0x4956d8['from'],this['pos']-0xfa),_0x39895d=_0x4956d8['text']['slice'](_0x1e181e-_0x4956d8['from'],this['pos']-_0x4956d8['from']),_0x491f66=_0x39895d['search'](_0x13dcee(_0xaba391,!0x1));return _0x491f66<0x0?null:{'from':_0x1e181e+_0x491f66,'to':this['pos'],'text':_0x39895d['slice'](_0x491f66)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x428051,_0x5b0332,_0x15c064){'abort'==_0x428051&&this['abortListeners']&&(this['abortListeners']['push'](_0x5b0332),_0x15c064&&_0x15c064['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function toSet(_0x4c6813){let _0x586373=Object['keys'](_0x4c6813)['join'](''),_0x576058=/\w/['test'](_0x586373);return _0x576058&&(_0x586373=_0x586373['replace'](/\w/g,'')),'['+(_0x576058?'\x5cw':'')+_0x586373['replace'](/[^\w\s]/g,'\x5c$&')+']';}function prefixMatch(_0x3a2f80){let _0xf5f3fb=Object['create'](null),_0x3ea1eb=Object['create'](null);for(let {label:_0xe71aff}of _0x3a2f80){_0xf5f3fb[_0xe71aff[0x0]]=!0x0;for(let _0x332a0b=0x1;_0x332a0b<_0xe71aff['length'];_0x332a0b++)_0x3ea1eb[_0xe71aff[_0x332a0b]]=!0x0;}let _0x445af8=toSet(_0xf5f3fb)+toSet(_0x3ea1eb)+'*$';return[new RegExp('^'+_0x445af8),new RegExp(_0x445af8)];}function completeFromList(_0x5d16ba){let _0x15607a=_0x5d16ba['map'](_0x325cdc=>'string'==typeof _0x325cdc?{'label':_0x325cdc}:_0x325cdc),[_0x53feb5,_0x4ecbac]=_0x15607a['every'](_0x5a9618=>/^\w+$/['test'](_0x5a9618['label']))?[/\w*$/,/\w+$/]:prefixMatch(_0x15607a);return _0x19aa76=>{let _0x5802b0=_0x19aa76['matchBefore'](_0x4ecbac);return _0x5802b0||_0x19aa76['explicit']?{'from':_0x5802b0?_0x5802b0['from']:_0x19aa76['pos'],'options':_0x15607a,'validFor':_0x53feb5}:null;};}function ifNotIn(_0x20b8df,_0x2e5bc8){return _0x4b4812=>{for(let _0x28484c=syntaxTree(_0x4b4812['state'])['resolveInner'](_0x4b4812['pos'],-0x1);_0x28484c;_0x28484c=_0x28484c['parent']){if(_0x20b8df['indexOf'](_0x28484c['name'])>-0x1)return null;if(_0x28484c['type']['isTop'])break;}return _0x2e5bc8(_0x4b4812);};}class Option{constructor(_0x3b8654,_0x320440,_0x19b717,_0x41bd14){this['completion']=_0x3b8654,this['source']=_0x320440,this['match']=_0x19b717,this['score']=_0x41bd14;}}function _0x1607d8(_0xe0003c){return _0xe0003c['selection']['main']['from'];}function _0x13dcee(_0x136c7b,_0x135c72){var _0xb50d10;let {source:_0x23a1ae}=_0x136c7b,_0x569d19=_0x135c72&&'^'!=_0x23a1ae[0x0],_0x37fd3d='$'!=_0x23a1ae[_0x23a1ae['length']-0x1];return _0x569d19||_0x37fd3d?new RegExp((_0x569d19?'^':'')+'(?:'+_0x23a1ae+')'+(_0x37fd3d?'$':''),null!==(_0xb50d10=_0x136c7b['flags'])&&void 0x0!==_0xb50d10?_0xb50d10:_0x136c7b['ignoreCase']?'i':''):_0x136c7b;}const pickedCompletion=Annotation['define']();function insertCompletionText(_0x313be6,_0x215550,_0x539597,_0x273fb1){let {main:_0x30ad81}=_0x313be6['selection'],_0x114a6c=_0x539597-_0x30ad81['from'],_0x3b9772=_0x273fb1-_0x30ad81['from'];return{..._0x313be6['changeByRange'](_0x5d72cb=>{if(_0x5d72cb!=_0x30ad81&&_0x539597!=_0x273fb1&&_0x313be6['sliceDoc'](_0x5d72cb['from']+_0x114a6c,_0x5d72cb['from']+_0x3b9772)!=_0x313be6['sliceDoc'](_0x539597,_0x273fb1))return{'range':_0x5d72cb};let _0x718e1d=_0x313be6['toText'](_0x215550);return{'changes':{'from':_0x5d72cb['from']+_0x114a6c,'to':_0x273fb1==_0x30ad81['from']?_0x5d72cb['to']:_0x5d72cb['from']+_0x3b9772,'insert':_0x718e1d},'range':EditorSelection['cursor'](_0x5d72cb['from']+_0x114a6c+_0x718e1d['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x2c9a9f=new WeakMap();function _0x3bf6b9(_0x42bb45){if(!Array['isArray'](_0x42bb45))return _0x42bb45;let _0x5a8c64=_0x2c9a9f['get'](_0x42bb45);return _0x5a8c64||_0x2c9a9f['set'](_0x42bb45,_0x5a8c64=completeFromList(_0x42bb45)),_0x5a8c64;}const startCompletionEffect=StateEffect['define'](),closeCompletionEffect=StateEffect['define']();class FuzzyMatcher{constructor(_0x589bfc){this['pattern']=_0x589bfc,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x3bee32=0x0;_0x3bee32<_0x589bfc['length'];){let _0x51b7f8=codePointAt(_0x589bfc,_0x3bee32),_0x29f7c4=codePointSize(_0x51b7f8);this['chars']['push'](_0x51b7f8);let _0x24b052=_0x589bfc['slice'](_0x3bee32,_0x3bee32+_0x29f7c4),_0x31b87a=_0x24b052['toUpperCase']();this['folded']['push'](codePointAt(_0x31b87a==_0x24b052?_0x24b052['toLowerCase']():_0x31b87a,0x0)),_0x3bee32+=_0x29f7c4;}this['astral']=_0x589bfc['length']!=this['chars']['length'];}['ret'](_0x256a3d,_0x28aec9){return this['score']=_0x256a3d,this['matched']=_0x28aec9,this;}['match'](_0x44b244){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x44b244['length']<this['pattern']['length'])return null;let {chars:_0x122d89,folded:_0x475c5d,any:_0x36f41b,precise:_0x378028,byWord:_0x4d3d05}=this;if(0x1==_0x122d89['length']){let _0x1f4c40=codePointAt(_0x44b244,0x0),_0x4789b6=codePointSize(_0x1f4c40),_0x131c9a=_0x4789b6==_0x44b244['length']?0x0:-0x64;if(_0x1f4c40==_0x122d89[0x0]);else{if(_0x1f4c40!=_0x475c5d[0x0])return null;_0x131c9a+=-0xc8;}return this['ret'](_0x131c9a,[0x0,_0x4789b6]);}let _0x456ada=_0x44b244['indexOf'](this['pattern']);if(0x0==_0x456ada)return this['ret'](_0x44b244['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x34e4c7=_0x122d89['length'],_0x71ec93=0x0;if(_0x456ada<0x0){for(let _0x48e92c=0x0,_0x76f3cc=Math['min'](_0x44b244['length'],0xc8);_0x48e92c<_0x76f3cc&&_0x71ec93<_0x34e4c7;){let _0x2cf7a3=codePointAt(_0x44b244,_0x48e92c);_0x2cf7a3!=_0x122d89[_0x71ec93]&&_0x2cf7a3!=_0x475c5d[_0x71ec93]||(_0x36f41b[_0x71ec93++]=_0x48e92c),_0x48e92c+=codePointSize(_0x2cf7a3);}if(_0x71ec93<_0x34e4c7)return null;}let _0x5af070=0x0,_0x3cbccd=0x0,_0x42aeb8=!0x1,_0x319757=0x0,_0x3da0f8=-0x1,_0x4a343e=-0x1,_0x21ce72=/[a-z]/['test'](_0x44b244),_0x22bd81=!0x0;for(let _0x57affc=0x0,_0x3507bd=Math['min'](_0x44b244['length'],0xc8),_0x74122e=0x0;_0x57affc<_0x3507bd&&_0x3cbccd<_0x34e4c7;){let _0x413211=codePointAt(_0x44b244,_0x57affc);_0x456ada<0x0&&(_0x5af070<_0x34e4c7&&_0x413211==_0x122d89[_0x5af070]&&(_0x378028[_0x5af070++]=_0x57affc),_0x319757<_0x34e4c7&&(_0x413211==_0x122d89[_0x319757]||_0x413211==_0x475c5d[_0x319757]?(0x0==_0x319757&&(_0x3da0f8=_0x57affc),_0x4a343e=_0x57affc+0x1,_0x319757++):_0x319757=0x0));let _0x1bc9e2,_0x7f0613=_0x413211<0xff?_0x413211>=0x30&&_0x413211<=0x39||_0x413211>=0x61&&_0x413211<=0x7a?0x2:_0x413211>=0x41&&_0x413211<=0x5a?0x1:0x0:(_0x1bc9e2=fromCodePoint(_0x413211))!=_0x1bc9e2['toLowerCase']()?0x1:_0x1bc9e2!=_0x1bc9e2['toUpperCase']()?0x2:0x0;(!_0x57affc||0x1==_0x7f0613&&_0x21ce72||0x0==_0x74122e&&0x0!=_0x7f0613)&&(_0x122d89[_0x3cbccd]==_0x413211||_0x475c5d[_0x3cbccd]==_0x413211&&(_0x42aeb8=!0x0)?_0x4d3d05[_0x3cbccd++]=_0x57affc:_0x4d3d05['length']&&(_0x22bd81=!0x1)),_0x74122e=_0x7f0613,_0x57affc+=codePointSize(_0x413211);}return _0x3cbccd==_0x34e4c7&&0x0==_0x4d3d05[0x0]&&_0x22bd81?this['result']((_0x42aeb8?-0xc8:0x0)-0x64,_0x4d3d05,_0x44b244):_0x319757==_0x34e4c7&&0x0==_0x3da0f8?this['ret'](-0xc8-_0x44b244['length']+(_0x4a343e==_0x44b244['length']?0x0:-0x64),[0x0,_0x4a343e]):_0x456ada>-0x1?this['ret'](-0x2bc-_0x44b244['length'],[_0x456ada,_0x456ada+this['pattern']['length']]):_0x319757==_0x34e4c7?this['ret'](-0x384-_0x44b244['length'],[_0x3da0f8,_0x4a343e]):_0x3cbccd==_0x34e4c7?this['result']((_0x42aeb8?-0xc8:0x0)-0x64-0x2bc+(_0x22bd81?0x0:-0x44c),_0x4d3d05,_0x44b244):0x2==_0x122d89['length']?null:this['result']((_0x36f41b[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x36f41b,_0x44b244);}['result'](_0x3bec96,_0x142b78,_0x54c32d){let _0x44659a=[],_0xf58d28=0x0;for(let _0x1799c0 of _0x142b78){let _0x287925=_0x1799c0+(this['astral']?codePointSize(codePointAt(_0x54c32d,_0x1799c0)):0x1);_0xf58d28&&_0x44659a[_0xf58d28-0x1]==_0x1799c0?_0x44659a[_0xf58d28-0x1]=_0x287925:(_0x44659a[_0xf58d28++]=_0x1799c0,_0x44659a[_0xf58d28++]=_0x287925);}return this['ret'](_0x3bec96-_0x54c32d['length'],_0x44659a);}}class StrictMatcher{constructor(_0x4bb612){this['pattern']=_0x4bb612,this['matched']=[],this['score']=0x0,this['folded']=_0x4bb612['toLowerCase']();}['match'](_0x3043f1){if(_0x3043f1['length']<this['pattern']['length'])return null;let _0x425d0a=_0x3043f1['slice'](0x0,this['pattern']['length']),_0x4288f5=_0x425d0a==this['pattern']?0x0:_0x425d0a['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x4288f5?null:(this['matched']=[0x0,_0x425d0a['length']],this['score']=_0x4288f5+(_0x3043f1['length']==this['pattern']['length']?0x0:-0x64),this);}}const completionConfig=Facet['define']({'combine':_0x4aaeda=>_0x3c2ae7(_0x4aaeda,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':defaultPositionInfo,'filterStrict':!0x1,'compareCompletions':(_0x35bb14,_0x27a02d)=>_0x35bb14['label']['localeCompare'](_0x27a02d['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x5ed619,_0x36abc1)=>_0x5ed619&&_0x36abc1,'closeOnBlur':(_0x16cabd,_0x415188)=>_0x16cabd&&_0x415188,'icons':(_0x1489b1,_0x12b7f2)=>_0x1489b1&&_0x12b7f2,'tooltipClass':(_0x50a48a,_0x196a25)=>_0x505939=>_0x54f826(_0x50a48a(_0x505939),_0x196a25(_0x505939)),'optionClass':(_0x177391,_0x106c31)=>_0x1915ed=>_0x54f826(_0x177391(_0x1915ed),_0x106c31(_0x1915ed)),'addToOptions':(_0x58ceba,_0x26d877)=>_0x58ceba['concat'](_0x26d877),'filterStrict':(_0x6cfde4,_0x139e5d)=>_0x6cfde4||_0x139e5d})});function _0x54f826(_0xc5bf9c,_0x45a1af){return _0xc5bf9c?_0x45a1af?_0xc5bf9c+'\x20'+_0x45a1af:_0xc5bf9c:_0x45a1af;}function defaultPositionInfo(_0x3b3ae3,_0x4d8c19,_0x2130d7,_0x141364,_0xda4c53,_0x5497fb){let _0x51541b,_0x1f63bb,_0x39e06b=_0x3b3ae3['textDirection']==Direction['RTL'],_0x31e873=_0x39e06b,_0xf671f7=!0x1,_0x5179a7='top',_0xf0da3d=_0x4d8c19['left']-_0xda4c53['left'],_0x325405=_0xda4c53['right']-_0x4d8c19['right'],_0x4f89a1=_0x141364['right']-_0x141364['left'],_0xb0dcbc=_0x141364['bottom']-_0x141364['top'];if(_0x31e873&&_0xf0da3d<Math['min'](_0x4f89a1,_0x325405)?_0x31e873=!0x1:!_0x31e873&&_0x325405<Math['min'](_0x4f89a1,_0xf0da3d)&&(_0x31e873=!0x0),_0x4f89a1<=(_0x31e873?_0xf0da3d:_0x325405))_0x51541b=Math['max'](_0xda4c53['top'],Math['min'](_0x2130d7['top'],_0xda4c53['bottom']-_0xb0dcbc))-_0x4d8c19['top'],_0x1f63bb=Math['min'](0x190,_0x31e873?_0xf0da3d:_0x325405);else{_0xf671f7=!0x0,_0x1f63bb=Math['min'](0x190,(_0x39e06b?_0x4d8c19['right']:_0xda4c53['right']-_0x4d8c19['left'])-0x1e);let _0x12662c=_0xda4c53['bottom']-_0x4d8c19['bottom'];_0x12662c>=_0xb0dcbc||_0x12662c>_0x4d8c19['top']?_0x51541b=_0x2130d7['bottom']-_0x4d8c19['top']:(_0x5179a7='bottom',_0x51541b=_0x4d8c19['bottom']-_0x2130d7['top']);}return{'style':_0x5179a7+':\x20'+_0x51541b/((_0x4d8c19['bottom']-_0x4d8c19['top'])/_0x5497fb['offsetHeight'])+'px;\x20max-width:\x20'+_0x1f63bb/((_0x4d8c19['right']-_0x4d8c19['left'])/_0x5497fb['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0xf671f7?_0x39e06b?'left-narrow':'right-narrow':_0x31e873?'left':'right')};}function optionContent(_0x2be8ba){let _0x2b08c6=_0x2be8ba['addToOptions']['slice']();return _0x2be8ba['icons']&&_0x2b08c6['push']({'render'(_0x3a5ca3){let _0x1a3b9e=document['createElement']('div');return _0x1a3b9e['classList']['add']('cm-completionIcon'),_0x3a5ca3['type']&&_0x1a3b9e['classList']['add'](..._0x3a5ca3['type']['split'](/\s+/g)['map'](_0x41035d=>'cm-completionIcon-'+_0x41035d)),_0x1a3b9e['setAttribute']('aria-hidden','true'),_0x1a3b9e;},'position':0x14}),_0x2b08c6['push']({'render'(_0x4b1f33,_0x179045,_0xd00eca,_0x389f47){let _0x5e8232=document['createElement']('span');_0x5e8232['className']='cm-completionLabel';let _0xb2b44d=_0x4b1f33['displayLabel']||_0x4b1f33['label'],_0x4fca8b=0x0;for(let _0x3e6a4f=0x0;_0x3e6a4f<_0x389f47['length'];){let _0x335df6=_0x389f47[_0x3e6a4f++],_0x23bd8c=_0x389f47[_0x3e6a4f++];_0x335df6>_0x4fca8b&&_0x5e8232['appendChild'](document['createTextNode'](_0xb2b44d['slice'](_0x4fca8b,_0x335df6)));let _0x223e76=_0x5e8232['appendChild'](document['createElement']('span'));_0x223e76['appendChild'](document['createTextNode'](_0xb2b44d['slice'](_0x335df6,_0x23bd8c))),_0x223e76['className']='cm-completionMatchedText',_0x4fca8b=_0x23bd8c;}return _0x4fca8b<_0xb2b44d['length']&&_0x5e8232['appendChild'](document['createTextNode'](_0xb2b44d['slice'](_0x4fca8b))),_0x5e8232;},'position':0x32},{'render'(_0x19ba8b){if(!_0x19ba8b['detail'])return null;let _0x5e0316=document['createElement']('span');return _0x5e0316['className']='cm-completionDetail',_0x5e0316['textContent']=_0x19ba8b['detail'],_0x5e0316;},'position':0x50}),_0x2b08c6['sort']((_0x1a8c17,_0x5f57bc)=>_0x1a8c17['position']-_0x5f57bc['position'])['map'](_0x19cbfb=>_0x19cbfb['render']);}function rangeAroundSelected(_0x3cb969,_0x23f8bc,_0x412c71){if(_0x3cb969<=_0x412c71)return{'from':0x0,'to':_0x3cb969};if(_0x23f8bc<0x0&&(_0x23f8bc=0x0),_0x23f8bc<=_0x3cb969>>0x1){let _0x24d1ba=Math['floor'](_0x23f8bc/_0x412c71);return{'from':_0x24d1ba*_0x412c71,'to':(_0x24d1ba+0x1)*_0x412c71};}let _0xbaf53f=Math['floor']((_0x3cb969-_0x23f8bc)/_0x412c71);return{'from':_0x3cb969-(_0xbaf53f+0x1)*_0x412c71,'to':_0x3cb969-_0xbaf53f*_0x412c71};}class CompletionTooltip{constructor(_0x409cf4,_0x111b90,_0x49343d){this['view']=_0x409cf4,this['stateField']=_0x111b90,this['applyCompletion']=_0x49343d,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x4f19c7=>this['placeInfo'](_0x4f19c7),'key':this},this['space']=null,this['currentClass']='';let _0x20e384=_0x409cf4['state']['field'](_0x111b90),{options:_0x498427,selected:_0x3b12d7}=_0x20e384['open'],_0x54229c=_0x409cf4['state']['facet'](completionConfig);this['optionContent']=optionContent(_0x54229c),this['optionClass']=_0x54229c['optionClass'],this['tooltipClass']=_0x54229c['tooltipClass'],this['range']=rangeAroundSelected(_0x498427['length'],_0x3b12d7,_0x54229c['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x409cf4['state']),this['dom']['addEventListener']('mousedown',_0x50fe94=>{let {options:_0xfc45d8}=_0x409cf4['state']['field'](_0x111b90)['open'];for(let _0x20a858,_0x48dd80=_0x50fe94['target'];_0x48dd80&&_0x48dd80!=this['dom'];_0x48dd80=_0x48dd80['parentNode'])if('LI'==_0x48dd80['nodeName']&&(_0x20a858=/-(\d+)$/['exec'](_0x48dd80['id']))&&+_0x20a858[0x1]<_0xfc45d8['length'])return this['applyCompletion'](_0x409cf4,_0xfc45d8[+_0x20a858[0x1]]),void _0x50fe94['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x191d88=>{let _0x4f66be=_0x409cf4['state']['field'](this['stateField'],!0x1);_0x4f66be&&_0x4f66be['tooltip']&&_0x409cf4['state']['facet'](completionConfig)['closeOnBlur']&&_0x191d88['relatedTarget']!=_0x409cf4['contentDOM']&&_0x409cf4['dispatch']({'effects':closeCompletionEffect['of'](null)});}),this['showOptions'](_0x498427,_0x20e384['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x3f5acb,_0x540f83){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x3f5acb,_0x540f83,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x1c32b3){var _0x2b7049;let _0x2e5e3b=_0x1c32b3['state']['field'](this['stateField']),_0x2911f8=_0x1c32b3['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x1c32b3['state']),_0x2e5e3b!=_0x2911f8){let {options:_0x244e14,selected:_0x363dd8,disabled:_0x506cb0}=_0x2e5e3b['open'];_0x2911f8['open']&&_0x2911f8['open']['options']==_0x244e14||(this['range']=rangeAroundSelected(_0x244e14['length'],_0x363dd8,_0x1c32b3['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x244e14,_0x2e5e3b['id'])),this['updateSel'](),_0x506cb0!=(null===(_0x2b7049=_0x2911f8['open'])||void 0x0===_0x2b7049?void 0x0:_0x2b7049['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x506cb0);}}['updateTooltipClass'](_0x49df08){let _0x325ceb=this['tooltipClass'](_0x49df08);if(_0x325ceb!=this['currentClass']){for(let _0xcfa988 of this['currentClass']['split']('\x20'))_0xcfa988&&this['dom']['classList']['remove'](_0xcfa988);for(let _0x35f618 of _0x325ceb['split']('\x20'))_0x35f618&&this['dom']['classList']['add'](_0x35f618);this['currentClass']=_0x325ceb;}}['positioned'](_0x47fbeb){this['space']=_0x47fbeb,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x5e0cdd=this['view']['state']['field'](this['stateField']),_0x4e53de=_0x5e0cdd['open'];(_0x4e53de['selected']>-0x1&&_0x4e53de['selected']<this['range']['from']||_0x4e53de['selected']>=this['range']['to'])&&(this['range']=rangeAroundSelected(_0x4e53de['options']['length'],_0x4e53de['selected'],this['view']['state']['facet'](completionConfig)['maxRenderedOptions']),this['showOptions'](_0x4e53de['options'],_0x5e0cdd['id']));let _0x7d0c30=this['updateSelectedOption'](_0x4e53de['selected']);if(_0x7d0c30){this['destroyInfo']();let {completion:_0x56ca81}=_0x4e53de['options'][_0x4e53de['selected']],{info:_0x34075b}=_0x56ca81;if(!_0x34075b)return;let _0x90ab9d='string'==typeof _0x34075b?document['createTextNode'](_0x34075b):_0x34075b(_0x56ca81);if(!_0x90ab9d)return;'then'in _0x90ab9d?_0x90ab9d['then'](_0xd36eb3=>{_0xd36eb3&&this['view']['state']['field'](this['stateField'],!0x1)==_0x5e0cdd&&this['addInfoPane'](_0xd36eb3,_0x56ca81);})['catch'](_0x17b73b=>logException(this['view']['state'],_0x17b73b,'completion\x20info')):(this['addInfoPane'](_0x90ab9d,_0x56ca81),_0x7d0c30['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x160277,_0x561d6d){this['destroyInfo']();let _0x2bc746=this['info']=document['createElement']('div');if(_0x2bc746['className']='cm-tooltip\x20cm-completionInfo',_0x2bc746['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x160277['nodeType'])_0x2bc746['appendChild'](_0x160277),this['infoDestroy']=null;else{let {dom:_0x1ab599,destroy:_0x12eef2}=_0x160277;_0x2bc746['appendChild'](_0x1ab599),this['infoDestroy']=_0x12eef2||null;}this['dom']['appendChild'](_0x2bc746),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0xe919e3){let _0x3b74cc=null;for(let _0x7e26e6=this['list']['firstChild'],_0x32069a=this['range']['from'];_0x7e26e6;_0x7e26e6=_0x7e26e6['nextSibling'],_0x32069a++)'LI'==_0x7e26e6['nodeName']&&_0x7e26e6['id']?_0x32069a==_0xe919e3?_0x7e26e6['hasAttribute']('aria-selected')||(_0x7e26e6['setAttribute']('aria-selected','true'),_0x3b74cc=_0x7e26e6):_0x7e26e6['hasAttribute']('aria-selected')&&(_0x7e26e6['removeAttribute']('aria-selected'),_0x7e26e6['removeAttribute']('aria-describedby')):_0x32069a--;return _0x3b74cc&&scrollIntoView(this['list'],_0x3b74cc),_0x3b74cc;}['measureInfo'](){let _0x23c7bf=this['dom']['querySelector']('[aria-selected]');if(!_0x23c7bf||!this['info'])return null;let _0x3d77b5=this['dom']['getBoundingClientRect'](),_0x31b1c9=this['info']['getBoundingClientRect'](),_0x79f961=_0x23c7bf['getBoundingClientRect'](),_0x33f023=this['space'];if(!_0x33f023){let _0xc801de=this['dom']['ownerDocument']['documentElement'];_0x33f023={'left':0x0,'top':0x0,'right':_0xc801de['clientWidth'],'bottom':_0xc801de['clientHeight']};}return _0x79f961['top']>Math['min'](_0x33f023['bottom'],_0x3d77b5['bottom'])-0xa||_0x79f961['bottom']<Math['max'](_0x33f023['top'],_0x3d77b5['top'])+0xa?null:this['view']['state']['facet'](completionConfig)['positionInfo'](this['view'],_0x3d77b5,_0x79f961,_0x31b1c9,_0x33f023,this['dom']);}['placeInfo'](_0x8c48c6){this['info']&&(_0x8c48c6?(_0x8c48c6['style']&&(this['info']['style']['cssText']=_0x8c48c6['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x8c48c6['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x4df11f,_0x5601fc,_0x3195c5){const _0x3ab1fa=document['createElement']('ul');_0x3ab1fa['id']=_0x5601fc,_0x3ab1fa['setAttribute']('role','listbox'),_0x3ab1fa['setAttribute']('aria-expanded','true'),_0x3ab1fa['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x3ab1fa['addEventListener']('mousedown',_0x50652e=>{_0x50652e['target']==_0x3ab1fa&&_0x50652e['preventDefault']();});let _0x3de707=null;for(let _0x15c2d2=_0x3195c5['from'];_0x15c2d2<_0x3195c5['to'];_0x15c2d2++){let {completion:_0x481373,match:_0x589d8f}=_0x4df11f[_0x15c2d2],{section:_0x2ff221}=_0x481373;if(_0x2ff221){let _0x7dbc12='string'==typeof _0x2ff221?_0x2ff221:_0x2ff221['name'];if(_0x7dbc12!=_0x3de707&&(_0x15c2d2>_0x3195c5['from']||0x0==_0x3195c5['from'])){if(_0x3de707=_0x7dbc12,'string'!=typeof _0x2ff221&&_0x2ff221['header'])_0x3ab1fa['appendChild'](_0x2ff221['header'](_0x2ff221));else _0x3ab1fa['appendChild'](document['createElement']('completion-section'))['textContent']=_0x7dbc12;}}const _0x8c9e7e=_0x3ab1fa['appendChild'](document['createElement']('li'));_0x8c9e7e['id']=_0x5601fc+'-'+_0x15c2d2,_0x8c9e7e['setAttribute']('role','option');let _0xdc46b0=this['optionClass'](_0x481373);_0xdc46b0&&(_0x8c9e7e['className']=_0xdc46b0);for(let _0x1b9c6b of this['optionContent']){let _0x14cd7c=_0x1b9c6b(_0x481373,this['view']['state'],this['view'],_0x589d8f);_0x14cd7c&&_0x8c9e7e['appendChild'](_0x14cd7c);}}return _0x3195c5['from']&&_0x3ab1fa['classList']['add']('cm-completionListIncompleteTop'),_0x3195c5['to']<_0x4df11f['length']&&_0x3ab1fa['classList']['add']('cm-completionListIncompleteBottom'),_0x3ab1fa;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function completionTooltip(_0x28ee97,_0x2d1626){return _0x3de8af=>new CompletionTooltip(_0x3de8af,_0x28ee97,_0x2d1626);}function scrollIntoView(_0x5a1152,_0x4bb872){let _0x54a37a=_0x5a1152['getBoundingClientRect'](),_0x2ce0ca=_0x4bb872['getBoundingClientRect'](),_0x1ed513=_0x54a37a['height']/_0x5a1152['offsetHeight'];_0x2ce0ca['top']<_0x54a37a['top']?_0x5a1152['scrollTop']-=(_0x54a37a['top']-_0x2ce0ca['top'])/_0x1ed513:_0x2ce0ca['bottom']>_0x54a37a['bottom']&&(_0x5a1152['scrollTop']+=(_0x2ce0ca['bottom']-_0x54a37a['bottom'])/_0x1ed513);}function _0x488514(_0x5144ba){return 0x64*(_0x5144ba['boost']||0x0)+(_0x5144ba['apply']?0xa:0x0)+(_0x5144ba['info']?0x5:0x0)+(_0x5144ba['type']?0x1:0x0);}function sortOptions(_0x4f3495,_0x2d44f1){let _0x383f77=[],_0x55c370=null,_0x74aab8=null,_0x431eb0=_0x2a3ca7=>{_0x383f77['push'](_0x2a3ca7);let {section:_0x236298}=_0x2a3ca7['completion'];if(_0x236298){_0x55c370||(_0x55c370=[]);let _0x377f02='string'==typeof _0x236298?_0x236298:_0x236298['name'];_0x55c370['some'](_0x390b6c=>_0x390b6c['name']==_0x377f02)||_0x55c370['push']('string'==typeof _0x236298?{'name':_0x377f02}:_0x236298);}},_0xc89ff0=_0x2d44f1['facet'](completionConfig);for(let _0x1e0d60 of _0x4f3495)if(_0x1e0d60['hasResult']()){let _0x236eab=_0x1e0d60['result']['getMatch'];if(!0x1===_0x1e0d60['result']['filter']){for(let _0x8e8fe0 of _0x1e0d60['result']['options'])_0x431eb0(new Option(_0x8e8fe0,_0x1e0d60['source'],_0x236eab?_0x236eab(_0x8e8fe0):[],0x3b9aca00-_0x383f77['length']));}else{let _0x1eb73d,_0x241615=_0x2d44f1['sliceDoc'](_0x1e0d60['from'],_0x1e0d60['to']),_0x28d2a4=_0xc89ff0['filterStrict']?new StrictMatcher(_0x241615):new FuzzyMatcher(_0x241615);for(let _0x2f5f4c of _0x1e0d60['result']['options'])if(_0x1eb73d=_0x28d2a4['match'](_0x2f5f4c['label'])){let _0xbf3f2f=_0x2f5f4c['displayLabel']?_0x236eab?_0x236eab(_0x2f5f4c,_0x1eb73d['matched']):[]:_0x1eb73d['matched'],_0x173dac=_0x1eb73d['score']+(_0x2f5f4c['boost']||0x0);if(_0x431eb0(new Option(_0x2f5f4c,_0x1e0d60['source'],_0xbf3f2f,_0x173dac)),'object'==typeof _0x2f5f4c['section']&&'dynamic'===_0x2f5f4c['section']['rank']){let {name:_0x5325f6}=_0x2f5f4c['section'];_0x74aab8||(_0x74aab8=Object['create'](null)),_0x74aab8[_0x5325f6]=Math['max'](_0x173dac,_0x74aab8[_0x5325f6]||-0x3b9aca00);}}}}if(_0x55c370){let _0x42df83=Object['create'](null),_0x17115b=0x0,_0x10b3ee=(_0x377d25,_0x916a0e)=>('dynamic'===_0x377d25['rank']&&'dynamic'===_0x916a0e['rank']?_0x74aab8[_0x916a0e['name']]-_0x74aab8[_0x377d25['name']]:0x0)||('number'==typeof _0x377d25['rank']?_0x377d25['rank']:0x3b9aca00)-('number'==typeof _0x916a0e['rank']?_0x916a0e['rank']:0x3b9aca00)||(_0x377d25['name']<_0x916a0e['name']?-0x1:0x1);for(let _0x2f05da of _0x55c370['sort'](_0x10b3ee))_0x17115b-=0x186a0,_0x42df83[_0x2f05da['name']]=_0x17115b;for(let _0x2d99bc of _0x383f77){let {section:_0x24da5e}=_0x2d99bc['completion'];_0x24da5e&&(_0x2d99bc['score']+=_0x42df83['string'==typeof _0x24da5e?_0x24da5e:_0x24da5e['name']]);}}let _0xa45b59=[],_0x5f5858=null,_0x3b1aea=_0xc89ff0['compareCompletions'];for(let _0x5bd0bb of _0x383f77['sort']((_0x242934,_0x420f88)=>_0x420f88['score']-_0x242934['score']||_0x3b1aea(_0x242934['completion'],_0x420f88['completion']))){let _0x5aacac=_0x5bd0bb['completion'];!_0x5f5858||_0x5f5858['label']!=_0x5aacac['label']||_0x5f5858['detail']!=_0x5aacac['detail']||null!=_0x5f5858['type']&&null!=_0x5aacac['type']&&_0x5f5858['type']!=_0x5aacac['type']||_0x5f5858['apply']!=_0x5aacac['apply']||_0x5f5858['boost']!=_0x5aacac['boost']?_0xa45b59['push'](_0x5bd0bb):_0x488514(_0x5bd0bb['completion'])>_0x488514(_0x5f5858)&&(_0xa45b59[_0xa45b59['length']-0x1]=_0x5bd0bb),_0x5f5858=_0x5bd0bb['completion'];}return _0xa45b59;}class CompletionDialog{constructor(_0x3ecc2e,_0x30d008,_0x53aacf,_0x5a5490,_0x52818a,_0x23c436){this['options']=_0x3ecc2e,this['attrs']=_0x30d008,this['tooltip']=_0x53aacf,this['timestamp']=_0x5a5490,this['selected']=_0x52818a,this['disabled']=_0x23c436;}['setSelected'](_0x4973da,_0x438382){return _0x4973da==this['selected']||_0x4973da>=this['options']['length']?this:new CompletionDialog(this['options'],makeAttrs(_0x438382,_0x4973da),this['tooltip'],this['timestamp'],_0x4973da,this['disabled']);}static['build'](_0x2532a9,_0x51d9d1,_0x1d3070,_0x5571fb,_0x3fbee2,_0x16c71f){if(_0x5571fb&&!_0x16c71f&&_0x2532a9['some'](_0x618f07=>_0x618f07['isPending']))return _0x5571fb['setDisabled']();let _0x1c5548=sortOptions(_0x2532a9,_0x51d9d1);if(!_0x1c5548['length'])return _0x5571fb&&_0x2532a9['some'](_0x349513=>_0x349513['isPending'])?_0x5571fb['setDisabled']():null;let _0x1677c9=_0x51d9d1['facet'](completionConfig)['selectOnOpen']?0x0:-0x1;if(_0x5571fb&&_0x5571fb['selected']!=_0x1677c9&&-0x1!=_0x5571fb['selected']){let _0x265665=_0x5571fb['options'][_0x5571fb['selected']]['completion'];for(let _0x3b8a6e=0x0;_0x3b8a6e<_0x1c5548['length'];_0x3b8a6e++)if(_0x1c5548[_0x3b8a6e]['completion']==_0x265665){_0x1677c9=_0x3b8a6e;break;}}return new CompletionDialog(_0x1c5548,makeAttrs(_0x1d3070,_0x1677c9),{'pos':_0x2532a9['reduce']((_0x17c286,_0x28698c)=>_0x28698c['hasResult']()?Math['min'](_0x17c286,_0x28698c['from']):_0x17c286,0x5f5e100),'create':createTooltip,'above':_0x3fbee2['aboveCursor']},_0x5571fb?_0x5571fb['timestamp']:Date['now'](),_0x1677c9,!0x1);}['map'](_0xd457be){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0xd457be['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);}}class CompletionState{constructor(_0x2d8f8b,_0x3c08a2,_0x261f3d){this['active']=_0x2d8f8b,this['id']=_0x3c08a2,this['open']=_0x261f3d;}static['start'](){return new CompletionState(_0x265212,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x2f56fe){let {state:_0x20ff4d}=_0x2f56fe,_0x4ae977=_0x20ff4d['facet'](completionConfig),_0xa1958b=(_0x4ae977['override']||_0x20ff4d['languageDataAt']('autocomplete',_0x1607d8(_0x20ff4d))['map'](_0x3bf6b9))['map'](_0x5105f5=>{let _0xb9c994=this['active']['find'](_0x1bd288=>_0x1bd288['source']==_0x5105f5)||new ActiveSource(_0x5105f5,this['active']['some'](_0xea1301=>0x0!=_0xea1301['state'])?0x1:0x0);return _0xb9c994['update'](_0x2f56fe,_0x4ae977);});_0xa1958b['length']==this['active']['length']&&_0xa1958b['every']((_0x57d67d,_0x121077)=>_0x57d67d==this['active'][_0x121077])&&(_0xa1958b=this['active']);let _0x2ac8b8=this['open'],_0x2ddb60=_0x2f56fe['effects']['some'](_0x258c2f=>_0x258c2f['is'](setActiveEffect));_0x2ac8b8&&_0x2f56fe['docChanged']&&(_0x2ac8b8=_0x2ac8b8['map'](_0x2f56fe['changes'])),_0x2f56fe['selection']||_0xa1958b['some'](_0x595edd=>_0x595edd['hasResult']()&&_0x2f56fe['changes']['touchesRange'](_0x595edd['from'],_0x595edd['to']))||!sameResults(_0xa1958b,this['active'])||_0x2ddb60?_0x2ac8b8=CompletionDialog['build'](_0xa1958b,_0x20ff4d,this['id'],_0x2ac8b8,_0x4ae977,_0x2ddb60):_0x2ac8b8&&_0x2ac8b8['disabled']&&!_0xa1958b['some'](_0x3033f2=>_0x3033f2['isPending'])&&(_0x2ac8b8=null),!_0x2ac8b8&&_0xa1958b['every'](_0x531fcc=>!_0x531fcc['isPending'])&&_0xa1958b['some'](_0x563ebc=>_0x563ebc['hasResult']())&&(_0xa1958b=_0xa1958b['map'](_0x24c8f5=>_0x24c8f5['hasResult']()?new ActiveSource(_0x24c8f5['source'],0x0):_0x24c8f5));for(let _0xda1989 of _0x2f56fe['effects'])_0xda1989['is'](setSelectedEffect)&&(_0x2ac8b8=_0x2ac8b8&&_0x2ac8b8['setSelected'](_0xda1989['value'],this['id']));return _0xa1958b==this['active']&&_0x2ac8b8==this['open']?this:new CompletionState(_0xa1958b,this['id'],_0x2ac8b8);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?baseAttrs:noAttrs;}}function sameResults(_0x496679,_0x189d1f){if(_0x496679==_0x189d1f)return!0x0;for(let _0x384234=0x0,_0xe2a51e=0x0;;){for(;_0x384234<_0x496679['length']&&!_0x496679[_0x384234]['hasResult']();)_0x384234++;for(;_0xe2a51e<_0x189d1f['length']&&!_0x189d1f[_0xe2a51e]['hasResult']();)_0xe2a51e++;let _0xf8d331=_0x384234==_0x496679['length'],_0x1c54e6=_0xe2a51e==_0x189d1f['length'];if(_0xf8d331||_0x1c54e6)return _0xf8d331==_0x1c54e6;if(_0x496679[_0x384234++]['result']!=_0x189d1f[_0xe2a51e++]['result'])return!0x1;}}const baseAttrs={'aria-autocomplete':'list'},noAttrs={};function makeAttrs(_0x56e313,_0x297c61){let _0x11877b={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x56e313};return _0x297c61>-0x1&&(_0x11877b['aria-activedescendant']=_0x56e313+'-'+_0x297c61),_0x11877b;}const _0x265212=[];function getUpdateType(_0x3a8b03,_0x5ad972){if(_0x3a8b03['isUserEvent']('input.complete')){let _0x36a0d1=_0x3a8b03['annotation'](pickedCompletion);if(_0x36a0d1&&_0x5ad972['activateOnCompletion'](_0x36a0d1))return 0xc;}let _0x10d33e=_0x3a8b03['isUserEvent']('input.type');return _0x10d33e&&_0x5ad972['activateOnTyping']?0x5:_0x10d33e?0x1:_0x3a8b03['isUserEvent']('delete.backward')?0x2:_0x3a8b03['selection']?0x8:_0x3a8b03['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x4b39d1,_0xeedf5b,_0x5c097a=!0x1){this['source']=_0x4b39d1,this['state']=_0xeedf5b,this['explicit']=_0x5c097a;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x4632d8,_0x22b6a1){let _0x28fc8c=getUpdateType(_0x4632d8,_0x22b6a1),_0x27449a=this;(0x8&_0x28fc8c||0x10&_0x28fc8c&&this['touches'](_0x4632d8))&&(_0x27449a=new ActiveSource(_0x27449a['source'],0x0)),0x4&_0x28fc8c&&0x0==_0x27449a['state']&&(_0x27449a=new ActiveSource(this['source'],0x1)),_0x27449a=_0x27449a['updateFor'](_0x4632d8,_0x28fc8c);for(let _0x1202e5 of _0x4632d8['effects'])if(_0x1202e5['is'](startCompletionEffect))_0x27449a=new ActiveSource(_0x27449a['source'],0x1,_0x1202e5['value']);else{if(_0x1202e5['is'](closeCompletionEffect))_0x27449a=new ActiveSource(_0x27449a['source'],0x0);else{if(_0x1202e5['is'](setActiveEffect)){for(let _0x1f1773 of _0x1202e5['value'])_0x1f1773['source']==_0x27449a['source']&&(_0x27449a=_0x1f1773);}}}return _0x27449a;}['updateFor'](_0x102ccf,_0x5b316e){return this['map'](_0x102ccf['changes']);}['map'](_0x4e4e10){return this;}['touches'](_0x12f370){return _0x12f370['changes']['touchesRange'](_0x1607d8(_0x12f370['state']));}}class ActiveResult extends ActiveSource{constructor(_0x4254e2,_0x2dde6d,_0x424b84,_0x14c99d,_0x5da3a8,_0x3ba349){super(_0x4254e2,0x3,_0x2dde6d),this['limit']=_0x424b84,this['result']=_0x14c99d,this['from']=_0x5da3a8,this['to']=_0x3ba349;}['hasResult'](){return!0x0;}['updateFor'](_0x8df079,_0x62e993){var _0x59a6cc;if(!(0x3&_0x62e993))return this['map'](_0x8df079['changes']);let _0x169ef6=this['result'];_0x169ef6['map']&&!_0x8df079['changes']['empty']&&(_0x169ef6=_0x169ef6['map'](_0x169ef6,_0x8df079['changes']));let _0x3204fe=_0x8df079['changes']['mapPos'](this['from']),_0x4c3e7a=_0x8df079['changes']['mapPos'](this['to'],0x1),_0x464e9e=_0x1607d8(_0x8df079['state']);if(_0x464e9e>_0x4c3e7a||!_0x169ef6||0x2&_0x62e993&&(_0x1607d8(_0x8df079['startState'])==this['from']||_0x464e9e<this['limit']))return new ActiveSource(this['source'],0x4&_0x62e993?0x1:0x0);let _0x291f53=_0x8df079['changes']['mapPos'](this['limit']);return _0x38dfa4(_0x169ef6['validFor'],_0x8df079['state'],_0x3204fe,_0x4c3e7a)?new ActiveResult(this['source'],this['explicit'],_0x291f53,_0x169ef6,_0x3204fe,_0x4c3e7a):_0x169ef6['update']&&(_0x169ef6=_0x169ef6['update'](_0x169ef6,_0x3204fe,_0x4c3e7a,new CompletionContext(_0x8df079['state'],_0x464e9e,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x291f53,_0x169ef6,_0x169ef6['from'],null!==(_0x59a6cc=_0x169ef6['to'])&&void 0x0!==_0x59a6cc?_0x59a6cc:_0x1607d8(_0x8df079['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x28e6de){if(_0x28e6de['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x28e6de):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x28e6de['mapPos'](this['limit']),this['result'],_0x28e6de['mapPos'](this['from']),_0x28e6de['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x522ce8){return _0x522ce8['changes']['touchesRange'](this['from'],this['to']);}}function _0x38dfa4(_0x5eaa58,_0x42ae39,_0x5218f0,_0x590480){if(!_0x5eaa58)return!0x1;let _0x2d0f5a=_0x42ae39['sliceDoc'](_0x5218f0,_0x590480);return'function'==typeof _0x5eaa58?_0x5eaa58(_0x2d0f5a,_0x5218f0,_0x590480,_0x42ae39):_0x13dcee(_0x5eaa58,!0x0)['test'](_0x2d0f5a);}const setActiveEffect=StateEffect['define']({'map':(_0x12d27c,_0x3d008e)=>_0x12d27c['map'](_0x1ef38f=>_0x1ef38f['map'](_0x3d008e))}),setSelectedEffect=StateEffect['define'](),completionState=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x480dc8,_0x2a305c)=>_0x480dc8['update'](_0x2a305c),'provide':_0x19e044=>[showTooltip['from'](_0x19e044,_0x4c2116=>_0x4c2116['tooltip']),EditorView['contentAttributes']['from'](_0x19e044,_0x135f17=>_0x135f17['attrs'])]});function applyCompletion(_0x1e691a,_0x445303){const _0x53d1d3=_0x445303['completion']['apply']||_0x445303['completion']['label'];let _0x4bfdce=_0x1e691a['state']['field'](completionState)['active']['find'](_0x24a969=>_0x24a969['source']==_0x445303['source']);return _0x4bfdce instanceof ActiveResult&&('string'==typeof _0x53d1d3?_0x1e691a['dispatch']({...insertCompletionText(_0x1e691a['state'],_0x53d1d3,_0x4bfdce['from'],_0x4bfdce['to']),'annotations':pickedCompletion['of'](_0x445303['completion'])}):_0x53d1d3(_0x1e691a,_0x445303['completion'],_0x4bfdce['from'],_0x4bfdce['to']),!0x0);}const createTooltip=completionTooltip(completionState,applyCompletion);function moveCompletionSelection(_0x445a3a,_0x351f0a='option'){return _0x5b6c25=>{let _0x4a82a0=_0x5b6c25['state']['field'](completionState,!0x1);if(!_0x4a82a0||!_0x4a82a0['open']||_0x4a82a0['open']['disabled']||Date['now']()-_0x4a82a0['open']['timestamp']<_0x5b6c25['state']['facet'](completionConfig)['interactionDelay'])return!0x1;let _0xc1542e,_0xa193b7=0x1;'page'==_0x351f0a&&(_0xc1542e=getTooltip(_0x5b6c25,_0x4a82a0['open']['tooltip']))&&(_0xa193b7=Math['max'](0x2,Math['floor'](_0xc1542e['dom']['offsetHeight']/_0xc1542e['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x53088e}=_0x4a82a0['open']['options'],_0x174529=_0x4a82a0['open']['selected']>-0x1?_0x4a82a0['open']['selected']+_0xa193b7*(_0x445a3a?0x1:-0x1):_0x445a3a?0x0:_0x53088e-0x1;return _0x174529<0x0?_0x174529='page'==_0x351f0a?0x0:_0x53088e-0x1:_0x174529>=_0x53088e&&(_0x174529='page'==_0x351f0a?_0x53088e-0x1:0x0),_0x5b6c25['dispatch']({'effects':setSelectedEffect['of'](_0x174529)}),!0x0;};}const acceptCompletion=_0x51963b=>{let _0x1ddfdd=_0x51963b['state']['field'](completionState,!0x1);return!(_0x51963b['state']['readOnly']||!_0x1ddfdd||!_0x1ddfdd['open']||_0x1ddfdd['open']['selected']<0x0||_0x1ddfdd['open']['disabled']||Date['now']()-_0x1ddfdd['open']['timestamp']<_0x51963b['state']['facet'](completionConfig)['interactionDelay'])&&applyCompletion(_0x51963b,_0x1ddfdd['open']['options'][_0x1ddfdd['open']['selected']]);},startCompletion=_0x145863=>!!_0x145863['state']['field'](completionState,!0x1)&&(_0x145863['dispatch']({'effects':startCompletionEffect['of'](!0x0)}),!0x0),closeCompletion=_0x19731c=>{let _0x21d8e8=_0x19731c['state']['field'](completionState,!0x1);return!(!_0x21d8e8||!_0x21d8e8['active']['some'](_0x29666a=>0x0!=_0x29666a['state']))&&(_0x19731c['dispatch']({'effects':closeCompletionEffect['of'](null)}),!0x0);};class _0x154046{constructor(_0x21e05b,_0x286a87){this['active']=_0x21e05b,this['context']=_0x286a87,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const MaxUpdateCount=0x32,MinAbortTime=0x3e8,completionPlugin=_0x2e3bc0['fromClass'](class{constructor(_0x252fc7){this['view']=_0x252fc7,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x41c9b9 of _0x252fc7['state']['field'](completionState)['active'])_0x41c9b9['isPending']&&this['startQuery'](_0x41c9b9);}['update'](_0x43d78f){let _0x276474=_0x43d78f['state']['field'](completionState),_0x5cab34=_0x43d78f['state']['facet'](completionConfig);if(!_0x43d78f['selectionSet']&&!_0x43d78f['docChanged']&&_0x43d78f['startState']['field'](completionState)==_0x276474)return;let _0x526899=_0x43d78f['transactions']['some'](_0x4e45f3=>{let _0x3c92eb=getUpdateType(_0x4e45f3,_0x5cab34);return 0x8&_0x3c92eb||(_0x4e45f3['selection']||_0x4e45f3['docChanged'])&&!(0x3&_0x3c92eb);});for(let _0x391e57=0x0;_0x391e57<this['running']['length'];_0x391e57++){let _0x481f5a=this['running'][_0x391e57];if(_0x526899||_0x481f5a['context']['abortOnDocChange']&&_0x43d78f['docChanged']||_0x481f5a['updates']['length']+_0x43d78f['transactions']['length']>MaxUpdateCount&&Date['now']()-_0x481f5a['time']>MinAbortTime){for(let _0x84e4e of _0x481f5a['context']['abortListeners'])try{_0x84e4e();}catch(_0x6d3eff){logException(this['view']['state'],_0x6d3eff);}_0x481f5a['context']['abortListeners']=null,this['running']['splice'](_0x391e57--,0x1);}else _0x481f5a['updates']['push'](..._0x43d78f['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x43d78f['transactions']['some'](_0x214ec5=>_0x214ec5['effects']['some'](_0x1c2aca=>_0x1c2aca['is'](startCompletionEffect)))&&(this['pendingStart']=!0x0);let _0x34874d=this['pendingStart']?0x32:_0x5cab34['activateOnTypingDelay'];if(this['debounceUpdate']=_0x276474['active']['some'](_0x22f32e=>_0x22f32e['isPending']&&!this['running']['some'](_0x3aa7cd=>_0x3aa7cd['active']['source']==_0x22f32e['source']))?setTimeout(()=>this['startUpdate'](),_0x34874d):-0x1,0x0!=this['composing']){for(let _0x47c661 of _0x43d78f['transactions'])_0x47c661['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x47c661['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x3864b9}=this['view'],_0x3ea055=_0x3864b9['field'](completionState);for(let _0x1cb424 of _0x3ea055['active'])_0x1cb424['isPending']&&!this['running']['some'](_0x260198=>_0x260198['active']['source']==_0x1cb424['source'])&&this['startQuery'](_0x1cb424);this['running']['length']&&_0x3ea055['open']&&_0x3ea055['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['startQuery'](_0x1aeb76){let {state:_0x5f171b}=this['view'],_0x1a52ea=_0x1607d8(_0x5f171b),_0x3329b2=new CompletionContext(_0x5f171b,_0x1a52ea,_0x1aeb76['explicit'],this['view']),_0x4b81c8=new _0x154046(_0x1aeb76,_0x3329b2);this['running']['push'](_0x4b81c8),Promise['resolve'](_0x1aeb76['source'](_0x3329b2))['then'](_0x5ad478=>{_0x4b81c8['context']['aborted']||(_0x4b81c8['done']=_0x5ad478||null,this['scheduleAccept']());},_0x2cfd63=>{this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),logException(this['view']['state'],_0x2cfd63);});}['scheduleAccept'](){this['running']['every'](_0x3ad768=>void 0x0!==_0x3ad768['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](completionConfig)['updateSyncTime']));}['accept'](){var _0xa80d28;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x39709f=[],_0x10669d=this['view']['state']['facet'](completionConfig),_0x33eb48=this['view']['state']['field'](completionState);for(let _0x23a1fd=0x0;_0x23a1fd<this['running']['length'];_0x23a1fd++){let _0x3403c5=this['running'][_0x23a1fd];if(void 0x0===_0x3403c5['done'])continue;if(this['running']['splice'](_0x23a1fd--,0x1),_0x3403c5['done']){let _0xedbf35=_0x1607d8(_0x3403c5['updates']['length']?_0x3403c5['updates'][0x0]['startState']:this['view']['state']),_0x359756=Math['min'](_0xedbf35,_0x3403c5['done']['from']+(_0x3403c5['active']['explicit']?0x0:0x1)),_0x4b66ab=new ActiveResult(_0x3403c5['active']['source'],_0x3403c5['active']['explicit'],_0x359756,_0x3403c5['done'],_0x3403c5['done']['from'],null!==(_0xa80d28=_0x3403c5['done']['to'])&&void 0x0!==_0xa80d28?_0xa80d28:_0xedbf35);for(let _0x44bd8d of _0x3403c5['updates'])_0x4b66ab=_0x4b66ab['update'](_0x44bd8d,_0x10669d);if(_0x4b66ab['hasResult']()){_0x39709f['push'](_0x4b66ab);continue;}}let _0x5e3704=_0x33eb48['active']['find'](_0xd8fec=>_0xd8fec['source']==_0x3403c5['active']['source']);if(_0x5e3704&&_0x5e3704['isPending']){if(null==_0x3403c5['done']){let _0x4b566b=new ActiveSource(_0x3403c5['active']['source'],0x0);for(let _0x33d7ab of _0x3403c5['updates'])_0x4b566b=_0x4b566b['update'](_0x33d7ab,_0x10669d);_0x4b566b['isPending']||_0x39709f['push'](_0x4b566b);}else this['startQuery'](_0x5e3704);}}(_0x39709f['length']||_0x33eb48['open']&&_0x33eb48['open']['disabled'])&&this['view']['dispatch']({'effects':setActiveEffect['of'](_0x39709f)});}},{'eventHandlers':{'blur'(_0x243d06){let _0x23778e=this['view']['state']['field'](completionState,!0x1);if(_0x23778e&&_0x23778e['tooltip']&&this['view']['state']['facet'](completionConfig)['closeOnBlur']){let _0x6b8bfa=_0x23778e['open']&&getTooltip(this['view'],_0x23778e['open']['tooltip']);_0x6b8bfa&&_0x6b8bfa['dom']['contains'](_0x243d06['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':closeCompletionEffect['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':startCompletionEffect['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_0x3efc02='object'==typeof navigator&&/Win/['test'](navigator['platform']),commitCharacters=_0x346fa8['highest'](EditorView['domEventHandlers']({'keydown'(_0x1d7c7f,_0x278543){let _0x586cca=_0x278543['state']['field'](completionState,!0x1);if(!_0x586cca||!_0x586cca['open']||_0x586cca['open']['disabled']||_0x586cca['open']['selected']<0x0||_0x1d7c7f['key']['length']>0x1||_0x1d7c7f['ctrlKey']&&(!_0x3efc02||!_0x1d7c7f['altKey'])||_0x1d7c7f['metaKey'])return!0x1;let _0x4f238e=_0x586cca['open']['options'][_0x586cca['open']['selected']],_0x42788b=_0x586cca['active']['find'](_0xaf0803=>_0xaf0803['source']==_0x4f238e['source']),_0x332cfc=_0x4f238e['completion']['commitCharacters']||_0x42788b['result']['commitCharacters'];return _0x332cfc&&_0x332cfc['indexOf'](_0x1d7c7f['key'])>-0x1&&applyCompletion(_0x278543,_0x4f238e),!0x1;}})),_0x56b1c9=EditorView['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'},'.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'}}});class _0xb3c6cf{constructor(_0x7fa35a,_0x30bbc3,_0x2fb866,_0x48849d){this['field']=_0x7fa35a,this['line']=_0x30bbc3,this['from']=_0x2fb866,this['to']=_0x48849d;}}class _0x2190e7{constructor(_0x206212,_0x330195,_0x2c58ea){this['field']=_0x206212,this['from']=_0x330195,this['to']=_0x2c58ea;}['map'](_0x106ccf){let _0x230412=_0x106ccf['mapPos'](this['from'],-0x1,_0x270cd3['TrackDel']),_0x33f133=_0x106ccf['mapPos'](this['to'],0x1,_0x270cd3['TrackDel']);return null==_0x230412||null==_0x33f133?null:new _0x2190e7(this['field'],_0x230412,_0x33f133);}}class Snippet{constructor(_0x183650,_0xfb82cf){this['lines']=_0x183650,this['fieldPositions']=_0xfb82cf;}['instantiate'](_0x2dbe17,_0x52215d){let _0x876663=[],_0x39937d=[_0x52215d],_0x41c499=_0x2dbe17['doc']['lineAt'](_0x52215d),_0x21bdba=/^\s*/['exec'](_0x41c499['text'])[0x0];for(let _0x2e8f91 of this['lines']){if(_0x876663['length']){let _0x52657d=_0x21bdba,_0x4fcfd7=/^\t*/['exec'](_0x2e8f91)[0x0]['length'];for(let _0x40a625=0x0;_0x40a625<_0x4fcfd7;_0x40a625++)_0x52657d+=_0x2dbe17['facet'](indentUnit);_0x39937d['push'](_0x52215d+_0x52657d['length']-_0x4fcfd7),_0x2e8f91=_0x52657d+_0x2e8f91['slice'](_0x4fcfd7);}_0x876663['push'](_0x2e8f91),_0x52215d+=_0x2e8f91['length']+0x1;}let _0x50b675=this['fieldPositions']['map'](_0xda0dc9=>new _0x2190e7(_0xda0dc9['field'],_0x39937d[_0xda0dc9['line']]+_0xda0dc9['from'],_0x39937d[_0xda0dc9['line']]+_0xda0dc9['to']));return{'text':_0x876663,'ranges':_0x50b675};}static['parse'](_0x93852c){let _0x37f6b7,_0x2b5bc6=[],_0x102f44=[],_0xbdf382=[];for(let _0x132fc4 of _0x93852c['split'](/\r\n?|\n/)){for(;_0x37f6b7=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x132fc4);){let _0x5157a4=_0x37f6b7[0x1]?+_0x37f6b7[0x1]:null,_0x1ce654=_0x37f6b7[0x2]||_0x37f6b7[0x3]||'',_0x5a1bc8=-0x1,_0x56bfb2=_0x1ce654['replace'](/\\[{}]/g,_0xc902e4=>_0xc902e4[0x1]);for(let _0x2a5e8d=0x0;_0x2a5e8d<_0x2b5bc6['length'];_0x2a5e8d++)(null!=_0x5157a4?_0x2b5bc6[_0x2a5e8d]['seq']==_0x5157a4:_0x56bfb2&&_0x2b5bc6[_0x2a5e8d]['name']==_0x56bfb2)&&(_0x5a1bc8=_0x2a5e8d);if(_0x5a1bc8<0x0){let _0x2e4db2=0x0;for(;_0x2e4db2<_0x2b5bc6['length']&&(null==_0x5157a4||null!=_0x2b5bc6[_0x2e4db2]['seq']&&_0x2b5bc6[_0x2e4db2]['seq']<_0x5157a4);)_0x2e4db2++;_0x2b5bc6['splice'](_0x2e4db2,0x0,{'seq':_0x5157a4,'name':_0x56bfb2}),_0x5a1bc8=_0x2e4db2;for(let _0xe9f1d of _0xbdf382)_0xe9f1d['field']>=_0x5a1bc8&&_0xe9f1d['field']++;}for(let _0x37ce89 of _0xbdf382)if(_0x37ce89['line']==_0x102f44['length']&&_0x37ce89['from']>_0x37f6b7['index']){let _0x464604=_0x37f6b7[0x2]?0x3+(_0x37f6b7[0x1]||'')['length']:0x2;_0x37ce89['from']-=_0x464604,_0x37ce89['to']-=_0x464604;}_0xbdf382['push'](new _0xb3c6cf(_0x5a1bc8,_0x102f44['length'],_0x37f6b7['index'],_0x37f6b7['index']+_0x56bfb2['length'])),_0x132fc4=_0x132fc4['slice'](0x0,_0x37f6b7['index'])+_0x1ce654+_0x132fc4['slice'](_0x37f6b7['index']+_0x37f6b7[0x0]['length']);}_0x132fc4=_0x132fc4['replace'](/\\([{}])/g,(_0x349a22,_0xd78c76,_0x48234d)=>{for(let _0xb0b19c of _0xbdf382)_0xb0b19c['line']==_0x102f44['length']&&_0xb0b19c['from']>_0x48234d&&(_0xb0b19c['from']--,_0xb0b19c['to']--);return _0xd78c76;}),_0x102f44['push'](_0x132fc4);}return new Snippet(_0x102f44,_0xbdf382);}}let _0x1f0cae=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x1fb806=document['createElement']('span');return _0x1fb806['className']='cm-snippetFieldPosition',_0x1fb806;}['ignoreEvent'](){return!0x1;}}()}),_0x2cff36=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x25de66,_0x3d22c6){this['ranges']=_0x25de66,this['active']=_0x3d22c6,this['deco']=Decoration['set'](_0x25de66['map'](_0x47e65b=>(_0x47e65b['from']==_0x47e65b['to']?_0x1f0cae:_0x2cff36)['range'](_0x47e65b['from'],_0x47e65b['to'])),!0x0);}['map'](_0x29217f){let _0xd24e8e=[];for(let _0x36ca9a of this['ranges']){let _0x330e3b=_0x36ca9a['map'](_0x29217f);if(!_0x330e3b)return null;_0xd24e8e['push'](_0x330e3b);}return new ActiveSnippet(_0xd24e8e,this['active']);}['selectionInsideField'](_0x2af6ac){return _0x2af6ac['ranges']['every'](_0x4ac2e7=>this['ranges']['some'](_0x34e709=>_0x34e709['field']==this['active']&&_0x34e709['from']<=_0x4ac2e7['from']&&_0x34e709['to']>=_0x4ac2e7['to']));}}const setActive=StateEffect['define']({'map':(_0x8b5a19,_0x35e1a2)=>_0x8b5a19&&_0x8b5a19['map'](_0x35e1a2)}),_0x55119e=StateEffect['define'](),snippetState=StateField['define']({'create':()=>null,'update'(_0xd63bbc,_0x1a2170){for(let _0x182726 of _0x1a2170['effects']){if(_0x182726['is'](setActive))return _0x182726['value'];if(_0x182726['is'](_0x55119e)&&_0xd63bbc)return new ActiveSnippet(_0xd63bbc['ranges'],_0x182726['value']);}return _0xd63bbc&&_0x1a2170['docChanged']&&(_0xd63bbc=_0xd63bbc['map'](_0x1a2170['changes'])),_0xd63bbc&&_0x1a2170['selection']&&!_0xd63bbc['selectionInsideField'](_0x1a2170['selection'])&&(_0xd63bbc=null),_0xd63bbc;},'provide':_0xfaba86=>EditorView['decorations']['from'](_0xfaba86,_0x3fcc8d=>_0x3fcc8d?_0x3fcc8d['deco']:Decoration['none'])});function fieldSelection(_0x416be5,_0xbb6f43){return EditorSelection['create'](_0x416be5['filter'](_0x3c5d4d=>_0x3c5d4d['field']==_0xbb6f43)['map'](_0x1e5731=>EditorSelection['range'](_0x1e5731['from'],_0x1e5731['to'])));}function snippet(_0x138f77){let _0x40d4cc=Snippet['parse'](_0x138f77);return(_0x317613,_0x1e3790,_0x34dc9d,_0x2a6606)=>{let {text:_0x462bf0,ranges:_0x1f8446}=_0x40d4cc['instantiate'](_0x317613['state'],_0x34dc9d),{main:_0x3da265}=_0x317613['state']['selection'],_0x41c5d6={'changes':{'from':_0x34dc9d,'to':_0x2a6606==_0x3da265['from']?_0x3da265['to']:_0x2a6606,'insert':Text['of'](_0x462bf0)},'scrollIntoView':!0x0,'annotations':_0x1e3790?[pickedCompletion['of'](_0x1e3790),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x1f8446['length']&&(_0x41c5d6['selection']=fieldSelection(_0x1f8446,0x0)),_0x1f8446['some'](_0x10b57d=>_0x10b57d['field']>0x0)){let _0x1aa34d=new ActiveSnippet(_0x1f8446,0x0),_0xf674ee=_0x41c5d6['effects']=[setActive['of'](_0x1aa34d)];void 0x0===_0x317613['state']['field'](snippetState,!0x1)&&_0xf674ee['push'](StateEffect['appendConfig']['of']([snippetState,addSnippetKeymap,snippetPointerHandler,_0x56b1c9]));}_0x317613['dispatch'](_0x317613['state']['update'](_0x41c5d6));};}function _0x54a888(_0x42ae9b){return({state:_0x1ab6ca,dispatch:_0x8abcca})=>{let _0x4bf4a0=_0x1ab6ca['field'](snippetState,!0x1);if(!_0x4bf4a0||_0x42ae9b<0x0&&0x0==_0x4bf4a0['active'])return!0x1;let _0x198c59=_0x4bf4a0['active']+_0x42ae9b,_0x3e345e=_0x42ae9b>0x0&&!_0x4bf4a0['ranges']['some'](_0x4d6569=>_0x4d6569['field']==_0x198c59+_0x42ae9b);return _0x8abcca(_0x1ab6ca['update']({'selection':fieldSelection(_0x4bf4a0['ranges'],_0x198c59),'effects':setActive['of'](_0x3e345e?null:new ActiveSnippet(_0x4bf4a0['ranges'],_0x198c59)),'scrollIntoView':!0x0})),!0x0;};}const clearSnippet=({state:_0x416f2e,dispatch:_0x5d6eb1})=>!!_0x416f2e['field'](snippetState,!0x1)&&(_0x5d6eb1(_0x416f2e['update']({'effects':setActive['of'](null)})),!0x0),nextSnippetField=_0x54a888(0x1),prevSnippetField=_0x54a888(-0x1),defaultSnippetKeymap=[{'key':'Tab','run':nextSnippetField,'shift':prevSnippetField},{'key':'Escape','run':clearSnippet}],snippetKeymap=Facet['define']({'combine':_0x351d30=>_0x351d30['length']?_0x351d30[0x0]:defaultSnippetKeymap}),addSnippetKeymap=_0x346fa8['highest'](_0x1e0442['compute']([snippetKeymap],_0x46492c=>_0x46492c['facet'](snippetKeymap)));function snippetCompletion(_0xb0c643,_0x2408a1){return{..._0x2408a1,'apply':snippet(_0xb0c643)};}const snippetPointerHandler=EditorView['domEventHandlers']({'mousedown'(_0x2feb96,_0x2583b2){let _0x1ad046,_0x22ad77=_0x2583b2['state']['field'](snippetState,!0x1);if(!_0x22ad77||null==(_0x1ad046=_0x2583b2['posAtCoords']({'x':_0x2feb96['clientX'],'y':_0x2feb96['clientY']})))return!0x1;let _0x5f338d=_0x22ad77['ranges']['find'](_0x4fec62=>_0x4fec62['from']<=_0x1ad046&&_0x4fec62['to']>=_0x1ad046);return!(!_0x5f338d||_0x5f338d['field']==_0x22ad77['active'])&&(_0x2583b2['dispatch']({'selection':fieldSelection(_0x22ad77['ranges'],_0x5f338d['field']),'effects':setActive['of'](_0x22ad77['ranges']['some'](_0x2d95e5=>_0x2d95e5['field']>_0x5f338d['field'])?new ActiveSnippet(_0x22ad77['ranges'],_0x5f338d['field']):null),'scrollIntoView':!0x0}),!0x0);}}),defaults={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},closeBracketEffect=StateEffect['define']({'map'(_0xfc5196,_0x5aafc4){let _0x3d693a=_0x5aafc4['mapPos'](_0xfc5196,-0x1,_0x270cd3['TrackAfter']);return null==_0x3d693a?void 0x0:_0x3d693a;}}),closedBracket=new class extends _0x54fcea{}();closedBracket['startSide']=0x1,closedBracket['endSide']=-0x1;const bracketState=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x2b71dd,_0x10dc80){if(_0x2b71dd=_0x2b71dd['map'](_0x10dc80['changes']),_0x10dc80['selection']){let _0x5c483c=_0x10dc80['state']['doc']['lineAt'](_0x10dc80['selection']['main']['head']);_0x2b71dd=_0x2b71dd['update']({'filter':_0x11f114=>_0x11f114>=_0x5c483c['from']&&_0x11f114<=_0x5c483c['to']});}for(let _0x629aec of _0x10dc80['effects'])_0x629aec['is'](closeBracketEffect)&&(_0x2b71dd=_0x2b71dd['update']({'add':[closedBracket['range'](_0x629aec['value'],_0x629aec['value']+0x1)]}));return _0x2b71dd;}});function closeBrackets(){return[inputHandler,bracketState];}const _0x3fe4c1='()[]{}<>«»»«［］｛｝';function _0x5c0e40(_0x3b5448){for(let _0x466909=0x0;_0x466909<_0x3fe4c1['length'];_0x466909+=0x2)if(_0x3fe4c1['charCodeAt'](_0x466909)==_0x3b5448)return _0x3fe4c1['charAt'](_0x466909+0x1);return fromCodePoint(_0x3b5448<0x80?_0x3b5448:_0x3b5448+0x1);}function _0xbb7ab8(_0x13d386,_0x5c2eca){return _0x13d386['languageDataAt']('closeBrackets',_0x5c2eca)[0x0]||defaults;}const _0x263df2='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),inputHandler=EditorView['inputHandler']['of']((_0x133d5a,_0x41403f,_0x4a6dae,_0x77f60f)=>{if((_0x263df2?_0x133d5a['composing']:_0x133d5a['compositionStarted'])||_0x133d5a['state']['readOnly'])return!0x1;let _0x128e25=_0x133d5a['state']['selection']['main'];if(_0x77f60f['length']>0x2||0x2==_0x77f60f['length']&&0x1==codePointSize(codePointAt(_0x77f60f,0x0))||_0x41403f!=_0x128e25['from']||_0x4a6dae!=_0x128e25['to'])return!0x1;let _0x5a2de9=insertBracket(_0x133d5a['state'],_0x77f60f);return!!_0x5a2de9&&(_0x133d5a['dispatch'](_0x5a2de9),!0x0);}),deleteBracketPair=({state:_0xdb1856,dispatch:_0x48db95})=>{if(_0xdb1856['readOnly'])return!0x1;let _0x394c5b=_0xbb7ab8(_0xdb1856,_0xdb1856['selection']['main']['head'])['brackets']||defaults['brackets'],_0x39c029=null,_0x2b4bbb=_0xdb1856['changeByRange'](_0x3fbb34=>{if(_0x3fbb34['empty']){let _0x362976=_0x72678d(_0xdb1856['doc'],_0x3fbb34['head']);for(let _0x48ac12 of _0x394c5b)if(_0x48ac12==_0x362976&&nextChar(_0xdb1856['doc'],_0x3fbb34['head'])==_0x5c0e40(codePointAt(_0x48ac12,0x0)))return{'changes':{'from':_0x3fbb34['head']-_0x48ac12['length'],'to':_0x3fbb34['head']+_0x48ac12['length']},'range':EditorSelection['cursor'](_0x3fbb34['head']-_0x48ac12['length'])};}return{'range':_0x39c029=_0x3fbb34};});return _0x39c029||_0x48db95(_0xdb1856['update'](_0x2b4bbb,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x39c029;},closeBracketsKeymap=[{'key':'Backspace','run':deleteBracketPair}];function insertBracket(_0x21a6e8,_0x598a5f){let _0x3c0971=_0xbb7ab8(_0x21a6e8,_0x21a6e8['selection']['main']['head']),_0x3940a2=_0x3c0971['brackets']||defaults['brackets'];for(let _0x20e766 of _0x3940a2){let _0x577412=_0x5c0e40(codePointAt(_0x20e766,0x0));if(_0x598a5f==_0x20e766)return _0x577412==_0x20e766?_0x2e2137(_0x21a6e8,_0x20e766,_0x3940a2['indexOf'](_0x20e766+_0x20e766+_0x20e766)>-0x1,_0x3c0971):_0xa37e08(_0x21a6e8,_0x20e766,_0x577412,_0x3c0971['before']||defaults['before']);if(_0x598a5f==_0x577412&&closedBracketAt(_0x21a6e8,_0x21a6e8['selection']['main']['from']))return _0xeb4f9b(_0x21a6e8,_0x20e766,_0x577412);}return null;}function closedBracketAt(_0x30d677,_0x3d585a){let _0x517a19=!0x1;return _0x30d677['field'](bracketState)['between'](0x0,_0x30d677['doc']['length'],_0x2eabd5=>{_0x2eabd5==_0x3d585a&&(_0x517a19=!0x0);}),_0x517a19;}function nextChar(_0x2b5c45,_0x3d7f48){let _0x31ed4c=_0x2b5c45['sliceString'](_0x3d7f48,_0x3d7f48+0x2);return _0x31ed4c['slice'](0x0,codePointSize(codePointAt(_0x31ed4c,0x0)));}function _0x72678d(_0x818198,_0x3895f3){let _0x342d8b=_0x818198['sliceString'](_0x3895f3-0x2,_0x3895f3);return codePointSize(codePointAt(_0x342d8b,0x0))==_0x342d8b['length']?_0x342d8b:_0x342d8b['slice'](0x1);}function _0xa37e08(_0x521506,_0x237f68,_0x2c2335,_0x280872){let _0x473315=null,_0x1ebfc2=_0x521506['changeByRange'](_0x43ef57=>{if(!_0x43ef57['empty'])return{'changes':[{'insert':_0x237f68,'from':_0x43ef57['from']},{'insert':_0x2c2335,'from':_0x43ef57['to']}],'effects':closeBracketEffect['of'](_0x43ef57['to']+_0x237f68['length']),'range':EditorSelection['range'](_0x43ef57['anchor']+_0x237f68['length'],_0x43ef57['head']+_0x237f68['length'])};let _0x164f07=nextChar(_0x521506['doc'],_0x43ef57['head']);return!_0x164f07||/\s/['test'](_0x164f07)||_0x280872['indexOf'](_0x164f07)>-0x1?{'changes':{'insert':_0x237f68+_0x2c2335,'from':_0x43ef57['head']},'effects':closeBracketEffect['of'](_0x43ef57['head']+_0x237f68['length']),'range':EditorSelection['cursor'](_0x43ef57['head']+_0x237f68['length'])}:{'range':_0x473315=_0x43ef57};});return _0x473315?null:_0x521506['update'](_0x1ebfc2,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0xeb4f9b(_0x21f4fb,_0x51ffb3,_0x20cc9a){let _0x489618=null,_0x353f96=_0x21f4fb['changeByRange'](_0xb9f071=>_0xb9f071['empty']&&nextChar(_0x21f4fb['doc'],_0xb9f071['head'])==_0x20cc9a?{'changes':{'from':_0xb9f071['head'],'to':_0xb9f071['head']+_0x20cc9a['length'],'insert':_0x20cc9a},'range':EditorSelection['cursor'](_0xb9f071['head']+_0x20cc9a['length'])}:_0x489618={'range':_0xb9f071});return _0x489618?null:_0x21f4fb['update'](_0x353f96,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x2e2137(_0x58f2ba,_0x2f2c81,_0x4b7bc7,_0x1ff2aa){let _0x2d6b91=_0x1ff2aa['stringPrefixes']||defaults['stringPrefixes'],_0x792c24=null,_0x580d61=_0x58f2ba['changeByRange'](_0x18e603=>{if(!_0x18e603['empty'])return{'changes':[{'insert':_0x2f2c81,'from':_0x18e603['from']},{'insert':_0x2f2c81,'from':_0x18e603['to']}],'effects':closeBracketEffect['of'](_0x18e603['to']+_0x2f2c81['length']),'range':EditorSelection['range'](_0x18e603['anchor']+_0x2f2c81['length'],_0x18e603['head']+_0x2f2c81['length'])};let _0x43ee63,_0xa6a47f=_0x18e603['head'],_0x171481=nextChar(_0x58f2ba['doc'],_0xa6a47f);if(_0x171481==_0x2f2c81){if(nodeStart(_0x58f2ba,_0xa6a47f))return{'changes':{'insert':_0x2f2c81+_0x2f2c81,'from':_0xa6a47f},'effects':closeBracketEffect['of'](_0xa6a47f+_0x2f2c81['length']),'range':EditorSelection['cursor'](_0xa6a47f+_0x2f2c81['length'])};if(closedBracketAt(_0x58f2ba,_0xa6a47f)){let _0x1e9524=_0x4b7bc7&&_0x58f2ba['sliceDoc'](_0xa6a47f,_0xa6a47f+0x3*_0x2f2c81['length'])==_0x2f2c81+_0x2f2c81+_0x2f2c81?_0x2f2c81+_0x2f2c81+_0x2f2c81:_0x2f2c81;return{'changes':{'from':_0xa6a47f,'to':_0xa6a47f+_0x1e9524['length'],'insert':_0x1e9524},'range':EditorSelection['cursor'](_0xa6a47f+_0x1e9524['length'])};}}else{if(_0x4b7bc7&&_0x58f2ba['sliceDoc'](_0xa6a47f-0x2*_0x2f2c81['length'],_0xa6a47f)==_0x2f2c81+_0x2f2c81&&(_0x43ee63=canStartStringAt(_0x58f2ba,_0xa6a47f-0x2*_0x2f2c81['length'],_0x2d6b91))>-0x1&&nodeStart(_0x58f2ba,_0x43ee63))return{'changes':{'insert':_0x2f2c81+_0x2f2c81+_0x2f2c81+_0x2f2c81,'from':_0xa6a47f},'effects':closeBracketEffect['of'](_0xa6a47f+_0x2f2c81['length']),'range':EditorSelection['cursor'](_0xa6a47f+_0x2f2c81['length'])};if(_0x58f2ba['charCategorizer'](_0xa6a47f)(_0x171481)!=CharCategory['Word']&&canStartStringAt(_0x58f2ba,_0xa6a47f,_0x2d6b91)>-0x1&&!probablyInString(_0x58f2ba,_0xa6a47f,_0x2f2c81,_0x2d6b91))return{'changes':{'insert':_0x2f2c81+_0x2f2c81,'from':_0xa6a47f},'effects':closeBracketEffect['of'](_0xa6a47f+_0x2f2c81['length']),'range':EditorSelection['cursor'](_0xa6a47f+_0x2f2c81['length'])};}return{'range':_0x792c24=_0x18e603};});return _0x792c24?null:_0x58f2ba['update'](_0x580d61,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function nodeStart(_0x3a23dc,_0x1c6737){let _0x3568cf=syntaxTree(_0x3a23dc)['resolveInner'](_0x1c6737+0x1);return _0x3568cf['parent']&&_0x3568cf['from']==_0x1c6737;}function probablyInString(_0x359301,_0x6cc4ec,_0x17c342,_0x30a381){let _0x1ea7d0=syntaxTree(_0x359301)['resolveInner'](_0x6cc4ec,-0x1),_0x4a8d6e=_0x30a381['reduce']((_0x1b6f20,_0xb43c7f)=>Math['max'](_0x1b6f20,_0xb43c7f['length']),0x0);for(let _0x2a7b51=0x0;_0x2a7b51<0x5;_0x2a7b51++){let _0x5b2fac=_0x359301['sliceDoc'](_0x1ea7d0['from'],Math['min'](_0x1ea7d0['to'],_0x1ea7d0['from']+_0x17c342['length']+_0x4a8d6e)),_0x142b3e=_0x5b2fac['indexOf'](_0x17c342);if(!_0x142b3e||_0x142b3e>-0x1&&_0x30a381['indexOf'](_0x5b2fac['slice'](0x0,_0x142b3e))>-0x1){let _0x1af589=_0x1ea7d0['firstChild'];for(;_0x1af589&&_0x1af589['from']==_0x1ea7d0['from']&&_0x1af589['to']-_0x1af589['from']>_0x17c342['length']+_0x142b3e;){if(_0x359301['sliceDoc'](_0x1af589['to']-_0x17c342['length'],_0x1af589['to'])==_0x17c342)return!0x1;_0x1af589=_0x1af589['firstChild'];}return!0x0;}let _0x303542=_0x1ea7d0['to']==_0x6cc4ec&&_0x1ea7d0['parent'];if(!_0x303542)break;_0x1ea7d0=_0x303542;}return!0x1;}function canStartStringAt(_0x30b3c9,_0x51eb04,_0x2743fe){let _0x1b52e3=_0x30b3c9['charCategorizer'](_0x51eb04);if(_0x1b52e3(_0x30b3c9['sliceDoc'](_0x51eb04-0x1,_0x51eb04))!=CharCategory['Word'])return _0x51eb04;for(let _0x4e10dd of _0x2743fe){let _0x2b346c=_0x51eb04-_0x4e10dd['length'];if(_0x30b3c9['sliceDoc'](_0x2b346c,_0x51eb04)==_0x4e10dd&&_0x1b52e3(_0x30b3c9['sliceDoc'](_0x2b346c-0x1,_0x2b346c))!=CharCategory['Word'])return _0x2b346c;}return-0x1;}function autocompletion(_0xf76bac={}){return[commitCharacters,completionState,completionConfig['of'](_0xf76bac),completionPlugin,completionKeymapExt,_0x56b1c9];}const completionKeymap=[{'key':'Ctrl-Space','run':startCompletion},{'mac':'Alt-`','run':startCompletion},{'mac':'Alt-i','run':startCompletion},{'key':'Escape','run':closeCompletion},{'key':'ArrowDown','run':moveCompletionSelection(!0x0)},{'key':'ArrowUp','run':moveCompletionSelection(!0x1)},{'key':'PageDown','run':moveCompletionSelection(!0x0,'page')},{'key':'PageUp','run':moveCompletionSelection(!0x1,'page')},{'key':'Enter','run':acceptCompletion}],completionKeymapExt=_0x346fa8['highest'](_0x1e0442['computeN']([completionConfig],_0x83b0ce=>_0x83b0ce['facet'](completionConfig)['defaultKeymap']?[completionKeymap]:[]));class Stack{constructor(_0x35e85f,_0x2e7e42,_0x5a9eda,_0x211c12,_0x13d8b2,_0x1ee2e9,_0x51b284,_0x4c4901,_0x234bcf,_0x4ddec6=0x0,_0x212a29){this['p']=_0x35e85f,this['stack']=_0x2e7e42,this['state']=_0x5a9eda,this['reducePos']=_0x211c12,this['pos']=_0x13d8b2,this['score']=_0x1ee2e9,this['buffer']=_0x51b284,this['bufferBase']=_0x4c4901,this['curContext']=_0x234bcf,this['lookAhead']=_0x4ddec6,this['parent']=_0x212a29;}['toString'](){return'['+this['stack']['filter']((_0x1b4217,_0x3cdd8c)=>_0x3cdd8c%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x517123,_0x15b7ac,_0x4f3a3f=0x0){let _0x5de1d5=_0x517123['parser']['context'];return new Stack(_0x517123,[],_0x15b7ac,_0x4f3a3f,_0x4f3a3f,0x0,[],0x0,_0x5de1d5?new StackContext(_0x5de1d5,_0x5de1d5['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x2e87a6,_0x10b9d2){this['stack']['push'](this['state'],_0x10b9d2,this['bufferBase']+this['buffer']['length']),this['state']=_0x2e87a6;}['reduce'](_0x22dcc8){var _0x49d84d;let _0x444db2=_0x22dcc8>>0x13,_0x552040=0xffff&_0x22dcc8,{parser:_0x45df51}=this['p'],_0x1ffa5e=this['reducePos']<this['pos']-0x19;_0x1ffa5e&&this['setLookAhead'](this['pos']);let _0x469a40=_0x45df51['dynamicPrecedence'](_0x552040);if(_0x469a40&&(this['score']+=_0x469a40),0x0==_0x444db2)return this['pushState'](_0x45df51['getGoto'](this['state'],_0x552040,!0x0),this['reducePos']),_0x552040<_0x45df51['minRepeatTerm']&&this['storeNode'](_0x552040,this['reducePos'],this['reducePos'],_0x1ffa5e?0x8:0x4,!0x0),void this['reduceContext'](_0x552040,this['reducePos']);let _0x17576f=this['stack']['length']-0x3*(_0x444db2-0x1)-(0x40000&_0x22dcc8?0x6:0x0),_0x47a490=_0x17576f?this['stack'][_0x17576f-0x2]:this['p']['ranges'][0x0]['from'],_0x36eee7=this['reducePos']-_0x47a490;_0x36eee7>=0x7d0&&!(null===(_0x49d84d=this['p']['parser']['nodeSet']['types'][_0x552040])||void 0x0===_0x49d84d?void 0x0:_0x49d84d['isAnonymous'])&&(_0x47a490==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x36eee7):this['p']['lastBigReductionSize']<_0x36eee7&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x47a490,this['p']['lastBigReductionSize']=_0x36eee7));let _0x52ee46=_0x17576f?this['stack'][_0x17576f-0x1]:0x0,_0x3d1196=this['bufferBase']+this['buffer']['length']-_0x52ee46;if(_0x552040<_0x45df51['minRepeatTerm']||0x20000&_0x22dcc8){let _0x4b7017=_0x45df51['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x552040,_0x47a490,_0x4b7017,_0x3d1196+0x4,!0x0);}if(0x40000&_0x22dcc8)this['state']=this['stack'][_0x17576f];else{let _0x22c7cf=this['stack'][_0x17576f-0x3];this['state']=_0x45df51['getGoto'](_0x22c7cf,_0x552040,!0x0);}for(;this['stack']['length']>_0x17576f;)this['stack']['pop']();this['reduceContext'](_0x552040,_0x47a490);}['storeNode'](_0xe25717,_0x5a2625,_0x2f31c6,_0x421ada=0x4,_0x386679=!0x1){if(0x0==_0xe25717&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x41b2b1=this,_0x43cef9=this['buffer']['length'];if(0x0==_0x43cef9&&_0x41b2b1['parent']&&(_0x43cef9=_0x41b2b1['bufferBase']-_0x41b2b1['parent']['bufferBase'],_0x41b2b1=_0x41b2b1['parent']),_0x43cef9>0x0&&0x0==_0x41b2b1['buffer'][_0x43cef9-0x4]&&_0x41b2b1['buffer'][_0x43cef9-0x1]>-0x1){if(_0x5a2625==_0x2f31c6)return;if(_0x41b2b1['buffer'][_0x43cef9-0x2]>=_0x5a2625)return void(_0x41b2b1['buffer'][_0x43cef9-0x2]=_0x2f31c6);}}if(_0x386679&&this['pos']!=_0x2f31c6){let _0x1e74dd=this['buffer']['length'];if(_0x1e74dd>0x0&&(0x0!=this['buffer'][_0x1e74dd-0x4]||this['buffer'][_0x1e74dd-0x1]<0x0)){let _0x523764=!0x1;for(let _0x3475cb=_0x1e74dd;_0x3475cb>0x0&&this['buffer'][_0x3475cb-0x2]>_0x2f31c6;_0x3475cb-=0x4)if(this['buffer'][_0x3475cb-0x1]>=0x0){_0x523764=!0x0;break;}if(_0x523764){for(;_0x1e74dd>0x0&&this['buffer'][_0x1e74dd-0x2]>_0x2f31c6;)this['buffer'][_0x1e74dd]=this['buffer'][_0x1e74dd-0x4],this['buffer'][_0x1e74dd+0x1]=this['buffer'][_0x1e74dd-0x3],this['buffer'][_0x1e74dd+0x2]=this['buffer'][_0x1e74dd-0x2],this['buffer'][_0x1e74dd+0x3]=this['buffer'][_0x1e74dd-0x1],_0x1e74dd-=0x4,_0x421ada>0x4&&(_0x421ada-=0x4);}}this['buffer'][_0x1e74dd]=_0xe25717,this['buffer'][_0x1e74dd+0x1]=_0x5a2625,this['buffer'][_0x1e74dd+0x2]=_0x2f31c6,this['buffer'][_0x1e74dd+0x3]=_0x421ada;}else this['buffer']['push'](_0xe25717,_0x5a2625,_0x2f31c6,_0x421ada);}['shift'](_0xe6c77f,_0x247225,_0x4585d2,_0x3e2b74){if(0x20000&_0xe6c77f)this['pushState'](0xffff&_0xe6c77f,this['pos']);else{if(0x40000&_0xe6c77f)this['pos']=_0x3e2b74,this['shiftContext'](_0x247225,_0x4585d2),_0x247225<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x247225,_0x4585d2,_0x3e2b74,0x4);else{let _0x57410c=_0xe6c77f,{parser:_0x51b0b3}=this['p'];(_0x3e2b74>this['pos']||_0x247225<=_0x51b0b3['maxNode'])&&(this['pos']=_0x3e2b74,_0x51b0b3['stateFlag'](_0x57410c,0x1)||(this['reducePos']=_0x3e2b74)),this['pushState'](_0x57410c,_0x4585d2),this['shiftContext'](_0x247225,_0x4585d2),_0x247225<=_0x51b0b3['maxNode']&&this['buffer']['push'](_0x247225,_0x4585d2,_0x3e2b74,0x4);}}}['apply'](_0x4bec66,_0x4682ee,_0x3e6e47,_0x45a5bc){0x10000&_0x4bec66?this['reduce'](_0x4bec66):this['shift'](_0x4bec66,_0x4682ee,_0x3e6e47,_0x45a5bc);}['useNode'](_0x531b6e,_0x4de0af){let _0x5d5605=this['p']['reused']['length']-0x1;(_0x5d5605<0x0||this['p']['reused'][_0x5d5605]!=_0x531b6e)&&(this['p']['reused']['push'](_0x531b6e),_0x5d5605++);let _0x46c00b=this['pos'];this['reducePos']=this['pos']=_0x46c00b+_0x531b6e['length'],this['pushState'](_0x4de0af,_0x46c00b),this['buffer']['push'](_0x5d5605,_0x46c00b,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x531b6e,this,this['p']['stream']['reset'](this['pos']-_0x531b6e['length'])));}['split'](){let _0x522359=this,_0x30b599=_0x522359['buffer']['length'];for(;_0x30b599>0x0&&_0x522359['buffer'][_0x30b599-0x2]>_0x522359['reducePos'];)_0x30b599-=0x4;let _0x237f70=_0x522359['buffer']['slice'](_0x30b599),_0x494635=_0x522359['bufferBase']+_0x30b599;for(;_0x522359&&_0x494635==_0x522359['bufferBase'];)_0x522359=_0x522359['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x237f70,_0x494635,this['curContext'],this['lookAhead'],_0x522359);}['recoverByDelete'](_0xff2aaf,_0x494149){let _0x501a65=_0xff2aaf<=this['p']['parser']['maxNode'];_0x501a65&&this['storeNode'](_0xff2aaf,this['pos'],_0x494149,0x4),this['storeNode'](0x0,this['pos'],_0x494149,_0x501a65?0x8:0x4),this['pos']=this['reducePos']=_0x494149,this['score']-=0xbe;}['canShift'](_0x4f9c60){for(let _0x37e7cc=new SimulatedStack(this);;){let _0x7a128b=this['p']['parser']['stateSlot'](_0x37e7cc['state'],0x4)||this['p']['parser']['hasAction'](_0x37e7cc['state'],_0x4f9c60);if(0x0==_0x7a128b)return!0x1;if(!(0x10000&_0x7a128b))return!0x0;_0x37e7cc['reduce'](_0x7a128b);}}['recoverByInsert'](_0x5777a7){if(this['stack']['length']>=0x12c)return[];let _0x2f13f7=this['p']['parser']['nextStates'](this['state']);if(_0x2f13f7['length']>0x8||this['stack']['length']>=0x78){let _0x1824fc=[];for(let _0x33de56,_0x1aae72=0x0;_0x1aae72<_0x2f13f7['length'];_0x1aae72+=0x2)(_0x33de56=_0x2f13f7[_0x1aae72+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x33de56,_0x5777a7)&&_0x1824fc['push'](_0x2f13f7[_0x1aae72],_0x33de56);if(this['stack']['length']<0x78)for(let _0x35e922=0x0;_0x1824fc['length']<0x8&&_0x35e922<_0x2f13f7['length'];_0x35e922+=0x2){let _0x3f684e=_0x2f13f7[_0x35e922+0x1];_0x1824fc['some']((_0x4517ec,_0x1d0dea)=>0x1&_0x1d0dea&&_0x4517ec==_0x3f684e)||_0x1824fc['push'](_0x2f13f7[_0x35e922],_0x3f684e);}_0x2f13f7=_0x1824fc;}let _0x1f52cd=[];for(let _0x20b0b8=0x0;_0x20b0b8<_0x2f13f7['length']&&_0x1f52cd['length']<0x4;_0x20b0b8+=0x2){let _0x12657e=_0x2f13f7[_0x20b0b8+0x1];if(_0x12657e==this['state'])continue;let _0xe3d396=this['split']();_0xe3d396['pushState'](_0x12657e,this['pos']),_0xe3d396['storeNode'](0x0,_0xe3d396['pos'],_0xe3d396['pos'],0x4,!0x0),_0xe3d396['shiftContext'](_0x2f13f7[_0x20b0b8],this['pos']),_0xe3d396['reducePos']=this['pos'],_0xe3d396['score']-=0xc8,_0x1f52cd['push'](_0xe3d396);}return _0x1f52cd;}['forceReduce'](){let {parser:_0x564b80}=this['p'],_0xf13096=_0x564b80['stateSlot'](this['state'],0x5);if(!(0x10000&_0xf13096))return!0x1;if(!_0x564b80['validAction'](this['state'],_0xf13096)){let _0x445f33=_0xf13096>>0x13,_0x510ad6=0xffff&_0xf13096,_0x5b9389=this['stack']['length']-0x3*_0x445f33;if(_0x5b9389<0x0||_0x564b80['getGoto'](this['stack'][_0x5b9389],_0x510ad6,!0x1)<0x0){let _0x549216=this['findForcedReduction']();if(null==_0x549216)return!0x1;_0xf13096=_0x549216;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0xf13096),!0x0;}['findForcedReduction'](){let {parser:_0x4b8f1c}=this['p'],_0x2243b7=[],_0x385516=(_0x56a749,_0x34d465)=>{if(!_0x2243b7['includes'](_0x56a749))return _0x2243b7['push'](_0x56a749),_0x4b8f1c['allActions'](_0x56a749,_0x3f1bfb=>{if(0x60000&_0x3f1bfb);else{if(0x10000&_0x3f1bfb){let _0xa5fed3=(_0x3f1bfb>>0x13)-_0x34d465;if(_0xa5fed3>0x1){let _0x2d8e90=0xffff&_0x3f1bfb,_0x1aaee0=this['stack']['length']-0x3*_0xa5fed3;if(_0x1aaee0>=0x0&&_0x4b8f1c['getGoto'](this['stack'][_0x1aaee0],_0x2d8e90,!0x1)>=0x0)return _0xa5fed3<<0x13|0x10000|_0x2d8e90;}}else{let _0xccfbf5=_0x385516(_0x3f1bfb,_0x34d465+0x1);if(null!=_0xccfbf5)return _0xccfbf5;}}});};return _0x385516(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:_0x366128}=this['p'];return 0xffff==_0x366128['data'][_0x366128['stateSlot'](this['state'],0x1)]&&!_0x366128['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x1b176b){if(this['state']!=_0x1b176b['state']||this['stack']['length']!=_0x1b176b['stack']['length'])return!0x1;for(let _0x52daea=0x0;_0x52daea<this['stack']['length'];_0x52daea+=0x3)if(this['stack'][_0x52daea]!=_0x1b176b['stack'][_0x52daea])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x300a5b){return this['p']['parser']['dialect']['flags'][_0x300a5b];}['shiftContext'](_0xabad9a,_0x5c0dc5){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0xabad9a,this,this['p']['stream']['reset'](_0x5c0dc5)));}['reduceContext'](_0x37963c,_0x574054){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x37963c,this,this['p']['stream']['reset'](_0x574054)));}['emitContext'](){let _0x5b8610=this['buffer']['length']-0x1;(_0x5b8610<0x0||-0x3!=this['buffer'][_0x5b8610])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x1025dd=this['buffer']['length']-0x1;(_0x1025dd<0x0||-0x4!=this['buffer'][_0x1025dd])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x28b6e6){if(_0x28b6e6!=this['curContext']['context']){let _0x4b8b3e=new StackContext(this['curContext']['tracker'],_0x28b6e6);_0x4b8b3e['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x4b8b3e;}}['setLookAhead'](_0x466a85){_0x466a85>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x466a85);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x2b65dc,_0x1eaae8){this['tracker']=_0x2b65dc,this['context']=_0x1eaae8,this['hash']=_0x2b65dc['strict']?_0x2b65dc['hash'](_0x1eaae8):0x0;}}class SimulatedStack{constructor(_0x45ba1e){this['start']=_0x45ba1e,this['state']=_0x45ba1e['state'],this['stack']=_0x45ba1e['stack'],this['base']=this['stack']['length'];}['reduce'](_0x38ffee){let _0x3a7522=0xffff&_0x38ffee,_0x4bba69=_0x38ffee>>0x13;0x0==_0x4bba69?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x4bba69-0x1);let _0x118674=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x3a7522,!0x0);this['state']=_0x118674;}}class StackBufferCursor{constructor(_0x310dc5,_0x1677d9,_0x3767f2){this['stack']=_0x310dc5,this['pos']=_0x1677d9,this['index']=_0x3767f2,this['buffer']=_0x310dc5['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x32d798,_0x8f1694=_0x32d798['bufferBase']+_0x32d798['buffer']['length']){return new StackBufferCursor(_0x32d798,_0x8f1694,_0x8f1694-_0x32d798['bufferBase']);}['maybeNext'](){let _0x1da730=this['stack']['parent'];null!=_0x1da730&&(this['index']=this['stack']['bufferBase']-_0x1da730['bufferBase'],this['stack']=_0x1da730,this['buffer']=_0x1da730['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 _0x4f90c5(_0x3721c4,_0x5eb543=Uint16Array){if('string'!=typeof _0x3721c4)return _0x3721c4;let _0x2d0d27=null;for(let _0x16b042=0x0,_0x5d9c56=0x0;_0x16b042<_0x3721c4['length'];){let _0x446bae=0x0;for(;;){let _0x12d35b=_0x3721c4['charCodeAt'](_0x16b042++),_0x4e86a2=!0x1;if(0x7e==_0x12d35b){_0x446bae=0xffff;break;}_0x12d35b>=0x5c&&_0x12d35b--,_0x12d35b>=0x22&&_0x12d35b--;let _0x3a3414=_0x12d35b-0x20;if(_0x3a3414>=0x2e&&(_0x3a3414-=0x2e,_0x4e86a2=!0x0),_0x446bae+=_0x3a3414,_0x4e86a2)break;_0x446bae*=0x2e;}_0x2d0d27?_0x2d0d27[_0x5d9c56++]=_0x446bae:_0x2d0d27=new _0x5eb543(_0x446bae);}return _0x2d0d27;}class _0x42d3c2{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x3b6354=new _0x42d3c2();class InputStream{constructor(_0x4964d9,_0x23cb0c){this['input']=_0x4964d9,this['ranges']=_0x23cb0c,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x3b6354,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x23cb0c[0x0]['from'],this['range']=_0x23cb0c[0x0],this['end']=_0x23cb0c[_0x23cb0c['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x1e2d34,_0x3d7bbd){let _0x27cac2=this['range'],_0x3d8b02=this['rangeIndex'],_0x354403=this['pos']+_0x1e2d34;for(;_0x354403<_0x27cac2['from'];){if(!_0x3d8b02)return null;let _0x486750=this['ranges'][--_0x3d8b02];_0x354403-=_0x27cac2['from']-_0x486750['to'],_0x27cac2=_0x486750;}for(;_0x3d7bbd<0x0?_0x354403>_0x27cac2['to']:_0x354403>=_0x27cac2['to'];){if(_0x3d8b02==this['ranges']['length']-0x1)return null;let _0x210a39=this['ranges'][++_0x3d8b02];_0x354403+=_0x210a39['from']-_0x27cac2['to'],_0x27cac2=_0x210a39;}return _0x354403;}['clipPos'](_0x20fe82){if(_0x20fe82>=this['range']['from']&&_0x20fe82<this['range']['to'])return _0x20fe82;for(let _0x26754c of this['ranges'])if(_0x26754c['to']>_0x20fe82)return Math['max'](_0x20fe82,_0x26754c['from']);return this['end'];}['peek'](_0x9a6e4c){let _0x2de57b,_0x44942b,_0x1caa3b=this['chunkOff']+_0x9a6e4c;if(_0x1caa3b>=0x0&&_0x1caa3b<this['chunk']['length'])_0x2de57b=this['pos']+_0x9a6e4c,_0x44942b=this['chunk']['charCodeAt'](_0x1caa3b);else{let _0x33d395=this['resolveOffset'](_0x9a6e4c,0x1);if(null==_0x33d395)return-0x1;if(_0x2de57b=_0x33d395,_0x2de57b>=this['chunk2Pos']&&_0x2de57b<this['chunk2Pos']+this['chunk2']['length'])_0x44942b=this['chunk2']['charCodeAt'](_0x2de57b-this['chunk2Pos']);else{let _0x29ac06=this['rangeIndex'],_0x43952f=this['range'];for(;_0x43952f['to']<=_0x2de57b;)_0x43952f=this['ranges'][++_0x29ac06];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x2de57b),_0x2de57b+this['chunk2']['length']>_0x43952f['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x43952f['to']-_0x2de57b)),_0x44942b=this['chunk2']['charCodeAt'](0x0);}}return _0x2de57b>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x2de57b+0x1),_0x44942b;}['acceptToken'](_0x4b0017,_0x2c9f15=0x0){let _0x2e249f=_0x2c9f15?this['resolveOffset'](_0x2c9f15,-0x1):this['pos'];if(null==_0x2e249f||_0x2e249f<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x4b0017,this['token']['end']=_0x2e249f;}['acceptTokenTo'](_0x22fa28,_0x59607d){this['token']['value']=_0x22fa28,this['token']['end']=_0x59607d;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x2c1336,chunkPos:_0x450f58}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x2c1336,this['chunk2Pos']=_0x450f58,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x166861=this['input']['chunk'](this['pos']),_0x3fdfe2=this['pos']+_0x166861['length'];this['chunk']=_0x3fdfe2>this['range']['to']?_0x166861['slice'](0x0,this['range']['to']-this['pos']):_0x166861,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'](_0x504abf=0x1){for(this['chunkOff']+=_0x504abf;this['pos']+_0x504abf>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x504abf-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x504abf,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'](_0x3351e7,_0x25c210){if(_0x25c210?(this['token']=_0x25c210,_0x25c210['start']=_0x3351e7,_0x25c210['lookAhead']=_0x3351e7+0x1,_0x25c210['value']=_0x25c210['extended']=-0x1):this['token']=_0x3b6354,this['pos']!=_0x3351e7){if(this['pos']=_0x3351e7,_0x3351e7==this['end'])return this['setDone'](),this;for(;_0x3351e7<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x3351e7>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x3351e7>=this['chunkPos']&&_0x3351e7<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x3351e7-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x1dcd49,_0x385063){if(_0x1dcd49>=this['chunkPos']&&_0x385063<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x1dcd49-this['chunkPos'],_0x385063-this['chunkPos']);if(_0x1dcd49>=this['chunk2Pos']&&_0x385063<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x1dcd49-this['chunk2Pos'],_0x385063-this['chunk2Pos']);if(_0x1dcd49>=this['range']['from']&&_0x385063<=this['range']['to'])return this['input']['read'](_0x1dcd49,_0x385063);let _0x1ffb65='';for(let _0x4f73a9 of this['ranges']){if(_0x4f73a9['from']>=_0x385063)break;_0x4f73a9['to']>_0x1dcd49&&(_0x1ffb65+=this['input']['read'](Math['max'](_0x4f73a9['from'],_0x1dcd49),Math['min'](_0x4f73a9['to'],_0x385063)));}return _0x1ffb65;}}class _0x3a2828{constructor(_0x487fdc,_0xc49bf8){this['data']=_0x487fdc,this['id']=_0xc49bf8;}['token'](_0x362757,_0x34c014){let {parser:_0x2059eb}=_0x34c014['p'];_0xaea754(this['data'],_0x362757,_0x34c014,this['id'],_0x2059eb['data'],_0x2059eb['tokenPrecTable']);}}_0x3a2828['prototype']['contextual']=_0x3a2828['prototype']['fallback']=_0x3a2828['prototype']['extend']=!0x1;class _0x2e064f{constructor(_0x2bd238,_0x4a3263,_0x2f55fb){this['precTable']=_0x4a3263,this['elseToken']=_0x2f55fb,this['data']='string'==typeof _0x2bd238?_0x4f90c5(_0x2bd238):_0x2bd238;}['token'](_0x56a74d,_0x17733e){let _0xe295ed=_0x56a74d['pos'],_0x3dbfa7=0x0;for(;;){let _0x231bcd=_0x56a74d['next']<0x0,_0x22ce12=_0x56a74d['resolveOffset'](0x1,0x1);if(_0xaea754(this['data'],_0x56a74d,_0x17733e,0x0,this['data'],this['precTable']),_0x56a74d['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x231bcd||_0x3dbfa7++,null==_0x22ce12)break;_0x56a74d['reset'](_0x22ce12,_0x56a74d['token']);}_0x3dbfa7&&(_0x56a74d['reset'](_0xe295ed,_0x56a74d['token']),_0x56a74d['acceptToken'](this['elseToken'],_0x3dbfa7));}}_0x2e064f['prototype']['contextual']=_0x3a2828['prototype']['fallback']=_0x3a2828['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x2e2d7e,_0x5c7d0e={}){this['token']=_0x2e2d7e,this['contextual']=!!_0x5c7d0e['contextual'],this['fallback']=!!_0x5c7d0e['fallback'],this['extend']=!!_0x5c7d0e['extend'];}}function _0xaea754(_0x2d63e8,_0x2938e6,_0x12bfe2,_0x15f620,_0x539952,_0x28d2c1){let _0x4174ba=0x0,_0x11ade2=0x1<<_0x15f620,{dialect:_0x58d43c}=_0x12bfe2['p']['parser'];t:for(;0x0!=(_0x11ade2&_0x2d63e8[_0x4174ba]);){let _0x1eaa51=_0x2d63e8[_0x4174ba+0x1];for(let _0x1f5ea0=_0x4174ba+0x3;_0x1f5ea0<_0x1eaa51;_0x1f5ea0+=0x2)if((_0x2d63e8[_0x1f5ea0+0x1]&_0x11ade2)>0x0){let _0x166929=_0x2d63e8[_0x1f5ea0];if(_0x58d43c['allows'](_0x166929)&&(-0x1==_0x2938e6['token']['value']||_0x2938e6['token']['value']==_0x166929||_0x226d51(_0x166929,_0x2938e6['token']['value'],_0x539952,_0x28d2c1))){_0x2938e6['acceptToken'](_0x166929);break;}}let _0x7f578f=_0x2938e6['next'],_0x4a3822=0x0,_0x26108a=_0x2d63e8[_0x4174ba+0x2];if(!(_0x2938e6['next']<0x0&&_0x26108a>_0x4a3822&&0xffff==_0x2d63e8[_0x1eaa51+0x3*_0x26108a-0x3])){for(;_0x4a3822<_0x26108a;){let _0x150e75=_0x4a3822+_0x26108a>>0x1,_0xe7508b=_0x1eaa51+_0x150e75+(_0x150e75<<0x1),_0x319e98=_0x2d63e8[_0xe7508b],_0x40dbb9=_0x2d63e8[_0xe7508b+0x1]||0x10000;if(_0x7f578f<_0x319e98)_0x26108a=_0x150e75;else{if(!(_0x7f578f>=_0x40dbb9)){_0x4174ba=_0x2d63e8[_0xe7508b+0x2],_0x2938e6['advance']();continue t;}_0x4a3822=_0x150e75+0x1;}}break;}_0x4174ba=_0x2d63e8[_0x1eaa51+0x3*_0x26108a-0x1];}}function findOffset(_0x4a527b,_0x53bb8e,_0x588120){for(let _0x4a09ca,_0x23b0e2=_0x53bb8e;0xffff!=(_0x4a09ca=_0x4a527b[_0x23b0e2]);_0x23b0e2++)if(_0x4a09ca==_0x588120)return _0x23b0e2-_0x53bb8e;return-0x1;}function _0x226d51(_0x699df9,_0x24bcc7,_0x432011,_0x53210a){let _0x359bd8=findOffset(_0x432011,_0x53210a,_0x24bcc7);return _0x359bd8<0x0||findOffset(_0x432011,_0x53210a,_0x699df9)<_0x359bd8;}const _0x45c8e6='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let stackIDs=null;function cutAt(_0x3b995e,_0x375782,_0xdca410){let _0x2a84ba=_0x3b995e['cursor'](IterMode['IncludeAnonymous']);for(_0x2a84ba['moveTo'](_0x375782);;)if(!(_0xdca410<0x0?_0x2a84ba['childBefore'](_0x375782):_0x2a84ba['childAfter'](_0x375782)))for(;;){if((_0xdca410<0x0?_0x2a84ba['to']<_0x375782:_0x2a84ba['from']>_0x375782)&&!_0x2a84ba['type']['isError'])return _0xdca410<0x0?Math['max'](0x0,Math['min'](_0x2a84ba['to']-0x1,_0x375782-0x19)):Math['min'](_0x3b995e['length'],Math['max'](_0x2a84ba['from']+0x1,_0x375782+0x19));if(_0xdca410<0x0?_0x2a84ba['prevSibling']():_0x2a84ba['nextSibling']())break;if(!_0x2a84ba['parent']())return _0xdca410<0x0?0x0:_0x3b995e['length'];}}let FragmentCursor$1=class{constructor(_0x3c41db,_0x12e86b){this['fragments']=_0x3c41db,this['nodeSet']=_0x12e86b,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x559fe2=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x559fe2){for(this['safeFrom']=_0x559fe2['openStart']?cutAt(_0x559fe2['tree'],_0x559fe2['from']+_0x559fe2['offset'],0x1)-_0x559fe2['offset']:_0x559fe2['from'],this['safeTo']=_0x559fe2['openEnd']?cutAt(_0x559fe2['tree'],_0x559fe2['to']+_0x559fe2['offset'],-0x1)-_0x559fe2['offset']:_0x559fe2['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x559fe2['tree']),this['start']['push'](-_0x559fe2['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x438d9b){if(_0x438d9b<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x438d9b;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x36e2ff=this['trees']['length']-0x1;if(_0x36e2ff<0x0)return this['nextFragment'](),null;let _0x3c81ba=this['trees'][_0x36e2ff],_0x5a4af9=this['index'][_0x36e2ff];if(_0x5a4af9==_0x3c81ba['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x472ce8=_0x3c81ba['children'][_0x5a4af9],_0x481a99=this['start'][_0x36e2ff]+_0x3c81ba['positions'][_0x5a4af9];if(_0x481a99>_0x438d9b)return this['nextStart']=_0x481a99,null;if(_0x472ce8 instanceof _0x39ae63){if(_0x481a99==_0x438d9b){if(_0x481a99<this['safeFrom'])return null;let _0x482b88=_0x481a99+_0x472ce8['length'];if(_0x482b88<=this['safeTo']){let _0xd267b2=_0x472ce8['prop'](_0x323035['lookAhead']);if(!_0xd267b2||_0x482b88+_0xd267b2<this['fragment']['to'])return _0x472ce8;}}this['index'][_0x36e2ff]++,_0x481a99+_0x472ce8['length']>=Math['max'](this['safeFrom'],_0x438d9b)&&(this['trees']['push'](_0x472ce8),this['start']['push'](_0x481a99),this['index']['push'](0x0));}else this['index'][_0x36e2ff]++,this['nextStart']=_0x481a99+_0x472ce8['length'];}}};class _0x62d1bd{constructor(_0x4a269d,_0x3ae5f8){this['stream']=_0x3ae5f8,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x4a269d['tokenizers']['map'](_0x3c6686=>new _0x42d3c2());}['getActions'](_0x1cb3d5){let _0x5f50b2=0x0,_0x57d52b=null,{parser:_0x2dcbd2}=_0x1cb3d5['p'],{tokenizers:_0x31ad4c}=_0x2dcbd2,_0x13eab3=_0x2dcbd2['stateSlot'](_0x1cb3d5['state'],0x3),_0x161d2e=_0x1cb3d5['curContext']?_0x1cb3d5['curContext']['hash']:0x0,_0x5c1cf1=0x0;for(let _0x1b7a9a=0x0;_0x1b7a9a<_0x31ad4c['length'];_0x1b7a9a++){if(!(0x1<<_0x1b7a9a&_0x13eab3))continue;let _0xe64e79=_0x31ad4c[_0x1b7a9a],_0x331bba=this['tokens'][_0x1b7a9a];if((!_0x57d52b||_0xe64e79['fallback'])&&((_0xe64e79['contextual']||_0x331bba['start']!=_0x1cb3d5['pos']||_0x331bba['mask']!=_0x13eab3||_0x331bba['context']!=_0x161d2e)&&(this['updateCachedToken'](_0x331bba,_0xe64e79,_0x1cb3d5),_0x331bba['mask']=_0x13eab3,_0x331bba['context']=_0x161d2e),_0x331bba['lookAhead']>_0x331bba['end']+0x19&&(_0x5c1cf1=Math['max'](_0x331bba['lookAhead'],_0x5c1cf1)),0x0!=_0x331bba['value'])){let _0x2e4989=_0x5f50b2;if(_0x331bba['extended']>-0x1&&(_0x5f50b2=this['addActions'](_0x1cb3d5,_0x331bba['extended'],_0x331bba['end'],_0x5f50b2)),_0x5f50b2=this['addActions'](_0x1cb3d5,_0x331bba['value'],_0x331bba['end'],_0x5f50b2),!_0xe64e79['extend']&&(_0x57d52b=_0x331bba,_0x5f50b2>_0x2e4989))break;}}for(;this['actions']['length']>_0x5f50b2;)this['actions']['pop']();return _0x5c1cf1&&_0x1cb3d5['setLookAhead'](_0x5c1cf1),_0x57d52b||_0x1cb3d5['pos']!=this['stream']['end']||(_0x57d52b=new _0x42d3c2(),_0x57d52b['value']=_0x1cb3d5['p']['parser']['eofTerm'],_0x57d52b['start']=_0x57d52b['end']=_0x1cb3d5['pos'],_0x5f50b2=this['addActions'](_0x1cb3d5,_0x57d52b['value'],_0x57d52b['end'],_0x5f50b2)),this['mainToken']=_0x57d52b,this['actions'];}['getMainToken'](_0x25adaa){if(this['mainToken'])return this['mainToken'];let _0x4a2f50=new _0x42d3c2(),{pos:_0xb7f0f,p:_0x5a44a0}=_0x25adaa;return _0x4a2f50['start']=_0xb7f0f,_0x4a2f50['end']=Math['min'](_0xb7f0f+0x1,_0x5a44a0['stream']['end']),_0x4a2f50['value']=_0xb7f0f==_0x5a44a0['stream']['end']?_0x5a44a0['parser']['eofTerm']:0x0,_0x4a2f50;}['updateCachedToken'](_0x1a3421,_0x22ce8c,_0x43ea23){let _0x5b6e31=this['stream']['clipPos'](_0x43ea23['pos']);if(_0x22ce8c['token'](this['stream']['reset'](_0x5b6e31,_0x1a3421),_0x43ea23),_0x1a3421['value']>-0x1){let {parser:_0x964012}=_0x43ea23['p'];for(let _0x4cc5c7=0x0;_0x4cc5c7<_0x964012['specialized']['length'];_0x4cc5c7++)if(_0x964012['specialized'][_0x4cc5c7]==_0x1a3421['value']){let _0x5c6129=_0x964012['specializers'][_0x4cc5c7](this['stream']['read'](_0x1a3421['start'],_0x1a3421['end']),_0x43ea23);if(_0x5c6129>=0x0&&_0x43ea23['p']['parser']['dialect']['allows'](_0x5c6129>>0x1)){0x1&_0x5c6129?_0x1a3421['extended']=_0x5c6129>>0x1:_0x1a3421['value']=_0x5c6129>>0x1;break;}}}else _0x1a3421['value']=0x0,_0x1a3421['end']=this['stream']['clipPos'](_0x5b6e31+0x1);}['putAction'](_0x2fa2f3,_0x323414,_0x5f5436,_0x3f52b8){for(let _0x2d3f25=0x0;_0x2d3f25<_0x3f52b8;_0x2d3f25+=0x3)if(this['actions'][_0x2d3f25]==_0x2fa2f3)return _0x3f52b8;return this['actions'][_0x3f52b8++]=_0x2fa2f3,this['actions'][_0x3f52b8++]=_0x323414,this['actions'][_0x3f52b8++]=_0x5f5436,_0x3f52b8;}['addActions'](_0xa7f406,_0x142c6d,_0x2fd13c,_0x1f2bb4){let {state:_0x1bb8b9}=_0xa7f406,{parser:_0x3123c3}=_0xa7f406['p'],{data:_0x228a11}=_0x3123c3;for(let _0x1cfcf5=0x0;_0x1cfcf5<0x2;_0x1cfcf5++)for(let _0x288e70=_0x3123c3['stateSlot'](_0x1bb8b9,_0x1cfcf5?0x2:0x1);;_0x288e70+=0x3){if(0xffff==_0x228a11[_0x288e70]){if(0x1!=_0x228a11[_0x288e70+0x1]){0x0==_0x1f2bb4&&0x2==_0x228a11[_0x288e70+0x1]&&(_0x1f2bb4=this['putAction'](_0xb562dd(_0x228a11,_0x288e70+0x2),_0x142c6d,_0x2fd13c,_0x1f2bb4));break;}_0x288e70=_0xb562dd(_0x228a11,_0x288e70+0x2);}_0x228a11[_0x288e70]==_0x142c6d&&(_0x1f2bb4=this['putAction'](_0xb562dd(_0x228a11,_0x288e70+0x1),_0x142c6d,_0x2fd13c,_0x1f2bb4));}return _0x1f2bb4;}}class _0x2972be{constructor(_0x35152e,_0x32b545,_0x2320df,_0x70292f){this['parser']=_0x35152e,this['input']=_0x32b545,this['ranges']=_0x70292f,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 InputStream(_0x32b545,_0x70292f),this['tokens']=new _0x62d1bd(_0x35152e,this['stream']),this['topTerm']=_0x35152e['top'][0x1];let {from:_0x44903f}=_0x70292f[0x0];this['stacks']=[Stack['start'](this,_0x35152e['top'][0x0],_0x44903f)],this['fragments']=_0x2320df['length']&&this['stream']['end']-_0x44903f>0x4*_0x35152e['bufferLength']?new FragmentCursor$1(_0x2320df,_0x35152e['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x2c7cf3,_0x4634cf,_0xed08d4=this['stacks'],_0x459f7e=this['minStackPos'],_0x4ba454=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0xed08d4['length']){let [_0x2eeb56]=_0xed08d4;for(;_0x2eeb56['forceReduce']()&&_0x2eeb56['stack']['length']&&_0x2eeb56['stack'][_0x2eeb56['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x5ca606=0x0;_0x5ca606<_0xed08d4['length'];_0x5ca606++){let _0xe45f5c=_0xed08d4[_0x5ca606];for(;;){if(this['tokens']['mainToken']=null,_0xe45f5c['pos']>_0x459f7e)_0x4ba454['push'](_0xe45f5c);else{if(this['advanceStack'](_0xe45f5c,_0x4ba454,_0xed08d4))continue;{_0x2c7cf3||(_0x2c7cf3=[],_0x4634cf=[]),_0x2c7cf3['push'](_0xe45f5c);let _0x5cc396=this['tokens']['getMainToken'](_0xe45f5c);_0x4634cf['push'](_0x5cc396['value'],_0x5cc396['end']);}}break;}}if(!_0x4ba454['length']){let _0x47e1f1=_0x2c7cf3&&_0x4de812(_0x2c7cf3);if(_0x47e1f1)return _0x45c8e6&&console['log']('Finish\x20with\x20'+this['stackID'](_0x47e1f1)),this['stackToTree'](_0x47e1f1);if(this['parser']['strict'])throw _0x45c8e6&&_0x2c7cf3&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x459f7e);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x2c7cf3){let _0x1e51aa=null!=this['stoppedAt']&&_0x2c7cf3[0x0]['pos']>this['stoppedAt']?_0x2c7cf3[0x0]:this['runRecovery'](_0x2c7cf3,_0x4634cf,_0x4ba454);if(_0x1e51aa)return _0x45c8e6&&console['log']('Force-finish\x20'+this['stackID'](_0x1e51aa)),this['stackToTree'](_0x1e51aa['forceAll']());}if(this['recovering']){let _0x19ab99=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x4ba454['length']>_0x19ab99){for(_0x4ba454['sort']((_0x261307,_0xfa2fdd)=>_0xfa2fdd['score']-_0x261307['score']);_0x4ba454['length']>_0x19ab99;)_0x4ba454['pop']();}_0x4ba454['some'](_0x5e1682=>_0x5e1682['reducePos']>_0x459f7e)&&this['recovering']--;}else{if(_0x4ba454['length']>0x1){t:for(let _0x347c76=0x0;_0x347c76<_0x4ba454['length']-0x1;_0x347c76++){let _0x46ea2f=_0x4ba454[_0x347c76];for(let _0x19d139=_0x347c76+0x1;_0x19d139<_0x4ba454['length'];_0x19d139++){let _0x563dee=_0x4ba454[_0x19d139];if(_0x46ea2f['sameState'](_0x563dee)||_0x46ea2f['buffer']['length']>0x1f4&&_0x563dee['buffer']['length']>0x1f4){if(!((_0x46ea2f['score']-_0x563dee['score']||_0x46ea2f['buffer']['length']-_0x563dee['buffer']['length'])>0x0)){_0x4ba454['splice'](_0x347c76--,0x1);continue t;}_0x4ba454['splice'](_0x19d139--,0x1);}}}_0x4ba454['length']>0xc&&_0x4ba454['splice'](0xc,_0x4ba454['length']-0xc);}}this['minStackPos']=_0x4ba454[0x0]['pos'];for(let _0x57af6e=0x1;_0x57af6e<_0x4ba454['length'];_0x57af6e++)_0x4ba454[_0x57af6e]['pos']<this['minStackPos']&&(this['minStackPos']=_0x4ba454[_0x57af6e]['pos']);return null;}['stopAt'](_0x4e390b){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x4e390b)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x4e390b;}['advanceStack'](_0x33d082,_0x19ae6a,_0x498ed4){let _0x579f0a=_0x33d082['pos'],{parser:_0x2af64d}=this,_0x8a0e18=_0x45c8e6?this['stackID'](_0x33d082)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x579f0a>this['stoppedAt'])return _0x33d082['forceReduce']()?_0x33d082:null;if(this['fragments']){let _0x3194a5=_0x33d082['curContext']&&_0x33d082['curContext']['tracker']['strict'],_0x42bd68=_0x3194a5?_0x33d082['curContext']['hash']:0x0;for(let _0x18941a=this['fragments']['nodeAt'](_0x579f0a);_0x18941a;){let _0x37db39=this['parser']['nodeSet']['types'][_0x18941a['type']['id']]==_0x18941a['type']?_0x2af64d['getGoto'](_0x33d082['state'],_0x18941a['type']['id']):-0x1;if(_0x37db39>-0x1&&_0x18941a['length']&&(!_0x3194a5||(_0x18941a['prop'](_0x323035['contextHash'])||0x0)==_0x42bd68))return _0x33d082['useNode'](_0x18941a,_0x37db39),_0x45c8e6&&console['log'](_0x8a0e18+this['stackID'](_0x33d082)+('\x20(via\x20reuse\x20of\x20'+_0x2af64d['getName'](_0x18941a['type']['id'])+')')),!0x0;if(!(_0x18941a instanceof _0x39ae63)||0x0==_0x18941a['children']['length']||_0x18941a['positions'][0x0]>0x0)break;let _0x5f0490=_0x18941a['children'][0x0];if(!(_0x5f0490 instanceof _0x39ae63&&0x0==_0x18941a['positions'][0x0]))break;_0x18941a=_0x5f0490;}}let _0x599f0f=_0x2af64d['stateSlot'](_0x33d082['state'],0x4);if(_0x599f0f>0x0)return _0x33d082['reduce'](_0x599f0f),_0x45c8e6&&console['log'](_0x8a0e18+this['stackID'](_0x33d082)+('\x20(via\x20always-reduce\x20'+_0x2af64d['getName'](0xffff&_0x599f0f)+')')),!0x0;if(_0x33d082['stack']['length']>=0x20d0){for(;_0x33d082['stack']['length']>0x1770&&_0x33d082['forceReduce'](););}let _0xec48b3=this['tokens']['getActions'](_0x33d082);for(let _0x6ba015=0x0;_0x6ba015<_0xec48b3['length'];){let _0x3fda48=_0xec48b3[_0x6ba015++],_0x2d945a=_0xec48b3[_0x6ba015++],_0x18c864=_0xec48b3[_0x6ba015++],_0x4f9a60=_0x6ba015==_0xec48b3['length']||!_0x498ed4,_0x4c28ca=_0x4f9a60?_0x33d082:_0x33d082['split'](),_0x5ec22e=this['tokens']['mainToken'];if(_0x4c28ca['apply'](_0x3fda48,_0x2d945a,_0x5ec22e?_0x5ec22e['start']:_0x4c28ca['pos'],_0x18c864),_0x45c8e6&&console['log'](_0x8a0e18+this['stackID'](_0x4c28ca)+('\x20(via\x20'+(0x10000&_0x3fda48?'reduce\x20of\x20'+_0x2af64d['getName'](0xffff&_0x3fda48):'shift')+'\x20for\x20'+_0x2af64d['getName'](_0x2d945a)+'\x20@\x20'+_0x579f0a+(_0x4c28ca==_0x33d082?'':',\x20split')+')')),_0x4f9a60)return!0x0;_0x4c28ca['pos']>_0x579f0a?_0x19ae6a['push'](_0x4c28ca):_0x498ed4['push'](_0x4c28ca);}return!0x1;}['advanceFully'](_0x240484,_0x3e16d0){let _0x1994ec=_0x240484['pos'];for(;;){if(!this['advanceStack'](_0x240484,null,null))return!0x1;if(_0x240484['pos']>_0x1994ec)return pushStackDedup(_0x240484,_0x3e16d0),!0x0;}}['runRecovery'](_0x449385,_0x55c850,_0x471aa8){let _0x26873f=null,_0x577f2f=!0x1;for(let _0x3abebd=0x0;_0x3abebd<_0x449385['length'];_0x3abebd++){let _0x44f274=_0x449385[_0x3abebd],_0xa9cf6d=_0x55c850[_0x3abebd<<0x1],_0x42392=_0x55c850[0x1+(_0x3abebd<<0x1)],_0x243fe2=_0x45c8e6?this['stackID'](_0x44f274)+'\x20->\x20':'';if(_0x44f274['deadEnd']){if(_0x577f2f)continue;if(_0x577f2f=!0x0,_0x44f274['restart'](),_0x45c8e6&&console['log'](_0x243fe2+this['stackID'](_0x44f274)+'\x20(restarted)'),this['advanceFully'](_0x44f274,_0x471aa8))continue;}let _0xc40b1=_0x44f274['split'](),_0xc98705=_0x243fe2;for(let _0x52235b=0x0;_0x52235b<0xa&&_0xc40b1['forceReduce']();_0x52235b++){if(_0x45c8e6&&console['log'](_0xc98705+this['stackID'](_0xc40b1)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0xc40b1,_0x471aa8))break;_0x45c8e6&&(_0xc98705=this['stackID'](_0xc40b1)+'\x20->\x20');}for(let _0x167146 of _0x44f274['recoverByInsert'](_0xa9cf6d))_0x45c8e6&&console['log'](_0x243fe2+this['stackID'](_0x167146)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x167146,_0x471aa8);this['stream']['end']>_0x44f274['pos']?(_0x42392==_0x44f274['pos']&&(_0x42392++,_0xa9cf6d=0x0),_0x44f274['recoverByDelete'](_0xa9cf6d,_0x42392),_0x45c8e6&&console['log'](_0x243fe2+this['stackID'](_0x44f274)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0xa9cf6d)+')')),pushStackDedup(_0x44f274,_0x471aa8)):(!_0x26873f||_0x26873f['score']<_0x44f274['score'])&&(_0x26873f=_0x44f274);}return _0x26873f;}['stackToTree'](_0x276a03){return _0x276a03['close'](),_0x39ae63['build']({'buffer':StackBufferCursor['create'](_0x276a03),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x276a03['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x3b35f0){let _0x17b433=(stackIDs||(stackIDs=new WeakMap()))['get'](_0x3b35f0);return _0x17b433||stackIDs['set'](_0x3b35f0,_0x17b433=String['fromCodePoint'](this['nextStackID']++)),_0x17b433+_0x3b35f0;}}function pushStackDedup(_0x6c0192,_0x475e91){for(let _0x1e8e75=0x0;_0x1e8e75<_0x475e91['length'];_0x1e8e75++){let _0x2503d3=_0x475e91[_0x1e8e75];if(_0x2503d3['pos']==_0x6c0192['pos']&&_0x2503d3['sameState'](_0x6c0192))return void(_0x475e91[_0x1e8e75]['score']<_0x6c0192['score']&&(_0x475e91[_0x1e8e75]=_0x6c0192));}_0x475e91['push'](_0x6c0192);}class Dialect{constructor(_0xb58cb6,_0x570263,_0xeca1d9){this['source']=_0xb58cb6,this['flags']=_0x570263,this['disabled']=_0xeca1d9;}['allows'](_0x13c124){return!this['disabled']||0x0==this['disabled'][_0x13c124];}}const _0x4c63b4=_0x3132a3=>_0x3132a3;class ContextTracker{constructor(_0x500849){this['start']=_0x500849['start'],this['shift']=_0x500849['shift']||_0x4c63b4,this['reduce']=_0x500849['reduce']||_0x4c63b4,this['reuse']=_0x500849['reuse']||_0x4c63b4,this['hash']=_0x500849['hash']||(()=>0x0),this['strict']=!0x1!==_0x500849['strict'];}}class _0x2b6e22 extends _0x2362af{constructor(_0x55abca){if(super(),this['wrappers']=[],0xe!=_0x55abca['version'])throw new RangeError('Parser\x20version\x20('+_0x55abca['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x462e20=_0x55abca['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x462e20['length'];for(let _0x59fdf2=0x0;_0x59fdf2<_0x55abca['repeatNodeCount'];_0x59fdf2++)_0x462e20['push']('');let _0x2c4429=Object['keys'](_0x55abca['topRules'])['map'](_0x43f0bc=>_0x55abca['topRules'][_0x43f0bc][0x1]),_0x2bdce3=[];for(let _0x31e8c4=0x0;_0x31e8c4<_0x462e20['length'];_0x31e8c4++)_0x2bdce3['push']([]);function _0x124bc8(_0x6d1489,_0x77ed15,_0x18cbf9){_0x2bdce3[_0x6d1489]['push']([_0x77ed15,_0x77ed15['deserialize'](String(_0x18cbf9))]);}if(_0x55abca['nodeProps'])for(let _0x34a82b of _0x55abca['nodeProps']){let _0x1f1e04=_0x34a82b[0x0];'string'==typeof _0x1f1e04&&(_0x1f1e04=_0x323035[_0x1f1e04]);for(let _0x2506b0=0x1;_0x2506b0<_0x34a82b['length'];){let _0x1281cd=_0x34a82b[_0x2506b0++];if(_0x1281cd>=0x0)_0x124bc8(_0x1281cd,_0x1f1e04,_0x34a82b[_0x2506b0++]);else{let _0x395314=_0x34a82b[_0x2506b0+-_0x1281cd];for(let _0x33f004=-_0x1281cd;_0x33f004>0x0;_0x33f004--)_0x124bc8(_0x34a82b[_0x2506b0++],_0x1f1e04,_0x395314);_0x2506b0++;}}}this['nodeSet']=new NodeSet(_0x462e20['map']((_0x55258c,_0x52bc5a)=>_0xcfe90f['define']({'name':_0x52bc5a>=this['minRepeatTerm']?void 0x0:_0x55258c,'id':_0x52bc5a,'props':_0x2bdce3[_0x52bc5a],'top':_0x2c4429['indexOf'](_0x52bc5a)>-0x1,'error':0x0==_0x52bc5a,'skipped':_0x55abca['skippedNodes']&&_0x55abca['skippedNodes']['indexOf'](_0x52bc5a)>-0x1}))),_0x55abca['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x55abca['propSources'])),this['strict']=!0x1,this['bufferLength']=DefaultBufferLength;let _0x4bfcd6=_0x4f90c5(_0x55abca['tokenData']);this['context']=_0x55abca['context'],this['specializerSpecs']=_0x55abca['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x2bb768=0x0;_0x2bb768<this['specializerSpecs']['length'];_0x2bb768++)this['specialized'][_0x2bb768]=this['specializerSpecs'][_0x2bb768]['term'];this['specializers']=this['specializerSpecs']['map'](getSpecializer),this['states']=_0x4f90c5(_0x55abca['states'],Uint32Array),this['data']=_0x4f90c5(_0x55abca['stateData']),this['goto']=_0x4f90c5(_0x55abca['goto']),this['maxTerm']=_0x55abca['maxTerm'],this['tokenizers']=_0x55abca['tokenizers']['map'](_0x6387d5=>'number'==typeof _0x6387d5?new _0x3a2828(_0x4bfcd6,_0x6387d5):_0x6387d5),this['topRules']=_0x55abca['topRules'],this['dialects']=_0x55abca['dialects']||{},this['dynamicPrecedences']=_0x55abca['dynamicPrecedences']||null,this['tokenPrecTable']=_0x55abca['tokenPrec'],this['termNames']=_0x55abca['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x3b71a7,_0x1a2592,_0x3ed866){let _0x1bd4c3=new _0x2972be(this,_0x3b71a7,_0x1a2592,_0x3ed866);for(let _0x5b0fe9 of this['wrappers'])_0x1bd4c3=_0x5b0fe9(_0x1bd4c3,_0x3b71a7,_0x1a2592,_0x3ed866);return _0x1bd4c3;}['getGoto'](_0x37f0af,_0x31783b,_0x3329ea=!0x1){let _0x43fe5e=this['goto'];if(_0x31783b>=_0x43fe5e[0x0])return-0x1;for(let _0x1cb6fa=_0x43fe5e[_0x31783b+0x1];;){let _0x345f02=_0x43fe5e[_0x1cb6fa++],_0x384b55=0x1&_0x345f02,_0x6ffacb=_0x43fe5e[_0x1cb6fa++];if(_0x384b55&&_0x3329ea)return _0x6ffacb;for(let _0x1f81d7=_0x1cb6fa+(_0x345f02>>0x1);_0x1cb6fa<_0x1f81d7;_0x1cb6fa++)if(_0x43fe5e[_0x1cb6fa]==_0x37f0af)return _0x6ffacb;if(_0x384b55)return-0x1;}}['hasAction'](_0x36f420,_0xb7229a){let _0x1e8f13=this['data'];for(let _0x42e605=0x0;_0x42e605<0x2;_0x42e605++)for(let _0x340a84,_0x3c06da=this['stateSlot'](_0x36f420,_0x42e605?0x2:0x1);;_0x3c06da+=0x3){if(0xffff==(_0x340a84=_0x1e8f13[_0x3c06da])){if(0x1!=_0x1e8f13[_0x3c06da+0x1]){if(0x2==_0x1e8f13[_0x3c06da+0x1])return _0xb562dd(_0x1e8f13,_0x3c06da+0x2);break;}_0x340a84=_0x1e8f13[_0x3c06da=_0xb562dd(_0x1e8f13,_0x3c06da+0x2)];}if(_0x340a84==_0xb7229a||0x0==_0x340a84)return _0xb562dd(_0x1e8f13,_0x3c06da+0x1);}return 0x0;}['stateSlot'](_0x2cb389,_0x3b5d1e){return this['states'][0x6*_0x2cb389+_0x3b5d1e];}['stateFlag'](_0x1f5fb6,_0x3f4a48){return(this['stateSlot'](_0x1f5fb6,0x0)&_0x3f4a48)>0x0;}['validAction'](_0xd054f4,_0x53e69c){return!!this['allActions'](_0xd054f4,_0x45f4b3=>_0x45f4b3==_0x53e69c||null);}['allActions'](_0x20a96f,_0x523d63){let _0x4754e9=this['stateSlot'](_0x20a96f,0x4),_0x4d6a61=_0x4754e9?_0x523d63(_0x4754e9):void 0x0;for(let _0x544269=this['stateSlot'](_0x20a96f,0x1);null==_0x4d6a61;_0x544269+=0x3){if(0xffff==this['data'][_0x544269]){if(0x1!=this['data'][_0x544269+0x1])break;_0x544269=_0xb562dd(this['data'],_0x544269+0x2);}_0x4d6a61=_0x523d63(_0xb562dd(this['data'],_0x544269+0x1));}return _0x4d6a61;}['nextStates'](_0x226a50){let _0x16c1e1=[];for(let _0x1e37bb=this['stateSlot'](_0x226a50,0x1);;_0x1e37bb+=0x3){if(0xffff==this['data'][_0x1e37bb]){if(0x1!=this['data'][_0x1e37bb+0x1])break;_0x1e37bb=_0xb562dd(this['data'],_0x1e37bb+0x2);}if(!(0x1&this['data'][_0x1e37bb+0x2])){let _0x44cbfb=this['data'][_0x1e37bb+0x1];_0x16c1e1['some']((_0x41d11a,_0x3ccced)=>0x1&_0x3ccced&&_0x41d11a==_0x44cbfb)||_0x16c1e1['push'](this['data'][_0x1e37bb],_0x44cbfb);}}return _0x16c1e1;}['configure'](_0x51eed5){let _0x45fd62=Object['assign'](Object['create'](_0x2b6e22['prototype']),this);if(_0x51eed5['props']&&(_0x45fd62['nodeSet']=this['nodeSet']['extend'](..._0x51eed5['props'])),_0x51eed5['top']){let _0x95c5ae=this['topRules'][_0x51eed5['top']];if(!_0x95c5ae)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x51eed5['top']);_0x45fd62['top']=_0x95c5ae;}return _0x51eed5['tokenizers']&&(_0x45fd62['tokenizers']=this['tokenizers']['map'](t=>{let _0x229e63=_0x51eed5['tokenizers']['find'](_0x3d31cd=>_0x3d31cd['from']==t);return _0x229e63?_0x229e63['to']:t;})),_0x51eed5['specializers']&&(_0x45fd62['specializers']=this['specializers']['slice'](),_0x45fd62['specializerSpecs']=this['specializerSpecs']['map']((_0x43b9ea,_0x22db64)=>{let _0xe03330=_0x51eed5['specializers']['find'](_0xd5cb70=>_0xd5cb70['from']==_0x43b9ea['external']);if(!_0xe03330)return _0x43b9ea;let _0x2f7b9b=Object['assign'](Object['assign']({},_0x43b9ea),{'external':_0xe03330['to']});return _0x45fd62['specializers'][_0x22db64]=getSpecializer(_0x2f7b9b),_0x2f7b9b;})),_0x51eed5['contextTracker']&&(_0x45fd62['context']=_0x51eed5['contextTracker']),_0x51eed5['dialect']&&(_0x45fd62['dialect']=this['parseDialect'](_0x51eed5['dialect'])),null!=_0x51eed5['strict']&&(_0x45fd62['strict']=_0x51eed5['strict']),_0x51eed5['wrap']&&(_0x45fd62['wrappers']=_0x45fd62['wrappers']['concat'](_0x51eed5['wrap'])),null!=_0x51eed5['bufferLength']&&(_0x45fd62['bufferLength']=_0x51eed5['bufferLength']),_0x45fd62;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x29416f){return this['termNames']?this['termNames'][_0x29416f]:String(_0x29416f<=this['maxNode']&&this['nodeSet']['types'][_0x29416f]['name']||_0x29416f);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x4b1992){let _0x569f89=this['dynamicPrecedences'];return null==_0x569f89?0x0:_0x569f89[_0x4b1992]||0x0;}['parseDialect'](_0x4c7175){let _0x1a5b3b=Object['keys'](this['dialects']),_0x500175=_0x1a5b3b['map'](()=>!0x1);if(_0x4c7175)for(let _0x281da0 of _0x4c7175['split']('\x20')){let _0x4cce33=_0x1a5b3b['indexOf'](_0x281da0);_0x4cce33>=0x0&&(_0x500175[_0x4cce33]=!0x0);}let _0x2101dc=null;for(let _0x233d52=0x0;_0x233d52<_0x1a5b3b['length'];_0x233d52++)if(!_0x500175[_0x233d52]){for(let _0x424f70,_0x3848ff=this['dialects'][_0x1a5b3b[_0x233d52]];0xffff!=(_0x424f70=this['data'][_0x3848ff++]);)(_0x2101dc||(_0x2101dc=new Uint8Array(this['maxTerm']+0x1)))[_0x424f70]=0x1;}return new Dialect(_0x4c7175,_0x500175,_0x2101dc);}static['deserialize'](_0x1699e6){return new _0x2b6e22(_0x1699e6);}}function _0xb562dd(_0x5c98b0,_0x2344df){return _0x5c98b0[_0x2344df]|_0x5c98b0[_0x2344df+0x1]<<0x10;}function _0x4de812(_0x19c074){let _0x39cc=null;for(let _0x37efcc of _0x19c074){let _0x12b9f5=_0x37efcc['p']['stoppedAt'];(_0x37efcc['pos']==_0x37efcc['p']['stream']['end']||null!=_0x12b9f5&&_0x37efcc['pos']>_0x12b9f5)&&_0x37efcc['p']['parser']['stateFlag'](_0x37efcc['state'],0x2)&&(!_0x39cc||_0x39cc['score']<_0x37efcc['score'])&&(_0x39cc=_0x37efcc);}return _0x39cc;}function getSpecializer(_0x364267){if(_0x364267['external']){let _0x3ae19f=_0x364267['extend']?0x1:0x0;return(_0x5fd88e,_0x22e8f2)=>_0x364267['external'](_0x5fd88e,_0x22e8f2)<<0x1|_0x3ae19f;}return _0x364267['get'];}const scriptText=0x37,StartCloseScriptTag=0x1,styleText=0x38,StartCloseStyleTag=0x2,textareaText=0x39,StartCloseTextareaTag=0x3,_0x5d81c3=0x4,_0x40a27c=0x5,StartTag=0x6,StartScriptTag=0x7,StartStyleTag=0x8,StartTextareaTag=0x9,StartSelfClosingTag=0xa,StartCloseTag=0xb,NoMatchStartCloseTag=0xc,MismatchedStartCloseTag=0xd,_0x4d2350=0x3a,IncompleteTag=0xe,IncompleteCloseTag=0xf,commentContent$1=0x3b,Element$2=0x15,_0x446d77=0x17,Attribute=0x18,AttributeName=0x19,AttributeValue=0x1b,UnquotedAttributeValue=0x1c,ScriptText=0x1d,StyleText=0x20,TextareaText=0x23,_0x2c5c54=0x25,_0x4a36f5=0x26,Dialect_noMatch=0x0,Dialect_selfClosing=0x1,_0x37d2d6={'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},implicitlyClosed={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},_0x15945e={'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 _0x4abbd2(_0x5f475c){return 0x2d==_0x5f475c||0x2e==_0x5f475c||0x3a==_0x5f475c||_0x5f475c>=0x41&&_0x5f475c<=0x5a||0x5f==_0x5f475c||_0x5f475c>=0x61&&_0x5f475c<=0x7a||_0x5f475c>=0xa1;}let _0x44b8aa=null,cachedInput=null,_0x583817=0x0;function tagNameAfter(_0x1594aa,_0x4cf9ae){let _0x2ba9e2=_0x1594aa['pos']+_0x4cf9ae;if(_0x583817==_0x2ba9e2&&cachedInput==_0x1594aa)return _0x44b8aa;let _0x48eda5=_0x1594aa['peek'](_0x4cf9ae),_0x58120c='';for(;_0x4abbd2(_0x48eda5);)_0x58120c+=String['fromCharCode'](_0x48eda5),_0x48eda5=_0x1594aa['peek'](++_0x4cf9ae);return cachedInput=_0x1594aa,_0x583817=_0x2ba9e2,_0x44b8aa=_0x58120c?_0x58120c['toLowerCase']():_0x48eda5==question$1||_0x48eda5==_0xbe20da?void 0x0:null;}const _0x5a8b23=0x3c,greaterThan=0x3e,_0x218528=0x2f,question$1=0x3f,_0xbe20da=0x21,_0x57cc9f=0x2d;function ElementContext(_0x21da13,_0x2bd4f8){this['name']=_0x21da13,this['parent']=_0x2bd4f8;}const startTagTerms=[StartTag,StartSelfClosingTag,StartScriptTag,StartStyleTag,StartTextareaTag],elementContext=new ContextTracker({'start':null,'shift':(_0x5a5b05,_0x343fee,_0x452b14,_0x1a280f)=>startTagTerms['indexOf'](_0x343fee)>-0x1?new ElementContext(tagNameAfter(_0x1a280f,0x1)||'',_0x5a5b05):_0x5a5b05,'reduce':(_0x129391,_0x38a051)=>_0x38a051==Element$2&&_0x129391?_0x129391['parent']:_0x129391,'reuse'(_0x3c35fe,_0x59c7fb,_0x4eb7c9,_0x4bafcb){let _0x2a24c7=_0x59c7fb['type']['id'];return _0x2a24c7==StartTag||_0x2a24c7==_0x2c5c54?new ElementContext(tagNameAfter(_0x4bafcb,0x1)||'',_0x3c35fe):_0x3c35fe;},'strict':!0x1}),tagStart=new ExternalTokenizer((_0x5e7edf,_0x2ca5a4)=>{if(_0x5e7edf['next']!=_0x5a8b23)return void(_0x5e7edf['next']<0x0&&_0x2ca5a4['context']&&_0x5e7edf['acceptToken'](_0x4d2350));_0x5e7edf['advance']();let _0x224a1d=_0x5e7edf['next']==_0x218528;_0x224a1d&&_0x5e7edf['advance']();let _0x34489b=tagNameAfter(_0x5e7edf,0x0);if(void 0x0===_0x34489b)return;if(!_0x34489b)return _0x5e7edf['acceptToken'](_0x224a1d?IncompleteCloseTag:IncompleteTag);let _0x48e086=_0x2ca5a4['context']?_0x2ca5a4['context']['name']:null;if(_0x224a1d){if(_0x34489b==_0x48e086)return _0x5e7edf['acceptToken'](StartCloseTag);if(_0x48e086&&implicitlyClosed[_0x48e086])return _0x5e7edf['acceptToken'](_0x4d2350,-0x2);if(_0x2ca5a4['dialectEnabled'](Dialect_noMatch))return _0x5e7edf['acceptToken'](NoMatchStartCloseTag);for(let _0x341824=_0x2ca5a4['context'];_0x341824;_0x341824=_0x341824['parent'])if(_0x341824['name']==_0x34489b)return;_0x5e7edf['acceptToken'](MismatchedStartCloseTag);}else{if('script'==_0x34489b)return _0x5e7edf['acceptToken'](StartScriptTag);if('style'==_0x34489b)return _0x5e7edf['acceptToken'](StartStyleTag);if('textarea'==_0x34489b)return _0x5e7edf['acceptToken'](StartTextareaTag);if(_0x37d2d6['hasOwnProperty'](_0x34489b))return _0x5e7edf['acceptToken'](StartSelfClosingTag);_0x48e086&&_0x15945e[_0x48e086]&&_0x15945e[_0x48e086][_0x34489b]?_0x5e7edf['acceptToken'](_0x4d2350,-0x1):_0x5e7edf['acceptToken'](StartTag);}},{'contextual':!0x0}),commentContent=new ExternalTokenizer(_0x44f85d=>{for(let _0x32be13=0x0,_0x5b81eb=0x0;;_0x5b81eb++){if(_0x44f85d['next']<0x0){_0x5b81eb&&_0x44f85d['acceptToken'](commentContent$1);break;}if(_0x44f85d['next']==_0x57cc9f)_0x32be13++;else{if(_0x44f85d['next']==greaterThan&&_0x32be13>=0x2){_0x5b81eb>=0x3&&_0x44f85d['acceptToken'](commentContent$1,-0x2);break;}_0x32be13=0x0;}_0x44f85d['advance']();}});function inForeignElement(_0x2311f1){for(;_0x2311f1;_0x2311f1=_0x2311f1['parent'])if('svg'==_0x2311f1['name']||'math'==_0x2311f1['name'])return!0x0;return!0x1;}const _0xbd3799=new ExternalTokenizer((_0x1403e5,_0xca1fd4)=>{if(_0x1403e5['next']==_0x218528&&_0x1403e5['peek'](0x1)==greaterThan){let _0x3ac9bd=_0xca1fd4['dialectEnabled'](Dialect_selfClosing)||inForeignElement(_0xca1fd4['context']);_0x1403e5['acceptToken'](_0x3ac9bd?_0x40a27c:_0x5d81c3,0x2);}else _0x1403e5['next']==greaterThan&&_0x1403e5['acceptToken'](_0x5d81c3,0x1);});function contentTokenizer(_0xe356e0,_0x3ef195,_0x478ba3){let _0x129715=0x2+_0xe356e0['length'];return new ExternalTokenizer(_0x2f06e2=>{for(let _0x3f1390=0x0,_0xfe400e=0x0,_0x471eac=0x0;;_0x471eac++){if(_0x2f06e2['next']<0x0){_0x471eac&&_0x2f06e2['acceptToken'](_0x3ef195);break;}if(0x0==_0x3f1390&&_0x2f06e2['next']==_0x5a8b23||0x1==_0x3f1390&&_0x2f06e2['next']==_0x218528||_0x3f1390>=0x2&&_0x3f1390<_0x129715&&_0x2f06e2['next']==_0xe356e0['charCodeAt'](_0x3f1390-0x2))_0x3f1390++,_0xfe400e++;else{if(_0x3f1390==_0x129715&&_0x2f06e2['next']==greaterThan){_0x471eac>_0xfe400e?_0x2f06e2['acceptToken'](_0x3ef195,-_0xfe400e):_0x2f06e2['acceptToken'](_0x478ba3,-(_0xfe400e-0x2));break;}if((0xa==_0x2f06e2['next']||0xd==_0x2f06e2['next'])&&_0x471eac){_0x2f06e2['acceptToken'](_0x3ef195,0x1);break;}_0x3f1390=_0xfe400e=0x0;}_0x2f06e2['advance']();}});}const scriptTokens=contentTokenizer('script',scriptText,StartCloseScriptTag),styleTokens=contentTokenizer('style',styleText,StartCloseStyleTag),textareaTokens=contentTokenizer('textarea',textareaText,StartCloseTextareaTag),htmlHighlighting=styleTags({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':tags$1['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':tags$1['angleBracket'],'TagName':tags$1['tagName'],'MismatchedCloseTag/TagName':[tags$1['tagName'],tags$1['invalid']],'AttributeName':tags$1['attributeName'],'AttributeValue\x20UnquotedAttributeValue':tags$1['attributeValue'],'Is':tags$1['definitionOperator'],'EntityReference\x20CharacterReference':tags$1['character'],'Comment':tags$1['blockComment'],'ProcessingInst':tags$1['processingInstruction'],'DoctypeDecl':tags$1['documentMeta']}),_0x138444=_0x2b6e22['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':elementContext,'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':[htmlHighlighting],'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':[scriptTokens,styleTokens,textareaTokens,_0xbd3799,tagStart,commentContent,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function getAttrs(_0x3567ab,_0x3a727a){let _0x2965f9=Object['create'](null);for(let _0x2ca6f9 of _0x3567ab['getChildren'](Attribute)){let _0x41f463=_0x2ca6f9['getChild'](AttributeName),_0x1d58ac=_0x2ca6f9['getChild'](AttributeValue)||_0x2ca6f9['getChild'](UnquotedAttributeValue);_0x41f463&&(_0x2965f9[_0x3a727a['read'](_0x41f463['from'],_0x41f463['to'])]=_0x1d58ac?_0x1d58ac['type']['id']==AttributeValue?_0x3a727a['read'](_0x1d58ac['from']+0x1,_0x1d58ac['to']-0x1):_0x3a727a['read'](_0x1d58ac['from'],_0x1d58ac['to']):'');}return _0x2965f9;}function _0x4c0a90(_0x3bbc14,_0x135803){let _0x23449c=_0x3bbc14['getChild'](_0x446d77);return _0x23449c?_0x135803['read'](_0x23449c['from'],_0x23449c['to']):'\x20';}function maybeNest(_0x230d95,_0x3675d5,_0x2b4aa9){let _0x1abf00;for(let _0xd35dbd of _0x2b4aa9)if(!_0xd35dbd['attrs']||_0xd35dbd['attrs'](_0x1abf00||(_0x1abf00=getAttrs(_0x230d95['node']['parent']['firstChild'],_0x3675d5))))return{'parser':_0xd35dbd['parser']};return null;}function configureNesting(_0x2688af=[],_0x4da024=[]){let _0x41ae51=[],_0x1b7a96=[],_0x5504d7=[],_0x1c644c=[];for(let _0x20f340 of _0x2688af){('script'==_0x20f340['tag']?_0x41ae51:'style'==_0x20f340['tag']?_0x1b7a96:'textarea'==_0x20f340['tag']?_0x5504d7:_0x1c644c)['push'](_0x20f340);}let _0x357a13=_0x4da024['length']?Object['create'](null):null;for(let _0x38e280 of _0x4da024)(_0x357a13[_0x38e280['name']]||(_0x357a13[_0x38e280['name']]=[]))['push'](_0x38e280);return _0x26b8f1((_0x55a467,_0x4721f5)=>{let _0x37970d=_0x55a467['type']['id'];if(_0x37970d==ScriptText)return maybeNest(_0x55a467,_0x4721f5,_0x41ae51);if(_0x37970d==StyleText)return maybeNest(_0x55a467,_0x4721f5,_0x1b7a96);if(_0x37970d==TextareaText)return maybeNest(_0x55a467,_0x4721f5,_0x5504d7);if(_0x37970d==Element$2&&_0x1c644c['length']){let _0x2f9a69,_0x3af8be=_0x55a467['node'],_0xd39248=_0x3af8be['firstChild'],_0x52421f=_0xd39248&&_0x4c0a90(_0xd39248,_0x4721f5);if(_0x52421f){for(let _0x18aa51 of _0x1c644c)if(_0x18aa51['tag']==_0x52421f&&(!_0x18aa51['attrs']||_0x18aa51['attrs'](_0x2f9a69||(_0x2f9a69=getAttrs(_0xd39248,_0x4721f5))))){let _0x45ef4d=_0x3af8be['lastChild'],_0x1ba3c9=_0x45ef4d['type']['id']==_0x4a36f5?_0x45ef4d['from']:_0x3af8be['to'];if(_0x1ba3c9>_0xd39248['to'])return{'parser':_0x18aa51['parser'],'overlay':[{'from':_0xd39248['to'],'to':_0x1ba3c9}]};}}}if(_0x357a13&&_0x37970d==Attribute){let _0x738294,_0x176a63=_0x55a467['node'];if(_0x738294=_0x176a63['firstChild']){let _0x49e860=_0x357a13[_0x4721f5['read'](_0x738294['from'],_0x738294['to'])];if(_0x49e860)for(let _0x3af8ad of _0x49e860){if(_0x3af8ad['tagName']&&_0x3af8ad['tagName']!=_0x4c0a90(_0x176a63['parent'],_0x4721f5))continue;let _0x4f3d00=_0x176a63['lastChild'];if(_0x4f3d00['type']['id']==AttributeValue){let _0x2d62ac=_0x4f3d00['from']+0x1,_0x4d200e=_0x4f3d00['lastChild'],_0x3dd79f=_0x4f3d00['to']-(_0x4d200e&&_0x4d200e['isError']?0x0:0x1);if(_0x3dd79f>_0x2d62ac)return{'parser':_0x3af8ad['parser'],'overlay':[{'from':_0x2d62ac,'to':_0x3dd79f}]};}else{if(_0x4f3d00['type']['id']==UnquotedAttributeValue)return{'parser':_0x3af8ad['parser'],'overlay':[{'from':_0x4f3d00['from'],'to':_0x4f3d00['to']}]};}}}}return null;});}const descendantOp=0x7a,Unit=0x1,identifier$2=0x7b,_0x1668f4=0x7c,_0x4b933f=0x2,queryIdentifier=0x7d,_0x2a51f8=0x3,_0x38d8d8=0x4,_0x565954=[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],_0x4b92a2=0x3a,_0x120128=0x28,_0x139333=0x5f,bracketL$1=0x5b,_0x36b304=0x2d,_0x28beed=0x2e,_0x25f65d=0x23,percent=0x25,_0xf00f0=0x26,_0x4f635b=0x5c,_0x13aed9=0xa,asterisk=0x2a;function _0x17996f(_0x24951c){return _0x24951c>=0x41&&_0x24951c<=0x5a||_0x24951c>=0x61&&_0x24951c<=0x7a||_0x24951c>=0xa1;}function isDigit(_0x54a75c){return _0x54a75c>=0x30&&_0x54a75c<=0x39;}function _0x5a189e(_0x1ed1ef){return isDigit(_0x1ed1ef)||_0x1ed1ef>=0x61&&_0x1ed1ef<=0x66||_0x1ed1ef>=0x41&&_0x1ed1ef<=0x46;}const identifierTokens=(_0x3d36ca,_0x3e4d9b,_0x10333e)=>(_0x5b817a,_0x5a8b74)=>{for(let _0x5b0f8d=!0x1,_0x5922c1=0x0,_0x390116=0x0;;_0x390116++){let {next:_0xe0bc65}=_0x5b817a;if(_0x17996f(_0xe0bc65)||_0xe0bc65==_0x36b304||_0xe0bc65==_0x139333||_0x5b0f8d&&isDigit(_0xe0bc65))!_0x5b0f8d&&(_0xe0bc65!=_0x36b304||_0x390116>0x0)&&(_0x5b0f8d=!0x0),_0x5922c1===_0x390116&&_0xe0bc65==_0x36b304&&_0x5922c1++,_0x5b817a['advance']();else{if(_0xe0bc65!=_0x4f635b||_0x5b817a['peek'](0x1)==_0x13aed9){_0x5b0f8d&&_0x5b817a['acceptToken'](0x2==_0x5922c1&&_0x5a8b74['canShift'](_0x4b933f)?_0x3e4d9b:_0xe0bc65==_0x120128?_0x10333e:_0x3d36ca);break;}if(_0x5b817a['advance'](),_0x5a189e(_0x5b817a['next'])){do{_0x5b817a['advance']();}while(_0x5a189e(_0x5b817a['next']));0x20==_0x5b817a['next']&&_0x5b817a['advance']();}else _0x5b817a['next']>-0x1&&_0x5b817a['advance']();_0x5b0f8d=!0x0;}}},identifiers=new ExternalTokenizer(identifierTokens(identifier$2,_0x4b933f,_0x1668f4)),queryIdentifiers=new ExternalTokenizer(identifierTokens(queryIdentifier,_0x2a51f8,_0x38d8d8)),descendant=new ExternalTokenizer(_0x7afe3=>{if(_0x565954['includes'](_0x7afe3['peek'](-0x1))){let {next:_0xe00980}=_0x7afe3;(_0x17996f(_0xe00980)||_0xe00980==_0x139333||_0xe00980==_0x25f65d||_0xe00980==_0x28beed||_0xe00980==asterisk||_0xe00980==bracketL$1||_0xe00980==_0x4b92a2&&_0x17996f(_0x7afe3['peek'](0x1))||_0xe00980==_0x36b304||_0xe00980==_0xf00f0)&&_0x7afe3['acceptToken'](descendantOp);}}),unitToken=new ExternalTokenizer(_0x56151b=>{if(!_0x565954['includes'](_0x56151b['peek'](-0x1))){let {next:_0x176a42}=_0x56151b;if(_0x176a42==percent&&(_0x56151b['advance'](),_0x56151b['acceptToken'](Unit)),_0x17996f(_0x176a42)){do{_0x56151b['advance']();}while(_0x17996f(_0x56151b['next'])||isDigit(_0x56151b['next']));_0x56151b['acceptToken'](Unit);}}}),cssHighlighting=styleTags({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':tags$1['definitionKeyword'],'from\x20to\x20selector':tags$1['keyword'],'NamespaceName':tags$1['namespace'],'KeyframeName':tags$1['labelName'],'KeyframeRangeName':tags$1['operatorKeyword'],'TagName':tags$1['tagName'],'ClassName':tags$1['className'],'PseudoClassName':tags$1['constant'](tags$1['className']),'IdName':tags$1['labelName'],'FeatureName\x20PropertyName':tags$1['propertyName'],'AttributeName':tags$1['attributeName'],'NumberLiteral':tags$1['number'],'KeywordQuery':tags$1['keyword'],'UnaryQueryOp':tags$1['operatorKeyword'],'CallTag\x20ValueName':tags$1['atom'],'VariableName':tags$1['variableName'],'Callee':tags$1['operatorKeyword'],'Unit':tags$1['unit'],'UniversalSelector\x20NestingSelector':tags$1['definitionOperator'],'MatchOp\x20CompareOp':tags$1['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':tags$1['logicOperator'],'BinOp':tags$1['arithmeticOperator'],'Important':tags$1['modifier'],'Comment':tags$1['blockComment'],'ColorLiteral':tags$1['color'],'ParenthesizedContent\x20StringLiteral':tags$1['string'],':':tags$1['punctuation'],'PseudoOp\x20#':tags$1['derefOperator'],';\x20,':tags$1['separator'],'(\x20)':tags$1['paren'],'[\x20]':tags$1['squareBracket'],'{\x20}':tags$1['brace']}),_0x1491f2={'__proto__':null,'lang':0x26,'nth-child':0x26,'nth-last-child':0x26,'nth-of-type':0x26,'nth-last-of-type':0x26,'dir':0x26,'host-context':0x26,'if':0x54,'url':0x7c,'url-prefix':0x7c,'domain':0x7c,'regexp':0x7c},spec_queryIdentifier={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},_0x377a39={'__proto__':null,'selector':0x70,'layer':0xa6},spec_AtKeyword={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},spec_identifier$1={'__proto__':null,'to':0xcf},_0x5f18e1=_0x2b6e22['deserialize']({'version':0xe,'states':'EbQYQdOOO#qQdOOP#xO`OOOOQP\x27#Cf\x27#CfOOQP\x27#Ce\x27#CeO#}QdO\x27#ChO$nQaO\x27#CcO$xQdO\x27#CkO%TQdO\x27#DpO%YQdO\x27#DrO%_QdO\x27#DuO%_QdO\x27#DxOOQP\x27#FV\x27#FVO&eQhO\x27#EhOOQS\x27#FU\x27#FUOOQS\x27#Ek\x27#EkQYQdOOO&lQdO\x27#EOO&PQhO\x27#EUO&lQdO\x27#EWO\x27aQdO\x27#EYO\x27lQdO\x27#E]O\x27tQhO\x27#EcO(VQdO\x27#EeO(bQaO\x27#CfO)VQ`O\x27#D{O)[Q`O\x27#F`O)gQdO\x27#F`QOQ`OOP)qO&jO\x27#CaPOOO)C@t)C@tOOQP\x27#Cj\x27#CjOOQP,59S,59SO#}QdO,59SO)|QdO,59VO%TQdO,5:[O%YQdO,5:^O%_QdO,5:aO%_QdO,5:cO%_QdO,5:dO%_QdO\x27#ErO*XQ`O,58}O*aQdO\x27#DzOOQS,58},58}OOQP\x27#Cn\x27#CnOOQO\x27#Dn\x27#DnOOQP,59V,59VO*hQ`O,59VO*mQ`O,59VOOQP\x27#Dq\x27#DqOOQP,5:[,5:[OOQO\x27#Ds\x27#DsO*rQpO,5:^O+]QaO,5:aO+sQaO,5:dOOQW\x27#DZ\x27#DZO,ZQhO\x27#DdO,xQhO\x27#FaO\x27tQhO\x27#DbO-WQ`O\x27#DhOOQW\x27#F[\x27#F[O-]Q`O,5;SO-eQ`O\x27#DeOOQS-E8i-E8iOOQ[\x27#Cs\x27#CsO-jQdO\x27#CtO.QQdO\x27#CzO.hQdO\x27#C}O/OQ!pO\x27#DPO1RQ!jO,5:jOOQO\x27#DU\x27#DUO*mQ`O\x27#DTO1cQ!nO\x27#FXO3`Q`O\x27#DVO3eQ`O\x27#DkOOQ[\x27#FX\x27#FXO-`Q`O,5:pO3jQ!bO,5:rOOQS\x27#E[\x27#E[O3rQ`O,5:tO3wQdO,5:tOOQO\x27#E_\x27#E_O4PQ`O,5:wO4UQhO,5:}O%_QdO\x27#DgOOQS,5;P,5;PO-eQ`O,5;PO4^QdO,5;PO4fQdO,5:gO4vQdO\x27#EtO5TQ`O,5;zO5TQ`O,5;zPOOO\x27#Ej\x27#EjP5`O&jO,58{POOO,58{,58{OOQP1G.n1G.nOOQP1G.q1G.qO*hQ`O1G.qO*mQ`O1G.qOOQP1G/v1G/vO5kQpO1G/xO5sQaO1G/{O6ZQaO1G/}O6qQaO1G0OO7XQaO,5;^OOQO-E8p-E8pOOQS1G.i1G.iO7cQ`O,5:fO7hQdO\x27#DoO7oQdO\x27#CrOOQP1G/x1G/xO&lQdO1G/xO7vQ!jO\x27#DZO8UQ!bO,59vO8^QhO,5:OOOQO\x27#F]\x27#F]O8XQ!bO,59zO\x27tQhO,59xO8fQhO\x27#EvO8sQ`O,5;{O9OQhO,59|O9uQhO\x27#DiOOQW,5:S,5:SOOQS1G0n1G0nOOQW,5:P,5:PO9|Q!fO\x27#FYOOQS\x27#FY\x27#FYOOQS\x27#Em\x27#EmO;^QdO,59`OOQ[,59`,59`O;tQdO,59fOOQ[,59f,59fO<[QdO,59iOOQ[,59i,59iOOQ[,59k,59kO&lQdO,59mO<rQhO\x27#EQOOQW\x27#EQ\x27#EQO=WQ`O1G0UO1[QhO1G0UOOQ[,59o,59oO\x27tQhO\x27#DXOOQ[,59q,59qO=]Q#tO,5:VOOQS1G0[1G0[OOQS1G0^1G0^OOQS1G0`1G0`O=hQ`O1G0`O=mQdO\x27#E`OOQS1G0c1G0cOOQS1G0i1G0iO=xQaO,5:RO-`Q`O1G0kOOQS1G0k1G0kO-eQ`O1G0kO>PQ!fO1G0ROOQO1G0R1G0ROOQO,5;`,5;`O>gQdO,5;`OOQO-E8r-E8rO>tQ`O1G1fPOOO-E8h-E8hPOOO1G.g1G.gOOQP7+$]7+$]OOQP7+%d7+%dO&lQdO7+%dOOQS1G0Q1G0QO?PQaO\x27#F_O?ZQ`O,5:ZO?`Q!fO\x27#ElO@^QdO\x27#FWO@hQ`O,59^O@mQ!bO7+%dO&lQdO1G/bO@uQhO1G/fOOQW1G/j1G/jOOQW1G/d1G/dOAWQhO,5;bOOQO-E8t-E8tOAfQhO\x27#DZOAtQhO\x27#F^OBPQ`O\x27#F^OBUQ`O,5:TOOQS-E8k-E8kOOQ[1G.z1G.zOOQ[1G/Q1G/QOOQ[1G/T1G/TOOQ[1G/X1G/XOBZQdO,5:lOOQS7+%p7+%pOB`Q`O7+%pOBeQhO\x27#DYOBmQ`O,59sO\x27tQhO,59sOOQ[1G/q1G/qOBuQ`O1G/qOOQS7+%z7+%zOBzQbO\x27#DPOOQO\x27#Eb\x27#EbOCYQ`O\x27#EaOOQO\x27#Ea\x27#EaOCeQ`O\x27#EwOCmQdO,5:zOOQS,5:z,5:zOOQ[1G/m1G/mOOQS7+&V7+&VO-`Q`O7+&VOCxQ!fO\x27#EsO&lQdO\x27#EsOEPQdO7+%mOOQO7+%m7+%mOOQO1G0z1G0zOEdQ!bO<<IOOElQdO\x27#EqOEvQ`O,5;yOOQP1G/u1G/uOOQS-E8j-E8jOFOQdO\x27#EpOFYQ`O,5;rOOQ]1G.x1G.xOOQP<<IO<<IOOFbQdO7+$|OOQO\x27#D]\x27#D]OFiQ!bO7+%QOFqQhO\x27#EoOF{Q`O,5;xO&lQdO,5;xOOQW1G/o1G/oOOQO\x27#ES\x27#ESOGTQ`O1G0WOOQS<<I[<<I[O&lQdO,59tOGnQhO1G/_OOQ[1G/_1G/_OGuQ`O1G/_OOQW-E8l-E8lOOQ[7+%]7+%]OOQO,5:{,5:{O=pQdO\x27#ExOCeQ`O,5;cOOQS,5;c,5;cOOQS-E8u-E8uOOQS1G0f1G0fOOQS<<Iq<<IqOG}Q!fO,5;_OOQS-E8q-E8qOOQO<<IX<<IXOOQPAN>jAN>jOIUQaO,5;]OOQO-E8o-E8oOI`QdO,5;[OOQO-E8n-E8nOOQW<<Hh<<HhOOQW<<Hl<<HlOIjQhO<<HlOI{QhO,5;ZOJWQ`O,5;ZOOQO-E8m-E8mOJ]QdO1G1dOBZQdO\x27#EuOJgQ`O7+%rOOQW7+%r7+%rOJoQ!bO1G/`OOQ[7+$y7+$yOJzQhO7+$yPKRQ`O\x27#EnOOQO,5;d,5;dOOQO-E8v-E8vOOQS1G0}1G0}OKWQ`OAN>WO&lQdO1G0uOK]Q`O7+\x27OOOQO,5;a,5;aOOQO-E8s-E8sOOQW<<I^<<I^OOQ[<<He<<HePOQW,5;Y,5;YOOQWG23rG23rOKeQdO7+&a','stateData':'Kx~O#sOS#tQQ~OW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#oRO~OQiOW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#ohO~O#m$SP~P!dO#tmO~O#ooO~O]qO`rOarOjsOmtO!juO!mwO#nvO~OpzO!^xO~P$SOc!QO#o|O#p}O~O#o!RO~O#o!TO~OW[OZ[O]TO`VOaVOjWOmXO!jYO!mZO#oRO~OS!]Oe!YO!V![O!Y!`O#q!XOp$TP~Ok$TP~P&POQ!jOe!cOm!dOp!eOr!mOt!mOz!kO!`!lO#o!bO#p!hO#}!fO~Ot!qO!`!lO#o!pO~Ot!sO#o!sO~OS!]Oe!YO!V![O!Y!`O#q!XO~Oe!vOpzO#Z!xO~O]YX`YX`!pXaYXjYXmYXpYX!^YX!jYX!mYX#nYX~O`!zO~Ok!{O#m$SXo$SX~O#m$SXo$SX~P!dO#u#OO#v#OO#w#QO~Oc#UO#o|O#p}O~OpzO!^xO~Oo$SP~P!dOe#`O~Oe#aO~Ol#bO!h#cO~O]qO`rOarOjsOmtO~Op!ia!^!ia!j!ia!m!ia#n!iad!ia~P*zOp!la!^!la!j!la!m!la#n!lad!la~P*zOR#gOS!]Oe!YOr#gOt#gO!V![O!Y!`O#q#dO#}!fO~O!R#iO!^#jOk$TXp$TX~Oe#mO~Ok#oOpzO~Oe!vO~O]#rO`#rOd#uOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl#wO~P&lO]#rO`#rOi#rOj#rOk#rOo#yO~P&lOP#zOSsXesXksXvsX!VsX!YsX!usX!wsX#qsX!TsXQsX]sX`sXdsXisXjsXmsXpsXrsXtsXzsX!`sX#osX#psX#}sXlsXosX!^sX!qsX#msX~Ov#{O!u#|O!w#}Ok$TP~P\x27tOe#aOS#{Xk#{Xv#{X!V#{X!Y#{X!u#{X!w#{X#q#{XQ#{X]#{X`#{Xd#{Xi#{Xj#{Xm#{Xp#{Xr#{Xt#{Xz#{X!`#{X#o#{X#p#{X#}#{Xl#{Xo#{X!^#{X!q#{X#m#{X~Oe$RO~Oe$TO~Ok$VOv#{O~Ok$WO~Ot$XO!`!lO~Op$YO~OpzO!R#iO~OpzO#Z$`O~O!q$bOk!oa#m!oao!oa~P&lOk#hX#m#hXo#hX~P!dOk!{O#m$Sao$Sa~O#u#OO#v#OO#w$hO~Ol$jO!h$kO~Op!ii!^!ii!j!ii!m!ii#n!iid!ii~P*zOp!ki!^!ki!j!ki!m!ki#n!kid!ki~P*zOp!li!^!li!j!li!m!li#n!lid!li~P*zOp#fa!^#fa~P$SOo$lO~Od$RP~P%_Od#zP~P&lO`!PXd}X!R}X!T!PX~O`$sO!T$tO~Od$uO!R#iO~Ok#jXp#jX!^#jX~P\x27tO!^#jOk$Tap$Ta~O!R#iOk!Uap!Ua!^!Uad!Ua`!Ua~OS!]Oe!YO!V![O!Y!`O#q$yO~Od$QP~P9dOv#{OQ#|X]#|X`#|Xd#|Xe#|Xi#|Xj#|Xk#|Xm#|Xp#|Xr#|Xt#|Xz#|X!`#|X#o#|X#p#|X#}#|Xl#|Xo#|X~O]#rO`#rOd%OOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl%PO~P&lO]#rO`#rOi#rOj#rOk#rOo%QO~P&lOe%SOS!tXk!tX!V!tX!Y!tX#q!tX~Ok%TO~Od%YOt%ZO!a%ZO~Ok%[O~Oo%cO#o%^O#}%]O~Od%dO~P$SOv#{O!^%hO!q%jOk!oi#m!oio!oi~P&lOk#ha#m#hao#ha~P!dOk!{O#m$Sio$Si~O!^%mOd$RX~P$SOd%oO~Ov#{OQ#`Xd#`Xe#`Xm#`Xp#`Xr#`Xt#`Xz#`X!^#`X!`#`X#o#`X#p#`X#}#`X~O!^%qOd#zX~P&lOd%sO~Ol%tOv#{O~OR#gOr#gOt#gO#q%vO#}!fO~O!R#iOk#jap#ja!^#ja~O`!PXd}X!R}X!^}X~O!R#iO!^%xOd$QX~O`%zO~Od%{O~O#o%|O~Ok&OO~O`&PO!R#iO~Od&ROk&QO~Od&UO~OP#zOpsX!^sXdsX~O#}%]Op#TX!^#TX~OpzO!^&WO~Oo&[O#o%^O#}%]O~Ov#{OQ#gXe#gXk#gXm#gXp#gXr#gXt#gXz#gX!^#gX!`#gX!q#gX#m#gX#o#gX#p#gX#}#gXo#gX~O!^%hO!q&`Ok!oq#m!oqo!oq~P&lOl&aOv#{O~Od#eX!^#eX~P%_O!^%mOd$Ra~Od#dX!^#dX~P&lO!^%qOd#za~Od&fO~P&lOd&gO!T&hO~Od#cX!^#cX~P9dO!^%xOd$Qa~O]&mOd&oO~OS#bae#ba!V#ba!Y#ba#q#ba~Od&qO~PG]Od&qOk&rO~Ov#{OQ#gae#gak#gam#gap#gar#gat#gaz#ga!^#ga!`#ga!q#ga#m#ga#o#ga#p#ga#}#gao#ga~Od#ea!^#ea~P$SOd#da!^#da~P&lOR#gOr#gOt#gO#q%vO#}%]O~O!R#iOd#ca!^#ca~O`&xO~O!^%xOd$Qi~P&lO]&mOd&|O~Ov#{Od|ik|i~Od&}O~PG]Ok\x27OO~Od\x27PO~O!^%xOd$Qq~Od#cq!^#cq~P&lO#s!a#t#}]#}v!m~','goto':'2h$UPPPPP$VP$YP$c$uP$cP%X$cPP%_PPP%e%o%oPPPPP%oPP%oP&]P%oP%o\x27W%oP\x27t\x27w\x27}\x27}(^\x27}P\x27}P\x27}P\x27}\x27}P(m\x27}(yP(|PP)p)v$c)|$c*SP$cP$c$cP*Y*{+YP$YP+aP+dP$YP$YP$YP+j$YP+m+p+s+z$YP$YPP$YP,P,V,f,|-[-b-l-r-x.O.U.`.f.l.rPPPPPPPPPPP.x/R/w/z0|P1U1u2O2R2U2[RnQ_^OP`kz!{$dq[OPYZ`kuvwxz!v!{#`$d%mqSOPYZ`kuvwxz!v!{#`$d%mQpTR#RqQ!OVR#SrQ#S!QS$Q!i!jR$i#U!V!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27Q!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QU#g!Y$t&hU%`$Y%b&WR&V%_!V!iac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QR$S!kQ%W$RR&S%Xk!^]bf!Y![!g#i#j#m$P$R%X%xQ#e!YQ${#mQ%w$tQ&j%xR&w&hQ!ygQ#p!`Q$^!xR%f$`R#n!]!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QQ!qdR$X!rQ!PVR#TrQ#S!PR$i#TQ!SWR#VsQ!UXR#WtQ{UQ!wgQ#^yQ#o!_Q$U!nQ$[!uQ$_!yQ%e$^Q&Y%aQ&]%fR&v&XSjPzQ!}kQ$c!{R%k$dZiPkz!{$dR$P!gQ%}%SR&z&mR!rdR!teR$Z!tS%a$Y%bR&t&WV%_$Y%b&WQ#PmR$g#PQ`OSkPzU!a`k$dR$d!{Q$p#aY%p$p%u&d&l\x27QQ%u$sQ&d%qQ&l%zR\x27Q&xQ#t!cQ#v!dQ#x!eV$}#t#v#xQ%X$RR&T%XQ%y$zS&k%y&yR&y&lQ%r$pR&e%rQ%n$mR&c%nQyUR#]yQ%i$aR&_%iQ!|jS$e!|$fR$f!}Q&n%}R&{&nQ#k!ZR$x#kQ%b$YR&Z%bQ&X%aR&u&X__OP`kz!{$d^UOP`kz!{$dQ!VYQ!WZQ#XuQ#YvQ#ZwQ#[xQ$]!vQ$m#`R&b%mR$q#aQ!gaQ!oc[#q!c!d!e#t#v#xQ$a!zd$o#a$p$s%q%u%z&d&l&x\x27QQ$r#cQ%R#{S%g$a%iQ%l$kQ&^%hR&p&P]#s!c!d!e#t#v#xW!Z]b!g$PQ!ufQ#f!YQ#l![Q$v#iQ$w#jQ$z#mS%V$R%XR&i%xQ#h!YQ%w$tR&w&hR$|#mR$n#`QlPR#_zQ!_]Q!nbQ$O!gR%U$P','nodeNames':'⚠\x20Unit\x20VariableName\x20VariableName\x20QueryCallee\x20Comment\x20StyleSheet\x20RuleSet\x20UniversalSelector\x20TagSelector\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,\x20CallLiteral\x20CallTag\x20ParenthesizedContent\x20PseudoClassName\x20ArgList\x20IdSelector\x20IdName\x20AttributeSelector\x20AttributeName\x20MatchOp\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\x20AtRule\x20Styles','maxTerm':0x8f,'nodeProps':[['isolate',-0x2,0x5,0x24,''],['openedBy',0x14,'(',0x1c,'[',0x1f,'{'],['closedBy',0x15,')',0x1d,']',0x20,'}']],'propSources':[cssHighlighting],'skippedNodes':[0x0,0x5,0x6a],'repeatNodeCount':0xf,'tokenData':'JQ~R!YOX$qX^%i^p$qpq%iqr({rs-ust/itu6Wuv$qvw7Qwx7cxy9Qyz9cz{9h{|:R|}>t}!O?V!O!P?t!P!Q@]!Q![AU![!]BP!]!^B{!^!_C^!_!`DY!`!aDm!a!b$q!b!cEn!c!}$q!}#OG{#O#P$q#P#QH^#Q#R6W#R#o$q#o#pHo#p#q6W#q#rIQ#r#sIc#s#y$q#y#z%i#z$f$q$f$g%i$g#BY$q#BY#BZ%i#BZ$IS$q$IS$I_%i$I_$I|$q$I|$JO%i$JO$JT$q$JT$JU%i$JU$KV$q$KV$KW%i$KW&FU$q&FU&FV%i&FV;\x27S$q;\x27S;=`Iz<%lO$q`$tSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%VS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%fP;=`<%l%Q~%nh#s~OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Q~\x27ah#s~!a`OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Qj)OUOy%Qz#]%Q#]#^)b#^;\x27S%Q;\x27S;=`%c<%lO%Qj)gU!a`Oy%Qz#a%Q#a#b)y#b;\x27S%Q;\x27S;=`%c<%lO%Qj*OU!a`Oy%Qz#d%Q#d#e*b#e;\x27S%Q;\x27S;=`%c<%lO%Qj*gU!a`Oy%Qz#c%Q#c#d*y#d;\x27S%Q;\x27S;=`%c<%lO%Qj+OU!a`Oy%Qz#f%Q#f#g+b#g;\x27S%Q;\x27S;=`%c<%lO%Qj+gU!a`Oy%Qz#h%Q#h#i+y#i;\x27S%Q;\x27S;=`%c<%lO%Qj,OU!a`Oy%Qz#T%Q#T#U,b#U;\x27S%Q;\x27S;=`%c<%lO%Qj,gU!a`Oy%Qz#b%Q#b#c,y#c;\x27S%Q;\x27S;=`%c<%lO%Qj-OU!a`Oy%Qz#h%Q#h#i-b#i;\x27S%Q;\x27S;=`%c<%lO%Qj-iS!qY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~-xWOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c<%lO-u~.gOt~~.jRO;\x27S-u;\x27S;=`.s;=`O-u~.vXOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c;=`<%l-u<%lO-u~/fP;=`<%l-uj/nYjYOy%Qz!Q%Q!Q![0^![!c%Q!c!i0^!i#T%Q#T#Z0^#Z;\x27S%Q;\x27S;=`%c<%lO%Qj0cY!a`Oy%Qz!Q%Q!Q![1R![!c%Q!c!i1R!i#T%Q#T#Z1R#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1WY!a`Oy%Qz!Q%Q!Q![1v![!c%Q!c!i1v!i#T%Q#T#Z1v#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1}YrY!a`Oy%Qz!Q%Q!Q![2m![!c%Q!c!i2m!i#T%Q#T#Z2m#Z;\x27S%Q;\x27S;=`%c<%lO%Qj2tYrY!a`Oy%Qz!Q%Q!Q![3d![!c%Q!c!i3d!i#T%Q#T#Z3d#Z;\x27S%Q;\x27S;=`%c<%lO%Qj3iY!a`Oy%Qz!Q%Q!Q![4X![!c%Q!c!i4X!i#T%Q#T#Z4X#Z;\x27S%Q;\x27S;=`%c<%lO%Qj4`YrY!a`Oy%Qz!Q%Q!Q![5O![!c%Q!c!i5O!i#T%Q#T#Z5O#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5TY!a`Oy%Qz!Q%Q!Q![5s![!c%Q!c!i5s!i#T%Q#T#Z5s#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5zSrY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qd6ZUOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qd6tS!hS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qb7VSZQOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~7fWOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z<%lO7c~8RRO;\x27S7c;\x27S;=`8[;=`O7c~8_XOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z;=`<%l7c<%lO7c~8}P;=`<%l7cj9VSeYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~9hOd~n9oUWQvWOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qj:YWvW!mQOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj:wU!a`Oy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Qj;bY!a`#}YOy%Qz!Q%Q!Q![;Z![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj<VY!a`Oy%Qz{%Q{|<u|}%Q}!O<u!O!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj<zU!a`Oy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj=eU!a`#}YOy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj>O[!a`#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj>yS!^YOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qj?[WvWOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj?yU]YOy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Q~@bTvWOy%Qz{@q{;\x27S%Q;\x27S;=`%c<%lO%Q~@xS!a`#t~Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjAZ[#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%QjBUU`YOy%Qz![%Q![!]Bh!];\x27S%Q;\x27S;=`%c<%lO%QbBoSaQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjCQSkYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QhCcU!TWOy%Qz!_%Q!_!`Cu!`;\x27S%Q;\x27S;=`%c<%lO%QhC|S!TW!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QlDaS!TW!hSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjDtV!jQ!TWOy%Qz!_%Q!_!`Cu!`!aEZ!a;\x27S%Q;\x27S;=`%c<%lO%QbEbS!jQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjEqYOy%Qz}%Q}!OFa!O!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjFfW!a`Oy%Qz!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjGV[iY!a`Oy%Qz}%Q}!OGO!O!Q%Q!Q![GO![!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjHQSmYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QnHcSl^Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjHtSpYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjIVSoYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QfIhU!mQOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Q`I}P;=`<%l$q','tokenizers':[descendant,unitToken,identifiers,queryIdentifiers,0x1,0x2,0x3,0x4,new _0x2e064f('m~RRYZ[z{a~~g~aO#v~~dP!P!Qg~lO#w~~',0x1c,0x81)],'topRules':{'StyleSheet':[0x0,0x6],'Styles':[0x1,0x69]},'specialized':[{'term':0x7c,'get':_0x375f4c=>_0x1491f2[_0x375f4c]||-0x1},{'term':0x7d,'get':_0x1d1b62=>spec_queryIdentifier[_0x1d1b62]||-0x1},{'term':0x4,'get':_0x1beea3=>_0x377a39[_0x1beea3]||-0x1},{'term':0x19,'get':_0x4dbf93=>spec_AtKeyword[_0x4dbf93]||-0x1},{'term':0x7b,'get':_0x237dad=>spec_identifier$1[_0x237dad]||-0x1}],'tokenPrec':0x7ab});let _properties=null;function properties(){if(!_properties&&'object'==typeof document&&document['body']){let {style:_0x1370f3}=document['body'],_0xf1f3c2=[],_0x33dae3=new Set();for(let _0x52f138 in _0x1370f3)'cssText'!=_0x52f138&&'cssFloat'!=_0x52f138&&'string'==typeof _0x1370f3[_0x52f138]&&(/[A-Z]/['test'](_0x52f138)&&(_0x52f138=_0x52f138['replace'](/[A-Z]/g,_0x178d38=>'-'+_0x178d38['toLowerCase']())),_0x33dae3['has'](_0x52f138)||(_0xf1f3c2['push'](_0x52f138),_0x33dae3['add'](_0x52f138)));_properties=_0xf1f3c2['sort']()['map'](_0x37dac7=>({'type':'property','label':_0x37dac7,'apply':_0x37dac7+':\x20'}));}return _properties||[];}const _0x4dcec3=['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'](_0x62e898=>({'type':'class','label':_0x62e898})),_0x2598f2=['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'](_0x3421d6=>({'type':'keyword','label':_0x3421d6}))['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'](_0x257679=>({'type':'constant','label':_0x257679}))),tags=['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'](_0x117e58=>({'type':'type','label':_0x117e58})),atRules=['@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'](_0x53f9f6=>({'type':'keyword','label':_0x53f9f6})),identifier$1=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x3733f5=/^-(-[\w-]*)?$/;function _0x21f794(_0x191478,_0x1189ed){var _0x4b1243;if(('('==_0x191478['name']||_0x191478['type']['isError'])&&(_0x191478=_0x191478['parent']||_0x191478),'ArgList'!=_0x191478['name'])return!0x1;let _0x4ff911=null===(_0x4b1243=_0x191478['parent'])||void 0x0===_0x4b1243?void 0x0:_0x4b1243['firstChild'];return'Callee'==(null==_0x4ff911?void 0x0:_0x4ff911['name'])&&'var'==_0x1189ed['sliceString'](_0x4ff911['from'],_0x4ff911['to']);}const _0x5161d7=new _0x244577(),declSelector=['Declaration'];function astTop(_0x3c82be){for(let _0x30aaaa=_0x3c82be;;){if(_0x30aaaa['type']['isTop'])return _0x30aaaa;if(!(_0x30aaaa=_0x30aaaa['parent']))return _0x3c82be;}}function _0x3253d6(_0x287519,_0x99830f,_0x1129fd){if(_0x99830f['to']-_0x99830f['from']>0x1000){let _0xe7bad=_0x5161d7['get'](_0x99830f);if(_0xe7bad)return _0xe7bad;let _0x373f44=[],_0x3865a7=new Set(),_0x12805e=_0x99830f['cursor'](IterMode['IncludeAnonymous']);if(_0x12805e['firstChild']())do{for(let _0x553c95 of _0x3253d6(_0x287519,_0x12805e['node'],_0x1129fd))_0x3865a7['has'](_0x553c95['label'])||(_0x3865a7['add'](_0x553c95['label']),_0x373f44['push'](_0x553c95));}while(_0x12805e['nextSibling']());return _0x5161d7['set'](_0x99830f,_0x373f44),_0x373f44;}{let _0x444c51=[],_0x58f541=new Set();return _0x99830f['cursor']()['iterate'](_0x3043e9=>{var _0xa30b34;if(_0x1129fd(_0x3043e9)&&_0x3043e9['matchContext'](declSelector)&&':'==(null===(_0xa30b34=_0x3043e9['node']['nextSibling'])||void 0x0===_0xa30b34?void 0x0:_0xa30b34['name'])){let _0x24f5d0=_0x287519['sliceString'](_0x3043e9['from'],_0x3043e9['to']);_0x58f541['has'](_0x24f5d0)||(_0x58f541['add'](_0x24f5d0),_0x444c51['push']({'label':_0x24f5d0,'type':'variable'}));}}),_0x444c51;}}const defineCSSCompletionSource=_0x10aa19=>_0x26b2db=>{let {state:_0x1a9686,pos:_0x3b10ad}=_0x26b2db,_0x49bad1=syntaxTree(_0x1a9686)['resolveInner'](_0x3b10ad,-0x1),_0x407029=_0x49bad1['type']['isError']&&_0x49bad1['from']==_0x49bad1['to']-0x1&&'-'==_0x1a9686['doc']['sliceString'](_0x49bad1['from'],_0x49bad1['to']);if('PropertyName'==_0x49bad1['name']||(_0x407029||'TagName'==_0x49bad1['name'])&&/^(Block|Styles)$/['test'](_0x49bad1['resolve'](_0x49bad1['to'])['name']))return{'from':_0x49bad1['from'],'options':properties(),'validFor':identifier$1};if('ValueName'==_0x49bad1['name'])return{'from':_0x49bad1['from'],'options':_0x2598f2,'validFor':identifier$1};if('PseudoClassName'==_0x49bad1['name'])return{'from':_0x49bad1['from'],'options':_0x4dcec3,'validFor':identifier$1};if(_0x10aa19(_0x49bad1)||(_0x26b2db['explicit']||_0x407029)&&_0x21f794(_0x49bad1,_0x1a9686['doc']))return{'from':_0x10aa19(_0x49bad1)||_0x407029?_0x49bad1['from']:_0x3b10ad,'options':_0x3253d6(_0x1a9686['doc'],astTop(_0x49bad1),_0x10aa19),'validFor':_0x3733f5};if('TagName'==_0x49bad1['name']){for(let {parent:_0x4e3414}=_0x49bad1;_0x4e3414;_0x4e3414=_0x4e3414['parent'])if('Block'==_0x4e3414['name'])return{'from':_0x49bad1['from'],'options':properties(),'validFor':identifier$1};return{'from':_0x49bad1['from'],'options':tags,'validFor':identifier$1};}if('AtKeyword'==_0x49bad1['name'])return{'from':_0x49bad1['from'],'options':atRules,'validFor':identifier$1};if(!_0x26b2db['explicit'])return null;let _0x4690b5=_0x49bad1['resolve'](_0x3b10ad),_0x20d9bb=_0x4690b5['childBefore'](_0x3b10ad);return _0x20d9bb&&':'==_0x20d9bb['name']&&'PseudoClassSelector'==_0x4690b5['name']?{'from':_0x3b10ad,'options':_0x4dcec3,'validFor':identifier$1}:_0x20d9bb&&':'==_0x20d9bb['name']&&'Declaration'==_0x4690b5['name']||'ArgList'==_0x4690b5['name']?{'from':_0x3b10ad,'options':_0x2598f2,'validFor':identifier$1}:'Block'==_0x4690b5['name']||'Styles'==_0x4690b5['name']?{'from':_0x3b10ad,'options':properties(),'validFor':identifier$1}:null;},cssCompletionSource=defineCSSCompletionSource(_0x2813ab=>'VariableName'==_0x2813ab['name']),_0x17be93=_0x1c3806['define']({'name':'css','parser':_0x5f18e1['configure']({'props':[indentNodeProp['add']({'Declaration':continuedIndent()}),_0x474e8e['add']({'Block\x20KeyframeList':_0x5d30d4})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}});function _0x1e24e6(){return new LanguageSupport(_0x17be93,_0x17be93['data']['of']({'autocomplete':cssCompletionSource}));}const _0x170fd3=0x13c,_0x541575=0x13d,_0x3e5374=0x1,_0x39d5f1=0x2,questionDot=0x3,JSXStartTag=0x4,insertSemi=0x13e,_0x27dc01=0x140,_0x85556f=0x141,LineComment=0x5,BlockComment=0x6,Dialect_jsx=0x0,_0x52fdab=[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],_0x37658e=0x7d,_0x277bde=0x3b,_0x13036b=0x2f,star=0x2a,_0x16a57e=0x2b,_0x289e59=0x2d,lt=0x3c,_0x5189cc=0x2c,question=0x3f,dot=0x2e,bracketL=0x5b,trackNewline=new ContextTracker({'start':!0x1,'shift':(_0x129a19,_0x2c3ee1)=>_0x2c3ee1==LineComment||_0x2c3ee1==BlockComment||_0x2c3ee1==_0x27dc01?_0x129a19:_0x2c3ee1==_0x85556f,'strict':!0x1}),insertSemicolon=new ExternalTokenizer((_0x29e7a4,_0x2e6205)=>{let {next:_0x2693cb}=_0x29e7a4;(_0x2693cb==_0x37658e||-0x1==_0x2693cb||_0x2e6205['context'])&&_0x29e7a4['acceptToken'](insertSemi);},{'contextual':!0x0,'fallback':!0x0}),_0x30ac3e=new ExternalTokenizer((_0x1472e0,_0x488931)=>{let _0x5d2867,{next:_0x18b4f1}=_0x1472e0;_0x52fdab['indexOf'](_0x18b4f1)>-0x1||(_0x18b4f1!=_0x13036b||(_0x5d2867=_0x1472e0['peek'](0x1))!=_0x13036b&&_0x5d2867!=star)&&(_0x18b4f1==_0x37658e||_0x18b4f1==_0x277bde||-0x1==_0x18b4f1||_0x488931['context']||_0x1472e0['acceptToken'](_0x170fd3));},{'contextual':!0x0}),_0x3aa8fc=new ExternalTokenizer((_0xf90859,_0x4e7631)=>{_0xf90859['next']!=bracketL||_0x4e7631['context']||_0xf90859['acceptToken'](_0x541575);},{'contextual':!0x0}),operatorToken=new ExternalTokenizer((_0x16a3b3,_0x59431d)=>{let {next:_0x2db827}=_0x16a3b3;if(_0x2db827==_0x16a57e||_0x2db827==_0x289e59){if(_0x16a3b3['advance'](),_0x2db827==_0x16a3b3['next']){_0x16a3b3['advance']();let _0x126e77=!_0x59431d['context']&&_0x59431d['canShift'](_0x3e5374);_0x16a3b3['acceptToken'](_0x126e77?_0x3e5374:_0x39d5f1);}}else _0x2db827==question&&_0x16a3b3['peek'](0x1)==dot&&(_0x16a3b3['advance'](),_0x16a3b3['advance'](),(_0x16a3b3['next']<0x30||_0x16a3b3['next']>0x39)&&_0x16a3b3['acceptToken'](questionDot));},{'contextual':!0x0});function identifierChar(_0x392012,_0x319bd9){return _0x392012>=0x41&&_0x392012<=0x5a||_0x392012>=0x61&&_0x392012<=0x7a||0x5f==_0x392012||_0x392012>=0xc0||!_0x319bd9&&_0x392012>=0x30&&_0x392012<=0x39;}const _0x3086b2=new ExternalTokenizer((_0x58d4c0,_0xcd772e)=>{if(_0x58d4c0['next']!=lt||!_0xcd772e['dialectEnabled'](Dialect_jsx))return;if(_0x58d4c0['advance'](),_0x58d4c0['next']==_0x13036b)return;let _0x4d53f8=0x0;for(;_0x52fdab['indexOf'](_0x58d4c0['next'])>-0x1;)_0x58d4c0['advance'](),_0x4d53f8++;if(identifierChar(_0x58d4c0['next'],!0x0)){for(_0x58d4c0['advance'](),_0x4d53f8++;identifierChar(_0x58d4c0['next'],!0x1);)_0x58d4c0['advance'](),_0x4d53f8++;for(;_0x52fdab['indexOf'](_0x58d4c0['next'])>-0x1;)_0x58d4c0['advance'](),_0x4d53f8++;if(_0x58d4c0['next']==_0x5189cc)return;for(let _0x489167=0x0;;_0x489167++){if(0x7==_0x489167){if(!identifierChar(_0x58d4c0['next'],!0x0))return;break;}if(_0x58d4c0['next']!='extends'['charCodeAt'](_0x489167))break;_0x58d4c0['advance'](),_0x4d53f8++;}}_0x58d4c0['acceptToken'](JSXStartTag,-_0x4d53f8);}),jsHighlight=styleTags({'get\x20set\x20async\x20static':tags$1['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':tags$1['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':tags$1['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':tags$1['definitionKeyword'],'import\x20export\x20from':tags$1['moduleKeyword'],'with\x20debugger\x20new':tags$1['keyword'],'TemplateString':tags$1['special'](tags$1['string']),'super':tags$1['atom'],'BooleanLiteral':tags$1['bool'],'this':tags$1['self'],'null':tags$1['null'],'Star':tags$1['modifier'],'VariableName':tags$1['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':tags$1['function'](tags$1['variableName']),'VariableDefinition':tags$1['definition'](tags$1['variableName']),'Label':tags$1['labelName'],'PropertyName':tags$1['propertyName'],'PrivatePropertyName':tags$1['special'](tags$1['propertyName']),'CallExpression/MemberExpression/PropertyName':tags$1['function'](tags$1['propertyName']),'FunctionDeclaration/VariableDefinition':tags$1['function'](tags$1['definition'](tags$1['variableName'])),'ClassDeclaration/VariableDefinition':tags$1['definition'](tags$1['className']),'NewExpression/VariableName':tags$1['className'],'PropertyDefinition':tags$1['definition'](tags$1['propertyName']),'PrivatePropertyDefinition':tags$1['definition'](tags$1['special'](tags$1['propertyName'])),'UpdateOp':tags$1['updateOperator'],'LineComment\x20Hashbang':tags$1['lineComment'],'BlockComment':tags$1['blockComment'],'Number':tags$1['number'],'String':tags$1['string'],'Escape':tags$1['escape'],'ArithOp':tags$1['arithmeticOperator'],'LogicOp':tags$1['logicOperator'],'BitOp':tags$1['bitwiseOperator'],'CompareOp':tags$1['compareOperator'],'RegExp':tags$1['regexp'],'Equals':tags$1['definitionOperator'],'Arrow':tags$1['function'](tags$1['punctuation']),':\x20Spread':tags$1['punctuation'],'(\x20)':tags$1['paren'],'[\x20]':tags$1['squareBracket'],'{\x20}':tags$1['brace'],'InterpolationStart\x20InterpolationEnd':tags$1['special'](tags$1['brace']),'.':tags$1['derefOperator'],',\x20;':tags$1['separator'],'@':tags$1['meta'],'TypeName':tags$1['typeName'],'TypeDefinition':tags$1['definition'](tags$1['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':tags$1['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':tags$1['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':tags$1['operatorKeyword'],'JSXAttributeValue':tags$1['attributeValue'],'JSXText':tags$1['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':tags$1['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':tags$1['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':tags$1['attributeName'],'JSXBuiltin/JSXIdentifier':tags$1['standard'](tags$1['tagName'])}),spec_identifier={'__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},_0x230725={'__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},_0x3d8f5a={'__proto__':null,'<':0xc1},_0x560a23=_0x2b6e22['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':trackNewline,'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':[jsHighlight],'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':[_0x30ac3e,_0x3aa8fc,operatorToken,_0x3086b2,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,insertSemicolon,new _0x2e064f('$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 _0x2e064f('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':_0x21bddf=>spec_identifier[_0x21bddf]||-0x1},{'term':0x157,'get':_0x262906=>_0x230725[_0x262906]||-0x1},{'term':0x5f,'get':_0xa98889=>_0x3d8f5a[_0xa98889]||-0x1}],'tokenPrec':0x3b61}),snippets=[snippetCompletion('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),snippetCompletion('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),snippetCompletion('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),snippetCompletion('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),snippetCompletion('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),snippetCompletion('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),snippetCompletion('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),snippetCompletion('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),snippetCompletion('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),snippetCompletion('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),snippetCompletion('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],typescriptSnippets=snippets['concat']([snippetCompletion('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),snippetCompletion('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),snippetCompletion('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),_0x491d91=new _0x244577(),_0x5c6791=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x2733e2(_0x1e15fa){return(_0x299fe4,_0x32fe62)=>{let _0x24d482=_0x299fe4['node']['getChild']('VariableDefinition');return _0x24d482&&_0x32fe62(_0x24d482,_0x1e15fa),!0x0;};}const functionContext=['FunctionDeclaration'],gatherCompletions={'FunctionDeclaration':_0x2733e2('function'),'ClassDeclaration':_0x2733e2('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x2733e2('constant'),'TypeAliasDeclaration':_0x2733e2('type'),'NamespaceDeclaration':_0x2733e2('namespace'),'VariableDefinition'(_0x213dd7,_0x4b2a26){_0x213dd7['matchContext'](functionContext)||_0x4b2a26(_0x213dd7,'variable');},'TypeDefinition'(_0x1b63c7,_0xda73a7){_0xda73a7(_0x1b63c7,'type');},'__proto__':null};function getScope(_0x570fe6,_0x2da3ff){let _0x38dc48=_0x491d91['get'](_0x2da3ff);if(_0x38dc48)return _0x38dc48;let _0x521360=[],_0x8400e7=!0x0;function _0x423583(_0x3c96ea,_0x2188e5){let _0x12ecf5=_0x570fe6['sliceString'](_0x3c96ea['from'],_0x3c96ea['to']);_0x521360['push']({'label':_0x12ecf5,'type':_0x2188e5});}return _0x2da3ff['cursor'](IterMode['IncludeAnonymous'])['iterate'](_0x33c657=>{if(_0x8400e7)_0x8400e7=!0x1;else{if(_0x33c657['name']){let _0x1a7e8f=gatherCompletions[_0x33c657['name']];if(_0x1a7e8f&&_0x1a7e8f(_0x33c657,_0x423583)||_0x5c6791['has'](_0x33c657['name']))return!0x1;}else{if(_0x33c657['to']-_0x33c657['from']>0x2000){for(let _0x12904e of getScope(_0x570fe6,_0x33c657['node']))_0x521360['push'](_0x12904e);return!0x1;}}}}),_0x491d91['set'](_0x2da3ff,_0x521360),_0x521360;}const Identifier=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,dontComplete=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function localCompletionSource(_0x451b85){let _0x44f9f5=syntaxTree(_0x451b85['state'])['resolveInner'](_0x451b85['pos'],-0x1);if(dontComplete['indexOf'](_0x44f9f5['name'])>-0x1)return null;let _0x2c2f2f='VariableName'==_0x44f9f5['name']||_0x44f9f5['to']-_0x44f9f5['from']<0x14&&Identifier['test'](_0x451b85['state']['sliceDoc'](_0x44f9f5['from'],_0x44f9f5['to']));if(!_0x2c2f2f&&!_0x451b85['explicit'])return null;let _0xa61875=[];for(let _0x13f377=_0x44f9f5;_0x13f377;_0x13f377=_0x13f377['parent'])_0x5c6791['has'](_0x13f377['name'])&&(_0xa61875=_0xa61875['concat'](getScope(_0x451b85['state']['doc'],_0x13f377)));return{'options':_0xa61875,'from':_0x2c2f2f?_0x44f9f5['from']:_0x451b85['pos'],'validFor':Identifier};}const javascriptLanguage=_0x1c3806['define']({'name':'javascript','parser':_0x560a23['configure']({'props':[indentNodeProp['add']({'IfStatement':continuedIndent({'except':/^\s*({|else\b)/}),'TryStatement':continuedIndent({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':flatIndent,'SwitchBody':_0x44b8c3=>{let _0xd197ee=_0x44b8c3['textAfter'],_0x4a8c7b=/^\s*\}/['test'](_0xd197ee),_0x2b685f=/^\s*(case|default)\b/['test'](_0xd197ee);return _0x44b8c3['baseIndent']+(_0x4a8c7b?0x0:_0x2b685f?0x1:0x2)*_0x44b8c3['unit'];},'Block':delimitedIndent({'closing':'}'}),'ArrowFunction':_0x1f3a0c=>_0x1f3a0c['baseIndent']+_0x1f3a0c['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':continuedIndent({'except':/^\s*{/}),'JSXElement'(_0x2f0241){let _0x4d80a5=/^\s*<\//['test'](_0x2f0241['textAfter']);return _0x2f0241['lineIndent'](_0x2f0241['node']['from'])+(_0x4d80a5?0x0:_0x2f0241['unit']);},'JSXEscape'(_0x455356){let _0x23e4b5=/\s*\}/['test'](_0x455356['textAfter']);return _0x455356['lineIndent'](_0x455356['node']['from'])+(_0x23e4b5?0x0:_0x455356['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0xce9334=>_0xce9334['column'](_0xce9334['node']['from'])+_0xce9334['unit']}),_0x474e8e['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x5d30d4,'BlockComment':_0x156a05=>({'from':_0x156a05['from']+0x2,'to':_0x156a05['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x39bdb6={'test':_0x537c29=>/^JSX/['test'](_0x537c29['name']),'facet':defineLanguageFacet({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},typescriptLanguage=javascriptLanguage['configure']({'dialect':'ts'},'typescript'),_0x20d7f1=javascriptLanguage['configure']({'dialect':'jsx','props':[_0x127b98['add'](_0x55e0f5=>_0x55e0f5['isTop']?[_0x39bdb6]:void 0x0)]}),tsxLanguage=javascriptLanguage['configure']({'dialect':'jsx\x20ts','props':[_0x127b98['add'](_0x1beffe=>_0x1beffe['isTop']?[_0x39bdb6]:void 0x0)]},'typescript');let kwCompletion=_0x5ed6ab=>({'label':_0x5ed6ab,'type':'keyword'});const _0x34f00b='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'](kwCompletion),typescriptKeywords=_0x34f00b['concat'](['declare','implements','private','protected','public']['map'](kwCompletion));function javascript(_0x46c769={}){let _0x2ff0a6=_0x46c769['jsx']?_0x46c769['typescript']?tsxLanguage:_0x20d7f1:_0x46c769['typescript']?typescriptLanguage:javascriptLanguage,_0x4b6e3c=_0x46c769['typescript']?typescriptSnippets['concat'](typescriptKeywords):snippets['concat'](_0x34f00b);return new LanguageSupport(_0x2ff0a6,[javascriptLanguage['data']['of']({'autocomplete':ifNotIn(dontComplete,completeFromList(_0x4b6e3c))}),javascriptLanguage['data']['of']({'autocomplete':localCompletionSource}),_0x46c769['jsx']?autoCloseTags$1:[]]);}function _0x5b9907(_0x16f621){for(;;){if('JSXOpenTag'==_0x16f621['name']||'JSXSelfClosingTag'==_0x16f621['name']||'JSXFragmentTag'==_0x16f621['name'])return _0x16f621;if('JSXEscape'==_0x16f621['name']||!_0x16f621['parent'])return null;_0x16f621=_0x16f621['parent'];}}function elementName$1(_0x42bcee,_0x2083b1,_0x2e4eed=_0x42bcee['length']){for(let _0x3d7b82=null==_0x2083b1?void 0x0:_0x2083b1['firstChild'];_0x3d7b82;_0x3d7b82=_0x3d7b82['nextSibling'])if('JSXIdentifier'==_0x3d7b82['name']||'JSXBuiltin'==_0x3d7b82['name']||'JSXNamespacedName'==_0x3d7b82['name']||'JSXMemberExpression'==_0x3d7b82['name'])return _0x42bcee['sliceString'](_0x3d7b82['from'],Math['min'](_0x3d7b82['to'],_0x2e4eed));return'';}const _0x486947='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),autoCloseTags$1=EditorView['inputHandler']['of']((_0xfb75fe,_0x5d4eea,_0x21eeb8,_0x43b0c6,_0x53ba22)=>{if((_0x486947?_0xfb75fe['composing']:_0xfb75fe['compositionStarted'])||_0xfb75fe['state']['readOnly']||_0x5d4eea!=_0x21eeb8||'>'!=_0x43b0c6&&'/'!=_0x43b0c6||!javascriptLanguage['isActiveAt'](_0xfb75fe['state'],_0x5d4eea,-0x1))return!0x1;let _0x2ddd61=_0x53ba22(),{state:_0xb4bafc}=_0x2ddd61,_0x2b7250=_0xb4bafc['changeByRange'](_0xe626=>{var _0x1663eb;let _0x464b71,{head:_0x387501}=_0xe626,_0x911ec6=syntaxTree(_0xb4bafc)['resolveInner'](_0x387501-0x1,-0x1);if('JSXStartTag'==_0x911ec6['name']&&(_0x911ec6=_0x911ec6['parent']),_0xb4bafc['doc']['sliceString'](_0x387501-0x1,_0x387501)!=_0x43b0c6||'JSXAttributeValue'==_0x911ec6['name']&&_0x911ec6['to']>_0x387501);else{if('>'==_0x43b0c6&&'JSXFragmentTag'==_0x911ec6['name'])return{'range':_0xe626,'changes':{'from':_0x387501,'insert':'</>'}};if('/'==_0x43b0c6&&'JSXStartCloseTag'==_0x911ec6['name']){let _0xbe558f=_0x911ec6['parent'],_0x7094ad=_0xbe558f['parent'];if(_0x7094ad&&_0xbe558f['from']==_0x387501-0x2&&((_0x464b71=elementName$1(_0xb4bafc['doc'],_0x7094ad['firstChild'],_0x387501))||'JSXFragmentTag'==(null===(_0x1663eb=_0x7094ad['firstChild'])||void 0x0===_0x1663eb?void 0x0:_0x1663eb['name']))){let _0x245de5=_0x464b71+'>';return{'range':EditorSelection['cursor'](_0x387501+_0x245de5['length'],-0x1),'changes':{'from':_0x387501,'insert':_0x245de5}};}}else{if('>'==_0x43b0c6){let _0x424f32=_0x5b9907(_0x911ec6);if(_0x424f32&&'JSXOpenTag'==_0x424f32['name']&&!/^\/?>|^<\//['test'](_0xb4bafc['doc']['sliceString'](_0x387501,_0x387501+0x2))&&(_0x464b71=elementName$1(_0xb4bafc['doc'],_0x424f32,_0x387501)))return{'range':_0xe626,'changes':{'from':_0x387501,'insert':'</'+_0x464b71+'>'}};}}}return{'range':_0xe626};});return!_0x2b7250['changes']['empty']&&(_0xfb75fe['dispatch']([_0x2ddd61,_0xb4bafc['update'](_0x2b7250,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),Targets=['_blank','_self','_top','_parent'],Charsets=['ascii','utf-8','utf-16','latin1','latin1'],Methods=['get','post','put','delete'],_0x387f59=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x3535c7=['true','false'],_0x4bf8c0={},_0x354aa0={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':Targets,'hreflang':null}},'abbr':_0x4bf8c0,'address':_0x4bf8c0,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x4bf8c0,'aside':_0x4bf8c0,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x4bf8c0,'base':{'attrs':{'href':null,'target':Targets}},'bdi':_0x4bf8c0,'bdo':_0x4bf8c0,'blockquote':{'attrs':{'cite':null}},'body':_0x4bf8c0,'br':_0x4bf8c0,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x387f59,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x4bf8c0,'center':_0x4bf8c0,'cite':_0x4bf8c0,'code':_0x4bf8c0,'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':_0x4bf8c0,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x4bf8c0,'div':_0x4bf8c0,'dl':_0x4bf8c0,'dt':_0x4bf8c0,'em':_0x4bf8c0,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x4bf8c0,'figure':_0x4bf8c0,'footer':_0x4bf8c0,'form':{'attrs':{'action':null,'name':null,'accept-charset':Charsets,'autocomplete':['on','off'],'enctype':_0x387f59,'method':Methods,'novalidate':['novalidate'],'target':Targets}},'h1':_0x4bf8c0,'h2':_0x4bf8c0,'h3':_0x4bf8c0,'h4':_0x4bf8c0,'h5':_0x4bf8c0,'h6':_0x4bf8c0,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x4bf8c0,'hgroup':_0x4bf8c0,'hr':_0x4bf8c0,'html':{'attrs':{'manifest':null}},'i':_0x4bf8c0,'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':_0x387f59,'formmethod':Methods,'formnovalidate':['novalidate'],'formtarget':Targets,'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':_0x4bf8c0,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x4bf8c0,'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':_0x4bf8c0,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':Charsets,'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':_0x4bf8c0,'noscript':_0x4bf8c0,'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':_0x4bf8c0,'param':{'attrs':{'name':null,'value':null}},'pre':_0x4bf8c0,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x4bf8c0,'rt':_0x4bf8c0,'ruby':_0x4bf8c0,'samp':_0x4bf8c0,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':Charsets}},'section':_0x4bf8c0,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x4bf8c0,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x4bf8c0,'strong':_0x4bf8c0,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x4bf8c0,'summary':_0x4bf8c0,'sup':_0x4bf8c0,'table':_0x4bf8c0,'tbody':_0x4bf8c0,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x4bf8c0,'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':_0x4bf8c0,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x4bf8c0,'time':{'attrs':{'datetime':null}},'title':_0x4bf8c0,'tr':_0x4bf8c0,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x4bf8c0,'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':_0x4bf8c0},GlobalAttrs={'accesskey':null,'class':null,'contenteditable':_0x3535c7,'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':_0x3535c7,'autocorrect':_0x3535c7,'autocapitalize':_0x3535c7,'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':_0x3535c7,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x3535c7,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x3535c7,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x3535c7,'aria-hidden':_0x3535c7,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x3535c7,'aria-multiselectable':_0x3535c7,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x3535c7,'aria-relevant':null,'aria-required':_0x3535c7,'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},eventAttributes='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'](_0x886422=>'on'+_0x886422);for(let _0x214e35 of eventAttributes)GlobalAttrs[_0x214e35]=null;class _0x2fac14{constructor(_0x2bffe3,_0x24ea0f){this['tags']={..._0x354aa0,..._0x2bffe3},this['globalAttrs']={...GlobalAttrs,..._0x24ea0f},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function elementName(_0x4f5a6c,_0x4c07b3,_0x1979cf=_0x4f5a6c['length']){if(!_0x4c07b3)return'';let _0x2b01c5=_0x4c07b3['firstChild'],_0x5d419a=_0x2b01c5&&_0x2b01c5['getChild']('TagName');return _0x5d419a?_0x4f5a6c['sliceString'](_0x5d419a['from'],Math['min'](_0x5d419a['to'],_0x1979cf)):'';}function findParentElement(_0x42e4a4,_0x3ac96d=!0x1){for(;_0x42e4a4;_0x42e4a4=_0x42e4a4['parent'])if('Element'==_0x42e4a4['name']){if(!_0x3ac96d)return _0x42e4a4;_0x3ac96d=!0x1;}return null;}function _0x43196c(_0x498cf4,_0x40c0b8,_0x11ab5d){let _0x47ebc1=_0x11ab5d['tags'][elementName(_0x498cf4,findParentElement(_0x40c0b8))];return(null==_0x47ebc1?void 0x0:_0x47ebc1['children'])||_0x11ab5d['allTags'];}function _0x56dfa0(_0x48fd4a,_0xa65fd8){let _0x3438f2=[];for(let _0xb3b172=findParentElement(_0xa65fd8);_0xb3b172&&!_0xb3b172['type']['isTop'];_0xb3b172=findParentElement(_0xb3b172['parent'])){let _0x42fdb6=elementName(_0x48fd4a,_0xb3b172);if(_0x42fdb6&&'CloseTag'==_0xb3b172['lastChild']['name'])break;_0x42fdb6&&_0x3438f2['indexOf'](_0x42fdb6)<0x0&&('EndTag'==_0xa65fd8['name']||_0xa65fd8['from']>=_0xb3b172['firstChild']['to'])&&_0x3438f2['push'](_0x42fdb6);}return _0x3438f2;}_0x2fac14['default']=new _0x2fac14();const identifier=/^[:\-\.\w\u00b7-\uffff]*$/;function completeTag(_0x1e87a9,_0x599625,_0x3fbe2a,_0x2c5209,_0x3b4bc7){let _0x35c46a=/\s*>/['test'](_0x1e87a9['sliceDoc'](_0x3b4bc7,_0x3b4bc7+0x5))?'':'>',_0x308829=findParentElement(_0x3fbe2a,'StartTag'==_0x3fbe2a['name']||'TagName'==_0x3fbe2a['name']);return{'from':_0x2c5209,'to':_0x3b4bc7,'options':_0x43196c(_0x1e87a9['doc'],_0x308829,_0x599625)['map'](_0x2cac94=>({'label':_0x2cac94,'type':'type'}))['concat'](_0x56dfa0(_0x1e87a9['doc'],_0x3fbe2a)['map']((_0x8b67da,_0x52cbef)=>({'label':'/'+_0x8b67da,'apply':'/'+_0x8b67da+_0x35c46a,'type':'type','boost':0x63-_0x52cbef}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeCloseTag(_0x4c9a45,_0x4dd274,_0x56ba06,_0x2f7de4){let _0x41c8aa=/\s*>/['test'](_0x4c9a45['sliceDoc'](_0x2f7de4,_0x2f7de4+0x5))?'':'>';return{'from':_0x56ba06,'to':_0x2f7de4,'options':_0x56dfa0(_0x4c9a45['doc'],_0x4dd274)['map']((_0x29567c,_0x47d7a6)=>({'label':_0x29567c,'apply':_0x29567c+_0x41c8aa,'type':'type','boost':0x63-_0x47d7a6})),'validFor':identifier};}function completeStartTag(_0x200523,_0x2b6ca7,_0x3ac21d,_0x4a084a){let _0x22a2e4=[],_0x3d52c8=0x0;for(let _0x5d962c of _0x43196c(_0x200523['doc'],_0x3ac21d,_0x2b6ca7))_0x22a2e4['push']({'label':'<'+_0x5d962c,'type':'type'});for(let _0x12f7f8 of _0x56dfa0(_0x200523['doc'],_0x3ac21d))_0x22a2e4['push']({'label':'</'+_0x12f7f8+'>','type':'type','boost':0x63-_0x3d52c8++});return{'from':_0x4a084a,'to':_0x4a084a,'options':_0x22a2e4,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}function completeAttrName(_0x44ca83,_0x4946de,_0x261d58,_0x143010,_0x299fb5){let _0x2a5c69=findParentElement(_0x261d58),_0x4e7a6a=_0x2a5c69?_0x4946de['tags'][elementName(_0x44ca83['doc'],_0x2a5c69)]:null,_0x27789c=_0x4e7a6a&&_0x4e7a6a['attrs']?Object['keys'](_0x4e7a6a['attrs']):[];return{'from':_0x143010,'to':_0x299fb5,'options':(_0x4e7a6a&&!0x1===_0x4e7a6a['globalAttrs']?_0x27789c:_0x27789c['length']?_0x27789c['concat'](_0x4946de['globalAttrNames']):_0x4946de['globalAttrNames'])['map'](_0x31dc5f=>({'label':_0x31dc5f,'type':'property'})),'validFor':identifier};}function completeAttrValue(_0x394964,_0x229fa1,_0x5c03b4,_0xfc6bab,_0x3575eb){var _0x1609a9;let _0x4520a8,_0x17abe7=null===(_0x1609a9=_0x5c03b4['parent'])||void 0x0===_0x1609a9?void 0x0:_0x1609a9['getChild']('AttributeName'),_0xdc8cf5=[];if(_0x17abe7){let _0x2c1797=_0x394964['sliceDoc'](_0x17abe7['from'],_0x17abe7['to']),_0x235f64=_0x229fa1['globalAttrs'][_0x2c1797];if(!_0x235f64){let _0x2bf1df=findParentElement(_0x5c03b4),_0x56a824=_0x2bf1df?_0x229fa1['tags'][elementName(_0x394964['doc'],_0x2bf1df)]:null;_0x235f64=(null==_0x56a824?void 0x0:_0x56a824['attrs'])&&_0x56a824['attrs'][_0x2c1797];}if(_0x235f64){let _0x15bf29=_0x394964['sliceDoc'](_0xfc6bab,_0x3575eb)['toLowerCase'](),_0x215bfb='\x22',_0x48b958='\x22';/^['"]/['test'](_0x15bf29)?(_0x4520a8='\x22'==_0x15bf29[0x0]?/^[^"]*$/:/^[^']*$/,_0x215bfb='',_0x48b958=_0x394964['sliceDoc'](_0x3575eb,_0x3575eb+0x1)==_0x15bf29[0x0]?'':_0x15bf29[0x0],_0x15bf29=_0x15bf29['slice'](0x1),_0xfc6bab++):_0x4520a8=/^[^\s<>='"]*$/;for(let _0x257ea2 of _0x235f64)_0xdc8cf5['push']({'label':_0x257ea2,'apply':_0x215bfb+_0x257ea2+_0x48b958,'type':'constant'});}}return{'from':_0xfc6bab,'to':_0x3575eb,'options':_0xdc8cf5,'validFor':_0x4520a8};}function htmlCompletionFor(_0x159b48,_0x369309){let {state:_0x499e33,pos:_0x431aa4}=_0x369309,_0x5b1af1=syntaxTree(_0x499e33)['resolveInner'](_0x431aa4,-0x1),_0x5e4459=_0x5b1af1['resolve'](_0x431aa4);for(let _0x20c0ee,_0x413077=_0x431aa4;_0x5e4459==_0x5b1af1&&(_0x20c0ee=_0x5b1af1['childBefore'](_0x413077));){let _0x1b8d14=_0x20c0ee['lastChild'];if(!_0x1b8d14||!_0x1b8d14['type']['isError']||_0x1b8d14['from']<_0x1b8d14['to'])break;_0x5e4459=_0x5b1af1=_0x20c0ee,_0x413077=_0x1b8d14['from'];}return'TagName'==_0x5b1af1['name']?_0x5b1af1['parent']&&/CloseTag$/['test'](_0x5b1af1['parent']['name'])?completeCloseTag(_0x499e33,_0x5b1af1,_0x5b1af1['from'],_0x431aa4):completeTag(_0x499e33,_0x159b48,_0x5b1af1,_0x5b1af1['from'],_0x431aa4):'StartTag'==_0x5b1af1['name']||'IncompleteTag'==_0x5b1af1['name']?completeTag(_0x499e33,_0x159b48,_0x5b1af1,_0x431aa4,_0x431aa4):'StartCloseTag'==_0x5b1af1['name']||'IncompleteCloseTag'==_0x5b1af1['name']?completeCloseTag(_0x499e33,_0x5b1af1,_0x431aa4,_0x431aa4):'OpenTag'==_0x5b1af1['name']||'SelfClosingTag'==_0x5b1af1['name']||'AttributeName'==_0x5b1af1['name']?completeAttrName(_0x499e33,_0x159b48,_0x5b1af1,'AttributeName'==_0x5b1af1['name']?_0x5b1af1['from']:_0x431aa4,_0x431aa4):'Is'==_0x5b1af1['name']||'AttributeValue'==_0x5b1af1['name']||'UnquotedAttributeValue'==_0x5b1af1['name']?completeAttrValue(_0x499e33,_0x159b48,_0x5b1af1,'Is'==_0x5b1af1['name']?_0x431aa4:_0x5b1af1['from'],_0x431aa4):!_0x369309['explicit']||'Element'!=_0x5e4459['name']&&'Text'!=_0x5e4459['name']&&'Document'!=_0x5e4459['name']?null:completeStartTag(_0x499e33,_0x159b48,_0x5b1af1,_0x431aa4);}function htmlCompletionSource(_0x4dba30){return htmlCompletionFor(_0x2fac14['default'],_0x4dba30);}function htmlCompletionSourceWith(_0x21ecd6){let {extraTags:_0x3b6aa3,extraGlobalAttributes:_0x3aefc0}=_0x21ecd6,_0x5b1c0b=_0x3aefc0||_0x3b6aa3?new _0x2fac14(_0x3b6aa3,_0x3aefc0):_0x2fac14['default'];return _0x1f503a=>htmlCompletionFor(_0x5b1c0b,_0x1f503a);}const _0x1bf3cf=javascriptLanguage['parser']['configure']({'top':'SingleExpression'}),defaultNesting=[{'tag':'script','attrs':_0x28c11a=>'text/typescript'==_0x28c11a['type']||'ts'==_0x28c11a['lang'],'parser':typescriptLanguage['parser']},{'tag':'script','attrs':_0x1b9738=>'text/babel'==_0x1b9738['type']||'text/jsx'==_0x1b9738['type'],'parser':_0x20d7f1['parser']},{'tag':'script','attrs':_0x3f939f=>'text/typescript-jsx'==_0x3f939f['type'],'parser':tsxLanguage['parser']},{'tag':'script','attrs':_0x4b2cc8=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x4b2cc8['type']),'parser':_0x1bf3cf},{'tag':'script','attrs':_0x3cc14f=>!_0x3cc14f['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x3cc14f['type']),'parser':javascriptLanguage['parser']},{'tag':'style','attrs':_0x1a9f2a=>(!_0x1a9f2a['lang']||'css'==_0x1a9f2a['lang'])&&(!_0x1a9f2a['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x1a9f2a['type'])),'parser':_0x17be93['parser']}],defaultAttrs=[{'name':'style','parser':_0x17be93['parser']['configure']({'top':'Styles'})}]['concat'](eventAttributes['map'](_0x3a9b5a=>({'name':_0x3a9b5a,'parser':javascriptLanguage['parser']}))),htmlPlain=_0x1c3806['define']({'name':'html','parser':_0x138444['configure']({'props':[indentNodeProp['add']({'Element'(_0x18ff80){let _0x2dd2ce=/^(\s*)(<\/)?/['exec'](_0x18ff80['textAfter']);return _0x18ff80['node']['to']<=_0x18ff80['pos']+_0x2dd2ce[0x0]['length']?_0x18ff80['continue']():_0x18ff80['lineIndent'](_0x18ff80['node']['from'])+(_0x2dd2ce[0x2]?0x0:_0x18ff80['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x47a672=>_0x47a672['column'](_0x47a672['node']['from'])+_0x47a672['unit'],'Document'(_0x4609a3){if(_0x4609a3['pos']+/\s*/['exec'](_0x4609a3['textAfter'])[0x0]['length']<_0x4609a3['node']['to'])return _0x4609a3['continue']();let _0x4faa51,_0x4e6436=null;for(let _0x43499b=_0x4609a3['node'];;){let _0x365e77=_0x43499b['lastChild'];if(!_0x365e77||'Element'!=_0x365e77['name']||_0x365e77['to']!=_0x43499b['to'])break;_0x4e6436=_0x43499b=_0x365e77;}return _0x4e6436&&(!(_0x4faa51=_0x4e6436['lastChild'])||'CloseTag'!=_0x4faa51['name']&&'SelfClosingTag'!=_0x4faa51['name'])?_0x4609a3['lineIndent'](_0x4e6436['from'])+_0x4609a3['unit']:null;}}),_0x474e8e['add']({'Element'(_0x319895){let _0x5b016b=_0x319895['firstChild'],_0x1b851d=_0x319895['lastChild'];return _0x5b016b&&'OpenTag'==_0x5b016b['name']?{'from':_0x5b016b['to'],'to':'CloseTag'==_0x1b851d['name']?_0x1b851d['from']:_0x319895['to']}:null;}}),bracketMatchingHandle['add']({'OpenTag\x20CloseTag':_0x2faf81=>_0x2faf81['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),htmlLanguage=htmlPlain['configure']({'wrap':configureNesting(defaultNesting,defaultAttrs)});function html(_0xd6e071={}){let _0x318ea2,_0xc7b671='';!0x1===_0xd6e071['matchClosingTags']&&(_0xc7b671='noMatch'),!0x0===_0xd6e071['selfClosingTags']&&(_0xc7b671=(_0xc7b671?_0xc7b671+'\x20':'')+'selfClosing'),(_0xd6e071['nestedLanguages']&&_0xd6e071['nestedLanguages']['length']||_0xd6e071['nestedAttributes']&&_0xd6e071['nestedAttributes']['length'])&&(_0x318ea2=configureNesting((_0xd6e071['nestedLanguages']||[])['concat'](defaultNesting),(_0xd6e071['nestedAttributes']||[])['concat'](defaultAttrs)));let _0x10562c=_0x318ea2?htmlPlain['configure']({'wrap':_0x318ea2,'dialect':_0xc7b671}):_0xc7b671?htmlLanguage['configure']({'dialect':_0xc7b671}):htmlLanguage;return new LanguageSupport(_0x10562c,[htmlLanguage['data']['of']({'autocomplete':htmlCompletionSourceWith(_0xd6e071)}),!0x1!==_0xd6e071['autoCloseTags']?autoCloseTags:[],javascript()['support'],_0x1e24e6()['support']]);}const _0x22ab0e=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),autoCloseTags=EditorView['inputHandler']['of']((_0x403479,_0x348209,_0x27aa6a,_0x175cd6,_0x4d9274)=>{if(_0x403479['composing']||_0x403479['state']['readOnly']||_0x348209!=_0x27aa6a||'>'!=_0x175cd6&&'/'!=_0x175cd6||!htmlLanguage['isActiveAt'](_0x403479['state'],_0x348209,-0x1))return!0x1;let _0x287d5f=_0x4d9274(),{state:_0x123a65}=_0x287d5f,_0x5b047b=_0x123a65['changeByRange'](_0x3db5e6=>{var _0x37f1ce,_0x359157,_0x4ec9b3;let _0x4497f0,_0x24907a=_0x123a65['doc']['sliceString'](_0x3db5e6['from']-0x1,_0x3db5e6['to'])==_0x175cd6,{head:_0x409a36}=_0x3db5e6,_0x3698a9=syntaxTree(_0x123a65)['resolveInner'](_0x409a36,-0x1);if(_0x24907a&&'>'==_0x175cd6&&'EndTag'==_0x3698a9['name']){let _0xecbf7d=_0x3698a9['parent'];if('CloseTag'!=(null===(_0x359157=null===(_0x37f1ce=_0xecbf7d['parent'])||void 0x0===_0x37f1ce?void 0x0:_0x37f1ce['lastChild'])||void 0x0===_0x359157?void 0x0:_0x359157['name'])&&(_0x4497f0=elementName(_0x123a65['doc'],_0xecbf7d['parent'],_0x409a36))&&!_0x22ab0e['has'](_0x4497f0))return{'range':_0x3db5e6,'changes':{'from':_0x409a36,'to':_0x409a36+('>'===_0x123a65['doc']['sliceString'](_0x409a36,_0x409a36+0x1)?0x1:0x0),'insert':'</'+_0x4497f0+'>'}};}else{if(_0x24907a&&'/'==_0x175cd6&&'IncompleteCloseTag'==_0x3698a9['name']){let _0x228a1a=_0x3698a9['parent'];if(_0x3698a9['from']==_0x409a36-0x2&&'CloseTag'!=(null===(_0x4ec9b3=_0x228a1a['lastChild'])||void 0x0===_0x4ec9b3?void 0x0:_0x4ec9b3['name'])&&(_0x4497f0=elementName(_0x123a65['doc'],_0x228a1a,_0x409a36))&&!_0x22ab0e['has'](_0x4497f0)){let _0x4fd8f3=_0x409a36+('>'===_0x123a65['doc']['sliceString'](_0x409a36,_0x409a36+0x1)?0x1:0x0),_0x252d17=_0x4497f0+'>';return{'range':EditorSelection['cursor'](_0x409a36+_0x252d17['length'],-0x1),'changes':{'from':_0x409a36,'to':_0x4fd8f3,'insert':_0x252d17}};}}}return{'range':_0x3db5e6};});return!_0x5b047b['changes']['empty']&&(_0x403479['dispatch']([_0x287d5f,_0x123a65['update'](_0x5b047b,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x237e70,_0x1d8273,_0x298276,_0x339e45,_0x4edab6){return new CompositeBlock(_0x237e70,_0x1d8273,_0x298276,_0x339e45+(_0x339e45<<0x8)+_0x237e70+(_0x1d8273<<0x4)|0x0,_0x4edab6,[],[]);}constructor(_0x3ee4e6,_0x43c04b,_0xeaa42,_0x8dcf5f,_0x573bbd,_0x52aa9c,_0x5c85f3){this['type']=_0x3ee4e6,this['value']=_0x43c04b,this['from']=_0xeaa42,this['hash']=_0x8dcf5f,this['end']=_0x573bbd,this['children']=_0x52aa9c,this['positions']=_0x5c85f3,this['hashProp']=[[_0x323035['contextHash'],_0x8dcf5f]];}['addChild'](_0xe77291,_0x5defb1){_0xe77291['prop'](_0x323035['contextHash'])!=this['hash']&&(_0xe77291=new _0x39ae63(_0xe77291['type'],_0xe77291['children'],_0xe77291['positions'],_0xe77291['length'],this['hashProp'])),this['children']['push'](_0xe77291),this['positions']['push'](_0x5defb1);}['toTree'](_0x24190c,_0x524229=this['end']){let _0x279757=this['children']['length']-0x1;return _0x279757>=0x0&&(_0x524229=Math['max'](_0x524229,this['positions'][_0x279757]+this['children'][_0x279757]['length']+this['from'])),new _0x39ae63(_0x24190c['types'][this['type']],this['children'],this['positions'],_0x524229-this['from'])['balance']({'makeTree':(_0x3bd790,_0x25c38b,_0x1ae722)=>new _0x39ae63(_0xcfe90f['none'],_0x3bd790,_0x25c38b,_0x1ae722,this['hashProp'])});}}var _0x51af0a;!function(_0x437821){_0x437821[_0x437821['Document']=0x1]='Document',_0x437821[_0x437821['CodeBlock']=0x2]='CodeBlock',_0x437821[_0x437821['FencedCode']=0x3]='FencedCode',_0x437821[_0x437821['Blockquote']=0x4]='Blockquote',_0x437821[_0x437821['HorizontalRule']=0x5]='HorizontalRule',_0x437821[_0x437821['BulletList']=0x6]='BulletList',_0x437821[_0x437821['OrderedList']=0x7]='OrderedList',_0x437821[_0x437821['ListItem']=0x8]='ListItem',_0x437821[_0x437821['ATXHeading1']=0x9]='ATXHeading1',_0x437821[_0x437821['ATXHeading2']=0xa]='ATXHeading2',_0x437821[_0x437821['ATXHeading3']=0xb]='ATXHeading3',_0x437821[_0x437821['ATXHeading4']=0xc]='ATXHeading4',_0x437821[_0x437821['ATXHeading5']=0xd]='ATXHeading5',_0x437821[_0x437821['ATXHeading6']=0xe]='ATXHeading6',_0x437821[_0x437821['SetextHeading1']=0xf]='SetextHeading1',_0x437821[_0x437821['SetextHeading2']=0x10]='SetextHeading2',_0x437821[_0x437821['HTMLBlock']=0x11]='HTMLBlock',_0x437821[_0x437821['LinkReference']=0x12]='LinkReference',_0x437821[_0x437821['Paragraph']=0x13]='Paragraph',_0x437821[_0x437821['CommentBlock']=0x14]='CommentBlock',_0x437821[_0x437821['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x437821[_0x437821['Escape']=0x16]='Escape',_0x437821[_0x437821['Entity']=0x17]='Entity',_0x437821[_0x437821['HardBreak']=0x18]='HardBreak',_0x437821[_0x437821['Emphasis']=0x19]='Emphasis',_0x437821[_0x437821['StrongEmphasis']=0x1a]='StrongEmphasis',_0x437821[_0x437821['Link']=0x1b]='Link',_0x437821[_0x437821['Image']=0x1c]='Image',_0x437821[_0x437821['InlineCode']=0x1d]='InlineCode',_0x437821[_0x437821['HTMLTag']=0x1e]='HTMLTag',_0x437821[_0x437821['Comment']=0x1f]='Comment',_0x437821[_0x437821['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x437821[_0x437821['Autolink']=0x21]='Autolink',_0x437821[_0x437821['HeaderMark']=0x22]='HeaderMark',_0x437821[_0x437821['QuoteMark']=0x23]='QuoteMark',_0x437821[_0x437821['ListMark']=0x24]='ListMark',_0x437821[_0x437821['LinkMark']=0x25]='LinkMark',_0x437821[_0x437821['EmphasisMark']=0x26]='EmphasisMark',_0x437821[_0x437821['CodeMark']=0x27]='CodeMark',_0x437821[_0x437821['CodeText']=0x28]='CodeText',_0x437821[_0x437821['CodeInfo']=0x29]='CodeInfo',_0x437821[_0x437821['LinkTitle']=0x2a]='LinkTitle',_0x437821[_0x437821['LinkLabel']=0x2b]='LinkLabel',_0x437821[_0x437821['URL']=0x2c]='URL';}(_0x51af0a||(_0x51af0a={}));class _0xc21d95{constructor(_0xae85d6,_0x3c15ec){this['start']=_0xae85d6,this['content']=_0x3c15ec,this['marks']=[],this['parsers']=[];}}class _0x24cd31{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 _0x4f76ae=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x4f76ae,this['pos'],this['indent']),this['pos']=_0x4f76ae,this['next']=_0x4f76ae==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x4f76ae);}['skipSpace'](_0x1672e1){return _0x280507(this['text'],_0x1672e1);}['reset'](_0x5272c0){for(this['text']=_0x5272c0,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x1bc86f){this['basePos']=_0x1bc86f,this['baseIndent']=this['countIndent'](_0x1bc86f,this['pos'],this['indent']);}['moveBaseColumn'](_0x96aeb5){this['baseIndent']=_0x96aeb5,this['basePos']=this['findColumn'](_0x96aeb5);}['addMarker'](_0x418a79){this['markers']['push'](_0x418a79);}['countIndent'](_0x288f35,_0x387b23=0x0,_0x468940=0x0){for(let _0x4b33fc=_0x387b23;_0x4b33fc<_0x288f35;_0x4b33fc++)_0x468940+=0x9==this['text']['charCodeAt'](_0x4b33fc)?0x4-_0x468940%0x4:0x1;return _0x468940;}['findColumn'](_0x5ad453){let _0x3e935c=0x0;for(let _0xbe91c6=0x0;_0x3e935c<this['text']['length']&&_0xbe91c6<_0x5ad453;_0x3e935c++)_0xbe91c6+=0x9==this['text']['charCodeAt'](_0x3e935c)?0x4-_0xbe91c6%0x4:0x1;return _0x3e935c;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x56f128='';for(let _0x2f6df8=0x0;_0x2f6df8<this['basePos'];_0x2f6df8++)_0x56f128+='\x20';return _0x56f128+this['text']['slice'](this['basePos']);}}function skipForList(_0x1160d5,_0x5638dd,_0x24ab06){if(_0x24ab06['pos']==_0x24ab06['text']['length']||_0x1160d5!=_0x5638dd['block']&&_0x24ab06['indent']>=_0x5638dd['stack'][_0x24ab06['depth']+0x1]['value']+_0x24ab06['baseIndent'])return!0x0;if(_0x24ab06['indent']>=_0x24ab06['baseIndent']+0x4)return!0x1;let _0x469920=(_0x1160d5['type']==_0x51af0a['OrderedList']?isOrderedList:isBulletList)(_0x24ab06,_0x5638dd,!0x1);return _0x469920>0x0&&(_0x1160d5['type']!=_0x51af0a['BulletList']||isHorizontalRule(_0x24ab06,_0x5638dd,!0x1)<0x0)&&_0x24ab06['text']['charCodeAt'](_0x24ab06['pos']+_0x469920-0x1)==_0x1160d5['value'];}const DefaultSkipMarkup={[_0x51af0a['Blockquote']]:(_0x13ce62,_0x30da87,_0xb5acb0)=>0x3e==_0xb5acb0['next']&&(_0xb5acb0['markers']['push'](elt(_0x51af0a['QuoteMark'],_0x30da87['lineStart']+_0xb5acb0['pos'],_0x30da87['lineStart']+_0xb5acb0['pos']+0x1)),_0xb5acb0['moveBase'](_0xb5acb0['pos']+(_0x4ff9e3(_0xb5acb0['text']['charCodeAt'](_0xb5acb0['pos']+0x1))?0x2:0x1)),_0x13ce62['end']=_0x30da87['lineStart']+_0xb5acb0['text']['length'],!0x0),[_0x51af0a['ListItem']]:(_0x2a76d8,_0x4cbee7,_0x1e2260)=>!(_0x1e2260['indent']<_0x1e2260['baseIndent']+_0x2a76d8['value']&&_0x1e2260['next']>-0x1)&&(_0x1e2260['moveBaseColumn'](_0x1e2260['baseIndent']+_0x2a76d8['value']),!0x0),[_0x51af0a['OrderedList']]:skipForList,[_0x51af0a['BulletList']]:skipForList,[_0x51af0a['Document']]:()=>!0x0};function _0x4ff9e3(_0x256fbf){return 0x20==_0x256fbf||0x9==_0x256fbf||0xa==_0x256fbf||0xd==_0x256fbf;}function _0x280507(_0x307423,_0x3ba9da=0x0){for(;_0x3ba9da<_0x307423['length']&&_0x4ff9e3(_0x307423['charCodeAt'](_0x3ba9da));)_0x3ba9da++;return _0x3ba9da;}function _0x370363(_0x1f98a2,_0x708b94,_0x216d95){for(;_0x708b94>_0x216d95&&_0x4ff9e3(_0x1f98a2['charCodeAt'](_0x708b94-0x1));)_0x708b94--;return _0x708b94;}function _0x434458(_0x430cfc){if(0x60!=_0x430cfc['next']&&0x7e!=_0x430cfc['next'])return-0x1;let _0x177424=_0x430cfc['pos']+0x1;for(;_0x177424<_0x430cfc['text']['length']&&_0x430cfc['text']['charCodeAt'](_0x177424)==_0x430cfc['next'];)_0x177424++;if(_0x177424<_0x430cfc['pos']+0x3)return-0x1;if(0x60==_0x430cfc['next']){for(let _0x550f59=_0x177424;_0x550f59<_0x430cfc['text']['length'];_0x550f59++)if(0x60==_0x430cfc['text']['charCodeAt'](_0x550f59))return-0x1;}return _0x177424;}function isBlockquote(_0x5b2961){return 0x3e!=_0x5b2961['next']?-0x1:0x20==_0x5b2961['text']['charCodeAt'](_0x5b2961['pos']+0x1)?0x2:0x1;}function isHorizontalRule(_0x51085f,_0x3d7047,_0x50db5b){if(0x2a!=_0x51085f['next']&&0x2d!=_0x51085f['next']&&0x5f!=_0x51085f['next'])return-0x1;let _0x522589=0x1;for(let _0x110b5d=_0x51085f['pos']+0x1;_0x110b5d<_0x51085f['text']['length'];_0x110b5d++){let _0x31cb3a=_0x51085f['text']['charCodeAt'](_0x110b5d);if(_0x31cb3a==_0x51085f['next'])_0x522589++;else{if(!_0x4ff9e3(_0x31cb3a))return-0x1;}}return _0x50db5b&&0x2d==_0x51085f['next']&&isSetextUnderline(_0x51085f)>-0x1&&_0x51085f['depth']==_0x3d7047['stack']['length']&&_0x3d7047['parser']['leafBlockParsers']['indexOf'](DefaultLeafBlocks['SetextHeading'])>-0x1||_0x522589<0x3?-0x1:0x1;}function inList(_0x22527c,_0x33a9cc){for(let _0x40d377=_0x22527c['stack']['length']-0x1;_0x40d377>=0x0;_0x40d377--)if(_0x22527c['stack'][_0x40d377]['type']==_0x33a9cc)return!0x0;return!0x1;}function isBulletList(_0x307c1b,_0x35727c,_0x1d0217){return 0x2d!=_0x307c1b['next']&&0x2b!=_0x307c1b['next']&&0x2a!=_0x307c1b['next']||_0x307c1b['pos']!=_0x307c1b['text']['length']-0x1&&!_0x4ff9e3(_0x307c1b['text']['charCodeAt'](_0x307c1b['pos']+0x1))||!(!_0x1d0217||inList(_0x35727c,_0x51af0a['BulletList'])||_0x307c1b['skipSpace'](_0x307c1b['pos']+0x2)<_0x307c1b['text']['length'])?-0x1:0x1;}function isOrderedList(_0x5cd968,_0x5c7cbd,_0x1d8025){let _0x1fe1c3=_0x5cd968['pos'],_0x308bd0=_0x5cd968['next'];for(;_0x308bd0>=0x30&&_0x308bd0<=0x39;){if(_0x1fe1c3++,_0x1fe1c3==_0x5cd968['text']['length'])return-0x1;_0x308bd0=_0x5cd968['text']['charCodeAt'](_0x1fe1c3);}return _0x1fe1c3==_0x5cd968['pos']||_0x1fe1c3>_0x5cd968['pos']+0x9||0x2e!=_0x308bd0&&0x29!=_0x308bd0||_0x1fe1c3<_0x5cd968['text']['length']-0x1&&!_0x4ff9e3(_0x5cd968['text']['charCodeAt'](_0x1fe1c3+0x1))||_0x1d8025&&!inList(_0x5c7cbd,_0x51af0a['OrderedList'])&&(_0x5cd968['skipSpace'](_0x1fe1c3+0x1)==_0x5cd968['text']['length']||_0x1fe1c3>_0x5cd968['pos']+0x1||0x31!=_0x5cd968['next'])?-0x1:_0x1fe1c3+0x1-_0x5cd968['pos'];}function isAtxHeading(_0x371a73){if(0x23!=_0x371a73['next'])return-0x1;let _0x2b6fb0=_0x371a73['pos']+0x1;for(;_0x2b6fb0<_0x371a73['text']['length']&&0x23==_0x371a73['text']['charCodeAt'](_0x2b6fb0);)_0x2b6fb0++;if(_0x2b6fb0<_0x371a73['text']['length']&&0x20!=_0x371a73['text']['charCodeAt'](_0x2b6fb0))return-0x1;let _0x12ad08=_0x2b6fb0-_0x371a73['pos'];return _0x12ad08>0x6?-0x1:_0x12ad08;}function isSetextUnderline(_0x5a36ce){if(0x2d!=_0x5a36ce['next']&&0x3d!=_0x5a36ce['next']||_0x5a36ce['indent']>=_0x5a36ce['baseIndent']+0x4)return-0x1;let _0x3f47df=_0x5a36ce['pos']+0x1;for(;_0x3f47df<_0x5a36ce['text']['length']&&_0x5a36ce['text']['charCodeAt'](_0x3f47df)==_0x5a36ce['next'];)_0x3f47df++;let _0x32f7df=_0x3f47df;for(;_0x3f47df<_0x5a36ce['text']['length']&&_0x4ff9e3(_0x5a36ce['text']['charCodeAt'](_0x3f47df));)_0x3f47df++;return _0x3f47df==_0x5a36ce['text']['length']?_0x32f7df:-0x1;}const EmptyLine=/^[ \t]*$/,CommentEnd=/-->/,_0x15c499=/\?>/,HTMLBlockStyle=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,CommentEnd],[/^\s*<\?/,_0x15c499],[/^\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,EmptyLine],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,EmptyLine]];function _0x581b3d(_0x3d0d47,_0x3a863e,_0x1201e5){if(0x3c!=_0x3d0d47['next'])return-0x1;let _0x230487=_0x3d0d47['text']['slice'](_0x3d0d47['pos']);for(let _0x175e2e=0x0,_0xe01bc=HTMLBlockStyle['length']-(_0x1201e5?0x1:0x0);_0x175e2e<_0xe01bc;_0x175e2e++)if(HTMLBlockStyle[_0x175e2e][0x0]['test'](_0x230487))return _0x175e2e;return-0x1;}function getListIndent(_0x1f948e,_0x17a6f7){let _0x1eb3be=_0x1f948e['countIndent'](_0x17a6f7,_0x1f948e['pos'],_0x1f948e['indent']),_0x30457e=_0x1f948e['countIndent'](_0x1f948e['skipSpace'](_0x17a6f7),_0x17a6f7,_0x1eb3be);return _0x30457e>=_0x1eb3be+0x5?_0x1eb3be+0x1:_0x30457e;}function addCodeText(_0x4b490d,_0x33cbce,_0x4cf494){let _0x3758b4=_0x4b490d['length']-0x1;_0x3758b4>=0x0&&_0x4b490d[_0x3758b4]['to']==_0x33cbce&&_0x4b490d[_0x3758b4]['type']==_0x51af0a['CodeText']?_0x4b490d[_0x3758b4]['to']=_0x4cf494:_0x4b490d['push'](elt(_0x51af0a['CodeText'],_0x33cbce,_0x4cf494));}const DefaultBlockParsers={'LinkReference':void 0x0,'IndentedCode'(_0x2c861b,_0x39d7b0){let _0x11af75=_0x39d7b0['baseIndent']+0x4;if(_0x39d7b0['indent']<_0x11af75)return!0x1;let _0x734629=_0x39d7b0['findColumn'](_0x11af75),_0x259f16=_0x2c861b['lineStart']+_0x734629,_0x54240f=_0x2c861b['lineStart']+_0x39d7b0['text']['length'],_0x3da450=[],_0x298460=[];for(addCodeText(_0x3da450,_0x259f16,_0x54240f);_0x2c861b['nextLine']()&&_0x39d7b0['depth']>=_0x2c861b['stack']['length'];)if(_0x39d7b0['pos']==_0x39d7b0['text']['length']){addCodeText(_0x298460,_0x2c861b['lineStart']-0x1,_0x2c861b['lineStart']);for(let _0x3a9bba of _0x39d7b0['markers'])_0x298460['push'](_0x3a9bba);}else{if(_0x39d7b0['indent']<_0x11af75)break;{if(_0x298460['length']){for(let _0x54dd93 of _0x298460)_0x54dd93['type']==_0x51af0a['CodeText']?addCodeText(_0x3da450,_0x54dd93['from'],_0x54dd93['to']):_0x3da450['push'](_0x54dd93);_0x298460=[];}addCodeText(_0x3da450,_0x2c861b['lineStart']-0x1,_0x2c861b['lineStart']);for(let _0x2553ce of _0x39d7b0['markers'])_0x3da450['push'](_0x2553ce);_0x54240f=_0x2c861b['lineStart']+_0x39d7b0['text']['length'];let _0x6f523b=_0x2c861b['lineStart']+_0x39d7b0['findColumn'](_0x39d7b0['baseIndent']+0x4);_0x6f523b<_0x54240f&&addCodeText(_0x3da450,_0x6f523b,_0x54240f);}}return _0x298460['length']&&(_0x298460=_0x298460['filter'](_0x45d4ba=>_0x45d4ba['type']!=_0x51af0a['CodeText']),_0x298460['length']&&(_0x39d7b0['markers']=_0x298460['concat'](_0x39d7b0['markers']))),_0x2c861b['addNode'](_0x2c861b['buffer']['writeElements'](_0x3da450,-_0x259f16)['finish'](_0x51af0a['CodeBlock'],_0x54240f-_0x259f16),_0x259f16),!0x0;},'FencedCode'(_0x5728c7,_0x325a04){let _0xed998d=_0x434458(_0x325a04);if(_0xed998d<0x0)return!0x1;let _0x3fea5f=_0x5728c7['lineStart']+_0x325a04['pos'],_0x5c9b13=_0x325a04['next'],_0x22d865=_0xed998d-_0x325a04['pos'],_0x22336a=_0x325a04['skipSpace'](_0xed998d),_0x372c2a=_0x370363(_0x325a04['text'],_0x325a04['text']['length'],_0x22336a),_0x8ad5d5=[elt(_0x51af0a['CodeMark'],_0x3fea5f,_0x3fea5f+_0x22d865)];_0x22336a<_0x372c2a&&_0x8ad5d5['push'](elt(_0x51af0a['CodeInfo'],_0x5728c7['lineStart']+_0x22336a,_0x5728c7['lineStart']+_0x372c2a));for(let _0x21738c=!0x0;_0x5728c7['nextLine']()&&_0x325a04['depth']>=_0x5728c7['stack']['length'];_0x21738c=!0x1){let _0xefb354=_0x325a04['pos'];if(_0x325a04['indent']-_0x325a04['baseIndent']<0x4){for(;_0xefb354<_0x325a04['text']['length']&&_0x325a04['text']['charCodeAt'](_0xefb354)==_0x5c9b13;)_0xefb354++;}if(_0xefb354-_0x325a04['pos']>=_0x22d865&&_0x325a04['skipSpace'](_0xefb354)==_0x325a04['text']['length']){for(let _0x55c35f of _0x325a04['markers'])_0x8ad5d5['push'](_0x55c35f);_0x8ad5d5['push'](elt(_0x51af0a['CodeMark'],_0x5728c7['lineStart']+_0x325a04['pos'],_0x5728c7['lineStart']+_0xefb354)),_0x5728c7['nextLine']();break;}{_0x21738c||addCodeText(_0x8ad5d5,_0x5728c7['lineStart']-0x1,_0x5728c7['lineStart']);for(let _0x584370 of _0x325a04['markers'])_0x8ad5d5['push'](_0x584370);let _0x157a3c=_0x5728c7['lineStart']+_0x325a04['basePos'],_0x2bdf41=_0x5728c7['lineStart']+_0x325a04['text']['length'];_0x157a3c<_0x2bdf41&&addCodeText(_0x8ad5d5,_0x157a3c,_0x2bdf41);}}return _0x5728c7['addNode'](_0x5728c7['buffer']['writeElements'](_0x8ad5d5,-_0x3fea5f)['finish'](_0x51af0a['FencedCode'],_0x5728c7['prevLineEnd']()-_0x3fea5f),_0x3fea5f),!0x0;},'Blockquote'(_0x4b22b8,_0x2b81ab){let _0x3dffe8=isBlockquote(_0x2b81ab);return!(_0x3dffe8<0x0)&&(_0x4b22b8['startContext'](_0x51af0a['Blockquote'],_0x2b81ab['pos']),_0x4b22b8['addNode'](_0x51af0a['QuoteMark'],_0x4b22b8['lineStart']+_0x2b81ab['pos'],_0x4b22b8['lineStart']+_0x2b81ab['pos']+0x1),_0x2b81ab['moveBase'](_0x2b81ab['pos']+_0x3dffe8),null);},'HorizontalRule'(_0x3d5589,_0x1783fc){if(isHorizontalRule(_0x1783fc,_0x3d5589,!0x1)<0x0)return!0x1;let _0x2d4ff5=_0x3d5589['lineStart']+_0x1783fc['pos'];return _0x3d5589['nextLine'](),_0x3d5589['addNode'](_0x51af0a['HorizontalRule'],_0x2d4ff5),!0x0;},'BulletList'(_0x1db898,_0x17b321){let _0x48a4ac=isBulletList(_0x17b321,_0x1db898,!0x1);if(_0x48a4ac<0x0)return!0x1;_0x1db898['block']['type']!=_0x51af0a['BulletList']&&_0x1db898['startContext'](_0x51af0a['BulletList'],_0x17b321['basePos'],_0x17b321['next']);let _0x1b0b58=getListIndent(_0x17b321,_0x17b321['pos']+0x1);return _0x1db898['startContext'](_0x51af0a['ListItem'],_0x17b321['basePos'],_0x1b0b58-_0x17b321['baseIndent']),_0x1db898['addNode'](_0x51af0a['ListMark'],_0x1db898['lineStart']+_0x17b321['pos'],_0x1db898['lineStart']+_0x17b321['pos']+_0x48a4ac),_0x17b321['moveBaseColumn'](_0x1b0b58),null;},'OrderedList'(_0x12ae2b,_0x4a0371){let _0x50970a=isOrderedList(_0x4a0371,_0x12ae2b,!0x1);if(_0x50970a<0x0)return!0x1;_0x12ae2b['block']['type']!=_0x51af0a['OrderedList']&&_0x12ae2b['startContext'](_0x51af0a['OrderedList'],_0x4a0371['basePos'],_0x4a0371['text']['charCodeAt'](_0x4a0371['pos']+_0x50970a-0x1));let _0x12f63c=getListIndent(_0x4a0371,_0x4a0371['pos']+_0x50970a);return _0x12ae2b['startContext'](_0x51af0a['ListItem'],_0x4a0371['basePos'],_0x12f63c-_0x4a0371['baseIndent']),_0x12ae2b['addNode'](_0x51af0a['ListMark'],_0x12ae2b['lineStart']+_0x4a0371['pos'],_0x12ae2b['lineStart']+_0x4a0371['pos']+_0x50970a),_0x4a0371['moveBaseColumn'](_0x12f63c),null;},'ATXHeading'(_0x4f77e0,_0x33fdee){let _0x534f8c=isAtxHeading(_0x33fdee);if(_0x534f8c<0x0)return!0x1;let _0x1f540c=_0x33fdee['pos'],_0x43f5c4=_0x4f77e0['lineStart']+_0x1f540c,_0x9797d3=_0x370363(_0x33fdee['text'],_0x33fdee['text']['length'],_0x1f540c),_0x24e5e4=_0x9797d3;for(;_0x24e5e4>_0x1f540c&&_0x33fdee['text']['charCodeAt'](_0x24e5e4-0x1)==_0x33fdee['next'];)_0x24e5e4--;_0x24e5e4!=_0x9797d3&&_0x24e5e4!=_0x1f540c&&_0x4ff9e3(_0x33fdee['text']['charCodeAt'](_0x24e5e4-0x1))||(_0x24e5e4=_0x33fdee['text']['length']);let _0x5063e0=_0x4f77e0['buffer']['write'](_0x51af0a['HeaderMark'],0x0,_0x534f8c)['writeElements'](_0x4f77e0['parser']['parseInline'](_0x33fdee['text']['slice'](_0x1f540c+_0x534f8c+0x1,_0x24e5e4),_0x43f5c4+_0x534f8c+0x1),-_0x43f5c4);_0x24e5e4<_0x33fdee['text']['length']&&_0x5063e0['write'](_0x51af0a['HeaderMark'],_0x24e5e4-_0x1f540c,_0x9797d3-_0x1f540c);let _0x3b1ce7=_0x5063e0['finish'](_0x51af0a['ATXHeading1']-0x1+_0x534f8c,_0x33fdee['text']['length']-_0x1f540c);return _0x4f77e0['nextLine'](),_0x4f77e0['addNode'](_0x3b1ce7,_0x43f5c4),!0x0;},'HTMLBlock'(_0x1ca21c,_0x49b0ea){let _0x143824=_0x581b3d(_0x49b0ea,_0x1ca21c,!0x1);if(_0x143824<0x0)return!0x1;let _0x490f21=_0x1ca21c['lineStart']+_0x49b0ea['pos'],_0xf45b66=HTMLBlockStyle[_0x143824][0x1],_0x41c31d=[],_0x4f599c=_0xf45b66!=EmptyLine;for(;!_0xf45b66['test'](_0x49b0ea['text'])&&_0x1ca21c['nextLine']();){if(_0x49b0ea['depth']<_0x1ca21c['stack']['length']){_0x4f599c=!0x1;break;}for(let _0x1406a6 of _0x49b0ea['markers'])_0x41c31d['push'](_0x1406a6);}_0x4f599c&&_0x1ca21c['nextLine']();let _0x351521=_0xf45b66==CommentEnd?_0x51af0a['CommentBlock']:_0xf45b66==_0x15c499?_0x51af0a['ProcessingInstructionBlock']:_0x51af0a['HTMLBlock'],_0x2d5adf=_0x1ca21c['prevLineEnd']();return _0x1ca21c['addNode'](_0x1ca21c['buffer']['writeElements'](_0x41c31d,-_0x490f21)['finish'](_0x351521,_0x2d5adf-_0x490f21),_0x490f21),!0x0;},'SetextHeading':void 0x0};class _0x203179{constructor(_0x37de49){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x37de49['start'],this['advance'](_0x37de49['content']);}['nextLine'](_0x31d833,_0x4cabfd,_0x10f5d3){if(-0x1==this['stage'])return!0x1;let _0x17b4f7=_0x10f5d3['content']+'\x0a'+_0x4cabfd['scrub'](),_0xe3bd1d=this['advance'](_0x17b4f7);return _0xe3bd1d>-0x1&&_0xe3bd1d<_0x17b4f7['length']&&this['complete'](_0x31d833,_0x10f5d3,_0xe3bd1d);}['finish'](_0x5c3ea5,_0x222490){return(0x2==this['stage']||0x3==this['stage'])&&_0x280507(_0x222490['content'],this['pos'])==_0x222490['content']['length']&&this['complete'](_0x5c3ea5,_0x222490,_0x222490['content']['length']);}['complete'](_0x2cc366,_0x3981c9,_0x266f8e){return _0x2cc366['addLeafElement'](_0x3981c9,elt(_0x51af0a['LinkReference'],this['start'],this['start']+_0x266f8e,this['elts'])),!0x0;}['nextStage'](_0x5a1d91){return _0x5a1d91?(this['pos']=_0x5a1d91['to']-this['start'],this['elts']['push'](_0x5a1d91),this['stage']++,!0x0):(!0x1===_0x5a1d91&&(this['stage']=-0x1),!0x1);}['advance'](_0x9af574){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x50ee2b(_0x9af574,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x9af574['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](elt(_0x51af0a['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x279f13=_0x280507(_0x9af574,this['pos']),_0x5527d8=0x0;if(_0x279f13>this['pos']){let _0x59b9b9=parseLinkTitle(_0x9af574,_0x279f13,this['start']);if(_0x59b9b9){let _0x14bbc3=_0x1749dc(_0x9af574,_0x59b9b9['to']-this['start']);_0x14bbc3>0x0&&(this['nextStage'](_0x59b9b9),_0x5527d8=_0x14bbc3);}}return _0x5527d8||(_0x5527d8=_0x1749dc(_0x9af574,this['pos'])),_0x5527d8>0x0&&_0x5527d8<_0x9af574['length']?_0x5527d8:-0x1;}return _0x1749dc(_0x9af574,this['pos']);}if(!this['nextStage'](_0x415b74(_0x9af574,_0x280507(_0x9af574,this['pos']),this['start'])))return-0x1;}}}}function _0x1749dc(_0x469729,_0x5670a8){for(;_0x5670a8<_0x469729['length'];_0x5670a8++){let _0x110f7c=_0x469729['charCodeAt'](_0x5670a8);if(0xa==_0x110f7c)break;if(!_0x4ff9e3(_0x110f7c))return-0x1;}return _0x5670a8;}class SetextHeadingParser{['nextLine'](_0x21414c,_0xdc7a86,_0x447f38){let _0x134278=_0xdc7a86['depth']<_0x21414c['stack']['length']?-0x1:isSetextUnderline(_0xdc7a86),_0x597e1f=_0xdc7a86['next'];if(_0x134278<0x0)return!0x1;let _0x407d20=elt(_0x51af0a['HeaderMark'],_0x21414c['lineStart']+_0xdc7a86['pos'],_0x21414c['lineStart']+_0x134278);return _0x21414c['nextLine'](),_0x21414c['addLeafElement'](_0x447f38,elt(0x3d==_0x597e1f?_0x51af0a['SetextHeading1']:_0x51af0a['SetextHeading2'],_0x447f38['start'],_0x21414c['prevLineEnd'](),[..._0x21414c['parser']['parseInline'](_0x447f38['content'],_0x447f38['start']),_0x407d20])),!0x0;}['finish'](){return!0x1;}}const DefaultLeafBlocks={'LinkReference':(_0xc9aae3,_0x3bac4b)=>0x5b==_0x3bac4b['content']['charCodeAt'](0x0)?new _0x203179(_0x3bac4b):null,'SetextHeading':()=>new SetextHeadingParser()},DefaultEndLeaf=[(_0x581f45,_0x5be799)=>isAtxHeading(_0x5be799)>=0x0,(_0x3618da,_0x96e0f3)=>_0x434458(_0x96e0f3)>=0x0,(_0x165700,_0x5f4d09)=>isBlockquote(_0x5f4d09)>=0x0,(_0x2cb570,_0x7f04d0)=>isBulletList(_0x7f04d0,_0x2cb570,!0x0)>=0x0,(_0x2cbe6a,_0x305ca8)=>isOrderedList(_0x305ca8,_0x2cbe6a,!0x0)>=0x0,(_0x12d847,_0x51ff88)=>isHorizontalRule(_0x51ff88,_0x12d847,!0x0)>=0x0,(_0x22c2c5,_0x20ae82)=>_0x581b3d(_0x20ae82,_0x22c2c5,!0x0)>=0x0],scanLineResult={'text':'','end':0x0};class BlockContext{constructor(_0x22b61e,_0xe65711,_0x1fdfb7,_0x583ca5){this['parser']=_0x22b61e,this['input']=_0xe65711,this['ranges']=_0x583ca5,this['line']=new _0x24cd31(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x583ca5[_0x583ca5['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x583ca5[0x0]['from'],this['block']=CompositeBlock['create'](_0x51af0a['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x1fdfb7['length']?new FragmentCursor(_0x1fdfb7,_0xe65711):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x47bb7c}=this;for(;;){for(let _0x3cfbbc=0x0;;){let _0x408c86=_0x47bb7c['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x3cfbbc<_0x47bb7c['markers']['length']&&(!_0x408c86||_0x47bb7c['markers'][_0x3cfbbc]['from']<_0x408c86['end']);){let _0x39a48e=_0x47bb7c['markers'][_0x3cfbbc++];this['addNode'](_0x39a48e['type'],_0x39a48e['from'],_0x39a48e['to']);}if(!_0x408c86)break;this['finishContext']();}if(_0x47bb7c['pos']<_0x47bb7c['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x47bb7c['basePos']))return null;t:for(;;){for(let _0x408ee9 of this['parser']['blockParsers'])if(_0x408ee9){let _0x482b21=_0x408ee9(this,_0x47bb7c);if(0x0!=_0x482b21){if(0x1==_0x482b21)return null;_0x47bb7c['forward']();continue t;}}break;}let _0x18f2dd=new _0xc21d95(this['lineStart']+_0x47bb7c['pos'],_0x47bb7c['text']['slice'](_0x47bb7c['pos']));for(let _0x11a256 of this['parser']['leafBlockParsers'])if(_0x11a256){let _0x2953ab=_0x11a256(this,_0x18f2dd);_0x2953ab&&_0x18f2dd['parsers']['push'](_0x2953ab);}t:for(;this['nextLine']()&&_0x47bb7c['pos']!=_0x47bb7c['text']['length'];){if(_0x47bb7c['indent']<_0x47bb7c['baseIndent']+0x4){for(let _0x21e626 of this['parser']['endLeafBlock'])if(_0x21e626(this,_0x47bb7c,_0x18f2dd))break t;}for(let _0x101b96 of _0x18f2dd['parsers'])if(_0x101b96['nextLine'](this,_0x47bb7c,_0x18f2dd))return null;_0x18f2dd['content']+='\x0a'+_0x47bb7c['scrub']();for(let _0x48cadc of _0x47bb7c['markers'])_0x18f2dd['marks']['push'](_0x48cadc);}return this['finishLeaf'](_0x18f2dd),null;}['stopAt'](_0x523f90){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x523f90)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x523f90;}['reuseFragment'](_0x4f466f){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x4f466f,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x1aa8c2=this['fragments']['takeNodes'](this);return!!_0x1aa8c2&&(this['absoluteLineStart']+=_0x1aa8c2,this['lineStart']=toRelative(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'](_0x5e0570=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x5e0570]['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'](_0x28d58a){let _0x5a818e=scanLineResult;if(_0x5a818e['end']=_0x28d58a,_0x28d58a>=this['to'])_0x5a818e['text']='';else{if(_0x5a818e['text']=this['lineChunkAt'](_0x28d58a),_0x5a818e['end']+=_0x5a818e['text']['length'],this['ranges']['length']>0x1){let _0x4766b5=this['absoluteLineStart'],_0x2a3aef=this['rangeI'];for(;this['ranges'][_0x2a3aef]['to']<_0x5a818e['end'];){_0x2a3aef++;let _0x1be089=this['ranges'][_0x2a3aef]['from'],_0x257b30=this['lineChunkAt'](_0x1be089);_0x5a818e['end']=_0x1be089+_0x257b30['length'],_0x5a818e['text']=_0x5a818e['text']['slice'](0x0,this['ranges'][_0x2a3aef-0x1]['to']-_0x4766b5)+_0x257b30,_0x4766b5=_0x5a818e['end']-_0x5a818e['text']['length'];}}}return _0x5a818e;}['readLine'](){let {line:_0x2941de}=this,{text:_0x4b5c0f,end:_0x1bb6fc}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x1bb6fc,_0x2941de['reset'](_0x4b5c0f);_0x2941de['depth']<this['stack']['length'];_0x2941de['depth']++){let _0x262c72=this['stack'][_0x2941de['depth']],_0x22a9ee=this['parser']['skipContextMarkup'][_0x262c72['type']];if(!_0x22a9ee)throw new Error('Unhandled\x20block\x20context\x20'+_0x51af0a[_0x262c72['type']]);let _0x32fa06=this['line']['markers']['length'];if(!_0x22a9ee(_0x262c72,this,_0x2941de)){this['line']['markers']['length']>_0x32fa06&&(_0x262c72['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x2941de['forward']();}}['lineChunkAt'](_0x15e69e){let _0x34137b,_0x2e4ca2=this['input']['chunk'](_0x15e69e);if(this['input']['lineChunks'])_0x34137b='\x0a'==_0x2e4ca2?'':_0x2e4ca2;else{let _0x4c1330=_0x2e4ca2['indexOf']('\x0a');_0x34137b=_0x4c1330<0x0?_0x2e4ca2:_0x2e4ca2['slice'](0x0,_0x4c1330);}return _0x15e69e+_0x34137b['length']>this['to']?_0x34137b['slice'](0x0,this['to']-_0x15e69e):_0x34137b;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x284ac8,_0x402ab4,_0x311804=0x0){this['block']=CompositeBlock['create'](_0x284ac8,_0x311804,this['lineStart']+_0x402ab4,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x25590c,_0x493cbc,_0x338603=0x0){this['startContext'](this['parser']['getNodeType'](_0x25590c),_0x493cbc,_0x338603);}['addNode'](_0x2e7b2d,_0xb26699,_0x490b60){'number'==typeof _0x2e7b2d&&(_0x2e7b2d=new _0x39ae63(this['parser']['nodeSet']['types'][_0x2e7b2d],_0x3258bd,_0x3258bd,(null!=_0x490b60?_0x490b60:this['prevLineEnd']())-_0xb26699)),this['block']['addChild'](_0x2e7b2d,_0xb26699-this['block']['from']);}['addElement'](_0x2026d7){this['block']['addChild'](_0x2026d7['toTree'](this['parser']['nodeSet']),_0x2026d7['from']-this['block']['from']);}['addLeafElement'](_0x649cfb,_0x59dbec){this['addNode'](this['buffer']['writeElements'](injectMarks(_0x59dbec['children'],_0x649cfb['marks']),-_0x59dbec['from'])['finish'](_0x59dbec['type'],_0x59dbec['to']-_0x59dbec['from']),_0x59dbec['from']);}['finishContext'](){let _0x47324b=this['stack']['pop'](),_0x11a39d=this['stack'][this['stack']['length']-0x1];_0x11a39d['addChild'](_0x47324b['toTree'](this['parser']['nodeSet']),_0x47324b['from']-_0x11a39d['from']),this['block']=_0x11a39d;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x5aeabf){return this['ranges']['length']>0x1?injectGaps(this['ranges'],0x0,_0x5aeabf['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x5aeabf;}['finishLeaf'](_0x3f3306){for(let _0x39d105 of _0x3f3306['parsers'])if(_0x39d105['finish'](this,_0x3f3306))return;let _0x14e3c8=injectMarks(this['parser']['parseInline'](_0x3f3306['content'],_0x3f3306['start']),_0x3f3306['marks']);this['addNode'](this['buffer']['writeElements'](_0x14e3c8,-_0x3f3306['start'])['finish'](_0x51af0a['Paragraph'],_0x3f3306['content']['length']),_0x3f3306['start']);}['elt'](_0x437af,_0x397340,_0x2ab9ae,_0x4d793b){return'string'==typeof _0x437af?elt(this['parser']['getNodeType'](_0x437af),_0x397340,_0x2ab9ae,_0x4d793b):new TreeElement(_0x437af,_0x397340);}get['buffer'](){return new _0x2ab07f(this['parser']['nodeSet']);}}function injectGaps(_0x3a5ee9,_0x2358a1,_0x1323f5,_0x1ba399,_0x522f7f){let _0x1a916f=_0x3a5ee9[_0x2358a1]['to'],_0x11f600=[],_0x5acb99=[],_0x444d84=_0x1323f5['from']+_0x1ba399;function _0x1383ab(_0x1ff524,_0x4fb758){for(;_0x4fb758?_0x1ff524>=_0x1a916f:_0x1ff524>_0x1a916f;){let _0x40b878=_0x3a5ee9[_0x2358a1+0x1]['from']-_0x1a916f;_0x1ba399+=_0x40b878,_0x1ff524+=_0x40b878,_0x2358a1++,_0x1a916f=_0x3a5ee9[_0x2358a1]['to'];}}for(let _0x475d8d=_0x1323f5['firstChild'];_0x475d8d;_0x475d8d=_0x475d8d['nextSibling']){_0x1383ab(_0x475d8d['from']+_0x1ba399,!0x0);let _0x18c8bc,_0x26471c=_0x475d8d['from']+_0x1ba399,_0x668a1a=_0x522f7f['get'](_0x475d8d['tree']);_0x668a1a?_0x18c8bc=_0x668a1a:_0x475d8d['to']+_0x1ba399>_0x1a916f?(_0x18c8bc=injectGaps(_0x3a5ee9,_0x2358a1,_0x475d8d,_0x1ba399,_0x522f7f),_0x1383ab(_0x475d8d['to']+_0x1ba399,!0x1)):_0x18c8bc=_0x475d8d['toTree'](),_0x11f600['push'](_0x18c8bc),_0x5acb99['push'](_0x26471c-_0x444d84);}return _0x1383ab(_0x1323f5['to']+_0x1ba399,!0x1),new _0x39ae63(_0x1323f5['type'],_0x11f600,_0x5acb99,_0x1323f5['to']+_0x1ba399-_0x444d84,_0x1323f5['tree']?_0x1323f5['tree']['propValues']:void 0x0);}class _0x10d429 extends _0x2362af{constructor(_0x28e23d,_0x4fa97c,_0x20c942,_0x1bf072,_0x5339b4,_0x488a66,_0x1fa114,_0x20952e,_0x504e25){super(),this['nodeSet']=_0x28e23d,this['blockParsers']=_0x4fa97c,this['leafBlockParsers']=_0x20c942,this['blockNames']=_0x1bf072,this['endLeafBlock']=_0x5339b4,this['skipContextMarkup']=_0x488a66,this['inlineParsers']=_0x1fa114,this['inlineNames']=_0x20952e,this['wrappers']=_0x504e25,this['nodeTypes']=Object['create'](null);for(let t of _0x28e23d['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x27ed0e,_0x1eaea4,_0x470d31){let _0x300e9d=new BlockContext(this,_0x27ed0e,_0x1eaea4,_0x470d31);for(let _0x1e6d18 of this['wrappers'])_0x300e9d=_0x1e6d18(_0x300e9d,_0x27ed0e,_0x1eaea4,_0x470d31);return _0x300e9d;}['configure'](_0xde299c){let _0x476ce5=_0xfe3ae1(_0xde299c);if(!_0x476ce5)return this;let {nodeSet:_0xcbb6f7,skipContextMarkup:_0x22cf3e}=this,_0x49a9cf=this['blockParsers']['slice'](),_0x3917f7=this['leafBlockParsers']['slice'](),_0x540502=this['blockNames']['slice'](),_0x2ac467=this['inlineParsers']['slice'](),_0x5f1837=this['inlineNames']['slice'](),_0x441cd1=this['endLeafBlock']['slice'](),_0x345e95=this['wrappers'];if(nonEmpty(_0x476ce5['defineNodes'])){_0x22cf3e=Object['assign']({},_0x22cf3e);let _0x493c38,_0x2e5d7d=_0xcbb6f7['types']['slice']();for(let _0x41ac9d of _0x476ce5['defineNodes']){let {name:_0x2fa32c,block:_0x2ecc6f,composite:_0x40ec7d,style:_0x5e1923}='string'==typeof _0x41ac9d?{'name':_0x41ac9d}:_0x41ac9d;if(_0x2e5d7d['some'](t=>t['name']==_0x2fa32c))continue;_0x40ec7d&&(_0x22cf3e[_0x2e5d7d['length']]=(_0x259241,_0x58e123,_0x545f58)=>_0x40ec7d(_0x58e123,_0x545f58,_0x259241['value']));let _0x534c2e=_0x2e5d7d['length'],_0x46fb8a=_0x40ec7d?['Block','BlockContext']:_0x2ecc6f?_0x534c2e>=_0x51af0a['ATXHeading1']&&_0x534c2e<=_0x51af0a['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x2e5d7d['push'](_0xcfe90f['define']({'id':_0x534c2e,'name':_0x2fa32c,'props':_0x46fb8a&&[[_0x323035['group'],_0x46fb8a]]})),_0x5e1923&&(_0x493c38||(_0x493c38={}),Array['isArray'](_0x5e1923)||_0x5e1923 instanceof _0xac07ae?_0x493c38[_0x2fa32c]=_0x5e1923:Object['assign'](_0x493c38,_0x5e1923));}_0xcbb6f7=new NodeSet(_0x2e5d7d),_0x493c38&&(_0xcbb6f7=_0xcbb6f7['extend'](styleTags(_0x493c38)));}if(nonEmpty(_0x476ce5['props'])&&(_0xcbb6f7=_0xcbb6f7['extend'](..._0x476ce5['props'])),nonEmpty(_0x476ce5['remove']))for(let _0x4dc749 of _0x476ce5['remove']){let _0x44ad45=this['blockNames']['indexOf'](_0x4dc749),_0x5ba887=this['inlineNames']['indexOf'](_0x4dc749);_0x44ad45>-0x1&&(_0x49a9cf[_0x44ad45]=_0x3917f7[_0x44ad45]=void 0x0),_0x5ba887>-0x1&&(_0x2ac467[_0x5ba887]=void 0x0);}if(nonEmpty(_0x476ce5['parseBlock']))for(let _0x463e2f of _0x476ce5['parseBlock']){let _0x30e874=_0x540502['indexOf'](_0x463e2f['name']);if(_0x30e874>-0x1)_0x49a9cf[_0x30e874]=_0x463e2f['parse'],_0x3917f7[_0x30e874]=_0x463e2f['leaf'];else{let _0x4dd461=_0x463e2f['before']?_0x4c73f6(_0x540502,_0x463e2f['before']):_0x463e2f['after']?_0x4c73f6(_0x540502,_0x463e2f['after'])+0x1:_0x540502['length']-0x1;_0x49a9cf['splice'](_0x4dd461,0x0,_0x463e2f['parse']),_0x3917f7['splice'](_0x4dd461,0x0,_0x463e2f['leaf']),_0x540502['splice'](_0x4dd461,0x0,_0x463e2f['name']);}_0x463e2f['endLeaf']&&_0x441cd1['push'](_0x463e2f['endLeaf']);}if(nonEmpty(_0x476ce5['parseInline']))for(let _0x4e02fa of _0x476ce5['parseInline']){let _0x21d258=_0x5f1837['indexOf'](_0x4e02fa['name']);if(_0x21d258>-0x1)_0x2ac467[_0x21d258]=_0x4e02fa['parse'];else{let _0x347fbc=_0x4e02fa['before']?_0x4c73f6(_0x5f1837,_0x4e02fa['before']):_0x4e02fa['after']?_0x4c73f6(_0x5f1837,_0x4e02fa['after'])+0x1:_0x5f1837['length']-0x1;_0x2ac467['splice'](_0x347fbc,0x0,_0x4e02fa['parse']),_0x5f1837['splice'](_0x347fbc,0x0,_0x4e02fa['name']);}}return _0x476ce5['wrap']&&(_0x345e95=_0x345e95['concat'](_0x476ce5['wrap'])),new _0x10d429(_0xcbb6f7,_0x49a9cf,_0x3917f7,_0x540502,_0x441cd1,_0x22cf3e,_0x2ac467,_0x5f1837,_0x345e95);}['getNodeType'](_0x98fb9e){let _0x2ef422=this['nodeTypes'][_0x98fb9e];if(null==_0x2ef422)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x98fb9e+'\x27');return _0x2ef422;}['parseInline'](_0x175e40,_0x45dd7d){let _0x39a9f6=new InlineContext(this,_0x175e40,_0x45dd7d);t:for(let _0x158bd9=_0x45dd7d;_0x158bd9<_0x39a9f6['end'];){let _0x49aead=_0x39a9f6['char'](_0x158bd9);for(let _0x3a6c1a of this['inlineParsers'])if(_0x3a6c1a){let _0x5a5d92=_0x3a6c1a(_0x39a9f6,_0x49aead,_0x158bd9);if(_0x5a5d92>=0x0){_0x158bd9=_0x5a5d92;continue t;}}_0x158bd9++;}return _0x39a9f6['resolveMarkers'](0x0);}}function nonEmpty(_0x118dea){return null!=_0x118dea&&_0x118dea['length']>0x0;}function _0xfe3ae1(_0x215d37){if(!Array['isArray'](_0x215d37))return _0x215d37;if(0x0==_0x215d37['length'])return null;let _0x4a89c8=_0xfe3ae1(_0x215d37[0x0]);if(0x1==_0x215d37['length'])return _0x4a89c8;let _0x5f4629=_0xfe3ae1(_0x215d37['slice'](0x1));if(!_0x5f4629||!_0x4a89c8)return _0x4a89c8||_0x5f4629;let _0x4a5153=(_0x291da1,_0x21a90c)=>(_0x291da1||_0x3258bd)['concat'](_0x21a90c||_0x3258bd),_0x1fa87e=_0x4a89c8['wrap'],_0x5874d2=_0x5f4629['wrap'];return{'props':_0x4a5153(_0x4a89c8['props'],_0x5f4629['props']),'defineNodes':_0x4a5153(_0x4a89c8['defineNodes'],_0x5f4629['defineNodes']),'parseBlock':_0x4a5153(_0x4a89c8['parseBlock'],_0x5f4629['parseBlock']),'parseInline':_0x4a5153(_0x4a89c8['parseInline'],_0x5f4629['parseInline']),'remove':_0x4a5153(_0x4a89c8['remove'],_0x5f4629['remove']),'wrap':_0x1fa87e?_0x5874d2?(_0x59c367,_0x2936f1,_0x43e977,_0x289ddf)=>_0x1fa87e(_0x5874d2(_0x59c367,_0x2936f1,_0x43e977,_0x289ddf),_0x2936f1,_0x43e977,_0x289ddf):_0x1fa87e:_0x5874d2};}function _0x4c73f6(_0x2de46c,_0x4ebe49){let _0x31069c=_0x2de46c['indexOf'](_0x4ebe49);if(_0x31069c<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x4ebe49);return _0x31069c;}let _0x40024b=[_0xcfe90f['none']];for(let _0x25acc5=0x1,_0x219b04;_0x219b04=_0x51af0a[_0x25acc5];_0x25acc5++)_0x40024b[_0x25acc5]=_0xcfe90f['define']({'id':_0x25acc5,'name':_0x219b04,'props':_0x25acc5>=_0x51af0a['Escape']?[]:[[_0x323035['group'],_0x25acc5 in DefaultSkipMarkup?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x219b04});const _0x3258bd=[];let _0x2ab07f=class{constructor(_0x405159){this['nodeSet']=_0x405159,this['content']=[],this['nodes']=[];}['write'](_0x24f2e6,_0x332e58,_0x2bb3c1,_0x3cc7d6=0x0){return this['content']['push'](_0x24f2e6,_0x332e58,_0x2bb3c1,0x4+0x4*_0x3cc7d6),this;}['writeElements'](_0x10d5a4,_0x51ee7a=0x0){for(let _0xda3481 of _0x10d5a4)_0xda3481['writeTo'](this,_0x51ee7a);return this;}['finish'](_0x28e524,_0x185ccb){return _0x39ae63['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x28e524,'length':_0x185ccb});}},Element$1=class{constructor(_0x62b506,_0x2a5e35,_0x3a985e,_0x217f7e=_0x3258bd){this['type']=_0x62b506,this['from']=_0x2a5e35,this['to']=_0x3a985e,this['children']=_0x217f7e;}['writeTo'](_0xbc1cca,_0x2d50ea){let _0x3c55d5=_0xbc1cca['content']['length'];_0xbc1cca['writeElements'](this['children'],_0x2d50ea),_0xbc1cca['content']['push'](this['type'],this['from']+_0x2d50ea,this['to']+_0x2d50ea,_0xbc1cca['content']['length']+0x4-_0x3c55d5);}['toTree'](_0x47ffb0){return new _0x2ab07f(_0x47ffb0)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x62de0,_0x3c9986){this['tree']=_0x62de0,this['from']=_0x3c9986;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x3258bd;}['writeTo'](_0x3d7667,_0x53218d){_0x3d7667['nodes']['push'](this['tree']),_0x3d7667['content']['push'](_0x3d7667['nodes']['length']-0x1,this['from']+_0x53218d,this['to']+_0x53218d,-0x1);}['toTree'](){return this['tree'];}}function elt(_0x521de6,_0x17da9c,_0x1b75e8,_0x5c0674){return new Element$1(_0x521de6,_0x17da9c,_0x1b75e8,_0x5c0674);}const _0x30a5a7={'resolve':'Emphasis','mark':'EmphasisMark'},EmphasisAsterisk={'resolve':'Emphasis','mark':'EmphasisMark'},LinkStart={},ImageStart={};class InlineDelimiter{constructor(_0x1e4ade,_0x3eb8d4,_0x473150,_0x25416c){this['type']=_0x1e4ade,this['from']=_0x3eb8d4,this['to']=_0x473150,this['side']=_0x25416c;}}const _0x84ca2d='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let Punctuation=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Punctuation=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x43fca6){}const DefaultInline={'Escape'(_0x275b8b,_0x566089,_0x161ad0){if(0x5c!=_0x566089||_0x161ad0==_0x275b8b['end']-0x1)return-0x1;let _0x534b07=_0x275b8b['char'](_0x161ad0+0x1);for(let _0x4533ce=0x0;_0x4533ce<_0x84ca2d['length'];_0x4533ce++)if(_0x84ca2d['charCodeAt'](_0x4533ce)==_0x534b07)return _0x275b8b['append'](elt(_0x51af0a['Escape'],_0x161ad0,_0x161ad0+0x2));return-0x1;},'Entity'(_0x2ec95c,_0x4c2663,_0x5aa633){if(0x26!=_0x4c2663)return-0x1;let _0x16135e=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x2ec95c['slice'](_0x5aa633+0x1,_0x5aa633+0x1f));return _0x16135e?_0x2ec95c['append'](elt(_0x51af0a['Entity'],_0x5aa633,_0x5aa633+0x1+_0x16135e[0x0]['length'])):-0x1;},'InlineCode'(_0x2c2a71,_0x3bf7fb,_0x36a864){if(0x60!=_0x3bf7fb||_0x36a864&&0x60==_0x2c2a71['char'](_0x36a864-0x1))return-0x1;let _0x12f9af=_0x36a864+0x1;for(;_0x12f9af<_0x2c2a71['end']&&0x60==_0x2c2a71['char'](_0x12f9af);)_0x12f9af++;let _0x29ad58=_0x12f9af-_0x36a864,_0x562d29=0x0;for(;_0x12f9af<_0x2c2a71['end'];_0x12f9af++)if(0x60==_0x2c2a71['char'](_0x12f9af)){if(_0x562d29++,_0x562d29==_0x29ad58&&0x60!=_0x2c2a71['char'](_0x12f9af+0x1))return _0x2c2a71['append'](elt(_0x51af0a['InlineCode'],_0x36a864,_0x12f9af+0x1,[elt(_0x51af0a['CodeMark'],_0x36a864,_0x36a864+_0x29ad58),elt(_0x51af0a['CodeMark'],_0x12f9af+0x1-_0x29ad58,_0x12f9af+0x1)]));}else _0x562d29=0x0;return-0x1;},'HTMLTag'(_0x2687a3,_0xbd86ea,_0x320c22){if(0x3c!=_0xbd86ea||_0x320c22==_0x2687a3['end']-0x1)return-0x1;let _0x5b66e9=_0x2687a3['slice'](_0x320c22+0x1,_0x2687a3['end']),_0xfa7abd=/^(?:[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'](_0x5b66e9);if(_0xfa7abd)return _0x2687a3['append'](elt(_0x51af0a['Autolink'],_0x320c22,_0x320c22+0x1+_0xfa7abd[0x0]['length'],[elt(_0x51af0a['LinkMark'],_0x320c22,_0x320c22+0x1),elt(_0x51af0a['URL'],_0x320c22+0x1,_0x320c22+_0xfa7abd[0x0]['length']),elt(_0x51af0a['LinkMark'],_0x320c22+_0xfa7abd[0x0]['length'],_0x320c22+0x1+_0xfa7abd[0x0]['length'])]));let _0x45ac1d=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x5b66e9);if(_0x45ac1d)return _0x2687a3['append'](elt(_0x51af0a['Comment'],_0x320c22,_0x320c22+0x1+_0x45ac1d[0x0]['length']));let _0x1b926d=/^\?[^]*?\?>/['exec'](_0x5b66e9);if(_0x1b926d)return _0x2687a3['append'](elt(_0x51af0a['ProcessingInstruction'],_0x320c22,_0x320c22+0x1+_0x1b926d[0x0]['length']));let _0x362811=/^(?:![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'](_0x5b66e9);return _0x362811?_0x2687a3['append'](elt(_0x51af0a['HTMLTag'],_0x320c22,_0x320c22+0x1+_0x362811[0x0]['length'])):-0x1;},'Emphasis'(_0x4c43d7,_0x676082,_0x4fc007){if(0x5f!=_0x676082&&0x2a!=_0x676082)return-0x1;let _0x4b473f=_0x4fc007+0x1;for(;_0x4c43d7['char'](_0x4b473f)==_0x676082;)_0x4b473f++;let _0x551dc5=_0x4c43d7['slice'](_0x4fc007-0x1,_0x4fc007),_0xbc329a=_0x4c43d7['slice'](_0x4b473f,_0x4b473f+0x1),_0x15a0e5=Punctuation['test'](_0x551dc5),_0x19f081=Punctuation['test'](_0xbc329a),_0x3b45b2=/\s|^$/['test'](_0x551dc5),_0x5ee800=/\s|^$/['test'](_0xbc329a),_0x13bdea=!_0x5ee800&&(!_0x19f081||_0x3b45b2||_0x15a0e5),_0x58424a=!_0x3b45b2&&(!_0x15a0e5||_0x5ee800||_0x19f081),_0x588914=_0x13bdea&&(0x2a==_0x676082||!_0x58424a||_0x15a0e5),_0x2901ad=_0x58424a&&(0x2a==_0x676082||!_0x13bdea||_0x19f081);return _0x4c43d7['append'](new InlineDelimiter(0x5f==_0x676082?_0x30a5a7:EmphasisAsterisk,_0x4fc007,_0x4b473f,(_0x588914?0x1:0x0)|(_0x2901ad?0x2:0x0)));},'HardBreak'(_0x58a3c0,_0x4cdbbd,_0x1a133d){if(0x5c==_0x4cdbbd&&0xa==_0x58a3c0['char'](_0x1a133d+0x1))return _0x58a3c0['append'](elt(_0x51af0a['HardBreak'],_0x1a133d,_0x1a133d+0x2));if(0x20==_0x4cdbbd){let _0x468ea1=_0x1a133d+0x1;for(;0x20==_0x58a3c0['char'](_0x468ea1);)_0x468ea1++;if(0xa==_0x58a3c0['char'](_0x468ea1)&&_0x468ea1>=_0x1a133d+0x2)return _0x58a3c0['append'](elt(_0x51af0a['HardBreak'],_0x1a133d,_0x468ea1+0x1));}return-0x1;},'Link':(_0x526de2,_0x3a434e,_0xb00ddb)=>0x5b==_0x3a434e?_0x526de2['append'](new InlineDelimiter(LinkStart,_0xb00ddb,_0xb00ddb+0x1,0x1)):-0x1,'Image':(_0x465d30,_0x3bd448,_0x4eb29a)=>0x21==_0x3bd448&&0x5b==_0x465d30['char'](_0x4eb29a+0x1)?_0x465d30['append'](new InlineDelimiter(ImageStart,_0x4eb29a,_0x4eb29a+0x2,0x1)):-0x1,'LinkEnd'(_0x245dfa,_0x3073a7,_0x18f874){if(0x5d!=_0x3073a7)return-0x1;for(let _0x2802a0=_0x245dfa['parts']['length']-0x1;_0x2802a0>=0x0;_0x2802a0--){let _0x322bf7=_0x245dfa['parts'][_0x2802a0];if(_0x322bf7 instanceof InlineDelimiter&&(_0x322bf7['type']==LinkStart||_0x322bf7['type']==ImageStart)){if(!_0x322bf7['side']||_0x245dfa['skipSpace'](_0x322bf7['to'])==_0x18f874&&!/[(\[]/['test'](_0x245dfa['slice'](_0x18f874+0x1,_0x18f874+0x2)))return _0x245dfa['parts'][_0x2802a0]=null,-0x1;let _0x39d4f0=_0x245dfa['takeContent'](_0x2802a0),_0x3373d7=_0x245dfa['parts'][_0x2802a0]=_0xcc6c31(_0x245dfa,_0x39d4f0,_0x322bf7['type']==LinkStart?_0x51af0a['Link']:_0x51af0a['Image'],_0x322bf7['from'],_0x18f874+0x1);if(_0x322bf7['type']==LinkStart)for(let _0xea3f69=0x0;_0xea3f69<_0x2802a0;_0xea3f69++){let _0x3d5728=_0x245dfa['parts'][_0xea3f69];_0x3d5728 instanceof InlineDelimiter&&_0x3d5728['type']==LinkStart&&(_0x3d5728['side']=0x0);}return _0x3373d7['to'];}}return-0x1;}};function _0xcc6c31(_0x14090e,_0x3116ba,_0x3dcff1,_0x5f2d6b,_0x166391){let {text:_0x50017d}=_0x14090e,_0x10d1de=_0x14090e['char'](_0x166391),_0x4913cd=_0x166391;if(_0x3116ba['unshift'](elt(_0x51af0a['LinkMark'],_0x5f2d6b,_0x5f2d6b+(_0x3dcff1==_0x51af0a['Image']?0x2:0x1))),_0x3116ba['push'](elt(_0x51af0a['LinkMark'],_0x166391-0x1,_0x166391)),0x28==_0x10d1de){let _0x327187,_0x4ad6be=_0x14090e['skipSpace'](_0x166391+0x1),_0x2e5fcd=_0x415b74(_0x50017d,_0x4ad6be-_0x14090e['offset'],_0x14090e['offset']);_0x2e5fcd&&(_0x4ad6be=_0x14090e['skipSpace'](_0x2e5fcd['to']),_0x4ad6be!=_0x2e5fcd['to']&&(_0x327187=parseLinkTitle(_0x50017d,_0x4ad6be-_0x14090e['offset'],_0x14090e['offset']),_0x327187&&(_0x4ad6be=_0x14090e['skipSpace'](_0x327187['to'])))),0x29==_0x14090e['char'](_0x4ad6be)&&(_0x3116ba['push'](elt(_0x51af0a['LinkMark'],_0x166391,_0x166391+0x1)),_0x4913cd=_0x4ad6be+0x1,_0x2e5fcd&&_0x3116ba['push'](_0x2e5fcd),_0x327187&&_0x3116ba['push'](_0x327187),_0x3116ba['push'](elt(_0x51af0a['LinkMark'],_0x4ad6be,_0x4913cd)));}else{if(0x5b==_0x10d1de){let _0x3ef5ae=_0x50ee2b(_0x50017d,_0x166391-_0x14090e['offset'],_0x14090e['offset'],!0x1);_0x3ef5ae&&(_0x3116ba['push'](_0x3ef5ae),_0x4913cd=_0x3ef5ae['to']);}}return elt(_0x3dcff1,_0x5f2d6b,_0x4913cd,_0x3116ba);}function _0x415b74(_0x39658f,_0x57fd66,_0x34435e){if(0x3c==_0x39658f['charCodeAt'](_0x57fd66)){for(let _0x7d33e4=_0x57fd66+0x1;_0x7d33e4<_0x39658f['length'];_0x7d33e4++){let _0x53af43=_0x39658f['charCodeAt'](_0x7d33e4);if(0x3e==_0x53af43)return elt(_0x51af0a['URL'],_0x57fd66+_0x34435e,_0x7d33e4+0x1+_0x34435e);if(0x3c==_0x53af43||0xa==_0x53af43)return!0x1;}return null;}{let _0x542795=0x0,_0x312a4e=_0x57fd66;for(let _0x2ec251=!0x1;_0x312a4e<_0x39658f['length'];_0x312a4e++){let _0x529f4d=_0x39658f['charCodeAt'](_0x312a4e);if(_0x4ff9e3(_0x529f4d))break;if(_0x2ec251)_0x2ec251=!0x1;else{if(0x28==_0x529f4d)_0x542795++;else{if(0x29==_0x529f4d){if(!_0x542795)break;_0x542795--;}else 0x5c==_0x529f4d&&(_0x2ec251=!0x0);}}}return _0x312a4e>_0x57fd66?elt(_0x51af0a['URL'],_0x57fd66+_0x34435e,_0x312a4e+_0x34435e):_0x312a4e==_0x39658f['length']&&null;}}function parseLinkTitle(_0x9b3268,_0x46d78a,_0x2a85db){let _0x1024e1=_0x9b3268['charCodeAt'](_0x46d78a);if(0x27!=_0x1024e1&&0x22!=_0x1024e1&&0x28!=_0x1024e1)return!0x1;let _0x421b23=0x28==_0x1024e1?0x29:_0x1024e1;for(let _0x183ab3=_0x46d78a+0x1,_0x939499=!0x1;_0x183ab3<_0x9b3268['length'];_0x183ab3++){let _0x37b622=_0x9b3268['charCodeAt'](_0x183ab3);if(_0x939499)_0x939499=!0x1;else{if(_0x37b622==_0x421b23)return elt(_0x51af0a['LinkTitle'],_0x46d78a+_0x2a85db,_0x183ab3+0x1+_0x2a85db);0x5c==_0x37b622&&(_0x939499=!0x0);}}return null;}function _0x50ee2b(_0x26f3bb,_0x278b67,_0x23c3be,_0x2ca074){for(let _0x3e916b=!0x1,_0x5ac6db=_0x278b67+0x1,_0xc30c36=Math['min'](_0x26f3bb['length'],_0x5ac6db+0x3e7);_0x5ac6db<_0xc30c36;_0x5ac6db++){let _0x5b2ff1=_0x26f3bb['charCodeAt'](_0x5ac6db);if(_0x3e916b)_0x3e916b=!0x1;else{if(0x5d==_0x5b2ff1)return!_0x2ca074&&elt(_0x51af0a['LinkLabel'],_0x278b67+_0x23c3be,_0x5ac6db+0x1+_0x23c3be);if(_0x2ca074&&!_0x4ff9e3(_0x5b2ff1)&&(_0x2ca074=!0x1),0x5b==_0x5b2ff1)return!0x1;0x5c==_0x5b2ff1&&(_0x3e916b=!0x0);}}return null;}class InlineContext{constructor(_0x32960a,_0x5cd10f,_0x261b60){this['parser']=_0x32960a,this['text']=_0x5cd10f,this['offset']=_0x261b60,this['parts']=[];}['char'](_0x63d8e2){return _0x63d8e2>=this['end']?-0x1:this['text']['charCodeAt'](_0x63d8e2-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x3fe7ca,_0x4d6720){return this['text']['slice'](_0x3fe7ca-this['offset'],_0x4d6720-this['offset']);}['append'](_0x4c16be){return this['parts']['push'](_0x4c16be),_0x4c16be['to'];}['addDelimiter'](_0x1c59d5,_0x824f59,_0x2f369c,_0x11e9c1,_0x460498){return this['append'](new InlineDelimiter(_0x1c59d5,_0x824f59,_0x2f369c,(_0x11e9c1?0x1:0x0)|(_0x460498?0x2:0x0)));}get['hasOpenLink'](){for(let _0x3095c5=this['parts']['length']-0x1;_0x3095c5>=0x0;_0x3095c5--){let _0xa5930e=this['parts'][_0x3095c5];if(_0xa5930e instanceof InlineDelimiter&&(_0xa5930e['type']==LinkStart||_0xa5930e['type']==ImageStart))return!0x0;}return!0x1;}['addElement'](_0x472169){return this['append'](_0x472169);}['resolveMarkers'](_0x1a21bf){for(let _0x2015cf=_0x1a21bf;_0x2015cf<this['parts']['length'];_0x2015cf++){let _0x35ff3e=this['parts'][_0x2015cf];if(!(_0x35ff3e instanceof InlineDelimiter&&_0x35ff3e['type']['resolve']&&0x2&_0x35ff3e['side']))continue;let _0x3db2b1,_0x10a408=_0x35ff3e['type']==_0x30a5a7||_0x35ff3e['type']==EmphasisAsterisk,_0x3d0745=_0x35ff3e['to']-_0x35ff3e['from'],_0x42b947=_0x2015cf-0x1;for(;_0x42b947>=_0x1a21bf;_0x42b947--){let _0x16b491=this['parts'][_0x42b947];if(_0x16b491 instanceof InlineDelimiter&&0x1&_0x16b491['side']&&_0x16b491['type']==_0x35ff3e['type']&&!(_0x10a408&&(0x1&_0x35ff3e['side']||0x2&_0x16b491['side'])&&(_0x16b491['to']-_0x16b491['from']+_0x3d0745)%0x3==0x0&&((_0x16b491['to']-_0x16b491['from'])%0x3||_0x3d0745%0x3))){_0x3db2b1=_0x16b491;break;}}if(!_0x3db2b1)continue;let _0x48f179=_0x35ff3e['type']['resolve'],_0x2b72b6=[],_0x11da7d=_0x3db2b1['from'],_0x408434=_0x35ff3e['to'];if(_0x10a408){let _0x176ba0=Math['min'](0x2,_0x3db2b1['to']-_0x3db2b1['from'],_0x3d0745);_0x11da7d=_0x3db2b1['to']-_0x176ba0,_0x408434=_0x35ff3e['from']+_0x176ba0,_0x48f179=0x1==_0x176ba0?'Emphasis':'StrongEmphasis';}_0x3db2b1['type']['mark']&&_0x2b72b6['push'](this['elt'](_0x3db2b1['type']['mark'],_0x11da7d,_0x3db2b1['to']));for(let _0x32d4ea=_0x42b947+0x1;_0x32d4ea<_0x2015cf;_0x32d4ea++)this['parts'][_0x32d4ea]instanceof Element$1&&_0x2b72b6['push'](this['parts'][_0x32d4ea]),this['parts'][_0x32d4ea]=null;_0x35ff3e['type']['mark']&&_0x2b72b6['push'](this['elt'](_0x35ff3e['type']['mark'],_0x35ff3e['from'],_0x408434));let _0x5aee0b=this['elt'](_0x48f179,_0x11da7d,_0x408434,_0x2b72b6);this['parts'][_0x42b947]=_0x10a408&&_0x3db2b1['from']!=_0x11da7d?new InlineDelimiter(_0x3db2b1['type'],_0x3db2b1['from'],_0x11da7d,_0x3db2b1['side']):null,(this['parts'][_0x2015cf]=_0x10a408&&_0x35ff3e['to']!=_0x408434?new InlineDelimiter(_0x35ff3e['type'],_0x408434,_0x35ff3e['to'],_0x35ff3e['side']):null)?this['parts']['splice'](_0x2015cf,0x0,_0x5aee0b):this['parts'][_0x2015cf]=_0x5aee0b;}let _0x1b684a=[];for(let _0x1d1ff6=_0x1a21bf;_0x1d1ff6<this['parts']['length'];_0x1d1ff6++){let _0x55e1b9=this['parts'][_0x1d1ff6];_0x55e1b9 instanceof Element$1&&_0x1b684a['push'](_0x55e1b9);}return _0x1b684a;}['findOpeningDelimiter'](_0x49a39b){for(let _0x5dd480=this['parts']['length']-0x1;_0x5dd480>=0x0;_0x5dd480--){let _0x5815d5=this['parts'][_0x5dd480];if(_0x5815d5 instanceof InlineDelimiter&&_0x5815d5['type']==_0x49a39b&&0x1&_0x5815d5['side'])return _0x5dd480;}return null;}['takeContent'](_0x2bd10b){let _0x5d15ec=this['resolveMarkers'](_0x2bd10b);return this['parts']['length']=_0x2bd10b,_0x5d15ec;}['getDelimiterAt'](_0x4e7df7){let _0x1c1739=this['parts'][_0x4e7df7];return _0x1c1739 instanceof InlineDelimiter?_0x1c1739:null;}['skipSpace'](_0x15ec17){return _0x280507(this['text'],_0x15ec17-this['offset'])+this['offset'];}['elt'](_0x2ac14f,_0x3c1ba5,_0xdaed06,_0x1b851f){return'string'==typeof _0x2ac14f?elt(this['parser']['getNodeType'](_0x2ac14f),_0x3c1ba5,_0xdaed06,_0x1b851f):new TreeElement(_0x2ac14f,_0x3c1ba5);}}function injectMarks(_0xbd6050,_0x543a75){if(!_0x543a75['length'])return _0xbd6050;if(!_0xbd6050['length'])return _0x543a75;let _0x422d8e=_0xbd6050['slice'](),_0x5cf79f=0x0;for(let _0x2f0808 of _0x543a75){for(;_0x5cf79f<_0x422d8e['length']&&_0x422d8e[_0x5cf79f]['to']<_0x2f0808['to'];)_0x5cf79f++;if(_0x5cf79f<_0x422d8e['length']&&_0x422d8e[_0x5cf79f]['from']<_0x2f0808['from']){let _0x401b91=_0x422d8e[_0x5cf79f];_0x401b91 instanceof Element$1&&(_0x422d8e[_0x5cf79f]=new Element$1(_0x401b91['type'],_0x401b91['from'],_0x401b91['to'],injectMarks(_0x401b91['children'],[_0x2f0808])));}else _0x422d8e['splice'](_0x5cf79f++,0x0,_0x2f0808);}return _0x422d8e;}InlineContext['linkStart']=LinkStart,InlineContext['imageStart']=ImageStart;const NotLast=[_0x51af0a['CodeBlock'],_0x51af0a['ListItem'],_0x51af0a['OrderedList'],_0x51af0a['BulletList']];class FragmentCursor{constructor(_0x35b5b0,_0x238873){this['fragments']=_0x35b5b0,this['input']=_0x238873,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x35b5b0['length']&&(this['fragment']=_0x35b5b0[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x128cb8,_0x22a594){for(;this['fragment']&&this['fragment']['to']<=_0x128cb8;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x128cb8?_0x128cb8-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x33da12=this['fragment']['to'];for(;_0x33da12>0x0&&'\x0a'!=this['input']['read'](_0x33da12-0x1,_0x33da12);)_0x33da12--;this['fragmentEnd']=_0x33da12?_0x33da12-0x1:0x0;}let _0x2e40b1=this['cursor'];_0x2e40b1||(_0x2e40b1=this['cursor']=this['fragment']['tree']['cursor'](),_0x2e40b1['firstChild']());let _0x4b1bec=_0x128cb8+this['fragment']['offset'];for(;_0x2e40b1['to']<=_0x4b1bec;)if(!_0x2e40b1['parent']())return!0x1;for(;;){if(_0x2e40b1['from']>=_0x4b1bec)return this['fragment']['from']<=_0x22a594;if(!_0x2e40b1['childAfter'](_0x4b1bec))return!0x1;}}['matches'](_0x3b4ef6){let _0x38a721=this['cursor']['tree'];return _0x38a721&&_0x38a721['prop'](_0x323035['contextHash'])==_0x3b4ef6;}['takeNodes'](_0x26c40b){let _0x5cf4b3=this['cursor'],_0x20a3c4=this['fragment']['offset'],_0x515f75=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x1a64af=_0x26c40b['absoluteLineStart'],_0x20c9f3=_0x1a64af,_0xd3da07=_0x26c40b['block']['children']['length'],_0x3e6b00=_0x20c9f3,_0x3d25f4=_0xd3da07;for(;;){if(_0x5cf4b3['to']-_0x20a3c4>_0x515f75){if(_0x5cf4b3['type']['isAnonymous']&&_0x5cf4b3['firstChild']())continue;break;}let _0x519d60=toRelative(_0x5cf4b3['from']-_0x20a3c4,_0x26c40b['ranges']);if(_0x5cf4b3['to']-_0x20a3c4<=_0x26c40b['ranges'][_0x26c40b['rangeI']]['to'])_0x26c40b['addNode'](_0x5cf4b3['tree'],_0x519d60);else{let _0x24a51f=new _0x39ae63(_0x26c40b['parser']['nodeSet']['types'][_0x51af0a['Paragraph']],[],[],0x0,_0x26c40b['block']['hashProp']);_0x26c40b['reusePlaceholders']['set'](_0x24a51f,_0x5cf4b3['tree']),_0x26c40b['addNode'](_0x24a51f,_0x519d60);}if(_0x5cf4b3['type']['is']('Block')&&(NotLast['indexOf'](_0x5cf4b3['type']['id'])<0x0?(_0x20c9f3=_0x5cf4b3['to']-_0x20a3c4,_0xd3da07=_0x26c40b['block']['children']['length']):(_0x20c9f3=_0x3e6b00,_0xd3da07=_0x3d25f4,_0x3e6b00=_0x5cf4b3['to']-_0x20a3c4,_0x3d25f4=_0x26c40b['block']['children']['length'])),!_0x5cf4b3['nextSibling']())break;}for(;_0x26c40b['block']['children']['length']>_0xd3da07;)_0x26c40b['block']['children']['pop'](),_0x26c40b['block']['positions']['pop']();return _0x20c9f3-_0x1a64af;}}function toRelative(_0x2b7762,_0x1b9d4e){let _0x1a044e=_0x2b7762;for(let _0x368758=0x1;_0x368758<_0x1b9d4e['length'];_0x368758++){let _0x2c8469=_0x1b9d4e[_0x368758-0x1]['to'],_0x581817=_0x1b9d4e[_0x368758]['from'];_0x2c8469<_0x2b7762&&(_0x1a044e-=_0x581817-_0x2c8469);}return _0x1a044e;}const markdownHighlighting=styleTags({'Blockquote/...':tags$1['quote'],'HorizontalRule':tags$1['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':tags$1['heading1'],'ATXHeading2/...\x20SetextHeading2/...':tags$1['heading2'],'ATXHeading3/...':tags$1['heading3'],'ATXHeading4/...':tags$1['heading4'],'ATXHeading5/...':tags$1['heading5'],'ATXHeading6/...':tags$1['heading6'],'Comment\x20CommentBlock':tags$1['comment'],'Escape':tags$1['escape'],'Entity':tags$1['character'],'Emphasis/...':tags$1['emphasis'],'StrongEmphasis/...':tags$1['strong'],'Link/...\x20Image/...':tags$1['link'],'OrderedList/...\x20BulletList/...':tags$1['list'],'BlockQuote/...':tags$1['quote'],'InlineCode\x20CodeText':tags$1['monospace'],'URL\x20Autolink':tags$1['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':tags$1['processingInstruction'],'CodeInfo\x20LinkLabel':tags$1['labelName'],'LinkTitle':tags$1['string'],'Paragraph':tags$1['content']}),_0x5ab756=new _0x10d429(new NodeSet(_0x40024b)['extend'](markdownHighlighting),Object['keys'](DefaultBlockParsers)['map'](_0x492668=>DefaultBlockParsers[_0x492668]),Object['keys'](DefaultBlockParsers)['map'](_0x3b379d=>DefaultLeafBlocks[_0x3b379d]),Object['keys'](DefaultBlockParsers),DefaultEndLeaf,DefaultSkipMarkup,Object['keys'](DefaultInline)['map'](_0x2d234b=>DefaultInline[_0x2d234b]),Object['keys'](DefaultInline),[]);function leftOverSpace(_0x428938,_0x824013,_0xbe9bb4){let _0x5b6df6=[];for(let _0xc0b584=_0x428938['firstChild'],_0x23bc31=_0x824013;;_0xc0b584=_0xc0b584['nextSibling']){let _0x424973=_0xc0b584?_0xc0b584['from']:_0xbe9bb4;if(_0x424973>_0x23bc31&&_0x5b6df6['push']({'from':_0x23bc31,'to':_0x424973}),!_0xc0b584)break;_0x23bc31=_0xc0b584['to'];}return _0x5b6df6;}function _0x592f49(_0x488bb5){let {codeParser:_0x350bbc,htmlParser:_0x1dd1c7}=_0x488bb5,_0x1b3cd4=_0x26b8f1((_0x474946,_0x2a5988)=>{let _0x1c2f80=_0x474946['type']['id'];if(!_0x350bbc||_0x1c2f80!=_0x51af0a['CodeBlock']&&_0x1c2f80!=_0x51af0a['FencedCode']){if(_0x1dd1c7&&(_0x1c2f80==_0x51af0a['HTMLBlock']||_0x1c2f80==_0x51af0a['HTMLTag']||_0x1c2f80==_0x51af0a['CommentBlock']))return{'parser':_0x1dd1c7,'overlay':leftOverSpace(_0x474946['node'],_0x474946['from'],_0x474946['to'])};}else{let _0x522259='';if(_0x1c2f80==_0x51af0a['FencedCode']){let _0x46bc93=_0x474946['node']['getChild'](_0x51af0a['CodeInfo']);_0x46bc93&&(_0x522259=_0x2a5988['read'](_0x46bc93['from'],_0x46bc93['to']));}let _0x876902=_0x350bbc(_0x522259);if(_0x876902)return{'parser':_0x876902,'overlay':_0x194ca2=>_0x194ca2['type']['id']==_0x51af0a['CodeText']};}return null;});return{'wrap':_0x1b3cd4};}const StrikethroughDelim={'resolve':'Strikethrough','mark':'StrikethroughMark'},Strikethrough={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':tags$1['strikethrough']}},{'name':'StrikethroughMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x4e18df,_0x2e9128,_0x4131d4){if(0x7e!=_0x2e9128||0x7e!=_0x4e18df['char'](_0x4131d4+0x1)||0x7e==_0x4e18df['char'](_0x4131d4+0x2))return-0x1;let _0x245c97=_0x4e18df['slice'](_0x4131d4-0x1,_0x4131d4),_0x39d247=_0x4e18df['slice'](_0x4131d4+0x2,_0x4131d4+0x3),_0x2bfe58=/\s|^$/['test'](_0x245c97),_0x23043e=/\s|^$/['test'](_0x39d247),_0x305b25=Punctuation['test'](_0x245c97),_0x5ebbe2=Punctuation['test'](_0x39d247);return _0x4e18df['addDelimiter'](StrikethroughDelim,_0x4131d4,_0x4131d4+0x2,!_0x23043e&&(!_0x5ebbe2||_0x2bfe58||_0x305b25),!_0x2bfe58&&(!_0x305b25||_0x23043e||_0x5ebbe2));},'after':'Emphasis'}]};function _0x534e1b(_0x3b79fc,_0x43894c,_0x506246=0x0,_0x287f34,_0x4fe10f=0x0){let _0x2063e0=0x0,_0xa79694=!0x0,_0x44e0f0=-0x1,_0x24e6d6=-0x1,_0x573fb6=!0x1,_0x58184d=()=>{_0x287f34['push'](_0x3b79fc['elt']('TableCell',_0x4fe10f+_0x44e0f0,_0x4fe10f+_0x24e6d6,_0x3b79fc['parser']['parseInline'](_0x43894c['slice'](_0x44e0f0,_0x24e6d6),_0x4fe10f+_0x44e0f0)));};for(let _0x4ca45d=_0x506246;_0x4ca45d<_0x43894c['length'];_0x4ca45d++){let _0x57cd51=_0x43894c['charCodeAt'](_0x4ca45d);0x7c!=_0x57cd51||_0x573fb6?(_0x573fb6||0x20!=_0x57cd51&&0x9!=_0x57cd51)&&(_0x44e0f0<0x0&&(_0x44e0f0=_0x4ca45d),_0x24e6d6=_0x4ca45d+0x1):((!_0xa79694||_0x44e0f0>-0x1)&&_0x2063e0++,_0xa79694=!0x1,_0x287f34&&(_0x44e0f0>-0x1&&_0x58184d(),_0x287f34['push'](_0x3b79fc['elt']('TableDelimiter',_0x4ca45d+_0x4fe10f,_0x4ca45d+_0x4fe10f+0x1))),_0x44e0f0=_0x24e6d6=-0x1),_0x573fb6=!_0x573fb6&&0x5c==_0x57cd51;}return _0x44e0f0>-0x1&&(_0x2063e0++,_0x287f34&&_0x58184d()),_0x2063e0;}function _0x54225b(_0x22db95,_0x61cb1e){for(let _0x1ec671=_0x61cb1e;_0x1ec671<_0x22db95['length'];_0x1ec671++){let _0x550fc0=_0x22db95['charCodeAt'](_0x1ec671);if(0x7c==_0x550fc0)return!0x0;0x5c==_0x550fc0&&_0x1ec671++;}return!0x1;}const delimiterLine=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x12722c{constructor(){this['rows']=null;}['nextLine'](_0x599a41,_0x4c5f5a,_0x3afca4){if(null==this['rows']){let _0x46671f;if(this['rows']=!0x1,(0x2d==_0x4c5f5a['next']||0x3a==_0x4c5f5a['next']||0x7c==_0x4c5f5a['next'])&&delimiterLine['test'](_0x46671f=_0x4c5f5a['text']['slice'](_0x4c5f5a['pos']))){let _0x7ddd68=[];_0x534e1b(_0x599a41,_0x3afca4['content'],0x0,_0x7ddd68,_0x3afca4['start'])==_0x534e1b(_0x599a41,_0x46671f,_0x4c5f5a['pos'])&&(this['rows']=[_0x599a41['elt']('TableHeader',_0x3afca4['start'],_0x3afca4['start']+_0x3afca4['content']['length'],_0x7ddd68),_0x599a41['elt']('TableDelimiter',_0x599a41['lineStart']+_0x4c5f5a['pos'],_0x599a41['lineStart']+_0x4c5f5a['text']['length'])]);}}else{if(this['rows']){let _0xb9c5b1=[];_0x534e1b(_0x599a41,_0x4c5f5a['text'],_0x4c5f5a['pos'],_0xb9c5b1,_0x599a41['lineStart']),this['rows']['push'](_0x599a41['elt']('TableRow',_0x599a41['lineStart']+_0x4c5f5a['pos'],_0x599a41['lineStart']+_0x4c5f5a['text']['length'],_0xb9c5b1));}}return!0x1;}['finish'](_0x3d8330,_0x14efc6){return!!this['rows']&&(_0x3d8330['addLeafElement'](_0x14efc6,_0x3d8330['elt']('Table',_0x14efc6['start'],_0x14efc6['start']+_0x14efc6['content']['length'],this['rows'])),!0x0);}}const _0x5735f3={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':tags$1['heading']}},'TableRow',{'name':'TableCell','style':tags$1['content']},{'name':'TableDelimiter','style':tags$1['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x27aeaa,_0x4365ba)=>_0x54225b(_0x4365ba['content'],0x0)?new _0x12722c():null,'endLeaf'(_0x374fd3,_0x1c7570,_0x4022af){if(_0x4022af['parsers']['some'](_0x20e4a1=>_0x20e4a1 instanceof _0x12722c)||!_0x54225b(_0x1c7570['text'],_0x1c7570['basePos']))return!0x1;let _0x2dc7e9=_0x374fd3['peekLine']();return delimiterLine['test'](_0x2dc7e9)&&_0x534e1b(_0x374fd3,_0x1c7570['text'],_0x1c7570['basePos'])==_0x534e1b(_0x374fd3,_0x2dc7e9,_0x1c7570['basePos']);},'before':'SetextHeading'}]};class _0x3528df{['nextLine'](){return!0x1;}['finish'](_0x443f87,_0x2141d1){return _0x443f87['addLeafElement'](_0x2141d1,_0x443f87['elt']('Task',_0x2141d1['start'],_0x2141d1['start']+_0x2141d1['content']['length'],[_0x443f87['elt']('TaskMarker',_0x2141d1['start'],_0x2141d1['start']+0x3),..._0x443f87['parser']['parseInline'](_0x2141d1['content']['slice'](0x3),_0x2141d1['start']+0x3)])),!0x0;}}const TaskList={'defineNodes':[{'name':'Task','block':!0x0,'style':tags$1['list']},{'name':'TaskMarker','style':tags$1['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x3a6084,_0x56c0b7)=>/^\[[ xX]\][ \t]/['test'](_0x56c0b7['content'])&&'ListItem'==_0x3a6084['parentType']()['name']?new _0x3528df():null,'after':'SetextHeading'}]},autolinkRE=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x33951c=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,lastTwoDomainWords=/[\w-]+\.[\w-]+($|\/)/,_0x4154d6=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x571587=/\/[a-zA-Z\d@.]+/gy;function count(_0x237167,_0x3ac206,_0x50a00f,_0x292b33){let _0x5796bf=0x0;for(let _0x3ce4bc=_0x3ac206;_0x3ce4bc<_0x50a00f;_0x3ce4bc++)_0x237167[_0x3ce4bc]==_0x292b33&&_0x5796bf++;return _0x5796bf;}function autolinkURLEnd(_0x907d31,_0x2da928){_0x33951c['lastIndex']=_0x2da928;let _0x39e27f=_0x33951c['exec'](_0x907d31);if(!_0x39e27f||lastTwoDomainWords['exec'](_0x39e27f[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x39c757=_0x2da928+_0x39e27f[0x0]['length'];for(;;){let _0x265d54,_0x2b12d2=_0x907d31[_0x39c757-0x1];if(/[?!.,:*_~]/['test'](_0x2b12d2)||')'==_0x2b12d2&&count(_0x907d31,_0x2da928,_0x39c757,')')>count(_0x907d31,_0x2da928,_0x39c757,'('))_0x39c757--;else{if(';'!=_0x2b12d2||!(_0x265d54=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x907d31['slice'](_0x2da928,_0x39c757))))break;_0x39c757=_0x2da928+_0x265d54['index'];}}return _0x39c757;}function autolinkEmailEnd(_0x4d5091,_0x142b90){_0x4154d6['lastIndex']=_0x142b90;let _0x2cbfec=_0x4154d6['exec'](_0x4d5091);if(!_0x2cbfec)return-0x1;let _0xc4523e=_0x2cbfec[0x0][_0x2cbfec[0x0]['length']-0x1];return'_'==_0xc4523e||'-'==_0xc4523e?-0x1:_0x142b90+_0x2cbfec[0x0]['length']-('.'==_0xc4523e?0x1:0x0);}const Autolink={'parseInline':[{'name':'Autolink','parse'(_0x2f3415,_0xa21f43,_0x28308e){let _0x210883=_0x28308e-_0x2f3415['offset'];if(_0x210883&&/\w/['test'](_0x2f3415['text'][_0x210883-0x1]))return-0x1;autolinkRE['lastIndex']=_0x210883;let _0x142715=autolinkRE['exec'](_0x2f3415['text']),_0x529e47=-0x1;if(!_0x142715)return-0x1;if(_0x142715[0x1]||_0x142715[0x2])(_0x529e47=autolinkURLEnd(_0x2f3415['text'],_0x210883+_0x142715[0x0]['length']),_0x529e47>-0x1&&_0x2f3415['hasOpenLink'])&&(_0x529e47=_0x210883+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x2f3415['text']['slice'](_0x210883,_0x529e47))[0x0]['length']);else _0x142715[0x3]?_0x529e47=autolinkEmailEnd(_0x2f3415['text'],_0x210883):(_0x529e47=autolinkEmailEnd(_0x2f3415['text'],_0x210883+_0x142715[0x0]['length']),_0x529e47>-0x1&&'xmpp:'==_0x142715[0x0]&&(_0x571587['lastIndex']=_0x529e47,_0x142715=_0x571587['exec'](_0x2f3415['text']),_0x142715&&(_0x529e47=_0x142715['index']+_0x142715[0x0]['length'])));return _0x529e47<0x0?-0x1:(_0x2f3415['addElement'](_0x2f3415['elt']('URL',_0x28308e,_0x529e47+_0x2f3415['offset'])),_0x529e47+_0x2f3415['offset']);}}]},_0x28e700=[_0x5735f3,TaskList,Strikethrough,Autolink];function _0x5a2eb1(_0x3f257e,_0x5029e7,_0xa8f982){return(_0x30e44d,_0x56a671,_0x59beba)=>{if(_0x56a671!=_0x3f257e||_0x30e44d['char'](_0x59beba+0x1)==_0x3f257e)return-0x1;let _0x44b4c9=[_0x30e44d['elt'](_0xa8f982,_0x59beba,_0x59beba+0x1)];for(let _0x4c3820=_0x59beba+0x1;_0x4c3820<_0x30e44d['end'];_0x4c3820++){let _0x9530e0=_0x30e44d['char'](_0x4c3820);if(_0x9530e0==_0x3f257e)return _0x30e44d['addElement'](_0x30e44d['elt'](_0x5029e7,_0x59beba,_0x4c3820+0x1,_0x44b4c9['concat'](_0x30e44d['elt'](_0xa8f982,_0x4c3820,_0x4c3820+0x1))));if(0x5c==_0x9530e0&&_0x44b4c9['push'](_0x30e44d['elt']('Escape',_0x4c3820,0x2+_0x4c3820++)),_0x4ff9e3(_0x9530e0))break;}return-0x1;};}const Superscript={'defineNodes':[{'name':'Superscript','style':tags$1['special'](tags$1['content'])},{'name':'SuperscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':_0x5a2eb1(0x5e,'Superscript','SuperscriptMark')}]},Subscript={'defineNodes':[{'name':'Subscript','style':tags$1['special'](tags$1['content'])},{'name':'SubscriptMark','style':tags$1['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x5a2eb1(0x7e,'Subscript','SubscriptMark')}]},_0x225b15={'defineNodes':[{'name':'Emoji','style':tags$1['character']}],'parseInline':[{'name':'Emoji','parse'(_0x228329,_0x310aed,_0x530641){let _0x10ab07;return 0x3a==_0x310aed&&(_0x10ab07=/^[a-zA-Z_0-9]+:/['exec'](_0x228329['slice'](_0x530641+0x1,_0x228329['end'])))?_0x228329['addElement'](_0x228329['elt']('Emoji',_0x530641,_0x530641+0x1+_0x10ab07[0x0]['length'])):-0x1;}}]},data=defineLanguageFacet({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x309c1f=new _0x323035(),_0x350664=_0x5ab756['configure']({'props':[_0x474e8e['add'](_0x4533e9=>!_0x4533e9['is']('Block')||_0x4533e9['is']('Document')||null!=_0x2114f4(_0x4533e9)||isList(_0x4533e9)?void 0x0:(_0x109dd9,_0x43da8a)=>({'from':_0x43da8a['doc']['lineAt'](_0x109dd9['from'])['to'],'to':_0x109dd9['to']})),_0x309c1f['add'](_0x2114f4),indentNodeProp['add']({'Document':()=>null}),languageDataProp['add']({'Document':data})]});function _0x2114f4(_0x2b1496){let _0x536f7a=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x2b1496['name']);return _0x536f7a?+_0x536f7a[0x1]:void 0x0;}function isList(_0x384da7){return'OrderedList'==_0x384da7['name']||'BulletList'==_0x384da7['name'];}function findSectionEnd(_0x6ff368,_0x1dd49f){let _0x524a67=_0x6ff368;for(;;){let _0x1582bd,_0x3ad5a7=_0x524a67['nextSibling'];if(!_0x3ad5a7||null!=(_0x1582bd=_0x2114f4(_0x3ad5a7['type']))&&_0x1582bd<=_0x1dd49f)break;_0x524a67=_0x3ad5a7;}return _0x524a67['to'];}const headerIndent=_0x50d4d5['of']((_0x44745c,_0x433e6f,_0x33a1fc)=>{for(let _0x17b2f3=syntaxTree(_0x44745c)['resolveInner'](_0x33a1fc,-0x1);_0x17b2f3&&!(_0x17b2f3['from']<_0x433e6f);_0x17b2f3=_0x17b2f3['parent']){let _0x5e41c4=_0x17b2f3['type']['prop'](_0x309c1f);if(null==_0x5e41c4)continue;let _0x195ce5=findSectionEnd(_0x17b2f3,_0x5e41c4);if(_0x195ce5>_0x33a1fc)return{'from':_0x33a1fc,'to':_0x195ce5};}return null;});function _0x4dc72d(_0x4e31e9){return new _0x3f1f3e(data,_0x4e31e9,[headerIndent],'markdown');}const _0x4fd5c3=_0x4dc72d(_0x350664),extended=_0x350664['configure']([_0x28e700,Subscript,Superscript,_0x225b15,{'props':[_0x474e8e['add']({'Table':(_0x5ec347,_0x375bde)=>({'from':_0x375bde['doc']['lineAt'](_0x5ec347['from'])['to'],'to':_0x5ec347['to']})})]}]),_0x381c2f=_0x4dc72d(extended);function getCodeParser(_0x361691,_0x11eabf){return _0x23377d=>{if(_0x23377d&&_0x361691){let _0x3f1c3f=null;if(_0x23377d=/\S*/['exec'](_0x23377d)[0x0],_0x3f1c3f='function'==typeof _0x361691?_0x361691(_0x23377d):LanguageDescription['matchLanguageName'](_0x361691,_0x23377d,!0x0),_0x3f1c3f instanceof LanguageDescription)return _0x3f1c3f['support']?_0x3f1c3f['support']['language']['parser']:ParseContext['getSkippingParser'](_0x3f1c3f['load']());if(_0x3f1c3f)return _0x3f1c3f['parser'];}return _0x11eabf?_0x11eabf['parser']:null;};}class Context{constructor(_0x1822e8,_0x3914e2,_0x5d16be,_0x28ef56,_0x484c8c,_0x3389f1,_0x31d6ea){this['node']=_0x1822e8,this['from']=_0x3914e2,this['to']=_0x5d16be,this['spaceBefore']=_0x28ef56,this['spaceAfter']=_0x484c8c,this['type']=_0x3389f1,this['item']=_0x31d6ea;}['blank'](_0x38672a,_0xb16faa=!0x0){let _0xcc9135=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x38672a){for(;_0xcc9135['length']<_0x38672a;)_0xcc9135+='\x20';return _0xcc9135;}for(let _0xbc43c3=this['to']-this['from']-_0xcc9135['length']-this['spaceAfter']['length'];_0xbc43c3>0x0;_0xbc43c3--)_0xcc9135+='\x20';return _0xcc9135+(_0xb16faa?this['spaceAfter']:'');}['marker'](_0xfca270,_0x4fecaa){let _0x252d80='OrderedList'==this['node']['name']?String(+itemNumber(this['item'],_0xfca270)[0x2]+_0x4fecaa):'';return this['spaceBefore']+_0x252d80+this['type']+this['spaceAfter'];}}function getContext(_0x1e63a3,_0x3253bd){let _0x5d1e5d=[],_0x1bf77e=[];for(let _0x34dcb9=_0x1e63a3;_0x34dcb9;_0x34dcb9=_0x34dcb9['parent']){if('FencedCode'==_0x34dcb9['name'])return _0x1bf77e;'ListItem'!=_0x34dcb9['name']&&'Blockquote'!=_0x34dcb9['name']||_0x5d1e5d['push'](_0x34dcb9);}for(let _0x5079e9=_0x5d1e5d['length']-0x1;_0x5079e9>=0x0;_0x5079e9--){let _0x4082ac,_0x544607=_0x5d1e5d[_0x5079e9],_0x505026=_0x3253bd['lineAt'](_0x544607['from']),_0x2759f1=_0x544607['from']-_0x505026['from'];if('Blockquote'==_0x544607['name']&&(_0x4082ac=/^ *>( ?)/['exec'](_0x505026['text']['slice'](_0x2759f1))))_0x1bf77e['push'](new Context(_0x544607,_0x2759f1,_0x2759f1+_0x4082ac[0x0]['length'],'',_0x4082ac[0x1],'>',null));else{if('ListItem'==_0x544607['name']&&'OrderedList'==_0x544607['parent']['name']&&(_0x4082ac=/^( *)\d+([.)])( *)/['exec'](_0x505026['text']['slice'](_0x2759f1)))){let _0x2351de=_0x4082ac[0x3],_0x1a6107=_0x4082ac[0x0]['length'];_0x2351de['length']>=0x4&&(_0x2351de=_0x2351de['slice'](0x0,_0x2351de['length']-0x4),_0x1a6107-=0x4),_0x1bf77e['push'](new Context(_0x544607['parent'],_0x2759f1,_0x2759f1+_0x1a6107,_0x4082ac[0x1],_0x2351de,_0x4082ac[0x2],_0x544607));}else{if('ListItem'==_0x544607['name']&&'BulletList'==_0x544607['parent']['name']&&(_0x4082ac=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x505026['text']['slice'](_0x2759f1)))){let _0x41a4e6=_0x4082ac[0x4],_0x195291=_0x4082ac[0x0]['length'];_0x41a4e6['length']>0x4&&(_0x41a4e6=_0x41a4e6['slice'](0x0,_0x41a4e6['length']-0x4),_0x195291-=0x4);let _0xf19b5b=_0x4082ac[0x2];_0x4082ac[0x3]&&(_0xf19b5b+=_0x4082ac[0x3]['replace'](/[xX]/,'\x20')),_0x1bf77e['push'](new Context(_0x544607['parent'],_0x2759f1,_0x2759f1+_0x195291,_0x4082ac[0x1],_0x41a4e6,_0xf19b5b,_0x544607));}}}}return _0x1bf77e;}function itemNumber(_0x53477f,_0x2e649a){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x2e649a['sliceString'](_0x53477f['from'],_0x53477f['from']+0xa));}function renumberList(_0x4cc2f3,_0xa9033f,_0x3362ff,_0x9e070=0x0){for(let _0x273c4c=-0x1,_0x2ecd23=_0x4cc2f3;;){if('ListItem'==_0x2ecd23['name']){let _0x5d1c63=itemNumber(_0x2ecd23,_0xa9033f),_0x35ad5f=+_0x5d1c63[0x2];if(_0x273c4c>=0x0){if(_0x35ad5f!=_0x273c4c+0x1)return;_0x3362ff['push']({'from':_0x2ecd23['from']+_0x5d1c63[0x1]['length'],'to':_0x2ecd23['from']+_0x5d1c63[0x0]['length'],'insert':String(_0x273c4c+0x2+_0x9e070)});}_0x273c4c=_0x35ad5f;}let _0x2065e9=_0x2ecd23['nextSibling'];if(!_0x2065e9)break;_0x2ecd23=_0x2065e9;}}function normalizeIndent(_0x31632a,_0xcb5015){let _0xe4b258=/^[ \t]*/['exec'](_0x31632a)[0x0]['length'];if(!_0xe4b258||'\x09'!=_0xcb5015['facet'](indentUnit))return _0x31632a;let _0x295ca6='';for(let _0x554d52=countColumn(_0x31632a,0x4,_0xe4b258);_0x554d52>0x0;)_0x554d52>=0x4?(_0x295ca6+='\x09',_0x554d52-=0x4):(_0x295ca6+='\x20',_0x554d52--);return _0x295ca6+_0x31632a['slice'](_0xe4b258);}const insertNewlineContinueMarkup=({state:_0x2e226f,dispatch:_0x574996})=>{let _0x1806eb=syntaxTree(_0x2e226f),{doc:_0x7644d3}=_0x2e226f,_0x155678=null,_0x3f788d=_0x2e226f['changeByRange'](_0xa69656=>{if(!_0xa69656['empty']||!_0x381c2f['isActiveAt'](_0x2e226f,_0xa69656['from'],0x0))return _0x155678={'range':_0xa69656};let _0x236e1f=_0xa69656['from'],_0xaf2507=_0x7644d3['lineAt'](_0x236e1f),_0x548a2f=getContext(_0x1806eb['resolveInner'](_0x236e1f,-0x1),_0x7644d3);for(;_0x548a2f['length']&&_0x548a2f[_0x548a2f['length']-0x1]['from']>_0x236e1f-_0xaf2507['from'];)_0x548a2f['pop']();if(!_0x548a2f['length'])return _0x155678={'range':_0xa69656};let _0x4799e2=_0x548a2f[_0x548a2f['length']-0x1];if(_0x4799e2['to']-_0x4799e2['spaceAfter']['length']>_0x236e1f-_0xaf2507['from'])return _0x155678={'range':_0xa69656};let _0x34ad5f=_0x236e1f>=_0x4799e2['to']-_0x4799e2['spaceAfter']['length']&&!/\S/['test'](_0xaf2507['text']['slice'](_0x4799e2['to']));if(_0x4799e2['item']&&_0x34ad5f){let _0x1c1332=_0x4799e2['node']['firstChild'],_0x45ccf7=_0x4799e2['node']['getChild']('ListItem','ListItem');if(_0x1c1332['to']>=_0x236e1f||_0x45ccf7&&_0x45ccf7['to']<_0x236e1f||_0xaf2507['from']>0x0&&!/[^\s>]/['test'](_0x7644d3['lineAt'](_0xaf2507['from']-0x1)['text'])){let _0x3ee679,_0x155710=_0x548a2f['length']>0x1?_0x548a2f[_0x548a2f['length']-0x2]:null,_0xe7e31d='';_0x155710&&_0x155710['item']?(_0x3ee679=_0xaf2507['from']+_0x155710['from'],_0xe7e31d=_0x155710['marker'](_0x7644d3,0x1)):_0x3ee679=_0xaf2507['from']+(_0x155710?_0x155710['to']:0x0);let _0x4899ed=[{'from':_0x3ee679,'to':_0x236e1f,'insert':_0xe7e31d}];return'OrderedList'==_0x4799e2['node']['name']&&renumberList(_0x4799e2['item'],_0x7644d3,_0x4899ed,-0x2),_0x155710&&'OrderedList'==_0x155710['node']['name']&&renumberList(_0x155710['item'],_0x7644d3,_0x4899ed),{'range':EditorSelection['cursor'](_0x3ee679+_0xe7e31d['length']),'changes':_0x4899ed};}{let _0x2d626a=_0x525640(_0x548a2f,_0x2e226f,_0xaf2507);return{'range':EditorSelection['cursor'](_0x236e1f+_0x2d626a['length']+0x1),'changes':{'from':_0xaf2507['from'],'insert':_0x2d626a+_0x2e226f['lineBreak']}};}}if('Blockquote'==_0x4799e2['node']['name']&&_0x34ad5f&&_0xaf2507['from']){let _0x35d053=_0x7644d3['lineAt'](_0xaf2507['from']-0x1),_0x4b6f64=/>\s*$/['exec'](_0x35d053['text']);if(_0x4b6f64&&_0x4b6f64['index']==_0x4799e2['from']){let _0x44e6af=_0x2e226f['changes']([{'from':_0x35d053['from']+_0x4b6f64['index'],'to':_0x35d053['to']},{'from':_0xaf2507['from']+_0x4799e2['from'],'to':_0xaf2507['to']}]);return{'range':_0xa69656['map'](_0x44e6af),'changes':_0x44e6af};}}let _0x23ffb7=[];'OrderedList'==_0x4799e2['node']['name']&&renumberList(_0x4799e2['item'],_0x7644d3,_0x23ffb7);let _0x1adca6=_0x4799e2['item']&&_0x4799e2['item']['from']<_0xaf2507['from'],_0x4d8e59='';if(!_0x1adca6||/^[\s\d.)\-+*>]*/['exec'](_0xaf2507['text'])[0x0]['length']>=_0x4799e2['to']){for(let _0x755a86=0x0,_0xd3af54=_0x548a2f['length']-0x1;_0x755a86<=_0xd3af54;_0x755a86++)_0x4d8e59+=_0x755a86!=_0xd3af54||_0x1adca6?_0x548a2f[_0x755a86]['blank'](_0x755a86<_0xd3af54?countColumn(_0xaf2507['text'],0x4,_0x548a2f[_0x755a86+0x1]['from'])-_0x4d8e59['length']:null):_0x548a2f[_0x755a86]['marker'](_0x7644d3,0x1);}let _0x5b8897=_0x236e1f;for(;_0x5b8897>_0xaf2507['from']&&/\s/['test'](_0xaf2507['text']['charAt'](_0x5b8897-_0xaf2507['from']-0x1));)_0x5b8897--;return _0x4d8e59=normalizeIndent(_0x4d8e59,_0x2e226f),nonTightList(_0x4799e2['node'],_0x2e226f['doc'])&&(_0x4d8e59=_0x525640(_0x548a2f,_0x2e226f,_0xaf2507)+_0x2e226f['lineBreak']+_0x4d8e59),_0x23ffb7['push']({'from':_0x5b8897,'to':_0x236e1f,'insert':_0x2e226f['lineBreak']+_0x4d8e59}),{'range':EditorSelection['cursor'](_0x5b8897+_0x4d8e59['length']+0x1),'changes':_0x23ffb7};});return!_0x155678&&(_0x574996(_0x2e226f['update'](_0x3f788d,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);};function _0x3708fd(_0x68bbe6){return'QuoteMark'==_0x68bbe6['name']||'ListMark'==_0x68bbe6['name'];}function nonTightList(_0x5ed4b,_0x4c324d){if('OrderedList'!=_0x5ed4b['name']&&'BulletList'!=_0x5ed4b['name'])return!0x1;let _0x13505b=_0x5ed4b['firstChild'],_0x256608=_0x5ed4b['getChild']('ListItem','ListItem');if(!_0x256608)return!0x1;let _0x150cc2=_0x4c324d['lineAt'](_0x13505b['to']),_0x3077be=_0x4c324d['lineAt'](_0x256608['from']),_0x3760e6=/^[\s>]*$/['test'](_0x150cc2['text']);return _0x150cc2['number']+(_0x3760e6?0x0:0x1)<_0x3077be['number'];}function _0x525640(_0x338c66,_0x53be4d,_0x4a9282){let _0x1024b8='';for(let _0x185b09=0x0,_0x4a444d=_0x338c66['length']-0x2;_0x185b09<=_0x4a444d;_0x185b09++)_0x1024b8+=_0x338c66[_0x185b09]['blank'](_0x185b09<_0x4a444d?countColumn(_0x4a9282['text'],0x4,Math['min'](_0x4a9282['text']['length'],_0x338c66[_0x185b09+0x1]['from']))-_0x1024b8['length']:null,_0x185b09<_0x4a444d);return normalizeIndent(_0x1024b8,_0x53be4d);}function contextNodeForDelete(_0x2dd94d,_0x39f402){let _0x341676=_0x2dd94d['resolveInner'](_0x39f402,-0x1),_0x122202=_0x39f402;_0x3708fd(_0x341676)&&(_0x122202=_0x341676['from'],_0x341676=_0x341676['parent']);for(let _0x983124;_0x983124=_0x341676['childBefore'](_0x122202);)if(_0x3708fd(_0x983124))_0x122202=_0x983124['from'];else{if('OrderedList'!=_0x983124['name']&&'BulletList'!=_0x983124['name'])break;_0x341676=_0x983124['lastChild'],_0x122202=_0x341676['to'];}return _0x341676;}const deleteMarkupBackward=({state:_0x5a9f8f,dispatch:_0xe369b2})=>{let _0xa0b411=syntaxTree(_0x5a9f8f),_0x1dfc52=null,_0x557046=_0x5a9f8f['changeByRange'](_0x44f65c=>{let _0x1f86d6=_0x44f65c['from'],{doc:_0x4d776c}=_0x5a9f8f;if(_0x44f65c['empty']&&_0x381c2f['isActiveAt'](_0x5a9f8f,_0x44f65c['from'])){let _0x41fa68=_0x4d776c['lineAt'](_0x1f86d6),_0x37a50e=getContext(contextNodeForDelete(_0xa0b411,_0x1f86d6),_0x4d776c);if(_0x37a50e['length']){let _0x1fe38b=_0x37a50e[_0x37a50e['length']-0x1],_0x543bec=_0x1fe38b['to']-_0x1fe38b['spaceAfter']['length']+(_0x1fe38b['spaceAfter']?0x1:0x0);if(_0x1f86d6-_0x41fa68['from']>_0x543bec&&!/\S/['test'](_0x41fa68['text']['slice'](_0x543bec,_0x1f86d6-_0x41fa68['from'])))return{'range':EditorSelection['cursor'](_0x41fa68['from']+_0x543bec),'changes':{'from':_0x41fa68['from']+_0x543bec,'to':_0x1f86d6}};if(_0x1f86d6-_0x41fa68['from']==_0x543bec&&(!_0x1fe38b['item']||_0x41fa68['from']<=_0x1fe38b['item']['from']||!/\S/['test'](_0x41fa68['text']['slice'](0x0,_0x1fe38b['to'])))){let _0x3df189=_0x41fa68['from']+_0x1fe38b['from'];if(_0x1fe38b['item']&&_0x1fe38b['node']['from']<_0x1fe38b['item']['from']&&/\S/['test'](_0x41fa68['text']['slice'](_0x1fe38b['from'],_0x1fe38b['to']))){let _0x55f8d6=_0x1fe38b['blank'](countColumn(_0x41fa68['text'],0x4,_0x1fe38b['to'])-countColumn(_0x41fa68['text'],0x4,_0x1fe38b['from']));return _0x3df189==_0x41fa68['from']&&(_0x55f8d6=normalizeIndent(_0x55f8d6,_0x5a9f8f)),{'range':EditorSelection['cursor'](_0x3df189+_0x55f8d6['length']),'changes':{'from':_0x3df189,'to':_0x41fa68['from']+_0x1fe38b['to'],'insert':_0x55f8d6}};}if(_0x3df189<_0x1f86d6)return{'range':EditorSelection['cursor'](_0x3df189),'changes':{'from':_0x3df189,'to':_0x1f86d6}};}}}return _0x1dfc52={'range':_0x44f65c};});return!_0x1dfc52&&(_0xe369b2(_0x5a9f8f['update'](_0x557046,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);},_0x2a1e6b=[{'key':'Enter','run':insertNewlineContinueMarkup},{'key':'Backspace','run':deleteMarkupBackward}],htmlNoMatch=html({'matchClosingTags':!0x1});function _0x2ab07a(_0x4eb52c={}){let {codeLanguages:_0x58f0e9,defaultCodeLanguage:_0x10ddfe,addKeymap:_0x29cf9e=!0x0,base:{parser:_0x46d321}=_0x4fd5c3,completeHTMLTags:_0x20c75b=!0x0,htmlTagLanguage:_0x1d806e=htmlNoMatch}=_0x4eb52c;if(!(_0x46d321 instanceof _0x10d429))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x557702,_0x5b7ae2=_0x4eb52c['extensions']?[_0x4eb52c['extensions']]:[],_0x55f2c8=[_0x1d806e['support']];_0x10ddfe instanceof LanguageSupport?(_0x55f2c8['push'](_0x10ddfe['support']),_0x557702=_0x10ddfe['language']):_0x10ddfe&&(_0x557702=_0x10ddfe);let _0x13faed=_0x58f0e9||_0x557702?getCodeParser(_0x58f0e9,_0x557702):void 0x0;_0x5b7ae2['push'](_0x592f49({'codeParser':_0x13faed,'htmlParser':_0x1d806e['language']['parser']})),_0x29cf9e&&_0x55f2c8['push'](_0x346fa8['high'](_0x1e0442['of'](_0x2a1e6b)));let _0x13a3a9=_0x4dc72d(_0x46d321['configure'](_0x5b7ae2));return _0x20c75b&&_0x55f2c8['push'](_0x13a3a9['data']['of']({'autocomplete':htmlTagCompletion})),new LanguageSupport(_0x13a3a9,_0x55f2c8);}function htmlTagCompletion(_0x123a5d){let {state:_0x3b4619,pos:_0x272d47}=_0x123a5d,_0x1966f2=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x3b4619['sliceDoc'](_0x272d47-0x19,_0x272d47));if(!_0x1966f2)return null;let _0x1a5ab3=syntaxTree(_0x3b4619)['resolveInner'](_0x272d47,-0x1);for(;_0x1a5ab3&&!_0x1a5ab3['type']['isTop'];){if('CodeBlock'==_0x1a5ab3['name']||'FencedCode'==_0x1a5ab3['name']||'ProcessingInstructionBlock'==_0x1a5ab3['name']||'CommentBlock'==_0x1a5ab3['name']||'Link'==_0x1a5ab3['name']||'Image'==_0x1a5ab3['name'])return null;_0x1a5ab3=_0x1a5ab3['parent'];}return{'from':_0x272d47-_0x1966f2[0x0]['length'],'to':_0x272d47,'options':htmlTagCompletions(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _tagCompletions=null;function htmlTagCompletions(){if(_tagCompletions)return _tagCompletions;let _0x140720=htmlCompletionSource(new CompletionContext(EditorState['create']({'extensions':htmlNoMatch}),0x0,!0x0));return _tagCompletions=_0x140720?_0x140720['options']:[];}const _0x4f49a0='#e5c07b',_0x4aa73b='#e06c75',_0x1010d9='#56b6c2',_0x29b816='#ffffff',_0x27a2a2='#abb2bf',stone='#7d8799',_0x3ed51b='#61afef',_0x495512='#98c379',_0x11ae64='#d19a66',violet='#c678dd',_0x9dd34='#21252b',highlightBackground='#2c313a',_0x4df984='#282c34',tooltipBackground='#353a42',selection='#3E4451',_0x561fa4='#528bff',_0x287275=EditorView['theme']({'&':{'color':_0x27a2a2,'backgroundColor':_0x4df984},'.cm-content':{'caretColor':_0x561fa4},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x561fa4},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground,\x20.cm-selectionBackground,\x20.cm-content\x20::selection':{'backgroundColor':selection},'.cm-panels':{'backgroundColor':_0x9dd34,'color':_0x27a2a2},'.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':_0x4df984,'color':stone,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':highlightBackground},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':tooltipBackground},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':tooltipBackground,'borderBottomColor':tooltipBackground},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':highlightBackground,'color':_0x27a2a2}}},{'dark':!0x0}),oneDarkHighlightStyle=HighlightStyle['define']([{'tag':tags$1['keyword'],'color':violet},{'tag':[tags$1['name'],tags$1['deleted'],tags$1['character'],tags$1['propertyName'],tags$1['macroName']],'color':_0x4aa73b},{'tag':[tags$1['function'](tags$1['variableName']),tags$1['labelName']],'color':_0x3ed51b},{'tag':[tags$1['color'],tags$1['constant'](tags$1['name']),tags$1['standard'](tags$1['name'])],'color':_0x11ae64},{'tag':[tags$1['definition'](tags$1['name']),tags$1['separator']],'color':_0x27a2a2},{'tag':[tags$1['typeName'],tags$1['className'],tags$1['number'],tags$1['changed'],tags$1['annotation'],tags$1['modifier'],tags$1['self'],tags$1['namespace']],'color':_0x4f49a0},{'tag':[tags$1['operator'],tags$1['operatorKeyword'],tags$1['url'],tags$1['escape'],tags$1['regexp'],tags$1['link'],tags$1['special'](tags$1['string'])],'color':_0x1010d9},{'tag':[tags$1['meta'],tags$1['comment']],'color':stone},{'tag':tags$1['strong'],'fontWeight':'bold'},{'tag':tags$1['emphasis'],'fontStyle':'italic'},{'tag':tags$1['strikethrough'],'textDecoration':'line-through'},{'tag':tags$1['link'],'color':stone,'textDecoration':'underline'},{'tag':tags$1['heading'],'fontWeight':'bold','color':_0x4aa73b},{'tag':[tags$1['atom'],tags$1['bool'],tags$1['special'](tags$1['variableName'])],'color':_0x11ae64},{'tag':[tags$1['processingInstruction'],tags$1['string'],tags$1['inserted']],'color':_0x495512},{'tag':tags$1['invalid'],'color':_0x29b816}]),_0xff0053=[_0x287275,syntaxHighlighting(oneDarkHighlightStyle)];function createCodeMirrorEditor(_0x1d7af9){const _0x40a4ad=getDefaultExtensions(),_0x23543b=new Compartment();_0x40a4ad['push'](_0x23543b['of'](EditorView['editable']['of'](!0x0))),'html'===_0x1d7af9['syntaxLanguage']?_0x40a4ad['push'](html()):_0x40a4ad['push'](_0x2ab07a());const _0x4335a8=_0x4b4f94(_0x1d7af9['theme']);_0x4335a8&&_0x40a4ad['push'](_0x4335a8),_0x40a4ad['push'](...getKeybindings());const _0xa997f5=new EditorView({'extensions':_0x40a4ad,'parent':_0x1d7af9['parent']});return toggleTabFocusMode(_0xa997f5),{'focus':()=>{_0xa997f5['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xa997f5['focus']();},'getData':()=>_0xa997f5['state']['doc']['toString'](),'setData':_0x22520a=>{_0xa997f5['dispatch']({'changes':{'from':0x0,'to':_0xa997f5['state']['doc']['length'],'insert':_0x22520a},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x4cf51a=>{_0xa997f5['dispatch']({'effects':[_0x23543b['reconfigure'](EditorView['editable']['of'](!_0x4cf51a))]});},'destroy':()=>{_0xa997f5['destroy']();},'instance':_0xa997f5};}function _0x4b4f94(_0x3158c8){return _0x3158c8&&'default'!==_0x3158c8?'dark'===_0x3158c8?_0xff0053:_0x3158c8:null;}function getKeybindings(){return[_0x1e0442['of']([...closeBracketsKeymap,...defaultKeymap,...historyKeymap,..._0x492e2c,...completionKeymap,{'key':'Tab','run':indentMore,'shift':indentLess,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x44186f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x44186f,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x2c2b00,'preventDefault':!0x0,'stopPropagation':!0x0}])];}function getDefaultExtensions(){return[EditorView['lineWrapping'],autocompletion(),bracketMatching(),closeBrackets(),_0x3e4769(),drawSelection(),_0x24ee53(),_0x2b520e(),foldGutter(),highlightActiveLine(),highlightActiveLineGutter(),highlightSpecialChars(),history(),indentOnInput(),rectangularSelection(),syntaxHighlighting(defaultHighlightStyle,{'fallback':!0x0})];}class CodeEditorView extends ckeditor5['View']{['_codeEditorApi']=null;['_options'];constructor(_0x28247a,_0x41fb41){super(_0x28247a),this['_options']=_0x41fb41,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']=createCodeMirrorEditor({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0xe890c2,_0xaf2355,_0x3ac7d4)=>{this['setReadOnly'](_0x3ac7d4);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x494950){this['_codeEditorApi']['setData'](_0x494950);}['setReadOnly'](_0x26086a){this['_codeEditorApi']['setReadOnly'](_0x26086a);}}const _0x3356a2='SourceEditingEnhancedMode';class EditSourceCommand extends ckeditor5['Command']{constructor(_0x16fd47){super(_0x16fd47),this['affectsData']=!0x1,this['editor']['plugins']['get'](ckeditor5['PendingActions'])['on']('change:hasAny',(_0x2187d1,_0x2d19b4,_0x6f51a9)=>{_0x6f51a9?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x3bf827=this['editor'];for(const _0x508557 of _0x3bf827['commands']['names']())['replaceSource','editSource']['includes'](_0x508557)||_0x3bf827['commands']['get'](_0x508557)['forceDisabled'](_0x3356a2);}['_enableCommands'](){const _0x224f02=this['editor'];for(const _0x594d3e of _0x224f02['commands']['commands']())_0x594d3e['clearForceDisabled'](_0x3356a2);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1ba85e=this['editor'],_0x1421c3=_0x1ba85e['locale'],_0x12d268=_0x1ba85e['plugins']['get']('Dialog'),_0x390031=getActiveRootName(_0x1ba85e),_0x3538aa=formatSource(_0x1ba85e['data']['get']({'rootName':_0x390031})),_0x5f23e6=new CodeEditorView(_0x1421c3,{'syntaxLanguage':_0x1ba85e['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1ba85e['config']['get']('sourceEditingEnhanced.theme')});let _0x14b9bb=!0x0;const _0x1ce7ef=_0x2ac805=>{if(!_0x14b9bb)return;return unformatSource(_0x5f23e6['getData']())!==unformatSource(_0x3538aa)?window['confirm'](getTranslation$3(_0x1421c3,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x2ac805['stop']():void 0x0;};_0x12d268['show']({'id':'sourceEditingEnhanced','title':getTranslation$3(_0x1421c3,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x5f23e6,'actionButtons':[{'label':getTranslation$3(_0x1421c3,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x12d268['hide']();}},{'label':getTranslation$3(_0x1421c3,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x366e5f=unformatSource(_0x5f23e6['getData']())!==unformatSource(_0x3538aa);(_0x366e5f&&_0x1ba85e['execute']('replaceSource',_0x5f23e6['getData']()),_0x14b9bb=!0x1,_0x12d268['hide'](),_0x366e5f&&'editables'in _0x1ba85e['ui']['view'])&&_0x1ba85e['ui']['view']['editables'][_0x390031]['element']['focus']();},'onCreate':_0x2b3f6f=>{_0x2b3f6f['set']('isEnabled',!_0x1ba85e['isReadOnly']),_0x2b3f6f['bind']('isEnabled')['to'](_0x1ba85e,'isReadOnly',this,'isEnabled',(_0x4fb4a8,_0x362bde)=>!_0x4fb4a8&&_0x362bde);}}],'onHide':()=>{this['_enableCommands'](),_0x12d268['off']('hide',_0x1ce7ef),_0x5f23e6['destroy']();},'onShow':()=>{_0x5f23e6['bind']('isReadOnly')['to'](_0x1ba85e,'isReadOnly',this,'isEnabled',(_0xff72ed,_0x5907e5)=>_0xff72ed||!_0x5907e5),_0x5f23e6['setData'](_0x3538aa),_0x5f23e6['focus'](),_0x12d268['on']('hide',_0x1ce7ef,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends ckeditor5['Plugin']{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[ckeditor5['PendingActions']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a5c16=this['editor'],_0x33b2c7=_0x2a5c16['locale'],_0x502e07=new EditSourceCommand(_0x2a5c16);_0x2a5c16['commands']['add']('editSource',_0x502e07),_0x2a5c16['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x2c5e04=this['_createButton'](ckeditor5['ButtonView'],_0x502e07);return _0x2c5e04['set']({'label':getTranslation$3(_0x33b2c7,'Source'),'icon':ckeditor5['IconSource'],'tooltip':getTranslation$3(_0x33b2c7,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x2c5e04;}),_0x2a5c16['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0xbb80=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x502e07,!0x0);return _0xbb80['set']({'label':getTranslation$3(_0x33b2c7,'Edit\x20source\x20modal\x20label'),'icon':ckeditor5['IconSource'],'role':'menuitemcheckbox'}),_0xbb80;}),this['_registerKeybindings']();}['afterInit'](){_0x34278d(this);}['_createButton'](_0x14517d,_0x154912,_0x5262da=!0x1){const _0x578bce=new _0x14517d(this['editor']['locale']);return _0x578bce['set']({'withText':_0x5262da,'isToggleable':!0x1}),_0x578bce['bind']('isEnabled')['to'](_0x154912,'isEnabled'),this['listenTo'](_0x578bce,'execute',()=>_0x154912['execute']()),_0x578bce;}['_registerKeybindings'](){const _0x213edd=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':getTranslation$3(_0x213edd,'Source\x20Editing\x20Enhanced')});const _0x1c432b=ckeditor5['env']['isMac']||ckeditor5['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':getTranslation$3(_0x213edd,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':getTranslation$3(_0x213edd,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':getTranslation$3(_0x213edd,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':getTranslation$3(_0x213edd,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':getTranslation$3(_0x213edd,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':getTranslation$3(_0x213edd,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':getTranslation$3(_0x213edd,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x1c432b?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':getTranslation$3(_0x213edd,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':getTranslation$3(_0x213edd,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':getTranslation$3(_0x213edd,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':getTranslation$3(_0x213edd,'Select\x20line'),'keystroke':_0x1c432b?'Ctrl!+L':'Alt+L'},{'label':getTranslation$3(_0x213edd,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x1c432b?'Alt+Shift+M':'Ctrl+M'},{'label':getTranslation$3(_0x213edd,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':getTranslation$3(_0x213edd,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':getTranslation$3(_0x213edd,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':getTranslation$3(_0x213edd,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':getTranslation$3(_0x213edd,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x1c432b?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}async function _0x34278d(_0x4875d1){const _0x5b7ee3=_0x2dfc89([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x4142eb=window[_0x2dfc89([0x44,0x61,0x74,0x65])][_0x2dfc89([0x6e,0x6f,0x77])](),_0x14dadb=_0x4875d1[_0x2dfc89([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x426cea=new window[(_0x2dfc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xac413e=>{_0x14dadb[_0x2dfc89([0x6f,0x6e,0x63,0x65])](_0x2dfc89([0x72,0x65,0x61,0x64,0x79]),_0xac413e);}),_0x4e4182={[_0x2dfc89([0x6b,0x74,0x79])]:_0x2dfc89([0x45,0x43]),[_0x2dfc89([0x75,0x73,0x65])]:_0x2dfc89([0x73,0x69,0x67]),[_0x2dfc89([0x63,0x72,0x76])]:_0x2dfc89([0x50,0x2d,0x32,0x35,0x36]),[_0x2dfc89([0x78])]:_0x2dfc89([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2dfc89([0x79])]:_0x2dfc89([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2dfc89([0x61,0x6c,0x67])]:_0x2dfc89([0x45,0x53,0x32,0x35,0x36])},_0xe83090=_0x14dadb[_0x2dfc89([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dfc89([0x67,0x65,0x74])](_0x2dfc89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4c73f0=await(async function(){let _0x86d57e,_0xc62231=null,_0x146473=null;try{if(_0xe83090==_0x2dfc89([0x47,0x50,0x4c]))return _0x2dfc89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x86d57e=(function(){const _0x125a9f=_0xe83090[_0x2dfc89([0x73,0x70,0x6c,0x69,0x74])](_0x2dfc89([0x2e]));if(0x3!=_0x125a9f[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x58d84b=_0x125a9f[0x1];return _0x38bda4(_0x58d84b);function _0x38bda4(_0x25d321){const _0x3cb268=_0x11c860(_0x25d321);return _0x3cb268&&_0x48295e()?_0x3cb268:null;function _0x48295e(){const _0x3af30=_0x3cb268[_0x2dfc89([0x6a,0x74,0x69])],_0x2f61a8=window[_0x2dfc89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3af30[_0x2dfc89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3af30[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x414e78={..._0x3cb268,[_0x2dfc89([0x6a,0x74,0x69])]:_0x3af30[_0x2dfc89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3af30[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x414e78[_0x2dfc89([0x76,0x63])],_0xebddc8(_0x414e78)==_0x2f61a8;}}}()),!_0x86d57e)return _0x2dfc89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x86d57e[_0x2dfc89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x146473=function(_0x50f137,_0x61fb62){return new window[(_0x2dfc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19bb6e=>{if(_0x53ab90())return _0x19bb6e(_0x2dfc89([0x56,0x61,0x6c,0x69,0x64]));_0x4f745c(),_0x14dadb[_0x2dfc89([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dfc89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x298484=!0x1;const _0x4e2fa6=ckeditor5['uid']();function _0x5419a5(_0x234b07){return!!_0x234b07&&(typeof _0x234b07===_0x2dfc89([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x234b07===_0x2dfc89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x234b07[_0x2dfc89([0x74,0x68,0x65,0x6e])]===_0x2dfc89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x234b07[_0x2dfc89([0x63,0x61,0x74,0x63,0x68])]===_0x2dfc89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa44f0e(_0x384a6c){_0x53d124(_0x384a6c)[_0x2dfc89([0x74,0x68,0x65,0x6e])](_0x42a389=>{if(!_0x42a389||_0x42a389[_0x2dfc89([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dfc89([0x6f,0x6b]))return _0x2dfc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x371d57(_0xebddc8(_0x4e2fa6+_0x61fb62))!=_0x42a389[_0x2dfc89([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dfc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dfc89([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dfc89([0x74,0x68,0x65,0x6e])](_0x51b6d2=>(_0x3a0f59(),_0x51b6d2),()=>{const _0x290ff2=_0x39c4eb();return null==_0x290ff2?(_0x3a0f59(),_0x2dfc89([0x56,0x61,0x6c,0x69,0x64])):_0x2dfc89(_0x4142eb-_0x290ff2>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dfc89([0x74,0x68,0x65,0x6e])](_0x19bb6e)[_0x2dfc89([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19bb6e(_0x2dfc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d0d95=0x36ee80;function _0x3a0f59(){const _0x350631=_0x2dfc89([0x6c,0x6c,0x63,0x74,0x2d])+_0x371d57(_0xebddc8(_0x50f137)),_0x201eac=_0x30599f(_0x371d57(window[_0x2dfc89([0x4d,0x61,0x74,0x68])][_0x2dfc89([0x63,0x65,0x69,0x6c])](_0x4142eb/_0x3d0d95)));window[_0x2dfc89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dfc89([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x350631,_0x201eac);}function _0x39c4eb(){const _0x3dba72=_0x2dfc89([0x6c,0x6c,0x63,0x74,0x2d])+_0x371d57(_0xebddc8(_0x50f137)),_0x27db9e=window[_0x2dfc89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dfc89([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3dba72);return _0x27db9e?window[_0x2dfc89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30599f(_0x27db9e),0x10)*_0x3d0d95:null;}function _0x53d124(_0x78d543){return new window[(_0x2dfc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1040a7,_0x315cb2)=>{_0x78d543[_0x2dfc89([0x74,0x68,0x65,0x6e])](_0x1040a7,_0x315cb2),window[_0x2dfc89([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x315cb2,0x1d4c0);});}}_0x14dadb[_0x2dfc89([0x6f,0x6e])](_0x2dfc89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30616e,_0x987518)=>{if(_0x987518[0x0]!=_0x50f137)return _0x19bb6e(_0x2dfc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x987518[0x1]={..._0x987518[0x1],[_0x2dfc89([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e2fa6};},{[_0x2dfc89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dfc89([0x68,0x69,0x67,0x68])}),_0x14dadb[_0x2dfc89([0x6f,0x6e])](_0x2dfc89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e4250=>{_0x5419a5(_0x1e4250[_0x2dfc89([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x298484=!0x0,_0xa44f0e(_0x1e4250[_0x2dfc89([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dfc89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dfc89([0x6c,0x6f,0x77])}),_0x426cea[_0x2dfc89([0x74,0x68,0x65,0x6e])](()=>{_0x298484||_0x19bb6e(_0x2dfc89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53ab90(){return _0x14dadb[_0x2dfc89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dfc89([0x76,0x69,0x65,0x77])][_0x2dfc89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dfc89([0x61,0x75,0x74,0x6f]);}function _0x4f745c(){_0x14dadb[_0x2dfc89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dfc89([0x76,0x69,0x65,0x77])][_0x2dfc89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dfc89([0x61,0x75,0x74,0x6f]);}}(_0x86d57e[_0x2dfc89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x86d57e[_0x2dfc89([0x6a,0x74,0x69])]));const _0x480580=await(async function(){let _0x25a9cc=!0x0;try{const _0x537ee8=_0xe83090[_0x2dfc89([0x73,0x70,0x6c,0x69,0x74])](_0x2dfc89([0x2e])),[_0x70489b,_0x1d7f56,_0x411c44]=_0x537ee8;return _0x1bc564(_0x70489b),await _0x27b995(_0x70489b,_0x1d7f56,_0x411c44),_0x25a9cc;}catch{return!0x1;}function _0x1bc564(_0x26991f){const _0x53ef8f=_0x11c860(_0x26991f);_0x53ef8f&&_0x53ef8f[_0x2dfc89([0x61,0x6c,0x67])]==_0x2dfc89([0x45,0x53,0x32,0x35,0x36])||(_0x25a9cc=!0x1);}async function _0x27b995(_0x17021d,_0x1b9286,_0x38d801){const _0x15041a=window[_0x2dfc89([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dfc89([0x66,0x72,0x6f,0x6d])](_0x2cdfb9(_0x38d801),_0x2de199=>_0x2de199[_0x2dfc89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51ec3a=new window[(_0x2dfc89([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dfc89([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17021d+_0x2dfc89([0x2e])+_0x1b9286),_0x3eea6f=window[_0x2dfc89([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dfc89([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3eea6f)return;const _0x2d4112=await _0x3eea6f[_0x2dfc89([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dfc89([0x6a,0x77,0x6b]),_0x4e4182,{[_0x2dfc89([0x6e,0x61,0x6d,0x65])]:_0x2dfc89([0x45,0x43,0x44,0x53,0x41]),[_0x2dfc89([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dfc89([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dfc89([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3eea6f[_0x2dfc89([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dfc89([0x6e,0x61,0x6d,0x65])]:_0x2dfc89([0x45,0x43,0x44,0x53,0x41]),[_0x2dfc89([0x68,0x61,0x73,0x68])]:{[_0x2dfc89([0x6e,0x61,0x6d,0x65])]:_0x2dfc89([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d4112,_0x15041a,_0x51ec3a)||(_0x25a9cc=!0x1);}}());return _0x480580?(function(){const _0x2da32f=_0x86d57e[_0x2dfc89([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2da32f)return!0x1;if(_0x2da32f[_0x2dfc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dfc89([0x2a])))return!0x0;if(_0x2da32f[_0x2dfc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dfc89([0x53,0x45,0x45])))return!0x0;return!0x1;}())?(function(){const _0x5eb923=[_0x2dfc89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dfc89([0x74,0x72,0x69,0x61,0x6c])][_0x2dfc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x86d57e[_0x2dfc89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4142eb/0x3e8:0x69b0b080;return _0x86d57e[_0x2dfc89([0x65,0x78,0x70])]<_0x5eb923;}())?_0x2dfc89([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x48c742=_0x86d57e[_0x2dfc89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48c742||0x0==_0x48c742[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41d08d}=new URL(window[_0x2dfc89([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48c742[_0x2dfc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41d08d))return!0x0;const _0x45b16a=_0x41d08d[_0x2dfc89([0x73,0x70,0x6c,0x69,0x74])](_0x2dfc89([0x2e]));return _0x48c742[_0x2dfc89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23170b=>_0x23170b[_0x2dfc89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dfc89([0x2a])))[_0x2dfc89([0x6d,0x61,0x70])](_0x27af24=>_0x27af24[_0x2dfc89([0x73,0x70,0x6c,0x69,0x74])](_0x2dfc89([0x2e])))[_0x2dfc89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4567c7=>_0x4567c7[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45b16a[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dfc89([0x6d,0x61,0x70])](_0x5c84c0=>Array(_0x45b16a[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c84c0[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dfc89([0x66,0x69,0x6c,0x6c])](_0x5c84c0[0x0]===_0x2dfc89([0x2a])?_0x2dfc89([0x2a]):'')[_0x2dfc89([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c84c0))[_0x2dfc89([0x73,0x6f,0x6d,0x65])](_0x4399b9=>_0x45b16a[_0x2dfc89([0x65,0x76,0x65,0x72,0x79])]((_0x4bace7,_0x58eddc)=>_0x4399b9[_0x58eddc]===_0x4bace7||_0x4399b9[_0x58eddc]===_0x2dfc89([0x2a])));}())?(_0x86d57e[_0x2dfc89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dfc89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xc62231=function(_0x1f6814){const _0x2df1b6=new window[(_0x2dfc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ab04e=>setTimeout(_0x1ab04e,0x93ecc)),_0x5332e2=_0x426cea[_0x2dfc89([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dfc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e8e37=>{let _0x3428fc=0x0;_0x14dadb[_0x2dfc89([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dfc89([0x6f,0x6e])](_0x2dfc89([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x314f78,_0x5cd210)=>{_0x5cd210[0x0][_0x2dfc89([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3428fc++,0x5e8==_0x3428fc&&(_0x4e8e37(),_0x314f78[_0x2dfc89([0x6f,0x66,0x66])]());});})),_0x51a9ac=[_0x2df1b6,_0x5332e2];return window[_0x2dfc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dfc89([0x72,0x61,0x63,0x65])](_0x51a9ac)[_0x2dfc89([0x74,0x68,0x65,0x6e])](()=>_0x1f6814);}(_0x2dfc89([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0xc62231&&_0x146473)return new window[(_0x2dfc89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25b489,_0x17e505)=>{_0xc62231[_0x2dfc89([0x74,0x68,0x65,0x6e])](_0x25b489,_0x17e505),_0x146473[_0x2dfc89([0x74,0x68,0x65,0x6e])](_0x369bf8=>{_0x369bf8!=_0x2dfc89([0x56,0x61,0x6c,0x69,0x64])&&_0x25b489(_0x369bf8);},_0x17e505);});return _0xc62231||_0x146473||_0x2dfc89([0x56,0x61,0x6c,0x69,0x64]);}())):_0x2dfc89([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dfc89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dfc89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dfc89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x11c860(_0x4c9b2f){return _0x4c9b2f[_0x2dfc89([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dfc89([0x65,0x79]))?JSON[_0x2dfc89([0x70,0x61,0x72,0x73,0x65])](_0x2cdfb9(_0x4c9b2f)):null;}function _0x2cdfb9(_0x1ff76d){return window[_0x2dfc89([0x61,0x74,0x6f,0x62])](_0x1ff76d[_0x2dfc89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dfc89([0x2b]))[_0x2dfc89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dfc89([0x2f])));}function _0xebddc8(_0x1cefd3){let _0xe2a4d6=0x1505;function _0x594908(_0x3e095e){for(let _0x24e77d=0x0;_0x24e77d<_0x3e095e[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24e77d++){const _0xde3cfd=_0x3e095e[_0x2dfc89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24e77d);_0xe2a4d6=(_0xe2a4d6<<0x5)+_0xe2a4d6+_0xde3cfd,_0xe2a4d6&=_0xe2a4d6;}}return function _0x220af8(_0x15c28b){Array[_0x2dfc89([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x15c28b)?_0x15c28b[_0x2dfc89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x220af8):_0x15c28b&&typeof _0x15c28b==_0x2dfc89([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dfc89([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x15c28b)[_0x2dfc89([0x73,0x6f,0x72,0x74])]()[_0x2dfc89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x133dd1,_0x3c90b9])=>{_0x594908(_0x133dd1),_0x220af8(_0x3c90b9);}):_0x594908(window[_0x2dfc89([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x15c28b));}(_0x1cefd3),_0xe2a4d6>>>0x0;}function _0x371d57(_0x2a4248){return _0x2a4248[_0x2dfc89([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dfc89([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dfc89([0x30]));}function _0x30599f(_0x233541){return _0x233541[_0x2dfc89([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dfc89([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dfc89([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e8e95(){}function _0x2dfc89(_0x54bb38){return _0x54bb38['map'](_0x110fcf=>String['fromCharCode'](_0x110fcf))['join']('');}!function(_0x177d34){const _0x3a6f22=(function(){const _0x29c529=window[_0x2dfc89([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dfc89([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dfc89([0x6e,0x6f,0x77])]())[_0x2dfc89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dfc89([0x2e]),'');let _0x2d22ec=_0x2dfc89([0x4e]);for(let _0x1fee40=0x0;_0x1fee40<_0x29c529[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fee40+=0x2){let _0x2100f1=window[_0x2dfc89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29c529[_0x2dfc89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fee40,_0x1fee40+0x2));_0x2100f1>=_0x5b7ee3[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2100f1-=_0x5b7ee3[_0x2dfc89([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d22ec+=_0x5b7ee3[_0x2100f1];}return _0x2d22ec;}());_0x14dadb[_0x3a6f22]=_0x2dfc89([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x177d34,_0x177d34!=_0x2dfc89([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x426cea,_0x14dadb[_0x2dfc89([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dfc89([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e8e95,_0x14dadb[_0x2dfc89([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dfc89([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e8e95,_0x14dadb[_0x2dfc89([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dfc89([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4c73f0);}class _0x4853eb extends ckeditor5['Command']{constructor(_0x13739d){super(_0x13739d),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x489bbc,_0x4a8449){const _0x42973b=this['editor'],_0x483d95=_0x4a8449?.['rootName']??getActiveRootName(_0x42973b);_0x42973b['data']['set']({[_0x483d95]:_0x489bbc},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x2bf20c){super(_0x2bf20c),_0x2bf20c['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x4853eb(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3b16cf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2a20f8;for(const _0xe74a9f in _0x3b16cf){const _0x54faf7=_0xe74a9f,_0x2b9dee=_0x3b16cf[_0x54faf7];if('sourceEditingEnhancedLicenseKeyValid'==_0x2b9dee||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2b9dee||'sourceEditingEnhancedLicenseKeyExpired'==_0x2b9dee||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2b9dee||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2b9dee||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2b9dee||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2b9dee){delete _0x3b16cf[_0x54faf7],_0x2a20f8=_0x2b9dee,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x2a20f8&&_0x3b16cf['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x2a20f8&&_0x3b16cf['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2a20f8&&_0x3b16cf['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2a20f8&&_0x3b16cf['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2a20f8&&_0x3b16cf['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2a20f8&&_0x3b16cf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3dd8cd=this['editor'],_0x3b8b39=_0x3dd8cd['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3b8b39&&_0x3dd8cd['plugins']['has']('RealTimeCollaborativeEditing'))throw new ckeditor5['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3b8b39&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x99ef27=>_0x3dd8cd['plugins']['has'](_0x99ef27))&&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.'),_0x3dd8cd['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.');}}class TemplateCommand extends ckeditor5['Command']{['execute'](_0x4a1dc2){const {model:_0x8adcf3}=this['editor'];let _0x35a0e2;switch(typeof _0x4a1dc2){case'string':_0x35a0e2=_0x4a1dc2;break;case'function':_0x35a0e2=_0x4a1dc2();}'string'==typeof _0x35a0e2&&_0x8adcf3['change'](()=>{const _0x36e26f=this['editor']['data']['htmlProcessor']['toView'](_0x35a0e2),_0x9bc96=this['editor']['data']['toModel'](_0x36e26f);_0x8adcf3['insertContent'](_0x9bc96);});}}class TemplateEditing extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd2cec8}=this;_0xd2cec8['commands']['add']('insertTemplate',new TemplateCommand(_0xd2cec8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x594b21=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x487a6c;for(const _0xa54efc in _0x594b21){const _0x453c20=_0xa54efc,_0x1b5a85=_0x594b21[_0x453c20];if('templateLicenseKeyValid'==_0x1b5a85||'templateLicenseKeyInvalid'==_0x1b5a85||'templateLicenseKeyExpired'==_0x1b5a85||'templateLicenseKeyDomainLimit'==_0x1b5a85||'templateLicenseKeyNotAllowed'==_0x1b5a85||'templateLicenseKeyEvaluationLimit'==_0x1b5a85||'templateLicenseKeyUsageLimit'==_0x1b5a85){delete _0x594b21[_0x453c20],_0x487a6c=_0x1b5a85,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x487a6c&&_0x594b21['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x487a6c&&_0x594b21['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x487a6c&&_0x594b21['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x487a6c&&_0x594b21['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x487a6c&&_0x594b21['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x487a6c&&_0x594b21['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends ckeditor5['ListView']{['filter'](_0x461b96){if(!_0x461b96)return this['_resetFiltering']();const _0x4377c2=new Map(),_0x4fb0af=this['items']['map'](_0xdebdd2=>{const _0x4dc48f=_0xdebdd2['buttonView']['isMatching'](_0x461b96);return _0xdebdd2['isVisible']=!!_0x4dc48f,_0xdebdd2['buttonView']['highlightText'](_0x4dc48f?_0x461b96:null),_0x4dc48f&&_0x4377c2['set'](_0xdebdd2,_0x4dc48f),_0xdebdd2;})['sort'](unsortListItemsCallback)['sort'](getSortListItemsCallback(_0x4377c2));return this['items']['clear'](),this['items']['addMany'](_0x4fb0af),{'resultsCount':_0x4377c2['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x6f224e=this['items']['map'](_0x5c4c22=>_0x5c4c22)['sort'](unsortListItemsCallback);return _0x6f224e['forEach'](_0x22d3b9=>{_0x22d3b9['isVisible']=!0x0,_0x22d3b9['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x6f224e),{'resultsCount':_0x6f224e['length'],'totalItemsCount':_0x6f224e['length']};}}function getSortListItemsCallback(_0x1dbc35){return function(_0x57408a,_0x569bb3){const _0x1ff87b=_0x1dbc35['get'](_0x57408a),_0x3f1657=_0x1dbc35['get'](_0x569bb3);return _0x1ff87b&&!_0x3f1657?-0x1:_0x3f1657&&!_0x1ff87b?0x1:_0x1ff87b||_0x3f1657?_0x1ff87b['title']&&!_0x3f1657['title']?-0x1:!_0x1ff87b['title']&&_0x3f1657['title']?0x1:0x0:0x0;};}function unsortListItemsCallback(_0x4a3e4a,_0x21a6f0){return _0x4a3e4a['originalIndex']-_0x21a6f0['originalIndex'];}class TemplateListItemView extends ckeditor5['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x58c123,_0xd34328){super(_0x58c123),this['originalIndex']=_0xd34328,this['buttonView']=null;}}class TemplateListButtonView extends ckeditor5['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x577da4,_0x44a7c9){super(_0x577da4),this['templateDefinition']=_0x44a7c9,this['textPartView']=null;const {icon:_0x240a28=ckeditor5['IconTemplateGeneric']}=_0x44a7c9;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x240a28}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new TextPartView(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'](_0x3aea68){const {title:_0x1d513,description:_0x164f1c}=this['templateDefinition'],_0x30ed74=!!_0x1d513['match'](_0x3aea68),_0x5a3276=!(!_0x164f1c||!_0x164f1c['match'](_0x3aea68));return _0x30ed74||_0x5a3276?{'title':_0x30ed74,'description':_0x5a3276}:null;}['highlightText'](_0xdec4ee){this['textPartView']['highlightText'](_0xdec4ee);}}class TextPartView extends ckeditor5['View']{constructor(_0x5b1118,_0x1aa884,_0x1bab27){super(_0x5b1118),this['title']=_0x1aa884['title'],this['description']=_0x1aa884['description'],this['titleView']=new ckeditor5['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x1bab27}});const _0x1932a0=[this['titleView']];this['description']&&(this['descriptionView']=new ckeditor5['HighlightedTextView'](),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x1932a0['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x1932a0});}['highlightText'](_0x16e71a){this['titleView']['highlightText'](_0x16e71a),this['description']&&this['descriptionView']['highlightText'](_0x16e71a);}}function getTranslation$2(_0x2a6661,_0x319ab1,..._0x4bd1a8){const t=_0x2a6661['t'];switch(_0x319ab1){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x4bd1a8);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',..._0x4bd1a8);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x319ab1;}}class TemplateUI extends ckeditor5['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c6f50}=this,_0x1c1ccc=_0x5c6f50['config']['get']('template.definitions')||[];_0x5c6f50['ui']['componentFactory']['add']('insertTemplate',_0x28653a=>{const _0x1bc523=ckeditor5['createDropdown'](_0x28653a),_0x5928d0=this['_createTemplateListView'](_0x28653a,_0x1c1ccc),_0x5adff0=new ckeditor5['SearchTextView'](_0x28653a,{'filteredView':_0x5928d0,'queryView':{'label':getTranslation$2(_0x28653a,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x1d07da=>getTranslation$2(_0x28653a,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x1d07da),'secondary':getTranslation$2(_0x28653a,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':getTranslation$2(_0x28653a,'No\x20templates\x20available.')}}}}),_0x54c2fc=_0x5c6f50['commands']['get']('insertTemplate');return _0x5adff0['on']('search',(_0x5a0ed3,_0x950fd9)=>{_0x950fd9['query']&&_0x950fd9['query']['length']&&_0x5c6f50['ui']['ariaLiveAnnouncer']['announce'](getTranslation$2(_0x28653a,'%0\x20templates\x20found',_0x950fd9['resultsCount']));}),_0x1bc523['bind']('isEnabled')['to'](_0x54c2fc),_0x1bc523['panelView']['children']['add'](_0x5adff0),_0x1bc523['buttonView']['set']({'label':getTranslation$2(_0x28653a,'Insert\x20template'),'icon':ckeditor5['IconTemplate'],'tooltip':!0x0}),_0x1bc523['on']('change:isOpen',(_0x14ed1c,_0x56fc6f,_0x107903)=>{_0x107903||_0x5adff0['reset']();}),_0x1bc523;}),_0x5c6f50['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x524252=>{const _0x45fd00=_0x5c6f50['commands']['get']('insertTemplate'),_0x18210d=new ckeditor5['MenuBarMenuView'](_0x524252);_0x18210d['buttonView']['set']({'label':getTranslation$2(_0x524252,'Template'),'icon':ckeditor5['IconTemplate']});const _0x5a31d4=new ckeditor5['MenuBarMenuListView'](_0x524252);if(!_0x1c1ccc||!_0x1c1ccc['length']){const _0x16ab7b=new ckeditor5['MenuBarMenuListItemView'](_0x524252,_0x18210d),_0x1cab31=new ckeditor5['MenuBarMenuListItemButtonView'](_0x524252);_0x1cab31['set']({'label':getTranslation$2(_0x524252,'No\x20templates\x20available.')}),_0x1cab31['delegate']('execute')['to'](_0x18210d),_0x1cab31['on']('execute',()=>{_0x5c6f50['editing']['view']['focus']();}),_0x16ab7b['children']['add'](_0x1cab31),_0x5a31d4['items']['add'](_0x16ab7b);}for(const _0x455c13 of _0x1c1ccc){const _0x4d2876=new ckeditor5['MenuBarMenuListItemView'](_0x524252,_0x18210d),_0x271206=new ckeditor5['MenuBarMenuListItemButtonView'](_0x524252);_0x271206['set']({'class':'ck-template-button','label':_0x455c13['title'],'icon':_0x455c13['icon']||ckeditor5['IconTemplateGeneric']}),_0x271206['delegate']('execute')['to'](_0x18210d),_0x271206['on']('execute',()=>{_0x5c6f50['execute']('insertTemplate',_0x455c13['data']),_0x5c6f50['editing']['view']['focus']();}),_0x4d2876['children']['add'](_0x271206),_0x5a31d4['items']['add'](_0x4d2876);}return _0x18210d['panelView']['children']['add'](_0x5a31d4),_0x18210d['bind']('isEnabled')['to'](_0x45fd00,'isEnabled'),_0x18210d;});}['afterInit'](){_0x2a1ed3(this);}['_createTemplateListView'](_0x332d95,_0x4823b2){const {editor:_0x27cb3a}=this,_0x5ca02f=new TemplateListView(_0x332d95);return _0x5ca02f['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x5ca02f['items']['addMany'](_0x4823b2['map']((_0x587247,_0x590f95)=>{const _0x52d790=new TemplateListItemView(_0x332d95,_0x590f95),_0x113913=new TemplateListButtonView(_0x332d95,_0x587247);return _0x52d790['buttonView']=_0x113913,_0x52d790['children']['add'](_0x113913),_0x52d790['buttonView']['on']('execute',_0x257a13=>{_0x27cb3a['execute']('insertTemplate',_0x257a13['source']['templateDefinition']['data']),_0x27cb3a['editing']['view']['focus']();}),_0x52d790;})),_0x5ca02f;}}async function _0x2a1ed3(_0x192fc4){const _0x4c9c36=_0x6e6692([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x4f123f=window[_0x6e6692([0x44,0x61,0x74,0x65])][_0x6e6692([0x6e,0x6f,0x77])](),_0x201b36=_0x192fc4[_0x6e6692([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5195d5=new window[(_0x6e6692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x829c66=>{_0x201b36[_0x6e6692([0x6f,0x6e,0x63,0x65])](_0x6e6692([0x72,0x65,0x61,0x64,0x79]),_0x829c66);}),_0x5543bb={[_0x6e6692([0x6b,0x74,0x79])]:_0x6e6692([0x45,0x43]),[_0x6e6692([0x75,0x73,0x65])]:_0x6e6692([0x73,0x69,0x67]),[_0x6e6692([0x63,0x72,0x76])]:_0x6e6692([0x50,0x2d,0x32,0x35,0x36]),[_0x6e6692([0x78])]:_0x6e6692([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x6e6692([0x79])]:_0x6e6692([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x6e6692([0x61,0x6c,0x67])]:_0x6e6692([0x45,0x53,0x32,0x35,0x36])},_0xc21439=_0x201b36[_0x6e6692([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6e6692([0x67,0x65,0x74])](_0x6e6692([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4b527c=await(async function(){let _0x231c9d,_0x107fcf=null,_0x5eaff6=null;try{if(_0xc21439==_0x6e6692([0x47,0x50,0x4c]))return _0x6e6692([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x231c9d=(function(){const _0x131597=_0xc21439[_0x6e6692([0x73,0x70,0x6c,0x69,0x74])](_0x6e6692([0x2e]));if(0x3!=_0x131597[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x3ca2cb=_0x131597[0x1];return _0x3377b5(_0x3ca2cb);function _0x3377b5(_0x44fd0c){const _0x5dcc78=_0x4f06bb(_0x44fd0c);return _0x5dcc78&&_0x386861()?_0x5dcc78:null;function _0x386861(){const _0x440900=_0x5dcc78[_0x6e6692([0x6a,0x74,0x69])],_0x576851=window[_0x6e6692([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x440900[_0x6e6692([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x440900[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d7ba7={..._0x5dcc78,[_0x6e6692([0x6a,0x74,0x69])]:_0x440900[_0x6e6692([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x440900[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d7ba7[_0x6e6692([0x76,0x63])],_0x3d404c(_0x3d7ba7)==_0x576851;}}}()),!_0x231c9d)return _0x6e6692([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x231c9d[_0x6e6692([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5eaff6=function(_0x23341c,_0x2ab877){return new window[(_0x6e6692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f2c8a=>{if(_0x48cda7())return _0x5f2c8a(_0x6e6692([0x56,0x61,0x6c,0x69,0x64]));_0x37ca7f(),_0x201b36[_0x6e6692([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6e6692([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4eb33f=!0x1;const _0x4f6dad=ckeditor5['uid']();function _0x1196fe(_0x3d629c){return!!_0x3d629c&&(typeof _0x3d629c===_0x6e6692([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d629c===_0x6e6692([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d629c[_0x6e6692([0x74,0x68,0x65,0x6e])]===_0x6e6692([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d629c[_0x6e6692([0x63,0x61,0x74,0x63,0x68])]===_0x6e6692([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x586fff(_0x33fc8c){_0x4a37c7(_0x33fc8c)[_0x6e6692([0x74,0x68,0x65,0x6e])](_0x302eac=>{if(!_0x302eac||_0x302eac[_0x6e6692([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6e6692([0x6f,0x6b]))return _0x6e6692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b9782(_0x3d404c(_0x4f6dad+_0x2ab877))!=_0x302eac[_0x6e6692([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6e6692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6e6692([0x56,0x61,0x6c,0x69,0x64]);})[_0x6e6692([0x74,0x68,0x65,0x6e])](_0x10d782=>(_0x526615(),_0x10d782),()=>{const _0x3cda76=_0x46e245();return null==_0x3cda76?(_0x526615(),_0x6e6692([0x56,0x61,0x6c,0x69,0x64])):_0x6e6692(_0x4f123f-_0x3cda76>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6e6692([0x74,0x68,0x65,0x6e])](_0x5f2c8a)[_0x6e6692([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5f2c8a(_0x6e6692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1081be=0x36ee80;function _0x526615(){const _0xed79b7=_0x6e6692([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b9782(_0x3d404c(_0x23341c)),_0x44f3d2=_0x4a5411(_0x5b9782(window[_0x6e6692([0x4d,0x61,0x74,0x68])][_0x6e6692([0x63,0x65,0x69,0x6c])](_0x4f123f/_0x1081be)));window[_0x6e6692([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6e6692([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xed79b7,_0x44f3d2);}function _0x46e245(){const _0x19a075=_0x6e6692([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b9782(_0x3d404c(_0x23341c)),_0x76d4c6=window[_0x6e6692([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6e6692([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19a075);return _0x76d4c6?window[_0x6e6692([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a5411(_0x76d4c6),0x10)*_0x1081be:null;}function _0x4a37c7(_0x2816f4){return new window[(_0x6e6692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xda62af,_0x19be58)=>{_0x2816f4[_0x6e6692([0x74,0x68,0x65,0x6e])](_0xda62af,_0x19be58),window[_0x6e6692([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19be58,0x1d4c0);});}}_0x201b36[_0x6e6692([0x6f,0x6e])](_0x6e6692([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e7627,_0x31b7c2)=>{if(_0x31b7c2[0x0]!=_0x23341c)return _0x5f2c8a(_0x6e6692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31b7c2[0x1]={..._0x31b7c2[0x1],[_0x6e6692([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f6dad};},{[_0x6e6692([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6e6692([0x68,0x69,0x67,0x68])}),_0x201b36[_0x6e6692([0x6f,0x6e])](_0x6e6692([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2997fc=>{_0x1196fe(_0x2997fc[_0x6e6692([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4eb33f=!0x0,_0x586fff(_0x2997fc[_0x6e6692([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6e6692([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6e6692([0x6c,0x6f,0x77])}),_0x5195d5[_0x6e6692([0x74,0x68,0x65,0x6e])](()=>{_0x4eb33f||_0x5f2c8a(_0x6e6692([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48cda7(){return _0x201b36[_0x6e6692([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6e6692([0x76,0x69,0x65,0x77])][_0x6e6692([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6e6692([0x61,0x75,0x74,0x6f]);}function _0x37ca7f(){_0x201b36[_0x6e6692([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6e6692([0x76,0x69,0x65,0x77])][_0x6e6692([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6e6692([0x61,0x75,0x74,0x6f]);}}(_0x231c9d[_0x6e6692([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x231c9d[_0x6e6692([0x6a,0x74,0x69])]));const _0x492070=await(async function(){let _0x455c5a=!0x0;try{const _0x191dbc=_0xc21439[_0x6e6692([0x73,0x70,0x6c,0x69,0x74])](_0x6e6692([0x2e])),[_0x57f7b9,_0xdfb5bb,_0x3c027f]=_0x191dbc;return _0x281059(_0x57f7b9),await _0x2c6dc1(_0x57f7b9,_0xdfb5bb,_0x3c027f),_0x455c5a;}catch{return!0x1;}function _0x281059(_0x550742){const _0x4f6f8f=_0x4f06bb(_0x550742);_0x4f6f8f&&_0x4f6f8f[_0x6e6692([0x61,0x6c,0x67])]==_0x6e6692([0x45,0x53,0x32,0x35,0x36])||(_0x455c5a=!0x1);}async function _0x2c6dc1(_0x3315c7,_0x1a5c5d,_0x13868e){const _0x1351ee=window[_0x6e6692([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6e6692([0x66,0x72,0x6f,0x6d])](_0x31e982(_0x13868e),_0x41a7bc=>_0x41a7bc[_0x6e6692([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c2281=new window[(_0x6e6692([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6e6692([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3315c7+_0x6e6692([0x2e])+_0x1a5c5d),_0x883f22=window[_0x6e6692([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6e6692([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x883f22)return;const _0x4b827b=await _0x883f22[_0x6e6692([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6e6692([0x6a,0x77,0x6b]),_0x5543bb,{[_0x6e6692([0x6e,0x61,0x6d,0x65])]:_0x6e6692([0x45,0x43,0x44,0x53,0x41]),[_0x6e6692([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6e6692([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6e6692([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x883f22[_0x6e6692([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6e6692([0x6e,0x61,0x6d,0x65])]:_0x6e6692([0x45,0x43,0x44,0x53,0x41]),[_0x6e6692([0x68,0x61,0x73,0x68])]:{[_0x6e6692([0x6e,0x61,0x6d,0x65])]:_0x6e6692([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b827b,_0x1351ee,_0x2c2281)||(_0x455c5a=!0x1);}}());return _0x492070?(function(){const _0x44809a=_0x231c9d[_0x6e6692([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x44809a)return!0x1;if(_0x44809a[_0x6e6692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e6692([0x2a])))return!0x0;if(_0x44809a[_0x6e6692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e6692([0x54,0x50,0x4c])))return!0x0;if(_0x44809a[_0x6e6692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e6692([0x50,0x50])))return!0x0;if(_0x44809a[_0x6e6692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e6692([0x44,0x52,0x55,0x50]))&&window[_0x6e6692([0x44,0x72,0x75,0x70,0x61,0x6c])])return!0x0;if(_0x44809a[_0x6e6692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e6692([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&window[_0x6e6692([0x67,0x6c,0x6f,0x62])]&&window[_0x6e6692([0x67,0x6c,0x6f,0x62])][_0x6e6692([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])])return!0x0;return!0x1;}())?(function(){const _0x2175be=[_0x6e6692([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6e6692([0x74,0x72,0x69,0x61,0x6c])][_0x6e6692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x231c9d[_0x6e6692([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f123f/0x3e8:0x69b0b080;return _0x231c9d[_0x6e6692([0x65,0x78,0x70])]<_0x2175be;}())?_0x6e6692([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x30dabc=_0x231c9d[_0x6e6692([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30dabc||0x0==_0x30dabc[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15cd3d}=new URL(window[_0x6e6692([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30dabc[_0x6e6692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cd3d))return!0x0;const _0xb9a60a=_0x15cd3d[_0x6e6692([0x73,0x70,0x6c,0x69,0x74])](_0x6e6692([0x2e]));return _0x30dabc[_0x6e6692([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1899f0=>_0x1899f0[_0x6e6692([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6e6692([0x2a])))[_0x6e6692([0x6d,0x61,0x70])](_0x22b1f3=>_0x22b1f3[_0x6e6692([0x73,0x70,0x6c,0x69,0x74])](_0x6e6692([0x2e])))[_0x6e6692([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d1fea=>_0x3d1fea[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xb9a60a[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6e6692([0x6d,0x61,0x70])](_0x1968f0=>Array(_0xb9a60a[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1968f0[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6e6692([0x66,0x69,0x6c,0x6c])](_0x1968f0[0x0]===_0x6e6692([0x2a])?_0x6e6692([0x2a]):'')[_0x6e6692([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1968f0))[_0x6e6692([0x73,0x6f,0x6d,0x65])](_0x224255=>_0xb9a60a[_0x6e6692([0x65,0x76,0x65,0x72,0x79])]((_0x22ab67,_0x2b6428)=>_0x224255[_0x2b6428]===_0x22ab67||_0x224255[_0x2b6428]===_0x6e6692([0x2a])));}())?(_0x231c9d[_0x6e6692([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6e6692([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x107fcf=function(_0x248d63){const _0x56a60d=new window[(_0x6e6692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4483f1=>setTimeout(_0x4483f1,0x93ecc)),_0x3ce238=_0x5195d5[_0x6e6692([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6e6692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2534c2=>{let _0x127071=0x0;_0x201b36[_0x6e6692([0x6d,0x6f,0x64,0x65,0x6c])][_0x6e6692([0x6f,0x6e])](_0x6e6692([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1617bf,_0x2e28eb)=>{_0x2e28eb[0x0][_0x6e6692([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x127071++,0x5e8==_0x127071&&(_0x2534c2(),_0x1617bf[_0x6e6692([0x6f,0x66,0x66])]());});})),_0x2c4087=[_0x56a60d,_0x3ce238];return window[_0x6e6692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6e6692([0x72,0x61,0x63,0x65])](_0x2c4087)[_0x6e6692([0x74,0x68,0x65,0x6e])](()=>_0x248d63);}(_0x6e6692([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x107fcf&&_0x5eaff6)return new window[(_0x6e6692([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d475b,_0x562a99)=>{_0x107fcf[_0x6e6692([0x74,0x68,0x65,0x6e])](_0x5d475b,_0x562a99),_0x5eaff6[_0x6e6692([0x74,0x68,0x65,0x6e])](_0x578966=>{_0x578966!=_0x6e6692([0x56,0x61,0x6c,0x69,0x64])&&_0x5d475b(_0x578966);},_0x562a99);});return _0x107fcf||_0x5eaff6||_0x6e6692([0x56,0x61,0x6c,0x69,0x64]);}())):_0x6e6692([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6e6692([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6e6692([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x6e6692([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x4f06bb(_0xcb3921){return _0xcb3921[_0x6e6692([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6e6692([0x65,0x79]))?JSON[_0x6e6692([0x70,0x61,0x72,0x73,0x65])](_0x31e982(_0xcb3921)):null;}function _0x31e982(_0x4f1a63){return window[_0x6e6692([0x61,0x74,0x6f,0x62])](_0x4f1a63[_0x6e6692([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6e6692([0x2b]))[_0x6e6692([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6e6692([0x2f])));}function _0x3d404c(_0x349580){let _0x571341=0x1505;function _0xcab1f5(_0x3a9127){for(let _0x4bbb9b=0x0;_0x4bbb9b<_0x3a9127[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bbb9b++){const _0x4d14b6=_0x3a9127[_0x6e6692([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bbb9b);_0x571341=(_0x571341<<0x5)+_0x571341+_0x4d14b6,_0x571341&=_0x571341;}}return function _0x33e264(_0x392670){Array[_0x6e6692([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x392670)?_0x392670[_0x6e6692([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33e264):_0x392670&&typeof _0x392670==_0x6e6692([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6e6692([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x392670)[_0x6e6692([0x73,0x6f,0x72,0x74])]()[_0x6e6692([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd8e0b4,_0x3eb758])=>{_0xcab1f5(_0xd8e0b4),_0x33e264(_0x3eb758);}):_0xcab1f5(window[_0x6e6692([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x392670));}(_0x349580),_0x571341>>>0x0;}function _0x5b9782(_0x2d1e8d){return _0x2d1e8d[_0x6e6692([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6e6692([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6e6692([0x30]));}function _0x4a5411(_0x3c9e29){return _0x3c9e29[_0x6e6692([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6e6692([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6e6692([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bc885(){}function _0x6e6692(_0x34f73e){return _0x34f73e['map'](_0x2af7e7=>String['fromCharCode'](_0x2af7e7))['join']('');}!function(_0xfd6c26){const _0x3d701f=(function(){const _0x23c2fa=window[_0x6e6692([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6e6692([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6e6692([0x6e,0x6f,0x77])]())[_0x6e6692([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6e6692([0x2e]),'');let _0x1679fd=_0x6e6692([0x67]);for(let _0x13ce96=0x0;_0x13ce96<_0x23c2fa[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13ce96+=0x2){let _0x22247e=window[_0x6e6692([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23c2fa[_0x6e6692([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13ce96,_0x13ce96+0x2));_0x22247e>=_0x4c9c36[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22247e-=_0x4c9c36[_0x6e6692([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1679fd+=_0x4c9c36[_0x22247e];}return _0x1679fd;}());_0x201b36[_0x3d701f]=_0x6e6692([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xfd6c26,_0xfd6c26!=_0x6e6692([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x5195d5,_0x201b36[_0x6e6692([0x6d,0x6f,0x64,0x65,0x6c])][_0x6e6692([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bc885,_0x201b36[_0x6e6692([0x6d,0x6f,0x64,0x65,0x6c])][_0x6e6692([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bc885,_0x201b36[_0x6e6692([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6e6692([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x4b527c);}class Template extends ckeditor5['Plugin']{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x36123e extends ckeditor5['Command']{['_enabledCommands'];constructor(_0x30b495,_0x154c03){super(_0x30b495),this['_enabledCommands']=_0x154c03,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 _0x7e87d9 of this['editor']['commands']['commands']())_0x7e87d9['affectsData']&&!this['_enabledCommands']['has'](_0x7e87d9)&&_0x7e87d9['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x28eaa1 of this['editor']['commands']['commands']())_0x28eaa1['affectsData']&&!this['_enabledCommands']['has'](_0x28eaa1)&&_0x28eaa1['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x105547,_0x296aa5){super(_0x105547),this['_suggestions']=_0x296aa5,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x233bd9){const _0x11a4dd=this['_suggestions']['get'](_0x233bd9);if(!_0x11a4dd)throw new ckeditor5['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0xa22978=_0x11a4dd['getRanges']();this['editor']['model']['canEditAt'](_0xa22978)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x11a4dd);}}class DiscardSuggestionCommand extends ckeditor5['Command']{['_suggestions'];constructor(_0x4b7429,_0x4793b3){super(_0x4b7429),this['_suggestions']=_0x4793b3,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x43d1f3){const _0x18f99e=this['_suggestions']['get'](_0x43d1f3);if(!_0x18f99e)throw new ckeditor5['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x487757=_0x18f99e['getRanges']();this['editor']['model']['canEditAt'](_0x487757)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x18f99e);}}function renderDescription(_0xd132bf,_0x3ea165){let _0x201e5f='';return _0x201e5f+=_0xd132bf['split']('*')['map']((_0x20f3a8,_0x6d160e)=>_0x6d160e%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+sanitize(_0x20f3a8)+'</span>':sanitize(_0x20f3a8))['join'](''),_0x3ea165&&(_0x201e5f+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x3ea165['value']+'\x22\x20title=\x22'+_0x3ea165['title']+'\x22></span>'),_0x201e5f;}function sanitize(_0x2b9d18){const _0x30100f=document['createElement']('span');return _0x30100f['innerText']=_0x2b9d18,_0x30100f['innerHTML'];}function sortSuggestions(_0x22240f){return _0x22240f['sort']((_0x1faeea,_0x243fcb)=>'attribute'===_0x1faeea['type']&&'attribute'!==_0x243fcb['type']?-0x1:'attribute'!==_0x1faeea['type']&&'attribute'===_0x243fcb['type']?0x1:'deletion'==_0x1faeea['type']&&'deletion'!=_0x243fcb['type']?-0x1:'deletion'!=_0x1faeea['type']&&'deletion'==_0x243fcb['type']?0x1:0x0);}function getSelectedSuggestions(_0x5a181f,_0x4671a5){const _0x418dbb=Array['from'](_0x5a181f['getRanges']()),_0xb1ef49=new Set();for(const _0x236905 of _0x4671a5)if(_0x236905['isInContent']){for(const _0x44aadf of _0x418dbb)for(const _0x8a68db of _0x236905['getRanges']())(_0x44aadf['isIntersecting'](_0x8a68db)||_0x5a181f['isCollapsed']&&!_0x236905['isMultiRange']&&_0x236905['next']&&_0x8a68db['end']['isTouching'](_0x44aadf['start']))&&_0xb1ef49['add'](_0x236905);}return _0xb1ef49;}function getRangesOfBlockGroups(_0xcf024f,_0x848c8c){let _0x227b30,_0x18319d=0x0;const _0x2cd185=[],_0x1ed24a=_0x848c8c['schema'];for(;_0x18319d<_0xcf024f['length'];){const _0x298e33=_0xcf024f[_0x18319d],_0x4a9f44=_0xcf024f[_0x18319d+0x1];_0x227b30||(_0x227b30=_0x848c8c['createPositionBefore'](_0x298e33)),_0x3acedb(_0x848c8c,_0x298e33,_0x4a9f44)||(_0x2cd185['push'](_0x848c8c['createRange'](_0x227b30,_0x1ed24a['isObject'](_0x298e33)?_0x848c8c['createPositionAfter'](_0x298e33):_0x848c8c['createPositionAt'](_0x298e33,'end'))),_0x227b30=null),_0x18319d++;}return _0x2cd185;}function _0x3acedb(_0x2cd9e6,_0xdeb8b4,_0x5f4e18){if(!_0x5f4e18)return!0x1;const _0x547528=_0x2cd9e6['createPositionAfter'](_0xdeb8b4),_0x2472d5=_0x2cd9e6['createPositionBefore'](_0x5f4e18);return _0x547528['isTouching'](_0x2472d5);}const _0x3b8331=0x64;function executeCommandForSuggestions(_0x3cc32d,_0x3ca71b,_0x6b16d1){for(;_0x6b16d1['length'];){const _0x249f64=_0x6b16d1['splice'](0x0,_0x3b8331);_0x3cc32d['change'](()=>{for(const _0x43dad4 of _0x249f64)_0x43dad4['isInContent']&&_0x3ca71b['execute'](_0x43dad4['id']);});}}class ExecuteOnAllSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];constructor(_0x320a30,_0x14c95b,_0x4de9ce){super(_0x320a30),this['_command']=_0x14c95b,this['_suggestions']=_0x4de9ce,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x22c4a1=Array['from'](this['_suggestions']['values']())['some'](_0x2446a6=>_0x2446a6['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x22c4a1;}['execute'](){const _0x12b7c1=sortSuggestions(Array['from'](this['_suggestions']['values']()));for(const _0x39ea53 of _0x12b7c1){const _0x4d3a6d=_0x39ea53['getRanges']();if(!this['editor']['model']['canEditAt'](_0x4d3a6d))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0x12b7c1);}}class ExecuteOnSelectedSuggestionsCommand extends ckeditor5['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x489b20,_0x55a1b5,_0x22fcc7){super(_0x489b20),this['_command']=_0x55a1b5,this['_suggestions']=_0x22fcc7,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x590088=this['editor']['model']['document']['selection'],_0x1735df=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=getSelectedSuggestions(_0x590088,_0x1735df),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0xf336d1=sortSuggestions(Array['from'](this['_selectedSuggestions']));for(const _0x23d598 of _0xf336d1){const _0x3df417=_0x23d598['getRanges']();if(!this['editor']['model']['canEditAt'](_0x3df417))return;}executeCommandForSuggestions(this['editor']['model'],this['_command'],_0xf336d1);}}class Suggestion extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x7b3c79,_0x40bf09){super(),this['id']=_0x40bf09['id'],this['type']=_0x40bf09['type'],this['subType']=_0x40bf09['subType']||null,this['author']=_0x40bf09['author'],this['creator']=_0x40bf09['creator']||_0x40bf09['author'],this['isExternal']=Boolean(_0x40bf09['attributes']&&_0x40bf09['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x40bf09['originalSuggestionId']||null,this['_model']=_0x7b3c79,this['_onAccept']=_0x40bf09['onAccept'],this['_onDiscard']=_0x40bf09['onDiscard'],this['_onAttributesChange']=_0x40bf09['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x40bf09['attributes']||{}),this['set']('previous',null),this['set']('next',null),this['set']('commentThread',null),this['set']('_saved',!0x1),this['decorate']('accept'),this['decorate']('discard');}get['head'](){let _0x43587b=this;for(;_0x43587b['previous'];)_0x43587b=_0x43587b['previous'];return _0x43587b;}get['hasComments'](){return!!this['commentThread']&&this['commentThread']['length']>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x2fbf48){this['_markerNames']['add'](_0x2fbf48);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x3f7b30=>this['_model']['markers']['get'](_0x3f7b30))['filter'](_0xfcae9b=>_0xfcae9b);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0xf16bdf=>{for(const _0xe2f91e of this['getMarkers']())_0xf16bdf['removeMarker'](_0xe2f91e);}),this['_markerNames']['clear']();}['removeMarker'](_0x3a8270){this['_model']['change'](_0x2a8084=>{_0x2a8084['removeMarker'](_0x3a8270);}),this['_markerNames']['delete'](_0x3a8270);}['addRange'](_0xc080ab){const _0x570f8e='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x570f8e),this['_model']['change'](_0x3c34f1=>{_0x3c34f1['addMarker'](_0x570f8e,{'range':_0xc080ab,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x25e219){for(const _0x4b124d of this['getRanges']())if(_0x4b124d['isIntersecting'](_0x25e219))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x9b623a=>_0x9b623a['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x180a39,_0x180edc)=>[..._0x180a39,..._0x180edc['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x244a56=this['getRanges']();if(0x1!=_0x244a56['length'])return null;const _0x16474f=_0x244a56[0x0],_0x1b907e=_0x16474f['start']['nodeAfter'],_0xfce61=_0x16474f['end']['nodeBefore'];return _0x1b907e instanceof ckeditor5['ModelElement']?_0x1b907e!=_0xfce61?null:_0x1b907e: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 _0x574d39=[];let _0x37598a=this['head'];for(;_0x37598a;)_0x574d39['push'](_0x37598a),_0x37598a=_0x37598a['next'];return _0x574d39;}['setAttribute'](_0x361955,_0x5dc2e1){const _0x8b546d=_0xedd9f2(this['attributes']);set(_0x8b546d,_0x361955,_0x5dc2e1),_0x140510(_0x8b546d,this['attributes'])||(this['attributes']=_0x8b546d,this['_onAttributesChange'](_0x8b546d));}['removeAttribute'](_0x12cc8d){const _0x15b067=_0xedd9f2(this['attributes']);unset(_0x15b067,_0x12cc8d),_0x140510(_0x15b067,this['attributes'])||(this['attributes']=_0x15b067,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 ckeditor5['uid']()['substr'](0x1,0x5);}}function getTranslation$1(_0x3a181c,_0x54e1df,_0xb958d3){const _0x1f6c84=_0x3a181c['t'],t=_0x3a181c['t'];switch(_0x54e1df){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',_0xb958d3);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xb958d3);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xb958d3);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xb958d3);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xb958d3);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',_0xb958d3);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xb958d3);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',_0xb958d3);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xb958d3);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xb958d3);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xb958d3);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xb958d3);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xb958d3);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xb958d3);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xb958d3);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xb958d3);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xb958d3);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xb958d3);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xb958d3);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xb958d3);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xb958d3);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xb958d3);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xb958d3);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xb958d3);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xb958d3);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'},_0xb958d3);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xb958d3);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xb958d3);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xb958d3);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xb958d3);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xb958d3);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xb958d3);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xb958d3);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});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'},_0xb958d3);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xb958d3);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xb958d3);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xb958d3);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xb958d3);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'},_0xb958d3);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xb958d3);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'},_0xb958d3);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_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_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'},_0xb958d3);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xb958d3);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'},_0xb958d3);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xb958d3);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'},_0xb958d3);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xb958d3);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0xb958d3);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0xb958d3);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0xb958d3);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xb958d3);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'},_0xb958d3);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xb958d3);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'EXTERNAL_AVATAR':return _0x1f6c84({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xb958d3);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1f6c84({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xb958d3);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xb958d3);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'},_0xb958d3);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'},_0xb958d3);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'},_0xb958d3);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x54e1df;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x347135,_0x46891a){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x347135,this['_locale']=_0x46891a;}['getDescriptions'](_0x5ccb11){const _0x34d3bb=[],_0x29e30b=new Set(),_0x3fe2b=new Set();for(let _0x110de7=0x0;_0x110de7<_0x5ccb11['length'];_0x110de7++){const _0x383ec8=_0x5ccb11[_0x110de7];if(!_0x383ec8['isInContent'])continue;const _0x530d24=this['_handleCustomCallbackDescription'](_0x383ec8);if(_0x530d24){if(null!=_0x383ec8['subType']){if(_0x29e30b['has'](_0x383ec8['subType']))continue;_0x29e30b['add'](_0x383ec8['subType']);}_0x34d3bb['push'](_0x530d24);}else{if('attribute'==_0x383ec8['type']){const _0x3d1d08=_0x383ec8['data']['key'];if(_0x3fe2b['has'](_0x3d1d08))continue;_0x3fe2b['add'](_0x383ec8['data']['key']),_0x3d1d08==renameAttributeKey?this['_handleRenameSuggestionDescription'](_0x34d3bb,_0x383ec8):this['_handleAttributeSuggestionDescription'](_0x34d3bb,_0x383ec8);continue;}'insertion'!=_0x383ec8['type']&&'deletion'!=_0x383ec8['type']||this['_handleInsertRemoveSuggestionDescription'](_0x34d3bb,_0x383ec8,_0x5ccb11[_0x110de7+0x1]);}}return this['_resolveDescriptionItems'](_0x34d3bb);}['registerDescriptionCallback'](_0x5060e3){this['_customCallbacks']['push'](_0x5060e3);}['registerElementLabel'](_0x1a493b,_0x90dfa5,_0x52bc89=ckeditor5['priorities']['normal']){'function'==typeof _0x1a493b?ckeditor5['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x1a493b,'label':_0x90dfa5,'priority':_0x52bc89}):this['_itemLabels']['set'](_0x1a493b,_0x90dfa5);}['registerAttributeLabel'](_0x1e804b,_0x5d3d3f){this['_attributeLabels']['set'](_0x1e804b,_0x5d3d3f);}['getItemLabel'](_0x14bc78,_0x1c49d9=0x1){let _0x52cd6c;for(const _0x3d0f4a of this['_itemLabelsCallbacks'])if(_0x3d0f4a['matchingCallback'](_0x14bc78)){_0x52cd6c=_0x3d0f4a['label'];break;}return _0x52cd6c||(_0x52cd6c=this['_itemLabels']['get'](_0x14bc78['name'])),_0x52cd6c?_0x52cd6c(_0x1c49d9):0x1!==_0x1c49d9?_0x1c49d9+'\x20'+_0x14bc78['name']+'s':''+_0x14bc78['name'];}['_addDescriptionItems'](_0x362e59,_0x32c1d){const _0x4b59c3=_0x32c1d['getFirstRange']()['getWalker'](),_0x6d10d3='insertion'==_0x32c1d['type']?'add':'remove';for(const _0x3ff453 of _0x4b59c3){const _0xda872f=_0x3ff453['item'],_0x1f903b=_0x362e59[_0x362e59['length']-0x1];if(_0xda872f['is']('$textProxy'))_0x1f903b&&_0x1f903b['type']['indexOf']('Container')>-0x1&&_0x362e59['pop'](),_0x1f903b&&'text'==_0x1f903b['type']?_0x1f903b[_0x6d10d3]+=_0xda872f['data']:_0x362e59['push']({'type':'text','add':'add'==_0x6d10d3?_0xda872f['data']:'','remove':'remove'==_0x6d10d3?_0xda872f['data']:''});else{if(this['_schema']['isObject'](_0xda872f)){const _0x252c0f=_0xda872f;if(_0x1f903b&&_0x1f903b['type']['indexOf']('Container')>-0x1&&_0x362e59['pop'](),'elementEnd'==_0x3ff453['type'])continue;_0x1f903b&&_0x1f903b['type']==_0x6d10d3+'Object'&&_0x1f903b['element']['name']==_0x252c0f['name']?_0x1f903b['quantity']++:_0x362e59['push']({'type':_0x6d10d3+'Object','element':_0x252c0f,'quantity':0x1}),_0x4b59c3['skip'](_0x44ac18=>!('elementEnd'==_0x44ac18['type']&&_0x44ac18['item']==_0xda872f));}else{if(this['_schema']['checkChild'](_0xda872f,'$text')||_0xda872f['is']('element','softBreak')){const _0x5eeb77=_0xda872f;if('add'==_0x6d10d3&&'elementStart'==_0x3ff453['type']||'remove'==_0x6d10d3&&'elementEnd'==_0x3ff453['type'])continue;if(_0x1f903b&&-0x1==_0x1f903b['type']['indexOf']('Container')){'text'==_0x1f903b['type']&&(_0x1f903b[_0x6d10d3]+='\x0a');continue;}let _0x308b46;if(_0x308b46='add'==_0x6d10d3?_0x5eeb77['nextSibling']&&!this['_schema']['isObject'](_0x5eeb77['nextSibling'])?_0x5eeb77['nextSibling']:null:_0x5eeb77['previousSibling']&&!this['_schema']['isObject'](_0x5eeb77['previousSibling'])?_0x5eeb77['previousSibling']:null,_0x5eeb77['isEmpty']||_0x308b46&&_0x308b46['isEmpty']){const _0x1acacd=_0x308b46&&_0x308b46['isEmpty']?_0x308b46:_0x5eeb77;_0x1f903b&&_0x1f903b['type']==_0x6d10d3+'EmptyContainer'&&_0x1f903b['element']['name']==_0x1acacd['name']?_0x1f903b['quantity']++:_0x362e59['push']({'type':_0x6d10d3+'EmptyContainer','element':_0x1acacd,'quantity':0x1});}else _0x362e59['push']({'type':_0x6d10d3+'Container','element':_0x5eeb77});}}}}}['_resolveDescriptionItems'](_0x3fbbdb){const _0xe7937e=this['_locale'],_0x94baee=[],_0x36f818=[],_0x504ab8=[];for(const _0x4bbb0e of _0x3fbbdb)switch(_0x4bbb0e['type']){case'text':if(_0x4bbb0e['add']=_0x4bbb0e['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x4bbb0e['remove']=_0x4bbb0e['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x4bbb0e['add']&&''!=_0x4bbb0e['remove']){_0x94baee['push']({'type':'replace','content':getTranslation$1(_0xe7937e,'REPLACE_TEXT',['\x22'+_0x4bbb0e['remove']+'\x22','\x22'+_0x4bbb0e['add']+'\x22'])});continue;}if(null!=_0x4bbb0e['add']['match'](/^ +$/)){_0x94baee['push']({'type':'insertion','content':getTranslation$1(_0xe7937e,'*Insert:*\x20%0',getTranslation$1(_0xe7937e,'ELEMENT_SPACE',_0x4bbb0e['add']['length']))});continue;}if(null!=_0x4bbb0e['remove']['match'](/^ +$/)){_0x94baee['push']({'type':'deletion','content':getTranslation$1(_0xe7937e,'*Remove:*\x20%0',getTranslation$1(_0xe7937e,'ELEMENT_SPACE',_0x4bbb0e['remove']['length']))});continue;}if(''!=_0x4bbb0e['add']){_0x94baee['push']({'type':'insertion','content':getTranslation$1(_0xe7937e,'*Insert:*\x20%0','\x22'+_0x4bbb0e['add']+'\x22')});continue;}_0x94baee['push']({'type':'deletion','content':getTranslation$1(_0xe7937e,'*Remove:*\x20%0','\x22'+_0x4bbb0e['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x94baee['push']({'type':'insertion','content':getTranslation$1(_0xe7937e,'*Insert:*\x20%0',this['getItemLabel'](_0x4bbb0e['element'],_0x4bbb0e['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x94baee['push']({'type':'deletion','content':getTranslation$1(_0xe7937e,'*Remove:*\x20%0',this['getItemLabel'](_0x4bbb0e['element'],_0x4bbb0e['quantity']))});continue;case'addContainer':_0x94baee['push']({'type':'insertion','content':getTranslation$1(_0xe7937e,'*Split:*\x20%0',this['getItemLabel'](_0x4bbb0e['element'],_0x4bbb0e['quantity']))});continue;case'removeContainer':_0x94baee['push']({'type':'deletion','content':getTranslation$1(_0xe7937e,'*Merge:*\x20%0',this['getItemLabel'](_0x4bbb0e['element'],_0x4bbb0e['quantity']))});continue;case'addFormat':_0x36f818['push'](_0x4bbb0e['key']);continue;case'removeFormat':_0x504ab8['push'](_0x4bbb0e['key']);continue;default:_0x94baee['push'](_0x4bbb0e);}if(_0x36f818['length']){const _0x9b3d50=_0x36f818['map'](_0x95c96e=>this['_attributeLabels']['has'](_0x95c96e)?this['_attributeLabels']['get'](_0x95c96e):_0x95c96e)['join'](',\x20');_0x94baee['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Set\x20format:*\x20%0',_0x9b3d50)});}if(_0x504ab8['length']){const _0xbdd617=_0x504ab8['map'](_0x7857b4=>this['_attributeLabels']['has'](_0x7857b4)?this['_attributeLabels']['get'](_0x7857b4):_0x7857b4)['join'](',\x20');_0x94baee['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Remove\x20format:*\x20%0',_0xbdd617)});}return _0x94baee;}['_handleCustomCallbackDescription'](_0x246225){for(const _0x20072c of this['_customCallbacks']){const _0x1318ee=_0x20072c(_0x246225);if(_0x1318ee&&'type'in _0x1318ee)return _0x1318ee;}}['_handleAttributeSuggestionDescription'](_0x141a12,_0x43758b){const _0x5d5aa4=_0x43758b['data'],_0x29616c=void 0x0===_0x5d5aa4['newValue']?'removeFormat':'addFormat';_0x141a12['push']({'type':_0x29616c,'key':_0x5d5aa4['key']});}['_handleRenameSuggestionDescription'](_0x188b00,_0x53a1b3){_0x188b00['push']({'type':'format','content':getTranslation$1(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x53a1b3['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x37f000,_0x3f621b,_0x51c3e0){if(this['_addDescriptionItems'](_0x37f000,_0x3f621b),_0x51c3e0&&_0x51c3e0['getFirstRange']()&&!_0x3f621b['getFirstRange']()['end']['isEqual'](_0x51c3e0['getFirstRange']()['start'])){const _0x34e132=_0x37f000[_0x37f000['length']-0x1],_0x2cd601='insertion'==_0x3f621b['type']?'add':'remove';_0x34e132&&'text'==_0x34e132['type']&&(_0x34e132[_0x2cd601]+='\x0a');}}}class TrackChangesAIAssistant extends ckeditor5['Plugin']{['afterInit'](){const _0x55eb09=this['editor'],_0x588b8a=_0x55eb09['plugins']['get']('TrackChangesEditing');_0x55eb09['commands']['get']('showAIAssistant')&&_0x588b8a['enableCommand']('showAIAssistant');}}class _0x2e6f83 extends ckeditor5['Plugin']{['afterInit'](){const _0x188b95=this['editor'],_0x4597e9=_0x188b95['plugins']['get']('TrackChangesEditing');_0x188b95['commands']['get']('toggleAi')&&_0x4597e9['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends ckeditor5['Plugin']{['afterInit'](){const _0x41665c=this['editor'],_0x276ae0=_0x41665c['plugins']['get']('TrackChangesEditing');_0x41665c['commands']['get']('aiQuickAction')&&_0x276ae0['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends ckeditor5['Plugin']{['afterInit'](){const _0x4487ba=this['editor'],_0x4dc005=_0x4487ba['locale'];if(!_0x4487ba['plugins']['has']('AlignmentEditing'))return;const _0x8032f3=_0x4487ba['plugins']['get']('TrackChangesEditing');_0x8032f3['enableDefaultAttributesIntegration']('alignment'),_0x8032f3['descriptionFactory']['registerAttributeLabel']('alignment',getTranslation$1(_0x4dc005,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x595658=this['editor'],_0x206bfb=_0x595658['locale'];_0x595658['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x54b43c=>{if('formatBlock'!=_0x54b43c['type'])return;const {data:_0x489b5d}=_0x54b43c;if(_0x489b5d&&'alignment'==_0x489b5d['commandName']){const _0x5145a0=_0x489b5d['commandParams'][0x0]['value'];return{'type':'format','content':getTranslation$1(_0x206bfb,'*Format:*\x20%0',function(_0x3d82ed){switch(_0x3d82ed){case'left':return getTranslation$1(_0x206bfb,'FORMAT_ALIGN_TO_LEFT');case'right':return getTranslation$1(_0x206bfb,'FORMAT_ALIGN_TO_RIGHT');case'center':return getTranslation$1(_0x206bfb,'FORMAT_ALIGN_TO_CENTER');case'justify':return getTranslation$1(_0x206bfb,'FORMAT_JUSTIFY_TEXT');}}(_0x5145a0))};}});}}const basicStylesPlugins=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends ckeditor5['Plugin']{['afterInit'](){const _0x4776f3=this['editor'],_0x475ba6=_0x4776f3['plugins']['get']('TrackChangesEditing'),_0x46ba15=_0x4776f3['locale'];for(const _0x28813e of basicStylesPlugins){if(!_0x4776f3['plugins']['has'](_0x28813e))continue;const _0x55cf2d=_0x28813e['slice'](0x0,-0x7)['toLowerCase'](),_0x15a7bd='FORMAT_'+_0x55cf2d['toUpperCase']();_0x475ba6['enableDefaultAttributesIntegration'](_0x55cf2d),_0x475ba6['descriptionFactory']['registerAttributeLabel'](_0x55cf2d,getTranslation$1(_0x46ba15,_0x15a7bd));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x33258f=this['editor'],_0x2ce52c=_0x33258f['locale'],_0x5f33a0=_0x33258f['plugins']['get']('TrackChangesEditing');function _0x89d22a(_0x9aa01e,_0x3d8b91){_0x5f33a0['descriptionFactory']['registerDescriptionCallback'](_0x572464=>{if('formatInline'!=_0x572464['type'])return;const {data:_0x379d0d}=_0x572464;return _0x379d0d&&_0x379d0d['commandName']===_0x9aa01e?_0x379d0d['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x2ce52c,'*Format:*\x20%0',_0x3d8b91)}:{'type':'format','content':getTranslation$1(_0x2ce52c,'*Remove\x20format:*\x20%0',_0x3d8b91)}:void 0x0;});}_0x89d22a('bold',getTranslation$1(_0x2ce52c,'FORMAT_BOLD')),_0x89d22a('italic',getTranslation$1(_0x2ce52c,'FORMAT_ITALIC')),_0x89d22a('underline',getTranslation$1(_0x2ce52c,'FORMAT_UNDERLINE')),_0x89d22a('code',getTranslation$1(_0x2ce52c,'FORMAT_CODE')),_0x89d22a('strikethrough',getTranslation$1(_0x2ce52c,'FORMAT_STRIKETHROUGH')),_0x89d22a('subscript',getTranslation$1(_0x2ce52c,'FORMAT_SUBSCRIPT')),_0x89d22a('superscript',getTranslation$1(_0x2ce52c,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends ckeditor5['Plugin']{['afterInit'](){const _0x181aca=this['editor'],_0x571c37=_0x181aca['locale'];if(!_0x181aca['plugins']['has']('BlockQuoteEditing'))return;const _0x4a7fed=_0x181aca['plugins']['get']('TrackChangesEditing'),_0x4807cd=this['editor']['commands']['get']('blockQuote');_0x4a7fed['enableCommand']('blockQuote',(_0x420224,_0x3aca4e={})=>{const _0x33f9ab=this['editor']['model']['document']['selection'],_0x4cd298=_0x3aca4e&&void 0x0!==_0x3aca4e['forceValue']?_0x3aca4e['forceValue']:!_0x4807cd['value'];let _0xddac26=[];if(_0x4cd298){const _0x475316=Array['from'](_0x33f9ab['getSelectedBlocks']())['filter'](_0x2de7b2=>isInQuote(_0x2de7b2)||checkCanBeQuoted(_0x2de7b2,this['editor']['model']['schema']));_0xddac26=getRangesOfBlockGroups(_0x475316,_0x181aca['model']);}else{const _0x403fb9=Array['from'](_0x33f9ab['getSelectedBlocks']())['filter'](_0x4d0771=>isInQuote(_0x4d0771));_0xddac26=getRangesOfBlockGroups(_0x403fb9,_0x181aca['model']);}_0x181aca['model']['change'](()=>{for(const _0x10f553 of _0xddac26)_0x4a7fed['markBlockFormat'](_0x10f553,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x4cd298}]});});}),_0x4a7fed['descriptionFactory']['registerDescriptionCallback'](_0x2fe1fd=>{const {data:_0x2744d9}=_0x2fe1fd;if(_0x2744d9&&'blockQuote'==_0x2744d9['commandName']){const _0x2a4c33=getTranslation$1(_0x571c37,'ELEMENT_BLOCK_QUOTE');return _0x2744d9['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x571c37,'*Set\x20format:*\x20%0',_0x2a4c33)}:{'type':'format','content':getTranslation$1(_0x571c37,'*Remove\x20format:*\x20%0',_0x2a4c33)};}});}}function checkCanBeQuoted(_0x165b64,_0x2fa637){const _0x469161=_0x2fa637['checkChild'](_0x165b64['parent'],'blockQuote'),_0x39380d=_0x2fa637['checkChild'](['$root','blockQuote'],_0x165b64);return _0x469161&&_0x39380d;}function isInQuote(_0x3c7fa0){return'blockQuote'==_0x3c7fa0['parent']['name'];}class _0x2c7a7f extends ckeditor5['Plugin']{['afterInit'](){const _0x534201=this['editor'],_0x563852=_0x534201['locale'],_0x51f3b2=_0x534201['plugins']['get']('TrackChangesEditing');_0x534201['plugins']['has']('BookmarkEditing')&&(_0x51f3b2['enableCommand']('insertBookmark'),_0x51f3b2['enableDefaultAttributesIntegration']('updateBookmark'),_0x51f3b2['descriptionFactory']['registerDescriptionCallback'](_0x3a57f8=>{if('insertion'!=_0x3a57f8['type']&&'deletion'!=_0x3a57f8['type']&&'attribute'!=_0x3a57f8['type'])return;const _0x1e3d89=_0x3a57f8['getContainedElement']();if(null==_0x1e3d89)return;if(!_0x1e3d89['is']('element','bookmark'))return;const _0x1757bc=_0x1e3d89['getAttribute']('bookmarkId');if('insertion'==_0x3a57f8['type'])return{'type':'insertion','content':getTranslation$1(_0x563852,'*Insert:*\x20%0','\x22'+_0x1757bc+'\x22\x20'+getTranslation$1(_0x563852,'ELEMENT_BOOKMARK'))};if('deletion'==_0x3a57f8['type'])return{'type':'deletion','content':getTranslation$1(_0x563852,'*Remove:*\x20%0','\x22'+_0x1757bc+'\x22\x20'+getTranslation$1(_0x563852,'ELEMENT_BOOKMARK'))};const {data:_0x5ae7c4}=_0x3a57f8;if(!_0x5ae7c4||'bookmarkId'!=_0x5ae7c4['key'])return;return{'type':'format','content':getTranslation$1(_0x563852,'*Set\x20bookmark:*\x20%0','\x22'+_0x5ae7c4['newValue']+'\x22')};}));}}class _0x1d74f2 extends ckeditor5['Plugin']{['afterInit'](){const _0x5940b2=this['editor'];_0x5940b2['plugins']['has']('CaseChange')&&(_0x5940b2['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x5940b2['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x5940b2['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0x3aec7c extends ckeditor5['Plugin']{['afterInit'](){const _0xe8c6db=this['editor'];_0xe8c6db['commands']['get']('ckbox')&&_0xe8c6db['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x112369 extends ckeditor5['Plugin']{['afterInit'](){const _0x476914=this['editor'];if(!_0x476914['plugins']['has']('CodeBlock'))return;const _0x590be8=_0x476914['plugins']['get']('TrackChangesEditing'),_0x395e6c=_0x476914['locale'],_0x310f08=_0x476914['config']['get']('codeBlock')['languages'],_0x47299b=_0x476914['commands']['get']('codeBlock');_0x590be8['enableCommand']('indentCodeBlock'),_0x590be8['enableCommand']('outdentCodeBlock'),_0x590be8['enableCommand']('codeBlock',(_0x16b291,_0xecc6bd={})=>{const _0x383371=_0x476914['model'],_0x4aa3d4=_0x476914['model']['document']['selection'],_0x20eea5=_0xecc6bd&&void 0x0!==_0xecc6bd['forceValue']?_0xecc6bd['forceValue']:!_0x47299b['value'];let _0x34f8cc;_0xecc6bd['language']||(_0xecc6bd['language']=_0x310f08[0x0]['language']),_0x34f8cc=_0x20eea5?Array['from'](_0x4aa3d4['getSelectedBlocks']())['filter'](_0x2df7b8=>_0x270f10(_0x2df7b8)||_0x160abf(_0x2df7b8,_0x383371['schema'])):Array['from'](_0x4aa3d4['getSelectedBlocks']())['filter'](_0x4d8aa8=>_0x270f10(_0x4d8aa8));const _0x50bf02=getRangesOfBlockGroups(_0x34f8cc,_0x383371);_0x383371['change'](()=>{for(const _0x11bb07 of _0x50bf02)_0x590be8['markBlockFormat'](_0x11bb07,{'commandName':'codeBlock','commandParams':[{..._0xecc6bd,'forceValue':_0x20eea5}],'formatGroupId':'blockName'});});}),(_0x590be8['descriptionFactory']['registerElementLabel']('codeBlock',_0x58bbe0=>getTranslation$1(_0x395e6c,'ELEMENT_CODE_BLOCK',_0x58bbe0)),_0x590be8['descriptionFactory']['registerDescriptionCallback'](_0x4f9f4d=>{if('formatBlock'!=_0x4f9f4d['type'])return;const _0x5d2113=_0x395e6c['t'],{data:_0x36331c}=_0x4f9f4d;if(!_0x36331c||'codeBlock'!=_0x36331c['commandName'])return;const _0x54c781=_0x36331c['commandParams'][0x0]['language'],_0x5057bc=_0x310f08['find'](_0x474a4d=>_0x474a4d['language']===_0x54c781)['label'],_0x5a8f4b=_0x5d2113(_0x5057bc)['toLowerCase']();return _0x36331c['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x395e6c,'*Set\x20format:*\x20%0',getTranslation$1(_0x395e6c,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x5a8f4b+')')}:{'type':'format','content':getTranslation$1(_0x395e6c,'*Remove\x20format:*\x20%0',getTranslation$1(_0x395e6c,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0x160abf(_0x46696d,_0x2b29a2){return!_0x46696d['is']('rootElement')&&!_0x2b29a2['isLimit'](_0x46696d)&&_0x2b29a2['checkChild'](_0x46696d['parent'],'codeBlock');}function _0x270f10(_0x520802){return'codeBlock'==_0x520802['name'];}class TrackChangesComments extends ckeditor5['Plugin']{['afterInit'](){const _0x1d4aae=this['editor'];if(!_0x1d4aae['plugins']['has']('CommentsEditing'))return;_0x1d4aae['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Delete']];}['init'](){const _0x253133=this['editor'],_0xd104a7=_0x253133['plugins']['get']('TrackChangesEditing');_0xd104a7['enableCommand']('delete');const _0x2790b0=_0x253133['commands']['get']('deleteForward');_0xd104a7['enableCommand']('deleteForward',(_0x37dac1,_0xca21e2={})=>{const _0x3a7e94=_0x253133['model']['createSelection'](_0x253133['model']['document']['selection']);_0x3a7e94['isCollapsed']&&_0x253133['model']['modifySelection'](_0x3a7e94,{'direction':'forward','unit':_0xca21e2['unit']});const _0x5c1091=_0x3a7e94['getFirstRange'](),_0x4c8199=ckeditor5['ModelLiveRange']['fromRange'](_0x5c1091);let _0x579acc;_0x37dac1(_0xca21e2),_0x579acc='$graveyard'==_0x4c8199['root']['rootName']?_0x253133['model']['createRange'](_0x5c1091['start']):_0x253133['model']['createRange'](_0x4c8199['start'],_0x4c8199['end']),_0x4c8199['detach'](),_0x253133['model']['enqueueChange'](_0x2790b0['buffer']['batch'],_0x108056=>{_0x2790b0['buffer']['lock'](),_0x108056['setSelection'](_0x108056['createRange'](_0x579acc['end'])),_0x2790b0['buffer']['unlock']();});});}}class TrackChangesList extends ckeditor5['Plugin']{['afterInit'](){const _0x2298ff=this['editor'];if(!_0x2298ff['plugins']['has']('ListEditing'))return;const _0x38bc09=_0x2298ff['locale'],_0x1cbeba=_0x2298ff['plugins']['get']('TrackChangesEditing'),_0x2c14c8=_0x2298ff['plugins']['has']('TodoListEditing'),_0x21c807=!!_0x2298ff['config']['get']('list.multiBlock');function _0x25a5b3(_0x1f6eed){return{'type':'format','content':''+getTranslation$1(_0x38bc09,'*Set\x20format:*\x20%0',_0x1f6eed)};}function _0x1d22ed(_0x5a480d){return{'type':'format','content':''+getTranslation$1(_0x38bc09,'*Remove\x20format:*\x20%0',_0x5a480d)};}_0x1cbeba['enableDefaultAttributesIntegration']('numberedList'),_0x1cbeba['enableDefaultAttributesIntegration']('bulletedList'),_0x1cbeba['enableDefaultAttributesIntegration']('customNumberedList'),_0x1cbeba['enableDefaultAttributesIntegration']('customBulletedList'),_0x1cbeba['enableDefaultAttributesIntegration']('indentList'),_0x1cbeba['enableDefaultAttributesIntegration']('outdentList'),_0x1cbeba['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x1cbeba['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x21c807&&(_0x1cbeba['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x1cbeba['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x2c14c8&&(_0x1cbeba['enableDefaultAttributesIntegration']('todoList'),_0x1cbeba['enableDefaultAttributesIntegration']('checkTodoList'),_0x1cbeba['descriptionFactory']['registerDescriptionCallback'](_0x28737a=>{const {data:_0x4a6ad5}=_0x28737a;if(_0x4a6ad5&&'todoListChecked'==_0x4a6ad5['key'])return{'type':'format','content':_0x4a6ad5['newValue']?getTranslation$1(_0x38bc09,'*Check\x20item*'):getTranslation$1(_0x38bc09,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x15862b=>{if(_0x15862b['batch']['isUndo'])return!0x1;let _0x45b23c=!0x1;const _0x5461b8=_0x1cbeba['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x84c304=>'todoListChecked'===_0x1cbeba['_getAttributeKey'](_0x84c304));for(const _0xb65fe5 of _0x5461b8){'todo'!=_0xb65fe5['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x1cbeba['_findSuggestions'](_0xb65fe5['getFirstRange'](),'attribute')['find'](_0x42d094=>'listType'===_0x1cbeba['_getAttributeKey'](_0x42d094['suggestion']))||(_0x15862b['removeMarker'](_0xb65fe5['getFirstMarker']()),_0x45b23c=!0x0));}return _0x45b23c;})),_0x1cbeba['descriptionFactory']['registerAttributeLabel']('listIndent',getTranslation$1(_0x38bc09,'FORMAT_INDENT'));const _0x34b4cc={'type':'format','content':''};_0x1cbeba['descriptionFactory']['registerDescriptionCallback'](_0x329e41=>{const {data:_0x683de8}=_0x329e41;if(!_0x683de8||'listType'!=_0x683de8['key'])return;let _0x5b4bf2=_0x329e41['head'];for(;_0x5b4bf2;){if(_0x5b4bf2['data']&&(('listStyle'==_0x5b4bf2['data']['key']||'listMarkerStyle'==_0x5b4bf2['data']['key'])&&(_0x5b4bf2['data']['newValue']&&'default'!=_0x5b4bf2['data']['newValue']||'default'!=_0x5b4bf2['data']['oldValue']&&!_0x683de8['newValue'])||!_0x21c807&&_0x5b4bf2['data']['key']==renameAttributeKey))return _0x34b4cc;_0x5b4bf2=_0x5b4bf2['next'];}if(null==_0x683de8['newValue'])switch(_0x683de8['oldValue']){case'bulleted':return _0x1d22ed(getTranslation$1(_0x38bc09,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x1d22ed(getTranslation$1(_0x38bc09,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x1d22ed(getTranslation$1(_0x38bc09,'ELEMENT_TODO_LIST'));}switch(_0x683de8['newValue']){case'bulleted':return _0x25a5b3(getTranslation$1(_0x38bc09,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x25a5b3(getTranslation$1(_0x38bc09,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x25a5b3(getTranslation$1(_0x38bc09,'ELEMENT_TODO_LIST'));}}),_0x1cbeba['descriptionFactory']['registerDescriptionCallback'](_0x6ba962=>{const {data:_0x4f2d61}=_0x6ba962;if(_0x4f2d61&&'listIndent'==_0x4f2d61['key'])return null==_0x4f2d61['newValue']||null==_0x4f2d61['oldValue']&&0x0==_0x4f2d61['newValue']?_0x34b4cc:void 0x0;}),_0x1cbeba['descriptionFactory']['registerDescriptionCallback'](_0x543c80=>{if('attribute'!=_0x543c80['type'])return;const {data:_0x1e75e5}=_0x543c80;if(!_0x1e75e5||'listItemId'!=_0x1e75e5['key'])return;const _0x28a191=checkSiblingsListItemId(_0x543c80);return'newValue'==_0x28a191?{'type':'format','content':getTranslation$1(_0x38bc09,'*Merge:*\x20list\x20item')}:'oldValue'==_0x28a191?{'type':'format','content':getTranslation$1(_0x38bc09,'*Split:*\x20list\x20item')}:_0x34b4cc;}),_0x2298ff['model']['document']['registerPostFixer'](_0x376b4f=>this['listItemIdFixer'](_0x376b4f)),_0x2298ff['model']['document']['registerPostFixer'](_0x296dd7=>this['noTrackChangesFixer'](_0x296dd7)),_0x2298ff['model']['document']['on']('change:data',(_0x3bf5d1,_0x189696)=>{if(_0x189696['isUndo']||!_0x189696['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x3cac91){if(_0x3cac91['batch']['isUndo']||!_0x3cac91['batch']['isLocal'])return!0x1;let _0x4dcb34=!0x1;const _0x3c9e21=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5c8eef=>_0x5c8eef['data']&&'listItemId'==_0x5c8eef['data']['key'])['filter'](_0x129981=>_0x129981['data']['newValue']&&_0x129981['data']['oldValue']);for(const _0x4e0e88 of _0x3c9e21)checkSiblingsListItemId(_0x4e0e88)||(_0x3cac91['removeMarker'](_0x4e0e88['getFirstMarker']()),_0x4dcb34=!0x0);return _0x4dcb34;}['noTrackChangesFixer'](_0x83378e){if(_0x83378e['batch']['isUndo']||!_0x83378e['batch']['isLocal'])return!0x1;const _0x1627ce=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x1627ce['trackChangesCommand']['value'])return!0x1;let _0xe910ab=!0x1;const _0x521a93=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x2a779f=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x27b850=>'attribute'==_0x27b850['type'])['filter'](_0x43bfd5=>_0x521a93['includes'](_0x43bfd5['attributeKey']));if(0x0==_0x2a779f['length'])return _0xe910ab;for(const _0x2b1b53 of _0x2a779f){const _0x2d5c81=_0x1627ce['_findSuggestions'](_0x2b1b53['range'],'attribute')['filter'](_0x3581c3=>!_0x3581c3['meta']['isNextTo'])['map'](_0x388f25=>_0x388f25['suggestion'])['filter'](_0x2fd12c=>{const _0x21b8e6=_0x1627ce['_getAttributeKey'](_0x2fd12c);return _0x521a93['includes'](_0x21b8e6);});if(_0x2d5c81['length']){for(const _0x56b333 of _0x2d5c81)_0x83378e['removeMarker'](_0x56b333['getFirstMarker']());_0xe910ab=!0x0;}}return _0xe910ab;}['assureChains'](){const _0x387b75=this['editor']['plugins']['get']('TrackChangesEditing'),_0x499f5f=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x74dfb;const _0x14d847=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x3cd9fa=>{if(_0x3cd9fa['data']['oldRange']||!_0x3cd9fa['data']['newRange'])return null;if(!_0x3cd9fa['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x2d59d7}=_0x387b75['_splitMarkerName'](_0x3cd9fa['name']);if(!_0x387b75['hasSuggestion'](_0x2d59d7))return null;const _0xad554a=_0x387b75['getSuggestion'](_0x2d59d7);return _0x499f5f['includes'](_0xad554a['data']['key']);})['map'](_0x532a3c=>{const {id:_0x4ef8c1}=_0x387b75['_splitMarkerName'](_0x532a3c['name']),_0x452289=_0x387b75['getSuggestion'](_0x4ef8c1);return _0x74dfb=_0x452289['attributes']['groupId'],_0x452289['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x14d847['size'])return;const _0x13a1e7=_0x387b75['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x58c634=>'attribute'==_0x58c634['type']&&_0x58c634['data']&&_0x499f5f['includes'](_0x58c634['data']['key'])&&_0x58c634['attributes']['groupId']!=_0x74dfb)['map'](_0x137d7b=>({'listItem':_0x137d7b['getFirstRange']()['start']['nodeAfter'],'groupId':_0x137d7b['attributes']['groupId']})),_0x23ef58=new Set();for(const {groupId:_0x2647c2,listItem:_0xdba0bd}of _0x13a1e7)_0x14d847['has'](_0xdba0bd)&&_0x23ef58['add'](_0x2647c2);for(const _0x48d673 of _0x387b75['getSuggestions']())_0x23ef58['has'](_0x48d673['attributes']['groupId'])&&_0x48d673['setAttribute']('groupId',_0x74dfb);}['_supportLegacySuggestions'](){const _0x16e97e=this['editor'],_0x446d9d=_0x16e97e['locale'],_0x388c23=_0x16e97e['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x388c23['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x2c8b13,_0x1ba85d){const _0x1b8a1e=[];for(let _0x4bcb56 of _0x2c8b13)_0x4bcb56['start']['nodeAfter']===_0x4bcb56['end']['parent']&&(_0x4bcb56=_0x16e97e['model']['createRange'](_0x16e97e['model']['createPositionAt'](_0x4bcb56['start']['nodeAfter'],0x0))),_0x1b8a1e['push'](_0x4bcb56);_0x16e97e['model']['change'](_0x3a1139=>{const _0x146148=_0x16e97e['model']['document']['selection'],_0x563331=Array['from'](_0x146148['getRanges']())['map'](_0x1fc780=>ckeditor5['ModelLiveRange']['fromRange'](_0x1fc780));_0x3a1139['setSelection'](_0x1b8a1e),_0x16e97e['commands']['get'](_0x1ba85d['commandName'])['refresh'](),_0x1ba85d['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x16e97e['execute'](_0x1ba85d['commandName'],..._0x1ba85d['commandParams']),_0x3a1139['setSelection'](_0x563331);for(const _0x5dcffb of _0x563331)_0x5dcffb['detach']();});}),_0x388c23['descriptionFactory']['registerElementLabel'](function(_0x2d6691){const _0x4cfa42=!_0x16e97e['model']['schema']['isObject'](_0x2d6691),_0xd85660=_0x2d6691['previousSibling'],_0xc4e0c5=_0x2d6691['nextSibling'],_0x1eaa5d=_0x2d6691['getAttribute']('listItemId'),_0x55070c=!_0xd85660||_0xd85660['getAttribute']('listItemId')!==_0x1eaa5d,_0xe1f6ee=!_0xc4e0c5||_0xc4e0c5['getAttribute']('listItemId')!==_0x1eaa5d;return _0x4cfa42&&Boolean(_0x1eaa5d)&&_0x55070c&&_0xe1f6ee;},_0x5c8220=>getTranslation$1(_0x446d9d,'ELEMENT_LIST_ITEM',_0x5c8220));}['_registerLegacyDescription'](){const _0x1b1ba8=this['editor'],_0x3bfe4b=_0x1b1ba8['locale'];function _0x55fcf6(_0x4f3861){const _0x729428=_0x1b1ba8['commands']['get']('bulletedList')['value'],_0x329c49=_0x1b1ba8['commands']['get']('numberedList')['value'];return'numberedList'===_0x4f3861?_0x729428:_0x329c49;}_0x1b1ba8['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x17539b){if('formatBlock'!=_0x17539b['type'])return;const {data:_0x180ddc}=_0x17539b;if(!_0x180ddc)return;let _0xcf99f0,_0x30f6ee,_0x386819,_0x48b5ab;switch(_0x180ddc['commandName']){case'bulletedList':_0x386819=_0x180ddc['commandParams'][0x0]['forceValue'],_0x48b5ab=_0x55fcf6(_0x180ddc['commandName']),_0xcf99f0=_0x386819?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x48b5ab&&_0x1b1ba8['config']['get']('list.multiBlock')||(_0xcf99f0='*Change\x20to:*\x20%0'),_0x30f6ee={'type':'format','content':getTranslation$1(_0x3bfe4b,_0xcf99f0,getTranslation$1(_0x3bfe4b,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x386819=_0x180ddc['commandParams'][0x0]['forceValue'],_0x48b5ab=_0x55fcf6(_0x180ddc['commandName']),_0xcf99f0=_0x386819?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x48b5ab&&_0x1b1ba8['config']['get']('list.multiBlock')||(_0xcf99f0='*Change\x20to:*\x20%0'),_0x30f6ee={'type':'format','content':getTranslation$1(_0x3bfe4b,_0xcf99f0,getTranslation$1(_0x3bfe4b,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0xcf99f0='*Indent:*\x20%0',_0x30f6ee={'type':'format','content':getTranslation$1(_0x3bfe4b,_0xcf99f0,getTranslation$1(_0x3bfe4b,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0xcf99f0=function(_0x52dc4e){const _0x46ee0a=_0x52dc4e['getFirstRange']();let _0x4a6cd9=_0x46ee0a['start']['nodeAfter'];for(;_0x4a6cd9&&_0x46ee0a['containsItem'](_0x4a6cd9);){if(_0x4a6cd9['getAttribute']('listIndent')>0x0)return!0x1;_0x4a6cd9=_0x4a6cd9['nextSibling'];}return!0x0;}(_0x17539b)?getTranslation$1(_0x3bfe4b,'*Format:*\x20remove\x20from\x20%0',getTranslation$1(_0x3bfe4b,function(_0x1cfc78){return'ELEMENT_'+_0x1cfc78['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x17539b))):getTranslation$1(_0x3bfe4b,'*Outdent:*\x20%0',getTranslation$1(_0x3bfe4b,'ELEMENT_LIST_ITEM')),_0x30f6ee={'type':'format','content':_0xcf99f0};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x180ddc['multipleBlocks']&&(_0xcf99f0='*Merge:*\x20%0',_0x30f6ee={'type':'deletion','content':getTranslation$1(_0x3bfe4b,_0xcf99f0,getTranslation$1(_0x3bfe4b,'ELEMENT_LIST_ITEM'))});}return _0x30f6ee;});}}function checkSiblingsListItemId(_0x3f9c06){let _0x26f8a7=_0x3f9c06['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x26f8a7;){const _0x104cb3=_0x26f8a7['getAttribute']('listItemId');if(!_0x104cb3)return!0x1;if(_0x104cb3==_0x3f9c06['data']['newValue'])return'newValue';if(_0x104cb3==_0x3f9c06['data']['oldValue'])return'oldValue';_0x26f8a7=_0x26f8a7['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x31b335=this['editor']['config']['get']('list.properties'),_0x3d3a19=this['editor']['plugins']['get']('TrackChangesEditing');_0x31b335['styles']&&_0x3d3a19['enableDefaultAttributesIntegration']('listStyle'),_0x31b335['reversed']&&_0x3d3a19['enableDefaultAttributesIntegration']('listReversed'),_0x31b335['startIndex']&&_0x3d3a19['enableDefaultAttributesIntegration']('listStart');const _0x14f0a9={'type':'format','content':''};_0x3d3a19['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x32795d=this['editor']['locale'];_0x3d3a19['descriptionFactory']['registerAttributeLabel']('listReversed',getTranslation$1(_0x32795d,'FORMAT_LIST_REVERSED')),_0x3d3a19['descriptionFactory']['registerDescriptionCallback'](_0x31c5bf=>{const {data:_0x3d8098}=_0x31c5bf;if(_0x3d8098&&'listReversed'==_0x3d8098['key'])return null==_0x3d8098['newValue']||0x0==_0x3d8098['newValue']&&null==_0x3d8098['oldValue']?_0x14f0a9:void 0x0;}),_0x3d3a19['descriptionFactory']['registerAttributeLabel']('listStart',getTranslation$1(_0x32795d,'FORMAT_LIST_START')),_0x3d3a19['descriptionFactory']['registerDescriptionCallback'](_0x444b7e=>{const {data:_0x5a6e0e}=_0x444b7e;if(_0x5a6e0e&&'listStart'==_0x5a6e0e['key'])return null==_0x5a6e0e['newValue']||0x1==_0x5a6e0e['newValue']&&null==_0x5a6e0e['oldValue']?_0x14f0a9:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x488984=>{if(_0x488984['batch']['isUndo'])return!0x1;let _0x922d8a=!0x1;const _0x13f491=_0x3d3a19['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x288a49=>{const _0x48465a=_0x3d3a19['_getAttributeKey'](_0x288a49);return'listStart'==_0x48465a||'listReversed'==_0x48465a;});for(const _0x5bf78d of _0x13f491){const _0x2179af=_0x5bf78d['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x2179af||'customNumbered'==_0x2179af)continue;_0x3d3a19['_findSuggestions'](_0x5bf78d['getFirstRange'](),'attribute')['find'](_0x3286d=>'listType'==_0x3d3a19['_getAttributeKey'](_0x3286d['suggestion']))||(_0x488984['removeMarker'](_0x5bf78d['getFirstMarker']()),_0x922d8a=!0x0);}return _0x922d8a;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x233f03){const _0x3ac867=this['editor']['locale'],{data:_0x5b7543}=_0x233f03,_0x8ab805={'type':'format','content':''};if(!_0x5b7543||'listStyle'!=_0x5b7543['key'])return;if(!_0x5b7543['oldValue'])return'default'==_0x5b7543['newValue']?_0x8ab805:{'type':'format','content':''+getTranslation$1(_0x3ac867,'*Set\x20format:*\x20%0',getTranslation$1(_0x3ac867,this['_getTranslationKeyForListStyle'](_0x5b7543['newValue'])))};if(!_0x5b7543['newValue']){if('default'==_0x5b7543['oldValue'])return _0x8ab805;let _0x3d49ba=_0x233f03['head'];for(;_0x3d49ba;){if(_0x3d49ba['data']&&'listType'==_0x3d49ba['data']['key']&&_0x3d49ba['data']['newValue'])return _0x8ab805;_0x3d49ba=_0x3d49ba['next'];}return{'type':'format','content':''+getTranslation$1(_0x3ac867,'*Remove\x20format:*\x20%0',getTranslation$1(_0x3ac867,this['_getTranslationKeyForListStyle'](_0x5b7543['oldValue'])))};}if('default'!=_0x5b7543['newValue'])return{'type':'format','content':''+getTranslation$1(_0x3ac867,'*Set\x20format:*\x20%0',getTranslation$1(_0x3ac867,this['_getTranslationKeyForListStyle'](_0x5b7543['newValue'])))};let _0x140514=_0x233f03['head'];for(;_0x140514;){if(_0x140514['data']&&'listType'==_0x140514['data']['key']&&_0x140514['data']['newValue']&&_0x140514['data']['oldValue'])return _0x8ab805;_0x140514=_0x140514['next'];}return{'type':'format','content':getTranslation$1(_0x3ac867,'*Set\x20format:*\x20%0',getTranslation$1(_0x3ac867,'ELEMENT_'+_0x233f03['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x29711e=this['editor'],_0x53dafa=_0x29711e['locale'];_0x29711e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5a4472=>{if('formatBlock'!=_0x5a4472['type'])return;const {data:_0x162c30}=_0x5a4472;if(!_0x162c30)return;let _0x4ae728,_0x59b2ba;switch(_0x162c30['commandName']){case'listStyle':_0x4ae728='*Change\x20to:*\x20%0',_0x59b2ba={'type':'format','content':getTranslation$1(_0x53dafa,_0x4ae728,getTranslation$1(_0x53dafa,this['_getTranslationKeyForListStyle'](_0x162c30['commandParams'][0x0]['type'])))};break;case'listReversed':_0x4ae728=_0x162c30['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x59b2ba={'type':'format','content':getTranslation$1(_0x53dafa,_0x4ae728)};break;case'listStart':_0x4ae728='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x59b2ba={'type':'format','content':getTranslation$1(_0x53dafa,_0x4ae728,_0x162c30['commandParams'][0x0]['startIndex'])};}return _0x59b2ba;});}['_getTranslationKeyForListStyle'](_0xed73e1){return'ELEMENT_'+getListTypeFromListStyleType(_0xed73e1)['toUpperCase']()+'_LIST_'+_0xed73e1['toUpperCase']()['replace'](/-/g,'_');}}const _0xb12d70=['disc','circle','square'],_0x226ff0=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];function getListTypeFromListStyleType(_0x245041){return _0xb12d70['includes'](_0x245041)?'bulleted':_0x226ff0['includes'](_0x245041)?'numbered':null;}class _0x2bd7ae extends ckeditor5['Plugin']{['afterInit'](){const _0x494139=this['editor'];_0x494139['commands']['get']('emoji')&&_0x494139['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Enter']];}['init'](){const _0x119749=this['editor'],_0x1d36d9=_0x119749['plugins']['get']('TrackChangesEditing'),_0x255d82=_0x119749['commands']['get']('enter');_0x1d36d9['enableCommand']('enter',()=>{_0x119749['model']['change'](_0x404cce=>{const _0x4f1e7f=_0x119749['model']['document']['selection'],_0x2b7e87=_0x4f1e7f['getFirstPosition'](),_0x2b6bb7=ckeditor5['ModelLiveRange']['fromRange'](_0x4f1e7f['getFirstRange']());if(_0x255d82['enterBlock'](_0x404cce)){const _0x28650d=_0x119749['model']['createPositionAt'](_0x2b7e87['parent']['nextSibling'],0x0),_0x423c75=_0x404cce['createRange'](_0x2b7e87,_0x28650d);_0x1d36d9['markInsertion'](_0x423c75);}else _0x404cce['setSelection'](_0x404cce['createRange'](_0x2b6bb7['end']));_0x2b6bb7['detach'](),_0x255d82['fire']('afterExecute',{'writer':_0x404cce});});});}}class _0x5ebc78 extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x44a58c=this['editor']['plugins']['get']('TrackChangesEditing');_0x44a58c['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x44a58c['enableCommand']('findNext'),_0x44a58c['enableCommand']('findPrevious'),_0x44a58c['enableCommand']('replace'),_0x44a58c['enableCommand']('replaceAll');}['handleFindCommand'](_0x5e6b12,_0x1d4a92,_0x373c0a={}){const _0x19b9f5=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x5e6b12(_0x530291=>{let _0x2b343d=('string'==typeof _0x1d4a92?_0x19b9f5['findByTextCallback'](_0x1d4a92,_0x373c0a):_0x1d4a92)(_0x530291);Array['isArray'](_0x2b343d)&&(_0x2b343d={'results':_0x2b343d,'searchText':'string'==typeof _0x1d4a92?_0x1d4a92:''});const _0x47c2b2=_0x2b343d['results']['filter'](_0x51eb8f=>!0x1===this['_isInDeletionRange'](_0x51eb8f,_0x530291['item']));return{..._0x2b343d,'results':_0x47c2b2};},_0x373c0a);}['_isInDeletionRange'](_0x6abdaa,_0x1d8d8a){const _0x1d890b=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x1d8d8a,_0x6abdaa['start']),this['editor']['model']['createPositionAt'](_0x1d8d8a,_0x6abdaa['end']));for(const _0x5bf7c9 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x1d890b['getIntersection'](_0x5bf7c9['getRange']()))return!0x0;return!0x1;}}const fontPlugins=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends ckeditor5['Plugin']{['afterInit'](){const _0x386fbc=this['editor']['locale'],_0x17bf8d=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x32558c,commandName:_0x3ece0e}of fontPlugins)this['editor']['plugins']['has'](_0x32558c)&&_0x17bf8d['enableDefaultAttributesIntegration'](_0x3ece0e);_0x17bf8d['descriptionFactory']['registerAttributeLabel']('fontSize',getTranslation$1(_0x386fbc,'FORMAT_FONT_SIZE')),_0x17bf8d['descriptionFactory']['registerAttributeLabel']('fontFamily',getTranslation$1(_0x386fbc,'FORMAT_FONT_FAMILY')),_0x17bf8d['descriptionFactory']['registerAttributeLabel']('fontColor',getTranslation$1(_0x386fbc,'FORMAT_FONT_COLOR')),_0x17bf8d['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',getTranslation$1(_0x386fbc,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x152ae3=this['editor'],_0xd141b1=_0x152ae3['locale'];_0x152ae3['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x353b12=>{const _0x40ce40=_0xd141b1['t'];if('formatInline'!=_0x353b12['type'])return;const {data:_0x1f450f}=_0x353b12;if(null!=_0x1f450f){if('fontSize'==_0x1f450f['commandName']){const _0x3df2f1=_0x1f450f['commandParams'][0x0]['value'];if(_0x3df2f1){const _0x698f9d=_0x40ce40(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x51068c=>_0x51068c['model']==_0x3df2f1)['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0xd141b1,'*Set\x20font\x20size:*\x20%0',_0x698f9d)};}return{'type':'format','content':getTranslation$1(_0xd141b1,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x1f450f['commandName']){const _0x25fd10=_0x1f450f['commandParams'][0x0]['value'];return _0x25fd10?{'type':'format','content':getTranslation$1(_0xd141b1,'*Set\x20font\x20family:*\x20%0',_0x25fd10)}:{'type':'format','content':getTranslation$1(_0xd141b1,'*Reset\x20font\x20family*')};}if('fontColor'==_0x1f450f['commandName']){const _0x4bdc9a=_0x1f450f['commandParams'][0x0]['value'];if(_0x4bdc9a){const _0x438a2b=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x585f5c=>_0x585f5c['model']==_0x4bdc9a);let _0x38277e=_0x4bdc9a,_0x573f81='';return _0x438a2b&&(_0x38277e=_0x438a2b['label'],_0x573f81=_0x40ce40(_0x38277e)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0xd141b1,'*Set\x20font\x20color:*\x20%0',_0x573f81)['trim'](),'color':{'value':_0x4bdc9a,'title':_0x573f81||_0x38277e}};}return{'type':'format','content':getTranslation$1(_0xd141b1,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x1f450f['commandName']){const _0x421acb=_0x1f450f['commandParams'][0x0]['value'];if(_0x421acb){const _0x3ba447=ckeditor5['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x461ceb=>_0x461ceb['model']==_0x421acb);let _0xacc5b4=_0x421acb,_0x500f44='';return _0x3ba447&&(_0xacc5b4=_0x3ba447['label'],_0x500f44=_0x40ce40(_0xacc5b4)['toLowerCase']()),{'type':'format','content':getTranslation$1(_0xd141b1,'*Set\x20font\x20background\x20color:*\x20%0',_0x500f44)['trim'](),'color':{'value':_0x421acb,'title':_0x500f44||_0xacc5b4}};}return{'type':'format','content':getTranslation$1(_0xd141b1,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends ckeditor5['Plugin']{['afterInit'](){const {plugins:_0x320e97}=this['editor'];_0x320e97['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x320e97['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x42c03a,plugins:_0x5aebe1,commands:_0x46d9dd}=this['editor'],_0x4a9519=_0x5aebe1['get']('TrackChangesEditing');_0x46d9dd['get']('footnotesStyle')&&_0x4a9519['enableDefaultAttributesIntegration']('footnotesStyle'),_0x46d9dd['get']('footnotesStart')&&_0x4a9519['enableDefaultAttributesIntegration']('footnotesStart'),_0x4a9519['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',getTranslation$1(_0x42c03a,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x4a9519['descriptionFactory']['registerAttributeLabel']('footnotesListStart',getTranslation$1(_0x42c03a,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x4eaa12=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x42c9e4,commands:_0x2aed57}=this['editor'];_0x2aed57['get']('insertFootnote')&&_0x4eaa12['enableCommand']('insertFootnote'),_0x4eaa12['descriptionFactory']['registerElementLabel']('footnoteRef',_0x24358e=>getTranslation$1(_0x42c9e4,'ELEMENT_FOOTNOTE_REF',_0x24358e)),_0x4eaa12['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x359f29=>getTranslation$1(_0x42c9e4,'ELEMENT_FOOTNOTE_DEFINITION',_0x359f29)),_0x4eaa12['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x11da38=>getTranslation$1(_0x42c9e4,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x11da38));}}class TrackChangesFormatPainter extends ckeditor5['Plugin']{['afterInit'](){const _0x5d0e7e=this['editor'],_0x28c631=_0x5d0e7e['plugins']['get']('TrackChangesEditing'),_0x5bd1e0=_0x5d0e7e['commands']['get']('copyFormat'),_0x3c2003=_0x5d0e7e['commands']['get']('pasteFormat');_0x5bd1e0&&_0x3c2003&&(_0x28c631['enableDefaultAttributesIntegration']('pasteFormat'),_0x28c631['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x4162c3=this['editor'],_0x59beff=_0x4162c3['locale'];_0x4162c3['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3cf2e4=>{if('formatBlock'!=_0x3cf2e4['type']&&'formatInline'!=_0x3cf2e4['type'])return;const {data:_0x1aab0b}=_0x3cf2e4;if(_0x1aab0b&&'pasteFormat'===_0x1aab0b['commandName']){const _0x353795=[],_0x3607b0=_0x1aab0b['commandParams'][0x0];for(const [_0x2c3f09,_0x18b5e5]of Object['entries'](_0x3607b0))_0x353795['push'](translateFormatting(_0x4162c3,_0x2c3f09,_0x18b5e5));return _0x353795['length']?{'type':'format','content':getTranslation$1(_0x59beff,'*Set\x20format\x20to:*\x20%0',_0x353795['join'](',\x20'))}:{'type':'format','content':getTranslation$1(_0x59beff,'*Remove\x20all\x20formatting*')};}});}}function translateFormatting(_0x28aabf,_0xaf8f69,_0x436d47){const _0x2ffddd=_0x28aabf['locale']['t'],_0x4d0214=_0xaf8f69['split'](/(?=[A-Z])/)['join']('\x20'),_0x436582=_0x2ffddd(_0x4d0214['charAt'](0x0)['toUpperCase']()+_0x4d0214['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x436d47)return _0x436582;if('fontColor'===_0xaf8f69||'fontBackgroundColor'===_0xaf8f69){const _0x18a819=ckeditor5['normalizeColorOptions'](_0x28aabf['config']['get']('fontColor.colors'))['find'](_0x1c67f8=>_0x1c67f8['model']==_0x436d47);return _0x436582+'\x20('+(_0x18a819?_0x2ffddd(_0x18a819['label'])['toLowerCase']():_0x436d47)+')';}if('fontSize'===_0xaf8f69&&isNaN(parseFloat(_0x436d47))){const _0xc30c8f=_0x28aabf['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x28aabf['config']['get']('fontSize.options'))['find'](_0x4b09ca=>_0x4b09ca['model']==_0x436d47);return _0x436582+'\x20('+(_0xc30c8f?_0x2ffddd(_0xc30c8f['title'])['toLowerCase']():_0x436d47)+')';}return _0x436582+'\x20('+_0x436d47+')';}class _0x45c381 extends ckeditor5['Plugin']{['_headingOptions'];['afterInit'](){const _0x399e8f=this['editor'];if(!_0x399e8f['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x399e8f['config']['get']('heading.options');const _0x4429d8=_0x399e8f['locale'],_0x1ef127=_0x399e8f['plugins']['get']('TrackChangesEditing');_0x1ef127['enableDefaultAttributesIntegration']('heading');for(const _0x4dc25c of this['_headingOptions'])'paragraph'!=_0x4dc25c['model']&&_0x1ef127['descriptionFactory']['registerElementLabel'](_0x4dc25c['model'],_0x12de11=>{const _0x2b7a8a=this['_getHeadingLevel'](_0x4dc25c['model']);return null!==_0x2b7a8a?_0x218df0(_0x12de11,_0x2b7a8a):_0x1d2d14(_0x12de11,_0x4dc25c['title']);});function _0x218df0(_0xa8f0c1,_0x57b129){return getTranslation$1(_0x4429d8,'ELEMENT_HEADING',[_0xa8f0c1,_0x57b129]);}function _0x1d2d14(_0x27f43d,_0x506886){return getTranslation$1(_0x4429d8,'ELEMENT_HEADING_CUSTOM',[_0x27f43d,_0x506886]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1a6aae=this['editor'],_0x3cb768=_0x1a6aae['locale'];function _0x25d251(_0x24b656,_0x54e77a){return getTranslation$1(_0x3cb768,'ELEMENT_HEADING_CUSTOM',[_0x24b656,_0x54e77a]);}_0x1a6aae['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5d534a=>{if('formatBlock'!=_0x5d534a['type'])return;const {data:_0x555f1f}=_0x5d534a;if(_0x555f1f&&'heading'==_0x555f1f['commandName']){const _0x37a958=_0x555f1f['commandParams'][0x0]['value'],_0x154b35=this['_getHeadingLevel'](_0x37a958);if(null!==_0x154b35)return{'type':'format','content':getTranslation$1(_0x3cb768,'*Change\x20to:*\x20%0',(_0x57953=0x1,_0x80aaa7=_0x154b35,getTranslation$1(_0x3cb768,'ELEMENT_HEADING',[_0x57953,_0x80aaa7])))};const _0x402c4f=this['_headingOptions']['find'](_0x3407df=>_0x3407df['model']===_0x37a958)['title'];return{'type':'format','content':getTranslation$1(_0x3cb768,'*Change\x20to:*\x20%0',_0x25d251(0x1,_0x402c4f))};}var _0x57953,_0x80aaa7;});}['_getHeadingLevel'](_0x2cdff4){const _0x3d76d5=_0x2cdff4['match'](/^heading(\d+)/);if(_0x3d76d5)return _0x3d76d5[0x1];const _0x2625f6=this['_headingOptions']?.['find'](_0x378d92=>_0x378d92['model']==_0x2cdff4);if(_0x2625f6&&_0x2625f6['view']){const _0x16ad17=_0x2625f6['view'],_0x1365fc=(_0x16ad17['name']??_0x16ad17)['match'](/^h(\d+)/);if(_0x1365fc)return _0x1365fc[0x1];}return null;}}class TrackChangesHighlight extends ckeditor5['Plugin']{['afterInit'](){const _0x3ce587=this['editor'];if(!_0x3ce587['plugins']['has']('HighlightEditing'))return;const _0x733277=_0x3ce587['plugins']['get']('TrackChangesEditing'),_0x22d9e8=_0x3ce587['locale'];_0x733277['enableDefaultAttributesIntegration']('highlight'),_0x733277['descriptionFactory']['registerAttributeLabel']('highlight',getTranslation$1(_0x22d9e8,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3daa3b=this['editor'],_0x8ef281=_0x3daa3b['locale'];_0x3daa3b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x55a7d2=>{if('formatInline'!=_0x55a7d2['type'])return;const {data:_0x422b30}=_0x55a7d2;if(_0x422b30&&'highlight'==_0x422b30['commandName']){const _0x3d27be=_0x8ef281['t'],_0x5dc2c9=_0x422b30['commandParams'][0x0]['value'];if(_0x5dc2c9){const _0x13bd59=_0x3daa3b['config']['get']('highlight.options')['find'](_0x395589=>_0x395589['model']==_0x5dc2c9),_0x1d209f=_0x3d27be(_0x13bd59['title'])['toLowerCase']();return{'type':'format','content':getTranslation$1(_0x8ef281,'*Set\x20highlight:*\x20%0',_0x1d209f),'color':{'value':_0x13bd59['color'],'title':_0x13bd59['title']}};}return{'type':'format','content':getTranslation$1(_0x8ef281,'*Remove\x20highlight*',getTranslation$1(_0x8ef281,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends ckeditor5['Plugin']{['afterInit'](){const _0x310fb8=this['editor'];if(!_0x310fb8['plugins']['has']('HorizontalLineEditing'))return;_0x310fb8['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x17dcc0=_0x310fb8['plugins']['get']('TrackChangesEditing'),_0x4ff428=_0x310fb8['locale'];_0x17dcc0['descriptionFactory']['registerElementLabel']('horizontalLine',_0x4b863d=>getTranslation$1(_0x4ff428,'ELEMENT_HORIZONTAL_LINE',_0x4b863d));}}class TrackChangesHtmlEmbed extends ckeditor5['Plugin']{['afterInit'](){const _0xda206c=this['editor'];if(!_0xda206c['plugins']['has']('HtmlEmbed'))return;const _0x4c95c8=_0xda206c['plugins']['get']('TrackChangesEditing'),_0x45db82=_0xda206c['locale'];_0x4c95c8['descriptionFactory']['registerElementLabel']('rawHtml',_0x5d75fb=>getTranslation$1(_0x45db82,'ELEMENT_HTML_EMBED',_0x5d75fb)),_0x4c95c8['enableDefaultAttributesIntegration']('htmlEmbed'),_0x4c95c8['descriptionFactory']['registerDescriptionCallback'](_0x179bf3=>{if('attribute'!=_0x179bf3['type'])return;const {data:_0x2ff2a7}=_0x179bf3;if(_0x2ff2a7&&'value'==_0x2ff2a7['key']&&_0x179bf3['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x378311=getTranslation$1(_0x45db82,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0x45db82,'*Change\x20%0\x20content*',_0x378311)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x26a65a=this['editor'],_0xae3088=_0x26a65a['locale'];_0x26a65a['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1ad4b3=>{if('formatBlock'!=_0x1ad4b3['type'])return;const {data:_0x279a4c}=_0x1ad4b3;if(_0x279a4c&&'htmlEmbed'==_0x279a4c['commandName']){const _0x154f61=getTranslation$1(_0xae3088,'ELEMENT_HTML_EMBED');return{'type':'format','content':getTranslation$1(_0xae3088,'*Change\x20%0\x20content*',_0x154f61)};}});}}class _0x19d121 extends ckeditor5['Plugin']{['afterInit'](){const _0x2e8592=this['editor'];if(!_0x2e8592['plugins']['has']('ImageEditing'))return;const _0x399239=_0x2e8592['plugins']['get']('TrackChangesEditing'),_0x4e9602=_0x2e8592['plugins']['get']('ImageUtils'),_0x24cd87=_0x2e8592['locale'];_0x399239['enableCommand']('insertImage'),_0x399239['descriptionFactory']['registerElementLabel']('imageBlock',_0x408bd6=>getTranslation$1(_0x24cd87,'ELEMENT_IMAGE',_0x408bd6)),_0x399239['descriptionFactory']['registerElementLabel']('imageInline',_0x4cd112=>getTranslation$1(_0x24cd87,'ELEMENT_INLINE_IMAGE',_0x4cd112)),_0x399239['descriptionFactory']['registerElementLabel']('caption',()=>getTranslation$1(_0x24cd87,'ELEMENT_CAPTION')),_0x2e8592['plugins']['has']('ImageUploadEditing')&&_0x399239['enableCommand']('uploadImage'),_0x2e8592['plugins']['has']('ImageBlockEditing')&&_0x2e8592['plugins']['has']('ImageInlineEditing')&&(_0x399239['enableCommand']('imageTypeInline',(_0x2805f8,_0x3b1979)=>{const _0x22a918=_0x4e9602['getClosestSelectedImageElement'](_0x2e8592['model']['document']['selection']);_0x2e8592['model']['change'](()=>{_0x399239['markBlockFormat'](_0x22a918,{'commandName':'imageTypeInline','commandParams':[_0x3b1979]},[],'convertBlockImageToInline');});}),_0x399239['enableCommand']('imageTypeBlock',(_0x77b7bb,_0x24f639)=>{_0x2e8592['model']['change'](_0x3257f4=>{let _0xc50a21=_0x4e9602['getClosestSelectedImageElement'](_0x2e8592['model']['document']['selection']),_0x4cb462=_0x3257f4['createRangeOn'](_0xc50a21);const _0x154aa9=ckeditor5['ModelLivePosition']['fromPosition'](_0x4cb462['start'],'toPrevious'),_0x27debb=ckeditor5['ModelLivePosition']['fromPosition'](_0x4cb462['end'],'toNext');_0x399239['forceDefaultExecution'](()=>_0x77b7bb(_0x24f639)),_0xc50a21=_0x4e9602['getClosestSelectedImageElement'](_0x2e8592['model']['document']['selection']),_0x4cb462=_0x3257f4['createRangeOn'](_0xc50a21);const _0x141c32=_0x3257f4['createRange'](_0x154aa9,_0x27debb);_0x154aa9['detach'](),_0x27debb['detach'](),_0x399239['markBlockFormat'](_0xc50a21,{'commandName':'imageTypeInline','commandParams':[_0x24f639]},[],'convertInlineImageToBlock'),_0x141c32['start']['isBefore'](_0x4cb462['start'])&&_0x399239['markInsertion'](_0x3257f4['createRange'](_0x141c32['start'],_0x4cb462['start']),'convertInlineImageToBlock'),_0x4cb462['end']['isBefore'](_0x141c32['end'])&&_0x399239['markInsertion'](_0x3257f4['createRange'](_0x4cb462['end'],_0x141c32['end']),'convertInlineImageToBlock');});}),_0x399239['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x399239['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x399239['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x399239['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x399239['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x399239['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0xccf4e])=>{const _0x440754=_0x399239['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x20c1f5=_0xccf4e['start'],_0x22da85=_0xccf4e['end'];const _0x5ad5cb=_0x2e8592['model']['schema']['getNearestSelectionRange'](_0x20c1f5,'backward'),_0x4c6c76=_0x2e8592['model']['schema']['getNearestSelectionRange'](_0x22da85,'forward');_0x5ad5cb['isCollapsed']&&(_0x20c1f5=_0x5ad5cb['start']),_0x4c6c76['isCollapsed']&&(_0x22da85=_0x4c6c76['end']),_0x440754([_0x2e8592['model']['createRange'](_0x20c1f5,_0x22da85)]);}),_0x399239['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x201ca0),_0x399239['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x201ca0)),_0x2e8592['plugins']['has']('ImageCaptionEditing')&&(_0x399239['enableCommand']('toggleImageCaption',(_0x18ad79,_0x5b4a1b)=>{const _0x1790c8=_0x2e8592['plugins']['get']('ImageCaptionUtils');let _0x2d01f7=_0x4e9602['getClosestSelectedImageElement'](_0x2e8592['model']['document']['selection']),_0x1d72f0=_0x1790c8['getCaptionFromImageModelElement'](_0x2d01f7);_0x2e8592['model']['change'](()=>{if(_0x1d72f0)return void _0x399239['markDeletion'](_0x2e8592['model']['createRangeOn'](_0x1d72f0));const _0x2cad10=_0x4e9602['isBlockImage'](_0x2d01f7);_0x18ad79(_0x5b4a1b),_0x2d01f7=_0x4e9602['getClosestSelectedImageElement'](_0x2e8592['model']['document']['selection']),_0x1d72f0=_0x1790c8['getCaptionFromImageModelElement'](_0x2d01f7),_0x399239['markInsertion'](_0x2e8592['model']['createRangeOn'](_0x1d72f0),_0x2cad10?null:'imageCaption');});}),_0x399239['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x201ca0));const _0x212c74=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x155adb(_0x5a14ba,_0x2950f9){const _0x135f03=_0x212c74['findIndex'](({type:_0x5668d7,subType:_0x1f4d2e})=>_0x5a14ba['type']==_0x5668d7&&_0x5a14ba['subType']==_0x1f4d2e),_0x531b06=_0x212c74['findIndex'](({type:_0x256d53,subType:_0x1d3eaf})=>_0x2950f9['type']==_0x256d53&&_0x2950f9['subType']==_0x1d3eaf);if(_0x135f03<0x0||_0x531b06<0x0)return!0x1;const _0x3450a0=_0x5a14ba['getFirstRange'](),_0x5768a0=_0x2950f9['getFirstRange']();if((0x0==_0x135f03||0x1==_0x135f03)&&0x2==_0x531b06&&_0x3450a0['isIntersecting'](_0x5768a0))return!0x0;if(0x2==_0x135f03&&0x3==_0x531b06){const _0x10e87a=_0x399239['_findSuggestions'](_0x3450a0,'insertion')['filter'](({suggestion:_0x271015,meta:_0xfa4309})=>_0xfa4309['isOwn']&&'convertInlineImageToBlock'==_0x271015['subType']);if(_0x10e87a['length']>0x1&&_0x5768a0['end']['isEqual'](_0x3450a0['start']))return!0x0;if(0x1==_0x10e87a['length']&&(_0x3450a0['start']['isEqual'](_0x5768a0['end'])||_0x3450a0['end']['isEqual'](_0x5768a0['start'])))return!0x0;}if(0x3==_0x135f03&&0x3==_0x531b06&&_0x3450a0['start']['isBefore'](_0x5768a0['start'])){const _0x19d52e=_0x3450a0['end']['nodeAfter'],_0xa54035=_0x5768a0['start']['nodeBefore'];return _0x4e9602['isBlockImage'](_0x19d52e)&&_0x19d52e===_0xa54035;}return!0x1;}function _0x201ca0(_0x476f60,_0x5538ba){return _0x155adb(_0x476f60,_0x5538ba)?[_0x476f60,_0x5538ba]:_0x155adb(_0x5538ba,_0x476f60)?[_0x5538ba,_0x476f60]:null;}_0x2e8592['plugins']['has']('ImageResize')&&(_0x399239['enableDefaultAttributesIntegration']('resizeImage'),_0x399239['descriptionFactory']['registerAttributeLabel']('resizedWidth',getTranslation$1(_0x24cd87,'FORMAT_IMAGE_SIZE'))),_0x2e8592['plugins']['has']('ImageTextAlternativeEditing')&&_0x399239['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x2e8592['plugins']['has']('PictureEditing')&&_0x399239['descriptionFactory']['registerDescriptionCallback'](_0x1abe18=>{if('attribute'!=_0x1abe18['type'])return;const {data:_0x12c520}=_0x1abe18;return _0x12c520&&'sources'==_0x12c520['key']?{'type':'format','content':''}:void 0x0;}),_0x2e8592['plugins']['has']('ImageSizeAttributes')&&_0x399239['descriptionFactory']['registerDescriptionCallback'](_0x22cc7a=>{if('attribute'!=_0x22cc7a['type'])return;const {data:_0x314434}=_0x22cc7a;return!_0x314434||'width'!=_0x314434['key']&&'height'!=_0x314434['key']?void 0x0:{'type':'format','content':''};}),_0x399239['descriptionFactory']['registerDescriptionCallback'](_0x18e8f3=>{if(!!_0x212c74['find'](({type:_0x11c351,subType:_0x438d41})=>_0x18e8f3['type']==_0x11c351&&_0x18e8f3['subType']==_0x438d41))return _0x18e8f3['previous']?{}:void 0x0;}),_0x399239['descriptionFactory']['registerDescriptionCallback'](_0x21ef90=>{if('insertion'==_0x21ef90['type']||'deletion'==_0x21ef90['type']){const _0x2d798d=_0x21ef90['getContainedElement']();if(_0x2d798d&&_0x2d798d['is']('element','caption'))return{'type':'insertion'==_0x21ef90['type']?'addObject':'removeObject','element':_0x2d798d,'quantity':0x1};}}),_0x399239['descriptionFactory']['registerDescriptionCallback'](_0x31264c=>'formatBlock'==_0x31264c['type']&&'convertInlineImageToBlock'==_0x31264c['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x31264c['type']&&'convertBlockImageToInline'==_0x31264c['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x399239['descriptionFactory']['registerDescriptionCallback'](_0x20ac00=>{if('attribute'!=_0x20ac00['type'])return;const {data:_0x124aeb}=_0x20ac00;if(!_0x124aeb||'alt'!=_0x124aeb['key'])return;const _0x4b8203=_0x124aeb['newValue'];return _0x4b8203?{'type':'format','content':getTranslation$1(_0x24cd87,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x4b8203+'\x22')}:{'type':'format','content':getTranslation$1(_0x24cd87,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1dadd6=this['editor'],_0x25af92=_0x1dadd6['locale'];_0x1dadd6['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1c7106=>{if('formatBlock'!=_0x1c7106['type']&&'formatInline'!=_0x1c7106['type'])return;const {data:_0x4fa9ba}=_0x1c7106;if(_0x4fa9ba){if('imageTextAlternative'==_0x4fa9ba['commandName']){const _0xa9124=_0x4fa9ba['commandParams'][0x0]['newValue'];return _0xa9124?{'type':'format','content':getTranslation$1(_0x25af92,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0xa9124+'\x22')}:{'type':'format','content':getTranslation$1(_0x25af92,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x4fa9ba['commandName']){const _0x202cef=_0x4fa9ba['commandParams'][0x0]['width'];return _0x202cef?{'type':'format','content':getTranslation$1(_0x25af92,'*Set\x20image\x20width:*\x20%0',_0x202cef)}:{'type':'format','content':getTranslation$1(_0x25af92,'*Reset\x20image\x20width*')};}}});}}class _0x2799cf extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x202009=this['editor']['locale'],_0x418875=this['editor']['plugins']['get']('TrackChangesEditing');_0x418875['enableDefaultAttributesIntegration']('replaceImageSource'),_0x418875['descriptionFactory']['registerDescriptionCallback'](_0x1a7f7e=>{if('attribute'!=_0x1a7f7e['type'])return;const {data:_0x30b597}=_0x1a7f7e;return _0x30b597&&'src'==_0x30b597['key']?_0x30b597['newValue']&&_0x30b597['oldValue']?{'type':'format','content':getTranslation$1(_0x202009,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x276a63=this['editor']['plugins']['get']('TrackChangesEditing');_0x276a63['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x276a63['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x276a63['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x276a63['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x182de4=this['editor'],_0x4ba2f7=_0x182de4['locale'];_0x182de4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x49092c=>{if('formatBlock'!=_0x49092c['type']&&'formatInline'!=_0x49092c['type'])return;const {data:_0x4ba80e}=_0x49092c;if(!_0x4ba80e||'replaceImageSource'!=_0x4ba80e['commandName'])return;return{'type':'format','content':getTranslation$1(_0x4ba2f7,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends ckeditor5['Plugin']{['afterInit'](){const _0x2bcc79=this['editor'];if(!_0x2bcc79['plugins']['has']('ImageStyleEditing'))return;const _0x27af2b=_0x2bcc79['plugins']['get']('TrackChangesEditing'),_0x3f9923=_0x2bcc79['plugins']['get']('ImageUtils'),_0x37d156={};_0x27af2b['enableCommand']('imageStyle',(_0x480741,_0x1f2286)=>{const _0xebdb33=_0x2bcc79['plugins']['get']('Users')['me'],_0x563100=_0x2bcc79['commands']['get']('imageStyle');let _0x4e7ea8=_0x3f9923['getClosestSelectedImageElement'](_0x2bcc79['model']['document']['selection']),_0x41c19b=_0x2bcc79['model']['createRangeOn'](_0x4e7ea8),_0x29bf50=_0x563100['value'];if(_0x29bf50==_0x1f2286['value'])return;const _0x1b6bdd={'commandName':'imageStyle','commandParams':[_0x1f2286],'formatGroupId':ckeditor5['uid']()};_0x2bcc79['model']['change'](()=>{if(_0x27af2b['getSuggestions']()['filter'](_0x172ff9=>_0x172ff9['isInContent']&&_0xebdb33==_0x172ff9['author']&&('formatBlock'==_0x172ff9['type']||'formatInline'==_0x172ff9['type'])&&('imageStylePreApply'==_0x172ff9['subType']||'imageStylePostApply'==_0x172ff9['subType'])&&_0x172ff9['getFirstRange']()['isEqual'](_0x41c19b))['forEach'](_0x247bf7=>_0x27af2b['discardSuggestion'](_0x247bf7['head'])),_0x4e7ea8=_0x3f9923['getClosestSelectedImageElement'](_0x2bcc79['model']['document']['selection']),_0x41c19b=_0x2bcc79['model']['createRangeOn'](_0x4e7ea8),_0x563100['refresh'](),_0x2bcc79['commands']['get']('imageTypeInline')['refresh'](),_0x2bcc79['commands']['get']('imageTypeBlock')['refresh'](),_0x29bf50=_0x563100['value'],_0x29bf50!=_0x1f2286['value'])return _0x3f9923['isInlineImage'](_0x4e7ea8)&&_0x563100['shouldConvertImageType'](_0x1f2286['value'],_0x4e7ea8)?(_0x480741({..._0x1f2286,'setImageSizes':!0x1}),_0x4e7ea8=_0x3f9923['getClosestSelectedImageElement'](_0x2bcc79['model']['document']['selection']),void _0x27af2b['markBlockFormat'](_0x4e7ea8,{..._0x1b6bdd,'commandReversedParams':[{'value':_0x29bf50||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x3f9923['isBlockImage'](_0x4e7ea8)?_0x27af2b['markBlockFormat'](_0x4e7ea8,_0x1b6bdd,[],'imageStylePostApply'):_0x27af2b['markInlineFormat'](_0x41c19b,_0x1b6bdd,'imageStylePostApply'));});});for(const _0x282106 of _0x2bcc79['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x37d156[_0x282106['name']]=_0x282106['title']['toLowerCase']();_0x27af2b['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x27af2b['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x27af2b['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x27af2b['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x26467c])=>{_0x3f9923['setImageNaturalSizeAttributes'](_0x26467c['getContainedElement']());}),_0x27af2b['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0xf97a40,_0x1fa4ca)=>{_0x27af2b['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0xf97a40,{'commandName':_0x1fa4ca['commandName'],'commandParams':_0x1fa4ca['commandReversedParams']});}),_0x27af2b['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x164437,_0x485426){if(_0x4654e2(_0x164437,_0x485426))return[_0x164437,_0x485426];if(_0x4654e2(_0x485426,_0x164437))return[_0x485426,_0x164437];return null;});const _0x1a989f=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x4654e2(_0x2219e6,_0x48543b){const _0x1c2c97=_0x1a989f['findIndex'](({type:_0x158d16,subType:_0x6a0f30})=>_0x2219e6['type']==_0x158d16&&_0x2219e6['subType']==_0x6a0f30),_0x5a25a9=_0x1a989f['findIndex'](({type:_0x119f1,subType:_0x2c6d69})=>_0x48543b['type']==_0x119f1&&_0x48543b['subType']==_0x2c6d69);if(_0x1c2c97<0x0||_0x5a25a9<0x0)return!0x1;const _0x464934=_0x2219e6['getFirstRange'](),_0x3497f9=_0x48543b['getFirstRange']();if((0x0==_0x1c2c97||0x1==_0x1c2c97)&&0x2==_0x5a25a9&&_0x464934['isIntersecting'](_0x3497f9))return!0x0;if(0x2==_0x1c2c97&&0x3==_0x5a25a9){const _0x1d23f5=_0x27af2b['_findSuggestions'](_0x464934,'insertion')['filter'](({suggestion:_0x3a0c3d,meta:_0xb896b5})=>_0xb896b5['isOwn']&&'convertInlineImageToBlock'==_0x3a0c3d['subType']);if(_0x1d23f5['length']>0x1&&_0x3497f9['end']['isEqual'](_0x464934['start']))return!0x0;if(0x1==_0x1d23f5['length']&&(_0x464934['start']['isEqual'](_0x3497f9['end'])||_0x464934['end']['isEqual'](_0x3497f9['start'])))return!0x0;}if(0x3==_0x1c2c97&&0x3==_0x5a25a9&&_0x464934['start']['isBefore'](_0x3497f9['start'])){const _0x399ce2=_0x464934['end']['nodeAfter'],_0x608815=_0x3497f9['start']['nodeBefore'];return _0x3f9923['isBlockImage'](_0x399ce2)&&_0x399ce2===_0x608815;}return!0x1;}_0x2bcc79['model']['document']['registerPostFixer'](()=>{let _0x6e218d=!0x1;const _0x312d8d=Array['from'](_0x2bcc79['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x179a17,data:_0x12994f}of _0x312d8d){const {group:_0x591c69,type:_0x5f36f6,subType:_0x210f62,id:_0x20becd}=_0x27af2b['_splitMarkerName'](_0x179a17);if('suggestion'==_0x591c69&&_0x27af2b['hasSuggestion'](_0x20becd)){if('formatBlock'==_0x5f36f6&&('imageStylePreApply'==_0x210f62||'imageStylePostApply'==_0x210f62)){const _0x2c8a66=_0x27af2b['getSuggestion'](_0x20becd);if(_0x12994f['newRange']){const _0x10c746=_0x2c8a66['getFirstRange']()['getContainedElement']();if(_0x3f9923['isBlockImage'](_0x10c746))continue;_0x27af2b['discardSuggestion'](_0x2c8a66),_0x6e218d=!0x0;}}if('insertion'==_0x5f36f6&&'imageCaption'==_0x210f62&&!_0x12994f['newRange']){const _0x5b038d=_0x27af2b['getSuggestion'](_0x20becd);_0x5b038d['next']&&_0x5b038d['next']['isInContent']&&(_0x27af2b['discardSuggestion'](_0x5b038d['next']),_0x6e218d=!0x0);}}}return _0x6e218d;}),this['_registerLegacyDescription'](_0x37d156);}['_registerLegacyDescription'](_0x3a1694){const _0x1a94b0=this['editor'],_0x3b1b85=_0x1a94b0['locale'];_0x1a94b0['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x24f439=>{if('formatBlock'!=_0x24f439['type']&&'formatInline'!=_0x24f439['type'])return;const {data:_0x5a32e0}=_0x24f439;if(!_0x5a32e0||'imageStyle'!=_0x5a32e0['commandName'])return;const _0x25cc7c=_0x5a32e0['commandParams'][0x0]['value'];return _0x4b2e69('side'===_0x25cc7c?getTranslation$1(_0x3b1b85,'FORMAT_SIDE_IMAGE'):_0x3a1694[_0x25cc7c]||_0x25cc7c);function _0x4b2e69(_0x5e5fa3){return{'type':'format','content':getTranslation$1(_0x3b1b85,'*Format:*\x20%0',_0x5e5fa3)};}});}}class TrackChangesImportWord extends ckeditor5['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x227bc3){super(_0x227bc3),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x3ab397=this['editor'],_0x152960=_0x3ab397['commands']['get']('importWord'),_0x216744=_0x3ab397['commands']['get']('trackChanges');_0x152960&&(_0x152960['on']('execute',(_0x90a1,[,_0x54255e])=>{this['_trackChangesValueDuringImport']=_0x216744['value'],_0x54255e['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x152960,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x152960,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x216744['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x3ab397['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0xf81be1,_0xbca2b1){const {suggestions:_0x1a6e0e}=_0xbca2b1,_0x15ad8e=this['editor']['commands']['get']('trackChanges'),_0x3a1de5=_0x15ad8e['value'];this['_trackChangesValueDuringImport']!==_0x3a1de5&&(_0x15ad8e['execute'](),this['_trackChangesExecuted']=!0x0),_0x1a6e0e&&_0x1a6e0e['forEach'](({id:_0x5c7e8f,type:_0x463f73,author:_0x8f0130,created_at:_0x13b881})=>{const _0x448070={'id':_0x5c7e8f,'type':_0x463f73,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x8f0130,'createdAt':_0x13b881?new Date(_0x13b881):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x448070);});}}class TrackChangesIndent extends ckeditor5['Plugin']{['afterInit'](){const _0x3cb700=this['editor'],_0xf7fce7=_0x3cb700['plugins']['get']('TrackChangesEditing');if(_0x3cb700['plugins']['has']('IndentEditing')&&(_0xf7fce7['enableCommand']('indent'),_0xf7fce7['enableCommand']('outdent')),_0x3cb700['plugins']['has']('IndentBlock')){for(const _0xc2599f of['indentBlock','outdentBlock'])_0xf7fce7['enableDefaultAttributesIntegration'](_0xc2599f);if(_0x3cb700['plugins']['has']('ListEditing')){for(const _0x5a8dc2 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0xf7fce7['enableDefaultAttributesIntegration'](_0x5a8dc2);}}const _0x1fab20=_0x3cb700['locale'];_0xf7fce7['descriptionFactory']['registerAttributeLabel']('blockIndent',getTranslation$1(_0x1fab20,'FORMAT_INDENT')),_0xf7fce7['descriptionFactory']['registerAttributeLabel']('blockIndentList',getTranslation$1(_0x1fab20,'FORMAT_INDENT')),_0xf7fce7['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',getTranslation$1(_0x1fab20,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x23a4da=this['editor'],_0x7d73e4=_0x23a4da['locale'],_0x39a569=_0x23a4da['plugins']['get']('TrackChangesEditing');_0x39a569['descriptionFactory']['registerDescriptionCallback'](_0x1fbf98=>{if('formatBlock'!=_0x1fbf98['type'])return;const {data:_0x9e272d}=_0x1fbf98;if(!_0x9e272d)return;if('indentBlock'!=_0x9e272d['commandName']&&'outdentBlock'!=_0x9e272d['commandName'])return;const _0x15cf64=_0x1fbf98['getItems']()[0x0],_0x47eab5=_0x39a569['descriptionFactory']['getItemLabel'](_0x15cf64);return'indentBlock'==_0x9e272d['commandName']?{'type':'format','content':getTranslation$1(_0x7d73e4,'*Indent:*\x20%0',_0x47eab5)}:'outdentBlock'==_0x9e272d['commandName']?{'type':'format','content':getTranslation$1(_0x7d73e4,'*Outdent:*\x20%0',_0x47eab5)}:void 0x0;});}}class TrackChangesInputCommand extends ckeditor5['Plugin']{static get['requires'](){return[ckeditor5['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x17670e extends ckeditor5['Plugin']{['afterInit'](){const _0x568ec4=this['editor'];if(!_0x568ec4['plugins']['has']('LinkEditing'))return;const _0x1d0ed8=_0x568ec4['plugins']['get']('TrackChangesEditing'),_0x2bdeda=_0x568ec4['commands']['get']('link');_0x1d0ed8['enableDefaultAttributesIntegration']('link'),_0x1d0ed8['enableDefaultAttributesIntegration']('unlink');for(const _0x2d7dc7 of _0x2bdeda['manualDecorators'])_0x1d0ed8['descriptionFactory']['registerAttributeLabel'](_0x2d7dc7['id'],'link\x20('+_0x2d7dc7['label']['toLowerCase']()+')');_0x1d0ed8['descriptionFactory']['registerDescriptionCallback'](_0x18c546=>{if('attribute'!=_0x18c546['type'])return;const {data:_0x4ac49f}=_0x18c546;if(!_0x4ac49f||'linkHref'!=_0x4ac49f['key'])return;const _0x11254d=_0x4ac49f['newValue'],_0x35d3f3=_0x568ec4['locale'];return{'type':'format','content':null==_0x11254d?getTranslation$1(_0x35d3f3,'*Remove\x20link*'):getTranslation$1(_0x35d3f3,'*Set\x20link:*\x20%0','\x22'+_0x11254d+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x57afb6=this['editor'],_0x434429=_0x57afb6['locale'];_0x57afb6['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x30d3cf=>{if('formatInline'!=_0x30d3cf['type'])return;const {data:_0x4d4b22}=_0x30d3cf;if(_0x4d4b22){if('link'==_0x4d4b22['commandName']){const _0x522b23=_0x4d4b22['commandParams'][0x0];return{'type':'format','content':getTranslation$1(_0x434429,'*Set\x20link:*\x20%0','\x22'+_0x522b23+'\x22')};}return'unlink'==_0x4d4b22['commandName']?{'type':'format','content':getTranslation$1(_0x434429,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends ckeditor5['Plugin']{['afterInit'](){const _0x537d7f=this['editor'],_0x31a626=_0x537d7f['locale'];if(!_0x537d7f['plugins']['has']('LegacyListEditing'))return;const _0x600f63=_0x537d7f['plugins']['get']('TrackChangesEditing'),_0x141957=_0x537d7f['plugins']['has']('LegacyTodoListEditing');function _0x206d5b(_0x1fb48f){return()=>{const _0x389709=_0x537d7f['model']['document']['selection'],_0x1db1db=_0x537d7f['commands']['get'](_0x1fb48f);if(_0x1db1db['value'])return void _0x537d7f['execute']('paragraph',{});const _0x336a7a=_0x1fb48f['slice'](0x0,-0x4),_0x47e900=getBlocksToMarkForListTypeChange(_0x389709['getSelectedBlocks'](),_0x336a7a,_0x537d7f['model']['schema']);_0x537d7f['model']['change'](()=>{for(const _0x3ae8a1 of _0x47e900)_0x600f63['markBlockFormat'](_0x3ae8a1,{'commandName':_0x1fb48f,'commandParams':[{'forceValue':!_0x1db1db['value']}],'formatGroupId':'blockName'},getBlocksAffectedByListTypeChange(_0x3ae8a1));});};}function _0xb04564(_0x52622e){return()=>{const _0x1ba40d=getBlocksToMarkForIndentChange(_0x537d7f['model']['document']['selection']['getSelectedBlocks']()),_0x12e54e=_0x537d7f['model']['createRange'](_0x537d7f['model']['createPositionAt'](_0x1ba40d[0x0],'before'),_0x537d7f['model']['createPositionAt'](_0x1ba40d[_0x1ba40d['length']-0x1],'end'));_0x537d7f['model']['change'](()=>{_0x600f63['markBlockFormat'](_0x12e54e,{'commandName':_0x52622e,'commandParams':[],'formatGroupId':'listIndent'},getBlocksAffectedByIndent(_0x1ba40d));});};}_0x600f63['enableCommand']('numberedList',_0x206d5b('numberedList')),_0x600f63['enableCommand']('bulletedList',_0x206d5b('bulletedList')),_0x141957&&_0x600f63['enableCommand']('todoList',_0x206d5b('todoList')),_0x600f63['enableCommand']('indentList',_0xb04564('indentList')),_0x600f63['enableCommand']('outdentList',_0xb04564('outdentList')),_0x141957&&_0x600f63['enableCommand']('checkTodoList',()=>{const _0x4fabc8=_0x537d7f['commands']['get']('checkTodoList'),_0x5cd779=Array['from'](_0x4fabc8['_selectedElements']);_0x5cd779['filter'](_0x1fbd87=>_0x1fbd87['getAttribute']('todoListChecked')!=_0x4fabc8['value']),_0x537d7f['model']['change'](()=>{for(const _0x9de8a1 of _0x5cd779)_0x600f63['markBlockFormat'](_0x9de8a1,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x4fabc8['value']}]});});}),_0x600f63['descriptionFactory']['registerElementLabel']('listItem',_0xd2629e=>getTranslation$1(_0x31a626,'ELEMENT_LIST_ITEM',_0xd2629e)),_0x600f63['descriptionFactory']['registerDescriptionCallback'](_0x427a63=>{if('formatBlock'!=_0x427a63['type']&&'formatInline'!=_0x427a63['type'])return;const {data:_0x504951}=_0x427a63;if(_0x504951){if('numberedList'==_0x504951['commandName']||'bulletedList'==_0x504951['commandName']||'todoList'==_0x504951['commandName'])switch(_0x504951['commandName']['replace']('List','')){case'bulleted':return _0x125aec(getTranslation$1(_0x31a626,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x125aec(getTranslation$1(_0x31a626,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x125aec(getTranslation$1(_0x31a626,'ELEMENT_TODO_LIST'));}if('indentList'==_0x504951['commandName'])return{'type':'format','content':getTranslation$1(_0x31a626,'*Indent:*\x20%0',getTranslation$1(_0x31a626,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x504951['commandName'])return{'type':'format','content':getTranslation$1(_0x31a626,'*Outdent:*\x20%0',getTranslation$1(_0x31a626,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x504951['commandName'])return _0x504951['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x31a626,'*Check\x20item*')}:{'type':'format','content':getTranslation$1(_0x31a626,'*Uncheck\x20item*')};}function _0x125aec(_0x3c7f7a){return{'type':'format','content':getTranslation$1(_0x31a626,'*Change\x20to:*\x20%0',_0x3c7f7a)};}});}}function getBlocksToMarkForListTypeChange(_0x3b4a33,_0x57fe84,_0x5a76d4){let _0x4f2a2d=Array['from'](_0x3b4a33)['filter'](_0x2f3724=>checkCanBecomeListItem(_0x2f3724,_0x5a76d4));_0x4f2a2d=_0x4f2a2d['filter'](_0x2c6031=>!_0x2c6031['is']('element','listItem')||_0x2c6031['getAttribute']('listType')!=_0x57fe84);const _0x54f3f1=new Set();for(const _0x241a6c of _0x4f2a2d)_0x241a6c['is']('element','listItem')?_0x54f3f1['add'](getListHead(_0x241a6c)):_0x54f3f1['add'](_0x241a6c);return Array['from'](_0x54f3f1);}function checkCanBecomeListItem(_0x1b07a8,_0xd7d103){return _0xd7d103['checkChild'](_0x1b07a8['parent'],'listItem')&&!_0xd7d103['isObject'](_0x1b07a8);}function getBlocksToMarkForIndentChange(_0x50e4a3){let _0x47974c=Array['from'](_0x50e4a3);const _0x48b491=_0x47974c['findIndex'](_0xf17b16=>'listItem'!=_0xf17b16['name']);return _0x48b491>-0x1&&(_0x47974c=_0x47974c['slice'](0x0,_0x48b491)),_0x47974c;}function getListHead(_0x5d6c65){const _0x1c7bab=_0x5d6c65['getAttribute']('listIndent');if(0x0==_0x1c7bab)return _0x5d6c65;let _0x3fa8f5=_0x5d6c65;for(;_0x5d6c65['previousSibling']&&_0x5d6c65['previousSibling']['is']('element','listItem');){const _0xe02a71=_0x5d6c65['previousSibling']['getAttribute']('listIndent');if(_0xe02a71==_0x1c7bab)_0x3fa8f5=_0x5d6c65['previousSibling'];else{if(_0xe02a71<_0x1c7bab)break;}_0x5d6c65=_0x5d6c65['previousSibling'];}return _0x3fa8f5;}function getBlocksAffectedByListTypeChange(_0x151e69){const _0x4c6137=[];if(_0x151e69['is']('element','listItem')&&_0x151e69['getAttribute']('listIndent')>0x0){let _0x50730a=_0x151e69['nextSibling'];for(;_0x50730a&&'listItem'==_0x50730a['name']&&_0x50730a['getAttribute']('listIndent')==_0x151e69['getAttribute']('listIndent');)_0x4c6137['push'](_0x50730a),_0x50730a=_0x50730a['nextSibling'];}return _0x4c6137;}function getBlocksAffectedByIndent(_0x2e50c6){const _0x4f0544=new Set();for(const _0x11fa51 of _0x2e50c6){let _0x46be09=_0x11fa51['nextSibling'];for(;_0x46be09&&_0x46be09['getAttribute']('listIndent')>_0x11fa51['getAttribute']('listIndent');)_0x4f0544['add'](_0x46be09),_0x46be09=_0x46be09['nextSibling'];}return Array['from'](_0x4f0544);}class TrackChangesLegacyListProperties extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x13823b=this['editor']['config']['get']('list.properties'),_0x316a4a=this['editor']['plugins']['get']('TrackChangesEditing');_0x13823b['styles']&&_0x316a4a['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x13823b['reversed']&&_0x316a4a['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x13823b['startIndex']&&_0x316a4a['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x316a4a['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x242aa8,_0x14ac02={}){const _0x5f3c5c=this['editor']['plugins']['get']('TrackChangesEditing'),_0x167c8f=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x5f3c5c['markMultiRangeBlockFormat'](_0x167c8f,{'commandName':'listStyle','commandParams':[{'type':_0x14ac02['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x1304a1,_0xb09460={}){const _0x4b4091=this['editor']['plugins']['get']('TrackChangesEditing'),_0x399c9c=this['_getSuggestionBlocks'](_0x4c8bc1=>_0x4c8bc1['is']('element','listItem')&&'numbered'===_0x4c8bc1['getAttribute']('listType'));if(_0x399c9c['length']<0x1)return;const _0x3f52a3=_0x399c9c['map'](_0x578eb1=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x578eb1,'before'),this['editor']['model']['createPositionAt'](_0x578eb1,0x0)));this['editor']['model']['change'](()=>{_0x4b4091['markMultiRangeBlockFormat'](_0x3f52a3,{'commandName':'listReversed','commandParams':[{'reversed':_0xb09460['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x424f78,_0x30c9b3={}){const _0x2ef566=this['editor']['plugins']['get']('TrackChangesEditing'),_0x550374=this['_getSuggestionBlocks'](_0xad203f=>_0xad203f['is']('element','listItem')&&'numbered'===_0xad203f['getAttribute']('listType'));if(_0x550374['length']<0x1)return;const _0x333404=_0x550374['map'](_0x8913dc=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x8913dc,'before'),this['editor']['model']['createPositionAt'](_0x8913dc,0x0)));this['editor']['model']['change'](()=>{_0x2ef566['markMultiRangeBlockFormat'](_0x333404,{'commandName':'listStart','commandParams':[{'startIndex':_0x30c9b3['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x3ad6af){if('formatBlock'!=_0x3ad6af['type']&&'formatInline'!=_0x3ad6af['type'])return;const _0x2f91e7=this['editor']['locale'],{data:_0x40b65e}=_0x3ad6af;if(!_0x40b65e)return;let _0x4007ed,_0xbe5d75;switch(_0x40b65e['commandName']){case'listStyle':_0x4007ed='*Change\x20to:*\x20%0',_0xbe5d75={'type':'format','content':getTranslation$1(_0x2f91e7,_0x4007ed,getTranslation$1(_0x2f91e7,this['_getTranslationKeyForListStyle'](_0x40b65e['commandParams'][0x0]['type'])))};break;case'listReversed':_0x4007ed=_0x40b65e['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0xbe5d75={'type':'format','content':getTranslation$1(_0x2f91e7,_0x4007ed)};break;case'listStart':_0x4007ed='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xbe5d75={'type':'format','content':getTranslation$1(_0x2f91e7,_0x4007ed,_0x40b65e['commandParams'][0x0]['startIndex'])};}return _0xbe5d75;}['_getSuggestionBlocksForListStyle'](){const _0xae4366=this['editor']['plugins']['get']('LegacyListUtils');let _0x43ee00=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x43ee00[0x0]?.['is']('element','listItem')&&_0x43ee00['unshift'](..._0xae4366['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x43ee00[_0x43ee00['length']-0x1]?.['is']('element','listItem')&&_0x43ee00['push'](..._0xae4366['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x43ee00=[...new Set(_0x43ee00)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x43ee00=_0x43ee00['filter'](_0x397003=>_0x397003['is']('element','listItem'))),_0x43ee00;}['_getSuggestionBlocks'](_0x4d2c5a){const _0x3c1d33=this['editor']['plugins']['get']('LegacyListUtils');let _0x90c427=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x4d2c5a)['map'](_0xd67c81=>{const _0x1f1491=this['editor']['model']['createPositionAt'](_0xd67c81,0x0);return[..._0x3c1d33['getSiblingNodes'](_0x1f1491,'backward'),..._0x3c1d33['getSiblingNodes'](_0x1f1491,'forward')];})['flat']();return _0x90c427=[...new Set(_0x90c427)],_0x90c427;}['_getTranslationKeyForListStyle'](_0x1b9307){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x1b9307)||'default')['toUpperCase']()+'_LIST_'+_0x1b9307['toUpperCase']()['replace'](/-/g,'_');}}class _0x187eff extends ckeditor5['Plugin']{['afterInit'](){const _0x4b6896=this['editor'];if(!_0x4b6896['plugins']['has']('MediaEmbedEditing'))return;const _0x502dd0=_0x4b6896['plugins']['get']('TrackChangesEditing'),_0x2985d7=_0x4b6896['locale'];_0x502dd0['enableCommand']('mediaEmbed'),_0x502dd0['descriptionFactory']['registerElementLabel']('media',_0xecfde1=>getTranslation$1(_0x2985d7,'ELEMENT_MEDIA',_0xecfde1));}}class TrackChangesMention extends ckeditor5['Plugin']{['afterInit'](){const _0x273b95=this['editor'];_0x273b95['plugins']['has']('MentionEditing')&&_0x273b95['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0x1ce997 extends ckeditor5['Plugin']{['afterInit'](){const _0x4a7818=this['editor'];if(!_0x4a7818['plugins']['has']('MergeFieldsEditing'))return;const _0x1db830=_0x4a7818['plugins']['get']('TrackChangesEditing'),_0x5fa6c8=_0x4a7818['locale'];_0x1db830['enableCommand']('insertMergeField'),_0x1db830['enableCommand']('insertMergeFieldBlock'),_0x1db830['enableCommand']('insertMergeFieldImage'),_0x1db830['descriptionFactory']['registerElementLabel']('mergeField',_0x1db3ae=>getTranslation$1(_0x5fa6c8,'ELEMENT_MERGE_FIELD',_0x1db3ae)),_0x1db830['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x32700c=>getTranslation$1(_0x5fa6c8,'ELEMENT_MERGE_FIELD',_0x32700c)),_0x1db830['descriptionFactory']['registerDescriptionCallback'](_0x2b54d2=>{if('insertion'!=_0x2b54d2['type']&&'deletion'!=_0x2b54d2['type'])return;const _0xfc06ac=_0x2b54d2['getContainedElement']();if(null==_0xfc06ac)return;const _0x46b962=_0x4a7818['plugins']['get']('MergeFieldsEditing');let _0x4906ab;switch(_0x46b962['getMergeFieldType'](_0xfc06ac)){case null:return;case'image':{const _0x948874=_0x46b962['unwrapAffixes'](_0xfc06ac['getAttribute']('src'));_0x4906ab=_0x46b962['getLabel'](_0x948874)||_0x948874;break;}default:{const _0x27c638=_0xfc06ac['getAttribute']('id');_0x4906ab=_0x46b962['getLabel'](_0x27c638)||_0x27c638;break;}}return'insertion'==_0x2b54d2['type']?{'type':'insertion','content':getTranslation$1(_0x5fa6c8,'*Insert:*\x20%0','\x22'+_0x4906ab+'\x22\x20'+getTranslation$1(_0x5fa6c8,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':getTranslation$1(_0x5fa6c8,'*Remove:*\x20%0','\x22'+_0x4906ab+'\x22\x20'+getTranslation$1(_0x5fa6c8,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends ckeditor5['Plugin']{['afterInit'](){const _0x31e7e6=this['editor'],_0xa5c518=_0x31e7e6['plugins']['get']('TrackChangesEditing');_0x31e7e6['plugins']['has']('MultiLevelList')&&(_0xa5c518['enableDefaultAttributesIntegration']('multiLevelList'),_0xa5c518['descriptionFactory']['registerDescriptionCallback'](_0x5de418=>this['handleDescriptions'](_0x5de418)));}['handleDescriptions'](_0x2a4b4a){const _0x1a3847=this['editor']['locale'],{data:_0xe4f6ab}=_0x2a4b4a,_0x5165ca={'type':'format','content':''};if(_0xe4f6ab&&'listMarkerStyle'==_0xe4f6ab['key']){if(!_0xe4f6ab['oldValue'])return{'type':'format','content':getTranslation$1(_0x1a3847,'*Set\x20format:*\x20%0',getTranslation$1(_0x1a3847,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0xe4f6ab['newValue']+')'};if(!_0xe4f6ab['newValue']){let _0x57cf0c=_0x2a4b4a['head'];for(;_0x57cf0c;){if(_0x57cf0c['data']&&'listType'==_0x57cf0c['data']['key']&&_0x57cf0c['data']['newValue'])return _0x5165ca;_0x57cf0c=_0x57cf0c['next'];}return{'type':'format','content':getTranslation$1(_0x1a3847,'*Remove\x20format:*\x20%0',getTranslation$1(_0x1a3847,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0xe4f6ab['oldValue']+')'};}}}}class _0x450a0b extends ckeditor5['Plugin']{['afterInit'](){const _0x1d2acc=this['editor'];if(!_0x1d2acc['plugins']['has']('PageBreakEditing'))return;_0x1d2acc['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x48ed49=_0x1d2acc['plugins']['get']('TrackChangesEditing'),_0x2cc175=_0x1d2acc['locale'];_0x48ed49['descriptionFactory']['registerElementLabel']('pageBreak',_0x1de482=>getTranslation$1(_0x2cc175,'ELEMENT_PAGE_BREAK',_0x1de482));}}class _0x1c4a0c extends ckeditor5['Plugin']{['afterInit'](){const _0x2fbd7f=this['editor'];if(!_0x2fbd7f['plugins']['has']('Paragraph'))return;const _0x5b38ec=_0x2fbd7f['locale'],_0x392d41=_0x2fbd7f['plugins']['get']('TrackChangesEditing');_0x392d41['descriptionFactory']['registerElementLabel']('paragraph',_0x17eeed=>getTranslation$1(_0x5b38ec,'ELEMENT_PARAGRAPH',_0x17eeed)),_0x392d41['enableDefaultAttributesIntegration']('paragraph'),_0x392d41['enableCommand']('insertParagraph');const _0x4e893b=_0x392d41['descriptionFactory'];_0x4e893b['registerDescriptionCallback'](_0x5c0dc4=>{if('insertion'!==_0x5c0dc4['type'])return;const {start:_0x521525,end:_0x40b116}=_0x5c0dc4['getFirstRange']();if(!_0x521525['isTouching'](_0x40b116)||!_0x521525['nodeAfter'])return;const _0x87b7ea=_0x2fbd7f['model']['schema'],_0x527b61=_0x521525['nodeAfter'];return _0x87b7ea['isBlock'](_0x527b61)&&!_0x87b7ea['isLimit'](_0x527b61)&&_0x87b7ea['checkChild'](_0x527b61,'$text')?{'type':'insertion','content':getTranslation$1(_0x5b38ec,'*Insert:*\x20%0',_0x4e893b['getItemLabel'](_0x527b61,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xaa8932=this['editor'],_0x486d86=_0xaa8932['locale'];_0xaa8932['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x256699=>{if('formatBlock'!=_0x256699['type'])return;const {data:_0x3d7894}=_0x256699;return _0x3d7894&&'paragraph'==_0x3d7894['commandName']?{'type':'format','content':getTranslation$1(_0x486d86,'*Change\x20to:*\x20%0',getTranslation$1(_0x486d86,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0x3b46f6 extends ckeditor5['Plugin']{['afterInit'](){const _0x17c0c3=this['editor'];_0x17c0c3['commands']['get']('replaceSource')&&_0x17c0c3['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends ckeditor5['Plugin']{['afterInit'](){const _0x526e73=this['editor'];if(!_0x526e73['plugins']['has']('RemoveFormatEditing'))return;_0x526e73['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5e3490=this['editor'];_0x5e3490['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1224fd=>{if('formatBlock'!=_0x1224fd['type']&&'formatInline'!=_0x1224fd['type'])return;const {data:_0x4203ef}=_0x1224fd;return _0x4203ef&&'removeFormat'==_0x4203ef['commandName']?{'type':'format','content':getTranslation$1(_0x5e3490['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x41b90e=this['editor'];if(!_0x41b90e['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x1bb7f6=_0x41b90e['plugins']['get']('TrackChangesEditing');_0x1bb7f6['enableCommand']('goToPreviousRestrictedEditingException'),_0x1bb7f6['enableCommand']('goToNextRestrictedEditingException');const _0x21885e=_0x41b90e['plugins']['get']('RestrictedEditingModeEditing');_0x21885e['enableCommand']('trackChanges'),_0x21885e['enableCommand']('acceptSuggestion'),_0x21885e['enableCommand']('discardSuggestion'),_0x21885e['enableCommand']('acceptAllSuggestions'),_0x21885e['enableCommand']('discardAllSuggestions'),_0x21885e['enableCommand']('acceptSelectedSuggestions'),_0x21885e['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends ckeditor5['Plugin']{['afterInit'](){const _0x588c4c=this['editor'];if(!_0x588c4c['plugins']['has']('ShiftEnter'))return;const _0x28f979=_0x588c4c['plugins']['get']('TrackChangesEditing');_0x28f979['enableCommand']('shiftEnter'),_0x28f979['descriptionFactory']['registerElementLabel']('softBreak',_0x468a08=>getTranslation$1(_0x588c4c['locale'],'ELEMENT_LINE_BREAK',_0x468a08));}}function getRangesWithAttribute(_0x521f39,_0x16ed8e,_0x696fff){const _0x197e67=[];for(const _0x265161 of _0x16ed8e['getItems']())_0x265161['hasAttribute'](_0x521f39)&&_0x197e67['push'](_0x696fff['createRangeOn'](_0x265161));return _0x197e67;}class TrackChangesStandardEditingMode extends ckeditor5['Plugin']{['afterInit'](){const _0x2c48ee=this['editor'],_0x58c636=_0x2c48ee['plugins']['get']('TrackChangesEditing');_0x2c48ee['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x58c636['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x245b21=this['editor'],_0x53f597=_0x245b21['model'],_0x2f1451=_0x245b21['locale'],_0x59bf39=_0x245b21['plugins']['get']('TrackChangesEditing'),_0x477ac8='restrictedEditingException',_0x3b9556=_0x245b21['commands']['get'](_0x477ac8);_0x59bf39['enableCommand'](_0x477ac8,(_0x2ded44,_0x5cc24c={})=>{const _0x5a0e2d=_0x53f597['document']['selection'];if(_0x5a0e2d['isCollapsed'])return void _0x2ded44(_0x5cc24c);const _0x5965cc=void 0x0!==_0x5cc24c['forceValue']?_0x5cc24c['forceValue']:!_0x3b9556['value'];_0x53f597['change'](()=>{const _0x4a5b15=Array['from'](_0x5a0e2d['getRanges']());for(const _0x397244 of _0x4a5b15){const _0x495953=_0x5965cc?[_0x397244]:getRangesWithAttribute(_0x477ac8,_0x397244,_0x53f597);for(const _0x34dd97 of _0x495953)_0x59bf39['markInlineFormat'](_0x34dd97,{'commandName':_0x477ac8,'commandParams':[{'forceValue':_0x5965cc}]});}});}),_0x59bf39['descriptionFactory']['registerDescriptionCallback'](_0x59d16d=>{if('formatBlock'!=_0x59d16d['type']&&'formatInline'!=_0x59d16d['type'])return;const {data:_0x3204fb}=_0x59d16d;return _0x3204fb&&_0x3204fb['commandName']==_0x477ac8?_0x3204fb['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x2f1451,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x2f1451,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x59fac0=this['editor'],_0x374fb8=_0x59fac0['locale'],_0x54bbf0=_0x59fac0['plugins']['get']('TrackChangesEditing'),_0xd0bfda='restrictedEditingExceptionBlock',_0x2957a6=this['editor']['commands']['get'](_0xd0bfda);_0x54bbf0['enableCommand'](_0xd0bfda,(_0x28915d,_0x36e388={})=>{const _0x246e29=this['editor']['model']['document']['selection'],_0x580f64=_0x36e388&&void 0x0!==_0x36e388['forceValue']?_0x36e388['forceValue']:!_0x2957a6['value'];let _0x3bc1f4=[];if(_0x580f64){const _0x244ad8=Array['from'](_0x246e29['getSelectedBlocks']())['filter'](_0x12d5bb=>isInBlockException(_0x12d5bb)||_0x408965(_0x12d5bb,this['editor']['model']['schema']));_0x3bc1f4=getRangesOfBlockGroups(_0x244ad8,_0x59fac0['model']);}else{const _0x1e78d7=Array['from'](_0x246e29['getSelectedBlocks']())['map'](_0x345474=>findExceptionContentBlock(_0x345474))['filter'](_0x19fb1c=>!!_0x19fb1c);_0x3bc1f4=getRangesOfBlockGroups(_0x1e78d7,_0x59fac0['model']);}_0x59fac0['model']['change'](()=>{for(const _0x714754 of _0x3bc1f4)_0x54bbf0['markBlockFormat'](_0x714754,{'commandName':_0xd0bfda,'commandParams':[{'forceValue':_0x580f64}]});});}),_0x54bbf0['descriptionFactory']['registerDescriptionCallback'](_0x38bd88=>{const {data:_0x550373}=_0x38bd88;if(_0x550373&&_0x550373['commandName']==_0xd0bfda)return _0x550373['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0x374fb8,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':getTranslation$1(_0x374fb8,'FORMAT_RESTRICTED_DISABLED')};});}}function _0x408965(_0x13a1d5,_0x466e12){const _0x4d8c42=_0x466e12['createContext'](_0x13a1d5['parent']);return!!_0x466e12['checkChild'](_0x4d8c42,'restrictedEditingException')&&!!_0x466e12['checkChild'](_0x4d8c42['push']('restrictedEditingException'),_0x13a1d5);}function isInBlockException(_0x46a086){return!!_0x46a086['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}function findExceptionContentBlock(_0x43e622){let _0x5d467a=_0x43e622;for(;_0x5d467a['parent'];){if('restrictedEditingException'==_0x5d467a['parent']['name'])return _0x5d467a;_0x5d467a=_0x5d467a['parent'];}return null;}class TrackChangesStylesDropdown extends ckeditor5['Plugin']{['afterInit'](){const _0x3beae2=this['editor'];if(!_0x3beae2['plugins']['has']('Style')||!_0x3beae2['plugins']['has']('DataSchema'))return;const _0x590c75=_0x3beae2['plugins']['get']('TrackChangesEditing'),_0x528a72=_0x3beae2['locale'],_0x171d42=_0x3beae2['config']['get']('style')||{},_0x32f529=_0x3beae2['plugins']['get']('GeneralHtmlSupport'),_0x44d0e1=_0x3beae2['plugins']['get']('StyleUtils')['normalizeConfig'](_0x3beae2['plugins']['get']('DataSchema'),_0x171d42['definitions']);_0x590c75['enableDefaultAttributesIntegration']('style');const _0x4ecd80=new Set();for(const _0x5c4230 of _0x44d0e1['block']){const _0x56118b=_0x32f529['getGhsAttributeNameForElement'](_0x5c4230['element']);_0x4ecd80['add'](_0x56118b);}const _0x1a66a2=new Set();for(const _0x2a46eb of _0x44d0e1['inline']){const _0x52e1b6=_0x32f529['getGhsAttributeNameForElement'](_0x2a46eb['element']);_0x1a66a2['add'](_0x52e1b6);for(const _0x537f97 of _0x2a46eb['ghsAttributes'])_0x1a66a2['add'](_0x537f97);}for(const _0x351e1c of _0x4ecd80)_0x590c75['descriptionFactory']['registerAttributeLabel'](_0x351e1c,getTranslation$1(_0x528a72,'FORMAT_STYLE'));for(const _0xb38567 of _0x1a66a2)_0x590c75['descriptionFactory']['registerAttributeLabel'](_0xb38567,getTranslation$1(_0x528a72,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3bff31=this['editor'],_0xcee3ad=_0x3bff31['locale'];_0x3bff31['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2cad64=>{if('formatBlock'!=_0x2cad64['type']&&'formatInline'!=_0x2cad64['type'])return;const {data:_0x320beb}=_0x2cad64;return _0x320beb&&'style'===_0x320beb['commandName']?_0x320beb['commandParams'][0x0]['forceValue']?{'type':'format','content':getTranslation$1(_0xcee3ad,'*Set\x20format:*\x20%0',_0x320beb['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':getTranslation$1(_0xcee3ad,'*Remove\x20format:*\x20%0',_0x320beb['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0x4592fe extends ckeditor5['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x3b86e9){super(_0x3b86e9),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x53e029=this['editor'],_0x5423f6=_0x53e029['model']['document']['selection'];if(!_0x53e029['plugins']['has']('TableEditing'))return;const _0x276df9=_0x53e029['locale'],_0x30be77=_0x53e029['plugins']['get']('TrackChangesEditing'),_0x5a4169=_0x53e029['plugins']['get']('TableUtils');_0x30be77['descriptionFactory']['registerElementLabel']('table',_0x5ac97c=>getTranslation$1(_0x276df9,'ELEMENT_TABLE',_0x5ac97c)),this['_setupColumnsRowsFixing'](),_0x30be77['enableCommand']('insertTable'),_0x30be77['enableCommand']('selectTableRow'),_0x30be77['enableCommand']('selectTableColumn');for(const _0x4d88b7 of['insertTableRowAbove','insertTableRowBelow']){const _0x1c43f8=_0x53e029['commands']['get'](_0x4d88b7);_0x30be77['enableCommand'](_0x4d88b7,_0x183507=>{_0x53e029['model']['change'](_0x1ecbcc=>{_0x183507();const _0x50ec17='above'===_0x1c43f8['order'],_0x1a17d1=_0x5a4169['getSelectionAffectedTableCells'](_0x5423f6),_0xb35c46=_0x5a4169['getRowIndexes'](_0x1a17d1),_0x19ef2d=_0x50ec17?_0xb35c46['first']-0x1:_0xb35c46['last']+0x1,_0x239c01=_0x1a17d1[0x0]['findAncestor']('table'),_0x5125a2=_0x5a4169['createTableWalker'](_0x239c01,{'startRow':_0x19ef2d,'endRow':_0x19ef2d}),_0x4cb23c=Array['from'](_0x5125a2)['map'](_0x96fcfb=>_0x1ecbcc['createRangeOn'](_0x96fcfb['cell']));_0x30be77['markMultiRangeInsertion'](_0x4cb23c,'tableRow');});});}for(const _0x12eb78 of['insertTableColumnLeft','insertTableColumnRight']){const _0x522087=_0x53e029['commands']['get'](_0x12eb78);_0x30be77['enableCommand'](_0x12eb78,_0x2d8c13=>{_0x53e029['model']['change'](_0x4a4f5b=>{_0x2d8c13();const _0x314f9a='left'===_0x522087['order'],_0x1c68dc=_0x5a4169['getSelectionAffectedTableCells'](_0x5423f6),_0x5f4f91=_0x5a4169['getColumnIndexes'](_0x1c68dc),_0x4ef361=_0x314f9a?_0x5f4f91['first']-0x1:_0x5f4f91['last']+0x1,_0x20e403=_0x1c68dc[0x0]['findAncestor']('table'),_0x4f8ceb=_0x5a4169['createTableWalker'](_0x20e403,{'startRow':0x0,'column':_0x4ef361,'includeAllSlots':!0x1}),_0x5cfaad=Array['from'](_0x4f8ceb)['map'](_0x34618f=>_0x4a4f5b['createRangeOn'](_0x34618f['cell']));_0x30be77['markMultiRangeInsertion'](_0x5cfaad,'tableColumn');});});}for(const _0x5b120c of['removeTableRow','removeTableColumn']){const _0x3accd8=_0x5b120c['substr'](0xb),_0x4ba581=_0x3accd8['toLowerCase'](),_0x23a3ad=_0x4ba581['substr'](0x0,0x3)+'span',_0x49a78c='table'+_0x3accd8,_0x539d4d='min'+_0x3accd8,_0x1ddd7b='max'+_0x3accd8;_0x30be77['enableCommand'](_0x5b120c,()=>{_0x53e029['model']['change'](_0x57a126=>{const _0x5bbd4c=_0x5a4169['getSelectionAffectedTableCells'](_0x5423f6),_0x4ec16e=_0x5bbd4c[0x0]['findAncestor']('table');let _0x1cb482;if('removeTableRow'==_0x5b120c){const _0x4e4665=_0x5a4169['getRowIndexes'](_0x5bbd4c);_0x1cb482={'startRow':_0x4e4665['first'],'endRow':_0x4e4665['last'],'includeAllSlots':!0x0};}else{const _0x281165=_0x5a4169['getColumnIndexes'](_0x5bbd4c);_0x1cb482={'startColumn':_0x281165['first'],'endColumn':_0x281165['last'],'includeAllSlots':!0x0};}const _0x4edfbd=_0x5a4169['createTableWalker'](_0x4ec16e,_0x1cb482),_0x52f2ee=Array['from'](_0x4edfbd)['map'](({cell:_0x4bdce5})=>_0x4bdce5),_0x71a40e=_0x52c2b8(_0x52f2ee['filter'](_0x1c9e8e=>_0x1c9e8e['hasAttribute'](_0x23a3ad))),_0xb21410=_0x52c2b8(_0x52f2ee['filter'](_0x43dd4e=>!_0x43dd4e['hasAttribute'](_0x23a3ad)))['map'](_0x1763bc=>_0x57a126['createRangeOn'](_0x1763bc)),_0x56a6d2=_0x30be77['markMultiRangeDeletion'](_0xb21410,_0x49a78c);if(_0x56a6d2&&('tableRow'==_0x56a6d2['subType']||'tableColumn'==_0x56a6d2['subType'])){const _0x4a611d=this['_getSuggestionCoords'](_0x56a6d2);for(const _0x386360 of _0x71a40e){const _0x536fbf=_0x57a126['createRangeOn'](_0x386360),_0x321296=_0x5a4169['getCellLocation'](_0x386360),_0x2c032c=_0x386360['getAttribute'](_0x23a3ad)-0x1,_0x4accd9=_0x4a611d[_0x539d4d],_0x529bd0=_0x4a611d[_0x1ddd7b];_0x4accd9<=_0x321296[_0x4ba581]&&_0x321296[_0x4ba581]+_0x2c032c<=_0x529bd0&&_0x56a6d2['addRange'](_0x536fbf);}}});});}function _0x36aa23(_0xfe090b){const _0x97fb9f=Array['from'](_0x5423f6['getRanges']())['map'](_0x4011e2=>ckeditor5['ModelLiveRange']['fromRange'](_0x4011e2));_0x53e029['model']['change'](_0xf39518=>{const _0x9665de=_0xf39518['batch'];_0xfe090b=_0xfe090b['filter'](_0x1eb91b=>'$graveyard'!=_0x1eb91b['root']['rootName']),_0xf39518['setSelection'](_0xfe090b),_0x53e029['commands']['get']('removeTableRow')['refresh'](),_0x53e029['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x53e029['model']['enqueueChange'](()=>{_0x53e029['model']['enqueueChange'](_0x9665de,_0x4dbf32=>{const _0x52d2a3=_0x97fb9f['filter'](_0x2d61c5=>'$graveyard'!=_0x2d61c5['root']['rootName']);_0x52d2a3['length']>0x0&&_0x4dbf32['setSelection'](_0x52d2a3);for(const _0x4ee56c of _0x97fb9f)_0x4ee56c['detach']();});});});}function _0x1c3b55(_0x63bb9f){_0x53e029['model']['change'](_0x19c9eb=>{const _0x193ec0=Array['from'](_0x5423f6['getRanges']())['map'](_0x47c92b=>ckeditor5['ModelLiveRange']['fromRange'](_0x47c92b)),_0x1ad97f=[];for(const _0x1f4ce8 of _0x63bb9f)for(const _0x1d8fe6 of _0x1f4ce8['getItems']({'shallow':!0x0}))_0x1ad97f['push'](_0x1d8fe6);for(const _0x15f397 of _0x1ad97f)'$graveyard'!=_0x15f397['root']['rootName']&&(_0x19c9eb['setSelection'](_0x19c9eb['createPositionAt'](_0x15f397,0x0)),_0x53e029['commands']['get']('removeTableColumn')['refresh'](),_0x53e029['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0xeb0fc6=_0x193ec0['filter'](_0x4d2dc7=>'$graveyard'!=_0x4d2dc7['root']['rootName']);_0xeb0fc6['length']>0x0&&_0x19c9eb['setSelection'](_0xeb0fc6);for(const _0x562c6c of _0x193ec0)_0x562c6c['detach']();});}function _0x183c4c(_0x442447,_0x44a65f){return _0x44a65f['every'](_0x2da9a4=>_0x442447['some'](_0x295d3e=>_0x295d3e['end']['isEqual'](_0x2da9a4['start'])||_0x2da9a4['end']['isEqual'](_0x295d3e['start'])));}function _0x76d543(_0x4551dc,_0x25d065){return!_0x4551dc['some'](_0x16bb52=>_0x25d065['some'](_0x22848e=>_0x16bb52['isIntersecting'](_0x22848e)))&&_0x4551dc['some'](_0x1f06fe=>_0x25d065['some'](_0x5d164f=>_0x1f06fe['end']['isTouching'](_0x5d164f['start'])));}_0x30be77['descriptionFactory']['registerDescriptionCallback'](_0x5a3510=>{if('insertion'!=_0x5a3510['type']&&'deletion'!=_0x5a3510['type'])return;const _0x490d1d=_0x5a3510['getContainedElement']();if(null!=_0x490d1d&&_0x490d1d['is']('element','table')){if('insertion'==_0x5a3510['type']){const _0x4c63c9=_0x5a3510['getItems']()['filter'](_0x34d8c5=>_0x34d8c5['is']('$textProxy'))['map'](_0x57b0b6=>_0x57b0b6['data']);if(_0x4c63c9['length'])return{'type':'insertion','content':getTranslation$1(_0x276df9,'*Insert:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4c63c9['join']('\x20')+'\x22'))};}if('deletion'==_0x5a3510['type']){const _0x37f137=_0x5a3510['getItems']()['filter'](_0x46b5bc=>_0x46b5bc['is']('$textProxy'))['map'](_0x2ddaea=>_0x2ddaea['data']);if(_0x37f137['length'])return{'type':'deletion','content':getTranslation$1(_0x276df9,'*Remove:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x37f137['join']('\x20')+'\x22'))};}}}),_0x30be77['descriptionFactory']['registerDescriptionCallback'](_0x978332=>{if('tableRow'==_0x978332['subType']){const _0x9dfb64=_0x978332['getItems']()['filter'](_0x27cbee=>_0x27cbee['is']('$textProxy'))['map'](_0xcafcd6=>_0xcafcd6['data']),_0x5a2ea6=this['_getSuggestionCoords'](_0x978332),_0x3c978d=_0x5a2ea6['maxRow']-_0x5a2ea6['minRow']+0x1;if('insertion'==_0x978332['type'])return _0x9dfb64['length']?{'type':'insertion','content':getTranslation$1(_0x276df9,'*Insert:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3c978d,'\x22'+_0x9dfb64['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x276df9,'*Insert:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_ROW',_0x3c978d))};if('deletion'==_0x978332['type'])return _0x9dfb64['length']?{'type':'deletion','content':getTranslation$1(_0x276df9,'*Remove:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x3c978d,'\x22'+_0x9dfb64['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x276df9,'*Remove:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_ROW',_0x3c978d))};}if('tableColumn'==_0x978332['subType']){const _0x23ecb1=_0x978332['getItems']()['filter'](_0x149a38=>_0x149a38['is']('$textProxy'))['map'](_0x55f905=>_0x55f905['data']),_0x3a89c7=this['_getSuggestionCoords'](_0x978332),_0x1894f1=_0x3a89c7['maxColumn']-_0x3a89c7['minColumn']+0x1;if('insertion'==_0x978332['type'])return _0x23ecb1['length']?{'type':'insertion','content':getTranslation$1(_0x276df9,'*Insert:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1894f1,'\x22'+_0x23ecb1['join']('\x20')+'\x22']))}:{'type':'insertion','content':getTranslation$1(_0x276df9,'*Insert:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_COLUMN',_0x1894f1))};if('deletion'==_0x978332['type'])return _0x23ecb1['length']?{'type':'deletion','content':getTranslation$1(_0x276df9,'*Remove:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1894f1,'\x22'+_0x23ecb1['join']('\x20')+'\x22']))}:{'type':'deletion','content':getTranslation$1(_0x276df9,'*Remove:*\x20%0',getTranslation$1(_0x276df9,'ELEMENT_TABLE_COLUMN',_0x1894f1))};}}),_0x30be77['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x36aa23),_0x30be77['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x36aa23),_0x30be77['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x1c3b55),_0x30be77['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x1c3b55),_0x30be77['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x183c4c),_0x30be77['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x183c4c),_0x30be77['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x76d543),_0x30be77['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x76d543);}['_acceptFormatSuggestionCallbackFactory'](){const _0x3a2c39=this['editor'],_0x5f54eb=_0x3a2c39['model']['document']['selection'];return(_0x2bf8fd,_0x4fcf2a)=>{_0x3a2c39['model']['change'](_0x22cba3=>{const {commandName:_0x312eae,commandParams:_0x13bdda}=_0x4fcf2a;let _0x39d4ae=_0x2bf8fd[0x0]['end']['nodeBefore'];_0x13bdda&&_0x13bdda[0x0]&&!0x1===_0x13bdda[0x0]['forceValue']&&(_0x39d4ae=_0x2bf8fd[0x0]['start']['nodeAfter']);const _0x551dc8=_0x22cba3['createRangeIn'](_0x39d4ae);if('$graveyard'==_0x551dc8['root']['rootName'])return;const _0x542077=Array['from'](_0x5f54eb['getRanges']())['map'](_0x5e2902=>ckeditor5['ModelLiveRange']['fromRange'](_0x5e2902));_0x22cba3['setSelection'](_0x551dc8),_0x3a2c39['commands']['get'](_0x312eae)['refresh'](),_0x13bdda['push']({'forceDefaultExecution':!0x0}),_0x3a2c39['execute'](_0x312eae,..._0x13bdda);const _0x182a22=_0x542077['filter'](_0x1a4be0=>'$graveyard'!=_0x1a4be0['root']['rootName']);_0x182a22['length']>0x0&&_0x22cba3['setSelection'](_0x182a22);for(const _0x20cf6a of _0x542077)_0x20cf6a['detach']();});};}['_getCoordsForCells'](_0x34e3a6){const _0x51b413=this['editor']['plugins']['get']('TableUtils');let _0x41cb05=Number['MAX_SAFE_INTEGER'],_0x552da9=Number['MIN_SAFE_INTEGER'],_0x757524=Number['MAX_SAFE_INTEGER'],_0x42994e=Number['MIN_SAFE_INTEGER'];for(const _0x1665e6 of _0x34e3a6){if('$graveyard'==_0x1665e6['root']['rootName'])continue;const {row:_0x27d2a6,column:_0x4fbb3e}=_0x51b413['getCellLocation'](_0x1665e6),_0x419fa2=_0x1665e6['hasAttribute']('rowspan')?_0x1665e6['getAttribute']('rowspan')-0x1:0x0,_0x3a04c6=_0x1665e6['hasAttribute']('colspan')?_0x1665e6['getAttribute']('colspan')-0x1:0x0;_0x41cb05=_0x27d2a6<_0x41cb05?_0x27d2a6:_0x41cb05,_0x552da9=_0x27d2a6+_0x419fa2>_0x552da9?_0x27d2a6+_0x419fa2:_0x552da9,_0x757524=_0x4fbb3e<_0x757524?_0x4fbb3e:_0x757524,_0x42994e=_0x4fbb3e+_0x3a04c6>_0x42994e?_0x4fbb3e+_0x3a04c6:_0x42994e;}return{'minRow':_0x41cb05,'maxRow':_0x552da9,'minColumn':_0x757524,'maxColumn':_0x42994e};}['_setupColumnsRowsFixing'](){const _0x51ca60=this['editor'],_0x31e3b9=_0x51ca60['plugins']['get']('TrackChangesEditing'),_0x30ee5e=_0x51ca60['plugins']['get']('TableUtils');_0x51ca60['model']['document']['on']('change:data',()=>{const _0x114e5e=Array['from'](_0x51ca60['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x57e360,data:_0x2924ae}of _0x114e5e){const {group:_0x74da41,id:_0x1f7f54,subType:_0x486b29}=_0x31e3b9['_splitMarkerName'](_0x57e360);if('suggestion'!=_0x74da41)continue;if(null!=_0x2924ae['oldRange'])continue;const _0xfa4bd1=_0x31e3b9['getSuggestion'](_0x1f7f54);this['_tablePostFixingSubtypes']['includes'](_0x486b29)&&this['_tableSuggestions']['add'](_0xfa4bd1);}},{'priority':'low'});const _0x4b7f73=(_0x1814cd,_0x272b47)=>{let _0x1c584d=!0x1;const _0x19e1e8=_0x272b47['createRangeOn'](_0x1814cd),_0x54888a=_0x1814cd['findAncestor']('table'),_0x10cf4b=_0x30ee5e['getCellLocation'](_0x1814cd);for(const _0x497fc5 of this['_tableSuggestions']){const _0x1275ac=_0x497fc5['subType'],_0x2d832c=_0x1275ac['startsWith']('tablePaste'),_0x2a55cb=_0x1275ac['substr'](_0x2d832c?0xa:0x5),_0x211f9e=_0x2a55cb['toLowerCase'](),_0x1c1369=_0x211f9e['substr'](0x0,0x3)+'span',_0x809118='min'+_0x2a55cb,_0xbf2b43='max'+_0x2a55cb;if(!_0x497fc5['isInContent'])continue;if(_0x54888a!=_0x497fc5['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x497fc5['isIntersectingWithRange'](_0x19e1e8))continue;const _0x577ad=_0x1814cd['hasAttribute'](_0x1c1369)?_0x1814cd['getAttribute'](_0x1c1369)-0x1:0x0,_0x1203e0=this['_getSuggestionCoords'](_0x497fc5),_0x2b9b63=_0x1203e0[_0x809118],_0x1be3f1=_0x1203e0[_0xbf2b43];_0x2b9b63<=_0x10cf4b[_0x211f9e]&&_0x10cf4b[_0x211f9e]+_0x577ad<=_0x1be3f1&&(_0x497fc5['addRange'](_0x19e1e8),_0x1c584d=!0x0);}return _0x1c584d;};_0x51ca60['model']['document']['registerPostFixer'](_0x4197de=>{let _0x62d38d=!0x1;for(const _0x1049ca of _0x51ca60['model']['document']['differ']['getChanges']())if('insert'==_0x1049ca['type']){if('tableRow'==_0x1049ca['name']){for(const _0x2bb321 of _0x1049ca['position']['nodeAfter']['getChildren']())_0x62d38d=_0x62d38d||_0x4b7f73(_0x2bb321,_0x4197de);}else'tableCell'==_0x1049ca['name']&&(_0x62d38d=_0x62d38d||_0x4b7f73(_0x1049ca['position']['nodeAfter'],_0x4197de));}return _0x62d38d;});}['_getSuggestionCoords'](_0x40edf7){return this['_getCoordsForCells'](_0x40edf7['getRanges']()['map'](_0xe0dfba=>_0xe0dfba['start']['nodeAfter']));}}function _0x52c2b8(_0x50c678){return Array['from'](new Set(_0x50c678)['values']());}class TrackChangesTableMergeSplit extends ckeditor5['Plugin']{static get['requires'](){return[_0x4592fe];}['afterInit'](){const _0x5641fc=this['editor'],_0x1356bc=_0x5641fc['model']['document']['selection'],_0x2dee8c=_0x5641fc['locale'];if(!_0x5641fc['plugins']['has']('TableEditing'))return;const _0x5b02d3=_0x5641fc['plugins']['get']('TrackChangesEditing'),_0x20611b=_0x5641fc['plugins']['get']('TableUtils'),_0x4c76a8=_0x5641fc['plugins']['get'](_0x4592fe);_0x4c76a8['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x5b02d3['enableCommand']('mergeTableCells',()=>{const _0xb81c04=_0x20611b['getSelectionAffectedTableCells'](_0x5641fc['model']['document']['selection']);_0x5641fc['model']['change'](()=>{_0x5b02d3['markMultiRangeBlockFormat'](_0xb81c04,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x5641fc['commands']['get']('mergeTableCells')['on']('execute',(_0x114c30,_0x3c8c10)=>{_0x5641fc['commands']['get']('trackChanges')['value']&&(_0x3c8c10['length']>0x0&&_0x3c8c10[_0x3c8c10['length']-0x1]&&_0x3c8c10[_0x3c8c10['length']-0x1]['forceDefaultExecution']||_0x5b02d3['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x114c30['stop']());},{'priority':'highest'});for(const _0x20ba8c of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x23ea48=_0x5641fc['commands']['get'](_0x20ba8c);_0x5b02d3['enableCommand'](_0x20ba8c,()=>{const _0x357c81=_0x5641fc['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x420a96=>_0x420a96['is']('element','tableCell')),_0x1251b6=_0x23ea48['value'];_0x5641fc['model']['change'](()=>{_0x5b02d3['markMultiRangeBlockFormat']([_0x357c81,_0x1251b6],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x1c1f22 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x1da870=_0x5641fc['commands']['get'](_0x1c1f22);_0x5b02d3['enableCommand'](_0x1c1f22,()=>{const _0xb7f317=_0x20611b['getSelectionAffectedTableCells'](_0x5641fc['model']['document']['selection'])[0x0],_0xb50dc1=_0xb7f317['findAncestor']('table'),{column:_0xe68ef1,row:_0x496adb}=_0x20611b['getCellLocation'](_0xb7f317);let _0x2af0c7=[];if('horizontally'==_0x1da870['direction']){const _0x5c7dbf=_0x20611b['createTableWalker'](_0xb50dc1,{'startRow':_0x496adb,'endRow':_0x496adb,'includeAllSlots':!0x0});_0x2af0c7=Array['from'](_0x5c7dbf)['map'](_0x1e3621=>_0x1e3621['cell']);}else{const _0xac8b2c=_0x20611b['createTableWalker'](_0xb50dc1,{'column':_0xe68ef1,'includeAllSlots':!0x0});_0x2af0c7=Array['from'](_0xac8b2c)['map'](_0x1625af=>_0x1625af['cell']);}_0x5641fc['model']['change'](_0x5ae364=>{_0x5b02d3['markBlockFormat'](_0x5ae364['createRangeOn'](_0xb7f317),{'commandName':_0x1c1f22,'commandParams':[]},_0x2af0c7,_0x1c1f22);});});}_0x5b02d3['descriptionFactory']['registerDescriptionCallback'](_0x360f81=>{if('formatBlock'!=_0x360f81['type']&&'formatInline'!=_0x360f81['type'])return;const {data:_0x137d18}=_0x360f81;return _0x137d18&&'mergeTableCells'==_0x137d18['commandName']?{'type':'format','content':getTranslation$1(_0x2dee8c,'*Merge\x20cells*')}:void 0x0;}),_0x5b02d3['descriptionFactory']['registerDescriptionCallback'](_0x5a0e9f=>{if('formatBlock'!=_0x5a0e9f['type']&&'formatInline'!=_0x5a0e9f['type'])return;const {data:_0x5f42c0}=_0x5a0e9f;return _0x5f42c0?'splitTableCellVertically'==_0x5f42c0['commandName']?{'type':'format','content':getTranslation$1(_0x2dee8c,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x5f42c0['commandName']?{'type':'format','content':getTranslation$1(_0x2dee8c,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x1a91e6=_0x4c76a8['_acceptFormatSuggestionCallbackFactory']();for(const _0x3c2058 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x5b02d3['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x3c2058,'accept',_0x1a91e6);for(const _0x14f6a7 of['splitTableCellVertically','splitTableCellHorizontally'])_0x5b02d3['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x14f6a7,'accept',_0x1a91e6);_0x5b02d3['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x32a34e=>{_0x5641fc['model']['change'](_0x1adb82=>{const _0xc0f66f=Array['from'](_0x1356bc['getRanges']())['map'](_0x821945=>ckeditor5['ModelLiveRange']['fromRange'](_0x821945));_0x1adb82['setSelection'](_0x32a34e),_0x5641fc['commands']['get']('mergeTableCells')['refresh'](),_0x5641fc['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x32c562=_0xc0f66f['filter'](_0x21daa0=>'$graveyard'!=_0x21daa0['root']['rootName']);_0x32c562['length']>0x0&&_0x1adb82['setSelection'](_0x32c562);for(const _0x42cbfc of _0xc0f66f)_0x42cbfc['detach']();});});for(const _0x3cc24b of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x1e3e25=_0x5641fc['commands']['get'](_0x3cc24b);_0x1e3e25['on']('set:isEnabled',(_0x52bc66,_0x3b094d,_0x2aa596)=>{if(_0x2aa596){const _0x340d88=_0x5641fc['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x2d6842=>_0x2d6842['is']('element','tableCell'));this['_areMergableCells'](_0x1e3e25['value'],_0x340d88)||(_0x52bc66['return']=!0x1,_0x52bc66['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x45c09c=this['editor']['commands']['get']('mergeTableCells'),_0x2378ad=this['editor']['plugins']['get']('TableUtils');if(!_0x45c09c['isEnabled'])return!0x1;const _0x5a0293=_0x2378ad['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x36f80b of _0x5a0293)for(const _0x2da496 of _0x5a0293)if(_0x36f80b!=_0x2da496&&!this['_areMergableCells'](_0x36f80b,_0x2da496))return!0x1;return!0x0;}['_areMergableCells'](_0x1f9706,_0x2e5c92){const _0x5890a3=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3dc83f=this['editor']['model']['createRangeOn'](_0x1f9706),_0x288a74=this['editor']['model']['createRangeOn'](_0x2e5c92),_0x4998b6=new Set(),_0x4d4502=new Set();for(const _0x1aeebf of _0x5890a3['getSuggestions']())if(('insertion'==_0x1aeebf['type']||'deletion'==_0x1aeebf['type']||'mergeTableCells'==_0x1aeebf['subType'])&&_0x1aeebf['isInContent']){for(const _0x39c867 of _0x1aeebf['getRanges']())_0x39c867['containsRange'](_0x3dc83f,!0x0)&&_0x4998b6['add'](_0x1aeebf['type']+':'+_0x1aeebf['author']['id']),_0x39c867['containsRange'](_0x288a74,!0x0)&&_0x4d4502['add'](_0x1aeebf['type']+':'+_0x1aeebf['author']['id']);}if(_0x4998b6['size']!=_0x4d4502['size'])return!0x1;for(const _0x5ee4b3 of _0x4998b6)if(!_0x4d4502['has'](_0x5ee4b3))return!0x1;return!0x0;}}class _0x1a6ed9 extends ckeditor5['Plugin']{static get['requires'](){return[_0x4592fe];}['afterInit'](){const _0x15f68d=this['editor'];if(!_0x15f68d['plugins']['has']('TableEditing'))return;const _0x30bf0b=_0x15f68d['locale'],_0x3dd2f1=_0x15f68d['plugins']['get']('TrackChangesEditing');_0x3dd2f1['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x3dd2f1['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x3dd2f1['descriptionFactory']['registerAttributeLabel']('headingRows',getTranslation$1(_0x30bf0b,'FORMAT_HEADER_ROW')),_0x3dd2f1['descriptionFactory']['registerAttributeLabel']('headingColumns',getTranslation$1(_0x30bf0b,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x822019=this['editor']['plugins']['get']('TrackChangesEditing'),_0x26c5f1=this['editor']['plugins']['get'](_0x4592fe)['_acceptFormatSuggestionCallbackFactory']();_0x822019['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x26c5f1),_0x822019['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x26c5f1),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x2a3261=this['editor']['plugins']['get']('TrackChangesEditing'),_0x18da04=this['editor']['plugins']['get']('TableUtils');function _0x576ed0({showActiveMarker:_0x1ec023=!0x0,setDataAttribute:_0x4c5b30=!0x0}={}){return(_0x4037a5,_0x5b7ac4,_0x1e6f1f)=>{const {type:_0x4bd2d8,id:_0x4c0aff}=_0x2a3261['_splitMarkerName'](_0x5b7ac4['markerName']);if(!_0x2a3261['hasSuggestion'](_0x4c0aff))return;const _0xf50507=_0x2a3261['getSuggestion'](_0x4c0aff),_0x887b55=_0xf50507['data'];if('formatBlock'!=_0xf50507['type']||!_0x887b55||'setTableColumnHeader'!=_0x887b55['commandName'])return;if(_0x5b7ac4['item'])return void _0x4037a5['stop']();if(!_0x1e6f1f['consumable']['consume'](_0x5b7ac4['markerRange'],_0x4037a5['name']))return;const _0x20d921=_0x5b7ac4['markerRange']['start']['nodeAfter'],_0x5647e1=_0x5b7ac4['markerRange']['end']['nodeBefore'],_0x1b2653=_0x20d921['parent']['parent'],{column:_0x29b15c}=_0x18da04['getCellLocation'](_0x20d921),{column:_0x992de4}=_0x18da04['getCellLocation'](_0x5647e1);for(let _0x5b00d9=_0x29b15c;_0x5b00d9<=_0x992de4;_0x5b00d9++){const _0xe8048b=_0x18da04['createTableWalker'](_0x1b2653,{'column':_0x5b00d9,'includeAllSlots':!0x1});for(const _0x493510 of _0xe8048b){const _0x57adba=_0x493510['cell'],_0x5340e6=_0x1e6f1f['mapper']['toViewElement'](_0x57adba);_0x1e6f1f['writer']['addClass']('ck-suggestion-marker-'+_0x4bd2d8,_0x5340e6),_0x4c5b30&&_0x1e6f1f['writer']['setAttribute']('data-suggestion',_0x4c0aff,_0x5340e6),_0x1e6f1f['mapper']['bindElementToMarker'](_0x5340e6,_0x5b7ac4['markerName']),_0x1ec023&&(_0x2a3261['activeMarkers']['includes'](_0x5b7ac4['markerName'])?_0x1e6f1f['writer']['addClass']('ck-suggestion-marker--active',_0x5340e6):_0x1e6f1f['writer']['removeClass']('ck-suggestion-marker--active',_0x5340e6));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x576ed0(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2e6953,_0x3f681a,_0x85fd6d)=>{_0x85fd6d['options']['showSuggestionHighlights']&&_0x576ed0({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2e6953,_0x3f681a,_0x85fd6d);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x39af02,_0x173102,_0x15836b)=>{const {type:_0xeda174,id:_0x1f9348}=_0x2a3261['_splitMarkerName'](_0x173102['markerName']);if(!_0x2a3261['hasSuggestion'](_0x1f9348))return;const _0x4089ce=_0x2a3261['getSuggestion'](_0x1f9348),_0x508144=_0x4089ce['data'];if('formatBlock'!=_0x4089ce['type']||!_0x508144||'setTableColumnHeader'!=_0x508144['commandName'])return;const _0x2f9141=_0x15836b['mapper']['markerNameToElements'](_0x173102['markerName']);if(_0x2f9141){for(const _0x103579 of _0x2f9141)_0x15836b['writer']['removeClass']('ck-suggestion-marker-'+_0xeda174,_0x103579),_0x15836b['writer']['removeClass']('ck-suggestion-marker--active',_0x103579),_0x15836b['writer']['removeAttribute']('data-suggestion',_0x103579),_0x15836b['mapper']['unbindElementFromMarkerName'](_0x103579,_0x173102['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x47b4fb=this['editor'],_0x644c48=_0x47b4fb['locale'];function _0x3659fe(_0x425a02){return{'type':'format','content':getTranslation$1(_0x644c48,'*Format:*\x20%0',_0x425a02)};}_0x47b4fb['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x529351=>{if('formatBlock'!=_0x529351['type'])return;const {data:_0x161f27}=_0x529351;if(_0x161f27){if('setTableRowHeader'==_0x161f27['commandName']){const _0x5468f9=_0x161f27['commandParams'][0x0]['forceValue'];return _0x3659fe(getTranslation$1(_0x644c48,_0x5468f9?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x161f27['commandName']){const _0x1917e1=_0x161f27['commandParams'][0x0]['forceValue'];return _0x3659fe(getTranslation$1(_0x644c48,_0x1917e1?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableLayout extends ckeditor5['Plugin']{['afterInit'](){const _0x5a259b=this['editor'],_0x467a6d=_0x5a259b['locale'],_0x4735eb=_0x5a259b['plugins']['get']('TrackChangesEditing');function _0xdbb0fa(_0x434668){return{'type':'format','content':''+getTranslation$1(_0x467a6d,'*Set\x20table\x20type:*\x20%0',_0x434668)};}_0x5a259b['plugins']['has']('TableLayout')&&(_0x4735eb['enableCommand']('insertTableLayout'),_0x4735eb['enableDefaultAttributesIntegration']('tableType'),_0x4735eb['descriptionFactory']['registerElementLabel'](_0x463c09=>_0x463c09['is']('element','table')&&'layout'===_0x463c09['getAttribute']('tableType'),_0x594e93=>getTranslation$1(_0x467a6d,'ELEMENT_LAYOUT_TABLE',_0x594e93)),_0x4735eb['descriptionFactory']['registerDescriptionCallback'](_0x4d029e=>{const {data:_0x4a2369}=_0x4d029e;if(_0x4a2369&&'tableType'==_0x4a2369['key'])switch(_0x4a2369['newValue']){case'layout':return _0xdbb0fa(getTranslation$1(_0x467a6d,'ELEMENT_LAYOUT_TABLE'));case'content':return _0xdbb0fa(getTranslation$1(_0x467a6d,'ELEMENT_CONTENT_TABLE'));}}));}}const tableCellStyleAttributeNames=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],tableCellStyleAttributesObject=/* #__PURE__ -- @preserve */
Object['fromEntries'](tableCellStyleAttributeNames['map'](_0x427d0b=>[_0x427d0b,null]));class _0x6721db extends ckeditor5['Plugin']{static get['requires'](){return[_0x4592fe];}['afterInit'](){const _0x477e8c=this['editor'];if(!_0x477e8c['plugins']['has']('TableClipboard'))return;const _0x4ea753=_0x477e8c['plugins']['get']('TrackChangesEditing'),_0x291c53=_0x477e8c['plugins']['get']('TableUtils'),_0x4e8dfc=_0x477e8c['plugins']['get'](_0x4592fe),_0x50c15f=_0x477e8c['plugins']['get']('TableClipboard'),_0x48ccbd=_0x477e8c['plugins']['get']('TableSelection'),_0x49a89c=_0x477e8c['plugins']['get'](ckeditor5['ClipboardPipeline']);_0x4e8dfc['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x477e8c['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x477e8c['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x2c3415=null,_0x4c7aa1=!0x1;_0x49a89c['on']('contentInsertion',(_0x1c020a,_0x1ff713)=>{_0x4c7aa1='paste'===_0x1ff713['method'];}),_0x477e8c['model']['on']('insertContent',(_0x47be59,_0x35ea88)=>{if(!_0x4c7aa1&&null===_0x48ccbd['getSelectedTableCells']())return;const [_0x280ac1,_0x437c64]=_0x35ea88,_0x32e41e=_0x35ea88[_0x35ea88['length']-0x1];_0x32e41e&&_0x32e41e['forceDefaultExecution']||_0x4ea753['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&isPasteTableIntoTable(_0x280ac1,_0x437c64,_0x477e8c['model'],_0x291c53,_0x50c15f)&&(_0x47be59['stop'](),_0x2c3415={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x477e8c['model']['change'](()=>{_0x477e8c['model']['insertContent'](_0x35ea88[0x0],_0x35ea88[0x1],_0x35ea88[0x2],{'forceDefaultExecution':!0x0});const _0x51c6fc=ckeditor5['uid'](),{rowInsertionRanges:_0x3fbee3,columnInsertionRanges:_0xa69106,insertionRanges:_0x5e0975,deletionRanges:_0x4d3b2e,cells:_0x2f88bf}=_0x2c3415;_0x3fbee3['length']&&_0x4ea753['markMultiRangeInsertion'](_0x3fbee3,'tablePasteRow',{'tablePasteChainId':_0x51c6fc}),_0xa69106['length']&&_0x4ea753['markMultiRangeInsertion'](_0xa69106,'tablePasteColumn',{'tablePasteChainId':_0x51c6fc}),_0x5e0975['length']&&(_0x4ea753['markMultiRangeInsertion'](_0x5e0975,'tablePaste',{'tablePasteChainId':_0x51c6fc,'skipNestingCheck':!0x0}),_0x5e0975['forEach'](_0x112f86=>_0x112f86['detach']?.())),_0x4d3b2e['length']&&(_0x4ea753['markMultiRangeDeletion'](_0x4d3b2e,'tablePaste',{'tablePasteChainId':_0x51c6fc,'skipNestingCheck':!0x0}),_0x4d3b2e['forEach'](_0x235a2c=>_0x235a2c['detach']?.()));const _0x33f42f=_0x4ea753['markMultiRangeBlockFormat'](_0x2f88bf['map'](({element:_0x19b5ec})=>_0x19b5ec),{'formatGroupId':ckeditor5['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x51c6fc});if(_0x33f42f){const _0x5a1c4f=_0x33f42f['getMarkers'](),_0x3f8acb=[];for(const {element:_0x45cbf2,attributes:_0x36d337}of _0x2f88bf){if(!_0x36d337)continue;const _0x508b60=_0x477e8c['model']['createRangeOn'](_0x45cbf2),_0x39676f=_0x5a1c4f['find'](_0x50b70d=>_0x50b70d['getRange']()['isEqual'](_0x508b60));_0x39676f&&_0x3f8acb['push']([_0x39676f['name'],_0x36d337]);}_0x3f8acb['length']&&_0x33f42f['setAttribute']('markerAttributes',Object['fromEntries'](_0x3f8acb));}_0x2c3415=null;}));},{'priority':ckeditor5['priorities']['high']+0xa}),_0x49a89c['on']('contentInsertion',()=>{_0x4c7aa1=!0x1;},{'priority':'lowest'}),_0x477e8c['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x20df02,_0x48fcb7)=>{const [_0x3ac3f9,_0x5dc91a,,_0xdf26e6]=_0x48fcb7;if(!_0x2c3415)return;_0x20df02['stop']();const _0x546dfe=_0x3ac3f9['cell'],_0x27df32=_0x5dc91a,_0x4283d0=isEmpty(_0x546dfe),_0x29b44f=isEmpty(_0x27df32);_0x20df02['return']=_0x546dfe;let _0x29ebcb=null,_0x4845c2=null;if(_0x29b44f||_0x4283d0){if(_0x4283d0&&!_0x29b44f){_0xdf26e6['remove'](_0x546dfe['getChild'](0x0));for(const _0x199ad4 of Array['from'](_0x27df32['getChildren']()))_0xdf26e6['insert'](_0x199ad4,_0x546dfe,'end');const _0x4b012a=_0x2c3415['rowInsertionIndexes']['includes'](_0x3ac3f9['row']),_0x3fce64=_0x2c3415['columnInsertionIndexes']['includes'](_0x3ac3f9['column']);_0x4b012a||_0x3fce64||(_0x29ebcb=ckeditor5['ModelLiveRange']['fromRange'](_0xdf26e6['createRangeIn'](_0x546dfe)));}else _0x29b44f&&!_0x4283d0&&(_0x4845c2=_0xdf26e6['createRangeIn'](_0x546dfe));}else{const _0x178f55=_0xdf26e6['createElement']('tableCellSuggestion'),_0x5aa951=_0xdf26e6['createElement']('tableCellSuggestion');_0xdf26e6['wrap'](_0xdf26e6['createRangeIn'](_0x546dfe),_0x5aa951),_0xdf26e6['insert'](_0x178f55,_0x546dfe,0x0);for(const _0xaeb728 of Array['from'](_0x27df32['getChildren']()))_0xdf26e6['insert'](_0xaeb728,_0x178f55,'end');_0x29ebcb=ckeditor5['ModelLiveRange']['fromRange'](_0xdf26e6['createRangeOn'](_0x178f55)),_0x4845c2=ckeditor5['ModelLiveRange']['fromRange'](_0xdf26e6['createRangeOn'](_0x5aa951));}const _0x2d174e=Array['from'](_0x27df32['getAttributes']())['filter'](([_0x1e9d4e])=>tableCellStyleAttributeNames['includes'](_0x1e9d4e));_0x2c3415['cells']['push']({'element':_0x546dfe,'attributes':_0x2d174e['length']?Object['fromEntries'](_0x2d174e):null}),_0x29ebcb&&_0x2c3415['insertionRanges']['push'](_0x29ebcb),_0x4845c2&&_0x2c3415['deletionRanges']['push'](_0x4845c2);},{'priority':'high'}),_0x291c53['on']('insertColumns',(_0x38877e,_0x4540bb)=>{const [_0x3975f8,_0x296413={}]=_0x4540bb;if(!_0x2c3415)return;const _0x2eac79=_0x296413['at']||0x0,_0x2b73e9=_0x296413['columns']||0x1;_0x2c3415['columnInsertionIndexes']=new Array(_0x2b73e9)['fill'](_0x2eac79)['map']((_0x22384b,_0xd806c1)=>_0x22384b+_0xd806c1);for(const {cell:_0x483d8d}of _0x291c53['createTableWalker'](_0x3975f8,{'startColumn':_0x2eac79,'endColumn':_0x2eac79+_0x2b73e9-0x1}))_0x2c3415['columnInsertionRanges']['push'](_0x477e8c['model']['createRangeOn'](_0x483d8d));},{'priority':'low'}),_0x291c53['on']('insertRows',(_0x3d7a58,_0x6aa8a1)=>{const [_0x5ea2f0,_0x14ed89={}]=_0x6aa8a1;if(!_0x2c3415)return;const _0xa86b6c=_0x14ed89['at']||0x0,_0x1d28e6=_0x14ed89['rows']||0x1;_0x2c3415['rowInsertionIndexes']=new Array(_0x1d28e6)['fill'](_0xa86b6c)['map']((_0x5612a8,_0x490c2a)=>_0x5612a8+_0x490c2a);for(const {cell:_0x101493}of _0x291c53['createTableWalker'](_0x5ea2f0,{'startRow':_0xa86b6c,'endRow':_0xa86b6c+_0x1d28e6-0x1}))_0x2c3415['rowInsertionRanges']['push'](_0x477e8c['model']['createRangeOn'](_0x101493));},{'priority':'low'}),_0x4ea753['descriptionFactory']['registerDescriptionCallback'](_0x24bbb9=>{if(_0x24bbb9['subType']&&_0x24bbb9['subType']['startsWith']('tablePaste'))return _0x24bbb9['previous']?{}:{'type':'insertion','content':getTranslation$1(_0x477e8c['locale'],'*Replace\x20table\x20cells*')};});const _0x4ab002=()=>!0x1;for(const _0xc875b7 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x4ea753['_suggestionFactory']['registerCustomCallback']('insertion',_0xc875b7,'join',_0x4ab002),_0x4ea753['_suggestionFactory']['registerCustomCallback']('deletion',_0xc875b7,'join',_0x4ab002),_0x4ea753['_suggestionFactory']['registerCustomCallback']('formatBlock',_0xc875b7,'join',_0x4ab002);_0x4ea753['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x4ab002),_0x4ea753['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x53a5c9,_0x43b4cb,_0x5dcfff)=>{const _0x35cca4=_0x53a5c9['map'](_0x26d720=>_0x26d720['getContainedElement']())['filter'](_0x5cdaed=>_0x5cdaed),_0x4455b4=new Map(_0x35cca4['map'](_0x2fe985=>[_0x2fe985,null]));if(_0x2c3415){for(const {element:_0x1feb58,attributes:_0x42e621}of _0x2c3415['cells'])_0x42e621&&_0x4455b4['set'](_0x1feb58,_0x42e621);}else{if(_0x5dcfff&&_0x5dcfff['markerAttributes'])for(const [_0x45b1e7,_0x4b2981]of Object['entries'](_0x5dcfff['markerAttributes'])){const _0x3dc211=_0x477e8c['model']['markers']['get'](_0x45b1e7),_0x5a0af0=_0x3dc211?_0x3dc211['getRange']()['getContainedElement']():null;_0x5a0af0&&_0x4455b4['set'](_0x5a0af0,_0x4b2981);}}_0x477e8c['model']['change'](_0x195f74=>{for(const [_0x50b2a2,_0x18e9e4]of _0x4455b4)_0x195f74['setAttributes']({...tableCellStyleAttributesObject,..._0x18e9e4},_0x50b2a2);});});const _0x513626=(_0x18a37b,_0x4d7554)=>{_0x4ea753['_suggestionFactory']['registerCustomCallback'](_0x18a37b,'tablePaste',_0x4d7554,(_0x580316,_0x5b0184,_0x387cff)=>{_0x477e8c['model']['change'](_0xdf2380=>{const _0x1c04ce=[];for(const _0x50365e of _0x580316){const _0x24d129=_0x50365e['start']['nodeAfter'];_0x24d129['is']('element','tableCellSuggestion')&&_0x1c04ce['push'](_0x24d129);}_0x4ea753['_suggestionFactory']['getSuggestionCallback'](_0x18a37b,null,_0x4d7554)(_0x580316,_0x5b0184,_0x387cff);for(const _0x1643ba of _0x1c04ce)'$graveyard'!=_0x1643ba['root']['rootName']&&_0xdf2380['unwrap'](_0x1643ba);});});};_0x513626('insertion','accept'),_0x513626('insertion','discard'),_0x513626('deletion','accept'),_0x513626('deletion','discard'),_0x4ea753['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x40a719=>{const _0x36f96c=_0x40a719['map'](_0x10711a=>_0x10711a['getContainedElement']()),_0x5e33ad=_0x36f96c[0x0]['findAncestor']('table'),{minRow:_0x27a1f5,maxRow:_0xda35a8}=_0x4e8dfc['_getCoordsForCells'](_0x36f96c);_0x291c53['removeRows'](_0x5e33ad,{'at':_0x27a1f5,'rows':_0xda35a8-_0x27a1f5+0x1});}),_0x4ea753['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x2a9a8e=>{const _0x4ada52=_0x2a9a8e['map'](_0x5a117b=>_0x5a117b['getContainedElement']()),_0x78abe3=_0x4ada52[0x0]['findAncestor']('table'),{minColumn:_0x12dce1,maxColumn:_0x5438cf}=_0x4e8dfc['_getCoordsForCells'](_0x4ada52);_0x291c53['removeColumns'](_0x78abe3,{'at':_0x12dce1,'columns':_0x5438cf-_0x12dce1+0x1});});const _0x46b1b2=(_0x392848,_0x369a9d)=>{if(!_0x369a9d['subType']||!_0x369a9d['subType']['startsWith']('tablePaste'))return;const _0x4c410b=_0x369a9d['attributes']['tablePasteChainId'],_0x496c4a=_0x4ea753['getSuggestions']()['filter'](_0x3140ae=>_0x3140ae['isInContent']&&_0x3140ae['attributes']&&_0x3140ae['attributes']['tablePasteChainId']==_0x4c410b);_0x496c4a['length']&&_0x369a9d['getAllAdjacentSuggestions']()['length']!=_0x496c4a['length']&&_0x496c4a['reduce']((_0x3bea16,_0x56579b)=>(_0x3bea16['next']=_0x56579b,_0x56579b['previous']=_0x3bea16,_0x56579b));};function _0x3106b6(_0x5a729c,_0x2ea404=!0x0){const {id:_0x2f2088,authorId:_0x303809}=_0x4ea753['_splitMarkerName'](_0x5a729c['markerName']),_0x21ee30=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x42f835=_0x4ea753['activeMarkers']['includes'](_0x5a729c['markerName']);return _0x42f835&&_0x21ee30['push']('ck-suggestion-marker--active'),{'classes':_0x21ee30,'attributes':{'data-suggestion':_0x2f2088,'data-author-id':_0x303809},'priority':_0x42f835&&_0x2ea404?0xbc2:0xbb8};}_0x4ea753['on']('suggestionLoaded',_0x46b1b2,{'priority':'high'}),_0x4ea753['on']('suggestionUnloaded',_0x46b1b2,{'priority':'high'}),_0x477e8c['model']['document']['registerPostFixer'](()=>{let _0x281a82=!0x1;const _0x13fa37=Array['from'](_0x477e8c['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x146ef8,data:_0x4bf801}of _0x13fa37){const {group:_0x11495f,type:_0x49af8b,id:_0x12c664}=_0x4ea753['_splitMarkerName'](_0x146ef8);if('suggestion'!=_0x11495f||'deletion'!=_0x49af8b||_0x4bf801['oldRange'])continue;if(!_0x4ea753['hasSuggestion'](_0x12c664))continue;const _0x29b4d9=_0x4ea753['getSuggestion'](_0x12c664)['getRanges'](),_0x5034ea=_0x477e8c['plugins']['get']('Users')['me'];for(const _0x2ed314 of _0x4ea753['getSuggestions']()){if(!_0x2ed314['isInContent']||_0x2ed314['author']!=_0x5034ea)continue;if('formatBlock'!=_0x2ed314['type']||'tablePasteCell'!=_0x2ed314['subType'])continue;if(_0x2ed314['getRanges']()['every'](_0x12e806=>_0x29b4d9['some'](_0x4c341f=>_0x4c341f['containsRange'](_0x12e806,!0x0)))){for(const _0x1d4942 of _0x2ed314['getAllAdjacentSuggestions']())_0x1d4942['isInContent']&&(_0x1d4942['discard'](),_0x281a82=!0x0);}}}return _0x281a82;}),_0x477e8c['model']['document']['registerPostFixer'](_0x5ed1e0=>{const _0x5b26d8=_0x477e8c['commands']['get']('redo');if(!_0x5b26d8||!_0x5b26d8['_createdBatches']['has'](_0x5ed1e0['batch']))return!0x1;let _0x558830=!0x1;const _0x1002a4=_0x477e8c['plugins']['get']('Users')['me'],_0x2c4a1b=_0x477e8c['model']['document']['differ']['getChanges'](),_0x700682=Array['from'](_0x477e8c['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x9996e1,data:_0x1b0ad5})=>{const {group:_0x121836,subType:_0xd4f06b,authorId:_0x7e1d00}=_0x4ea753['_splitMarkerName'](_0x9996e1);return'suggestion'==_0x121836&&'tablePaste'==_0xd4f06b&&_0x7e1d00==_0x1002a4['id']&&!_0x1b0ad5['oldRange'];});for(const _0x36e62d of _0x2c4a1b){if('insert'!=_0x36e62d['type']||'tableCellSuggestion'!=_0x36e62d['name']||0x1!=_0x36e62d['length'])continue;const _0x58075d=_0x5ed1e0['createRange'](_0x36e62d['position'],_0x36e62d['position']['getShiftedBy'](0x1)),_0x5d1280=_0x700682['find'](({data:_0x42f8be})=>_0x42f8be['newRange']['isEqual'](_0x58075d));if(!_0x5d1280){for(const {name:_0x16fa1e,data:_0x2a78ee}of _0x700682)if(_0x58075d['containsRange'](_0x2a78ee['newRange'])){_0x5ed1e0['updateMarker'](_0x16fa1e,{'range':_0x58075d}),_0x558830=!0x0;break;}}}return _0x558830;}),_0x477e8c['model']['document']['registerPostFixer'](_0x391fb4=>{let _0x1fd388=!0x1;const _0x5d1057=_0x477e8c['plugins']['get']('Users')['me'],_0x1e89ff=_0x4ea753['getSuggestions']()['filter'](_0x58f7d2=>_0x58f7d2['isInContent']&&_0x58f7d2['author']==_0x5d1057),_0x471d9b=new Set(),_0x448872=new Set();for(const _0x429312 of _0x1e89ff)if('tablePaste'==_0x429312['subType'])for(const _0x576b23 of _0x429312['getMarkers']()){const _0x59952f=_0x576b23['getRange']()['getContainedElement']();if(_0x59952f){if(_0x59952f['is']('element','tableCellSuggestion')&&isEmpty(_0x59952f)){_0x429312['removeMarker'](_0x576b23['name']),_0x471d9b['add'](_0x59952f),_0x1fd388=!0x0;const _0x16c9ba=_0x59952f['nextSibling'],_0x4cca54=_0x59952f['previousSibling'],_0x58d3d0=_0x16c9ba&&_0x16c9ba['is']('element','tableCellSuggestion'),_0x210a7d=_0x4cca54&&_0x4cca54['is']('element','tableCellSuggestion');_0x58d3d0&&!_0x471d9b['has'](_0x16c9ba)&&_0x448872['add'](_0x16c9ba),_0x210a7d&&!_0x471d9b['has'](_0x4cca54)&&_0x448872['add'](_0x4cca54);}else _0x59952f['is']('element','paragraph')&&_0x59952f['isEmpty']&&(_0x429312['removeMarker'](_0x576b23['name']),_0x1fd388=!0x0);}}else{if('tablePasteCell'==_0x429312['subType']){if(!_0x429312['attributes']||!_0x429312['attributes']['tablePasteChainId'])continue;const _0x5c2b75=_0x429312['attributes']['markerAttributes'];if(_0x5c2b75&&Object['keys'](_0x5c2b75)['length'])continue;const _0x491d9f=_0x429312['attributes']['tablePasteChainId'];let _0x38e9c9=!0x0,_0x1e1620=!0x0;for(const _0x2c8e4a of _0x1e89ff)if(_0x2c8e4a['subType']&&_0x2c8e4a['subType']['startsWith']('tablePaste')){if(!_0x2c8e4a['attributes']['tablePasteChainId']){_0x1e1620=!0x1;break;}if(_0x2c8e4a['id']!=_0x429312['id']&&_0x2c8e4a['attributes']['tablePasteChainId']==_0x491d9f){_0x38e9c9=!0x1;break;}}_0x1e1620&&_0x38e9c9&&(_0x429312['removeMarkers'](),_0x1fd388=!0x0);}}for(const _0x1d8721 of _0x471d9b)_0x391fb4['remove'](_0x1d8721);for(const _0x2207f0 of _0x448872)_0x391fb4['unwrap'](_0x2207f0);return _0x1fd388;}),_0x477e8c['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x1bbdc3=>_0x3106b6(_0x1bbdc3),'converterPriority':'high'}),_0x477e8c['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x389ed7,_0x30435c)=>_0x30435c['options']['showSuggestionHighlights']?_0x3106b6(_0x389ed7,!0x1):null,'converterPriority':'high'});const _0x390570=_0x477e8c['editing']['view'];this['listenTo'](_0x390570['document'],'clipboardOutput',(_0x539a6a,_0x121b4b)=>{const _0xe0be36=[];for(const _0x40e03e of _0x390570['createRangeIn'](_0x121b4b['content'])['getItems']())_0x40e03e['is']('element','suggestion-td')&&_0xe0be36['push'](_0x40e03e);_0x390570['change'](_0x12f2d2=>{for(const _0x3d4396 of _0xe0be36)_0x12f2d2['move'](_0x12f2d2['createRangeIn'](_0x3d4396),_0x12f2d2['createPositionBefore'](_0x3d4396)),_0x12f2d2['remove'](_0x3d4396);});});}}function isEmpty(_0x4e364b){if(_0x4e364b['isEmpty'])return!0x0;const _0x299ef7=_0x4e364b['getChild'](0x0);return _0x299ef7['is']('element','paragraph')&&_0x299ef7['isEmpty'];}function isPasteTableIntoTable(_0x42ad6d,_0x333431,_0x405464,_0x1de0f7,_0x19e6e4){if(_0x333431&&!_0x333431['is']('documentSelection'))return!0x1;const _0x56fcc9=_0x19e6e4['getTableIfOnlyTableInContent'](_0x42ad6d,_0x405464);if(!_0x56fcc9||!_0x3d33ba(_0x56fcc9,void 0x0,_0x1de0f7))return!0x1;const _0x466de7=_0x1de0f7['getSelectionAffectedTableCells'](_0x405464['document']['selection']);if(!_0x466de7['length'])return!0x1;const _0xd58c3d=_0x466de7[0x0]['findAncestor']('table'),_0x58f91d=_0x1de0f7['getRowIndexes'](_0x466de7),_0x359c92=_0x1de0f7['getColumnIndexes'](_0x466de7),_0x9f62b4={'startRow':_0x58f91d['first'],'endRow':_0x58f91d['last'],'startColumn':_0x359c92['first'],'endColumn':_0x359c92['last']};return 0x1==_0x466de7['length']&&(_0x9f62b4['endRow']+=_0x1de0f7['getRows'](_0x56fcc9)-0x1,_0x9f62b4['endColumn']+=_0x1de0f7['getColumns'](_0x56fcc9)-0x1),_0x3d33ba(_0xd58c3d,_0x9f62b4,_0x1de0f7);}function _0x3d33ba(_0x18bfdb,_0x47faba={},_0xbadf3a){for(const {isAnchor:_0x2db3fe,cellHeight:_0x17ec33,cellWidth:_0x4c94e4}of _0xbadf3a['createTableWalker'](_0x18bfdb,{'includeAllSlots':!0x0,..._0x47faba}))if(!_0x2db3fe||0x1!=_0x17ec33||0x1!=_0x4c94e4)return!0x1;return!0x0;}class _0xc89d5d extends ckeditor5['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x19d4eb=this['editor']['plugins']['get']('TrackChangesEditing');_0x19d4eb['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x19d4eb['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x19d4eb['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x19d4eb['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x19d4eb['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x19d4eb['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x5c7596,_0x12e05c){const _0x50ccf1=this['editor']['plugins']['get']('TrackChangesEditing'),_0x199b67=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x288ff3=_0x12e05c['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x4511f9=_0x199b67['getColumnGroupElement'](_0x288ff3);let _0xe50029=_0x4511f9?_0x199b67['getTableColumnsWidths'](_0x4511f9):null,_0x32bac0=_0x288ff3['getAttribute']('tableWidth')||null;const _0x4274df=_0x12e05c['tableWidth']||_0x32bac0,_0x2278de=_0x12e05c['columnWidths']||_0xe50029,_0x5486e6=this['editor']['plugins']['get']('Users')['me'];for(const _0x589913 of _0x50ccf1['getSuggestions']()){const _0x256721=_0x589913['getContainedElement']();if('resizeTable'===_0x589913['subType']&&_0x256721===_0x288ff3){_0x589913['author']!==_0x5486e6&&_0x589913['discard']();const _0x256d54=_0x589913['data']['commandParams'];_0x32bac0=_0x256d54[0x0]['tableWidth'],_0xe50029=_0x256d54[0x0]['columnWidths'];break;}}_0x5c7596({'table':_0x288ff3,'tableWidth':_0x4274df,'columnWidths':_0x2278de}),_0x50ccf1['markBlockFormat'](_0x288ff3,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x32bac0,'columnWidths':_0xe50029}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x5d284d){if('formatBlock'!=_0x5d284d['type']&&'formatInline'!=_0x5d284d['type'])return;const {data:_0x441938}=_0x5d284d;if(_0x441938&&'resizeTable'===_0x441938['formatGroupId']){const _0x58b755='*Format:*\x20resize\x20table';return{'type':'format','content':getTranslation$1(this['editor']['locale'],_0x58b755)};}}}class TrackChangesTemplate extends ckeditor5['Plugin']{['afterInit'](){const _0x240942=this['editor'];_0x240942['plugins']['has']('Template')&&_0x240942['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends ckeditor5['Plugin']{['afterInit'](){const _0x54c460=this['editor'];if(!_0x54c460['commands']['get']('insertTableOfContents'))return;_0x54c460['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0xd5bbbe=_0x54c460['plugins']['get']('TrackChangesEditing'),_0x3ef36c=_0x54c460['locale'];_0xd5bbbe['descriptionFactory']['registerElementLabel']('tableOfContents',_0xef0119=>getTranslation$1(_0x3ef36c,'ELEMENT_TABLE_OF_CONTENTS',_0xef0119));}}class TrackChangesTitle extends ckeditor5['Plugin']{['afterInit'](){const _0x1da545=this['editor'];if(!_0x1da545['plugins']['has']('Title'))return;const _0x76e1be=_0x1da545['plugins']['get']('TrackChangesEditing');_0x76e1be['descriptionFactory']['registerElementLabel']('title-content',()=>getTranslation$1(_0x1da545['locale'],'ELEMENT_TITLE')),_0x1da545['model']['document']['registerPostFixer'](_0x8468b=>{let _0x4053c1=!0x1;const _0x2d5a30=Array['from'](_0x1da545['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x476e1e,data:_0x157171}of _0x2d5a30){const {group:_0x12396c}=_0x76e1be['_splitMarkerName'](_0x476e1e);if('suggestion'!==_0x12396c||!_0x157171['newRange'])continue;const _0x407b0d=_0x157171['newRange'],_0x5712d9=_0x407b0d['end']['nodeBefore'];if(!_0x5712d9||!_0x5712d9['is']('element','title-content'))continue;if(!_0x407b0d['start']['isTouching'](_0x407b0d['end']))continue;const _0x18b5d6=_0x1da545['model']['schema']['getNearestSelectionRange'](_0x407b0d['end'],'forward');if(_0x18b5d6&&_0x18b5d6['isCollapsed']){const _0x460a72=_0x8468b['createRange'](_0x407b0d['start'],_0x18b5d6['start']);_0x460a72['isEqual'](_0x407b0d)||(_0x8468b['updateMarker'](_0x476e1e,{'range':_0x460a72}),_0x4053c1=!0x0);}_0x4053c1||(_0x8468b['removeMarker'](_0x476e1e),_0x4053c1=!0x0);}return _0x4053c1;});}}class _0x10ba69 extends ckeditor5['Plugin']{['afterInit'](){const _0x2e9b41=this['editor'],_0x469067=_0x2e9b41['plugins']['get']('TrackChangesEditing');_0x2e9b41['plugins']['has']('Uploadcare')&&(_0x469067['enableCommand']('uploadcare'),_0x2e9b41['plugins']['has']('UploadcareImageEdit')&&(_0x469067['enableCommand']('uploadcareImageEdit'),_0x469067['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x469067['descriptionFactory']['registerDescriptionCallback'](_0x501fa0=>{if('attribute'!=_0x501fa0['type'])return;const {data:_0x1bcac3}=_0x501fa0;return _0x1bcac3&&'uploadcareImageId'==_0x1bcac3['key']?{'type':'format','content':''}:void 0x0;})));}}class _0xff592 extends ckeditor5['Plugin']{['afterInit'](){const _0x48019b=this['editor'],_0x209b3f=_0x48019b['plugins']['get']('TrackChangesEditing');_0x48019b['plugins']['has']('UndoEditing')&&(_0x209b3f['enableCommand']('undo'),_0x209b3f['enableCommand']('redo'));}}class TrackChangesTableCaption extends ckeditor5['Plugin']{static get['requires'](){return[_0x4592fe];}['afterInit'](){const _0x3a8406=this['editor'];if(!_0x3a8406['plugins']['has']('TableCaptionEditing'))return;_0x3a8406['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends ckeditor5['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x4690a2){super(_0x4690a2),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'],_0x4690a2['config']['get']('experimentalFlags.tableCellTypeSupport')&&this['tableCellProperties']['push']('tableCellType');}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1fb070=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x12eeaa of this['tableProperties'])_0x1fb070['enableCommand'](_0x12eeaa,(_0x2c53ef,_0x3037e9)=>{const _0x312782=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x12eeaa,[_0x312782],this['tableProperties'],'tableProperties',_0x2c53ef,_0x3037e9);});_0x1fb070['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x1fb070['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1fb070['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x4d5493,_0x2dc9e8)=>this['handleDiscardAction'](this['tableProperties'],_0x4d5493,_0x2dc9e8)),_0x1fb070['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x5c8f1a of this['tableCellProperties'])this['editor']['commands']['get'](_0x5c8f1a)&&_0x1fb070['enableCommand'](_0x5c8f1a,(_0x3d7395,_0x1b1c2d)=>{const _0x327f5c=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x5c8f1a,_0x327f5c,this['tableCellProperties'],'tableCellProperties',_0x3d7395,_0x1b1c2d);});_0x1fb070['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x1fb070['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1fb070['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x10b3a8,_0x5ab229)=>this['handleDiscardAction'](this['tableCellProperties'],_0x10b3a8,_0x5ab229)),_0x1fb070['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x1fb070['descriptionFactory']['registerAttributeLabel']('tableCellType',getTranslation$1(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x1fb070['descriptionFactory']['registerDescriptionCallback'](_0x358c31=>this['handleSuggestionDescription'](_0x358c31)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x133acd,_0x4d1071,_0x238884,_0x16f5cf,_0x1a7d52,_0x40694c){const _0x113ddb=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x40694c['batch'],()=>{for(const _0x2b0196 of _0x4d1071){if(this['_getSuggestion'](_0x2b0196,_0x16f5cf))_0x1a7d52(_0x40694c);else{const _0x15109b={};for(const _0x28000b of _0x238884){const _0x2161ad=_0x2b0196['getAttribute'](_0x28000b);void 0x0!==_0x2161ad&&(_0x15109b[_0x28000b]=_0x2161ad);}_0x1a7d52(_0x40694c),_0x113ddb['markBlockFormat'](_0x2b0196,{'commandParams':[_0x15109b]},[],_0x16f5cf);}}});}['handleDiscardAction'](_0x4ff8f1,_0x261f64,_0x30d889){const _0x3caa8a=_0x261f64[0x0]['start']['nodeAfter'],_0x5c5718=_0x30d889['commandParams'][0x0];this['editor']['model']['change'](_0x434abc=>{for(const _0x2f05a1 of _0x4ff8f1)void 0x0!==_0x5c5718[_0x2f05a1]?_0x434abc['setAttribute'](_0x2f05a1,_0x5c5718[_0x2f05a1],_0x3caa8a):_0x434abc['removeAttribute'](_0x2f05a1,_0x3caa8a);});}['handleSuggestionDescription'](_0x4e61ae){if(_0x4e61ae['data'])switch(_0x4e61ae['subType']){case'tableProperties':return{'type':'format','content':getTranslation$1(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':getTranslation$1(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x53b59e,_0x50cbea){const _0x3835de=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x4876b1 of _0x3835de['getSuggestions']({'skipNotAttached':!0x0})){const _0x139392=_0x4876b1['getContainedElement']();if(_0x4876b1['subType']===_0x50cbea&&_0x139392===_0x53b59e)return _0x4876b1;}return null;}['_registerTablePropertiesAttributes'](){const _0xdba067=this['editor']['plugins']['get']('TrackChangesEditing'),_0x12620d=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x246570 of _0x12620d){const _0x387a8c=_0x246570['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0xdba067['descriptionFactory']['registerAttributeLabel'](_0x246570,getTranslation$1(this['editor']['locale'],'FORMAT_'+_0x387a8c));}}}class TrackChangesLineHeight extends ckeditor5['Plugin']{['afterInit'](){const _0x143a56=this['editor'];if(!_0x143a56['plugins']['has']('LineHeight'))return;const _0xdcca5f=_0x143a56['plugins']['get']('TrackChangesEditing'),_0x54c973=_0x143a56['locale'];_0xdcca5f['enableDefaultAttributesIntegration']('lineHeight'),_0xdcca5f['descriptionFactory']['registerAttributeLabel']('lineHeight',getTranslation$1(_0x54c973,'FORMAT_LINE_HEIGHT'));}}const renameAttributeKey='$elementName';class TrackChangesEditing extends ckeditor5['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return['CommentsRepository',SuggestionsConversion,_0x59867e,ckeditor5['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x2e6f83,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x2c7a7f,_0x3aec7c,_0x1d74f2,_0x112369,TrackChangesComments,TrackChangesDeleteCommand,_0x2bd7ae,TrackChangesEnterCommand,_0x5ebc78,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,_0x45c381,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x19d121,TrackChangesImageStyle,_0x2799cf,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x17670e,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x187eff,TrackChangesMention,_0x1ce997,_0x450a0b,_0x1c4a0c,_0x3b46f6,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0x4592fe,TrackChangesTableMergeSplit,_0x1a6ed9,TrackChangesTableLayout,TrackChangesTableCaption,_0x6721db,_0xc89d5d,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x10ba69,_0xff592];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x385a3b){super(_0x385a3b),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x2c0662,_0x242334,_0x83c306,_0x213b0a)=>{this['_model']['change'](()=>{for(const _0x5ba766 of[..._0x213b0a,..._0x83c306])this['_model']['markers']['has'](_0x5ba766)&&_0x385a3b['editing']['reconvertMarker'](_0x5ba766);});}),this['descriptionFactory']=new SuggestionDescriptionFactory(this['editor']['model']['schema'],this['editor']['locale']),this['_adapter']=null,this['_suggestionFactory']=new SuggestionFactory(this['editor']),this['_suggestions']=new Map(),this['_commentsRepository']=_0x385a3b['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x385a3b['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x385a3b['config']['get']('trackChanges.trackFormatChanges'),_0x385a3b['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x385a3b['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x36123e(_0x385a3b,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x2a3862=this['editor'];_0x2a3862['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x59d71d,{writer:_0x296faf})=>{let _0x57148a='suggestion:'+_0x59d71d['getAttribute']('suggestion-type')+':'+_0x59d71d['getAttribute']('id');return _0x59d71d['getAttribute']('marker-count')&&(_0x57148a+=':'+_0x59d71d['getAttribute']('marker-count')),_0x296faf['createElement']('$marker',{'data-name':_0x57148a});}}),_0x2a3862['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x2a3862['model']['document']['registerPostFixer'](_0x426ce5=>{let _0x580ce4=!0x1;const _0x56a46f=Array['from'](_0x2a3862['model']['document']['differ']['getChangedMarkers']()),_0x3d7ee6=new Set();for(const {name:_0x138638,data:_0x47e003}of _0x56a46f){const {group:_0x142ee2,type:_0x420f99,subType:_0xfc3bac,id:_0x118c31}=this['_splitMarkerName'](_0x138638);if('suggestion'!==_0x142ee2)continue;const _0xba8df5=_0xfc3bac?'suggestion:'+_0x420f99+':'+_0xfc3bac+':'+_0x118c31:'suggestion:'+_0x420f99+':'+_0x118c31,_0x33a241=_0x2a3862['model']['markers']['getMarkersGroup'](_0xba8df5),_0x203de6=_0x2a3862['model']['markers']['get'](_0x138638),_0x696d55=this['_suggestions']['get'](_0x118c31);if(null!=_0x47e003['newRange']){'formatInline'==_0x420f99&&(_0x580ce4=_0x580ce4||trimFormatInlineSuggestionRange(_0x47e003['newRange'],_0x138638,_0x426ce5,_0x2a3862['model']['schema']));const _0x275c36='attribute'==_0x420f99&&this['_isBlockAttribute'](_0xfc3bac['split']('|')[0x0]),_0x4795a0='attribute'==_0x420f99&&this['_isInlineAttribute'](_0xfc3bac['split']('|')[0x0]);if(_0x47e003['newRange']['isCollapsed']||'$graveyard'==_0x47e003['newRange']['root']['rootName']||'formatBlock'==_0x420f99&&!isCorrectFormatBlockSuggestionRange(_0x47e003['newRange'])||_0x275c36&&!isCorrectFormatBlockSuggestionRange(_0x47e003['newRange'])||_0x4795a0&&isEmptyRange(_0x47e003['newRange'])||'deletion'==_0x420f99&&isEmptyRange(_0x47e003['newRange'])||_0x203de6&&isIntersectingWithOtherMarkers(_0x203de6,_0x33a241))_0x426ce5['removeMarker'](_0x138638),_0x580ce4=!0x0;else{if(!_0x696d55||!_0x696d55['isInContent'])continue;if(_0x47e003['newRange']&&_0x47e003['oldRange']&&_0x47e003['newRange']['isEqual'](_0x47e003['oldRange']))continue;_0x3d7ee6['add'](_0x696d55);}}}return _0x3d7ee6['size']>0x0&&(_0x580ce4=!!this['_joinWithAdjacentSuggestions'](_0x3d7ee6)||_0x580ce4),_0x580ce4;}),_0x2a3862['model']['document']['registerPostFixer'](_0x580c6e=>{let _0x2c74a2=!0x1;for(const _0x3c40a2 of _0x2a3862['model']['document']['differ']['getChanges']())if('insert'==_0x3c40a2['type'])for(const _0x1aced0 of this['_suggestions']['values']()){if(_0x1aced0['isMultiRange']||!_0x1aced0['isInContent'])continue;const _0x5cf6db='formatBlock'==_0x1aced0['type'],_0x167b72=this['_getAttributeKey'](_0x1aced0),_0x7b94f3=_0x167b72&&this['_isBlockAttribute'](_0x167b72);if(!_0x5cf6db&&!_0x7b94f3)continue;const _0x1c5e26=_0x1aced0['getFirstRange']();if(_0x1c5e26['start']['parent']!=_0x1c5e26['end']['parent']&&!_0x1c5e26['end']['isAtEnd']){const _0x293a46=_0x2a3862['model']['createPositionAt'](_0x1c5e26['start']['nodeAfter'],'end'),_0x177bff=_0x2a3862['model']['createRange'](_0x1c5e26['start'],_0x293a46);_0x580c6e['updateMarker'](_0x1aced0['getFirstMarker'](),{'range':_0x177bff}),_0x2c74a2=!0x0;}}return _0x2c74a2;}),_0x2a3862['model']['document']['registerPostFixer'](_0x1b2232=>this['_processAttributeChanges'](_0x1b2232)),_0x2a3862['model']['document']['registerPostFixer'](_0x1c8098=>!_0x1c8098['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x1c8098)),_0x2a3862['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x2a3862['model']['document']['on']('change:data',(_0x20cb5d,_0x185a9b)=>{if(!_0x185a9b['isLocal']||_0x185a9b['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0xf162a=_0x2a3862['model']['document']['differ']['getChanges']();if(0x0==_0xf162a['length'])return;const _0x525a00=[],_0x360563=_0xf162a['filter'](_0x243d13=>'attribute'==_0x243d13['type']),_0x35033e=_0xf162a['filter'](_0x331807=>'insert'==_0x331807['type']&&'$text'!=_0x331807['name']);for(const _0x179c32 of _0x360563)this['_isRegisteredAttribute'](_0x179c32['attributeKey'])&&_0x525a00['push']({'key':_0x179c32['attributeKey'],'newValue':_0x179c32['attributeNewValue'],'oldValue':_0x179c32['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x179c32['range'],_0x2a3862['model'])});for(const _0x395099 of _0x35033e){if('rename'!=_0x395099['action']&&'refresh'!=_0x395099['action'])continue;const _0x3c2d8e=createBlockFormatRangeForElement(_0x395099['position']['nodeAfter'],_0x2a3862['model']),_0x2e5361=_0x395099['before'];'rename'==_0x395099['action']&&_0x525a00['push']({'key':renameAttributeKey,'newValue':_0x395099['name'],'oldValue':_0x2e5361['name'],'range':_0x3c2d8e});for(const [_0x35cb18,_0x3737e2]of _0x2e5361['attributes']){if(!this['_isRegisteredAttribute'](_0x35cb18))continue;const _0x33e1ef=_0x395099['attributes']['get'](_0x35cb18);_0x3737e2!==_0x33e1ef&&_0x525a00['push']({'key':_0x35cb18,'newValue':_0x33e1ef,'oldValue':_0x3737e2,'range':_0x3c2d8e});}for(const [_0x360ad5,_0x5564e3]of _0x395099['attributes'])this['_isRegisteredAttribute'](_0x360ad5)&&(_0x2e5361['attributes']['has'](_0x360ad5)||_0x525a00['push']({'key':_0x360ad5,'newValue':_0x5564e3,'oldValue':null,'range':_0x3c2d8e}));}0x0!=_0x525a00['length']&&_0x2a3862['model']['enqueueChange'](_0x185a9b,_0x273b55=>{const _0x1ba228=ckeditor5['uid']();for(const {range:_0x320c24,key:_0x363b3e,oldValue:_0xa86c59,newValue:_0x39afff}of _0x525a00)this['markAttributeChange'](_0x320c24,_0x363b3e,_0xa86c59,_0x39afff,{'groupId':_0x1ba228});this['_reduceExistingSuggestions'](_0x273b55,_0x525a00);});},{'priority':'lowest'}),_0x2a3862['model']['markers']['on']('update:suggestion',(_0x20c1b3,_0x3d6cb2,_0x4cc161)=>{if(null==_0x4cc161){const {id:_0x38f853}=this['_splitMarkerName'](_0x3d6cb2['name']),_0x477d17=this['_suggestions']['get'](_0x38f853);_0x477d17&&_0x477d17['addMarkerName'](_0x3d6cb2['name']);}}),_0x2a3862['model']['document']['on']('change:data',()=>{const _0x312c5c=Array['from'](_0x2a3862['model']['document']['differ']['getChangedMarkers']())['filter'](_0x7d66a8=>'suggestion'===this['_splitMarkerName'](_0x7d66a8['name'])['group']);if(0x0===_0x312c5c['length'])return;_0x312c5c['sort']((_0x3a9681,_0x5bc29a)=>{const _0x752f91=_0x3a9681['data']['oldRange'],_0x53fede=_0x5bc29a['data']['oldRange'];return null===_0x752f91&&null===_0x53fede?0x0:null===_0x752f91&&null!==_0x53fede?-0x1:null!==_0x752f91&&null===_0x53fede?0x1:_0x752f91['start']['isBefore'](_0x53fede['start'])?-0x1:0x1;});const _0x384bf0=new Set(),_0xb0deed=new Set();for(const {name:_0x401866,data:_0x23fee2}of _0x312c5c){const {id:_0x173b46}=this['_splitMarkerName'](_0x401866);if(null===_0x23fee2['oldRange']){const _0x50b24c=this['_handleNewSuggestionMarker'](_0x401866);_0xb0deed['add'](_0x50b24c);}else{const _0x2364b8=this['_suggestions']['get'](_0x173b46);null!==_0x23fee2['newRange']||_0x2364b8['isInContent']?(_0x384bf0['add'](_0x2364b8['head']),_0xb0deed['add'](_0x2364b8)):this['_removeSuggestion'](_0x2364b8);}}_0xb0deed['size']>0x0&&this['_refreshSuggestionsChain'](_0xb0deed);for(const _0x24b7a5 of _0x384bf0)this['fire']('suggestionChanged',_0x24b7a5);}),_0x2a3862['model']['on']('applyOperation',(_0x383b96,_0x1316ad)=>{const _0x4a44bf=_0x1316ad[0x0];if(!this['_suggestions']['size'])return;if(!_0x4a44bf['isDocumentOperation'])return;if(_0x4a44bf['batch']['isUndo']||!_0x4a44bf['batch']['isLocal'])return;let _0x242d63,_0x226702;switch(_0x4a44bf['type']){case'insert':_0x242d63=_0x2a3862['model']['createPositionAt'](_0x4a44bf['position']),_0x226702=_0x242d63['getShiftedBy'](_0x4a44bf['howMany']);break;case'split':_0x242d63=_0x2a3862['model']['createPositionAt'](_0x4a44bf['splitPosition']),_0x226702=_0x2a3862['model']['createPositionAt'](_0x4a44bf['moveTargetPosition']);break;case'move':_0x242d63=_0x2a3862['model']['createPositionAt'](_0x4a44bf['targetPosition']),_0x226702=_0x242d63['getShiftedBy'](_0x4a44bf['howMany']);break;default:return;}const _0xd19f62=_0x2a3862['model']['createRange'](_0x242d63,_0x226702);_0x2a3862['model']['change'](()=>{for(const {suggestion:_0x3b6981,meta:_0x300f18}of this['_findSuggestions'](_0xd19f62)){if(_0x3b6981['isMultiRange'])continue;if('formatInline'==_0x3b6981['type'])continue;const _0x1253f9=this['_getAttributeKey'](_0x3b6981);if(_0x1253f9&&this['_isBlockAttribute'](_0x1253f9)&&'split'!=_0x4a44bf['type'])continue;const _0x3f8c98=_0x3b6981['data']&&_0x3b6981['data']['multipleBlocks'];('formatBlock'!=_0x3b6981['type']||'split'==_0x4a44bf['type']&&!_0x3f8c98)&&(_0x300f18['containsRangeInObject']||'insertion'==_0x3b6981['type']&&_0x300f18['isOwn']||_0x3b6981['getFirstRange']()['containsRange'](_0xd19f62)&&this['_breakSuggestionMarker'](_0x3b6981,_0x242d63,_0x226702));}});},{'priority':'lowest'}),_0x2a3862['model']['on']('deleteContent',(_0x262bab,_0x42b991)=>{const _0x5629e6=_0x42b991[0x0],_0x32e2c8=_0x42b991[0x1];if(_0x32e2c8&&_0x32e2c8['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x5629e6['isCollapsed'])return;const _0x113d33=_0x2a3862['model']['schema'],{start:_0x90736c,end:_0x4d19e1}=_0x5629e6['getFirstRange'](),_0x4b77a9=_0x90736c['nodeAfter']&&_0x113d33['isLimit'](_0x90736c['nodeAfter'])?null:_0x113d33['getNearestSelectionRange'](_0x90736c,'forward'),_0x56c9b2=_0x4d19e1['nodeBefore']&&_0x113d33['isLimit'](_0x4d19e1['nodeBefore'])?null:_0x113d33['getNearestSelectionRange'](_0x4d19e1,'backward'),_0x766984=_0x2a3862['model']['createRange'](_0x4b77a9?_0x4b77a9['start']:_0x90736c,_0x56c9b2?_0x56c9b2['end']:_0x4d19e1);_0x2a3862['model']['change'](_0x249201=>{this['markDeletion'](_0x766984);const _0x18736d=_0x2a3862['model']['schema']['getNearestSelectionRange'](_0x766984['start']);_0x5629e6['is']('documentSelection')?_0x249201['setSelection'](_0x18736d):_0x5629e6['setTo'](_0x18736d);}),_0x262bab['stop']();},{'priority':ckeditor5['priorities']['normal']+0xa}),_0x2a3862['model']['on']('insertContent',(_0x4f8633,_0x37202f)=>{const _0x10883e=_0x37202f[_0x37202f['length']-0x1];_0x10883e&&_0x10883e['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x2a3862['model']['change'](()=>{let _0x4d07e6=_0x2a3862['model']['insertContent'](_0x37202f[0x0],_0x37202f[0x1],_0x37202f[0x2],{'forceDefaultExecution':!0x0});if(!_0x4d07e6)return;_0x4f8633['return']=_0x4d07e6['clone']();const _0x1f83d4=_0x4d07e6['end']['nodeBefore'],_0x2e5210=_0x2a3862['model']['schema'];_0x1f83d4&&_0x2e5210['isBlock'](_0x1f83d4)&&!_0x2e5210['isObject'](_0x1f83d4)&&(_0x4d07e6=_0x2a3862['model']['createRange'](_0x4d07e6['start'],_0x2a3862['model']['createPositionAt'](_0x1f83d4,'end'))),this['markInsertion'](_0x4d07e6);}),_0x4f8633['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x32ab49=new AcceptSuggestionCommand(_0x2a3862,this['_suggestions']);_0x2a3862['commands']['add']('acceptSuggestion',_0x32ab49),this['enableCommand']('acceptSuggestion');const _0x265b41=new DiscardSuggestionCommand(_0x2a3862,this['_suggestions']);_0x2a3862['commands']['add']('discardSuggestion',_0x265b41),this['enableCommand']('discardSuggestion'),_0x2a3862['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x2a3862,_0x32ab49,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x2a3862['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x2a3862,_0x265b41,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x2a3862['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x2a3862,_0x32ab49,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x2a3862['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x2a3862,_0x265b41,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x2f35d7=_0x2a3862['plugins']['get']('CommentsRepository');this['listenTo'](_0x2f35d7,'addComment',(_0x5ef628,{threadId:_0x1545e7})=>{const _0x2b10d6=this['_suggestions']['get'](_0x1545e7);_0x2b10d6&&_0x2b10d6['commentThread']&&0x1===_0x2b10d6['commentThread']['length']&&this['_updateSuggestionData'](_0x1545e7,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x2f35d7,'removeComment',(_0xaca009,{threadId:_0x5d7907})=>{const _0x171c0f=this['_suggestions']['get'](_0x5d7907);_0x171c0f&&_0x171c0f['commentThread']&&!_0x171c0f['commentThread']['length']&&this['_updateSuggestionData'](_0x5d7907,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){_0x58bdfb(this);}set['adapter'](_0xeecdf4){if(this['_adapter'])throw new ckeditor5['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0xeecdf4;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x4b3dae=!0x1,toJSON:_0x844ed=!0x1}={}){const _0x1d5067=[];for(const _0x9bca8f of this['_suggestions']['values']())_0x4b3dae&&!_0x9bca8f['isInContent']||_0x1d5067['push'](_0x9bca8f);return _0x844ed?_0x1d5067['map'](_0x2bdf04=>_0x2bdf04['toJSON']()):_0x1d5067;}['getSuggestion'](_0x3cef2f){const _0x2c6f6c=this['_suggestions']['get'](_0x3cef2f);if(!_0x2c6f6c)throw new ckeditor5['CKEditorError']('track-changes-suggestion-not-found',this);return _0x2c6f6c;}['hasSuggestion'](_0x1cf6f4){return this['_suggestions']['has'](_0x1cf6f4);}['addSuggestionData'](_0x2397c3){const {authorId:_0x1cdc8c,id:_0x4533c,originalSuggestionId:_0x49f48e,attributes:_0x5c3381}=_0x2397c3,[_0x4ac9b4,_0x2d456d]=_0x2397c3['type']['split'](':'),_0xd9ff8b=this['_suggestions']['get'](_0x4533c)||this['_createSuggestion'](_0x4ac9b4,_0x2d456d,_0x4533c,_0x1cdc8c,_0x5c3381,_0x49f48e);if(this['_addThreadToSuggestion'](_0xd9ff8b),this['_checkSuggestionCorrectness'](_0xd9ff8b,_0x4ac9b4,_0x2d456d||null,_0x1cdc8c),_0xd9ff8b['createdAt']=_0x2397c3['createdAt'],_0xd9ff8b['_isDataLoaded']=!0x0,_0x5c3381&&_0x5c3381['@external']){const _0x58b74f=_0x5c3381['@external'],_0x419a8d=this['_getExternalAuthor'](_0x58b74f['authorName']);_0xd9ff8b['authoredAt']=_0x58b74f['createdAt'],_0xd9ff8b['author']=_0x419a8d,_0xd9ff8b['isExternal']=!0x0;}else _0xd9ff8b['authoredAt']=_0x2397c3['createdAt'];switch(_0x2397c3['data']&&(_0xd9ff8b['data']=_0x2397c3['data']),_0x2397c3['attributes']&&(_0xd9ff8b['attributes']=_0x2397c3['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0xd9ff8b['_saved']=!0x0),this['_suggestionState']['get'](_0xd9ff8b)){case'notReady':this['_suggestionState']['set'](_0xd9ff8b,'dataReady');break;case'markerReady':_0xd9ff8b['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0xd9ff8b])),this['_refreshSuggestionsChain'](new Set([_0xd9ff8b])),this['_suggestionState']['set'](_0xd9ff8b,'ready'),this['fire']('suggestionLoaded',_0xd9ff8b)):this['_suggestionState']['set'](_0xd9ff8b,'removed');}return _0xd9ff8b;}['acceptSuggestion'](_0x24501d){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x26eab5 of _0x24501d['getAllAdjacentSuggestions']())_0x26eab5['accept']();});});}['discardSuggestion'](_0x3637ae){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x24b8a6 of _0x3637ae['getAllAdjacentSuggestions']())_0x24b8a6['discard']();});});}['enableCommand'](_0x18797d,_0x214667){const _0x131ae6=this['editor']['commands']['get'](_0x18797d);if(!_0x131ae6)throw new ckeditor5['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x18797d});if(this['_enabledCommands']['has'](_0x131ae6))throw new ckeditor5['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x18797d});this['_enabledCommands']['add'](_0x131ae6),_0x214667&&_0x131ae6['on']('execute',(_0x28ac92,_0x2edec8)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x2edec8['length']>0x0&&_0x2edec8[_0x2edec8['length']-0x1]&&_0x2edec8[_0x2edec8['length']-0x1]['forceDefaultExecution']?_0x2edec8['pop']():(_0x28ac92['return']=_0x214667((..._0xd32990)=>_0x131ae6['execute'](..._0xd32990,{'forceDefaultExecution':!0x0}),..._0x2edec8),_0x28ac92['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x449df5){let _0x266f59,_0x162cfb;const _0x592984=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x266f59=_0x449df5();}catch(_0x274d1b){_0x162cfb=_0x274d1b;}return _0x592984||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x162cfb&&ckeditor5['CKEditorError']['rethrowUnexpectedError'](_0x162cfb,this),_0x266f59;}['markInsertion'](_0x104f9c,_0x308e9c=null,_0x537627={}){if(_0x104f9c['isCollapsed'])return null;const _0xc71ff3=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x537627['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x47840c,meta:_0xe00d1d}of this['_findSuggestions'](_0x104f9c,'insertion'))if(_0xe00d1d['isOwn']){if(!_0xe00d1d['isNextTo']){if(_0xe00d1d['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_areSimilarAttributes(_0x47840c,_0x537627))continue;return _0x47840c;}if(_areSimilarAttributes(_0x47840c,_0x537627))return _0x47840c;this['_breakSuggestionMarker'](_0x47840c,_0x104f9c['start'],_0x104f9c['end']);break;}if(_0x308e9c==_0x47840c['subType']&&_areSimilarAttributes(_0x47840c,_0x537627)){const _0x57fddd=_0x47840c['getFirstRange']();return _0x57fddd['start']['isEqual'](_0x104f9c['end'])?this['_setSuggestionRange'](_0x47840c,this['_model']['createRange'](_0x104f9c['start'],_0x57fddd['end'])):this['_setSuggestionRange'](_0x47840c,this['_model']['createRange'](_0x57fddd['start'],_0x104f9c['end'])),_0x47840c;}}const _0x585073=ckeditor5['uid'](),_0x3f27ff=_0xc71ff3['id'],_0x5b5091=_0x308e9c?'insertion:'+_0x308e9c:'insertion',_0x4c1643=this['_setSuggestionData']({'id':_0x585073,'type':_0x5b5091,'createdAt':new Date(),'authorId':_0x3f27ff,'attributes':_0x537627});return this['_addSuggestionMarker'](_0x5b5091,_0x585073,_0x3f27ff,_0x104f9c),_0x4c1643;}['markMultiRangeInsertion'](_0x322bc7,_0x274ece='multi',_0x3294d7={}){const _0x2100d5=this['editor']['plugins']['get']('Users')['me'],_0x2fa879=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x274ece,'join');this['_trackingSessionId']&&(_0x3294d7['trackingSessionId']=this['_trackingSessionId']);for(const _0x55196b of this['getSuggestions']())if(_0x55196b['author']['id']==_0x2100d5['id']&&'insertion'==_0x55196b['type']&&_0x55196b['subType']==_0x274ece&&_areSimilarAttributes(_0x55196b,_0x3294d7)&&(_0x2fa879(_0x55196b['getRanges'](),_0x322bc7)||_0x2fa879(_0x322bc7,_0x55196b['getRanges']()))){for(const _0x1ed640 of _0x322bc7)_0x55196b['addRange'](_0x1ed640);return _0x55196b;}for(const {suggestion:_0x7d07ee,meta:_0x313079}of this['_findSuggestions'](_0x322bc7,'insertion')){if(!_0x313079['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x313079['containsRangeInObject'])continue;if(!_areSimilarAttributes(_0x7d07ee,_0x3294d7))continue;let _0x387ebf=!0x0;for(const _0x271804 of _0x7d07ee['getRanges']())for(const _0x2f6ef1 of _0x322bc7)if(!_0x271804['containsRange'](_0x2f6ef1)){_0x387ebf=!0x1;break;}if(_0x387ebf)return _0x7d07ee;}const _0x1a1548=ckeditor5['uid'](),_0x24821b=_0x2100d5['id'],_0x2c376d='insertion:'+_0x274ece,_0x366b66=this['_setSuggestionData']({'id':_0x1a1548,'type':_0x2c376d,'createdAt':new Date(),'authorId':_0x24821b,'attributes':_0x3294d7});for(const _0x39f658 of _0x322bc7)this['_addSuggestionMarker'](_0x2c376d,_0x1a1548,_0x24821b,_0x39f658,Suggestion['getMultiRangeId']());return _0x366b66;}['markInlineFormat'](_0x20c9e1,_0x43e581,_0x53bc76=null,_0x75a045={}){if(_0x53bc76=_0x53bc76||createFormatSubType(_0x43e581),_0x20c9e1['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x75a045['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x170d1a=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x53bc76,'accept');return this['forceDefaultExecution'](()=>_0x170d1a([_0x20c9e1],_0x43e581,_0x75a045)),null;}const _0xde44d6=this['editor']['plugins']['get']('Users')['me'],_0x153309=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x5eef8e,meta:_0xea9e83}of this['_findSuggestions'](_0x20c9e1,'insertion'))_0xea9e83['isOwn']&&!_0xea9e83['isInsideObject']&&_0x153309['push'](..._0x5eef8e['getRanges']());}const _0x88c1ea=getIntersectionsWithMultipleRanges(_0x20c9e1,_0x153309),_0x433a99=getDifferencesWithMultipleRanges(_0x20c9e1,_0x153309);_0x88c1ea['length']&&this['_model']['change'](()=>{for(const _0x3e2e79 of _0x88c1ea){const _0xb10e86=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x53bc76,'accept');this['forceDefaultExecution'](()=>_0xb10e86([_0x3e2e79],_0x43e581,_0x75a045));}});for(const _0x13b445 of _0x433a99){let _0x4900e6=null,_0x1cb2dc=_0x13b445['start'],_0x13c7c5=_0x13b445['end'];for(const {suggestion:_0xe45bac,meta:_0x32d311}of this['_findSuggestions'](_0x13b445,'formatInline')){if(!_0x32d311['isOwn'])continue;if(_0xe45bac['subType']!=_0x53bc76)continue;if(!_areSimilarAttributes(_0xe45bac,_0x75a045))continue;const _0x57a8c5=_0xe45bac['getFirstRange']();if(_0x57a8c5['containsRange'](_0x13b445,!0x0))return null;_0x1cb2dc=_0x1cb2dc['isBefore'](_0x57a8c5['start'])?_0x1cb2dc:_0x57a8c5['start'],_0x13c7c5=_0x13c7c5['isAfter'](_0x57a8c5['end'])?_0x13c7c5:_0x57a8c5['end'],_0x4900e6?_0x57a8c5['start']['isBefore'](_0x4900e6['getFirstRange']()['start'])?(_0x4900e6['removeMarkers'](),_0x4900e6=_0xe45bac):_0xe45bac['removeMarkers']():_0x4900e6=_0xe45bac;}const _0x58af87=this['_model']['createRange'](_0x1cb2dc,_0x13c7c5);if(_0x4900e6)this['_setSuggestionRange'](_0x4900e6,_0x58af87);else{const _0x4332fa=ckeditor5['uid'](),_0x18295e=_0xde44d6['id'];this['_setSuggestionData']({'id':_0x4332fa,'type':'formatInline:'+_0x53bc76,'data':_0x43e581,'createdAt':new Date(),'authorId':_0x18295e,'attributes':_0x75a045}),this['_addSuggestionMarker']('formatInline:'+_0x53bc76,_0x4332fa,_0x18295e,_0x58af87);}}return null;}['markBlockFormat'](_0x35f726,_0x38f0e0,_0x357b93=[],_0x1048ee=null,_0x548769={}){_0x38f0e0['formatGroupId']||(_0x38f0e0['formatGroupId']=_0x38f0e0['commandName']),_0x38f0e0['multipleBlocks']=_0x35f726['is']('range'),_0x1048ee=_0x1048ee||createFormatSubType(_0x38f0e0);const _0x19e860=_0x357b93['map'](_0xc4193d=>createBlockFormatRangeForElement(_0xc4193d,this['_model'])),_0x479d0b=_0x35f726['is']('range')?_0x35f726:createBlockFormatRangeForElement(_0x35f726,this['_model']);if(this['_trackingSessionId']&&(_0x548769['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x43326e=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x1048ee,'accept');return this['forceDefaultExecution'](()=>_0x43326e([_0x479d0b],_0x38f0e0,_0x548769)),null;}_0x19e860['push'](_0x479d0b);let _0x230451=!0x0;for(const _0x121099 of _0x19e860)if(!this['_rangeIsInLocalUserInsertion'](_0x121099)){_0x230451=!0x1;break;}if(_0x230451&&'always'!==this['_trackFormatChanges']){const _0x35a65f=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x1048ee,'accept');return this['forceDefaultExecution'](()=>_0x35a65f([_0x479d0b],_0x38f0e0,_0x548769)),null;}let _0x623ac4=null,_0x18a909=_0x479d0b['start'],_0x3f9cf1=_0x479d0b['end'];for(const {suggestion:_0xfc0f4c,meta:_0x511009}of this['_findSuggestions'](_0x479d0b,'formatBlock')){if(!_0x511009['isOwn'])continue;if(_0x511009['isNextTo']||_0x511009['containsRangeInObject']||_0x511009['isInsideObject'])continue;if(_0xfc0f4c['data']['formatGroupId']!=_0x38f0e0['formatGroupId'])continue;if(!_areSimilarAttributes(_0xfc0f4c,_0x548769))continue;const _0x2a28d9=_0xfc0f4c['getFirstRange']();if(_0xfc0f4c['subType']==_0x1048ee){if(_0x2a28d9['containsRange'](_0x479d0b,!0x0))return null;_0x18a909=_0x18a909['isBefore'](_0x2a28d9['start'])?_0x18a909:_0x2a28d9['start'],_0x3f9cf1=_0x3f9cf1['isAfter'](_0x2a28d9['end'])?_0x3f9cf1:_0x2a28d9['end'],_0x623ac4?_0x2a28d9['start']['isBefore'](_0x623ac4['getFirstRange']()['start'])?(_0x623ac4['removeMarkers'](),_0x623ac4=_0xfc0f4c):_0xfc0f4c['removeMarkers']():_0x623ac4=_0xfc0f4c;}else{const _0x237a9a=_0x479d0b['getIntersection'](_0x2a28d9);this['_cutOutSuggestionMarker'](_0xfc0f4c,_0x237a9a);}}const _0x22c299=this['editor']['plugins']['get']('Users')['me'],_0x74ef1e=ckeditor5['uid'](),_0x5ea529=_0x22c299['id'];if(_0x623ac4)return this['_setSuggestionRange'](_0x623ac4,this['_model']['createRange'](_0x18a909,_0x3f9cf1)),_0x623ac4;{const _0x1167bc=this['_setSuggestionData']({'id':_0x74ef1e,'type':'formatBlock:'+_0x1048ee,'data':_0x38f0e0,'createdAt':new Date(),'authorId':_0x5ea529,'attributes':_0x548769});return this['_addSuggestionMarker']('formatBlock:'+_0x1048ee,_0x74ef1e,_0x5ea529,this['_model']['createRange'](_0x18a909,_0x3f9cf1)),_0x1167bc;}}['markMultiRangeBlockFormat'](_0x918fcc,_0x468ef,_0x12ef1d=[],_0x37fd50=null,_0x58f628={}){_0x468ef['formatGroupId']||(_0x468ef['formatGroupId']=_0x468ef['commandName']);const _0x40cf6b=_0x918fcc[0x0];_0x468ef['multipleBlocks']=_0x40cf6b['is']('range'),_0x37fd50=_0x37fd50||createFormatSubType(_0x468ef);const _0x45eeac=_0x12ef1d['map'](_0x47eac0=>createBlockFormatRangeForElement(_0x47eac0,this['_model'])),_0xae72c3=_0x40cf6b['is']('range')?_0x918fcc:_0x918fcc['map'](_0x36730a=>createBlockFormatRangeForElement(_0x36730a,this['_model']));if(this['_trackingSessionId']&&(_0x58f628['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5ed161=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x37fd50,'accept');return this['forceDefaultExecution'](()=>_0x5ed161(_0xae72c3,_0x468ef,_0x58f628)),null;}_0x45eeac['push'](..._0xae72c3);let _0x5ebcad=!0x0;for(const _0x5c51b7 of _0x45eeac)if(!this['_rangeIsInLocalUserInsertion'](_0x5c51b7)){_0x5ebcad=!0x1;break;}if(_0x5ebcad&&'always'!==this['_trackFormatChanges']){const _0x3b6be5=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x37fd50,'accept');return this['forceDefaultExecution'](()=>_0x3b6be5(_0xae72c3,_0x468ef,_0x58f628)),null;}const _0x4a97da=this['editor']['plugins']['get']('Users')['me'];for(const _0x589aeb of this['getSuggestions']()){const _0x35ee55=_0x589aeb['data'];if(_0x589aeb['author']['id']!=_0x4a97da['id'])continue;if('formatBlock'!=_0x589aeb['type']||_0x35ee55['formatGroupId']!=_0x468ef['formatGroupId'])continue;if(!_areSimilarAttributes(_0x589aeb,_0x58f628))continue;const _0x1b556a=_0x589aeb['subType']==_0x37fd50;for(let _0x423095=0x0;_0x423095<_0xae72c3['length'];_0x423095++){const _0xbf97bb=_0xae72c3[_0x423095];for(const _0x13e070 of _0x589aeb['getMarkers']()){const _0x5f1edf=_0x13e070['getRange']();if(_0xbf97bb['isEqual'](_0x5f1edf)){_0x1b556a?(_0xae72c3['splice'](_0x423095,0x1),_0x423095--):_0x589aeb['removeMarker'](_0x13e070['name']);break;}}}}if(0x0==_0xae72c3['length'])return null;const _0x1931b4=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x37fd50,'join');for(const _0x4b1713 of this['getSuggestions']()){const _0xb7c9d1=_0x4b1713['data'];if(_0x4b1713['author']['id']==_0x4a97da['id']&&('formatBlock'==_0x4b1713['type']&&_0xb7c9d1['formatGroupId']==_0x468ef['formatGroupId']&&_0x4b1713['subType']==_0x37fd50&&_areSimilarAttributes(_0x4b1713,_0x58f628)&&(_0x1931b4(_0x4b1713['getRanges'](),_0xae72c3)||_0x1931b4(_0xae72c3,_0x4b1713['getRanges']())))){for(const _0x2d0496 of _0xae72c3)_0x4b1713['addRange'](_0x2d0496);return _0x4b1713;}}const _0x58cb49=ckeditor5['uid'](),_0x36bde7=_0x4a97da['id'],_0x46ba9e='formatBlock:'+_0x37fd50,_0x1ca2a1=this['_setSuggestionData']({'id':_0x58cb49,'type':_0x46ba9e,'data':_0x468ef,'createdAt':new Date(),'authorId':_0x36bde7,'attributes':_0x58f628});for(const _0x11cf78 of _0xae72c3)this['_addSuggestionMarker'](_0x46ba9e,_0x58cb49,_0x36bde7,_0x11cf78,Suggestion['getMultiRangeId']());return _0x1ca2a1;}['markDeletion'](_0x29f228,_0x23397a=null,_0x36b63e={}){if(_0x29f228['isCollapsed'])return null;const _0x22a67c=this['editor']['plugins']['get']('Users')['me'],_0x368718=new ckeditor5['ModelLiveRange'](_0x29f228['start'],_0x29f228['end']);this['_trackingSessionId']&&(_0x36b63e['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x11c9b3,meta:_0x58dffc}of this['_findSuggestions'](_0x368718,'insertion'))if(_0x58dffc['isOwn']&&!_0x58dffc['isNextTo']){if(_0x11c9b3['isMultiRange']){const _0x4793e7=_0x11c9b3['getRanges']()['filter'](_0x1f43ad=>'$graveyard'!=_0x1f43ad['root']['rootName']);_0x4793e7['every'](_0x4960ca=>_0x368718['containsRange'](_0x4960ca,!0x0))&&_0x11c9b3['discard']();if(_0x4793e7['some'](_0x4c9cca=>_0x4c9cca['containsRange'](_0x368718,!0x0))){const _0x3847ee=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x23397a,'accept');return this['forceDefaultExecution'](()=>_0x3847ee([_0x368718],null,_0x36b63e)),null;}}else{const _0x2b3f1c=_0x368718['getIntersection'](_0x11c9b3['getFirstRange']());null!==_0x2b3f1c&&_0x11c9b3['_onDiscard']([_0x2b3f1c],null,_0x36b63e);}}if(_0x368718['detach'](),_0x368718['isCollapsed']||'$graveyard'==_0x368718['root']['rootName'])return null;let _0x5c512d=null,_0x307212=_0x368718['start'],_0x4eabd0=_0x368718['end'];const _0x3e4515=this['_findSuggestions'](_0x368718,'deletion');for(const {suggestion:_0x85f64b,meta:_0x3684a0}of _0x3e4515){const _0x5deb33=this['_model']['createRange'](_0x307212,_0x4eabd0);if(_0x3684a0['isOwn']&&(this['_mergeNestedSuggestions']||!_0x3684a0['containsRangeInObject']&&!_0x3684a0['isInsideObject'])){if(_0x85f64b['isMultiRange']){if(!_areSimilarAttributes(_0x85f64b,_0x36b63e))continue;let _0x650ca9=!0x0;for(const _0x2908c3 of _0x85f64b['getRanges']()){if(_0x2908c3['containsRange'](_0x5deb33,!0x0))return _0x85f64b;_0x5deb33['containsRange'](_0x2908c3)||(_0x650ca9=!0x1);}_0x650ca9&&_0x85f64b['discard']();}else{const _0x118d99=_0x85f64b['getFirstRange']();if(_0x118d99['containsRange'](_0x5deb33,!0x0))return _0x85f64b;if(!_areSimilarAttributes(_0x85f64b,_0x36b63e)){_0x5deb33['containsRange'](_0x118d99)?_0x85f64b['removeMarkers']():_0x118d99['containsPosition'](_0x307212)?_0x307212=_0x118d99['end']:_0x118d99['containsPosition'](_0x4eabd0)&&(_0x4eabd0=_0x118d99['start']);continue;}_0x307212=_0x307212['isBefore'](_0x118d99['start'])?_0x307212:_0x118d99['start'],_0x4eabd0=_0x4eabd0['isAfter'](_0x118d99['end'])?_0x4eabd0:_0x118d99['end'],_0x36b63e=Object['assign']({},_0x85f64b['attributes']),_0x5c512d?_0x118d99['start']['isBefore'](_0x5c512d['getFirstRange']()['start'])?(_0x5c512d['removeMarkers'](),_0x5c512d=_0x85f64b):_0x85f64b['removeMarkers']():_0x5c512d=_0x85f64b;}}}if(_0x5c512d)return this['_setSuggestionRange'](_0x5c512d,this['_model']['createRange'](_0x307212,_0x4eabd0)),_0x5c512d;{const _0x385740=ckeditor5['uid'](),_0x2ab191=this['_model']['createRange'](_0x307212,_0x4eabd0),_0x553682=_0x22a67c['id'],_0x36729d=_0x23397a?'deletion:'+_0x23397a:'deletion',_0xaf6ecd=this['_setSuggestionData']({'id':_0x385740,'type':_0x36729d,'createdAt':new Date(),'authorId':_0x553682,'attributes':_0x36b63e});return this['_addSuggestionMarker'](_0x36729d,_0x385740,_0x553682,_0x2ab191),_0xaf6ecd;}}['markMultiRangeDeletion'](_0x486b84,_0x8feea3='multi',_0x1797a6={}){const _0x2c7441=this['editor']['plugins']['get']('Users')['me'],_0x2099e7=_0x486b84['map'](_0x261f5c=>new ckeditor5['ModelLiveRange'](_0x261f5c['start'],_0x261f5c['end'])),_0x366d03=new Set();this['_trackingSessionId']&&(_0x1797a6['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x57798e,meta:_0x49aa43}of this['_findSuggestions'](_0x2099e7,'insertion'))_0x49aa43['isOwn']&&!_0x49aa43['isNextTo']&&_0x366d03['add'](_0x57798e);for(const _0x85a99c of _0x366d03)if(_0x85a99c['isMultiRange']){const _0x41a391=_0x85a99c['getRanges']();(!_0x85a99c['attributes']||!_0x85a99c['attributes']['skipNestingCheck'])&&(_0x41a391['every'](_0x4f8ac9=>_0x2099e7['some'](_0x5f2fcc=>_0x5f2fcc['containsRange'](_0x4f8ac9,!0x0)))&&_0x85a99c['discard']());if(_0x2099e7['every'](_0x448bd7=>_0x41a391['some'](_0x15e8fb=>_0x15e8fb['containsRange'](_0x448bd7,!0x0)))){const _0x3d69d6=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x8feea3,'accept');return this['forceDefaultExecution'](()=>_0x3d69d6(_0x486b84,null,_0x1797a6)),null;}}else{const _0x586a9c=_0x85a99c['getFirstRange']();_0x2099e7['some'](_0x413a78=>_0x413a78['containsRange'](_0x586a9c,!0x0))&&_0x85a99c['discard']();if(_0x2099e7['every'](_0x31ad65=>_0x586a9c['containsRange'](_0x31ad65,!0x0))){const _0x13320e=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x8feea3,'accept');return this['forceDefaultExecution'](()=>_0x13320e(_0x2099e7,null,_0x1797a6)),null;}}const _0x70ec28=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x8feea3,'join');let _0x48f39c=null;for(const _0x5e5dbf of this['getSuggestions']())if(_0x5e5dbf['author']['id']==_0x2c7441['id']&&_0x5e5dbf['isInContent']&&'deletion'==_0x5e5dbf['type']&&_0x5e5dbf['subType']==_0x8feea3&&_areSimilarAttributes(_0x5e5dbf,_0x1797a6)&&(_0x70ec28(_0x5e5dbf['getRanges'](),_0x2099e7)||_0x70ec28(_0x2099e7,_0x5e5dbf['getRanges']()))){if(_0x48f39c){if(_0x5e5dbf['commentThread']&&_0x5e5dbf['commentThread']['length'])continue;for(const _0x100609 of _0x5e5dbf['getRanges']())_0x48f39c['isIntersectingWithRange'](_0x100609)||_0x48f39c['addRange'](_0x100609);_0x5e5dbf['removeMarkers']();}else{_0x48f39c=_0x5e5dbf;for(const _0xea379c of _0x2099e7)_0x5e5dbf['isIntersectingWithRange'](_0xea379c)||_0x5e5dbf['addRange'](_0xea379c);}}if(_0x48f39c)return _0x48f39c;_0x366d03['clear']();for(const {suggestion:_0x5757e3,meta:_0x35355a}of this['_findSuggestions'](_0x2099e7,'deletion'))_0x35355a['isOwn']&&(this['_mergeNestedSuggestions']||!_0x35355a['containsRangeInObject']&&!_0x35355a['isInsideObject'])&&_areSimilarAttributes(_0x5757e3,_0x1797a6)&&_0x366d03['add'](_0x5757e3);for(const _0x2ba5df of _0x366d03){const _0x11a1b6=_0x2ba5df['getRanges']();if(!_0x1797a6||!_0x1797a6['skipNestingCheck']){if(_0x2099e7['every'](_0xe2c437=>_0x11a1b6['some'](_0x24f2b2=>_0x24f2b2['containsRange'](_0xe2c437,!0x0))))return _0x2ba5df;}(!_0x2ba5df['attributes']||!_0x2ba5df['attributes']['skipNestingCheck'])&&(_0x11a1b6['every'](_0x5869f7=>_0x2099e7['some'](_0x3d64a5=>_0x3d64a5['containsRange'](_0x5869f7,!0x0)))&&_0x2ba5df['discard']());}const _0x1de834=ckeditor5['uid'](),_0x1e20b7=_0x2c7441['id'],_0xf6b88='deletion:'+_0x8feea3,_0x3282d4=this['_setSuggestionData']({'id':_0x1de834,'type':_0xf6b88,'createdAt':new Date(),'authorId':_0x1e20b7,'attributes':_0x1797a6});for(const _0x24a83c of _0x2099e7)_0x24a83c['detach'](),_0x24a83c['isCollapsed']||'$graveyard'==_0x24a83c['root']['rootName']||this['_addSuggestionMarker'](_0xf6b88,_0x1de834,_0x1e20b7,_0x24a83c,Suggestion['getMultiRangeId']());return _0x3282d4;}['markAttributeChange'](_0xeaca9d,_0x5aba8a,_0x40925b,_0x4fe45d,_0x6bed){if(_0xeaca9d['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x2f723a=this['editor']['plugins']['get']('Users')['me']['id'],_0x5c312c=Array['from'](this['_suggestions']['values']())['filter'](_0x29ae92=>'attribute'==_0x29ae92['type']&&_0x29ae92['data']['key']==_0x5aba8a&&_0x29ae92['isIntersectingWithRange'](_0xeaca9d));if(this['_trackingSessionId']&&(_0x6bed['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x3c7aa5=this['_findSuggestions'](_0xeaca9d,'insertion')['filter'](({meta:_0x4c16d})=>_0x4c16d['isOwn']&&!_0x4c16d['isInsideObject']&&!_0x4c16d['isNextTo'])['map'](({suggestion:_0x558790})=>_0x558790);_0x5c312c['unshift'](..._0x3c7aa5);}const _0x1200a7=new Map([[_0xeaca9d,_0x40925b]]);for(const _0x319110 of _0x5c312c){const _0x4a68d3='attribute'==_0x319110['type']?_0x319110['data']['oldValue']:void 0x0,_0x176de8=_0x319110['getFirstRange'](),_0x4a5248=Array['from'](_0x1200a7['keys']())['find'](_0x48996f=>_0x48996f['isIntersecting'](_0x176de8));if(!_0x4a5248)continue;const _0x3352ab=_0x4a5248['getDifference'](_0x176de8);this['_isBlockAttribute'](_0x5aba8a)&&'insertion'==_0x319110['type']&&0x0!=_0x3352ab['length']||(_0x1200a7['delete'](_0x4a5248),_0x3352ab['forEach'](_0x49f9a6=>{_0x1200a7['set'](_0x49f9a6,_0x40925b);}),'insertion'!=_0x319110['type']&&_0x4a68d3!=_0x4fe45d&&_0x1200a7['set'](_0x4a5248['getIntersection'](_0x176de8),_0x4a68d3));}const _0x4f02fb=[];for(const [_0x49398c,_0x2b72d0]of _0x1200a7){const _0x29a470=ckeditor5['uid'](),_0x1ebf3a={'key':_0x5aba8a,'oldValue':_0x2b72d0,'newValue':_0x4fe45d};_0x5aba8a['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':_0x5aba8a});const _0x219598=('attribute:'+(_0x5aba8a+'|'+createFormatSubType({'newValue':_0x4fe45d})))['substring'](0x0,0x3c),_0xc173c0=this['_setSuggestionData']({'id':_0x29a470,'type':_0x219598,'data':_0x1ebf3a,'createdAt':new Date(),'authorId':_0x2f723a,'attributes':_0x6bed});_0x4f02fb['push'](_0xc173c0),this['_addSuggestionMarker'](_0x219598,_0x29a470,_0x2f723a,_0x49398c);}return _0x4f02fb;}['enableDefaultAttributesIntegration'](_0x8af465){this['enableCommand'](_0x8af465,(_0x1a2407,..._0x2aa3a0)=>{this['recordAttributeChanges'](()=>{_0x1a2407(..._0x2aa3a0);});});}['registerBlockAttribute'](_0x1f6119){this['editor']['plugins']['get'](SuggestionsConversion)['registerBlockAttribute'](_0x1f6119);}['registerInlineAttribute'](_0x4ce739){this['editor']['plugins']['get'](SuggestionsConversion)['registerInlineAttribute'](_0x4ce739);}['startTrackingSession'](_0x3c2b96){return this['_trackingSessionId']=void 0x0!==_0x3c2b96?_0x3c2b96:ckeditor5['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x19b9f4){return'attribute'==_0x19b9f4['type']?_getAttributeKeyFromSubType(_0x19b9f4['subType']):null;}['_applyOperationsAsSuggestions'](_0x586e99){if(0x0==_0x586e99['length'])return;const _0x213208=this['editor'],_0x5ec7b4=_0x213208['plugins']['get'](DocumentCompare),_0x2ef426=[];_0x213208['model']['change'](_0x29ac9c=>{for(let _0x5bd297=0x0;_0x5bd297<_0x586e99['length'];_0x5bd297++){const _0x3454d3=_0x586e99[_0x5bd297];if(_0x3454d3['baseVersion']=_0x213208['model']['document']['version'],_0x3454d3['isDocumentOperation']=!0x0,_0x5ec7b4['isMarkedRemoveOperation'](_0x3454d3)){const _0x4081b2=fixElementSuggestionRange(_0x3454d3['newRange'],_0x213208['model']);_0x2ef426['unshift'](ckeditor5['ModelLiveRange']['fromRange'](_0x4081b2));}else switch(_0x3454d3['type']){case'rename':{const _0x396cda=_0x3454d3['oldName'],_0x598cd5=_0x3454d3['newName'];if(_0x396cda==_0x598cd5)break;_0x29ac9c['batch']['addOperation'](_0x3454d3),_0x213208['model']['applyOperation'](_0x3454d3);const _0x524320='$elementName',_0x259286=_0x3454d3['position'],_0x1316e0=_0x213208['model']['createRange'](_0x259286,_0x213208['model']['createPositionAt'](_0x259286['nodeAfter'],'end'));this['markAttributeChange'](_0x1316e0,_0x524320,_0x396cda,_0x598cd5,{'groupId':ckeditor5['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x537cf9=_0x3454d3['oldValue'],_0x598c10=_0x3454d3['newValue'];if(_0x537cf9==_0x598c10)break;_0x29ac9c['batch']['addOperation'](_0x3454d3),_0x213208['model']['applyOperation'](_0x3454d3);const _0x46ad35=_0x3454d3['key'];if(!this['_isRegisteredAttribute'](_0x46ad35))break;const _0x47c373=fixElementSuggestionRange(_0x3454d3['range'],_0x213208['model']);this['markAttributeChange'](_0x47c373,_0x46ad35,_0x537cf9,_0x598c10,{'groupId':ckeditor5['uid']()});break;}case'insert':{_0x29ac9c['batch']['addOperation'](_0x3454d3),_0x213208['model']['applyOperation'](_0x3454d3);if(_0x586e99[_0x5bd297+0x1]&&'move'==_0x586e99[_0x5bd297+0x1]['type'])break;const _0x5bc9b1=_0x3454d3['position'],_0x488f74=_0x3454d3['howMany'],_0xe8413c=fixElementSuggestionRange(_0x213208['model']['createRange'](_0x5bc9b1,_0x5bc9b1['getShiftedBy'](_0x488f74)),_0x213208['model']);this['markInsertion'](_0xe8413c);break;}case'split':{_0x29ac9c['batch']['addOperation'](_0x3454d3),_0x213208['model']['applyOperation'](_0x3454d3);const _0x4ee986=_0x3454d3['splitPosition'],_0x5880ff=_0x3454d3['moveTargetPosition'];this['markInsertion'](_0x213208['model']['createRange'](_0x4ee986,_0x5880ff));break;}case'move':case'remove':_0x29ac9c['batch']['addOperation'](_0x3454d3),_0x213208['model']['applyOperation'](_0x3454d3);}}for(const _0x302767 of _0x2ef426)_0x302767['detach'](),this['markDeletion'](_0x302767);});}['_setSuggestionRange'](_0x42ee1a,_0x31779d){const _0x61a290=_0x42ee1a['getFirstMarker']();this['_model']['change'](_0x180a21=>{_0x180a21['updateMarker'](_0x61a290,{'range':_0x31779d});});}['_addThreadToSuggestion'](_0x5c3099){const _0x2ab6f2=_0x5c3099['id'],_0x556cb0=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x2ab6f2)||this['_commentsRepository']['addCommentThread']({'channelId':_0x556cb0,'threadId':_0x2ab6f2,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x191ce2=this['_commentsRepository']['getCommentThread'](_0x2ab6f2);_0x191ce2['unbind']('isRemovable'),_0x191ce2['isRemovable']=!0x1,_0x5c3099['commentThread']=_0x191ce2;}['_checkSuggestionCorrectness'](_0x26ad44,_0x3d8ba9,_0x12a404,_0x59f5d7){if(_0x26ad44['type']!=_0x3d8ba9||_0x26ad44['subType']!=_0x12a404||_0x26ad44['creator']['id']!=_0x59f5d7)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new ckeditor5['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x396d0e,_0x14db45){const _0x46f057=_0x396d0e['getFirstRange']();if(_0x14db45['isEqual'](_0x46f057))_0x396d0e['removeMarkers']();else{if(_0x46f057['containsRange'](_0x14db45)){const _0x2f07c9=this['_model']['createPositionAt'](_0x14db45['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x396d0e,this['_model']['createRange'](_0x46f057['start'],_0x2f07c9));const _0x5cbb5e=ckeditor5['uid'](),_0x89230e=_0x396d0e['creator']['id'],_0x1ca33a=_0x396d0e['type']+':'+_0x396d0e['subType'];this['_setSuggestionData']({'id':_0x5cbb5e,'type':_0x1ca33a,'createdAt':new Date(),'authorId':_0x89230e,'data':_0x396d0e['data'],'attributes':_0x396d0e['attributes']});const _0x58df7d=this['_model']['createPositionAt'](_0x14db45['end']['parent'],'after'),_0x4f53a5=this['_model']['createRange'](_0x58df7d,_0x46f057['end']);this['_addSuggestionMarker'](_0x1ca33a,_0x5cbb5e,_0x89230e,_0x4f53a5);}else{if(_0x46f057['containsPosition'](_0x14db45['start'])){const _0x2d38c6=this['_model']['createPositionAt'](_0x14db45['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x396d0e,this['_model']['createRange'](_0x46f057['start'],_0x2d38c6));}else{const _0x398a70=this['_model']['createPositionAt'](_0x14db45['end']['parent'],'after');this['_setSuggestionRange'](_0x396d0e,this['_model']['createRange'](_0x398a70,_0x46f057['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x1c6cde){for(const {suggestion:_0x28bc60,meta:_0x4c1fb8}of this['_findSuggestions'](_0x1c6cde,'insertion')){if(!_0x4c1fb8['isOwn'])continue;const _0x222ddd=_0x28bc60['getRanges']();for(const _0x353f7b of _0x222ddd)if(!_0x1c6cde['getDifference'](_0x353f7b)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x2670ce){return this['editor']['plugins']['get']('Users')['getUser'](_0x2670ce);}['_getExternalAuthor'](_0x4751a4){const _0x49b1c6=this['editor']['plugins']['get']('Users'),_0xdb1a16=hashObject('external:'+_0x4751a4),_0x57b663=_0x49b1c6['getUser'](_0xdb1a16);return _0x57b663||_0x49b1c6['addUser']({'id':_0xdb1a16,'name':_0x4751a4});}['_createSuggestion'](_0x3dd7a9,_0x15cd23,_0x184f03,_0x83dd69,_0xe8061b,_0x3e9b9a){const _0x3427e4=this['_getAuthorFromId'](_0x83dd69);if(!_0x3427e4)throw new ckeditor5['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x83dd69,'suggestionId':_0x184f03});const _0x412d38=this['_suggestionFactory']['buildSuggestion'](_0x3dd7a9,_0x15cd23,_0x184f03,_0x3427e4,_0xe8061b,_0x42585d=>{this['_updateSuggestionData'](_0x184f03,{'attributes':_0x42585d});const _0x85634f=this['getSuggestion'](_0x184f03);this['_joinWithAdjacentSuggestions'](new Set([_0x85634f])),this['_refreshSuggestionsChain'](new Set([_0x85634f]));},_0x3e9b9a);return this['listenTo'](_0x412d38,'accept',()=>{this['_updateSuggestionData'](_0x184f03,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x412d38,'discard',()=>{this['_updateSuggestionData'](_0x184f03,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x184f03,_0x412d38),this['_suggestionState']['set'](_0x412d38,'notReady'),_0x412d38;}['_splitMarkerName'](_0x46a0eb){return splitSuggestionMarkerName(_0x46a0eb);}['_breakSuggestionMarker'](_0x580d3d,_0x54baef,_0x1c7b2a){const _0x4ce1e1=_0x580d3d['getFirstRange'](),_0x348f48=_0x4ce1e1['start'],_0x13517a=_0x4ce1e1['end'];this['_setSuggestionRange'](_0x580d3d,this['_model']['createRange'](_0x348f48,_0x54baef));const _0x2e273b=ckeditor5['uid'](),_0x1e2e37=_0x580d3d['creator']['id'],_0x4bd956=_0x580d3d['type']+(_0x580d3d['subType']?':'+_0x580d3d['subType']:'');this['_setSuggestionData']({'id':_0x2e273b,'type':_0x4bd956,'createdAt':new Date(),'authorId':_0x1e2e37,'originalSuggestionId':_0x580d3d['_originalSuggestionId']||_0x580d3d['id'],'attributes':_0x580d3d['attributes'],'data':_0x580d3d['data']});const _0x5132ce=this['_getAttributeKey'](_0x580d3d);('formatBlock'==_0x580d3d['type']||_0x5132ce&&this['_isBlockAttribute'](_0x5132ce))&&(_0x1c7b2a=this['_model']['createPositionBefore'](_0x1c7b2a['parent'])),this['_addSuggestionMarker'](_0x4bd956,_0x2e273b,_0x1e2e37,this['_model']['createRange'](_0x1c7b2a,_0x13517a));}['_findSuggestions'](_0x4af6c3,_0x5a22a1=null){const _0x512ff5=[],_0x487a92=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x4af6c3)||(_0x4af6c3=[_0x4af6c3]);for(const _0x48afdb of this['getSuggestions']()){if(!_0x48afdb['isInContent'])continue;if(_0x5a22a1&&_0x48afdb['type']!=_0x5a22a1)continue;let _0x265392=!0x1;for(const _0x1a536e of _0x48afdb['getRanges']()){for(const _0x5b3186 of _0x4af6c3){const _0x521024=_0x5b3186['start']['isEqual'](_0x1a536e['end'])||_0x5b3186['end']['isEqual'](_0x1a536e['start']);if(_0x521024||_0x5b3186['getIntersection'](_0x1a536e)){const _0x59743d=_0x5b3186['containsRange'](_0x1a536e)&&_isInObject(this['_model']['schema'],_0x1a536e['start'],_0x5b3186),_0x4d6423=_0x1a536e['containsRange'](_0x5b3186)&&_isInObject(this['_model']['schema'],_0x5b3186['start'],_0x1a536e);_0x512ff5['push']({'suggestion':_0x48afdb,'meta':{'isOwn':_0x487a92==_0x48afdb['author'],'isNextTo':_0x521024,'isInsideObject':_0x59743d,'containsRangeInObject':_0x4d6423}}),_0x265392=!0x0;break;}}if(_0x265392)break;}}return _0x512ff5;}['_addSuggestionMarker'](_0x24628d,_0x3da21f,_0x19b148,_0x2e182f,_0x279e48){this['_model']['change'](_0x55297a=>{let _0x34e59b='suggestion:'+_0x24628d+':'+_0x3da21f+':'+_0x19b148;_0x279e48&&(_0x34e59b=_0x34e59b+':'+_0x279e48),_0x55297a['addMarker'](_0x34e59b,{'range':_0x2e182f,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x431810){const _0x2799f6=_0x431810['previous'],_0x25183b=_0x431810['next'];_0x431810['previous']=null,_0x431810['next']=null,null!=_0x2799f6&&_0x2799f6['next']==_0x431810&&(_0x2799f6['next']=_0x25183b),null!=_0x25183b&&_0x25183b['previous']==_0x431810&&(_0x25183b['previous']=_0x2799f6),'ready'==this['_suggestionState']['get'](_0x431810)&&(this['_suggestionState']['set'](_0x431810,'removed'),this['fire']('suggestionUnloaded',_0x431810,_0x2799f6,_0x25183b));}['_setSuggestionData'](_0x3f872c){const _0x1373bb=_0x3f872c['id'],_0x1b1ed0=this['addSuggestionData'](_0x3f872c);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x2f975=this['editor']['plugins']['get']('PendingActions'),_0x2281d9=_0x1b1ed0['hasComments'],_0x5b33cc=_0x1b1ed0['subType']?_0x1b1ed0['type']+':'+_0x1b1ed0['subType']:_0x1b1ed0['type'],_0x2a0b89=this['editor']['locale'],_0xe79556=_0x2f975['add'](getTranslation$1(_0x2a0b89,'PENDING_ACTION_SUGGESTION')),_0x3c6ba1={'id':_0x1373bb,'type':_0x5b33cc,'hasComments':_0x2281d9,'data':_0x3f872c['data']||null,'originalSuggestionId':_0x3f872c['originalSuggestionId']||null,'attributes':_0x1b1ed0['attributes']};this['_adapter']['addSuggestion'](_0x3c6ba1)['then'](_0xc3849b=>{_0x1b1ed0['_saved']=!0x0,_0x2f975['remove'](_0xe79556),_0xc3849b&&_0xc3849b['createdAt']&&(this['_suggestions']['get'](_0x1373bb)['createdAt']=_0xc3849b['createdAt']);})['catch'](_0x55735f=>{throw ckeditor5['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x1b1ed0['discard']();}),_0x1b1ed0['stopListening'](),this['_suggestions']['delete'](_0x1b1ed0['id']),this['_suggestionState']['delete'](_0x1b1ed0),_0x55735f;});}return _0x1b1ed0;}['_isBlockAttribute'](_0xd79b0b){return this['editor']['plugins']['get'](SuggestionsConversion)['isBlockAttribute'](_0xd79b0b);}['_isInlineAttribute'](_0x26880c){return this['editor']['plugins']['get'](SuggestionsConversion)['isInlineAttribute'](_0x26880c);}['_updateSuggestionData'](_0x1dd705,_0x3609d6){const _0x39fd72=this['editor']['plugins']['get']('PendingActions'),_0x54ca3=this['getSuggestion'](_0x1dd705);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x54ca3['_saved']){const _0x240698=_0x39fd72['add'](getTranslation$1(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x1dd705,_0x3609d6)['then'](()=>{_0x39fd72['remove'](_0x240698);});}else _0x54ca3['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x1dd705,_0x3609d6);});}}['_getSuggestionData'](_0x45023c){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new ckeditor5['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x45023c);}['_handleNewSuggestionMarker'](_0x243344){const {id:_0x416d32,type:_0x3ddc20,subType:_0x3509de,authorId:_0x4d76b0}=this['_splitMarkerName'](_0x243344),_0x3b1568=this['_suggestions']['get'](_0x416d32)||this['_createSuggestion'](_0x3ddc20,_0x3509de,_0x416d32,_0x4d76b0,{});switch(this['_checkSuggestionCorrectness'](_0x3b1568,_0x3ddc20,_0x3509de,_0x4d76b0),this['_suggestionState']['get'](_0x3b1568)){case'notReady':this['_getSuggestionData'](_0x416d32)['then'](_0x5e1ccc=>{let _0x46f2f0=Promise['resolve']();_0x5e1ccc['hasComments']&&(_0x46f2f0=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x416d32})),_0x46f2f0['then'](()=>{this['addSuggestionData'](_0x5e1ccc)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x3b1568,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x416d32,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x3b1568,'ready'),this['fire']('suggestionLoaded',_0x3b1568);break;case'ready':this['fire']('suggestionChanged',_0x3b1568);}return _0x3b1568['addMarkerName'](_0x243344),_0x3b1568;}['_refreshSuggestionsChain'](_0x212c25){const _0xcabdde=Array['from'](_0x212c25),_0x135d98=_0xcabdde['filter'](_0x59148b=>'attribute'==_0x59148b['type']);this['_refreshAttributeSuggestionsChain'](_0x135d98);const _0x15b3aa=_0xcabdde['filter'](_0x2833ee=>!_0x2833ee['isMultiRange']&&'attribute'!=_0x2833ee['type']),_0x721d44=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x261f9b=>!_0x261f9b['isMultiRange']&&'attribute'!=_0x261f9b['type']),_0xfd81c8=_0x721d44['filter'](_0x360066=>!_0x212c25['has'](_0x360066)),_0x3d1183=new Map(_0x721d44['map'](_0x160bfe=>[_0x160bfe,this['_suggestionFactory']['getSuggestionCallback'](_0x160bfe['type'],_0x160bfe['subType'],'chain')])),_0x178d73=new Map(_0x721d44['map'](_0x2b15ed=>[_0x2b15ed,_0x2b15ed['getFirstRange']()])),_0x1a3c52=new Set(),_0x3c6ecb=new Set();for(let _0x39da6e=0x0;_0x39da6e<_0x15b3aa['length'];_0x39da6e++)_0x3beef2(_0x15b3aa[_0x39da6e],_0x15b3aa,_0x39da6e+0x1);for(let _0x260c63=0x0;_0x260c63<_0x15b3aa['length'];_0x260c63++)_0x3beef2(_0x15b3aa[_0x260c63],_0xfd81c8,0x0);const _0x2ee2ef=new Set();for(let _0x2b4b9d=0x0;_0x2b4b9d<_0x15b3aa['length'];_0x2b4b9d++){const _0x41287d=_0x15b3aa[_0x2b4b9d];!_0x3c6ecb['has'](_0x41287d)&&_0x41287d['previous']&&(_0x2ee2ef['add'](_0x41287d['previous']),_0x41287d['previous']['next']===_0x41287d&&(_0x41287d['previous']['next']=null),_0x41287d['previous']=null),!_0x1a3c52['has'](_0x41287d)&&_0x41287d['next']&&(_0x2ee2ef['add'](_0x41287d['next']),_0x41287d['next']['previous']===_0x41287d&&(_0x41287d['next']['previous']=null),_0x41287d['next']=null);}function _0x3beef2(_0x3c8a0e,_0x371360,_0x4e9948){for(let _0x304a89=_0x4e9948;_0x304a89<_0x371360['length'];_0x304a89++){const _0x597efa=_0x16c0f0(_0x3c8a0e,_0x371360[_0x304a89]);_0x597efa&&(_0x597efa[0x0]['next']=_0x597efa[0x1],_0x597efa[0x1]['previous']=_0x597efa[0x0],_0x1a3c52['add'](_0x597efa[0x0]),_0x3c6ecb['add'](_0x597efa[0x1]));}}function _0x16c0f0(_0x270315,_0x17dc7a){if(_0x270315['author']['id']!==_0x17dc7a['author']['id'])return null;const _0xe92548=_0x3d1183['get'](_0x270315)(_0x270315,_0x17dc7a,_0x178d73['get'](_0x270315),_0x178d73['get'](_0x17dc7a));if(!_0xe92548)return null;return _0x3d1183['get'](_0x17dc7a)(_0x270315,_0x17dc7a,_0x178d73['get'](_0x270315),_0x178d73['get'](_0x17dc7a))?_0xe92548[0x1]['commentThread']&&_0xe92548[0x1]['commentThread']['length']?null:_0xe92548:null;}_0x2ee2ef['size']&&this['_refreshSuggestionsChain'](_0x2ee2ef);}['_refreshAttributeSuggestionsChain'](_0xd91955){if(0x0==_0xd91955['length'])return;const _0x253777=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3952ac=>'attribute'==_0x3952ac['type']&&_0x3952ac['_isDataLoaded']),_0x560d18=[],_0x1cbff6=new Map();for(const _0x1005eb of _0x253777){const _0xa1e8ef=hashObject(_0x1005eb['attributes']);_0x1cbff6['has'](_0xa1e8ef)||(_0x1cbff6['set'](_0xa1e8ef,_0x560d18['length']),_0x560d18['push']([]));const _0x54d2b3=_0x1cbff6['get'](_0xa1e8ef);_0x560d18[_0x54d2b3]['push'](_0x1005eb);}!(function(){_0x560d18['sort']((_0x247d41,_0x14f532)=>{const _0x39bdd9=_0x247d41[0x0]['createdAt'],_0x195305=_0x14f532[0x0]['createdAt'];return _0x39bdd9==_0x195305?_0x247d41[0x0]['attributes']['groupId']<_0x14f532[0x0]['attributes']['groupId']?-0x1:0x1:_0x39bdd9<_0x195305?-0x1:0x1;});for(const _0x50a21a of _0x560d18)_0x50a21a['sort']((_0x211a15,_0x231597)=>_0x211a15['id']<_0x231597['id']?-0x1:0x1);}());for(let _0x5d457d=0x0;_0x5d457d<_0x560d18['length'];_0x5d457d++){if(0x0==_0x560d18[_0x5d457d]['length'])continue;const _0x321de9=[];for(let _0x3d500e=_0x5d457d+0x1;_0x3d500e<_0x560d18['length'];_0x3d500e++)0x0!=_0x560d18[_0x3d500e]['length']&&_0x68ea7(_0x560d18[_0x5d457d],_0x560d18[_0x3d500e])&&_0x321de9['push'](_0x3d500e);for(const _0x4951b5 of _0x321de9)_0x560d18[_0x5d457d]=_0x560d18[_0x5d457d]['concat'](_0x560d18[_0x4951b5]),_0x560d18[_0x4951b5]=[];}for(const _0x284ff8 of _0x560d18)for(let _0x3d8a37=0x0;_0x3d8a37<_0x284ff8['length'];_0x3d8a37++){const _0x2d2466=_0x284ff8[_0x3d8a37+0x1]||null;_0x284ff8[_0x3d8a37]['next']!==_0x2d2466&&(_0x284ff8[_0x3d8a37]['next']=_0x2d2466);}for(const _0x2e02e0 of _0x560d18)for(let _0x3efeed=0x0;_0x3efeed<_0x2e02e0['length'];_0x3efeed++){const _0x4b6109=_0x2e02e0[_0x3efeed-0x1]||null;_0x2e02e0[_0x3efeed]['previous']!==_0x4b6109&&(_0x2e02e0[_0x3efeed]['previous']=_0x4b6109);}function _0x68ea7(_0x46dd63,_0x124db1){if(_0x46dd63[0x0]['attributes']['groupId']!==_0x124db1[0x0]['attributes']['groupId']&&_0x46dd63[0x0]['author']!==_0x124db1[0x0]['author'])return!0x1;if(!function(_0x1c150a,_0x13f3da){if(!_0x1c150a['hasComments']&&!_0x13f3da['hasComments'])return!0x0;if(_0x1c150a['hasComments']&&_0x13f3da['hasComments'])return!0x1;if(_0x1c150a['hasComments']&&_0x13f3da['createdAt']<_0x1c150a['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x13f3da['hasComments']&&_0x1c150a['createdAt']<_0x13f3da['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x46dd63[0x0],_0x124db1[0x0]))return!0x1;if(!_0x140510(omit(_0x46dd63[0x0]['attributes'],['groupId','trackingSessionId']),omit(_0x124db1[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x46dd63[0x0]['attributes']['groupId']==_0x124db1[0x0]['attributes']['groupId'])return!0x0;if(_0x46dd63[0x0]['attributes']['trackingSessionId']!==_0x124db1[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x46dd63['every'](_0x14f5e5=>_0x124db1['some'](_0x419a51=>_0x14f5e5['getFirstRange']()['isEqual'](_0x419a51['getFirstRange']())))&&_0x124db1['every'](_0x8245c1=>_0x46dd63['some'](_0x47fe04=>_0x8245c1['getFirstRange']()['isEqual'](_0x47fe04['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x502b4f){const _0x44360c=Array['from'](_0x502b4f),_0x22df75=this['getSuggestions']({'skipNotAttached':!0x0}),_0x452cbf=_0x22df75['filter'](_0x5d3863=>!_0x502b4f['has'](_0x5d3863)),_0x55d7ce=new Map(_0x44360c['map'](_0x1acae2=>[_0x1acae2,this['_suggestionFactory']['getSuggestionCallback'](_0x1acae2['type'],_0x1acae2['subType'],'join')])),_0x5f4eab=new Map(_0x22df75['map'](_0x1c7326=>[_0x1c7326,_0x1c7326['getRanges']()]));for(let _0x1d2533=0x0;_0x1d2533<_0x44360c['length'];_0x1d2533++){if(_0x54f60b(this,_0x44360c[_0x1d2533],_0x44360c,_0x1d2533+0x1))return!0x0;}for(let _0x3991ee=0x0;_0x3991ee<_0x44360c['length'];_0x3991ee++){if(_0x54f60b(this,_0x44360c[_0x3991ee],_0x452cbf,0x0))return!0x0;}return!0x1;function _0x54f60b(_0x25ca5e,_0x3981d5,_0x52b3de,_0x354795){for(let _0x354404=_0x354795;_0x354404<_0x52b3de['length'];_0x354404++){const _0x12e03e=_0x52b3de[_0x354404];if(_0x12e03e['type']!==_0x3981d5['type']||_0x12e03e['author']['id']!==_0x3981d5['author']['id']||_0x12e03e['subType']!==_0x3981d5['subType'])continue;if(!_haveSameAttributes(_0x3981d5,_0x12e03e))continue;if('attribute'==_0x3981d5['type']&&_0x3981d5['data']['oldValue']!=_0x12e03e['data']['oldValue'])continue;if('attribute'==_0x3981d5['type']&&_0x25ca5e['_isBlockAttribute'](_0x3981d5['data']['key']))continue;if('formatBlock'==_0x3981d5['type']){const _0x178584=_0x25ca5e['editor']['model'],_0x1ec027=_0x3981d5['getContainedElement']();if(_0x1ec027&&(_0x178584['schema']['isObject'](_0x1ec027)||_0x178584['schema']['isLimit'](_0x1ec027)))continue;}const _0x3b07e6=_0x55d7ce['get'](_0x3981d5),_0x3b6485=_0x5f4eab['get'](_0x3981d5),_0xf148f9=_0x5f4eab['get'](_0x12e03e),_0x277b21=_0x3981d5['commentThread']&&_0x3981d5['commentThread']['length'],_0x4383d4=_0x12e03e['commentThread']&&_0x12e03e['commentThread']['length'];if(!_0x277b21&&_0x3b07e6(_0xf148f9,_0x3b6485))return _0x25ca5e['_joinSuggestions'](_0x12e03e,_0x3981d5),_0x5f4eab['delete'](_0x3981d5),!0x0;if(!_0x4383d4&&_0x3b07e6(_0x3b6485,_0xf148f9))return _0x25ca5e['_joinSuggestions'](_0x3981d5,_0x12e03e),_0x5f4eab['delete'](_0x12e03e),!0x0;}return!0x1;}}['_joinSuggestions'](_0x4fce7b,_0x170300){if(_0x4fce7b['isMultiRange']){for(const _0x27fbd1 of _0x170300['getRanges']())_0x4fce7b['addRange'](_0x27fbd1);}else{const _0x4a2c6c=_0x170300['getFirstRange']()['end'];this['_setSuggestionRange'](_0x4fce7b,this['_model']['createRange'](_0x4fce7b['getFirstRange']()['start'],_0x4a2c6c));}_0x170300['removeMarkers']();}['_getMarkerAnnouncementText'](_0x17aa5a,_0x385496,_0x464dd4){const _0xb7d89e=_0x17aa5a['startsWith']('format')||_0x17aa5a['startsWith']('attribute')?'FORMATTING':_0x17aa5a['toUpperCase']();return getTranslation$1(this['editor']['locale'],_0x385496+'_'+_0xb7d89e+'_SUGGESTION_ANNOUNCEMENT',_0x464dd4);}['_initAriaMarkerChangeAnnouncements'](){const _0x4a25b6=this['editor'];if(!_0x4a25b6['ui'])return;const {ariaLiveAnnouncer:_0x7900a0}=_0x4a25b6['ui'];surroundingMarkersDetector(this['_model'],({left:_0x4af918,entered:_0x9c37be})=>{for(const _0x3ca98d of _0x4af918){const {group:_0x5bf98b,type:_0x5679b1}=this['_splitMarkerName'](_0x3ca98d['name']);if('suggestion'===_0x5bf98b){_0x7900a0['announce'](this['_getMarkerAnnouncementText'](_0x5679b1,'LEAVE'));break;}}for(const _0x37d893 of _0x9c37be){const {group:_0x2ae10e,type:_0x50ee0e}=this['_splitMarkerName'](_0x37d893['name']);if('suggestion'===_0x2ae10e){_0x7900a0['announce'](this['_getMarkerAnnouncementText'](_0x50ee0e,'ENTER',ckeditor5['getEnvKeystrokeText'](_0x1b716d)));break;}}});}['_processAttributeChanges'](_0x426af2){if(this['_recordAttributeSuggestions'])return!0x1;const _0x391fb9=this['editor'],_0x95fa7c=_0x391fb9['model']['document']['differ']['getChanges']();if(0x0==_0x95fa7c['length'])return!0x1;const _0x30764f=[],_0x4e7786=_0x95fa7c['filter'](_0x2205fe=>'attribute'==_0x2205fe['type']),_0x3c6369=_0x95fa7c['filter'](_0x1e06ef=>'insert'==_0x1e06ef['type']&&'$text'!=_0x1e06ef['name']),_0x24f0ed=_0x95fa7c['filter'](_0x1cdbff=>'remove'==_0x1cdbff['type']&&'$text'!=_0x1cdbff['name']);for(const _0x2f656d of _0x4e7786)_0x30764f['push']({'key':_0x2f656d['attributeKey'],'newValue':_0x2f656d['attributeNewValue'],'oldValue':_0x2f656d['attributeOldValue'],'range':fixAttributeSuggestionRange(_0x2f656d['range'],_0x391fb9['model'])});for(const _0xa2044 of _0x3c6369){const _0x533b97=_0x24f0ed['find'](_0x11d8e0=>_0x11d8e0['position']['isEqual'](_0xa2044['position']));_0x533b97&&_0x30764f['push']({'key':renameAttributeKey,'newValue':_0xa2044['name'],'oldValue':_0x533b97['name'],'range':_0x391fb9['model']['createRangeOn'](_0xa2044['position']['nodeAfter'])});}return 0x0!=_0x30764f['length']&&this['_reduceExistingSuggestions'](_0x426af2,_0x30764f);}['_processAttributeSuggestions'](_0x5d5187){let _0xef6036=!0x1;const _0x2fe4b8=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x32aa65=>_0x32aa65['data']['newRange']&&_0x32aa65['name']['startsWith']('suggestion:attribute:'));for(const _0x140b5c of _0x2fe4b8){const {subType:_0x3f397e,id:_0x164502}=this['_splitMarkerName'](_0x140b5c['name']),_0x5bc34a=_0x3f397e['split']('|')[0x0];for(const _0x3ab34e of this['getSuggestions']({'skipNotAttached':!0x0}))_0x3ab34e['id']!=_0x164502&&'attribute'==_0x3ab34e['type']&&_0x3ab34e['data']&&_0x3ab34e['data']['key']==_0x5bc34a&&_0x3ab34e['getFirstRange']()['isIntersecting'](_0x140b5c['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x3ab34e,_0x140b5c['data']['newRange'],_0x5d5187),_0xef6036=!0x0);}return _0xef6036;}['recordAttributeChanges'](_0xcc9056){this['_recordAttributeSuggestions']=!0x0,_0xcc9056();}['_isRegisteredAttribute'](_0x365611){return this['editor']['plugins']['get'](SuggestionsConversion)['isRegisteredAttribute'](_0x365611);}['_reduceExistingSuggestions'](_0x5c94ac,_0x4328a6){if(0x0==_0x4328a6['length'])return!0x1;let _0x593ae=!0x1;for(const _0x3ab978 of _0x4328a6){const _0x9869b6=this['_findSuggestions'](_0x3ab978['range'],'attribute')['filter'](_0x40891a=>!_0x40891a['meta']['isNextTo'])['map'](_0x2df866=>_0x2df866['suggestion']),_0x256667=hashObject({'newValue':_0x3ab978['newValue']});_0x9869b6['filter'](_0x8f4fda=>{const [_0x519bed,_0x351159]=_0x8f4fda['subType']['split']('|');return _0x519bed==_0x3ab978['key']&&_0x351159!=_0x256667;})['forEach'](_0x127888=>{this['_reduceSuggestionAttributeRange'](_0x127888,_0x3ab978['range'],_0x5c94ac),_0x593ae=!0x0;});}return _0x593ae;}['_reduceSuggestionAttributeRange'](_0x36ed5e,_0x48a60b,_0x287840){const _0x19838b=_0x36ed5e['getFirstRange']()['getDifference'](_0x48a60b);0x0!==_0x19838b['length']?0x1!==_0x19838b['length']?this['_breakSuggestionMarker'](_0x36ed5e,_0x48a60b['start'],_0x48a60b['end']):this['_setSuggestionRange'](_0x36ed5e,_0x19838b[0x0]):_0x287840['removeMarker'](_0x36ed5e['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x169d88){this['_editor']=_0x169d88,this['_model']=_0x169d88['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x2c96bd,_0x738aa,_0x2eb827,_0x778111,_0x39fbe3,_0x170ebe,_0x16bc17){return new Suggestion(this['_model'],{'type':_0x2c96bd,'subType':_0x738aa,'id':_0x2eb827,'originalSuggestionId':_0x16bc17,'author':_0x778111,'creator':_0x778111,'attributes':_0x39fbe3,'onAttributesChange':_0x170ebe,'onAccept':(..._0x4698cd)=>this['getSuggestionCallback'](_0x2c96bd,_0x738aa,'accept')(..._0x4698cd),'onDiscard':(..._0x5a9d59)=>this['getSuggestionCallback'](_0x2c96bd,_0x738aa,'discard')(..._0x5a9d59)});}['registerCustomCallback'](_0x1030dd,_0x1e2d7a,_0x58ea44,_0x7f4f92){const _0x55d37e=_0x1030dd+':'+_0x1e2d7a+':'+_0x58ea44;this['_customCallbacks']['set'](_0x55d37e,_0x7f4f92);}['getSuggestionCallback'](_0x3cfefd,_0xc75948,_0x41766b){const _0x3f16f5=_0x3cfefd+':'+_0xc75948+':'+_0x41766b;return this['_customCallbacks']['get'](_0x3f16f5)||this['_defaultCallbacks']['get'](_0x3cfefd+':'+_0x41766b);}['_registerDefaultCallbacks'](){const _0x3c096a=()=>!0x1,_0x2b9517=_0x47ab01=>{_0x47ab01['sort']((_0x4d829e,_0x13a4c5)=>_0x4d829e['start']['isBefore'](_0x13a4c5['start'])?0x1:-0x1),this['_model']['change'](_0x412d77=>{for(const _0x2c8ec9 of _0x47ab01){let _0x5796c2;_0x5796c2=_0x2c8ec9['end']['isAtEnd']&&_0x2c8ec9['end']['parent']==_0x2c8ec9['start']['nodeAfter']?_0x412d77['createSelection'](_0x2c8ec9['start']['nodeAfter'],'on'):_0x412d77['createSelection'](_0x2c8ec9),this['_model']['deleteContent'](_0x5796c2,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x3d37d4=(_0x4a1989,_0x375e08)=>{_0x375e08&&this['_model']['change'](_0x19bf6b=>{const {commandName:_0x1eb67f,commandParams:_0x1c3ac7=[]}=_0x375e08,_0x360eff=_0x4a1989['map'](_0x3fcfc3=>(_0x15a487(_0x3fcfc3)&&(_0x3fcfc3=this['_model']['createRange'](_0x3fcfc3['end'])),_0x3fcfc3))['filter'](_0x5185d1=>'$graveyard'!==_0x5185d1['root']['rootName']);if(_0x360eff['length']<0x1)return;const _0x5d7673=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x3c94ff=>ckeditor5['ModelLiveRange']['fromRange'](_0x3c94ff));_0x19bf6b['setSelection'](_0x360eff);for(const _0x357c37 of this['_editor']['commands']['commands']())_0x357c37['refresh']();_0x1c3ac7['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x1eb67f,..._0x1c3ac7);const _0x3f6d2a=_0x5d7673['filter'](_0xb5638=>'$graveyard'!=_0xb5638['root']['rootName']);_0x3f6d2a['length']>0x0&&_0x19bf6b['setSelection'](_0x3f6d2a);for(const _0x242312 of _0x5d7673)_0x242312['detach']();});},_0x44e217=(_0x15786c,_0x4b69)=>0x1==_0x15786c['length']&&0x1==_0x4b69['length']&&_0x15786c[0x0]['end']['isEqual'](_0x4b69[0x0]['start']),_0x1183e7=(_0x2db47a,_0x5aebae,_0x35e23b,_0x573d6f)=>canChainSuggestions(_0x2db47a,_0x5aebae,_0x35e23b,_0x573d6f)?[_0x2db47a,_0x5aebae]:canChainSuggestions(_0x5aebae,_0x2db47a,_0x573d6f,_0x35e23b)?[_0x5aebae,_0x2db47a]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x3c096a),this['_defaultCallbacks']['set']('insertion:discard',_0x2b9517),this['_defaultCallbacks']['set']('insertion:join',_0x44e217),this['_defaultCallbacks']['set']('insertion:chain',_0x1183e7),this['_defaultCallbacks']['set']('deletion:accept',_0x2b9517),this['_defaultCallbacks']['set']('deletion:discard',_0x3c096a),this['_defaultCallbacks']['set']('deletion:join',_0x44e217),this['_defaultCallbacks']['set']('deletion:chain',_0x1183e7),this['_defaultCallbacks']['set']('formatInline:accept',_0x3d37d4),this['_defaultCallbacks']['set']('formatInline:discard',_0x3c096a),this['_defaultCallbacks']['set']('formatInline:join',_0x44e217),this['_defaultCallbacks']['set']('formatInline:chain',_0x3c096a),this['_defaultCallbacks']['set']('formatBlock:accept',_0x3d37d4),this['_defaultCallbacks']['set']('formatBlock:discard',_0x3c096a),this['_defaultCallbacks']['set']('formatBlock:join',_0x44e217),this['_defaultCallbacks']['set']('formatBlock:chain',_0x3c096a),this['_defaultCallbacks']['set']('attribute:accept',_0x3c096a),this['_defaultCallbacks']['set']('attribute:discard',(_0x2fe1fc,_0x3e4fa7)=>{if(!_0x3e4fa7)return;const _0x2c5920=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0x170957=>{if(_0x3e4fa7['key']==renameAttributeKey)for(const _0x5d63cd of _0x2fe1fc){const _0x719703=_0x5d63cd['start']['nodeAfter'],_0x40dad9=_0x3e4fa7['oldValue'];_0x170957['rename'](_0x719703,_0x40dad9);}else{if(_0x2c5920['_isBlockAttribute'](_0x3e4fa7['key'])){for(const _0x29048a of _0x2fe1fc)void 0x0!==_0x3e4fa7['oldValue']?_0x170957['setAttribute'](_0x3e4fa7['key'],_0x3e4fa7['oldValue'],_0x29048a['start']['nodeAfter']):_0x170957['removeAttribute'](_0x3e4fa7['key'],_0x29048a['start']['nodeAfter']);}else{for(const _0x1d85e8 of _0x2fe1fc)_0x3e4fa7['oldValue']?_0x170957['setAttribute'](_0x3e4fa7['key'],_0x3e4fa7['oldValue'],_0x1d85e8):_0x170957['removeAttribute'](_0x3e4fa7['key'],_0x1d85e8);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x44e217);}}function getIntersectionsWithMultipleRanges(_0x349cfa,_0x38fd27){const _0x1d5170=[];for(const _0x30adf3 of _0x38fd27){const _0xf9dc8=_0x349cfa['getIntersection'](_0x30adf3);_0xf9dc8&&_0x1d5170['push'](_0xf9dc8);}return _0x1d5170;}function getDifferencesWithMultipleRanges(_0x134194,_0x6a3719){const _0x2d1cad=[_0x134194];for(const _0x57568e of _0x6a3719){let _0x3af08f=0x0;for(;_0x3af08f<_0x2d1cad['length'];){const _0x30bc3b=_0x2d1cad[_0x3af08f]['getDifference'](_0x57568e);_0x2d1cad['splice'](_0x3af08f,0x1,..._0x30bc3b),_0x3af08f+=_0x30bc3b['length'];}}return _0x2d1cad;}function _isInObject(_0x2d7f63,_0x25894f,_0x18eb64){for(const _0xcaccda of _0x25894f['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xcaccda['root']==_0xcaccda)return!0x1;if(!_0x18eb64['containsItem'](_0xcaccda))return!0x1;if(_0x2d7f63['isObject'](_0xcaccda)||_0x2d7f63['isLimit'](_0xcaccda))return!0x0;}return!0x1;}function _0x15a487(_0x3c9a91){return _0x3c9a91['end']['parent']==_0x3c9a91['start']['nodeAfter']&&_0x3c9a91['end']['isAtStart'];}function _0x5c26dc(_0x4f88e3){return _0x4f88e3['start']['parent']==_0x4f88e3['end']['nodeBefore']&&_0x4f88e3['start']['isAtEnd'];}function trimFormatInlineSuggestionRange(_0x33557b,_0x5b613b,_0x9dce8d,_0x1dfce9){const _0xac27f=_0x5651cd=>!_0x5651cd['item']['is']('$textProxy')&&!_0x1dfce9['isObject'](_0x5651cd['item']),_0x3a82c1=_0x33557b['start']['getLastMatchingPosition'](_0xac27f),_0x5428ba=_0x33557b['end']['getLastMatchingPosition'](_0xac27f,{'direction':'backward'});return(!_0x33557b['start']['isEqual'](_0x3a82c1)||!_0x33557b['end']['isEqual'](_0x5428ba))&&(_0x3a82c1['isBefore'](_0x5428ba)?_0x9dce8d['updateMarker'](_0x5b613b,{'range':_0x9dce8d['createRange'](_0x3a82c1,_0x5428ba)}):_0x9dce8d['removeMarker'](_0x5b613b),!0x0);}function createFormatSubType(_0x4b2e31){return hashObject(_0x4b2e31);}function isCorrectFormatBlockSuggestionRange(_0x3f5c53){const _0x501e42=_0x3f5c53['start']['nodeAfter'];return _0x501e42&&_0x501e42['is']('element');}function isEmptyRange(_0x466cce){return _0x15a487(_0x466cce)||_0x5c26dc(_0x466cce);}function isIntersectingWithOtherMarkers(_0x4576,_0xabc2d7){try{const _0x325f04=_0x4576['getRange']();for(const _0x267b77 of _0xabc2d7)if(_0x4576!==_0x267b77&&_0x325f04&&_0x325f04['isIntersecting'](_0x267b77['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function fixAttributeSuggestionRange(_0x34d4bc,_0x526364){return null==_0x34d4bc['end']['nodeBefore']&&_0x34d4bc['end']['parent']==_0x34d4bc['start']['nodeAfter']?createBlockFormatRangeForElement(_0x34d4bc['start']['nodeAfter'],_0x526364):_0x34d4bc;}function createBlockFormatRangeForElement(_0x13d827,_0x14834e){const _0x2c8ff8=_0x14834e['schema']['isObject'](_0x13d827)||_0x14834e['schema']['isSelectable'](_0x13d827);return _0x14834e['createRange'](_0x14834e['createPositionAt'](_0x13d827,'before'),_0x2c8ff8?_0x14834e['createPositionAfter'](_0x13d827):_0x14834e['createPositionAt'](_0x13d827,'end'));}function canChainSuggestions(_0x40bed5,_0x210be9,_0x1fba07,_0x47ed16){return!!_haveSameAttributes(_0x40bed5,_0x210be9)&&_0x1fba07['end']['isEqual'](_0x47ed16['start']);}function _haveSameAttributes(_0x144b5b,_0xe0edb7){if(!_0x144b5b['_isDataLoaded']||!_0xe0edb7['_isDataLoaded'])return!0x1;const _0x515fba=new Set(Object['keys'](_0x144b5b['attributes'])),_0x27a508=new Set(Object['keys'](_0xe0edb7['attributes']));if(_0x515fba['delete']('groupId'),_0x27a508['delete']('groupId'),0x0==_0x515fba['size']&&0x0==_0x27a508['size'])return!0x0;if(_0x515fba['size']!=_0x27a508['size'])return!0x1;const _0x52b9ce={..._0x144b5b['attributes']},_0x59aab5={..._0xe0edb7['attributes']};return delete _0x52b9ce['groupId'],delete _0x59aab5['groupId'],JSON['stringify'](_0x52b9ce)==JSON['stringify'](_0x59aab5);}function _areSimilarAttributes(_0x553381,_0x5bd3d6){const _0x1024fc=_cleanUpAttributes(_0x553381['attributes']),_0xe8f039=_cleanUpAttributes(_0x5bd3d6);if(!_0x553381['_isDataLoaded'])return!0x1;for(const _0x35b2a7 of Object['keys'](_0xe8f039))if(!_0x140510(_0x1024fc[_0x35b2a7],_0xe8f039[_0x35b2a7]))return!0x1;return!0x0;}function _cleanUpAttributes(_0x5e3efa){const _0x249702=Object['assign']({},_0x5e3efa);return delete _0x249702['skipNestingCheck'],delete _0x249702['tablePasteChainId'],_0x249702;}function _getAttributeKeyFromSubType(_0x342793){return _0x342793['split']('|')[0x0];}async function _0x58bdfb(_0x5f504e){const _0x338346=_0x4aec59([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x53d988=window[_0x4aec59([0x44,0x61,0x74,0x65])][_0x4aec59([0x6e,0x6f,0x77])](),_0x3628bd=_0x5f504e[_0x4aec59([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x541708=new window[(_0x4aec59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43c31f=>{_0x3628bd[_0x4aec59([0x6f,0x6e,0x63,0x65])](_0x4aec59([0x72,0x65,0x61,0x64,0x79]),_0x43c31f);}),_0x3ed45d={[_0x4aec59([0x6b,0x74,0x79])]:_0x4aec59([0x45,0x43]),[_0x4aec59([0x75,0x73,0x65])]:_0x4aec59([0x73,0x69,0x67]),[_0x4aec59([0x63,0x72,0x76])]:_0x4aec59([0x50,0x2d,0x32,0x35,0x36]),[_0x4aec59([0x78])]:_0x4aec59([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4aec59([0x79])]:_0x4aec59([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4aec59([0x61,0x6c,0x67])]:_0x4aec59([0x45,0x53,0x32,0x35,0x36])},_0x48d07b=_0x3628bd[_0x4aec59([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4aec59([0x67,0x65,0x74])](_0x4aec59([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2c9d42=await(async function(){let _0x55c1b6,_0x3b6275=null,_0x47dc80=null;try{if(_0x48d07b==_0x4aec59([0x47,0x50,0x4c]))return _0x4aec59([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55c1b6=(function(){const _0x469c9a=_0x48d07b[_0x4aec59([0x73,0x70,0x6c,0x69,0x74])](_0x4aec59([0x2e]));if(0x3!=_0x469c9a[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x43053c=_0x469c9a[0x1];return _0x2708dd(_0x43053c);function _0x2708dd(_0x1183c7){const _0x1bca1c=_0x2a6bfc(_0x1183c7);return _0x1bca1c&&_0x255b91()?_0x1bca1c:null;function _0x255b91(){const _0x3cd0f6=_0x1bca1c[_0x4aec59([0x6a,0x74,0x69])],_0x1251e2=window[_0x4aec59([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cd0f6[_0x4aec59([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cd0f6[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2731b0={..._0x1bca1c,[_0x4aec59([0x6a,0x74,0x69])]:_0x3cd0f6[_0x4aec59([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3cd0f6[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2731b0[_0x4aec59([0x76,0x63])],_0x34a872(_0x2731b0)==_0x1251e2;}}}()),!_0x55c1b6)return _0x4aec59([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x55c1b6[_0x4aec59([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47dc80=function(_0x45ace6,_0x5ec083){return new window[(_0x4aec59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48873a=>{if(_0x1878be())return _0x48873a(_0x4aec59([0x56,0x61,0x6c,0x69,0x64]));_0x295917(),_0x3628bd[_0x4aec59([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4aec59([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x410665=!0x1;const _0x12eddb=ckeditor5['uid']();function _0x467988(_0x19fd51){return!!_0x19fd51&&(typeof _0x19fd51===_0x4aec59([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19fd51===_0x4aec59([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19fd51[_0x4aec59([0x74,0x68,0x65,0x6e])]===_0x4aec59([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19fd51[_0x4aec59([0x63,0x61,0x74,0x63,0x68])]===_0x4aec59([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x158299(_0x46e5e9){_0x484d7e(_0x46e5e9)[_0x4aec59([0x74,0x68,0x65,0x6e])](_0x19ef82=>{if(!_0x19ef82||_0x19ef82[_0x4aec59([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4aec59([0x6f,0x6b]))return _0x4aec59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57fa23(_0x34a872(_0x12eddb+_0x5ec083))!=_0x19ef82[_0x4aec59([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4aec59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4aec59([0x56,0x61,0x6c,0x69,0x64]);})[_0x4aec59([0x74,0x68,0x65,0x6e])](_0x49a64b=>(_0x298e11(),_0x49a64b),()=>{const _0x400617=_0x44417f();return null==_0x400617?(_0x298e11(),_0x4aec59([0x56,0x61,0x6c,0x69,0x64])):_0x4aec59(_0x53d988-_0x400617>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4aec59([0x74,0x68,0x65,0x6e])](_0x48873a)[_0x4aec59([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48873a(_0x4aec59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20dc5f=0x36ee80;function _0x298e11(){const _0x502b40=_0x4aec59([0x6c,0x6c,0x63,0x74,0x2d])+_0x57fa23(_0x34a872(_0x45ace6)),_0x38ce15=_0x181ec5(_0x57fa23(window[_0x4aec59([0x4d,0x61,0x74,0x68])][_0x4aec59([0x63,0x65,0x69,0x6c])](_0x53d988/_0x20dc5f)));window[_0x4aec59([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aec59([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x502b40,_0x38ce15);}function _0x44417f(){const _0x1e47c6=_0x4aec59([0x6c,0x6c,0x63,0x74,0x2d])+_0x57fa23(_0x34a872(_0x45ace6)),_0x4730cf=window[_0x4aec59([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aec59([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e47c6);return _0x4730cf?window[_0x4aec59([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x181ec5(_0x4730cf),0x10)*_0x20dc5f:null;}function _0x484d7e(_0xbe22e5){return new window[(_0x4aec59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57d867,_0x2d29c6)=>{_0xbe22e5[_0x4aec59([0x74,0x68,0x65,0x6e])](_0x57d867,_0x2d29c6),window[_0x4aec59([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d29c6,0x1d4c0);});}}_0x3628bd[_0x4aec59([0x6f,0x6e])](_0x4aec59([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1928c8,_0x138272)=>{if(_0x138272[0x0]!=_0x45ace6)return _0x48873a(_0x4aec59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x138272[0x1]={..._0x138272[0x1],[_0x4aec59([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x12eddb};},{[_0x4aec59([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aec59([0x68,0x69,0x67,0x68])}),_0x3628bd[_0x4aec59([0x6f,0x6e])](_0x4aec59([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x360c6f=>{_0x467988(_0x360c6f[_0x4aec59([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x410665=!0x0,_0x158299(_0x360c6f[_0x4aec59([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4aec59([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aec59([0x6c,0x6f,0x77])}),_0x541708[_0x4aec59([0x74,0x68,0x65,0x6e])](()=>{_0x410665||_0x48873a(_0x4aec59([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1878be(){return _0x3628bd[_0x4aec59([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aec59([0x76,0x69,0x65,0x77])][_0x4aec59([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4aec59([0x61,0x75,0x74,0x6f]);}function _0x295917(){_0x3628bd[_0x4aec59([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aec59([0x76,0x69,0x65,0x77])][_0x4aec59([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4aec59([0x61,0x75,0x74,0x6f]);}}(_0x55c1b6[_0x4aec59([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55c1b6[_0x4aec59([0x6a,0x74,0x69])]));const _0x529fd2=await(async function(){let _0x24ce19=!0x0;try{const _0x6f9d88=_0x48d07b[_0x4aec59([0x73,0x70,0x6c,0x69,0x74])](_0x4aec59([0x2e])),[_0x4dde4d,_0x3f086d,_0xdfe0c3]=_0x6f9d88;return _0x34dee3(_0x4dde4d),await _0x2e0d6a(_0x4dde4d,_0x3f086d,_0xdfe0c3),_0x24ce19;}catch{return!0x1;}function _0x34dee3(_0x128016){const _0x1c6ba5=_0x2a6bfc(_0x128016);_0x1c6ba5&&_0x1c6ba5[_0x4aec59([0x61,0x6c,0x67])]==_0x4aec59([0x45,0x53,0x32,0x35,0x36])||(_0x24ce19=!0x1);}async function _0x2e0d6a(_0x977fcf,_0x3379b1,_0x44af76){const _0x297101=window[_0x4aec59([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4aec59([0x66,0x72,0x6f,0x6d])](_0x4dbecd(_0x44af76),_0x495496=>_0x495496[_0x4aec59([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x491050=new window[(_0x4aec59([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4aec59([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x977fcf+_0x4aec59([0x2e])+_0x3379b1),_0x5a61ab=window[_0x4aec59([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4aec59([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a61ab)return;const _0x2e948a=await _0x5a61ab[_0x4aec59([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4aec59([0x6a,0x77,0x6b]),_0x3ed45d,{[_0x4aec59([0x6e,0x61,0x6d,0x65])]:_0x4aec59([0x45,0x43,0x44,0x53,0x41]),[_0x4aec59([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4aec59([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4aec59([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a61ab[_0x4aec59([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4aec59([0x6e,0x61,0x6d,0x65])]:_0x4aec59([0x45,0x43,0x44,0x53,0x41]),[_0x4aec59([0x68,0x61,0x73,0x68])]:{[_0x4aec59([0x6e,0x61,0x6d,0x65])]:_0x4aec59([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e948a,_0x297101,_0x491050)||(_0x24ce19=!0x1);}}());return _0x529fd2?(function(){const _0x22b312=_0x55c1b6[_0x4aec59([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x22b312)return!0x1;if(_0x22b312[_0x4aec59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aec59([0x2a])))return!0x0;if(_0x22b312[_0x4aec59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aec59([0x54,0x43])))return!0x0;if(_0x22b312[_0x4aec59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aec59([0x52,0x54,0x43]))){if(_0x183e18(_0x4aec59([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&(_0x417460=_0x4aec59([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]),_0x3628bd[_0x4aec59([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4aec59([0x67,0x65,0x74])](_0x417460))[_0x4aec59([0x73,0x74,0x61,0x74,0x65])]==_0x4aec59([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]))return!0x0;if(_0x183e18(_0x4aec59([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x183e18(_0x4aec59([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72])))return!0x0;}var _0x417460;return!0x1;}())?(function(){const _0x5eaeed=[_0x4aec59([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4aec59([0x74,0x72,0x69,0x61,0x6c])][_0x4aec59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55c1b6[_0x4aec59([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53d988/0x3e8:0x69b0b080;return _0x55c1b6[_0x4aec59([0x65,0x78,0x70])]<_0x5eaeed;}())?_0x4aec59([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x118970=_0x55c1b6[_0x4aec59([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x118970||0x0==_0x118970[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1789b2}=new URL(window[_0x4aec59([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x118970[_0x4aec59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1789b2))return!0x0;const _0x220864=_0x1789b2[_0x4aec59([0x73,0x70,0x6c,0x69,0x74])](_0x4aec59([0x2e]));return _0x118970[_0x4aec59([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7e44c5=>_0x7e44c5[_0x4aec59([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aec59([0x2a])))[_0x4aec59([0x6d,0x61,0x70])](_0x4718f4=>_0x4718f4[_0x4aec59([0x73,0x70,0x6c,0x69,0x74])](_0x4aec59([0x2e])))[_0x4aec59([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3debb6=>_0x3debb6[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x220864[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4aec59([0x6d,0x61,0x70])](_0x12df89=>Array(_0x220864[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12df89[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4aec59([0x66,0x69,0x6c,0x6c])](_0x12df89[0x0]===_0x4aec59([0x2a])?_0x4aec59([0x2a]):'')[_0x4aec59([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12df89))[_0x4aec59([0x73,0x6f,0x6d,0x65])](_0xcf8e50=>_0x220864[_0x4aec59([0x65,0x76,0x65,0x72,0x79])]((_0x9e8ff3,_0x19d743)=>_0xcf8e50[_0x19d743]===_0x9e8ff3||_0xcf8e50[_0x19d743]===_0x4aec59([0x2a])));}())?(_0x55c1b6[_0x4aec59([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4aec59([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b6275=function(_0x3b73f0){const _0x535790=new window[(_0x4aec59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5486ac=>setTimeout(_0x5486ac,0x93ecc)),_0x4a2a06=_0x541708[_0x4aec59([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4aec59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21883e=>{let _0x377331=0x0;_0x3628bd[_0x4aec59([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aec59([0x6f,0x6e])](_0x4aec59([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bae6d,_0xeb7c92)=>{_0xeb7c92[0x0][_0x4aec59([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x377331++,0x5e8==_0x377331&&(_0x21883e(),_0x4bae6d[_0x4aec59([0x6f,0x66,0x66])]());});})),_0x15b077=[_0x535790,_0x4a2a06];return window[_0x4aec59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4aec59([0x72,0x61,0x63,0x65])](_0x15b077)[_0x4aec59([0x74,0x68,0x65,0x6e])](()=>_0x3b73f0);}(_0x4aec59([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x3b6275&&_0x47dc80)return new window[(_0x4aec59([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x83debd,_0x4edcc6)=>{_0x3b6275[_0x4aec59([0x74,0x68,0x65,0x6e])](_0x83debd,_0x4edcc6),_0x47dc80[_0x4aec59([0x74,0x68,0x65,0x6e])](_0x111940=>{_0x111940!=_0x4aec59([0x56,0x61,0x6c,0x69,0x64])&&_0x83debd(_0x111940);},_0x4edcc6);});return _0x3b6275||_0x47dc80||_0x4aec59([0x56,0x61,0x6c,0x69,0x64]);}())):_0x4aec59([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4aec59([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4aec59([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4aec59([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x2a6bfc(_0x274357){return _0x274357[_0x4aec59([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4aec59([0x65,0x79]))?JSON[_0x4aec59([0x70,0x61,0x72,0x73,0x65])](_0x4dbecd(_0x274357)):null;}function _0x4dbecd(_0x5526eb){return window[_0x4aec59([0x61,0x74,0x6f,0x62])](_0x5526eb[_0x4aec59([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4aec59([0x2b]))[_0x4aec59([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4aec59([0x2f])));}function _0x34a872(_0x436f29){let _0x476893=0x1505;function _0x39800c(_0xc12ce9){for(let _0x57bb84=0x0;_0x57bb84<_0xc12ce9[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57bb84++){const _0x43699a=_0xc12ce9[_0x4aec59([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57bb84);_0x476893=(_0x476893<<0x5)+_0x476893+_0x43699a,_0x476893&=_0x476893;}}return function _0x9e411e(_0x3fde26){Array[_0x4aec59([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3fde26)?_0x3fde26[_0x4aec59([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9e411e):_0x3fde26&&typeof _0x3fde26==_0x4aec59([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4aec59([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3fde26)[_0x4aec59([0x73,0x6f,0x72,0x74])]()[_0x4aec59([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ac6f0,_0x3666c8])=>{_0x39800c(_0x4ac6f0),_0x9e411e(_0x3666c8);}):_0x39800c(window[_0x4aec59([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3fde26));}(_0x436f29),_0x476893>>>0x0;}function _0x57fa23(_0x5b89b1){return _0x5b89b1[_0x4aec59([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4aec59([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4aec59([0x30]));}function _0x181ec5(_0x3f5fb8){return _0x3f5fb8[_0x4aec59([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4aec59([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4aec59([0x6a,0x6f,0x69,0x6e])]('');}function _0x183e18(_0x566d22){return _0x3628bd[_0x4aec59([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4aec59([0x68,0x61,0x73])](_0x566d22);}function _0x5605ed(){}function _0x4aec59(_0x17fecf){return _0x17fecf['map'](_0x1dde2b=>String['fromCharCode'](_0x1dde2b))['join']('');}!function(_0xe1022b){const _0x20be76=(function(){const _0x495b99=window[_0x4aec59([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4aec59([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4aec59([0x6e,0x6f,0x77])]())[_0x4aec59([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4aec59([0x2e]),'');let _0x233411=_0x4aec59([0x52]);for(let _0x28f8a7=0x0;_0x28f8a7<_0x495b99[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28f8a7+=0x2){let _0x933686=window[_0x4aec59([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x495b99[_0x4aec59([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28f8a7,_0x28f8a7+0x2));_0x933686>=_0x338346[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x933686-=_0x338346[_0x4aec59([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x233411+=_0x338346[_0x933686];}return _0x233411;}());_0x3628bd[_0x20be76]=_0x4aec59([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe1022b,_0xe1022b!=_0x4aec59([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x541708,_0x3628bd[_0x4aec59([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aec59([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5605ed,_0x3628bd[_0x4aec59([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aec59([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5605ed,_0x3628bd[_0x4aec59([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4aec59([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2c9d42);}class SuggestionController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x4fbbed,_0x2b85a2,_0x5e981f,_0x4d0eec){super(),this['model']=_0x2b85a2,this['view']=_0x5e981f,this['commentThreadController']=_0x4d0eec,this['_editor']=_0x4fbbed,this['_acceptCommand']=_0x4fbbed['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x4fbbed['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x572df6,_0x5e83d3)=>_0x572df6||_0x5e83d3),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x1c812b=>_0x1c812b&&this['_editor']['model']['canEditAt'](_0x2b85a2['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x4128cf=>_0x4128cf&&this['_editor']['model']['canEditAt'](_0x2b85a2['getRanges']())),this['_pendingAction']=null,_0x5e981f['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x5e981f,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x5e981f,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x5e981f,'change:isDirty',()=>{_0x5e981f['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 _0x4d11a8=getTranslation$1(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x4d11a8);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends ckeditor5['View']{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x13dcde,_0x1a48de,_0x5dba83,_0x75425b){super(_0x13dcde),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x13dcde,getTranslation$1(_0x13dcde,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x1a48de['authoredAt']),this['bind']('authoredAt')['to'](_0x1a48de),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',_0x1a48de,'authoredAt',this,'descriptionParts',(_0xa0e93c,_0x21ff79,_0x4a3b65)=>{const _0x3b6e82=_0x4a3b65['map'](_0x186477=>renderDescription(_0x186477['content']))['join']('.\x20')+'.';return getTranslation$1(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0xa0e93c-0x1,_0x1a48de['author']['name'],_0x21ff79?_0x75425b['formatDateTime'](_0x21ff79):'',new DOMParser()['parseFromString'](_0x3b6e82,'text/html')['body']['textContent']]);}),this['focusables']=new ckeditor5['ViewCollection'](),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x3e26cf=>_0x3e26cf['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x1a48de,this['_localUser']=_0x5dba83,this['_config']=_0x75425b,_0x75425b['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),setupThreadKeyboardNavigation(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x90229b}=this['_config'];this['commentsListView']=new _0x90229b(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',_0x105eea=>_0x105eea+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x54b10a,_0x327935)=>_0x54b10a||!!_0x327935);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x25991b}=this['_config'],_0x2a8923=new _0x25991b(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x1c891e=_0x2a8923['commentInputView'];return _0x2a8923['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x1c891e,'value',(_0x145f9b,_0x20ffda,_0x2da841)=>!!_0x2da841||_0x145f9b&&!_0x20ffda),_0x1c891e['on']('submit',(_0x1a0888,_0x354c53)=>{this['fire']('addComment',_0x354c53),_0x1c891e['editor']['setData']('');}),_0x1c891e['on']('cancel',()=>this['focus']()),_0x1c891e['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x2a8923;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0xa23b21,_0x33c18f,_0x4fddc5,_0x23c3c9){super(_0xa23b21,_0x33c18f,_0x4fddc5,_0x23c3c9),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x1a70b8=>_0x1a70b8&&_0x1a70b8[0x0]?_0x1a70b8[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x495ad4,_0x3abf30)=>{let _0x1855c9='';for(const _0x4f5c7c of _0x495ad4)_0x1855c9+='<p>'+renderDescription(_0x4f5c7c['content'],_0x4f5c7c['color'])+'</p>';return _0x3abf30?_0x1855c9:trimHtml(_0x1855c9,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x23c3c9['SuggestionView'](_0xa23b21,_0x33c18f,{'formatDateTime':_0x23c3c9['formatDateTime']}),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 _0x182f31=this['bindTemplate'],_0xeaff3d=[this['suggestionView']];this['commentsListView']&&_0xeaff3d['push'](this['commentsListView']),this['commentThreadInputView']&&_0xeaff3d['push'](this['commentThreadInputView']),_0xeaff3d['push'](this['ariaDescriptionView']);const _0x12b6d6={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x182f31['if']('isActive','ck-suggestion-wrapper--active'),_0x182f31['to']('type',_0x36d6f5=>'ck-suggestion-'+_0x36d6f5),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':_0x182f31['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0xeaff3d};return _0x12b6d6;}['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));}}class SuggestionView extends ckeditor5['View']{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x475581,_0x5263ea,_0x119f59){super(_0x475581),this['_model']=_0x5263ea,this['_config']=_0x119f59,this['set']('description',''),this['bind']('authoredAt')['to'](_0x5263ea),this['acceptButton']=this['_createButton'](getTranslation$1(_0x475581,'Accept\x20suggestion'),ckeditor5['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](getTranslation$1(_0x475581,'Discard\x20suggestion'),ckeditor5['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0x515305(_0x475581,_0x5263ea['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new ckeditor5['ViewCollection']([this['acceptButton'],this['discardButton']]),this['focusTracker']=new ckeditor5['FocusTracker'](),this['keystrokes']=new ckeditor5['KeystrokeHandler'](),this['focusCycler']=new ckeditor5['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x2575bc=>_0x2575bc['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x562cd1=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x562cd1['innerHTML']=this['description'],this['on']('change:description',(_0x53dc8c,_0x4418c3,_0x470ef4)=>{_0x562cd1['innerHTML']=_0x470ef4;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x21ac91=this['bindTemplate'],_0x2e6ece=[{'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':_0x21ac91['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x21ac91['to']('authoredAt',_0x3a0da8=>this['_config']['formatDateTime'](_0x3a0da8))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];return this['_model']['isExternal']&&_0x2e6ece['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]}),{'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':_0x2e6ece}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$1(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):getTranslation$1(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?getTranslation$1(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):getTranslation$1(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x1cda1d,_0x2dd4c5,_0x1d9a46,_0x2a77ef,_0x6c53f6){const _0x5b396f=new LateFocusButtonView(this['locale']);return _0x5b396f['set']({'label':_0x1cda1d,'icon':_0x2dd4c5,'tooltip':!0x0,'tooltipPosition':_0x6c53f6}),_0x5b396f['extendTemplate']({'attributes':{'class':_0x1d9a46}}),_0x5b396f['on']('execute',()=>{this['fire'](_0x2a77ef,this['_model']['id']);}),_0x5b396f;}['_setupKeyboardNavigation'](){const _0x4ae940=this['element'];this['keystrokes']['listenTo'](_0x4ae940);for(const _0x3e5172 of this['focusables'])this['focusTracker']['add'](_0x3e5172['element']),this['keystrokes']['listenTo'](_0x3e5172['element']);this['keystrokes']['set']('enter',(_0x213bf5,_0x165ec2)=>{_0x4ae940===_0x213bf5['target']&&(this['focusCycler']['focusFirst'](),_0x165ec2());}),this['keystrokes']['set']('esc',(_0x472ecd,_0x5a9550)=>{_0x4ae940!==_0x472ecd['target']&&(this['focus'](),_0x5a9550());});}}class _0x2473da extends ckeditor5['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x59867e,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x185f66){super(_0x185f66),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x4fa8dc=this['editor']['config'];_0x4fa8dc['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x4fa8dc['define']('trackChanges.SuggestionView',SuggestionView),_0x4fa8dc['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x4fa8dc['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x135bdf,_0x190d2c){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x118305,_0x2efa58]of this['_handleControllerBuffer']){const _0x579d65=this['_suggestionToController']['has'](_0x118305);_0x579d65||_0x2efa58?_0x579d65&&_0x2efa58&&this['_destroyController'](_0x118305):this['_initializeController'](_0x118305);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x135bdf,_0x190d2c);}['init'](){const _0x58788a=this['editor'],_0x2c278a=_0x58788a['plugins']['get']('TrackChangesEditing'),_0xd07296=_0x58788a['plugins']['get']('Annotations'),_0xe45eec=_0x58788a['plugins']['get']('EditorAnnotations'),_0x4dd6cd=_0x58788a['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0xe45eec['addSourceCollector'](()=>{const _0x44af6f=[];for(const [_0x44389d,_0x1fd20d]of Array['from'](this['_suggestionToController'])){const _0x400c60=_0x44389d['getAllAdjacentSuggestions'](),_0x33f90f=[];for(const _0x18a269 of _0x400c60){if(!_0x18a269['isInContent'])continue;if(_0x18a269['isMultiRange']){_0x33f90f['push'](..._0x18a269['getRanges']());continue;}const _0x267c99=_0x18a269['getFirstRange']();if(_0x33f90f['length']>0x0){const _0x2b1ab1=_0x33f90f[0x0]['getJoined'](_0x267c99);if(_0x2b1ab1){_0x33f90f[0x0]=_0x2b1ab1;continue;}}_0x33f90f['push'](_0x267c99);}_0x44af6f['push']([_0x1fd20d['view'],_0x33f90f]);}return _0x44af6f;}),this['listenTo'](_0x2c278a,'suggestionLoaded',(_0x19b614,_0x5202de)=>{this['listenTo'](_0x5202de,'change:previous',(_0x3507de,_0x1e0da6,_0x468bf2,_0x41b07d)=>{_0x5202de['isInContent']&&(null==_0x468bf2?(this['_updateController'](_0x41b07d['head']),this['_handleSuggestionControllerDelayed'](_0x5202de,!0x1)):(this['_updateController'](_0x468bf2['head']),null==_0x41b07d&&this['_handleSuggestionControllerDelayed'](_0x5202de,!0x0)));}),null!==_0x5202de['previous']?this['_updateController'](_0x5202de['head']):this['_handleSuggestionControllerDelayed'](_0x5202de,!0x1);}),this['listenTo'](_0x2c278a,'suggestionUnloaded',(_0x1c9dbe,_0x251241,_0xf79051)=>{this['stopListening'](_0x251241,'change:previous'),this['_handleControllerBuffer']['delete'](_0x251241),this['_suggestionToController']['has'](_0x251241)&&this['_destroyController'](_0x251241),_0xf79051&&this['_updateController'](_0xf79051['head']);}),this['listenTo'](_0x2c278a,'suggestionChanged',(_0x4fbd3f,_0x15a580)=>{this['_updateController'](_0x15a580);}),this['listenTo'](_0xd07296,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x4dd6cd,'addComment',(_0x294381,{threadId:_0x10aeba,isFromAdapter:_0x217a07})=>{if(_0x217a07||!_0x2c278a['hasSuggestion'](_0x10aeba))return;const _0x565784=_0x2c278a['getSuggestion'](_0x10aeba);this['_suggestionToController']['get'](_0x565784)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x23087b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x499c19;for(const _0x2bef4a in _0x23087b){const _0x567b05=_0x2bef4a,_0x22592e=_0x23087b[_0x567b05];if('trackChangesLicenseKeyValid'==_0x22592e||'trackChangesLicenseKeyInvalid'==_0x22592e||'trackChangesLicenseKeyExpired'==_0x22592e||'trackChangesLicenseKeyDomainLimit'==_0x22592e||'trackChangesLicenseKeyNotAllowed'==_0x22592e||'trackChangesLicenseKeyEvaluationLimit'==_0x22592e||'trackChangesLicenseKeyUsageLimit'==_0x22592e){delete _0x23087b[_0x567b05],_0x499c19=_0x22592e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x499c19&&_0x23087b['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x499c19&&_0x23087b['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x499c19&&_0x23087b['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x499c19&&_0x23087b['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x499c19&&_0x23087b['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x499c19&&_0x23087b['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x13dca7){const _0x30ae67=this['_suggestionToController']['get'](_0x13dca7);if(!_0x30ae67)return null;return this['editor']['plugins']['get']('Annotations')['getByInnerView'](_0x30ae67['view'])||null;}['getSuggestionForAnnotation'](_0x4ce1d1){const _0x483b5e=this['_viewToController']['get'](_0x4ce1d1['innerView']);return _0x483b5e?_0x483b5e['model']:null;}['_refreshActiveMarkers'](){const _0x32e967=this['editor']['plugins']['get']('Annotations'),_0x5da17a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x42eed5=Array['from'](_0x32e967['activeAnnotations'],_0x3c6993=>_0x3c6993['innerView'])['filter'](_0xb3ec98=>this['_viewToController']['has'](_0xb3ec98)),_0x4d4872=[];for(const _0x9c8b82 of _0x42eed5){const _0x17c7c2=this['_viewToController']['get'](_0x9c8b82)['model']['getAllAdjacentSuggestions']();_0x4d4872['push'](..._0x17c7c2['reduce']((_0x15c26e,_0x137047)=>[..._0x15c26e,..._0x137047['getMarkerNames']()],[]));}_0x5da17a['activeMarkers']=_0x4d4872;}['_addUIComponentsToFactory'](){const _0x8c32a=this['editor'],_0x12e415=_0x8c32a['locale'],_0x897f04=getTranslation$1(_0x12e415,'Track\x20changes'),_0x7604bc=new ckeditor5['Collection']([{'type':'switchbutton','model':new ckeditor5['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x897f04,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x12e415,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x12e415,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x12e415,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x12e415,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x8c32a['plugins']['has']('TrackChangesPreview')&&_0x7604bc['addMany']([{'type':'separator'},{'type':'button','model':new ckeditor5['UIModel']({'withText':!0x0,'label':getTranslation$1(_0x12e415,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x922c8a of _0x7604bc)if(isListDropdownButtonDefinition(_0x922c8a)){const _0x40f842=_0x8c32a['commands']['get'](_0x922c8a['model']['commandName']);_0x922c8a['model']['bind']('isOn','isEnabled')['to'](_0x40f842,'value','isEnabled');}_0x8c32a['ui']['componentFactory']['add']('trackChanges',_0x3ebe7a=>this['_createToolbarButton'](_0x3ebe7a,_0x7604bc,_0x897f04)),_0x8c32a['ui']['componentFactory']['add']('menuBar:trackChanges',_0x5d0804=>this['_createMenuBarMenu'](_0x5d0804,_0x7604bc,_0x897f04));}['_createToolbarButton'](_0x55b723,_0x58368c,_0x34595f){const _0x2a0e53=ckeditor5['createDropdown'](_0x55b723,ckeditor5['SplitButtonView']),_0x283e46=this['editor']['commands']['get']('trackChanges');_0x2a0e53['buttonView']['set']({'tooltip':_0x34595f,'label':_0x34595f,'icon':ckeditor5['IconTrackChanges']}),_0x2a0e53['buttonView']['bind']('isOn')['to'](_0x283e46,'value'),_0x2a0e53['buttonView']['on']('execute',()=>{_0x283e46['execute'](),this['editor']['editing']['view']['focus']();}),ckeditor5['addListToDropdown'](_0x2a0e53,_0x58368c,{'role':'menu'});const _0x97b5fb=[];for(const _0x52ac3a of _0x58368c)isListDropdownButtonDefinition(_0x52ac3a)&&_0x97b5fb['push'](this['editor']['commands']['get'](_0x52ac3a['model']['commandName']));const _0x570c94=_0x2a0e53['buttonView'];return _0x570c94['actionView']['unbind']('isEnabled'),_0x570c94['arrowView']['unbind']('isEnabled'),_0x570c94['actionView']['bind']('isEnabled')['to'](_0x283e46,'isEnabled'),_0x570c94['arrowView']['bind']('isEnabled')['toMany'](_0x97b5fb,'isEnabled',(..._0x4bc95c)=>_0x4bc95c['some'](_0x44a400=>_0x44a400)),_0x2a0e53['on']('execute',_0xebaec4=>{this['editor']['execute'](_0xebaec4['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x2a0e53;}['_createMenuBarMenu'](_0x1c878a,_0x2cce63,_0x407de7){const _0x49d0df=new ckeditor5['MenuBarMenuView'](_0x1c878a),_0x4ccea7=this['editor']['commands']['get']('trackChanges');_0x49d0df['buttonView']['set']({'label':_0x407de7,'icon':ckeditor5['IconTrackChanges']});const _0x538bff=new ckeditor5['MenuBarMenuListView'](_0x1c878a);for(const _0x22a42b of _0x2cce63){if('separator'==_0x22a42b['type']){_0x538bff['items']['add'](new ckeditor5['ListSeparatorView'](_0x1c878a));continue;}const _0x4b52e9=new ckeditor5['MenuBarMenuListItemView'](_0x1c878a,_0x49d0df),_0xbe959d=new ckeditor5['MenuBarMenuListItemButtonView'](_0x1c878a),_0xb4e649=_0x22a42b['model'];_0xbe959d['bind'](...Object['keys'](_0xb4e649))['to'](_0xb4e649),_0xbe959d['delegate']('execute')['to'](_0x49d0df),_0xbe959d['on']('execute',()=>{this['editor']['execute'](_0xb4e649['commandName']),this['editor']['editing']['view']['focus']();}),_0x4b52e9['children']['add'](_0xbe959d),_0x538bff['items']['add'](_0x4b52e9);}return _0x49d0df['bind']('isEnabled')['to'](_0x4ccea7,'isEnabled'),_0x49d0df['panelView']['children']['add'](_0x538bff),_0x49d0df;}['_initializeController'](_0x10c7e7){const _0x507b4e=this['editor'],_0x161f96=_0x507b4e['config'],_0x414712=_0x507b4e['plugins']['get']('Annotations'),_0x3e8bfa=_0x507b4e['plugins']['get']('CommentsRepository'),_0x1b2736=_0x507b4e['plugins']['get']('EditorAnnotations'),_0x225e28=_0x507b4e['plugins']['get'](_0x59867e)['me'],_0x1adb89=_0x161f96['get']('trackChanges')['SuggestionThreadView'],_0x44001c=_0x161f96['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x4ba639,CommentThreadInputView:_0xbaa586}=_0x507b4e['plugins']['get']('CommentsUI');let _0x224ced,_0x1140b4,_0x4627e9;this['_annotationViews']['has'](_0x10c7e7['id'])?(_0x1140b4=this['_annotationViews']['get'](_0x10c7e7['id']),_0x224ced=_0x1140b4['mainView']):(_0x224ced=new _0x1adb89(_0x507b4e['locale'],_0x10c7e7,_0x225e28,{'disableComments':this['_disableComments'],'editorConfig':{..._0x161f96['get']('comments.editorConfig'),'licenseKey':_0x161f96['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x161f96['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x161f96['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x161f96['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':getDateTimeFormatter(_0x161f96['get']('locale'),_0x507b4e['locale']),'CommentView':_0x161f96['get']('comments')['CommentView'],'CommentsListView':_0x4ba639,'CommentThreadInputView':_0xbaa586,'SuggestionView':_0x44001c}),_0x224ced['suggestionView']['acceptButton']['on']('execute',()=>{_0x507b4e['editing']['view']['focus']();}),_0x224ced['suggestionView']['discardButton']['on']('execute',()=>{_0x507b4e['editing']['view']['focus']();}),_0x1140b4=_0x414712['createAnnotationView'](this['editor']['locale'],_0x224ced),_0x1140b4['bind']('isDirty')['to'](_0x224ced,'isDirty'),_0x1140b4['bind']('length')['to'](_0x224ced),_0x1140b4['bind']('type')['to'](_0x224ced,'type',_0x2c5eff=>'suggestion-'+_0x2c5eff),_0x224ced['on']('escape',()=>{_0x4627e9['fire']('escape');}),this['_annotationViews']['set'](_0x10c7e7['id'],_0x1140b4));const _0x304e4e=_0x3e8bfa['createCommentThreadController'](_0x10c7e7['commentThread'],_0x224ced),_0x470d19=new SuggestionController(_0x507b4e,_0x10c7e7,_0x224ced,_0x304e4e),_0x5570a6=_0x10c7e7['getAllAdjacentSuggestions']()['filter'](_0xeb247d=>_0xeb247d['isInContent']);_0x224ced['descriptionParts']=_0x507b4e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x5570a6),this['_suggestionToController']['set'](_0x10c7e7,_0x470d19),this['_viewToController']['set'](_0x224ced,_0x470d19);const _0x4bd2c2=()=>{const _0x5bb5b7=[],_0x36934b=_0x10c7e7['getAllAdjacentSuggestions']()['filter'](_0x4e83c7=>_0x4e83c7['isInContent']);for(const _0x44c7c2 of _0x36934b)_0x5bb5b7['push'](..._0x44c7c2['getMarkers']());return getAllMarkersDomElementsSorted(_0x507b4e['editing'],_0x5bb5b7);};_0x4627e9=_0x414712['createAnnotation']({'view':_0x1140b4,'target':_0x4bd2c2,'type':()=>'suggestion-'+_0x470d19['view']['type'],'isVisible':!!_0x4bd2c2()}),_0x3e8bfa['_bindAnnotationToEditors'](_0x224ced,_0x4627e9),_0x414712['add'](_0x4627e9),_0x1b2736['registerAnnotation'](_0x4627e9);}['_destroyController'](_0x5f5ce4){const _0x2f5100=this['editor']['plugins']['get']('CommentsRepository'),_0xbda1f4=this['editor']['plugins']['get']('Annotations'),_0x5be9ca=this['_suggestionToController']['get'](_0x5f5ce4),_0x2b6a8e=_0x5be9ca['view'],_0x43350e=_0xbda1f4['getByInnerView'](_0x2b6a8e);_0x2f5100['_unbindEditors'](_0x2b6a8e),_0x43350e&&_0xbda1f4['remove'](_0x43350e),this['_suggestionToController']['delete'](_0x5f5ce4),this['_viewToController']['delete'](_0x2b6a8e),_0x5be9ca['destroy']();}['_updateController'](_0x5b109b){if(!_0x5b109b['isInContent']||!this['_suggestionToController']['has'](_0x5b109b))return;const _0x57d51a=this['editor']['plugins']['get']('TrackChangesEditing'),_0x57e5e3=this['_suggestionToController']['get'](_0x5b109b),_0x2478b5=_0x5b109b['getAllAdjacentSuggestions']();_0x57e5e3['view']['descriptionParts']=_0x57d51a['descriptionFactory']['getDescriptions'](_0x2478b5);}['destroy'](){for(const _0xb57de0 of this['_suggestionToController']['keys']())this['_destroyController'](_0xb57de0);for(const _0x5d5355 of this['_annotationViews']['values']())_0x5d5355['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function isListDropdownButtonDefinition(_0x56a57d){return'model'in _0x56a57d;}class _0xa95984 extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing,_0x2473da,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x40a63a){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x40a63a;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x1a34d4){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x1a34d4);}['getSuggestions']({skipNotAttached:_0x58cf1e=!0x1,toJSON:_0x41a699=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x58cf1e,'toJSON':_0x41a699});}['getSuggestion'](_0x265e28){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x265e28);}}const blackListedPlugins=['Pagination'];class TrackChangesData extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2d7236=this['editor'];if(_0x2d7236['config']['define']('trackChangesData.editorCreator',_0x561f39=>{const _0x165d10=_0x2d7236['model']['document']['getRootNames']()['reduce']((_0x1de69e,_0xdaaff)=>(_0x1de69e[_0xdaaff]='',_0x1de69e),{});return _0x2d7236['constructor']['create'](_0x165d10,_0x561f39);}),'function'!=typeof _0x2d7236['config']['get']('trackChangesData')['editorCreator'])throw new ckeditor5['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x115828){return getTrackChangesData(this['editor'],!0x0,_0x115828);}['getDataWithDiscardedSuggestions'](_0x448464){return getTrackChangesData(this['editor'],!0x1,_0x448464);}}class TrackChangesDataGetter extends ckeditor5['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x439588){function _0x5eb33a(_0x3a6189){return _0x3a6189['map'](_0x5dd24e=>String['fromCharCode'](_0x5dd24e))['join']('');}super(_0x439588),this['result']='end',_0x439588[_0x5eb33a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eb33a([0x76,0x69,0x65,0x77])][_0x5eb33a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5eb33a([0x61,0x75,0x74,0x6f]),_0x439588[_0x5eb33a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x5eb33a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5eb33a([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x5eb33a([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x5eb33a([0x6f,0x6b])});}['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 isMultiRootEditor$1(_0x1a55ca){return void 0x0!==_0x1a55ca['getRootsAttributes'];}async function getTrackChangesData(_0x2d6847,_0x52030e,_0x5dd822){const _0xcf046b=sanitizeEditorConfig(_0x2d6847,blackListedPlugins);_0xcf046b['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0xcf046b['rootsAttributes']=isMultiRootEditor$1(_0x2d6847)?_0x2d6847['getRootsAttributes']():void 0x0;const _0x2e75a3=document['createDocumentFragment'](),_0x28b8d8=_0x2d6847['config']['get']('trackChangesData')['editorCreator'],_0x1518f8=await _0x28b8d8(_0xcf046b,()=>createAttachedElement(_0x2e75a3));copyEditorData(_0x2d6847,_0x1518f8),_0x1518f8['execute'](_0x52030e?'acceptAllSuggestions':'discardAllSuggestions');const _0x24a7ed=isMultiRootEditor$1(_0x1518f8)?_0x1518f8['getFullData'](_0x5dd822):_0x1518f8['data']['get'](_0x5dd822);return await _0x1518f8['destroy'](),_0x24a7ed;}function copyEditorData(_0x169914,_0x4fab12){const _0x2c4720=_0x169914['model']['document']['getRootNames']()['reduce']((_0x49ebdc,_0x1406da)=>(_0x49ebdc[_0x1406da]=_0x169914['data']['get']({'rootName':_0x1406da}),_0x49ebdc),{}),_0x41b952=_0x169914['plugins']['get']('Users')['users']['map'](_0x58ce44=>({'id':_0x58ce44['id'],'name':_0x58ce44['name']})),_0x38471c=_0x169914['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1f8a1c=_0x169914['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5b552f=_0x4fab12['plugins']['get']('Users'),_0x381270=_0x4fab12['plugins']['get']('TrackChangesEditing'),_0x365c91=_0x4fab12['plugins']['get']('CommentsRepository');for(const _0x4b601f of _0x365c91['getCommentThreads']())_0x4b601f['remove']();for(const _0x269a4d of _0x41b952)_0x5b552f['getUser'](_0x269a4d['id'])||_0x5b552f['addUser'](_0x269a4d);_0x5b552f['me']||_0x5b552f['useAnonymousUser']();for(const _0x10b1e6 of _0x1f8a1c)_0x365c91['addCommentThread'](_0x10b1e6);for(const _0x3b3715 of _0x38471c)_0x381270['addSuggestionData'](_0x3b3715);_0x4fab12['data']['set'](_0x2c4720);}function createAttachedElement(_0x35709e){const _0x5cd4fe=document['createElement']('div');return _0x35709e['appendChild'](_0x5cd4fe),_0x5cd4fe;}class _0x49575f extends ckeditor5['View']{['options'];constructor(_0x379886,_0x4e2540){super(_0x379886),this['options']=_0x4e2540,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'](_0x4cba7f,_0x68f0dd){if(!this['element'])return;const _0x53332d=[];for(const [_0x766c9d,_0x16f5ef]of _0x4cba7f){const _0x57af07=document['createElement']('div');_0x57af07['setAttribute']('data-ck-root-name',_0x766c9d),_0x57af07['className']=_0x16f5ef['classes']+'\x20ck-track-changes-preview__root-container',_0x57af07['innerHTML']=_0x16f5ef['content'],_0x53332d['push'](_0x57af07);}_0x68f0dd(this['element'],_0x53332d),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends ckeditor5['Command']{constructor(_0x2a5b24){super(_0x2a5b24),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x167bbb=this['editor'],_0x51805b=_0x167bbb['locale'],_0x10770f=_0x167bbb['plugins']['get']('Dialog');let _0x4f0693;const _0x38da8a=getEditables(_0x167bbb),_0x4eb5ff=calculateDialogRects(_0x38da8a);_0x10770f['show']({'id':'finalContentPreview','title':getTranslation$1(_0x51805b,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x49575f(_0x51805b,{'dialogRects':_0x4eb5ff}),'onHide':()=>{_0x4f0693['detachFromDom']();},'onShow':()=>{_0x167bbb['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x16ccca=>{const _0x54e766=this['_standarizeRootsData'](_0x16ccca,_0x167bbb,_0x38da8a);_0x10770f['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x54e766,_0x167bbb['config']['get']('trackChanges.preview.renderFunction'));}),_0x4f0693=new ckeditor5['BodyCollection'](_0x51805b,[_0x10770f['view']]),_0x4f0693['attachToDom'](),_0x4f0693['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x167bbb['once']('destroy',()=>{_0x4f0693['detachFromDom']();});const _0x415f3b=_0x10770f['view']['headerView']['class'];_0x10770f['view']['headerView']['class']=_0x415f3b?_0x415f3b+'\x20ck-reset_all':'ck-reset_all',_0x10770f['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x10770f['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x48f241=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x4fd7cb=_0x48f241['previewMode'],_0x1f5d31={};if('$labels'===_0x4fd7cb){for(const _0x118896 of _0x48f241['getMergeFieldsIds']())_0x1f5d31[_0x118896]=_0x48f241['getLabel'](_0x118896)||_0x118896;}else{const _0x312ff9='$defaultValues'===_0x4fd7cb?_0x48f241['getDefaultValues']():_0x48f241['getDataSetValues'](_0x4fd7cb,!0x0);for(const _0x211d34 of Object['entries'](_0x312ff9)){const [_0x3f4236,_0x2d3338]=_0x211d34;_0x1f5d31[_0x3f4236]=null!==_0x2d3338?_0x2d3338:_0x48f241['getLabel'](_0x3f4236)||_0x3f4236;}}return{'mergeFieldsData':_0x1f5d31};}['_standarizeRootsData'](_0x2fb535,_0x3108e8,_0x2812a9){let _0x2e6f9b;if('string'==typeof _0x2fb535){const _0x385841=_0x3108e8['model']['document']['getRootNames']()[0x0];_0x2e6f9b={[_0x385841]:_0x2fb535};}else _0x2e6f9b=_0x2fb535;const _0x7bf980=this['_fixMediaEmbeds'](_0x2e6f9b,_0x3108e8);return addEditableClasses(this['_sortRoots'](_0x3108e8)['reduce']((_0x53679a,_0x991cbf)=>(_0x53679a['push']([_0x991cbf,{'content':_0x7bf980[_0x991cbf],'classes':''}]),_0x53679a),[]),_0x2812a9);}['_fixMediaEmbeds'](_0x3c8072,_0x1a2762){if(!_0x1a2762['plugins']['has']('MediaEmbedEditing'))return _0x3c8072;const _0x13d39f=_0x1a2762['plugins']['get']('MediaEmbedEditing');for(const [_0x2abcc7,_0x25cdc0]of Object['entries'](_0x3c8072)){const _0x4de9ea=document['createElement']('div');_0x4de9ea['innerHTML']=_0x25cdc0,(_0x4de9ea['querySelectorAll']('figure.media')['forEach'](_0x321f43=>{const _0x4744fe=_0x321f43['querySelector']('oembed');if(_0x4744fe){const _0x4a03a8=_0x4744fe['getAttribute']('url');if(_0x4a03a8){const _0x468de0=_0x13d39f['registry']['getMediaViewElement'](new ckeditor5['ViewDowncastWriter'](_0x1a2762['editing']['view']['document']),_0x4a03a8,{'elementName':'','renderForEditingView':!0x0}),_0x27ac8a=document['createElement']('div');_0x27ac8a['classList']['add']('ck-media__wrapper'),_0x468de0['render'](_0x27ac8a,_0x1a2762['editing']['view']['domConverter']),_0x4744fe['replaceWith'](_0x27ac8a);}}}),_0x3c8072[_0x2abcc7]=_0x4de9ea['innerHTML']);}return _0x3c8072;}['_sortRoots'](_0x3bcf7d){if(!isMultiRootEditor(_0x3bcf7d))return _0x3bcf7d['model']['document']['getRootNames']();const _0x3ac411=[],_0x1bf9f8=new Map();for(const _0x253c35 of _0x3bcf7d['model']['document']['getRootNames']()){const _0x24bf92=_0x3bcf7d['editing']['view']['getDomRoot'](_0x253c35)['getClientRects']()['item'](0x0);_0x3ac411['push'](_0x253c35),_0x1bf9f8['set'](_0x253c35,_0x24bf92);}return _0x3ac411['sort']((_0x53c38c,_0x346df4)=>{const _0x42466f=_0x1bf9f8['get'](_0x53c38c),_0x1aad38=_0x1bf9f8['get'](_0x346df4);return _0x42466f['y']-_0x1aad38['y']||_0x42466f['x']-_0x1aad38['x'];}),_0x3ac411;}}function getEditables(_0x1b29d1){const _0x20d855={};if('editables'in _0x1b29d1['ui']['view']){for(const [_0x41faba,_0x4ceed2]of Object['entries'](_0x1b29d1['ui']['view']['editables']))_0x20d855[_0x41faba]=_0x4ceed2['element'];}else _0x20d855[_0x1b29d1['model']['document']['getRootNames']()[0x0]]=_0x1b29d1['ui']['view']['editable']['element'];return _0x20d855;}function calculateDialogRects(_0x46b2e2){let _0x40d326=0x0;for(const _0xb066be of Object['values'](_0x46b2e2))_0x40d326=Math['max'](_0x40d326,_0xb066be['getBoundingClientRect']()['width']);let _0x379195=0x0;for(const _0x59b104 of Object['values'](_0x46b2e2))_0x379195+=_0x59b104['getBoundingClientRect']()['height'];const _0x52172e=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x40d326,'height':Math['min'](_0x379195,_0x52172e)};}function addEditableClasses(_0x4f4974,_0x13dc3a){for(const [_0x12adfb,_0x3e1b69]of _0x4f4974)_0x3e1b69['classes']=_0x13dc3a[_0x12adfb]['classList']['value']['replace']('ck-focused','');return _0x4f4974;}function isMultiRootEditor(_0x209ebf){return void 0x0!==_0x209ebf['getRootsAttributes'];}class _0x5990e0 extends ckeditor5['Plugin']{static get['requires'](){return[TrackChangesData,ckeditor5['Dialog']];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57a6d2){super(_0x57a6d2),_0x57a6d2['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x57a6d2['config']['define']('trackChanges.preview.renderFunction',(_0x543ea5,_0xae7406)=>{for(const _0xb71805 of _0xae7406)_0x543ea5['appendChild'](_0xb71805);});}}var _0x11c6cd=function(_0x3b07c1){return _0x3b07c1['Local']='local',_0x3b07c1['URL']='url',_0x3b07c1['Dropbox']='dropbox',_0x3b07c1['GDrive']='gdrive',_0x3b07c1['Facebook']='facebook',_0x3b07c1['GPhotos']='gphotos',_0x3b07c1['OneDrive']='onedrive',_0x3b07c1;}({});function getTranslation(_0xaea86,_0x49118d,_0x35a0a8){const t=_0xaea86['t'],_0x3eb063=_0xaea86['t'];switch(_0x49118d){case _0x11c6cd['Local']:return{'text':_0x3eb063('Insert'===_0x35a0a8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3eb063('From\x20computer')};case _0x11c6cd['URL']:return{'text':'Insert'===_0x35a0a8?_0x3eb063('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3eb063('Via\x20URL')};case _0x11c6cd['Dropbox']:return{'text':t('Insert'===_0x35a0a8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x11c6cd['Facebook']:return{'text':t('Insert'===_0x35a0a8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x11c6cd['GDrive']:return{'text':t('Insert'===_0x35a0a8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x11c6cd['GPhotos']:return{'text':t('Insert'===_0x35a0a8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x11c6cd['OneDrive']:return{'text':t('Insert'===_0x35a0a8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49118d;}}class _0x466ba3 extends ckeditor5['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 _0x37471d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x265c6a;for(const _0x4ab8c7 in _0x37471d){const _0x565d30=_0x4ab8c7,_0x4359a5=_0x37471d[_0x565d30];if('uploadcareLicenseKeyValid'==_0x4359a5||'uploadcareLicenseKeyInvalid'==_0x4359a5||'uploadcareLicenseKeyExpired'==_0x4359a5||'uploadcareLicenseKeyDomainLimit'==_0x4359a5||'uploadcareLicenseKeyNotAllowed'==_0x4359a5||'uploadcareLicenseKeyEvaluationLimit'==_0x4359a5||'uploadcareLicenseKeyUsageLimit'==_0x4359a5){delete _0x37471d[_0x565d30],_0x265c6a=_0x4359a5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x265c6a&&_0x37471d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x265c6a&&_0x37471d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x265c6a&&_0x37471d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x265c6a&&_0x37471d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x265c6a&&_0x37471d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x265c6a&&_0x37471d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xbafb6d}=this,_0xb71054=_0xbafb6d['commands']['get']('uploadcare');if(!_0xb71054)return;const _0x3872dc=this['_normalizeConfigSourceList'](_0xbafb6d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x203509,_0xbfba2d)=>{const _0x2a4008=this['_getIntegrationKey'](_0xbfba2d['type']);return _0x203509[_0x2a4008]||(_0x203509[_0x2a4008]=[]),_0x203509[_0x2a4008]['push'](_0xbfba2d),_0x203509;},{});_0xbafb6d['plugins']['has']('ImageInsertUI')&&_0xbafb6d['commands']['get']('uploadcare')&&Object['entries'](_0x3872dc)['forEach'](([_0x46a1e7,_0x4f8dd5])=>{_0xbafb6d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x46a1e7,'observable':()=>_0xb71054,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4f8dd5),'formViewCreator':()=>this['_createDropdownButtons'](_0x4f8dd5),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4f8dd5),'override':'assetManager'!==_0x46a1e7});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4e63bf){const {locale:_0x4f8272}=this['editor'];return _0x4e63bf['map'](_0x2e77bc=>{const _0x208996=getTranslation(_0x4f8272,_0x2e77bc,'Insert');switch(_0x2e77bc){case _0x11c6cd['Local']:return{'icon':ckeditor5['IconUploadcareImageUpload'],'type':_0x11c6cd['Local'],..._0x208996};case _0x11c6cd['URL']:return{'icon':ckeditor5['IconUploadcareLink'],'type':_0x11c6cd['URL'],..._0x208996};case _0x11c6cd['Dropbox']:return{'icon':ckeditor5['IconDropbox'],'type':_0x11c6cd['Dropbox'],..._0x208996};case _0x11c6cd['Facebook']:return{'icon':ckeditor5['IconFacebook'],'type':_0x11c6cd['Facebook'],..._0x208996};case _0x11c6cd['GDrive']:return{'icon':ckeditor5['IconGoogleDrive'],'type':_0x11c6cd['GDrive'],..._0x208996};case _0x11c6cd['GPhotos']:return{'icon':ckeditor5['IconGooglePhotos'],'type':_0x11c6cd['GPhotos'],..._0x208996};case _0x11c6cd['OneDrive']:return{'icon':ckeditor5['IconOneDrive'],'type':_0x11c6cd['OneDrive'],..._0x208996};}});}['_getIntegrationKey'](_0x83d8eb){switch(_0x83d8eb){case _0x11c6cd['Local']:return'upload';case _0x11c6cd['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3b7275,_0x4e102e){const _0x58223b=this['editor'],_0x3bdda5=new _0x3b7275(_0x58223b['locale']),_0x2a441c=_0x58223b['commands']['get']('uploadcare');return _0x3bdda5['bind']('isEnabled')['to'](_0x2a441c),_0x3bdda5['on']('execute',()=>{_0x2a441c['execute'](_0x4e102e);}),_0x3bdda5;}['_createToolbarButton'](_0x4e957a){const {locale:_0x3065a9}=this['editor'],_0x19c716=this['editor']['plugins']['get']('ImageInsertUI'),_0x5d395d=_0x4e957a[0x0],_0x3ba398=this['_createButton'](ckeditor5['ButtonView'],_0x5d395d['type']);return _0x3ba398['icon']=_0x5d395d['icon'],_0x3ba398['bind']('label')['to'](_0x19c716,'isImageSelected',_0xdb8408=>getTranslation(_0x3065a9,_0x5d395d['type'],_0xdb8408?'Replace':'Insert')['text']),_0x3ba398['tooltip']=!0x0,_0x3ba398;}['_createDropdownButtons'](_0x1b7773){const {locale:_0x21d00c}=this['editor'],_0x34612b=this['editor']['plugins']['get']('ImageInsertUI');return _0x1b7773['map'](_0x5a7c04=>{const _0x7e38f0=this['_createButton'](ckeditor5['ButtonView'],_0x5a7c04['type']);return _0x7e38f0['withText']=!0x0,_0x7e38f0['icon']=_0x5a7c04['icon'],_0x7e38f0['bind']('label')['to'](_0x34612b,'isImageSelected',_0xdcd9dc=>getTranslation(_0x21d00c,_0x5a7c04['type'],_0xdcd9dc?'Replace':'Insert')['text']),_0x7e38f0;});}['_createMenuBarButtons'](_0x407ca7){return _0x407ca7['map'](_0x3ad5e6=>{const _0x433294=this['_createButton'](ckeditor5['MenuBarMenuListItemButtonView'],_0x3ad5e6['type']);return _0x433294['icon']=_0x3ad5e6['icon'],_0x433294['label']=_0x3ad5e6['shortText'],_0x433294;});}}class _0x2616cf extends ckeditor5['View']{['focusTracker'];['focusCycler'];constructor(_0x104e2c){super(_0x104e2c),this['focusTracker']=new ckeditor5['FocusTracker'](),this['focusCycler']=new ckeditor5['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');})}};}}class _0x4b7c7f extends _0x2616cf{constructor(_0x10a14d,_0x4c6504){super(_0x10a14d),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-'+_0x4c6504}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function createEditabilityChecker(_0x1bd9b3){const _0x5bd4ff=createUrlChecker(_0x1bd9b3);return _0x2c61f7=>!(!_0x2c61f7||!_0x2c61f7['is']('element','imageBlock')&&!_0x2c61f7['is']('element','imageInline'))&&(!!_0x2c61f7['hasAttribute']('uploadcareImageId')||!!_0x2c61f7['hasAttribute']('src')&&_0x5bd4ff(_0x2c61f7['getAttribute']('src')));}function getImageUrls(_0x2df8d6,_0x23ea16){const _0x50aeac=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x41be15=>_0x41be15<=_0x23ea16)['map'](_0x141199=>_0x2df8d6['replace'](/\/$/,'')+'/-/resize/'+_0x141199+'x/\x20'+_0x141199+'w');return{'imageFallbackUrl':_0x2df8d6,'imageSources':[{'srcset':_0x50aeac['join'](',\x20'),'sizes':'(max-width:\x20'+_0x23ea16+'px)\x20100vw,\x20'+_0x23ea16+'px','type':'image/webp'}]};}function getImageDimension(_0x636090,_0x334457,_0x2a53ff){const _0x563df5=_0x636090['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x563df5?parseInt(_0x563df5[0x1],0xa):_0x334457,'height':_0x563df5?parseInt(_0x563df5[0x2],0xa):_0x2a53ff};}function showImageProcessingIndicator(_0x113baf,_0x24393c){const _0x2c2353=new(ckeditor5['DomEmitterMixin']())(),_0x103363=_0x113baf['plugins']['get']('ImageUtils'),_0x5ac172=_0x113baf['editing']['mapper']['toViewElement'](_0x24393c),_0xab36c1=_0x103363['findViewImgElement'](_0x5ac172),_0x42b5c3=_0x113baf['editing']['view']['domConverter']['viewToDom'](_0xab36c1),_0xb23acf=_0x24393c['getAttribute']('width'),_0x427616=_0x24393c['getAttribute']('height'),_0x38e73a='image-processing';_0x113baf['editing']['view']['change'](_0x404911=>{_0x404911['addClass'](_0x38e73a,_0x5ac172),_0x404911['setStyle']('aspect-ratio',_0xb23acf+'/'+_0x427616,_0xab36c1);}),_0x2c2353['listenTo'](_0x42b5c3,'load',()=>{_0x2c2353['stopListening'](_0x42b5c3,'load'),_0x113baf['editing']['view']['change'](_0x5429d9=>{_0x5429d9['removeClass'](_0x38e73a,_0x5ac172),_0x5429d9['removeStyle']('aspect-ratio',_0xab36c1);});});}function createUrlChecker(_0x4f17c3){if(Array['isArray'](_0x4f17c3)){const _0x9d0aab=_0x4f17c3['map'](createUrlChecker);return _0x1e7027=>_0x9d0aab['some'](_0x427078=>_0x427078(_0x1e7027));}if('origin'==_0x4f17c3){const _0x5f4965=ckeditor5['global']['window']['location']['origin'];return _0x262713=>new URL(_0x262713,ckeditor5['global']['document']['baseURI'])['origin']==_0x5f4965;}return'function'==typeof _0x4f17c3?_0x4f17c3:_0x4f17c3 instanceof RegExp?_0x3490a0=>!(!_0x3490a0['match'](_0x4f17c3)&&!_0x3490a0['replace'](/^https?:\/\//,'')['match'](_0x4f17c3)):()=>!0x1;}function isAncestor(_0x1ff761,_0x3f9d05){return ckeditor5['getAncestors'](_0x1ff761['target'])['includes'](_0x3f9d05);}class UploadcareController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5ed10d,_0x211804,_0x242793){super(),this['_editor']=_0x5ed10d,this['_editing']=_0x211804,this['_dialog']=_0x5ed10d['plugins']['get'](ckeditor5['Dialog']),this['_api']=_0x211804['ctxElement']['getAPI'](),this['_type']=_0x242793,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:_0x366e3c,model:_0xe0906b}=this['_editor'],_0x12b4e2=_0xe0906b['document']['selection']['getSelectedElement'](),_0x5538df=_0x12b4e2&&(_0x12b4e2['is']('element','imageBlock')||_0x12b4e2['is']('element','imageInline'));this['_formView']=new _0x4b7c7f(_0x366e3c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':ckeditor5['IconUploadcareImageUpload'],'title':getTranslation(_0x366e3c,this['_type'],_0x5538df?'Replace':'Insert')['text'],'content':this['_formView'],'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5c41c2=>!isAncestor(_0x5c41c2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4ca957}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4f1b89=>{const _0x3315a0=_0x4ca957['length'];for(const _0x236edc of _0x4ca957){const _0x44eeb7=_0x236edc===_0x4ca957[_0x3315a0-0x1],{cdnUrl:_0x2a15c3,fileInfo:_0x17f372}=_0x236edc;if(!_0x2a15c3||!_0x17f372)continue;const {width:_0x242474,height:_0xc43e21}=_0x17f372['imageInfo'],_0x12e75c=getImageDimension(_0x2a15c3,_0x242474,_0xc43e21),_0x401132=getImageUrls(_0x2a15c3,_0x12e75c['width']),_0x441715={'id':_0x17f372['uuid'],'type':'image','attributes':{'imageDimension':_0x12e75c,..._0x401132}};this['_insertAsset'](_0x441715,_0x44eeb7,_0x4f1b89);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x6c6bef=>{'idle'===_0x6c6bef['detail']['status']&&!_0x6c6bef['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===_0x11c6cd['Local']?this['_api']['setCurrentActivity'](_0x11c6cd['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5c8b83,_0x3f3f6e,_0x5cb626){const _0x3378cb=this['_editor']['model']['document']['selection'],_0x1ea0b2=_0x3378cb['getSelectedElement'](),_0x5b9815=!(!_0x1ea0b2||!_0x1ea0b2['is']('element','imageInline'));_0x5cb626['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5c8b83,_0x5b9815),_0x3f3f6e||_0x5cb626['setSelection'](_0x3378cb['getLastPosition']());}['_insertImage'](_0x3707ae,_0x54f036){const _0x52f8d=this['_editor'],{imageDimension:_0x2cac88,imageFallbackUrl:_0x1b54d8,imageSources:_0xf43acb}=_0x3707ae['attributes'];_0x52f8d['execute']('insertImage',{'imageType':_0x54f036?'imageInline':null,'source':{'uploadcareImageId':_0x3707ae['id'],'src':_0x1b54d8,'sources':_0xf43acb,..._0x2cac88}});}}class _0x23737a extends ckeditor5['Command']{['_editing'];['_controller']=null;static get['requires'](){return[ckeditor5['Dialog'],UploadcareEditing];}constructor(_0xef709){super(_0xef709),this['_editing']=_0xef709['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x49ea33){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x49ea33);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function isObject$1(_0x3e437e){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x3e437e);}const _0x689ae=/\W|_/g;function camelizeString$1(_0x5bb50b){return _0x5bb50b['split'](_0x689ae)['map']((_0x531186,_0x4fd0f0)=>_0x531186['charAt'](0x0)[_0x4fd0f0>0x0?'toUpperCase':'toLowerCase']()+_0x531186['slice'](0x1))['join']('');}function camelizeArrayItems$1(_0x324f9f,{ignoreKeys:_0x4035d3}={'ignoreKeys':[]}){return Array['isArray'](_0x324f9f)?_0x324f9f['map'](_0x389df4=>_0x246bc3(_0x389df4,{'ignoreKeys':_0x4035d3})):_0x324f9f;}function _0x246bc3(_0x23b2e8,{ignoreKeys:_0x55f1ee}={'ignoreKeys':[]}){if(Array['isArray'](_0x23b2e8))return camelizeArrayItems$1(_0x23b2e8,{'ignoreKeys':_0x55f1ee});if(!isObject$1(_0x23b2e8))return _0x23b2e8;const _0xc24522={};for(const _0x341e01 of Object['keys'](_0x23b2e8)){let _0x22c89d=_0x23b2e8[_0x341e01];_0x55f1ee['includes'](_0x341e01)?_0xc24522[_0x341e01]=_0x22c89d:(isObject$1(_0x22c89d)?_0x22c89d=_0x246bc3(_0x22c89d,{'ignoreKeys':_0x55f1ee}):Array['isArray'](_0x22c89d)&&(_0x22c89d=camelizeArrayItems$1(_0x22c89d,{'ignoreKeys':_0x55f1ee})),_0xc24522[camelizeString$1(_0x341e01)]=_0x22c89d);}return _0xc24522;}const _0x2ed898=_0x5d0496=>new Promise(_0x33873d=>setTimeout(_0x33873d,_0x5d0496));function getUserAgent$1$1({libraryName:_0x219000,libraryVersion:_0xc4474c,userAgent:_0x5b46aa,publicKey:_0x2c51bf='',integration:_0x145f37=''}){const _0xc63ed5='JavaScript';if('string'==typeof _0x5b46aa)return _0x5b46aa;if('function'==typeof _0x5b46aa)return _0x5b46aa({'publicKey':_0x2c51bf,'libraryName':_0x219000,'libraryVersion':_0xc4474c,'languageName':_0xc63ed5,'integration':_0x145f37});return[_0x219000,_0xc4474c,_0x2c51bf]['filter'](Boolean)['join']('/')+'\x20('+[_0xc63ed5,_0x145f37]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions$1={'factor':0x2,'time':0x64};function retrier$1(_0x23a064,_0x2abf38=defaultOptions$1){let _0x596d34=0x0;return function _0x99ebac(_0x475ddc){const _0x7f32c9=Math['round'](_0x2abf38['time']*_0x2abf38['factor']**_0x596d34);return _0x475ddc({'attempt':_0x596d34,'retry':_0x500406=>_0x2ed898(_0x500406??_0x7f32c9)['then'](()=>(_0x596d34+=0x1,_0x99ebac(_0x475ddc)))});}(_0x23a064);}let _0x17f0e7=class extends Error{},NetworkError$1=class _0x29f28a extends _0x17f0e7{['originalProgressEvent'];constructor(_0x678142){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x29f28a['prototype']),this['originalProgressEvent']=_0x678142;}};const _0x2bd591=(_0x456481,_0x406cd5)=>{_0x456481&&(_0x456481['aborted']?Promise['resolve']()['then'](_0x406cd5):_0x456481['addEventListener']('abort',()=>_0x406cd5(),{'once':!0x0}));};let _0x8bd2db=class _0x9f0109 extends _0x17f0e7{['isCancel']=!0x0;constructor(_0x3dba18='Request\x20canceled'){super(_0x3dba18),this['name']='CancelError',Object['setPrototypeOf'](this,_0x9f0109['prototype']);}};const _0x31d785=0x1f4,_0x184e8c=({check:_0x166c9f,interval:_0x30b97d=_0x31d785,timeout:_0x32e0de,signal:_0x367947})=>new Promise((_0x4ce358,_0x1669ca)=>{let _0x3420ca,_0x34f972;_0x2bd591(_0x367947,()=>{_0x3420ca&&clearTimeout(_0x3420ca),_0x1669ca(new _0x8bd2db('Poll\x20cancelled'));}),_0x32e0de&&(_0x34f972=setTimeout(()=>{_0x3420ca&&clearTimeout(_0x3420ca),_0x1669ca(new _0x8bd2db('Timed\x20out'));},_0x32e0de));const _0x4fadf7=()=>{try{Promise['resolve'](_0x166c9f(_0x367947))['then'](_0x71390e=>{_0x71390e?(_0x34f972&&clearTimeout(_0x34f972),_0x4ce358(_0x71390e)):_0x3420ca=setTimeout(_0x4fadf7,_0x30b97d);})['catch'](_0x4f1e71=>{_0x34f972&&clearTimeout(_0x34f972),_0x1669ca(_0x4f1e71);});}catch(_0x400c83){_0x34f972&&clearTimeout(_0x34f972),_0x1669ca(_0x400c83);}};_0x3420ca=setTimeout(_0x4fadf7,0x0);}),defaultSettings$1={'baseCDN':'https://ucarecdn.com','baseURL':'https://upload.uploadcare.com','retryThrottledRequestMaxTimes':0x1,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0x4,'pusherKey':'79ae88bd931ea68464d9'},defaultContentType$1='application/octet-stream',defaultFilename$1='original',request$1=({method:_0x320001,url:_0x24c9c1,data:_0x331ae7,headers:_0x1b43c7={},signal:_0x5cf85c,onProgress:_0xfe2cd6})=>new Promise((_0x1badb4,_0x4b2e30)=>{const _0x4ccfbe=new XMLHttpRequest(),_0x41510f=_0x320001?.['toUpperCase']()||'GET';let _0x44d682=!0x1;_0x4ccfbe['open'](_0x41510f,_0x24c9c1,!0x0),_0x1b43c7&&Object['entries'](_0x1b43c7)['forEach'](_0x44ae75=>{const [_0x261adb,_0x1b81a3]=_0x44ae75;void 0x0!==_0x1b81a3&&!Array['isArray'](_0x1b81a3)&&_0x4ccfbe['setRequestHeader'](_0x261adb,_0x1b81a3);}),_0x4ccfbe['responseType']='text',_0x2bd591(_0x5cf85c,()=>{_0x44d682=!0x0,_0x4ccfbe['abort'](),_0x4b2e30(new _0x8bd2db());}),_0x4ccfbe['onload']=()=>{if(0xc8!=_0x4ccfbe['status'])_0x4b2e30(new Error('Error\x20'+_0x4ccfbe['status']+':\x20'+_0x4ccfbe['statusText']));else{const _0x1ff4ec={'method':_0x41510f,'url':_0x24c9c1,'data':_0x331ae7,'headers':_0x1b43c7||void 0x0,'signal':_0x5cf85c,'onProgress':_0xfe2cd6},_0x2ae50b=_0x4ccfbe['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x54d15f={};_0x2ae50b['forEach'](function(_0x58c7e9){const _0x14d593=_0x58c7e9['split'](':\x20'),_0x325fd4=_0x14d593['shift'](),_0x1d04f4=_0x14d593['join'](':\x20');_0x325fd4&&void 0x0!==_0x325fd4&&(_0x54d15f[_0x325fd4]=_0x1d04f4);});const _0x33b071=_0x4ccfbe['response'],_0x1b917e=_0x4ccfbe['status'];_0x1badb4({'request':_0x1ff4ec,'data':_0x33b071,'headers':_0x54d15f,'status':_0x1b917e});}},_0x4ccfbe['onerror']=_0x1593e1=>{_0x44d682||_0x4b2e30(new NetworkError$1(_0x1593e1));},_0xfe2cd6&&'function'==typeof _0xfe2cd6&&(_0x4ccfbe['upload']['onprogress']=_0xdb93e5=>{_0xdb93e5['lengthComputable']?_0xfe2cd6({'isComputable':!0x0,'value':_0xdb93e5['loaded']/_0xdb93e5['total']}):_0xfe2cd6({'isComputable':!0x1});}),_0x331ae7?_0x4ccfbe['send'](_0x331ae7):_0x4ccfbe['send']();});function identity$1(_0x1e9a68,..._0x22d13b){return _0x1e9a68;}const getFileOptions$1=({name:_0x1f79a6})=>_0x1f79a6?[_0x1f79a6]:[],transformFile$1=identity$1;var getFormData$1=()=>new FormData();const _0x4971c6=_0x15b127=>!0x1,_0x201ad7=_0x2515ff=>'undefined'!=typeof Blob&&_0x2515ff instanceof Blob,_0x2e9525=_0x3a0aec=>'undefined'!=typeof File&&_0x3a0aec instanceof File,isReactNativeAsset$1=_0x596e75=>!!_0x596e75&&'object'==typeof _0x596e75&&!Array['isArray'](_0x596e75)&&'uri'in _0x596e75&&'string'==typeof _0x596e75['uri'],isFileData$1=_0x34914a=>_0x201ad7(_0x34914a)||_0x2e9525(_0x34914a)||_0x4971c6()||isReactNativeAsset$1(_0x34914a),_0x2d7937=_0x3438d7=>'string'==typeof _0x3438d7||'number'==typeof _0x3438d7||void 0x0===_0x3438d7,isObjectValue$1=_0x574cd7=>!!_0x574cd7&&'object'==typeof _0x574cd7&&!Array['isArray'](_0x574cd7),_0x4c73ee=_0x284d64=>!!_0x284d64&&'object'==typeof _0x284d64&&'data'in _0x284d64&&isFileData$1(_0x284d64['data']);function collectParams$1(_0x524e10,_0x5f4263,_0x41de5d){if(Array['isArray'](_0x41de5d)){for(const _0x1c4aba of _0x41de5d)collectParams$1(_0x524e10,_0x5f4263+'[]',_0x1c4aba);}else{if(_0x4c73ee(_0x41de5d)){const {name:_0x3d17ea,contentType:_0x5b954f}=_0x41de5d,_0x50df2d=transformFile$1(_0x41de5d['data'],_0x3d17ea,_0x5b954f??defaultContentType$1),_0x1d9cb5=getFileOptions$1({'name':_0x3d17ea});_0x524e10['push']([_0x5f4263,_0x50df2d,..._0x1d9cb5]);}else{if(isObjectValue$1(_0x41de5d)){for(const [_0x18c35e,_0x2bb066]of Object['entries'](_0x41de5d))void 0x0!==_0x2bb066&&_0x524e10['push']([_0x5f4263+'['+_0x18c35e+']',String(_0x2bb066)]);}else _0x2d7937(_0x41de5d)&&_0x41de5d&&_0x524e10['push']([_0x5f4263,_0x41de5d['toString']()]);}}}function getFormDataParams$1(_0x51456c){const _0x3c8973=[];for(const [_0x4fb4a6,_0x213dcb]of Object['entries'](_0x51456c))collectParams$1(_0x3c8973,_0x4fb4a6,_0x213dcb);return _0x3c8973;}function buildFormData$1(_0x32ae6f){const _0xcc1ade=getFormData$1(),_0x53f505=getFormDataParams$1(_0x32ae6f);for(const _0x405448 of _0x53f505){const [_0x41cfae,_0x3c2587,..._0x5c3eda]=_0x405448;_0xcc1ade['append'](_0x41cfae,_0x3c2587,..._0x5c3eda);}return _0xcc1ade;}let _0x3ebe8c=class _0x374258 extends _0x17f0e7{['code'];['request'];['response'];['headers'];constructor(_0x44df2b,_0x4dafa0,_0x40e361,_0x4300b2,_0x1886aa){super(),this['name']='UploadError',this['message']=_0x44df2b,this['code']=_0x4dafa0,this['request']=_0x40e361,this['response']=_0x4300b2,this['headers']=_0x1886aa,Object['setPrototypeOf'](this,_0x374258['prototype']);}};const _0x460e37=_0x521596=>{const _0x3d399a=new URLSearchParams();for(const [_0x9837a1,_0x9dad5a]of Object['entries'](_0x521596))_0x9dad5a&&'object'==typeof _0x9dad5a&&!Array['isArray'](_0x9dad5a)?Object['entries'](_0x9dad5a)['filter'](_0x3e9541=>_0x3e9541[0x1]??!0x1)['forEach'](_0x3ddc1e=>_0x3d399a['set'](_0x9837a1+'['+_0x3ddc1e[0x0]+']',String(_0x3ddc1e[0x1]))):Array['isArray'](_0x9dad5a)?_0x9dad5a['forEach'](_0x2e21fc=>{_0x3d399a['append'](_0x9837a1+'[]',_0x2e21fc);}):'string'==typeof _0x9dad5a&&_0x9dad5a?_0x3d399a['set'](_0x9837a1,_0x9dad5a):'number'==typeof _0x9dad5a&&_0x3d399a['set'](_0x9837a1,_0x9dad5a['toString']());return _0x3d399a['toString']();},getUrl$1=(_0x43fee1,_0x3ba9b2,_0x29118b)=>{const _0x21f950=new URL(_0x43fee1);return _0x21f950['pathname']=(_0x21f950['pathname']+_0x3ba9b2)['replace']('//','/'),_0x29118b&&(_0x21f950['search']=_0x460e37(_0x29118b)),_0x21f950['toString']();};var _0x48b894='6.14.3';const _0x1e2667='UploadcareUploadClient',_0x328e5f=_0x48b894;function getUserAgent$2(_0x241b2e){return getUserAgent$1$1({'libraryName':_0x1e2667,'libraryVersion':_0x328e5f,..._0x241b2e});}const _0x44c96c='RequestThrottledError',_0x5f113c=0x3a98,_0x1db65b=0x3e8;function getTimeoutFromThrottledRequest$1(_0x1d2c53){const {headers:_0x40834c}=_0x1d2c53||{};if(!_0x40834c||'string'!=typeof _0x40834c['retry-after'])return _0x5f113c;const _0x304e89=parseInt(_0x40834c['retry-after'],0xa);return Number['isFinite'](_0x304e89)?0x3e8*_0x304e89:_0x5f113c;}function retryIfFailed$1(_0x573a26,_0x61f160){const {retryThrottledRequestMaxTimes:_0x439f01,retryNetworkErrorMaxTimes:_0x20f8c1}=_0x61f160;return retrier$1(({attempt:_0x29c194,retry:_0x481d58})=>_0x573a26()['catch'](_0xef2eeb=>{if('response'in _0xef2eeb&&_0xef2eeb?.['code']===_0x44c96c&&_0x29c194<_0x439f01)return _0x481d58(getTimeoutFromThrottledRequest$1(_0xef2eeb));if(_0xef2eeb instanceof NetworkError$1&&_0x29c194<_0x20f8c1)return _0x481d58((_0x29c194+0x1)*_0x1db65b);throw _0xef2eeb;}));}const getContentType$1=_0x32cb3b=>{let _0x35d191='';return(_0x201ad7(_0x32cb3b)||_0x2e9525(_0x32cb3b)||isReactNativeAsset$1(_0x32cb3b))&&(_0x35d191=_0x32cb3b['type']),_0x35d191||defaultContentType$1;},getFileName$1=_0x374c75=>{let _0x3e0f0d='';return _0x2e9525(_0x374c75)&&_0x374c75['name']?_0x3e0f0d=_0x374c75['name']:_0x201ad7(_0x374c75)||_0x4971c6()?_0x3e0f0d='':isReactNativeAsset$1(_0x374c75)&&_0x374c75['name']&&(_0x3e0f0d=_0x374c75['name']),_0x3e0f0d||defaultFilename$1;};function getStoreValue$1(_0x1b24f0){return void 0x0===_0x1b24f0||'auto'===_0x1b24f0?'auto':_0x1b24f0?'1':'0';}function _0x3ff41f(_0x23d063,{publicKey:_0x7db7b6,fileName:_0x3e4abd,contentType:_0x214f16,baseURL:_0x24ac58=defaultSettings$1['baseURL'],secureSignature:_0x52f5f9,secureExpire:_0x45fef8,store:_0x2ce73a,signal:_0x5f4c8f,onProgress:_0x31e736,source:_0x2d5f78='local',integration:_0x108451,userAgent:_0x4f4182,retryThrottledRequestMaxTimes:_0x521034=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x4ed652=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x5c4e5e}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x24ac58,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x7db7b6,'integration':_0x108451,'userAgent':_0x4f4182})},'data':buildFormData$1({'file':{'data':_0x23d063,'name':_0x3e4abd||getFileName$1(_0x23d063),'contentType':_0x214f16||getContentType$1(_0x23d063)},'UPLOADCARE_PUB_KEY':_0x7db7b6,'UPLOADCARE_STORE':getStoreValue$1(_0x2ce73a),'signature':_0x52f5f9,'expire':_0x45fef8,'source':_0x2d5f78,'metadata':_0x5c4e5e}),'signal':_0x5f4c8f,'onProgress':_0x31e736})['then'](({data:_0x3ae656,headers:_0x27dc3c,request:_0x35ab6f})=>{const _0x3a2700=_0x246bc3(JSON['parse'](_0x3ae656));if('error'in _0x3a2700)throw new _0x3ebe8c(_0x3a2700['error']['content'],_0x3a2700['error']['errorCode'],_0x35ab6f,_0x3a2700,_0x27dc3c);return _0x3a2700;}),{'retryNetworkErrorMaxTimes':_0x4ed652,'retryThrottledRequestMaxTimes':_0x521034});}var _0x3ba225,Status$1;function _0x362d24(_0x21715d,{publicKey:_0x2080ed,baseURL:_0x101d9=defaultSettings$1['baseURL'],store:_0x32556d,fileName:_0x2beebf,checkForUrlDuplicates:_0x11ac3e,saveUrlForRecurrentUploads:_0x329a15,secureSignature:_0x33f66a,secureExpire:_0x1466f1,source:_0x33fe5c='url',signal:_0x4c21c2,integration:_0x19d3da,userAgent:_0xd7e68,retryThrottledRequestMaxTimes:_0x11baa2=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x189141=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x177590}){return retryIfFailed$1(()=>request$1({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x2080ed,'integration':_0x19d3da,'userAgent':_0xd7e68})},'url':getUrl$1(_0x101d9,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x2080ed,'source_url':_0x21715d,'store':getStoreValue$1(_0x32556d),'filename':_0x2beebf,'check_URL_duplicates':_0x11ac3e?0x1:void 0x0,'save_URL_duplicates':_0x329a15?0x1:void 0x0,'signature':_0x33f66a,'expire':_0x1466f1,'source':_0x33fe5c,'metadata':_0x177590}),'signal':_0x4c21c2})['then'](({data:_0x33a11e,headers:_0xf301a5,request:_0x11aa28})=>{const _0x1f7195=_0x246bc3(JSON['parse'](_0x33a11e));if('error'in _0x1f7195)throw new _0x3ebe8c(_0x1f7195['error']['content'],_0x1f7195['error']['errorCode'],_0x11aa28,_0x1f7195,_0xf301a5);return _0x1f7195;}),{'retryNetworkErrorMaxTimes':_0x189141,'retryThrottledRequestMaxTimes':_0x11baa2});}!function(_0x395e68){_0x395e68['Token']='token',_0x395e68['FileInfo']='file_info';}(_0x3ba225||(_0x3ba225={})),function(_0x32d4e4){_0x32d4e4['Unknown']='unknown',_0x32d4e4['Waiting']='waiting',_0x32d4e4['Progress']='progress',_0x32d4e4['Error']='error',_0x32d4e4['Success']='success';}(Status$1||(Status$1={}));const _0x38992e=_0x8d7fc=>'status'in _0x8d7fc&&_0x8d7fc['status']===Status$1['Error'];function fromUrlStatus$1(_0x2798d4,{publicKey:_0x24dc9c,baseURL:_0x1c63cb=defaultSettings$1['baseURL'],signal:_0x3dc51b,integration:_0x2046ab,userAgent:_0x1d5ebd,retryThrottledRequestMaxTimes:_0x5aa806=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x157a85=defaultSettings$1['retryNetworkErrorMaxTimes']}={}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':_0x24dc9c?{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x24dc9c,'integration':_0x2046ab,'userAgent':_0x1d5ebd})}:void 0x0,'url':getUrl$1(_0x1c63cb,'/from_url/status/',{'jsonerrors':0x1,'token':_0x2798d4}),'signal':_0x3dc51b})['then'](({data:_0x574c06,headers:_0x12ca33,request:_0x16cfb5})=>{const _0x59c3bb=_0x246bc3(JSON['parse'](_0x574c06));if('error'in _0x59c3bb&&!_0x38992e(_0x59c3bb))throw new _0x3ebe8c(_0x59c3bb['error']['content'],_0x59c3bb['error']['errorCode'],_0x16cfb5,_0x59c3bb,_0x12ca33);return _0x59c3bb;}),{'retryNetworkErrorMaxTimes':_0x157a85,'retryThrottledRequestMaxTimes':_0x5aa806});}function _0x311a65(_0x53366d,{publicKey:_0x36fbb2,baseURL:_0x3ed083=defaultSettings$1['baseURL'],signal:_0x3e2cad,source:_0x49aed5,integration:_0x5a7fce,userAgent:_0x165630,retryThrottledRequestMaxTimes:_0x110498=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x1b27de=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x36fbb2,'integration':_0x5a7fce,'userAgent':_0x165630})},'url':getUrl$1(_0x3ed083,'/info/',{'jsonerrors':0x1,'pub_key':_0x36fbb2,'file_id':_0x53366d,'source':_0x49aed5}),'signal':_0x3e2cad})['then'](({data:_0x77afb1,headers:_0x214bc4,request:_0x2d92d2})=>{const _0x2b662a=_0x246bc3(JSON['parse'](_0x77afb1));if('error'in _0x2b662a)throw new _0x3ebe8c(_0x2b662a['error']['content'],_0x2b662a['error']['errorCode'],_0x2d92d2,_0x2b662a,_0x214bc4);return _0x2b662a;}),{'retryThrottledRequestMaxTimes':_0x110498,'retryNetworkErrorMaxTimes':_0x1b27de});}function multipartStart$1(_0x24d350,{publicKey:_0x218a00,contentType:_0x27e4ce,fileName:_0x404642,multipartChunkSize:_0x1ab1ac=defaultSettings$1['multipartChunkSize'],baseURL:_0x4f6ce1='',secureSignature:_0x55b7fa,secureExpire:_0x3b8406,store:_0x254dc0,signal:_0x4060cf,source:_0xefd45e='local',integration:_0x3bcac9,userAgent:_0x59f3b0,retryThrottledRequestMaxTimes:_0x40b34e=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x193c53=defaultSettings$1['retryNetworkErrorMaxTimes'],metadata:_0x59e6fd}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x4f6ce1,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x218a00,'integration':_0x3bcac9,'userAgent':_0x59f3b0})},'data':buildFormData$1({'filename':_0x404642,'size':_0x24d350,'content_type':_0x27e4ce||defaultContentType$1,'part_size':_0x1ab1ac,'UPLOADCARE_STORE':getStoreValue$1(_0x254dc0),'UPLOADCARE_PUB_KEY':_0x218a00,'signature':_0x55b7fa,'expire':_0x3b8406,'source':_0xefd45e,'metadata':_0x59e6fd}),'signal':_0x4060cf})['then'](({data:_0x50f89c,headers:_0x1d5a7c,request:_0x34616e})=>{const _0x14e41a=_0x246bc3(JSON['parse'](_0x50f89c));if('error'in _0x14e41a)throw new _0x3ebe8c(_0x14e41a['error']['content'],_0x14e41a['error']['errorCode'],_0x34616e,_0x14e41a,_0x1d5a7c);return _0x14e41a['parts']=Object['keys'](_0x14e41a['parts'])['map'](_0x18331a=>_0x14e41a['parts'][Number(_0x18331a)]),_0x14e41a;}),{'retryThrottledRequestMaxTimes':_0x40b34e,'retryNetworkErrorMaxTimes':_0x193c53});}function multipartUpload$1(_0x52913f,_0x277ff4,{contentType:_0x306202,signal:_0x54c0cc,onProgress:_0xd2d3ac,retryThrottledRequestMaxTimes:_0x130a58=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x318e6d=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'PUT','url':_0x277ff4,'data':_0x52913f,'onProgress':_0xd2d3ac,'signal':_0x54c0cc,'headers':{'Content-Type':_0x306202||defaultContentType$1}})['then'](_0x271901=>(_0xd2d3ac&&_0xd2d3ac({'isComputable':!0x0,'value':0x1}),_0x271901))['then'](({status:_0x309d99})=>({'code':_0x309d99})),{'retryThrottledRequestMaxTimes':_0x130a58,'retryNetworkErrorMaxTimes':_0x318e6d});}function multipartComplete$1(_0x5e4373,{publicKey:_0x33a990,baseURL:_0x385020=defaultSettings$1['baseURL'],source:_0x5e2509='local',signal:_0x184613,integration:_0x54d958,userAgent:_0x322cf3,retryThrottledRequestMaxTimes:_0x779d96=defaultSettings$1['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x18b7d8=defaultSettings$1['retryNetworkErrorMaxTimes']}){return retryIfFailed$1(()=>request$1({'method':'POST','url':getUrl$1(_0x385020,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent$2({'publicKey':_0x33a990,'integration':_0x54d958,'userAgent':_0x322cf3})},'data':buildFormData$1({'uuid':_0x5e4373,'UPLOADCARE_PUB_KEY':_0x33a990,'source':_0x5e2509}),'signal':_0x184613})['then'](({data:_0x48c7d1,headers:_0x3c6a6e,request:_0x5c0ccc})=>{const _0x937f62=_0x246bc3(JSON['parse'](_0x48c7d1));if('error'in _0x937f62)throw new _0x3ebe8c(_0x937f62['error']['content'],_0x937f62['error']['errorCode'],_0x5c0ccc,_0x937f62,_0x3c6a6e);return _0x937f62;}),{'retryThrottledRequestMaxTimes':_0x779d96,'retryNetworkErrorMaxTimes':_0x18b7d8});}function _0x460313(_0xa4ca76,{publicKey:_0x11b8fd,baseURL:_0x1242f8,source:_0x442308,integration:_0x47f933,userAgent:_0x58770c,retryThrottledRequestMaxTimes:_0x3bf306,retryNetworkErrorMaxTimes:_0x2ade98,signal:_0x21839c,onProgress:_0x5c893c}){return _0x184e8c({'check':_0xdf47c0=>_0x311a65(_0xa4ca76,{'publicKey':_0x11b8fd,'baseURL':_0x1242f8,'signal':_0xdf47c0,'source':_0x442308,'integration':_0x47f933,'userAgent':_0x58770c,'retryThrottledRequestMaxTimes':_0x3bf306,'retryNetworkErrorMaxTimes':_0x2ade98})['then'](_0x3db6f2=>_0x3db6f2['isReady']?_0x3db6f2:(_0x5c893c&&_0x5c893c({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x21839c});}function _0x374c8d(_0x123b53){return'defaultEffects'in _0x123b53;}let _0x26be79=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x62e081,{baseCDN:_0x1bedfc=defaultSettings$1['baseCDN'],fileName:_0xeb4fa4}={}){const {uuid:_0x2b704e,s3Bucket:_0x8f4122}=_0x62e081,_0x408126=getUrl$1(_0x1bedfc,_0x2b704e+'/'),_0x1ab1f3=_0x8f4122?getUrl$1('https://'+_0x8f4122+'.s3.amazonaws.com/',_0x2b704e+'/'+_0x62e081['filename']):null;this['uuid']=_0x2b704e,this['name']=_0xeb4fa4||_0x62e081['filename'],this['size']=_0x62e081['size'],this['isStored']=_0x62e081['isStored'],this['isImage']=_0x62e081['isImage'],this['mimeType']=_0x62e081['mimeType'],this['cdnUrl']=_0x408126,this['originalFilename']=_0x62e081['originalFilename'],this['imageInfo']=_0x62e081['imageInfo'],this['videoInfo']=_0x62e081['videoInfo'],this['contentInfo']=_0x62e081['contentInfo'],this['metadata']=_0x62e081['metadata']||null,this['s3Bucket']=_0x8f4122||null,this['s3Url']=_0x1ab1f3,_0x374c8d(_0x62e081)&&(this['defaultEffects']=_0x62e081['defaultEffects']);}};const uploadDirect$1=(_0x1931f6,{publicKey:_0x5e8df1,fileName:_0xb3dbce,baseURL:_0x49413a,secureSignature:_0x452648,secureExpire:_0x345c27,store:_0x4235e9,contentType:_0xadc3c9,signal:_0x292c3f,onProgress:_0x36c4a2,source:_0x1dcc5b,integration:_0x576881,userAgent:_0x334402,retryThrottledRequestMaxTimes:_0x1a2351,retryNetworkErrorMaxTimes:_0x567186,baseCDN:_0x33956d,metadata:_0x3f66ef})=>_0x3ff41f(_0x1931f6,{'publicKey':_0x5e8df1,'fileName':_0xb3dbce,'contentType':_0xadc3c9,'baseURL':_0x49413a,'secureSignature':_0x452648,'secureExpire':_0x345c27,'store':_0x4235e9,'signal':_0x292c3f,'onProgress':_0x36c4a2,'source':_0x1dcc5b,'integration':_0x576881,'userAgent':_0x334402,'retryThrottledRequestMaxTimes':_0x1a2351,'retryNetworkErrorMaxTimes':_0x567186,'metadata':_0x3f66ef})['then'](({file:_0x29946f})=>_0x460313(_0x29946f,{'publicKey':_0x5e8df1,'baseURL':_0x49413a,'source':_0x1dcc5b,'integration':_0x576881,'userAgent':_0x334402,'retryThrottledRequestMaxTimes':_0x1a2351,'retryNetworkErrorMaxTimes':_0x567186,'onProgress':_0x36c4a2,'signal':_0x292c3f}))['then'](_0x90cf1e=>new _0x26be79(_0x90cf1e,{'baseCDN':_0x33956d})),_0x3fec76=(_0x5d866b,{publicKey:_0x4c9ea3,fileName:_0x459540,baseURL:_0xc1ea92,signal:_0x2cb70a,onProgress:_0x4fdc29,source:_0x1f8005,integration:_0x20ac9a,userAgent:_0x39f2c3,retryThrottledRequestMaxTimes:_0xe853ba,retryNetworkErrorMaxTimes:_0x1eb202,baseCDN:_0x51b447})=>_0x311a65(_0x5d866b,{'publicKey':_0x4c9ea3,'baseURL':_0xc1ea92,'signal':_0x2cb70a,'source':_0x1f8005,'integration':_0x20ac9a,'userAgent':_0x39f2c3,'retryThrottledRequestMaxTimes':_0xe853ba,'retryNetworkErrorMaxTimes':_0x1eb202})['then'](_0x313d72=>new _0x26be79(_0x313d72,{'baseCDN':_0x51b447,'fileName':_0x459540}))['then'](_0x2ecee8=>(_0x4fdc29&&_0x4fdc29({'isComputable':!0x0,'value':0x1}),_0x2ecee8)),_0x3fc137=(_0x494446,{signal:_0x4b7b9f}={})=>{let _0x1aa136=null,_0x1dc2bd=null;const _0x5c3f7b=_0x494446['map'](()=>new AbortController());return _0x2bd591(_0x4b7b9f,()=>{_0x5c3f7b['forEach'](_0x5c4322=>_0x5c4322['abort']());}),Promise['all'](_0x494446['map']((_0x495871,_0x112388)=>{const _0x48d5c5=(_0x4b6d83=>()=>{_0x1dc2bd=_0x4b6d83,_0x5c3f7b['forEach']((_0x5b3efc,_0x4c6b06)=>_0x4c6b06!==_0x4b6d83&&_0x5b3efc['abort']());})(_0x112388);return Promise['resolve']()['then'](()=>_0x495871({'stopRace':_0x48d5c5,'signal':_0x5c3f7b[_0x112388]['signal']}))['then'](_0x5f2fea=>(_0x48d5c5(),_0x5f2fea))['catch'](_0x24bec0=>(_0x1aa136=_0x24bec0,null));}))['then'](_0x26af83=>{if(null===_0x1dc2bd)throw _0x1aa136;return _0x26af83[_0x1dc2bd];});};var WebSocket$2=window['WebSocket'];let Events$1=class{['events']=Object['create']({});['emit'](_0x11fae8,_0x2f495b){this['events'][_0x11fae8]?.['forEach'](_0x8a484f=>_0x8a484f(_0x2f495b));}['on'](_0xa4868e,_0x58d508){this['events'][_0xa4868e]=this['events'][_0xa4868e]||[],this['events'][_0xa4868e]['push'](_0x58d508);}['off'](_0xeb3e64,_0x5efc2d){this['events'][_0xeb3e64]=_0x5efc2d?this['events'][_0xeb3e64]['filter'](_0x29e8a2=>_0x29e8a2!==_0x5efc2d):[];}};const _0x291383=(_0x4a9424,_0x286891)=>'success'===_0x4a9424?{'status':Status$1['Success'],..._0x286891}:'progress'===_0x4a9424?{'status':Status$1['Progress'],..._0x286891}:{'status':Status$1['Error'],..._0x286891};let _0x20646c=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events$1();['disconnectTimeoutId']=null;constructor(_0x16c63d,_0x3c8c1c=0x7530){this['key']=_0x16c63d,this['disconnectTime']=_0x3c8c1c;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x14ed33='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket$2(_0x14ed33),this['ws']['addEventListener']('error',_0x4a5f81=>{this['emmitter']['emit']('error',new Error(_0x4a5f81['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x1240ae=>this['send'](_0x1240ae['event'],_0x1240ae['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x4022bd=>{const _0x562d67=JSON['parse'](_0x4022bd['data']['toString']());switch(_0x562d67['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'](_0x562d67['channel'],_0x291383(_0x562d67['event'],JSON['parse'](_0x562d67['data'])));}});}}['disconnect'](){const _0x380a92=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x380a92();},this['disconnectTime']):_0x380a92();}['send'](_0x5479bb,_0x27a986){const _0x190241=JSON['stringify']({'event':_0x5479bb,'data':_0x27a986});this['ws']?.['send'](_0x190241);}['subscribe'](_0x1d76fe,_0x50dbe5){this['subscribers']+=0x1,this['connect']();const _0x5d8f0f='task-status-'+_0x1d76fe,_0x31a391={'event':'pusher:subscribe','data':{'channel':_0x5d8f0f}};this['emmitter']['on'](_0x5d8f0f,_0x50dbe5),this['isConnected']?this['send'](_0x31a391['event'],_0x31a391['data']):this['queue']['push'](_0x31a391);}['unsubscribe'](_0x2a325b){this['subscribers']-=0x1;const _0x49e443='task-status-'+_0x2a325b,_0x15ba1a={'event':'pusher:unsubscribe','data':{'channel':_0x49e443}};this['emmitter']['off'](_0x49e443),this['isConnected']?this['send'](_0x15ba1a['event'],_0x15ba1a['data']):this['queue']=this['queue']['filter'](_0x379b71=>_0x379b71['data']['channel']!==_0x49e443),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x574ae6){return this['emmitter']['on']('error',_0x574ae6),()=>this['emmitter']['off']('error',_0x574ae6);}},_0x3794f8=null;const getPusher$1=_0x248314=>{if(!_0x3794f8){const _0x1f91d9='undefined'==typeof window?0x0:0x7530;_0x3794f8=new _0x20646c(_0x248314,_0x1f91d9);}return _0x3794f8;},preconnect$1=_0x40d31a=>{getPusher$1(_0x40d31a)['connect']();};function pollStrategy$1({token:_0x9bf729,publicKey:_0x58145d,baseURL:_0x53bf6f,integration:_0x2d28f2,userAgent:_0x2bc890,retryThrottledRequestMaxTimes:_0x323742,retryNetworkErrorMaxTimes:_0xbc02ce,onProgress:_0x525dad,signal:_0x191d4b}){return _0x184e8c({'check':_0x89249b=>fromUrlStatus$1(_0x9bf729,{'publicKey':_0x58145d,'baseURL':_0x53bf6f,'integration':_0x2d28f2,'userAgent':_0x2bc890,'retryThrottledRequestMaxTimes':_0x323742,'retryNetworkErrorMaxTimes':_0xbc02ce,'signal':_0x89249b})['then'](_0xc960b8=>{switch(_0xc960b8['status']){case Status$1['Error']:return new _0x3ebe8c(_0xc960b8['error'],_0xc960b8['errorCode']);case Status$1['Waiting']:return!0x1;case Status$1['Unknown']:return new _0x3ebe8c('Token\x20\x22'+_0x9bf729+'\x22\x20was\x20not\x20found.');case Status$1['Progress']:return _0x525dad&&('unknown'===_0xc960b8['total']?_0x525dad({'isComputable':!0x1}):_0x525dad({'isComputable':!0x0,'value':_0xc960b8['done']/_0xc960b8['total']})),!0x1;case Status$1['Success']:return _0x525dad&&_0x525dad({'isComputable':!0x0,'value':_0xc960b8['done']/_0xc960b8['total']}),_0xc960b8;default:throw new Error('Unknown\x20status');}}),'signal':_0x191d4b});}const pushStrategy$1=({token:_0x2762e2,pusherKey:_0x32a9f3,signal:_0x4b2f5e,onProgress:_0x16a593})=>new Promise((_0x4d254c,_0x3ebb58)=>{const _0x5ba558=getPusher$1(_0x32a9f3),_0x3ef128=_0x5ba558['onError'](_0x3ebb58),_0x2e1d7f=()=>{_0x3ef128(),_0x5ba558['unsubscribe'](_0x2762e2);};_0x2bd591(_0x4b2f5e,()=>{_0x2e1d7f(),_0x3ebb58(new _0x8bd2db('pusher\x20cancelled'));}),_0x5ba558['subscribe'](_0x2762e2,_0x4e486c=>{switch(_0x4e486c['status']){case Status$1['Progress']:_0x16a593&&('unknown'===_0x4e486c['total']?_0x16a593({'isComputable':!0x1}):_0x16a593({'isComputable':!0x0,'value':_0x4e486c['done']/_0x4e486c['total']}));break;case Status$1['Success']:_0x2e1d7f(),_0x16a593&&_0x16a593({'isComputable':!0x0,'value':_0x4e486c['done']/_0x4e486c['total']}),_0x4d254c(_0x4e486c);break;case Status$1['Error']:_0x2e1d7f(),_0x3ebb58(new _0x3ebe8c(_0x4e486c['msg'],_0x4e486c['error_code']));}});}),_0x7260b6=(_0xd35083,{publicKey:_0x373550,fileName:_0x487a10,baseURL:_0xda9d9f,baseCDN:_0x3d5cb6,checkForUrlDuplicates:_0x12cd6f,saveUrlForRecurrentUploads:_0x549361,secureSignature:_0x5b8abe,secureExpire:_0x2a6133,store:_0x4f5fde,signal:_0x12e26e,onProgress:_0x3f25a4,source:_0x49761d,integration:_0x3628f7,userAgent:_0x5d0ae3,retryThrottledRequestMaxTimes:_0x5cc04f,pusherKey:_0x3f2dd3=defaultSettings$1['pusherKey'],metadata:_0x55bd9f})=>Promise['resolve'](preconnect$1(_0x3f2dd3))['then'](()=>_0x362d24(_0xd35083,{'publicKey':_0x373550,'fileName':_0x487a10,'baseURL':_0xda9d9f,'checkForUrlDuplicates':_0x12cd6f,'saveUrlForRecurrentUploads':_0x549361,'secureSignature':_0x5b8abe,'secureExpire':_0x2a6133,'store':_0x4f5fde,'signal':_0x12e26e,'source':_0x49761d,'integration':_0x3628f7,'userAgent':_0x5d0ae3,'retryThrottledRequestMaxTimes':_0x5cc04f,'metadata':_0x55bd9f}))['catch'](_0x546383=>{const _0x2ea7e3=getPusher$1(_0x3f2dd3);return _0x2ea7e3?.['disconnect'](),Promise['reject'](_0x546383);})['then'](_0x5402f3=>_0x5402f3['type']===_0x3ba225['FileInfo']?_0x5402f3:_0x3fc137([({signal:_0x3b506a})=>pollStrategy$1({'token':_0x5402f3['token'],'publicKey':_0x373550,'baseURL':_0xda9d9f,'integration':_0x3628f7,'userAgent':_0x5d0ae3,'retryThrottledRequestMaxTimes':_0x5cc04f,'onProgress':_0x3f25a4,'signal':_0x3b506a}),({signal:_0x53da51})=>pushStrategy$1({'token':_0x5402f3['token'],'pusherKey':_0x3f2dd3,'signal':_0x53da51,'onProgress':_0x3f25a4})],{'signal':_0x12e26e}))['then'](_0x3a6e2a=>{if(_0x3a6e2a instanceof _0x3ebe8c)throw _0x3a6e2a;return _0x3a6e2a;})['then'](_0x35b62b=>_0x460313(_0x35b62b['uuid'],{'publicKey':_0x373550,'baseURL':_0xda9d9f,'integration':_0x3628f7,'userAgent':_0x5d0ae3,'retryThrottledRequestMaxTimes':_0x5cc04f,'onProgress':_0x3f25a4,'signal':_0x12e26e}))['then'](_0x53b0e0=>new _0x26be79(_0x53b0e0,{'baseCDN':_0x3d5cb6})),_0x271ffa=new WeakMap(),getBlobFromReactNativeAsset$1=async _0x49548d=>{if(_0x271ffa['has'](_0x49548d))return _0x271ffa['get'](_0x49548d);const _0x36c1ec=await fetch(_0x49548d['uri'])['then'](_0x10f01e=>_0x10f01e['blob']());return _0x271ffa['set'](_0x49548d,_0x36c1ec),_0x36c1ec;},getFileSize$1=async _0x3d37ba=>{if(_0x2e9525(_0x3d37ba)||_0x201ad7(_0x3d37ba))return _0x3d37ba['size'];if(isReactNativeAsset$1(_0x3d37ba))return(await getBlobFromReactNativeAsset$1(_0x3d37ba))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart$1=(_0x24e74c,_0x4e9c88=defaultSettings$1['multipartMinFileSize'])=>_0x24e74c>=_0x4e9c88,_0x9257c9=_0x382f49=>{const _0x57e40e=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData$1(_0x382f49)&&_0x57e40e['test'](_0x382f49);},_0x2550d3=_0x7fe5b8=>{const _0x1e80bf=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData$1(_0x7fe5b8)&&_0x1e80bf['test'](_0x7fe5b8);},runWithConcurrency$1=(_0x423756,_0x3e033e)=>new Promise((_0x1d9dd5,_0x799241)=>{const _0x4b462c=[];let _0x161fc5=!0x1,_0x38a461=_0x3e033e['length'];const _0x2983af=[..._0x3e033e],_0xb5c6d3=()=>{const _0xadd82b=_0x3e033e['length']-_0x2983af['length'],_0xde0ee8=_0x2983af['shift']();_0xde0ee8&&_0xde0ee8()['then'](_0x503933=>{_0x161fc5||(_0x4b462c[_0xadd82b]=_0x503933,_0x38a461-=0x1,_0x38a461?_0xb5c6d3():_0x1d9dd5(_0x4b462c));})['catch'](_0x340fa5=>{_0x161fc5=!0x0,_0x799241(_0x340fa5);});};for(let _0x605605=0x0;_0x605605<_0x423756;_0x605605++)_0xb5c6d3();}),_0x58ab72=(_0x35e093,_0xe40061,_0x488d24,_0x50a5a3)=>{const _0x5bdc94=_0x50a5a3*_0xe40061,_0x11c77a=Math['min'](_0x5bdc94+_0x50a5a3,_0x488d24);return _0x35e093['slice'](_0x5bdc94,_0x11c77a);},_0x54072f=async(_0x36323d,_0x453a36,_0x33a1a2)=>_0x185702=>_0x58ab72(_0x36323d,_0x185702,_0x453a36,_0x33a1a2),uploadPart$1=(_0xa9442,_0x204592,{publicKey:_0xcceacb,contentType:_0x376076,onProgress:_0x3b1b1a,signal:_0x4b7caa,integration:_0x36e342,retryThrottledRequestMaxTimes:_0x406039,retryNetworkErrorMaxTimes:_0x3bbc63})=>multipartUpload$1(_0xa9442,_0x204592,{'contentType':_0x376076,'onProgress':_0x3b1b1a,'signal':_0x4b7caa,'retryThrottledRequestMaxTimes':_0x406039,'retryNetworkErrorMaxTimes':_0x3bbc63}),uploadMultipart$1=async(_0x32d057,{publicKey:_0x415a2d,fileName:_0xe09063,fileSize:_0x44c103,baseURL:_0x9314f,secureSignature:_0x2677ae,secureExpire:_0x4deab5,store:_0x407261,signal:_0xeb5f0a,onProgress:_0x37d94c,source:_0x46a073,integration:_0x4b0f16,userAgent:_0x20a7a6,retryThrottledRequestMaxTimes:_0x4f01b0,retryNetworkErrorMaxTimes:_0x5623f8,contentType:_0x58af40,multipartChunkSize:_0x3c2069=defaultSettings$1['multipartChunkSize'],maxConcurrentRequests:_0x1cd72f=defaultSettings$1['maxConcurrentRequests'],baseCDN:_0x4a0a92,metadata:_0x31af4c})=>{const _0x293843=_0x44c103??await getFileSize$1(_0x32d057);let _0x2b0917;const _0x238220=(_0x33e141,_0x3f9c90)=>{if(!_0x37d94c)return;_0x2b0917||(_0x2b0917=Array(_0x33e141)['fill'](0x0));const _0x1137ab=_0x14e7f2=>_0x14e7f2['reduce']((_0x18d146,_0x6782e0)=>_0x18d146+_0x6782e0,0x0);return _0x10f0ad=>{_0x10f0ad['isComputable']&&(_0x2b0917[_0x3f9c90]=_0x10f0ad['value'],_0x37d94c({'isComputable':!0x0,'value':_0x1137ab(_0x2b0917)/_0x33e141}));};};return _0x58af40||=getContentType$1(_0x32d057),multipartStart$1(_0x293843,{'publicKey':_0x415a2d,'contentType':_0x58af40,'fileName':_0xe09063||getFileName$1(_0x32d057),'baseURL':_0x9314f,'secureSignature':_0x2677ae,'secureExpire':_0x4deab5,'store':_0x407261,'signal':_0xeb5f0a,'source':_0x46a073,'integration':_0x4b0f16,'userAgent':_0x20a7a6,'retryThrottledRequestMaxTimes':_0x4f01b0,'retryNetworkErrorMaxTimes':_0x5623f8,'metadata':_0x31af4c,'multipartChunkSize':_0x3c2069})['then'](async({uuid:_0x51eda9,parts:_0x5976b6})=>{const _0x514cb1=await _0x54072f(_0x32d057,_0x293843,_0x3c2069);return Promise['all']([_0x51eda9,runWithConcurrency$1(_0x1cd72f,_0x5976b6['map']((_0x5834e4,_0x2a5335)=>()=>uploadPart$1(_0x514cb1(_0x2a5335),_0x5834e4,{'publicKey':_0x415a2d,'contentType':_0x58af40,'onProgress':_0x238220(_0x5976b6['length'],_0x2a5335),'signal':_0xeb5f0a,'integration':_0x4b0f16,'retryThrottledRequestMaxTimes':_0x4f01b0,'retryNetworkErrorMaxTimes':_0x5623f8})))]);})['then'](([_0x360d6d])=>multipartComplete$1(_0x360d6d,{'publicKey':_0x415a2d,'baseURL':_0x9314f,'source':_0x46a073,'integration':_0x4b0f16,'userAgent':_0x20a7a6,'retryThrottledRequestMaxTimes':_0x4f01b0,'retryNetworkErrorMaxTimes':_0x5623f8}))['then'](_0x375572=>_0x375572['isReady']?_0x375572:_0x460313(_0x375572['uuid'],{'publicKey':_0x415a2d,'baseURL':_0x9314f,'source':_0x46a073,'integration':_0x4b0f16,'userAgent':_0x20a7a6,'retryThrottledRequestMaxTimes':_0x4f01b0,'retryNetworkErrorMaxTimes':_0x5623f8,'onProgress':_0x37d94c,'signal':_0xeb5f0a}))['then'](_0x5e6e5b=>new _0x26be79(_0x5e6e5b,{'baseCDN':_0x4a0a92}));};async function _0x199884(_0x2e8aa8,{publicKey:_0x2e2949,fileName:_0x2ebc54,baseURL:_0xb92c99=defaultSettings$1['baseURL'],secureSignature:_0x31fd9a,secureExpire:_0x4eb233,store:_0x2cf9c5,signal:_0x3459d0,onProgress:_0x194bfd,source:_0x4b81fc,integration:_0x4f5c59,userAgent:_0x423a60,retryThrottledRequestMaxTimes:_0x25c57d,retryNetworkErrorMaxTimes:_0x3a3a38,contentType:_0x3408bd,multipartMinFileSize:_0x397d41,multipartChunkSize:_0x3b99fb,maxConcurrentRequests:_0x3de4cc,baseCDN:_0x15754d=defaultSettings$1['baseCDN'],checkForUrlDuplicates:_0x379821,saveUrlForRecurrentUploads:_0x393680,pusherKey:_0x15f61f,metadata:_0x5f3409}){if(isFileData$1(_0x2e8aa8)){const _0x533ae3=await getFileSize$1(_0x2e8aa8);return isMultipart$1(_0x533ae3,_0x397d41)?uploadMultipart$1(_0x2e8aa8,{'publicKey':_0x2e2949,'contentType':_0x3408bd,'multipartChunkSize':_0x3b99fb,'fileSize':_0x533ae3,'fileName':_0x2ebc54,'baseURL':_0xb92c99,'secureSignature':_0x31fd9a,'secureExpire':_0x4eb233,'store':_0x2cf9c5,'signal':_0x3459d0,'onProgress':_0x194bfd,'source':_0x4b81fc,'integration':_0x4f5c59,'userAgent':_0x423a60,'maxConcurrentRequests':_0x3de4cc,'retryThrottledRequestMaxTimes':_0x25c57d,'retryNetworkErrorMaxTimes':_0x3a3a38,'baseCDN':_0x15754d,'metadata':_0x5f3409}):uploadDirect$1(_0x2e8aa8,{'publicKey':_0x2e2949,'fileName':_0x2ebc54,'contentType':_0x3408bd,'baseURL':_0xb92c99,'secureSignature':_0x31fd9a,'secureExpire':_0x4eb233,'store':_0x2cf9c5,'signal':_0x3459d0,'onProgress':_0x194bfd,'source':_0x4b81fc,'integration':_0x4f5c59,'userAgent':_0x423a60,'retryThrottledRequestMaxTimes':_0x25c57d,'retryNetworkErrorMaxTimes':_0x3a3a38,'baseCDN':_0x15754d,'metadata':_0x5f3409});}if(_0x2550d3(_0x2e8aa8))return _0x7260b6(_0x2e8aa8,{'publicKey':_0x2e2949,'fileName':_0x2ebc54,'baseURL':_0xb92c99,'baseCDN':_0x15754d,'checkForUrlDuplicates':_0x379821,'saveUrlForRecurrentUploads':_0x393680,'secureSignature':_0x31fd9a,'secureExpire':_0x4eb233,'store':_0x2cf9c5,'signal':_0x3459d0,'onProgress':_0x194bfd,'source':_0x4b81fc,'integration':_0x4f5c59,'userAgent':_0x423a60,'retryThrottledRequestMaxTimes':_0x25c57d,'pusherKey':_0x15f61f,'metadata':_0x5f3409});if(_0x9257c9(_0x2e8aa8))return _0x3fec76(_0x2e8aa8,{'publicKey':_0x2e2949,'fileName':_0x2ebc54,'baseURL':_0xb92c99,'signal':_0x3459d0,'onProgress':_0x194bfd,'source':_0x4b81fc,'integration':_0x4f5c59,'userAgent':_0x423a60,'retryThrottledRequestMaxTimes':_0x25c57d,'retryNetworkErrorMaxTimes':_0x3a3a38,'baseCDN':_0x15754d});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x2e8aa8+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x3b5559,..._0x19f22e}){return _0x199884(_0x3b5559,_0x19f22e);}static['getInfo'](_0x8d6a45,_0xbf50b6){return _0x311a65(_0x8d6a45,_0xbf50b6);}}class UploadcareUploadAdapter extends ckeditor5['Plugin']{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',ckeditor5['FileRepository'],UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x20f2a8=this['editor'];if(!!!_0x20f2a8['config']['get']('uploadcare'))return;_0x20f2a8['plugins']['get'](ckeditor5['FileRepository'])['createUploadAdapter']=_0x39edd8=>new Adapter(_0x39edd8,_0x20f2a8),_0x20f2a8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3b973f,{imageElement:_0x5b6998,data:_0x1737b3})=>{_0x20f2a8['model']['change'](_0x309205=>{_0x309205['setAttribute']('uploadcareImageId',_0x1737b3['uploadcareImageId'],_0x5b6998);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x10e944,_0x523aab){this['loader']=_0x10e944,this['editor']=_0x523aab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x595904=await this['loader']['file'];return UploadUtils['upload']({'file':_0x595904,'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':_0x556fa2=>{_0x556fa2&&_0x556fa2['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x556fa2['value']);}})['then'](async _0x4b2878=>{const {imageFallbackUrl:_0x4ddda3,imageSources:_0x5b1abf}=getImageUrls(_0x4b2878['cdnUrl'],_0x4b2878['imageInfo']['width']);return{'uploadcareImageId':_0x4b2878['uuid'],'default':_0x4ddda3,'sources':_0x5b1abf};})['catch'](()=>{const _0x571371=t('Cannot\x20upload\x20file:')+('\x20'+_0x595904['name']+'.');return Promise['reject'](_0x571371);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends ckeditor5['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',UploadcareUploadAdapter,ckeditor5['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3381c5){super(_0x3381c5),this['ucContextId']=ckeditor5['uid']();}['init'](){const _0x24e4b0=this['editor'];_0x24e4b0['commands']['add']('uploadcare',new _0x23737a(_0x24e4b0));}['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 _0x483436=ckeditor5['global']['document']['querySelector']('input[uploadcare-file-input]');_0x483436&&_0x483436['remove']();}),_0x51c163(this);}['_initSchema'](){const _0x5716bb=this['editor']['model']['schema'];_0x5716bb['isRegistered']('imageBlock')&&_0x5716bb['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5716bb['isRegistered']('imageInline')&&_0x5716bb['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1860b7=this['editor'];_0x1860b7['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1860b7['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5bbbbc=>_0x5bbbbc['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x522023=_0x1860b7['commands']['get']('replaceImageSource');_0x522023&&this['listenTo'](_0x522023,'cleanupImage',(_0x3951dc,[_0x16482c,_0xdc7af3])=>{_0x16482c['removeAttribute']('uploadcareImageId',_0xdc7af3);});}['_initConfig'](){const _0x8278f4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1470ac=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-config',{..._0x8278f4,'pubkey':_0x1470ac,'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']=_0x3959cc=>{if('closeMax'==_0x3959cc)return'#uc-icon-arrow-down';},ckeditor5['global']['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=ckeditor5['createElement'](ckeditor5['global']['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),ckeditor5['global']['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5ea5f1=this['editor']['commands']['get']('insertImage');_0x5ea5f1&&this['listenTo'](_0x5ea5f1,'execute',()=>{const _0x3793c7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3793c7&&_0x3793c7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x3793c7);});});const _0x52a220=this['editor']['commands']['get']('uploadcareImageReplace');_0x52a220&&this['listenTo'](_0x52a220,'execute',()=>{const _0x53e406=this['editor']['model']['document']['selection']['getSelectedElement']();_0x53e406&&_0x53e406['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{showImageProcessingIndicator(this['editor'],_0x53e406);});});}}async function _0x51c163(_0x53b5d1){const _0x1bb22b=_0x22b143([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x82bde0=window[_0x22b143([0x44,0x61,0x74,0x65])][_0x22b143([0x6e,0x6f,0x77])](),_0x5d07db=_0x53b5d1[_0x22b143([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x164c7f=new window[(_0x22b143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a1b82=>{_0x5d07db[_0x22b143([0x6f,0x6e,0x63,0x65])](_0x22b143([0x72,0x65,0x61,0x64,0x79]),_0x5a1b82);}),_0x5d10ac={[_0x22b143([0x6b,0x74,0x79])]:_0x22b143([0x45,0x43]),[_0x22b143([0x75,0x73,0x65])]:_0x22b143([0x73,0x69,0x67]),[_0x22b143([0x63,0x72,0x76])]:_0x22b143([0x50,0x2d,0x32,0x35,0x36]),[_0x22b143([0x78])]:_0x22b143([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x22b143([0x79])]:_0x22b143([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x22b143([0x61,0x6c,0x67])]:_0x22b143([0x45,0x53,0x32,0x35,0x36])},_0x33cfdf=_0x5d07db[_0x22b143([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22b143([0x67,0x65,0x74])](_0x22b143([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2506a1=await(async function(){let _0x1fee68,_0x4d7597=null,_0x5ce194=null;try{if(_0x33cfdf==_0x22b143([0x47,0x50,0x4c]))return _0x22b143([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fee68=(function(){const _0x2175de=_0x33cfdf[_0x22b143([0x73,0x70,0x6c,0x69,0x74])](_0x22b143([0x2e]));if(0x3!=_0x2175de[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;const _0x27b0bb=_0x2175de[0x1];return _0x2d4757(_0x27b0bb);function _0x2d4757(_0x1201a8){const _0x4cec47=_0x22c3dc(_0x1201a8);return _0x4cec47&&_0x12e510()?_0x4cec47:null;function _0x12e510(){const _0x524d30=_0x4cec47[_0x22b143([0x6a,0x74,0x69])],_0x3a95a9=window[_0x22b143([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x524d30[_0x22b143([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x524d30[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d1b31={..._0x4cec47,[_0x22b143([0x6a,0x74,0x69])]:_0x524d30[_0x22b143([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x524d30[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d1b31[_0x22b143([0x76,0x63])],_0x5a8e83(_0x2d1b31)==_0x3a95a9;}}}()),!_0x1fee68)return _0x22b143([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);_0x1fee68[_0x22b143([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ce194=function(_0x2cd592,_0x7ceb10){return new window[(_0x22b143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x185529=>{if(_0x1b379b())return _0x185529(_0x22b143([0x56,0x61,0x6c,0x69,0x64]));_0x5960c4(),_0x5d07db[_0x22b143([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22b143([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x575c32=!0x1;const _0x1ef4c7=ckeditor5['uid']();function _0x46b75c(_0x120ab4){return!!_0x120ab4&&(typeof _0x120ab4===_0x22b143([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x120ab4===_0x22b143([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x120ab4[_0x22b143([0x74,0x68,0x65,0x6e])]===_0x22b143([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x120ab4[_0x22b143([0x63,0x61,0x74,0x63,0x68])]===_0x22b143([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2da430(_0x8a1a58){_0x1d0270(_0x8a1a58)[_0x22b143([0x74,0x68,0x65,0x6e])](_0x571783=>{if(!_0x571783||_0x571783[_0x22b143([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22b143([0x6f,0x6b]))return _0x22b143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39ffb2(_0x5a8e83(_0x1ef4c7+_0x7ceb10))!=_0x571783[_0x22b143([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22b143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22b143([0x56,0x61,0x6c,0x69,0x64]);})[_0x22b143([0x74,0x68,0x65,0x6e])](_0x500dad=>(_0x533a3d(),_0x500dad),()=>{const _0x20d87a=_0x4a0951();return null==_0x20d87a?(_0x533a3d(),_0x22b143([0x56,0x61,0x6c,0x69,0x64])):_0x22b143(_0x82bde0-_0x20d87a>0x240c8400?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22b143([0x74,0x68,0x65,0x6e])](_0x185529)[_0x22b143([0x63,0x61,0x74,0x63,0x68])](()=>{_0x185529(_0x22b143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x439361=0x36ee80;function _0x533a3d(){const _0x4da887=_0x22b143([0x6c,0x6c,0x63,0x74,0x2d])+_0x39ffb2(_0x5a8e83(_0x2cd592)),_0x31e77c=_0x44b05a(_0x39ffb2(window[_0x22b143([0x4d,0x61,0x74,0x68])][_0x22b143([0x63,0x65,0x69,0x6c])](_0x82bde0/_0x439361)));window[_0x22b143([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22b143([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4da887,_0x31e77c);}function _0x4a0951(){const _0x4d472b=_0x22b143([0x6c,0x6c,0x63,0x74,0x2d])+_0x39ffb2(_0x5a8e83(_0x2cd592)),_0x49b8e0=window[_0x22b143([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22b143([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d472b);return _0x49b8e0?window[_0x22b143([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44b05a(_0x49b8e0),0x10)*_0x439361:null;}function _0x1d0270(_0x318bcd){return new window[(_0x22b143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e6483,_0x2ab152)=>{_0x318bcd[_0x22b143([0x74,0x68,0x65,0x6e])](_0x1e6483,_0x2ab152),window[_0x22b143([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ab152,0x1d4c0);});}}_0x5d07db[_0x22b143([0x6f,0x6e])](_0x22b143([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e4f5c,_0x530964)=>{if(_0x530964[0x0]!=_0x2cd592)return _0x185529(_0x22b143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x530964[0x1]={..._0x530964[0x1],[_0x22b143([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ef4c7};},{[_0x22b143([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22b143([0x68,0x69,0x67,0x68])}),_0x5d07db[_0x22b143([0x6f,0x6e])](_0x22b143([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ea430=>{_0x46b75c(_0x5ea430[_0x22b143([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x575c32=!0x0,_0x2da430(_0x5ea430[_0x22b143([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22b143([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22b143([0x6c,0x6f,0x77])}),_0x164c7f[_0x22b143([0x74,0x68,0x65,0x6e])](()=>{_0x575c32||_0x185529(_0x22b143([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b379b(){return _0x5d07db[_0x22b143([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22b143([0x76,0x69,0x65,0x77])][_0x22b143([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22b143([0x61,0x75,0x74,0x6f]);}function _0x5960c4(){_0x5d07db[_0x22b143([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22b143([0x76,0x69,0x65,0x77])][_0x22b143([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22b143([0x61,0x75,0x74,0x6f]);}}(_0x1fee68[_0x22b143([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fee68[_0x22b143([0x6a,0x74,0x69])]));const _0x29874d=await(async function(){let _0x41ddd2=!0x0;try{const _0x18143f=_0x33cfdf[_0x22b143([0x73,0x70,0x6c,0x69,0x74])](_0x22b143([0x2e])),[_0x29c4e3,_0x54492c,_0x4935eb]=_0x18143f;return _0x2755d7(_0x29c4e3),await _0xe3cbdc(_0x29c4e3,_0x54492c,_0x4935eb),_0x41ddd2;}catch{return!0x1;}function _0x2755d7(_0x38073e){const _0xf7e458=_0x22c3dc(_0x38073e);_0xf7e458&&_0xf7e458[_0x22b143([0x61,0x6c,0x67])]==_0x22b143([0x45,0x53,0x32,0x35,0x36])||(_0x41ddd2=!0x1);}async function _0xe3cbdc(_0x5871e0,_0x23348d,_0x163c51){const _0x94edd7=window[_0x22b143([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22b143([0x66,0x72,0x6f,0x6d])](_0x56e4cf(_0x163c51),_0x1fc1b0=>_0x1fc1b0[_0x22b143([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x336f6c=new window[(_0x22b143([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22b143([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5871e0+_0x22b143([0x2e])+_0x23348d),_0x5c2343=window[_0x22b143([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22b143([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c2343)return;const _0x18c64c=await _0x5c2343[_0x22b143([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22b143([0x6a,0x77,0x6b]),_0x5d10ac,{[_0x22b143([0x6e,0x61,0x6d,0x65])]:_0x22b143([0x45,0x43,0x44,0x53,0x41]),[_0x22b143([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22b143([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22b143([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c2343[_0x22b143([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22b143([0x6e,0x61,0x6d,0x65])]:_0x22b143([0x45,0x43,0x44,0x53,0x41]),[_0x22b143([0x68,0x61,0x73,0x68])]:{[_0x22b143([0x6e,0x61,0x6d,0x65])]:_0x22b143([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18c64c,_0x94edd7,_0x336f6c)||(_0x41ddd2=!0x1);}}());return _0x29874d?(function(){const _0x4f80af=_0x1fee68[_0x22b143([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4f80af)return!0x1;if(_0x4f80af[_0x22b143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22b143([0x2a])))return!0x0;if(_0x4f80af[_0x22b143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22b143([0x55,0x50,0x4c,0x43])))return!0x0;return!0x1;}())?(function(){const _0x10961d=[_0x22b143([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22b143([0x74,0x72,0x69,0x61,0x6c])][_0x22b143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fee68[_0x22b143([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x82bde0/0x3e8:0x69b0b080;return _0x1fee68[_0x22b143([0x65,0x78,0x70])]<_0x10961d;}())?_0x22b143([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):(function(){const _0x5d8bde=_0x1fee68[_0x22b143([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d8bde||0x0==_0x5d8bde[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x170bfa}=new URL(window[_0x22b143([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5d8bde[_0x22b143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x170bfa))return!0x0;const _0x8979b2=_0x170bfa[_0x22b143([0x73,0x70,0x6c,0x69,0x74])](_0x22b143([0x2e]));return _0x5d8bde[_0x22b143([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c8537=>_0x4c8537[_0x22b143([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22b143([0x2a])))[_0x22b143([0x6d,0x61,0x70])](_0x5b35b4=>_0x5b35b4[_0x22b143([0x73,0x70,0x6c,0x69,0x74])](_0x22b143([0x2e])))[_0x22b143([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1425cf=>_0x1425cf[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8979b2[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22b143([0x6d,0x61,0x70])](_0x4bc20c=>Array(_0x8979b2[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4bc20c[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22b143([0x66,0x69,0x6c,0x6c])](_0x4bc20c[0x0]===_0x22b143([0x2a])?_0x22b143([0x2a]):'')[_0x22b143([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4bc20c))[_0x22b143([0x73,0x6f,0x6d,0x65])](_0x885d3b=>_0x8979b2[_0x22b143([0x65,0x76,0x65,0x72,0x79])]((_0x3a0045,_0x5ab28a)=>_0x885d3b[_0x5ab28a]===_0x3a0045||_0x885d3b[_0x5ab28a]===_0x22b143([0x2a])));}())?(_0x1fee68[_0x22b143([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22b143([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d7597=function(_0x50ce31){const _0x841f06=new window[(_0x22b143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x275638=>setTimeout(_0x275638,0x93ecc)),_0x96a6dd=_0x164c7f[_0x22b143([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22b143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x198172=>{let _0x1d86b8=0x0;_0x5d07db[_0x22b143([0x6d,0x6f,0x64,0x65,0x6c])][_0x22b143([0x6f,0x6e])](_0x22b143([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a76f8,_0x14556d)=>{_0x14556d[0x0][_0x22b143([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d86b8++,0x5e8==_0x1d86b8&&(_0x198172(),_0x1a76f8[_0x22b143([0x6f,0x66,0x66])]());});})),_0x535813=[_0x841f06,_0x96a6dd];return window[_0x22b143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22b143([0x72,0x61,0x63,0x65])](_0x535813)[_0x22b143([0x74,0x68,0x65,0x6e])](()=>_0x50ce31);}(_0x22b143([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await(function(){if(_0x4d7597&&_0x5ce194)return new window[(_0x22b143([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c592d,_0x1315b1)=>{_0x4d7597[_0x22b143([0x74,0x68,0x65,0x6e])](_0x4c592d,_0x1315b1),_0x5ce194[_0x22b143([0x74,0x68,0x65,0x6e])](_0xa02f11=>{_0xa02f11!=_0x22b143([0x56,0x61,0x6c,0x69,0x64])&&_0x4c592d(_0xa02f11);},_0x1315b1);});return _0x4d7597||_0x5ce194||_0x22b143([0x56,0x61,0x6c,0x69,0x64]);}())):_0x22b143([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22b143([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22b143([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x22b143([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}}());function _0x22c3dc(_0x51b343){return _0x51b343[_0x22b143([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22b143([0x65,0x79]))?JSON[_0x22b143([0x70,0x61,0x72,0x73,0x65])](_0x56e4cf(_0x51b343)):null;}function _0x56e4cf(_0x4d3ac7){return window[_0x22b143([0x61,0x74,0x6f,0x62])](_0x4d3ac7[_0x22b143([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22b143([0x2b]))[_0x22b143([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22b143([0x2f])));}function _0x5a8e83(_0x4f014a){let _0x50ef3a=0x1505;function _0x54ba4d(_0x2382b6){for(let _0x2816fe=0x0;_0x2816fe<_0x2382b6[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2816fe++){const _0x299b17=_0x2382b6[_0x22b143([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2816fe);_0x50ef3a=(_0x50ef3a<<0x5)+_0x50ef3a+_0x299b17,_0x50ef3a&=_0x50ef3a;}}return function _0x309d42(_0x3707bc){Array[_0x22b143([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3707bc)?_0x3707bc[_0x22b143([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x309d42):_0x3707bc&&typeof _0x3707bc==_0x22b143([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22b143([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3707bc)[_0x22b143([0x73,0x6f,0x72,0x74])]()[_0x22b143([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31aac2,_0xee582e])=>{_0x54ba4d(_0x31aac2),_0x309d42(_0xee582e);}):_0x54ba4d(window[_0x22b143([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3707bc));}(_0x4f014a),_0x50ef3a>>>0x0;}function _0x39ffb2(_0x16a0a2){return _0x16a0a2[_0x22b143([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22b143([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22b143([0x30]));}function _0x44b05a(_0x7990ae){return _0x7990ae[_0x22b143([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22b143([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22b143([0x6a,0x6f,0x69,0x6e])]('');}function _0x270ddd(){}function _0x22b143(_0x210c0f){return _0x210c0f['map'](_0x3fa866=>String['fromCharCode'](_0x3fa866))['join']('');}!function(_0x126337){const _0x4663a6=(function(){const _0x5a6e7b=window[_0x22b143([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22b143([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22b143([0x6e,0x6f,0x77])]())[_0x22b143([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22b143([0x2e]),'');let _0x37555b=_0x22b143([0x68]);for(let _0x4bea43=0x0;_0x4bea43<_0x5a6e7b[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bea43+=0x2){let _0x2431fe=window[_0x22b143([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a6e7b[_0x22b143([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bea43,_0x4bea43+0x2));_0x2431fe>=_0x1bb22b[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2431fe-=_0x1bb22b[_0x22b143([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37555b+=_0x1bb22b[_0x2431fe];}return _0x37555b;}());_0x5d07db[_0x4663a6]=_0x22b143([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x126337,_0x126337!=_0x22b143([0x56,0x61,0x6c,0x69,0x64])&&(async function(){await _0x164c7f,_0x5d07db[_0x22b143([0x6d,0x6f,0x64,0x65,0x6c])][_0x22b143([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x270ddd,_0x5d07db[_0x22b143([0x6d,0x6f,0x64,0x65,0x6c])][_0x22b143([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x270ddd,_0x5d07db[_0x22b143([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22b143([0x6d,0x6f,0x64,0x65,0x6c]));}());}(_0x2506a1);}var _0x44261d=Object['defineProperty'],_0xcf1e35=(_0x58fd7b,_0x51b64a,_0x4c6410)=>_0x51b64a in _0x58fd7b?_0x44261d(_0x58fd7b,_0x51b64a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c6410}):_0x58fd7b[_0x51b64a]=_0x4c6410,_0x20a947=(_0x264f75,_0x5a66ff,_0x1fb843)=>(_0xcf1e35(_0x264f75,'symbol'!=typeof _0x5a66ff?_0x5a66ff+'':_0x5a66ff,_0x1fb843),_0x1fb843);function _0x2f5ad6(_0x5b33ae){let _0x2f906d=_0x23085c=>{var _0x596efb;for(let _0x19a8c9 in _0x23085c)(null==(_0x596efb=_0x23085c[_0x19a8c9])?void 0x0:_0x596efb['constructor'])===Object&&(_0x23085c[_0x19a8c9]=_0x2f906d(_0x23085c[_0x19a8c9]));return{..._0x23085c};};return _0x2f906d(_0x5b33ae);}var Data=class{constructor(_0xa1472d){_0xa1472d['constructor']===Object?this['store']=_0x2f5ad6(_0xa1472d):(this['_storeIsProxy']=!0x0,this['store']=_0xa1472d),this['callbackMap']=Object['create'](null);}static['warn'](_0x2c2f1b,_0x14c229){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x2c2f1b+'.\x20Prop\x20name:\x20'+_0x14c229);}['read'](_0x4bc967){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x4bc967)?this['store'][_0x4bc967]:(Data['warn']('read',_0x4bc967),null);}['has'](_0x100fe1){return this['_storeIsProxy']?void 0x0!==this['store'][_0x100fe1]:this['store']['hasOwnProperty'](_0x100fe1);}['add'](_0x2a9c53,_0xfd6d2f,_0x4ec7ef=!0x1){!_0x4ec7ef&&Object['keys'](this['store'])['includes'](_0x2a9c53)||(this['store'][_0x2a9c53]=_0xfd6d2f,this['notify'](_0x2a9c53));}['pub'](_0x5a584b,_0x293a01){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x5a584b)?(this['store'][_0x5a584b]=_0x293a01,this['notify'](_0x5a584b)):Data['warn']('publish',_0x5a584b);}['multiPub'](_0x187ffe){for(let _0x1680a4 in _0x187ffe)this['pub'](_0x1680a4,_0x187ffe[_0x1680a4]);}['notify'](_0x452aac){this['callbackMap'][_0x452aac]&&this['callbackMap'][_0x452aac]['forEach'](_0x2c86a1=>{_0x2c86a1(this['store'][_0x452aac]);});}['sub'](_0x26054c,_0x4c8b27,_0x46910a=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x26054c)?(this['callbackMap'][_0x26054c]||(this['callbackMap'][_0x26054c]=new Set()),this['callbackMap'][_0x26054c]['add'](_0x4c8b27),_0x46910a&&_0x4c8b27(this['store'][_0x26054c]),{'remove':()=>{this['callbackMap'][_0x26054c]['delete'](_0x4c8b27),this['callbackMap'][_0x26054c]['size']||delete this['callbackMap'][_0x26054c];},'callback':_0x4c8b27}):(Data['warn']('subscribe',_0x26054c),null);}static['registerCtx'](_0x20ce41,_0x230c0a=Symbol()){let _0xaf360f=Data['globalStore']['get'](_0x230c0a);return _0xaf360f?console['warn']('State:\x20context\x20UID\x20\x22'+_0x230c0a+'\x22\x20already\x20in\x20use'):(_0xaf360f=new Data(_0x20ce41),Data['globalStore']['set'](_0x230c0a,_0xaf360f)),_0xaf360f;}static['deleteCtx'](_0xa6dad9){Data['globalStore']['delete'](_0xa6dad9);}static['getCtx'](_0x1580ee,_0x24420f=!0x0){return Data['globalStore']['get'](_0x1580ee)||(_0x24420f&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x1580ee+'\x22'),null);}};Data['globalStore']=new Map();var _0x40a111=Object['freeze']({'BIND_ATTR':'set','ATTR_BIND_PRFX':'@','EXT_DATA_CTX_PRFX':'*','NAMED_DATA_CTX_SPLTR':'/','CTX_NAME_ATTR':'ctx-name','CTX_OWNER_ATTR':'ctx-owner','CSS_CTX_PROP':'--ctx-name','EL_REF_ATTR':'ref','AUTO_TAG_PRFX':'sym','REPEAT_ATTR':'repeat','REPEAT_ITEM_TAG_ATTR':'repeat-item-tag','SET_LATER_KEY':'__toSetLater__','USE_TPL':'use-template','ROOT_STYLE_ATTR_NAME':'sym-component'}),_0x5c03ae='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',_0x15d22e=_0x5c03ae['length']-0x1,_0x217502=class{static['generate'](_0x290fbe='XXXXXXXXX-XXX'){let _0x494f13='';for(let _0xf9d45d=0x0;_0xf9d45d<_0x290fbe['length'];_0xf9d45d++)_0x494f13+='-'===_0x290fbe[_0xf9d45d]?_0x290fbe[_0xf9d45d]:_0x5c03ae['charAt'](Math['random']()*_0x15d22e);return _0x494f13;}};function setNestedProp(_0x57df75,_0x56e29d,_0x124806){let _0x4c0e8a,_0x2fe6d5=!0x0,_0x3f00f0=_0x56e29d['split']('.');return _0x3f00f0['forEach']((_0x51be09,_0x13d6e8)=>{_0x13d6e8<_0x3f00f0['length']-0x1?_0x57df75=_0x57df75[_0x51be09]:_0x4c0e8a=_0x51be09;}),_0x57df75?_0x57df75[_0x4c0e8a]=_0x124806:_0x2fe6d5=!0x1,_0x2fe6d5;}function _0x4ed717(_0x54d2c6){return _0x54d2c6['split']('-')['map']((_0xddae0,_0x4d804c)=>_0xddae0&&_0x4d804c?_0xddae0[0x0]['toUpperCase']()+_0xddae0['slice'](0x1):_0xddae0)['join']('')['split']('_')['map']((_0xdbd3a3,_0x54ca02)=>_0xdbd3a3&&_0x54ca02?_0xdbd3a3['toUpperCase']():_0xdbd3a3)['join']('');}function repeatProcessor(_0x32968b,_0x94504b){[..._0x32968b['querySelectorAll']('['+_0x40a111['REPEAT_ATTR']+']')]['forEach'](_0xac4c6e=>{let _0x32be59,_0x1eef3c=_0xac4c6e['getAttribute'](_0x40a111['REPEAT_ITEM_TAG_ATTR']);if(_0x1eef3c&&(_0x32be59=window['customElements']['get'](_0x1eef3c)),!_0x32be59){_0x32be59=class extends _0x94504b['BaseComponent']{constructor(){super(),_0x1eef3c||(this['style']['display']='contents');}};let _0x133fd4=_0xac4c6e['innerHTML'];_0x32be59['template']=_0x133fd4,_0x32be59['reg'](_0x1eef3c);}for(;_0xac4c6e['firstChild'];)_0xac4c6e['firstChild']['remove']();let _0x128a2e=_0xac4c6e['getAttribute'](_0x40a111['REPEAT_ATTR']);_0x94504b['sub'](_0x128a2e,_0x11d3a1=>{if(!_0x11d3a1){for(;_0xac4c6e['firstChild'];)_0xac4c6e['firstChild']['remove']();return;}let _0x3522ab,_0xf9f911=[..._0xac4c6e['children']],_0x3e16d8=_0x168a56=>{_0x168a56['forEach']((_0x1d93c2,_0x3649ea)=>{if(_0xf9f911[_0x3649ea]){if(_0xf9f911[_0x3649ea]['set$'])setTimeout(()=>{_0xf9f911[_0x3649ea]['set$'](_0x1d93c2);});else{for(let _0x5d42cb in _0x1d93c2)_0xf9f911[_0x3649ea][_0x5d42cb]=_0x1d93c2[_0x5d42cb];}}else{_0x3522ab||(_0x3522ab=new DocumentFragment());let _0x9c664e=new _0x32be59();Object['assign'](_0x9c664e['init$'],_0x1d93c2),_0x3522ab['appendChild'](_0x9c664e);}}),_0x3522ab&&_0xac4c6e['appendChild'](_0x3522ab);let _0x8bc406=_0xf9f911['slice'](_0x168a56['length'],_0xf9f911['length']);for(let _0x5db3c0 of _0x8bc406)_0x5db3c0['remove']();};if(_0x11d3a1['constructor']===Array)_0x3e16d8(_0x11d3a1);else{if(_0x11d3a1['constructor']===Object){let _0xc3ae7e=[];for(let _0x4a157f in _0x11d3a1){let _0x1b68a2=_0x11d3a1[_0x4a157f];Object['defineProperty'](_0x1b68a2,'_KEY_',{'value':_0x4a157f,'enumerable':!0x0}),_0xc3ae7e['push'](_0x1b68a2);}_0x3e16d8(_0xc3ae7e);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x11d3a1);}}),_0xac4c6e['removeAttribute'](_0x40a111['REPEAT_ATTR']),_0xac4c6e['removeAttribute'](_0x40a111['REPEAT_ITEM_TAG_ATTR']);});}var _0x3005a9='__default__';function slotProcessor(_0xef904d,_0x152464){if(_0x152464['shadowRoot'])return;let _0x422053=[..._0xef904d['querySelectorAll']('slot')];if(!_0x422053['length'])return;let _0x5d439c={};_0x422053['forEach'](_0x3aeb89=>{let _0x366e13=_0x3aeb89['getAttribute']('name')||_0x3005a9;_0x5d439c[_0x366e13]={'slot':_0x3aeb89,'fr':document['createDocumentFragment']()};}),_0x152464['initChildren']['forEach'](_0x13cf07=>{var _0x5298fd;let _0x3b4a94=_0x3005a9;_0x13cf07 instanceof Element&&_0x13cf07['hasAttribute']('slot')&&(_0x3b4a94=_0x13cf07['getAttribute']('slot'),_0x13cf07['removeAttribute']('slot')),null==(_0x5298fd=_0x5d439c[_0x3b4a94])||_0x5298fd['fr']['appendChild'](_0x13cf07);}),Object['values'](_0x5d439c)['forEach'](_0x14574b=>{if(_0x14574b['fr']['childNodes']['length'])_0x14574b['slot']['parentNode']['replaceChild'](_0x14574b['fr'],_0x14574b['slot']);else{if(_0x14574b['slot']['childNodes']['length']){let _0x3e4a00=document['createDocumentFragment']();_0x3e4a00['append'](..._0x14574b['slot']['childNodes']),_0x14574b['slot']['parentNode']['replaceChild'](_0x3e4a00,_0x14574b['slot']);}else _0x14574b['slot']['remove']();}});}function _0x4d4c25(_0x1cc6d6,_0xef5f7f){[..._0x1cc6d6['querySelectorAll']('['+_0x40a111['EL_REF_ATTR']+']')]['forEach'](_0x17be39=>{let _0x4f03a2=_0x17be39['getAttribute'](_0x40a111['EL_REF_ATTR']);_0xef5f7f['ref'][_0x4f03a2]=_0x17be39,_0x17be39['removeAttribute'](_0x40a111['EL_REF_ATTR']);});}function domSetProcessor(_0x56fa61,_0xbe7a82){[..._0x56fa61['querySelectorAll']('['+_0x40a111['BIND_ATTR']+']')]['forEach'](_0x505a07=>{let _0x298aa5=_0x505a07['getAttribute'](_0x40a111['BIND_ATTR'])['split'](';');[..._0x505a07['attributes']]['forEach'](_0x4411de=>{if(_0x4411de['name']['startsWith']('-')&&_0x4411de['value']){let _0x252090=_0x4ed717(_0x4411de['name']['replace']('-',''));_0x298aa5['push'](_0x252090+':'+_0x4411de['value']),_0x505a07['removeAttribute'](_0x4411de['name']);}}),_0x298aa5['forEach'](_0x253ecc=>{if(!_0x253ecc)return;let _0x3eb5ca,_0x34dc99=_0x253ecc['split'](':')['map'](_0x48dc03=>_0x48dc03['trim']()),_0x530476=_0x34dc99[0x0];0x0===_0x530476['indexOf'](_0x40a111['ATTR_BIND_PRFX'])&&(_0x3eb5ca=!0x0,_0x530476=_0x530476['replace'](_0x40a111['ATTR_BIND_PRFX'],''));let _0x3b89ef=_0x34dc99[0x1]['split'](',')['map'](_0x1fb673=>_0x1fb673['trim']());for(let _0x189282 of _0x3b89ef){let _0x12a94d;_0x189282['startsWith']('!!')?(_0x12a94d='double',_0x189282=_0x189282['replace']('!!','')):_0x189282['startsWith']('!')&&(_0x12a94d='single',_0x189282=_0x189282['replace']('!','')),_0xbe7a82['sub'](_0x189282,_0x46e313=>{'double'===_0x12a94d?_0x46e313=!!_0x46e313:'single'===_0x12a94d&&(_0x46e313=!_0x46e313),_0x3eb5ca?(null==_0x46e313?void 0x0:_0x46e313['constructor'])===Boolean?_0x46e313?_0x505a07['setAttribute'](_0x530476,''):_0x505a07['removeAttribute'](_0x530476):_0x505a07['setAttribute'](_0x530476,_0x46e313):setNestedProp(_0x505a07,_0x530476,_0x46e313)||(_0x505a07[_0x40a111['SET_LATER_KEY']]||(_0x505a07[_0x40a111['SET_LATER_KEY']]=Object['create'](null)),_0x505a07[_0x40a111['SET_LATER_KEY']][_0x530476]=_0x46e313);});}}),_0x505a07['removeAttribute'](_0x40a111['BIND_ATTR']);});}var _0x4c886f='{{',_0x121f62='}}',_0x309aac='skip-text';function getTextNodesWithTokens(_0x42dc61){let _0x1d3f2e,_0x47c982=[],_0xe36137=document['createTreeWalker'](_0x42dc61,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x36c130=>{var _0x304150;return!(null==(_0x304150=_0x36c130['parentElement'])?void 0x0:_0x304150['hasAttribute'](_0x309aac))&&_0x36c130['textContent']['includes'](_0x4c886f)&&_0x36c130['textContent']['includes'](_0x121f62)&&0x1;}});for(;_0x1d3f2e=_0xe36137['nextNode']();)_0x47c982['push'](_0x1d3f2e);return _0x47c982;}var txtNodesProcessor=function(_0x16f545,_0x1007b5){getTextNodesWithTokens(_0x16f545)['forEach'](_0x18b597=>{let _0x4f98b8,_0x381c6d=[];for(;_0x18b597['textContent']['includes'](_0x121f62);)_0x18b597['textContent']['startsWith'](_0x4c886f)?(_0x4f98b8=_0x18b597['textContent']['indexOf'](_0x121f62)+_0x121f62['length'],_0x18b597['splitText'](_0x4f98b8),_0x381c6d['push'](_0x18b597)):(_0x4f98b8=_0x18b597['textContent']['indexOf'](_0x4c886f),_0x18b597['splitText'](_0x4f98b8)),_0x18b597=_0x18b597['nextSibling'];_0x381c6d['forEach'](_0x59fe8b=>{let _0x3a2322=_0x59fe8b['textContent']['replace'](_0x4c886f,'')['replace'](_0x121f62,'');_0x59fe8b['textContent']='',_0x1007b5['sub'](_0x3a2322,_0x58b183=>{_0x59fe8b['textContent']=_0x58b183;});});});},tpl_processors_default=[repeatProcessor,slotProcessor,_0x4d4c25,domSetProcessor,txtNodesProcessor],_0x2b661c='\x27',_0x20b6ac='\x22',_0x2a35e2=/\\([0-9a-fA-F]{1,6} ?)/g;function hasLeadingTrailingQuotes(_0x4316bf){return!(_0x4316bf[0x0]!==_0x20b6ac&&_0x4316bf[0x0]!==_0x2b661c||_0x4316bf[_0x4316bf['length']-0x1]!==_0x20b6ac&&_0x4316bf[_0x4316bf['length']-0x1]!==_0x2b661c);}function trimQuotes(_0x5eb2a2){return _0x5eb2a2[0x0]!==_0x20b6ac&&_0x5eb2a2[0x0]!==_0x2b661c||(_0x5eb2a2=_0x5eb2a2['slice'](0x1)),_0x5eb2a2[_0x5eb2a2['length']-0x1]!==_0x20b6ac&&_0x5eb2a2[_0x5eb2a2['length']-0x1]!==_0x2b661c||(_0x5eb2a2=_0x5eb2a2['slice'](0x0,-0x1)),_0x5eb2a2;}function escapeQuotes(_0x5864a3){let _0x54ad11='',_0x2b9987='';for(var _0x32f777=0x0;_0x32f777<_0x5864a3['length'];_0x32f777++){const _0x13b4c7=_0x5864a3[_0x32f777+0x1];'\x5c'===_0x5864a3[_0x32f777]&&'\x22'===_0x13b4c7?(_0x54ad11+='\x5c\x22',_0x32f777++):'\x22'===_0x5864a3[_0x32f777]&&'\x5c'!==_0x2b9987?_0x54ad11+='\x5c\x22':_0x54ad11+=_0x5864a3[_0x32f777],_0x2b9987=_0x5864a3[_0x32f777];}return _0x54ad11;}function parseCssPropertyValue(_0x2b51ac){let _0x25a034=_0x2b51ac;hasLeadingTrailingQuotes(_0x2b51ac)&&(_0x25a034=trimQuotes(_0x25a034),_0x25a034=_0x25a034['replace'](_0x2a35e2,(_0x1c5e35,_0x2655b0)=>String['fromCodePoint'](parseInt(_0x2655b0['trim'](),0x10))),_0x25a034=_0x25a034['replaceAll']('\x5c\x0a','\x5cn'),_0x25a034=escapeQuotes(_0x25a034),_0x25a034=_0x20b6ac+_0x25a034+_0x20b6ac);try{return JSON['parse'](_0x25a034);}catch(_0x5dc6d0){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x25a034+'.\x20Original\x20input:\x20'+_0x2b51ac);}}var autoTagsCount=0x0,styleMutationObserver=null,styleMutationObserverCbList=null,_BaseComponent=class extends HTMLElement{constructor(){super(),_0x20a947(this,'updateCssData',()=>{var _0xfdae4f;this['dropCssDataCache'](),null==(_0xfdae4f=this['__boundCssProps'])||_0xfdae4f['forEach'](_0x4e23c8=>{let _0x48026e=this['getCssData'](this['__extractCssName'](_0x4e23c8),!0x0);null!==_0x48026e&&this['$'][_0x4e23c8]!==_0x48026e&&(this['$'][_0x4e23c8]=_0x48026e);});}),this['init$']=Object['create'](null),this['cssInit$']=Object['create'](null),this['tplProcessors']=new Set(),this['ref']=Object['create'](null),this['allSubs']=new Set(),this['pauseRender']=!0x1,this['renderShadow']=!0x1,this['readyToDestroy']=!0x0,this['processInnerHtml']=!0x1,this['allowCustomTemplate']=!0x1,this['ctxOwner']=!0x1;}get['BaseComponent'](){return _BaseComponent;}['initCallback'](){}['__initCallback'](){var _0x51253c;this['__initialized']||(this['__initialized']=!0x0,null==(_0x51253c=this['initCallback'])||_0x51253c['call'](this));}['render'](_0x4ef475,_0x4be62e=this['renderShadow']){let _0x3fdd10;if(!_0x4be62e&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x3163b3=this['getAttribute'](_0x40a111['USE_TPL']);if(_0x3163b3){let _0x17f0be=this['getRootNode'](),_0x51a862=(null==_0x17f0be?void 0x0:_0x17f0be['querySelector'](_0x3163b3))||document['querySelector'](_0x3163b3);_0x51a862?_0x4ef475=_0x51a862['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x3163b3+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x55f972 of this['tplProcessors'])_0x55f972(this,this);}if(_0x4ef475||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x4ef475?void 0x0:_0x4ef475['constructor'])===DocumentFragment)_0x3fdd10=_0x4ef475;else{if((null==_0x4ef475?void 0x0:_0x4ef475['constructor'])===String){let _0x2b7cbd=document['createElement']('template');_0x2b7cbd['innerHTML']=_0x4ef475,_0x3fdd10=_0x2b7cbd['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x3fdd10=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0x8c019c of this['tplProcessors'])_0x8c019c(_0x3fdd10,this);}let _0x227e11=()=>{_0x3fdd10&&(_0x4be62e&&this['shadowRoot']['appendChild'](_0x3fdd10)||this['appendChild'](_0x3fdd10)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x4be62e=!0x0;let _0x1dce84=document['createElement']('link');_0x1dce84['rel']='stylesheet',_0x1dce84['href']=this['constructor']['__shadowStylesUrl'],_0x1dce84['onload']=_0x227e11,this['shadowRoot']['prepend'](_0x1dce84);}else _0x227e11();}['addTemplateProcessor'](_0x165dd5){this['tplProcessors']['add'](_0x165dd5);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=_0x217502['generate'](),this['style']['setProperty'](_0x40a111['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](_0x40a111['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x32d240;let _0x2ff6b6=(null==(_0x32d240=this['getAttribute'](_0x40a111['CTX_NAME_ATTR']))?void 0x0:_0x32d240['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x2ff6b6,_0x2ff6b6;}get['localCtx'](){return this['__localCtx']||(this['__localCtx']=Data['registerCtx']({},this)),this['__localCtx'];}get['nodeCtx'](){return Data['getCtx'](this['ctxName'],!0x1)||Data['registerCtx']({},this['ctxName']);}static['__parseProp'](_0x5abcf7,_0x7a62e5){let _0x101247,_0x259dd9;if(_0x5abcf7['startsWith'](_0x40a111['EXT_DATA_CTX_PRFX']))_0x101247=_0x7a62e5['nodeCtx'],_0x259dd9=_0x5abcf7['replace'](_0x40a111['EXT_DATA_CTX_PRFX'],'');else{if(_0x5abcf7['includes'](_0x40a111['NAMED_DATA_CTX_SPLTR'])){let _0x5923dd=_0x5abcf7['split'](_0x40a111['NAMED_DATA_CTX_SPLTR']);_0x101247=Data['getCtx'](_0x5923dd[0x0]),_0x259dd9=_0x5923dd[0x1];}else _0x101247=_0x7a62e5['localCtx'],_0x259dd9=_0x5abcf7;}return{'ctx':_0x101247,'name':_0x259dd9};}['sub'](_0x59a455,_0x147a1d,_0x5c0aec=!0x0){let _0x8f5659=_0x14af6f=>{this['isConnected']&&_0x147a1d(_0x14af6f);},_0x5711e0=_BaseComponent['__parseProp'](_0x59a455,this);_0x5711e0['ctx']['has'](_0x5711e0['name'])?this['allSubs']['add'](_0x5711e0['ctx']['sub'](_0x5711e0['name'],_0x8f5659,_0x5c0aec)):window['setTimeout'](()=>{this['allSubs']['add'](_0x5711e0['ctx']['sub'](_0x5711e0['name'],_0x8f5659,_0x5c0aec));});}['notify'](_0x390203){let _0x11a4c0=_BaseComponent['__parseProp'](_0x390203,this);_0x11a4c0['ctx']['notify'](_0x11a4c0['name']);}['has'](_0x5f3f3a){let _0x2ce603=_BaseComponent['__parseProp'](_0x5f3f3a,this);return _0x2ce603['ctx']['has'](_0x2ce603['name']);}['add'](_0x49b03d,_0x3ac7b3,_0x1d056a=!0x1){let _0x5516f6=_BaseComponent['__parseProp'](_0x49b03d,this);_0x5516f6['ctx']['add'](_0x5516f6['name'],_0x3ac7b3,_0x1d056a);}['add$'](_0x45951a,_0xa3a2f3=!0x1){for(let _0x428055 in _0x45951a)this['add'](_0x428055,_0x45951a[_0x428055],_0xa3a2f3);}get['$'](){if(!this['__stateProxy']){let _0x1ecb1d=Object['create'](null);this['__stateProxy']=new Proxy(_0x1ecb1d,{'set':(_0x3b9e2c,_0x5d1536,_0x18c261)=>{let _0x2d67fb=_BaseComponent['__parseProp'](_0x5d1536,this);return _0x2d67fb['ctx']['pub'](_0x2d67fb['name'],_0x18c261),!0x0;},'get':(_0x5ddb5f,_0x2b9c6b)=>{let _0x57c719=_BaseComponent['__parseProp'](_0x2b9c6b,this);return _0x57c719['ctx']['read'](_0x57c719['name']);}});}return this['__stateProxy'];}['set$'](_0x257e70,_0x19257e=!0x1){for(let _0x2fc03a in _0x257e70){let _0x51f85d=_0x257e70[_0x2fc03a],_0x43d182=[String,Number,Boolean];(_0x19257e||!_0x43d182['includes'](null==_0x51f85d?void 0x0:_0x51f85d['constructor'])||this['$'][_0x2fc03a]!==_0x51f85d)&&(this['$'][_0x2fc03a]=_0x51f85d);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](_0x40a111['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](_0x40a111['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0xf494f6=this['constructor']['__attrDesc'];if(_0xf494f6){for(let _0x4363a4 of Object['values'](_0xf494f6))Object['keys'](this['init$'])['includes'](_0x4363a4)||(this['init$'][_0x4363a4]='');}for(let _0x213d9e in this['init$'])if(_0x213d9e['startsWith'](_0x40a111['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x213d9e['replace'](_0x40a111['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x213d9e],this['__ctxOwner']);else{if(_0x213d9e['includes'](_0x40a111['NAMED_DATA_CTX_SPLTR'])){let _0xf5d285=_0x213d9e['split'](_0x40a111['NAMED_DATA_CTX_SPLTR']),_0x1b0f05=_0xf5d285[0x0]['trim'](),_0x225a36=_0xf5d285[0x1]['trim']();if(_0x1b0f05&&_0x225a36){let _0x409709=Data['getCtx'](_0x1b0f05,!0x1);_0x409709||(_0x409709=Data['registerCtx']({},_0x1b0f05)),_0x409709['add'](_0x225a36,this['init$'][_0x213d9e]);}}else this['localCtx']['add'](_0x213d9e,this['init$'][_0x213d9e]);}for(let _0x2d4f79 in this['cssInit$'])this['bindCssData'](_0x2d4f79,this['cssInit$'][_0x2d4f79]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0x104efd;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x7955a9=null==(_0x104efd=this['getAttribute'](_0x40a111['CTX_NAME_ATTR']))?void 0x0:_0x104efd['trim']();if(_0x7955a9&&this['style']['setProperty'](_0x40a111['CSS_CTX_PROP'],'\x27'+_0x7955a9+'\x27'),this['__initDataCtx'](),this[_0x40a111['SET_LATER_KEY']]){for(let _0x1e87ed in this[_0x40a111['SET_LATER_KEY']])setNestedProp(this,_0x1e87ed,this[_0x40a111['SET_LATER_KEY']][_0x1e87ed]);delete this[_0x40a111['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x276a85 of tpl_processors_default)this['addTemplateProcessor'](_0x276a85);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x4c2b45=this['getRootNode']();if(!_0x4c2b45)return;if(null==_0x4c2b45?void 0x0:_0x4c2b45['querySelector']('link['+_0x40a111['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x145b5e=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x145b5e['setAttribute'](_0x40a111['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x145b5e['onload']=()=>{this['render']();},_0x4c2b45['nodeType']===Node['DOCUMENT_NODE']?_0x4c2b45['head']['appendChild'](_0x145b5e):_0x4c2b45['prepend'](_0x145b5e);}else this['render']();}}this['connectedOnce']=!0x0;}}['destroyCallback'](){}['disconnectedCallback'](){this['connectedOnce']&&(this['dropCssDataCache'](),this['readyToDestroy']&&(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),this['__disconnectTimeout']=window['setTimeout'](()=>{this['destroyCallback']();for(let _0x51a7f6 of this['allSubs'])_0x51a7f6['remove'](),this['allSubs']['delete'](_0x51a7f6);for(let _0x38bf0e of this['tplProcessors'])this['tplProcessors']['delete'](_0x38bf0e);null==styleMutationObserverCbList||styleMutationObserverCbList['delete'](this['updateCssData']),(null==styleMutationObserverCbList?void 0x0:styleMutationObserverCbList['size'])||(null==styleMutationObserver||styleMutationObserver['disconnect'](),styleMutationObserver=null,styleMutationObserverCbList=null);},0x64)));}static['reg'](_0x47e0ee,_0x259cbb=!0x1){_0x47e0ee||(autoTagsCount++,_0x47e0ee=_0x40a111['AUTO_TAG_PRFX']+'-'+autoTagsCount),this['__tag']=_0x47e0ee;let _0x4395cd=window['customElements']['get'](_0x47e0ee);_0x4395cd?_0x259cbb||_0x4395cd===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x47e0ee+'\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']('\x0a')):window['customElements']['define'](_0x47e0ee,_0x259cbb?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x2c240d){this['observedAttributes']=Object['keys'](_0x2c240d),this['__attrDesc']=_0x2c240d;}['attributeChangedCallback'](_0x363c03,_0x37401f,_0x1a08f6){var _0x2226c3;if(_0x37401f===_0x1a08f6)return;let _0x46191b=null==(_0x2226c3=this['constructor']['__attrDesc'])?void 0x0:_0x2226c3[_0x363c03];_0x46191b?this['__dataCtxInitialized']?this['$'][_0x46191b]=_0x1a08f6:this['init$'][_0x46191b]=_0x1a08f6:this[_0x363c03]=_0x1a08f6;}['getCssData'](_0x437ce8,_0x1876d4=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x437ce8)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x1e598e=this['__computedStyle']['getPropertyValue'](_0x437ce8)['trim']();try{this['__cssDataCache'][_0x437ce8]=parseCssPropertyValue(_0x1e598e);}catch(_0x4370af){!_0x1876d4&&console['warn']('CSS\x20Data\x20error:\x20'+_0x437ce8),this['__cssDataCache'][_0x437ce8]=null;}}return this['__cssDataCache'][_0x437ce8];}['__extractCssName'](_0x5e68ab){return _0x5e68ab['split']('--')['map']((_0x44c016,_0x1fd218)=>0x0===_0x1fd218?'':_0x44c016)['join']('--');}['__initStyleAttrObserver'](){styleMutationObserverCbList||(styleMutationObserverCbList=new Set()),styleMutationObserverCbList['add'](this['updateCssData']),styleMutationObserver||(styleMutationObserver=new MutationObserver(_0x577e41=>{'attributes'===_0x577e41[0x0]['type']&&styleMutationObserverCbList['forEach'](_0x42f3c8=>{_0x42f3c8();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x457b04,_0x88efae=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x457b04);let _0x492ddb=this['getCssData'](this['__extractCssName'](_0x457b04),!0x0);null===_0x492ddb&&(_0x492ddb=_0x88efae),this['add'](_0x457b04,_0x492ddb),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0x637e32,_0x30b95f,_0x4d3506){let _0x29caff='__'+_0x637e32;this[_0x29caff]=this[_0x637e32],Object['defineProperty'](this,_0x637e32,{'set':_0x22afc3=>{this[_0x29caff]=_0x22afc3,_0x4d3506?window['setTimeout'](()=>{null==_0x30b95f||_0x30b95f(_0x22afc3);}):null==_0x30b95f||_0x30b95f(_0x22afc3);},'get':()=>this[_0x29caff]}),this[_0x637e32]=this[_0x29caff];}static set['shadowStyles'](_0x4120ef){let _0x2f9cc1=new Blob([_0x4120ef],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x2f9cc1);}static set['rootStyles'](_0x56f659){if(!this['__rootStylesLink']){let _0x1bc0ff=new Blob([_0x56f659],{'type':'text/css'}),_0x5d1970=URL['createObjectURL'](_0x1bc0ff),_0x47a390=document['createElement']('link');_0x47a390['href']=_0x5d1970,_0x47a390['rel']='stylesheet',this['__rootStylesLink']=_0x47a390;}}},BaseComponent=_BaseComponent;function applyStyles(_0x551cc0,_0x2dd6a9){for(let _0x121819 in _0x2dd6a9)_0x121819['includes']('-')?_0x551cc0['style']['setProperty'](_0x121819,_0x2dd6a9[_0x121819]):_0x551cc0['style'][_0x121819]=_0x2dd6a9[_0x121819];}function applyAttributes(_0x20c344,_0x1da849){for(let _0x244076 in _0x1da849)_0x1da849[_0x244076]['constructor']===Boolean?_0x1da849[_0x244076]?_0x20c344['setAttribute'](_0x244076,''):_0x20c344['removeAttribute'](_0x244076):_0x20c344['setAttribute'](_0x244076,_0x1da849[_0x244076]);}function create(_0x59f2f7={'tag':'div'}){let _0x47606e=document['createElement'](_0x59f2f7['tag']);if(_0x59f2f7['attributes']&&applyAttributes(_0x47606e,_0x59f2f7['attributes']),_0x59f2f7['styles']&&applyStyles(_0x47606e,_0x59f2f7['styles']),_0x59f2f7['properties']){for(let _0x5a4eda in _0x59f2f7['properties'])_0x47606e[_0x5a4eda]=_0x59f2f7['properties'][_0x5a4eda];}return _0x59f2f7['processors']&&_0x59f2f7['processors']['forEach'](_0x21f259=>{_0x21f259(_0x47606e);}),_0x59f2f7['children']&&_0x59f2f7['children']['forEach'](_0x1f70d2=>{let _0x397c94=create(_0x1f70d2);_0x47606e['appendChild'](_0x397c94);}),_0x47606e;}_0x20a947(BaseComponent,'template');var _0x22c8f3='idb-store-ready',_0x4ab2a1='symbiote-db',_0x4b5e6e='symbiote-idb-update_',DbInstance=class{['_notifyWhenReady'](_0x2f017e=null){window['dispatchEvent'](new CustomEvent(_0x22c8f3,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0x2f017e}}));}get['_updEventName'](){return _0x4b5e6e+this['name'];}['_getUpdateEvent'](_0x3016be){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x3016be}});}['_notifySubscribers'](_0x48d3af){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x48d3af),window['dispatchEvent'](this['_getUpdateEvent'](_0x48d3af));}constructor(_0x38c954,_0x1cd491){this['name']=_0x38c954,this['storeName']=_0x1cd491,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x21c673=>{this['db']=_0x21c673['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x1cd491,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x43b25c=>{this['_notifyWhenReady'](_0x43b25c);};},this['request']['onsuccess']=_0x3e94af=>{this['db']=_0x3e94af['target']['result'],this['_notifyWhenReady'](_0x3e94af);},this['request']['onerror']=_0x33619f=>{console['error'](_0x33619f);},this['_subscriptionsMap']={},this['_updateHandler']=_0x29c32d=>{_0x29c32d['key']===this['name']&&this['_subscriptionsMap'][_0x29c32d['newValue']]&&this['_subscriptionsMap'][_0x29c32d['newValue']]['forEach'](async _0x1aaae5=>{_0x1aaae5(await this['read'](_0x29c32d['newValue']));});},this['_localUpdateHandler']=_0x309f85=>{this['_updateHandler'](_0x309f85['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x9e2b43){let _0x48c54d=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x9e2b43);return new Promise((_0x3d9542,_0x3f31ee)=>{_0x48c54d['onsuccess']=_0x5092c4=>{var _0x3fdbd7;(null==(_0x3fdbd7=_0x5092c4['target']['result'])?void 0x0:_0x3fdbd7['_value'])?_0x3d9542(_0x5092c4['target']['result']['_value']):(_0x3d9542(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x9e2b43+'\x22'));},_0x48c54d['onerror']=_0x173dc1=>{_0x3f31ee(_0x173dc1);};});}['write'](_0x42ffa8,_0x9bd7cb,_0x41f45f=!0x1){let _0x2553db={'_key':_0x42ffa8,'_value':_0x9bd7cb},_0xca8095=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x2553db);return new Promise((_0xafc99b,_0xdf28dc)=>{_0xca8095['onsuccess']=_0x337042=>{_0x41f45f||this['_notifySubscribers'](_0x42ffa8),_0xafc99b(_0x337042['target']['result']);},_0xca8095['onerror']=_0x41fc47=>{_0xdf28dc(_0x41fc47);};});}['delete'](_0x2f6ecb,_0x1c5bbb=!0x1){let _0x3912dd=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x2f6ecb);return new Promise((_0x4f45dc,_0x1f135c)=>{_0x3912dd['onsuccess']=_0x3e4d14=>{_0x1c5bbb||this['_notifySubscribers'](_0x2f6ecb),_0x4f45dc(_0x3e4d14);},_0x3912dd['onerror']=_0xe86eea=>{_0x1f135c(_0xe86eea);};});}['getAll'](){let _0x24027e=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x4ffb27,_0x16d7e1)=>{_0x24027e['onsuccess']=_0x37f602=>{let _0x257cf0=_0x37f602['target']['result'];_0x4ffb27(_0x257cf0['map'](_0x5d6677=>_0x5d6677['_value']));},_0x24027e['onerror']=_0x427a1b=>{_0x16d7e1(_0x427a1b);};});}['subscribe'](_0x4dc968,_0xb117ab){this['_subscriptionsMap'][_0x4dc968]||(this['_subscriptionsMap'][_0x4dc968]=new Set());let _0x12907f=this['_subscriptionsMap'][_0x4dc968];return _0x12907f['add'](_0xb117ab),{'remove':()=>{_0x12907f['delete'](_0xb117ab),_0x12907f['size']||delete this['_subscriptionsMap'][_0x4dc968];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,_0x1980b6['clear'](this['name']);}},_0x1980b6=class{static get['readyEventName'](){return _0x22c8f3;}static['open'](_0x5c387b=_0x4ab2a1,_0x17aa6a='store'){let _0xed97fd=_0x5c387b+'/'+_0x17aa6a;return this['_reg'][_0xed97fd]||(this['_reg'][_0xed97fd]=new DbInstance(_0x5c387b,_0x17aa6a)),this['_reg'][_0xed97fd];}static['clear'](_0x2c9cbc){window['indexedDB']['deleteDatabase'](_0x2c9cbc);for(let _0x34a2fe in this['_reg'])_0x34a2fe['split']('/')[0x0]===_0x2c9cbc&&delete this['_reg'][_0x34a2fe];}};function isObject(_0x40c8c4){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x40c8c4);}_0x20a947(_0x1980b6,'_reg',Object['create'](null));const _0x454805=/\W|_/g;function camelizeString(_0xff1438){return _0xff1438['split'](_0x454805)['map']((_0x57a0d5,_0x4964ae)=>_0x57a0d5['charAt'](0x0)[_0x4964ae>0x0?'toUpperCase':'toLowerCase']()+_0x57a0d5['slice'](0x1))['join']('');}function camelizeArrayItems(_0x27a6de,{ignoreKeys:_0x4d76b9}={'ignoreKeys':[]}){return Array['isArray'](_0x27a6de)?_0x27a6de['map'](_0x39f236=>_0x207d48(_0x39f236,{'ignoreKeys':_0x4d76b9})):_0x27a6de;}function _0x207d48(_0x5af4f3,{ignoreKeys:_0x233e82}={'ignoreKeys':[]}){if(Array['isArray'](_0x5af4f3))return camelizeArrayItems(_0x5af4f3,{'ignoreKeys':_0x233e82});if(!isObject(_0x5af4f3))return _0x5af4f3;const _0x389280={};for(const _0x2a0397 of Object['keys'](_0x5af4f3)){let _0x189bd6=_0x5af4f3[_0x2a0397];_0x233e82['includes'](_0x2a0397)?_0x389280[_0x2a0397]=_0x189bd6:(isObject(_0x189bd6)?_0x189bd6=_0x207d48(_0x189bd6,{'ignoreKeys':_0x233e82}):Array['isArray'](_0x189bd6)&&(_0x189bd6=camelizeArrayItems(_0x189bd6,{'ignoreKeys':_0x233e82})),_0x389280[camelizeString(_0x2a0397)]=_0x189bd6);}return _0x389280;}const _0x5a9725=_0xcaa948=>new Promise(_0xbebafc=>setTimeout(_0xbebafc,_0xcaa948));function getUserAgent$1({libraryName:_0x57f52e,libraryVersion:_0x308b73,userAgent:_0x1e13b7,publicKey:_0x4d9464='',integration:_0xd853c0=''}){const _0x132313='JavaScript';if('string'==typeof _0x1e13b7)return _0x1e13b7;if('function'==typeof _0x1e13b7)return _0x1e13b7({'publicKey':_0x4d9464,'libraryName':_0x57f52e,'libraryVersion':_0x308b73,'languageName':_0x132313,'integration':_0xd853c0});return[_0x57f52e,_0x308b73,_0x4d9464]['filter'](Boolean)['join']('/')+'\x20('+[_0x132313,_0xd853c0]['filter'](Boolean)['join'](';\x20')+')';}const defaultOptions={'factor':0x2,'time':0x64};function retrier(_0xd59e5b,_0x2dbfbe=defaultOptions){let _0x2c8f01=0x0;return function _0x166981(_0x724bd){const _0x550136=Math['round'](_0x2dbfbe['time']*_0x2dbfbe['factor']**_0x2c8f01);return _0x724bd({'attempt':_0x2c8f01,'retry':_0x5490df=>_0x5a9725(_0x5490df??_0x550136)['then'](()=>(_0x2c8f01+=0x1,_0x166981(_0x724bd)))});}(_0xd59e5b);}class _0x2ee175 extends Error{}class NetworkError extends _0x2ee175{['originalProgressEvent'];constructor(_0x4d78d6){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x4d78d6;}}const _0x2a803d=(_0x32f47c,_0x3c7724)=>{_0x32f47c&&(_0x32f47c['aborted']?Promise['resolve']()['then'](_0x3c7724):_0x32f47c['addEventListener']('abort',()=>_0x3c7724(),{'once':!0x0}));};class _0x2168fd extends _0x2ee175{['isCancel']=!0x0;constructor(_0x5cb250='Request\x20canceled'){super(_0x5cb250),this['name']='CancelError',Object['setPrototypeOf'](this,_0x2168fd['prototype']);}}const _0x47dfe0=0x1f4,_0x5cfb30=({check:_0x1f5e4d,interval:_0x2ae9c4=_0x47dfe0,timeout:_0x30362a,signal:_0x1e05d2})=>new Promise((_0x118b23,_0x4d019e)=>{let _0x111a06,_0x16cfd4;_0x2a803d(_0x1e05d2,()=>{_0x111a06&&clearTimeout(_0x111a06),_0x4d019e(new _0x2168fd('Poll\x20cancelled'));}),_0x30362a&&(_0x16cfd4=setTimeout(()=>{_0x111a06&&clearTimeout(_0x111a06),_0x4d019e(new _0x2168fd('Timed\x20out'));},_0x30362a));const _0x24b3d7=()=>{try{Promise['resolve'](_0x1f5e4d(_0x1e05d2))['then'](_0x2c5d37=>{_0x2c5d37?(_0x16cfd4&&clearTimeout(_0x16cfd4),_0x118b23(_0x2c5d37)):_0x111a06=setTimeout(_0x24b3d7,_0x2ae9c4);})['catch'](_0x23df19=>{_0x16cfd4&&clearTimeout(_0x16cfd4),_0x4d019e(_0x23df19);});}catch(_0x15126d){_0x16cfd4&&clearTimeout(_0x16cfd4),_0x4d019e(_0x15126d);}};_0x111a06=setTimeout(_0x24b3d7,0x0);}),defaultSettings={'baseCDN':'https://ucarecdn.com','baseURL':'https://upload.uploadcare.com','retryThrottledRequestMaxTimes':0x1,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0x4,'pusherKey':'79ae88bd931ea68464d9'},defaultContentType='application/octet-stream',defaultFilename='original',request=({method:_0x24b936,url:_0x351c80,data:_0x6f0006,headers:_0x89733c={},signal:_0x136ccd,onProgress:_0x406c2a})=>new Promise((_0x3b8c83,_0x1e2292)=>{const _0x5a20b6=new XMLHttpRequest(),_0x1708ec=_0x24b936?.['toUpperCase']()||'GET';let _0x20cd31=!0x1;_0x5a20b6['open'](_0x1708ec,_0x351c80,!0x0),_0x89733c&&Object['entries'](_0x89733c)['forEach'](_0x144f24=>{const [_0x388e03,_0x29a63b]=_0x144f24;void 0x0!==_0x29a63b&&!Array['isArray'](_0x29a63b)&&_0x5a20b6['setRequestHeader'](_0x388e03,_0x29a63b);}),_0x5a20b6['responseType']='text',_0x2a803d(_0x136ccd,()=>{_0x20cd31=!0x0,_0x5a20b6['abort'](),_0x1e2292(new _0x2168fd());}),_0x5a20b6['onload']=()=>{if(0xc8!=_0x5a20b6['status'])_0x1e2292(new Error('Error\x20'+_0x5a20b6['status']+':\x20'+_0x5a20b6['statusText']));else{const _0x1d1e6c={'method':_0x1708ec,'url':_0x351c80,'data':_0x6f0006,'headers':_0x89733c||void 0x0,'signal':_0x136ccd,'onProgress':_0x406c2a},_0x145523=_0x5a20b6['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0xa2c93={};_0x145523['forEach'](function(_0x30c07e){const _0x779d51=_0x30c07e['split'](':\x20'),_0xd25b2d=_0x779d51['shift'](),_0x24e85b=_0x779d51['join'](':\x20');_0xd25b2d&&void 0x0!==_0xd25b2d&&(_0xa2c93[_0xd25b2d]=_0x24e85b);});const _0x635678=_0x5a20b6['response'],_0x3a42db=_0x5a20b6['status'];_0x3b8c83({'request':_0x1d1e6c,'data':_0x635678,'headers':_0xa2c93,'status':_0x3a42db});}},_0x5a20b6['onerror']=_0x18a307=>{_0x20cd31||_0x1e2292(new NetworkError(_0x18a307));},_0x406c2a&&'function'==typeof _0x406c2a&&(_0x5a20b6['upload']['onprogress']=_0x3279a6=>{_0x3279a6['lengthComputable']?_0x406c2a({'isComputable':!0x0,'value':_0x3279a6['loaded']/_0x3279a6['total']}):_0x406c2a({'isComputable':!0x1});}),_0x6f0006?_0x5a20b6['send'](_0x6f0006):_0x5a20b6['send']();});function identity(_0x3e0064,..._0x434301){return _0x3e0064;}const getFileOptions=({name:_0x3888bc})=>_0x3888bc?[_0x3888bc]:[],transformFile=identity;var getFormData=()=>new FormData();const _0x4cf682=_0x546c36=>!0x1,_0x22a629=_0x3e84d9=>'undefined'!=typeof Blob&&_0x3e84d9 instanceof Blob,_0x226229=_0x18cf88=>'undefined'!=typeof File&&_0x18cf88 instanceof File,isReactNativeAsset=_0x72582c=>!!_0x72582c&&'object'==typeof _0x72582c&&!Array['isArray'](_0x72582c)&&'uri'in _0x72582c&&'string'==typeof _0x72582c['uri'],isFileData=_0x33d3ce=>_0x22a629(_0x33d3ce)||_0x226229(_0x33d3ce)||_0x4cf682()||isReactNativeAsset(_0x33d3ce),_0x1b93cc=_0x21c112=>'string'==typeof _0x21c112||'number'==typeof _0x21c112||void 0x0===_0x21c112,isObjectValue=_0x33eead=>!!_0x33eead&&'object'==typeof _0x33eead&&!Array['isArray'](_0x33eead),_0x5dc239=_0x3abbb3=>!!_0x3abbb3&&'object'==typeof _0x3abbb3&&'data'in _0x3abbb3&&isFileData(_0x3abbb3['data']);function collectParams(_0x2894da,_0x633d9f,_0x587fe1){if(Array['isArray'](_0x587fe1)){for(const _0xb34f42 of _0x587fe1)collectParams(_0x2894da,_0x633d9f+'[]',_0xb34f42);}else{if(_0x5dc239(_0x587fe1)){const {name:_0x290435,contentType:_0x12548e}=_0x587fe1,_0x271432=transformFile(_0x587fe1['data'],_0x290435,_0x12548e??defaultContentType),_0x566ae8=getFileOptions({'name':_0x290435});_0x2894da['push']([_0x633d9f,_0x271432,..._0x566ae8]);}else{if(isObjectValue(_0x587fe1)){for(const [_0x1cdf74,_0x7665cd]of Object['entries'](_0x587fe1))void 0x0!==_0x7665cd&&_0x2894da['push']([_0x633d9f+'['+_0x1cdf74+']',String(_0x7665cd)]);}else _0x1b93cc(_0x587fe1)&&_0x587fe1&&_0x2894da['push']([_0x633d9f,_0x587fe1['toString']()]);}}}function getFormDataParams(_0x3f0cd9){const _0x564de0=[];for(const [_0x1716cd,_0x2bc6e9]of Object['entries'](_0x3f0cd9))collectParams(_0x564de0,_0x1716cd,_0x2bc6e9);return _0x564de0;}function buildFormData(_0x7078f0){const _0x311622=getFormData(),_0x581bc1=getFormDataParams(_0x7078f0);for(const _0x3b7f7d of _0x581bc1){const [_0x26355d,_0x59471b,..._0x34d310]=_0x3b7f7d;_0x311622['append'](_0x26355d,_0x59471b,..._0x34d310);}return _0x311622;}class _0x15cbda extends _0x2ee175{['code'];['request'];['response'];['headers'];constructor(_0x58a9f1,_0x45b1c9,_0x4eb127,_0x218d09,_0x570508){super(),this['name']='UploadError',this['message']=_0x58a9f1,this['code']=_0x45b1c9,this['request']=_0x4eb127,this['response']=_0x218d09,this['headers']=_0x570508,Object['setPrototypeOf'](this,_0x15cbda['prototype']);}}const _0x20593d=_0x264787=>{const _0x42fa0d=new URLSearchParams();for(const [_0x4e0289,_0x15db30]of Object['entries'](_0x264787))_0x15db30&&'object'==typeof _0x15db30&&!Array['isArray'](_0x15db30)?Object['entries'](_0x15db30)['filter'](_0x38c9f4=>_0x38c9f4[0x1]??!0x1)['forEach'](_0x23c84b=>_0x42fa0d['set'](_0x4e0289+'['+_0x23c84b[0x0]+']',String(_0x23c84b[0x1]))):Array['isArray'](_0x15db30)?_0x15db30['forEach'](_0x3afacf=>{_0x42fa0d['append'](_0x4e0289+'[]',_0x3afacf);}):'string'==typeof _0x15db30&&_0x15db30?_0x42fa0d['set'](_0x4e0289,_0x15db30):'number'==typeof _0x15db30&&_0x42fa0d['set'](_0x4e0289,_0x15db30['toString']());return _0x42fa0d['toString']();},getUrl=(_0x48821b,_0x325eac,_0x2d323c)=>{const _0x548dbd=new URL(_0x48821b);return _0x548dbd['pathname']=(_0x548dbd['pathname']+_0x325eac)['replace']('//','/'),_0x2d323c&&(_0x548dbd['search']=_0x20593d(_0x2d323c)),_0x548dbd['toString']();};var _0x2b3897='6.18.2';const _0x420182='UploadcareUploadClient',_0x2ff805=_0x2b3897;function getUserAgent(_0x56ba1d){return getUserAgent$1({'libraryName':_0x420182,'libraryVersion':_0x2ff805,..._0x56ba1d});}const _0x498ea7='RequestThrottledError',_0x200814=0x3a98,_0x5d4376=0x3e8;function getTimeoutFromThrottledRequest(_0x79b257){const {headers:_0x289849}=_0x79b257||{};if(!_0x289849||'string'!=typeof _0x289849['retry-after'])return _0x200814;const _0x300da6=parseInt(_0x289849['retry-after'],0xa);return Number['isFinite'](_0x300da6)?0x3e8*_0x300da6:_0x200814;}function retryIfFailed(_0xb40078,_0x30612e){const {retryThrottledRequestMaxTimes:_0x3ba762,retryNetworkErrorMaxTimes:_0x5a3538}=_0x30612e;return retrier(({attempt:_0x1f1b43,retry:_0xaa6e9b})=>_0xb40078()['catch'](_0x252581=>{if('response'in _0x252581&&_0x252581?.['code']===_0x498ea7&&_0x1f1b43<_0x3ba762)return _0xaa6e9b(getTimeoutFromThrottledRequest(_0x252581));if(_0x252581 instanceof NetworkError&&_0x1f1b43<_0x5a3538)return _0xaa6e9b((_0x1f1b43+0x1)*_0x5d4376);throw _0x252581;}));}const getContentType=_0x3e6fb1=>{let _0x510c58='';return(_0x22a629(_0x3e6fb1)||_0x226229(_0x3e6fb1)||isReactNativeAsset(_0x3e6fb1))&&(_0x510c58=_0x3e6fb1['type']),_0x510c58||defaultContentType;},getFileName=_0x5c072c=>{let _0x3199ef='';return _0x226229(_0x5c072c)&&_0x5c072c['name']?_0x3199ef=_0x5c072c['name']:_0x22a629(_0x5c072c)||_0x4cf682()?_0x3199ef='':isReactNativeAsset(_0x5c072c)&&_0x5c072c['name']&&(_0x3199ef=_0x5c072c['name']),_0x3199ef||defaultFilename;};function getStoreValue(_0x1b7429){return void 0x0===_0x1b7429||'auto'===_0x1b7429?'auto':_0x1b7429?'1':'0';}function _0x14b884(_0x28f6e3,{publicKey:_0x3accb2,fileName:_0x23522b,contentType:_0x3bc00b,baseURL:_0x2673e0=defaultSettings['baseURL'],secureSignature:_0x4fd30,secureExpire:_0x30df75,store:_0xde91ae,signal:_0x27d2d1,onProgress:_0x8b9e82,source:_0x58d1d0='local',integration:_0xdbe90e,userAgent:_0x3a140a,retryThrottledRequestMaxTimes:_0x4b586b=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x301ff4=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x1a0f56}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x2673e0,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x3accb2,'integration':_0xdbe90e,'userAgent':_0x3a140a})},'data':buildFormData({'file':{'data':_0x28f6e3,'name':_0x23522b||getFileName(_0x28f6e3),'contentType':_0x3bc00b||getContentType(_0x28f6e3)},'UPLOADCARE_PUB_KEY':_0x3accb2,'UPLOADCARE_STORE':getStoreValue(_0xde91ae),'signature':_0x4fd30,'expire':_0x30df75,'source':_0x58d1d0,'metadata':_0x1a0f56}),'signal':_0x27d2d1,'onProgress':_0x8b9e82})['then'](({data:_0x246e3e,headers:_0xd6af33,request:_0x3d0152})=>{const _0x1123eb=_0x207d48(JSON['parse'](_0x246e3e));if('error'in _0x1123eb)throw new _0x15cbda(_0x1123eb['error']['content'],_0x1123eb['error']['errorCode'],_0x3d0152,_0x1123eb,_0xd6af33);return _0x1123eb;}),{'retryNetworkErrorMaxTimes':_0x301ff4,'retryThrottledRequestMaxTimes':_0x4b586b});}var _0x4a428e,Status;function _0x280cff(_0x1b36a0,{publicKey:_0x20c543,baseURL:_0x5079f3=defaultSettings['baseURL'],store:_0x151f23,fileName:_0x502c5b,checkForUrlDuplicates:_0x4e33ae,saveUrlForRecurrentUploads:_0x2e0e43,secureSignature:_0x4bae6e,secureExpire:_0xed7725,source:_0x34bfe3='url',signal:_0x1f638e,integration:_0x1924e5,userAgent:_0x53a0ef,retryThrottledRequestMaxTimes:_0x49836c=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x4e13df=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0x3033d6}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x20c543,'integration':_0x1924e5,'userAgent':_0x53a0ef})},'url':getUrl(_0x5079f3,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x20c543,'source_url':_0x1b36a0,'store':getStoreValue(_0x151f23),'filename':_0x502c5b,'check_URL_duplicates':_0x4e33ae?0x1:void 0x0,'save_URL_duplicates':_0x2e0e43?0x1:void 0x0,'signature':_0x4bae6e,'expire':_0xed7725,'source':_0x34bfe3,'metadata':_0x3033d6}),'signal':_0x1f638e})['then'](({data:_0x991203,headers:_0x574ff4,request:_0x47572d})=>{const _0x4779e9=_0x207d48(JSON['parse'](_0x991203));if('error'in _0x4779e9)throw new _0x15cbda(_0x4779e9['error']['content'],_0x4779e9['error']['errorCode'],_0x47572d,_0x4779e9,_0x574ff4);return _0x4779e9;}),{'retryNetworkErrorMaxTimes':_0x4e13df,'retryThrottledRequestMaxTimes':_0x49836c});}!function(_0x477440){_0x477440['Token']='token',_0x477440['FileInfo']='file_info';}(_0x4a428e||(_0x4a428e={})),function(_0x3353f4){_0x3353f4['Unknown']='unknown',_0x3353f4['Waiting']='waiting',_0x3353f4['Progress']='progress',_0x3353f4['Error']='error',_0x3353f4['Success']='success';}(Status||(Status={}));const _0x3a5faf=_0x5395c8=>'status'in _0x5395c8&&_0x5395c8['status']===Status['Error'];function fromUrlStatus(_0x2829da,{publicKey:_0x5df0f2,baseURL:_0x8c4b40=defaultSettings['baseURL'],signal:_0x197ab8,integration:_0x5b83e5,userAgent:_0xb38e2b,retryThrottledRequestMaxTimes:_0x3cdfb1=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x44cb2d=defaultSettings['retryNetworkErrorMaxTimes']}={}){return retryIfFailed(()=>request({'method':'GET','headers':_0x5df0f2?{'X-UC-User-Agent':getUserAgent({'publicKey':_0x5df0f2,'integration':_0x5b83e5,'userAgent':_0xb38e2b})}:void 0x0,'url':getUrl(_0x8c4b40,'/from_url/status/',{'jsonerrors':0x1,'token':_0x2829da}),'signal':_0x197ab8})['then'](({data:_0x39e52f,headers:_0x3ff26a,request:_0x59947d})=>{const _0x1867f1=_0x207d48(JSON['parse'](_0x39e52f));if('error'in _0x1867f1&&!_0x3a5faf(_0x1867f1))throw new _0x15cbda(_0x1867f1['error']['content'],_0x1867f1['error']['errorCode'],_0x59947d,_0x1867f1,_0x3ff26a);return _0x1867f1;}),{'retryNetworkErrorMaxTimes':_0x44cb2d,'retryThrottledRequestMaxTimes':_0x3cdfb1});}function _0x57d313(_0x1e9f0c,{publicKey:_0x46ae40,baseURL:_0x4a39ad=defaultSettings['baseURL'],jsonpCallback:_0x289e68,secureSignature:_0x22e1f0,secureExpire:_0xdd6515,signal:_0x1ce4c1,source:_0x5108ee,integration:_0x1af744,userAgent:_0x3f0e2e,retryThrottledRequestMaxTimes:_0xdffede=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x44ced6=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x46ae40,'integration':_0x1af744,'userAgent':_0x3f0e2e})},'url':getUrl(_0x4a39ad,'/group/',{'jsonerrors':0x1}),'data':buildFormData({'files':_0x1e9f0c,'callback':_0x289e68,'pub_key':_0x46ae40,'signature':_0x22e1f0,'expire':_0xdd6515,'source':_0x5108ee}),'signal':_0x1ce4c1})['then'](({data:_0xc6544,headers:_0x29f1cf,request:_0x2fc6e7})=>{const _0x2ad92a=_0x207d48(JSON['parse'](_0xc6544));if('error'in _0x2ad92a)throw new _0x15cbda(_0x2ad92a['error']['content'],_0x2ad92a['error']['errorCode'],_0x2fc6e7,_0x2ad92a,_0x29f1cf);return _0x2ad92a;}),{'retryNetworkErrorMaxTimes':_0x44ced6,'retryThrottledRequestMaxTimes':_0xdffede});}function _0x317d7c(_0x42f180,{publicKey:_0x20ad5c,baseURL:_0x36322a=defaultSettings['baseURL'],signal:_0x4f62e0,source:_0x8fffd5,integration:_0x199871,userAgent:_0x1d92d9,retryThrottledRequestMaxTimes:_0x19909b=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x595a5f=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'GET','headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x20ad5c,'integration':_0x199871,'userAgent':_0x1d92d9})},'url':getUrl(_0x36322a,'/info/',{'jsonerrors':0x1,'pub_key':_0x20ad5c,'file_id':_0x42f180,'source':_0x8fffd5}),'signal':_0x4f62e0})['then'](({data:_0x3bf39c,headers:_0x56738e,request:_0xb11c6b})=>{const _0x27b283=_0x207d48(JSON['parse'](_0x3bf39c));if('error'in _0x27b283)throw new _0x15cbda(_0x27b283['error']['content'],_0x27b283['error']['errorCode'],_0xb11c6b,_0x27b283,_0x56738e);return _0x27b283;}),{'retryThrottledRequestMaxTimes':_0x19909b,'retryNetworkErrorMaxTimes':_0x595a5f});}function multipartStart(_0x40a76a,{publicKey:_0x18de93,contentType:_0x2bfab5,fileName:_0x1fea02,multipartChunkSize:_0x236fbd=defaultSettings['multipartChunkSize'],baseURL:_0x468a05='',secureSignature:_0x2a4a67,secureExpire:_0x22eb50,store:_0x271fc3,signal:_0xb9f876,source:_0x4c2577='local',integration:_0x4cb85c,userAgent:_0x4e081c,retryThrottledRequestMaxTimes:_0x3c8894=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x16df80=defaultSettings['retryNetworkErrorMaxTimes'],metadata:_0xbc548e}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x468a05,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x18de93,'integration':_0x4cb85c,'userAgent':_0x4e081c})},'data':buildFormData({'filename':_0x1fea02||defaultFilename,'size':_0x40a76a,'content_type':_0x2bfab5||defaultContentType,'part_size':_0x236fbd,'UPLOADCARE_STORE':getStoreValue(_0x271fc3),'UPLOADCARE_PUB_KEY':_0x18de93,'signature':_0x2a4a67,'expire':_0x22eb50,'source':_0x4c2577,'metadata':_0xbc548e}),'signal':_0xb9f876})['then'](({data:_0x2118a0,headers:_0x56669d,request:_0x137d83})=>{const _0x2a09ad=_0x207d48(JSON['parse'](_0x2118a0));if('error'in _0x2a09ad)throw new _0x15cbda(_0x2a09ad['error']['content'],_0x2a09ad['error']['errorCode'],_0x137d83,_0x2a09ad,_0x56669d);return _0x2a09ad['parts']=Object['keys'](_0x2a09ad['parts'])['map'](_0x4d486d=>_0x2a09ad['parts'][Number(_0x4d486d)]),_0x2a09ad;}),{'retryThrottledRequestMaxTimes':_0x3c8894,'retryNetworkErrorMaxTimes':_0x16df80});}function multipartUpload(_0x33a88a,_0x334491,{contentType:_0x3f4b62,signal:_0x4f46d2,onProgress:_0xa8863f,retryThrottledRequestMaxTimes:_0x4cd5e1=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0x42c0b9=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'PUT','url':_0x334491,'data':_0x33a88a,'onProgress':_0xa8863f,'signal':_0x4f46d2,'headers':{'Content-Type':_0x3f4b62||defaultContentType}})['then'](_0xac1024=>(_0xa8863f&&_0xa8863f({'isComputable':!0x0,'value':0x1}),_0xac1024))['then'](({status:_0x4bde8c})=>({'code':_0x4bde8c})),{'retryThrottledRequestMaxTimes':_0x4cd5e1,'retryNetworkErrorMaxTimes':_0x42c0b9});}function multipartComplete(_0x407c2b,{publicKey:_0x25cff3,baseURL:_0x1433d3=defaultSettings['baseURL'],source:_0x5e37e0='local',signal:_0xfad46,integration:_0x5eaa45,userAgent:_0x2c6538,retryThrottledRequestMaxTimes:_0x58a678=defaultSettings['retryThrottledRequestMaxTimes'],retryNetworkErrorMaxTimes:_0xc60f7e=defaultSettings['retryNetworkErrorMaxTimes']}){return retryIfFailed(()=>request({'method':'POST','url':getUrl(_0x1433d3,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':getUserAgent({'publicKey':_0x25cff3,'integration':_0x5eaa45,'userAgent':_0x2c6538})},'data':buildFormData({'uuid':_0x407c2b,'UPLOADCARE_PUB_KEY':_0x25cff3,'source':_0x5e37e0}),'signal':_0xfad46})['then'](({data:_0x19ee64,headers:_0x40337d,request:_0x5e93d5})=>{const _0x5eb7e7=_0x207d48(JSON['parse'](_0x19ee64));if('error'in _0x5eb7e7)throw new _0x15cbda(_0x5eb7e7['error']['content'],_0x5eb7e7['error']['errorCode'],_0x5e93d5,_0x5eb7e7,_0x40337d);return _0x5eb7e7;}),{'retryThrottledRequestMaxTimes':_0x58a678,'retryNetworkErrorMaxTimes':_0xc60f7e});}function _0x208ccd(_0x4923c1,{publicKey:_0x29875e,baseURL:_0x41b088,source:_0x3d018f,integration:_0x1ecd1c,userAgent:_0x1229b6,retryThrottledRequestMaxTimes:_0x78d276,retryNetworkErrorMaxTimes:_0x529c10,signal:_0x6fa266,onProgress:_0x41a96f}){return _0x5cfb30({'check':_0x323126=>_0x317d7c(_0x4923c1,{'publicKey':_0x29875e,'baseURL':_0x41b088,'signal':_0x323126,'source':_0x3d018f,'integration':_0x1ecd1c,'userAgent':_0x1229b6,'retryThrottledRequestMaxTimes':_0x78d276,'retryNetworkErrorMaxTimes':_0x529c10})['then'](_0x22c1e5=>_0x22c1e5['isReady']?_0x22c1e5:(_0x41a96f&&_0x41a96f({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x6fa266});}function _0x500717(_0x598a01){return'defaultEffects'in _0x598a01;}class _0x4b697b{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x5a8b58,{baseCDN:_0x107150=defaultSettings['baseCDN'],fileName:_0x38b9d8}={}){const {uuid:_0x106516,s3Bucket:_0x8c361c}=_0x5a8b58,_0x1776dd=getUrl(_0x107150,_0x106516+'/'),_0x203eaf=_0x8c361c?getUrl('https://'+_0x8c361c+'.s3.amazonaws.com/',_0x106516+'/'+_0x5a8b58['filename']):null;this['uuid']=_0x106516,this['name']=_0x38b9d8||_0x5a8b58['filename'],this['size']=_0x5a8b58['size'],this['isStored']=_0x5a8b58['isStored'],this['isImage']=_0x5a8b58['isImage'],this['mimeType']=_0x5a8b58['mimeType'],this['cdnUrl']=_0x1776dd,this['originalFilename']=_0x5a8b58['originalFilename'],this['imageInfo']=_0x5a8b58['imageInfo'],this['videoInfo']=_0x5a8b58['videoInfo'],this['contentInfo']=_0x5a8b58['contentInfo'],this['metadata']=_0x5a8b58['metadata']||null,this['s3Bucket']=_0x8c361c||null,this['s3Url']=_0x203eaf,_0x500717(_0x5a8b58)&&(this['defaultEffects']=_0x5a8b58['defaultEffects']);}}const uploadDirect=(_0x13b16f,{publicKey:_0x263d79,fileName:_0x3fdb41,baseURL:_0x4cfd26,secureSignature:_0x4a101e,secureExpire:_0x1a07ba,store:_0xb44386,contentType:_0x829f3a,signal:_0x4a0b04,onProgress:_0x2b204d,source:_0x478f05,integration:_0x322f1c,userAgent:_0x481291,retryThrottledRequestMaxTimes:_0x16a04a,retryNetworkErrorMaxTimes:_0x460c88,baseCDN:_0x215c47,metadata:_0xa2a49c})=>_0x14b884(_0x13b16f,{'publicKey':_0x263d79,'fileName':_0x3fdb41,'contentType':_0x829f3a,'baseURL':_0x4cfd26,'secureSignature':_0x4a101e,'secureExpire':_0x1a07ba,'store':_0xb44386,'signal':_0x4a0b04,'onProgress':_0x2b204d,'source':_0x478f05,'integration':_0x322f1c,'userAgent':_0x481291,'retryThrottledRequestMaxTimes':_0x16a04a,'retryNetworkErrorMaxTimes':_0x460c88,'metadata':_0xa2a49c})['then'](({file:_0x20652c})=>_0x208ccd(_0x20652c,{'publicKey':_0x263d79,'baseURL':_0x4cfd26,'source':_0x478f05,'integration':_0x322f1c,'userAgent':_0x481291,'retryThrottledRequestMaxTimes':_0x16a04a,'retryNetworkErrorMaxTimes':_0x460c88,'onProgress':_0x2b204d,'signal':_0x4a0b04}))['then'](_0x3f90a6=>new _0x4b697b(_0x3f90a6,{'baseCDN':_0x215c47})),_0x356b6d=(_0x42e2fb,{publicKey:_0x58e3e0,fileName:_0x1845ec,baseURL:_0x1967c7,signal:_0x26c139,onProgress:_0x21d824,source:_0x1f4f7e,integration:_0x5f3bab,userAgent:_0x44ce54,retryThrottledRequestMaxTimes:_0x50a31d,retryNetworkErrorMaxTimes:_0x47b57b,baseCDN:_0x3c439d})=>_0x317d7c(_0x42e2fb,{'publicKey':_0x58e3e0,'baseURL':_0x1967c7,'signal':_0x26c139,'source':_0x1f4f7e,'integration':_0x5f3bab,'userAgent':_0x44ce54,'retryThrottledRequestMaxTimes':_0x50a31d,'retryNetworkErrorMaxTimes':_0x47b57b})['then'](_0x573aba=>new _0x4b697b(_0x573aba,{'baseCDN':_0x3c439d,'fileName':_0x1845ec}))['then'](_0x4b26ab=>(_0x21d824&&_0x21d824({'isComputable':!0x0,'value':0x1}),_0x4b26ab)),_0x1cd47=(_0x56b129,{signal:_0x58d5bd}={})=>{let _0x29bd12=null,_0x42bd81=null;const _0x1790c6=_0x56b129['map'](()=>new AbortController());return _0x2a803d(_0x58d5bd,()=>{_0x1790c6['forEach'](_0x239b0d=>_0x239b0d['abort']());}),Promise['all'](_0x56b129['map']((_0x11d939,_0x3efa45)=>{const _0x2c1926=(_0x1ea5ed=>()=>{_0x42bd81=_0x1ea5ed,_0x1790c6['forEach']((_0x1b8a84,_0xbfb75)=>_0xbfb75!==_0x1ea5ed&&_0x1b8a84['abort']());})(_0x3efa45);return Promise['resolve']()['then'](()=>_0x11d939({'stopRace':_0x2c1926,'signal':_0x1790c6[_0x3efa45]['signal']}))['then'](_0x283e00=>(_0x2c1926(),_0x283e00))['catch'](_0x23db50=>(_0x29bd12=_0x23db50,null));}))['then'](_0x329323=>{if(null===_0x42bd81)throw _0x29bd12;return _0x329323[_0x42bd81];});};var WebSocket$1=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0xac809a,_0x345669){this['events'][_0xac809a]?.['forEach'](_0x40bb30=>_0x40bb30(_0x345669));}['on'](_0x14e587,_0x2145b5){this['events'][_0x14e587]=this['events'][_0x14e587]||[],this['events'][_0x14e587]['push'](_0x2145b5);}['off'](_0x3f0efd,_0x1636d7){this['events'][_0x3f0efd]=_0x1636d7?this['events'][_0x3f0efd]['filter'](_0x2d5768=>_0x2d5768!==_0x1636d7):[];}}const _0x45ae8c=(_0xb2aa7a,_0x4d404f)=>'success'===_0xb2aa7a?{'status':Status['Success'],..._0x4d404f}:'progress'===_0xb2aa7a?{'status':Status['Progress'],..._0x4d404f}:{'status':Status['Error'],..._0x4d404f};class _0x33da34{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x4653e3,_0x22d61e=0x7530){this['key']=_0x4653e3,this['disconnectTime']=_0x22d61e;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x39ab68='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new WebSocket$1(_0x39ab68),this['ws']['addEventListener']('error',_0x1f0308=>{this['emmitter']['emit']('error',new Error(_0x1f0308['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x2b631d=>this['send'](_0x2b631d['event'],_0x2b631d['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x8dfc91=>{const _0x448933=JSON['parse'](_0x8dfc91['data']['toString']());switch(_0x448933['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'](_0x448933['channel'],_0x45ae8c(_0x448933['event'],JSON['parse'](_0x448933['data'])));}});}}['disconnect'](){const _0x168725=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x168725();},this['disconnectTime']):_0x168725();}['send'](_0x166c14,_0x40a29d){const _0x415fe2=JSON['stringify']({'event':_0x166c14,'data':_0x40a29d});this['ws']?.['send'](_0x415fe2);}['subscribe'](_0x241ffb,_0x1ff330){this['subscribers']+=0x1,this['connect']();const _0x2b740e='task-status-'+_0x241ffb,_0x4f355f={'event':'pusher:subscribe','data':{'channel':_0x2b740e}};this['emmitter']['on'](_0x2b740e,_0x1ff330),this['isConnected']?this['send'](_0x4f355f['event'],_0x4f355f['data']):this['queue']['push'](_0x4f355f);}['unsubscribe'](_0x20749a){this['subscribers']-=0x1;const _0x38ccad='task-status-'+_0x20749a,_0x2bbc9f={'event':'pusher:unsubscribe','data':{'channel':_0x38ccad}};this['emmitter']['off'](_0x38ccad),this['isConnected']?this['send'](_0x2bbc9f['event'],_0x2bbc9f['data']):this['queue']=this['queue']['filter'](_0x1e4e6d=>_0x1e4e6d['data']['channel']!==_0x38ccad),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x28f2aa){return this['emmitter']['on']('error',_0x28f2aa),()=>this['emmitter']['off']('error',_0x28f2aa);}}let _0x3c0eb3=null;const getPusher=_0x752661=>{if(!_0x3c0eb3){const _0x4bfcde='undefined'==typeof window?0x0:0x7530;_0x3c0eb3=new _0x33da34(_0x752661,_0x4bfcde);}return _0x3c0eb3;},preconnect=_0x3339fd=>{getPusher(_0x3339fd)['connect']();};function pollStrategy({token:_0x2b3d01,publicKey:_0x43a184,baseURL:_0x1e3a05,integration:_0x292935,userAgent:_0x369fc6,retryThrottledRequestMaxTimes:_0x2587c7,retryNetworkErrorMaxTimes:_0x816e14,onProgress:_0x269211,signal:_0x3e9aee}){return _0x5cfb30({'check':_0x19e38c=>fromUrlStatus(_0x2b3d01,{'publicKey':_0x43a184,'baseURL':_0x1e3a05,'integration':_0x292935,'userAgent':_0x369fc6,'retryThrottledRequestMaxTimes':_0x2587c7,'retryNetworkErrorMaxTimes':_0x816e14,'signal':_0x19e38c})['then'](_0x22db88=>{switch(_0x22db88['status']){case Status['Error']:return new _0x15cbda(_0x22db88['error'],_0x22db88['errorCode']);case Status['Waiting']:return!0x1;case Status['Unknown']:return new _0x15cbda('Token\x20\x22'+_0x2b3d01+'\x22\x20was\x20not\x20found.');case Status['Progress']:return _0x269211&&('unknown'===_0x22db88['total']?_0x269211({'isComputable':!0x1}):_0x269211({'isComputable':!0x0,'value':_0x22db88['done']/_0x22db88['total']})),!0x1;case Status['Success']:return _0x269211&&_0x269211({'isComputable':!0x0,'value':_0x22db88['done']/_0x22db88['total']}),_0x22db88;default:throw new Error('Unknown\x20status');}}),'signal':_0x3e9aee});}const pushStrategy=({token:_0x562b35,pusherKey:_0x1f5d41,signal:_0x406498,onProgress:_0x3da221})=>new Promise((_0xad3d2c,_0x4121f7)=>{const _0x5ee089=getPusher(_0x1f5d41),_0x296211=_0x5ee089['onError'](_0x4121f7),_0xfd0663=()=>{_0x296211(),_0x5ee089['unsubscribe'](_0x562b35);};_0x2a803d(_0x406498,()=>{_0xfd0663(),_0x4121f7(new _0x2168fd('pusher\x20cancelled'));}),_0x5ee089['subscribe'](_0x562b35,_0x2c6831=>{switch(_0x2c6831['status']){case Status['Progress']:_0x3da221&&('unknown'===_0x2c6831['total']?_0x3da221({'isComputable':!0x1}):_0x3da221({'isComputable':!0x0,'value':_0x2c6831['done']/_0x2c6831['total']}));break;case Status['Success']:_0xfd0663(),_0x3da221&&_0x3da221({'isComputable':!0x0,'value':_0x2c6831['done']/_0x2c6831['total']}),_0xad3d2c(_0x2c6831);break;case Status['Error']:_0xfd0663(),_0x4121f7(new _0x15cbda(_0x2c6831['msg'],_0x2c6831['error_code']));}});}),_0x3a9723=(_0xcfba57,{publicKey:_0x823987,fileName:_0x4a54ff,baseURL:_0x1c3258,baseCDN:_0x2ed7b2,checkForUrlDuplicates:_0x595d9b,saveUrlForRecurrentUploads:_0x33c283,secureSignature:_0x578a17,secureExpire:_0x15e2c9,store:_0x4b85ed,signal:_0xfda0ef,onProgress:_0x482c3d,source:_0x17cb58,integration:_0x4739af,userAgent:_0x2c6529,retryThrottledRequestMaxTimes:_0x2cc0c0,pusherKey:_0x4827b3=defaultSettings['pusherKey'],metadata:_0x1c6a46})=>Promise['resolve'](preconnect(_0x4827b3))['then'](()=>_0x280cff(_0xcfba57,{'publicKey':_0x823987,'fileName':_0x4a54ff,'baseURL':_0x1c3258,'checkForUrlDuplicates':_0x595d9b,'saveUrlForRecurrentUploads':_0x33c283,'secureSignature':_0x578a17,'secureExpire':_0x15e2c9,'store':_0x4b85ed,'signal':_0xfda0ef,'source':_0x17cb58,'integration':_0x4739af,'userAgent':_0x2c6529,'retryThrottledRequestMaxTimes':_0x2cc0c0,'metadata':_0x1c6a46}))['catch'](_0x4eea21=>{const _0x3ce943=getPusher(_0x4827b3);return _0x3ce943?.['disconnect'](),Promise['reject'](_0x4eea21);})['then'](_0x276344=>_0x276344['type']===_0x4a428e['FileInfo']?_0x276344:_0x1cd47([({signal:_0x22acf7})=>pollStrategy({'token':_0x276344['token'],'publicKey':_0x823987,'baseURL':_0x1c3258,'integration':_0x4739af,'userAgent':_0x2c6529,'retryThrottledRequestMaxTimes':_0x2cc0c0,'onProgress':_0x482c3d,'signal':_0x22acf7}),({signal:_0x3e6d1e})=>pushStrategy({'token':_0x276344['token'],'pusherKey':_0x4827b3,'signal':_0x3e6d1e,'onProgress':_0x482c3d})],{'signal':_0xfda0ef}))['then'](_0x5911a4=>{if(_0x5911a4 instanceof _0x15cbda)throw _0x5911a4;return _0x5911a4;})['then'](_0x2118f4=>_0x208ccd(_0x2118f4['uuid'],{'publicKey':_0x823987,'baseURL':_0x1c3258,'integration':_0x4739af,'userAgent':_0x2c6529,'retryThrottledRequestMaxTimes':_0x2cc0c0,'onProgress':_0x482c3d,'signal':_0xfda0ef}))['then'](_0x707384=>new _0x4b697b(_0x707384,{'baseCDN':_0x2ed7b2})),_0x38a49a=new WeakMap(),getBlobFromReactNativeAsset=async _0x29a961=>{if(_0x38a49a['has'](_0x29a961))return _0x38a49a['get'](_0x29a961);const _0x21cd47=await fetch(_0x29a961['uri'])['then'](_0x5d8d4f=>_0x5d8d4f['blob']());return _0x38a49a['set'](_0x29a961,_0x21cd47),_0x21cd47;},getFileSize=async _0x47ec86=>{if(_0x226229(_0x47ec86)||_0x22a629(_0x47ec86))return _0x47ec86['size'];if(isReactNativeAsset(_0x47ec86))return(await getBlobFromReactNativeAsset(_0x47ec86))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},isMultipart=(_0x385eb0,_0x1e5fc7=defaultSettings['multipartMinFileSize'])=>_0x385eb0>=_0x1e5fc7,_0x58dbec=_0x2f3653=>{const _0x5dca78=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!isFileData(_0x2f3653)&&_0x5dca78['test'](_0x2f3653);},_0x16ff0c=_0x2e5c8e=>{const _0x4f2f4e=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!isFileData(_0x2e5c8e)&&_0x4f2f4e['test'](_0x2e5c8e);},runWithConcurrency=(_0x48a8a1,_0x180a42)=>new Promise((_0x111e61,_0x38532e)=>{const _0x1f6943=[];let _0x1782f4=!0x1,_0x38b801=_0x180a42['length'];const _0x103c60=[..._0x180a42],_0x5c447e=()=>{const _0x17834e=_0x180a42['length']-_0x103c60['length'],_0x20e34e=_0x103c60['shift']();_0x20e34e&&_0x20e34e()['then'](_0x478714=>{_0x1782f4||(_0x1f6943[_0x17834e]=_0x478714,_0x38b801-=0x1,_0x38b801?_0x5c447e():_0x111e61(_0x1f6943));})['catch'](_0x307646=>{_0x1782f4=!0x0,_0x38532e(_0x307646);});};for(let _0x5b2544=0x0;_0x5b2544<_0x48a8a1;_0x5b2544++)_0x5c447e();}),_0xecf40=(_0x2645e1,_0x574a0d,_0x12fd1b,_0x5fb67b)=>{const _0xf81fd9=_0x5fb67b*_0x574a0d,_0x30027d=Math['min'](_0xf81fd9+_0x5fb67b,_0x12fd1b);return _0x2645e1['slice'](_0xf81fd9,_0x30027d);},_0x2482e1=async(_0x375ee9,_0xd0ce7e,_0x2d787c)=>_0x3daaac=>_0xecf40(_0x375ee9,_0x3daaac,_0xd0ce7e,_0x2d787c),uploadPart=(_0x3c42ca,_0x3085e1,{publicKey:_0x1786a9,contentType:_0x42f235,onProgress:_0x46564e,signal:_0x202289,integration:_0x231a03,retryThrottledRequestMaxTimes:_0x54f65c,retryNetworkErrorMaxTimes:_0x54369a})=>multipartUpload(_0x3c42ca,_0x3085e1,{'contentType':_0x42f235,'onProgress':_0x46564e,'signal':_0x202289,'retryThrottledRequestMaxTimes':_0x54f65c,'retryNetworkErrorMaxTimes':_0x54369a}),uploadMultipart=async(_0x5e1255,{publicKey:_0x56fbd1,fileName:_0x23d8d3,fileSize:_0x7a2fa7,baseURL:_0x2c4fa5,secureSignature:_0x30f4e7,secureExpire:_0x82e432,store:_0x3245ef,signal:_0x23c80b,onProgress:_0x417048,source:_0x512672,integration:_0x4981c0,userAgent:_0x7878f3,retryThrottledRequestMaxTimes:_0x40ccef,retryNetworkErrorMaxTimes:_0x487496,contentType:_0x324f3c,multipartChunkSize:_0x4329fa=defaultSettings['multipartChunkSize'],maxConcurrentRequests:_0xd2c9cb=defaultSettings['maxConcurrentRequests'],baseCDN:_0x29fb99,metadata:_0xbdfd47})=>{const _0x4f8315=_0x7a2fa7??await getFileSize(_0x5e1255);let _0x81200c;const _0x3a3571=(_0x272b76,_0xa8a45c)=>{if(!_0x417048)return;_0x81200c||(_0x81200c=Array(_0x272b76)['fill'](0x0));const _0x173621=_0x3b2361=>_0x3b2361['reduce']((_0x568a42,_0x2c907f)=>_0x568a42+_0x2c907f,0x0);return _0x4b9b16=>{_0x4b9b16['isComputable']&&(_0x81200c[_0xa8a45c]=_0x4b9b16['value'],_0x417048({'isComputable':!0x0,'value':_0x173621(_0x81200c)/_0x272b76}));};};return _0x324f3c||=getContentType(_0x5e1255),multipartStart(_0x4f8315,{'publicKey':_0x56fbd1,'contentType':_0x324f3c,'fileName':_0x23d8d3||getFileName(_0x5e1255),'baseURL':_0x2c4fa5,'secureSignature':_0x30f4e7,'secureExpire':_0x82e432,'store':_0x3245ef,'signal':_0x23c80b,'source':_0x512672,'integration':_0x4981c0,'userAgent':_0x7878f3,'retryThrottledRequestMaxTimes':_0x40ccef,'retryNetworkErrorMaxTimes':_0x487496,'metadata':_0xbdfd47,'multipartChunkSize':_0x4329fa})['then'](async({uuid:_0x263dd4,parts:_0xa1c51d})=>{const _0x443c5b=await _0x2482e1(_0x5e1255,_0x4f8315,_0x4329fa);return Promise['all']([_0x263dd4,runWithConcurrency(_0xd2c9cb,_0xa1c51d['map']((_0x324803,_0x2666d1)=>()=>uploadPart(_0x443c5b(_0x2666d1),_0x324803,{'publicKey':_0x56fbd1,'contentType':_0x324f3c,'onProgress':_0x3a3571(_0xa1c51d['length'],_0x2666d1),'signal':_0x23c80b,'integration':_0x4981c0,'retryThrottledRequestMaxTimes':_0x40ccef,'retryNetworkErrorMaxTimes':_0x487496})))]);})['then'](([_0x3253c5])=>multipartComplete(_0x3253c5,{'publicKey':_0x56fbd1,'baseURL':_0x2c4fa5,'source':_0x512672,'integration':_0x4981c0,'userAgent':_0x7878f3,'retryThrottledRequestMaxTimes':_0x40ccef,'retryNetworkErrorMaxTimes':_0x487496}))['then'](_0x4bf199=>_0x4bf199['isReady']?_0x4bf199:_0x208ccd(_0x4bf199['uuid'],{'publicKey':_0x56fbd1,'baseURL':_0x2c4fa5,'source':_0x512672,'integration':_0x4981c0,'userAgent':_0x7878f3,'retryThrottledRequestMaxTimes':_0x40ccef,'retryNetworkErrorMaxTimes':_0x487496,'onProgress':_0x417048,'signal':_0x23c80b}))['then'](_0x49e186=>new _0x4b697b(_0x49e186,{'baseCDN':_0x29fb99}));};async function _0xe476b9(_0xa448b,{publicKey:_0x2907db,fileName:_0x9dd7ce,baseURL:_0x315b65=defaultSettings['baseURL'],secureSignature:_0x114828,secureExpire:_0x56eee6,store:_0x1b22c8,signal:_0x58905b,onProgress:_0x1e5579,source:_0x409d05,integration:_0x590816,userAgent:_0x44e2ec,retryThrottledRequestMaxTimes:_0x234a1a,retryNetworkErrorMaxTimes:_0x438193,contentType:_0x39b232,multipartMinFileSize:_0x27f192,multipartChunkSize:_0x59e818,maxConcurrentRequests:_0x18a84b,baseCDN:_0x4568ab=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x53d730,saveUrlForRecurrentUploads:_0x356782,pusherKey:_0x314f1a,metadata:_0x3b164d}){if(isFileData(_0xa448b)){const _0x3ce004=await getFileSize(_0xa448b);return isMultipart(_0x3ce004,_0x27f192)?uploadMultipart(_0xa448b,{'publicKey':_0x2907db,'contentType':_0x39b232,'multipartChunkSize':_0x59e818,'fileSize':_0x3ce004,'fileName':_0x9dd7ce,'baseURL':_0x315b65,'secureSignature':_0x114828,'secureExpire':_0x56eee6,'store':_0x1b22c8,'signal':_0x58905b,'onProgress':_0x1e5579,'source':_0x409d05,'integration':_0x590816,'userAgent':_0x44e2ec,'maxConcurrentRequests':_0x18a84b,'retryThrottledRequestMaxTimes':_0x234a1a,'retryNetworkErrorMaxTimes':_0x438193,'baseCDN':_0x4568ab,'metadata':_0x3b164d}):uploadDirect(_0xa448b,{'publicKey':_0x2907db,'fileName':_0x9dd7ce,'contentType':_0x39b232,'baseURL':_0x315b65,'secureSignature':_0x114828,'secureExpire':_0x56eee6,'store':_0x1b22c8,'signal':_0x58905b,'onProgress':_0x1e5579,'source':_0x409d05,'integration':_0x590816,'userAgent':_0x44e2ec,'retryThrottledRequestMaxTimes':_0x234a1a,'retryNetworkErrorMaxTimes':_0x438193,'baseCDN':_0x4568ab,'metadata':_0x3b164d});}if(_0x16ff0c(_0xa448b))return _0x3a9723(_0xa448b,{'publicKey':_0x2907db,'fileName':_0x9dd7ce,'baseURL':_0x315b65,'baseCDN':_0x4568ab,'checkForUrlDuplicates':_0x53d730,'saveUrlForRecurrentUploads':_0x356782,'secureSignature':_0x114828,'secureExpire':_0x56eee6,'store':_0x1b22c8,'signal':_0x58905b,'onProgress':_0x1e5579,'source':_0x409d05,'integration':_0x590816,'userAgent':_0x44e2ec,'retryThrottledRequestMaxTimes':_0x234a1a,'pusherKey':_0x314f1a,'metadata':_0x3b164d});if(_0x58dbec(_0xa448b))return _0x356b6d(_0xa448b,{'publicKey':_0x2907db,'fileName':_0x9dd7ce,'baseURL':_0x315b65,'signal':_0x58905b,'onProgress':_0x1e5579,'source':_0x409d05,'integration':_0x590816,'userAgent':_0x44e2ec,'retryThrottledRequestMaxTimes':_0x234a1a,'retryNetworkErrorMaxTimes':_0x438193,'baseCDN':_0x4568ab});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0xa448b+'\x22\x20is\x20not\x20supported');}class _0xf1fab3{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x5d6bb2,{baseCDN:_0x51e3cf=defaultSettings['baseCDN']}={}){this['uuid']=_0x5d6bb2['id'],this['filesCount']=_0x5d6bb2['filesCount'];const _0x2b7801=_0x5d6bb2['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x2b7801)['reduce']((_0x22d96f,_0x5628af)=>_0x22d96f+_0x5628af['size'],0x0),this['isStored']=!!_0x5d6bb2['datetimeStored'],this['isImage']=!!Object['values'](_0x2b7801)['filter'](_0x42c1b2=>_0x42c1b2['isImage'])['length'],this['cdnUrl']=_0x5d6bb2['cdnUrl'],this['files']=_0x2b7801['map'](_0x537d81=>new _0x4b697b(_0x537d81,{'baseCDN':_0x51e3cf})),this['createdAt']=_0x5d6bb2['datetimeCreated'],this['storedAt']=_0x5d6bb2['datetimeStored'];}}const isFileDataArray=_0x5d4a22=>{for(const _0xc52b31 of _0x5d4a22)if(!isFileData(_0xc52b31))return!0x1;return!0x0;},_0x13856e=_0x4dd93c=>{for(const _0x4390b9 of _0x4dd93c)if(!_0x58dbec(_0x4390b9))return!0x1;return!0x0;},_0x217583=_0x31f7a5=>{for(const _0x5a3737 of _0x31f7a5)if(!_0x16ff0c(_0x5a3737))return!0x1;return!0x0;};function _0x53b10c(_0x571748,{publicKey:_0x212a08,fileName:_0x38f84d,baseURL:_0x5748b6=defaultSettings['baseURL'],secureSignature:_0x50ff25,secureExpire:_0x3852d2,store:_0x1653a4,signal:_0x408146,onProgress:_0x229d9b,source:_0x505a61,integration:_0x485146,userAgent:_0x41f466,retryThrottledRequestMaxTimes:_0x5b480e,retryNetworkErrorMaxTimes:_0x436895,contentType:_0x357ecd,multipartChunkSize:_0x4ee242=defaultSettings['multipartChunkSize'],baseCDN:_0x3df3a9=defaultSettings['baseCDN'],checkForUrlDuplicates:_0x48f600,saveUrlForRecurrentUploads:_0x4dee87,jsonpCallback:_0x40ea9d}){if(!isFileDataArray(_0x571748)&&!_0x217583(_0x571748)&&!_0x13856e(_0x571748))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x571748+'\x22\x20is\x20not\x20supported');let _0x530b71,_0x399fc5=!0x0;const _0x257f92=_0x571748['length'],_0x497978=(_0xb4464a,_0x53409c)=>{if(!_0x229d9b)return;_0x530b71||(_0x530b71=Array(_0xb4464a)['fill'](0x0));const _0x4e6036=_0xcb0fab=>_0xcb0fab['reduce']((_0xe09733,_0x2625d2)=>_0xe09733+_0x2625d2)/_0xb4464a;return _0x2cadf8=>{if(!_0x2cadf8['isComputable']||!_0x399fc5)return _0x399fc5=!0x1,void _0x229d9b({'isComputable':!0x1});_0x530b71[_0x53409c]=_0x2cadf8['value'],_0x229d9b({'isComputable':!0x0,'value':_0x4e6036(_0x530b71)});};};return Promise['all'](_0x571748['map']((_0x23f3b1,_0x12806d)=>isFileData(_0x23f3b1)||_0x16ff0c(_0x23f3b1)?_0xe476b9(_0x23f3b1,{'publicKey':_0x212a08,'fileName':_0x38f84d,'baseURL':_0x5748b6,'secureSignature':_0x50ff25,'secureExpire':_0x3852d2,'store':_0x1653a4,'signal':_0x408146,'onProgress':_0x497978(_0x257f92,_0x12806d),'source':_0x505a61,'integration':_0x485146,'userAgent':_0x41f466,'retryThrottledRequestMaxTimes':_0x5b480e,'retryNetworkErrorMaxTimes':_0x436895,'contentType':_0x357ecd,'multipartChunkSize':_0x4ee242,'baseCDN':_0x3df3a9,'checkForUrlDuplicates':_0x48f600,'saveUrlForRecurrentUploads':_0x4dee87})['then'](_0x4a2eb2=>_0x4a2eb2['uuid']):_0x23f3b1))['then'](_0x22693b=>_0x57d313(_0x22693b,{'publicKey':_0x212a08,'baseURL':_0x5748b6,'jsonpCallback':_0x40ea9d,'secureSignature':_0x50ff25,'secureExpire':_0x3852d2,'signal':_0x408146,'source':_0x505a61,'integration':_0x485146,'userAgent':_0x41f466,'retryThrottledRequestMaxTimes':_0x5b480e,'retryNetworkErrorMaxTimes':_0x436895})['then'](_0x11220c=>new _0xf1fab3(_0x11220c,{'baseCDN':_0x3df3a9}))['then'](_0x52ef65=>(_0x229d9b&&_0x229d9b({'isComputable':!0x0,'value':0x1}),_0x52ef65)));}class _0x101e7a{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x1f71d0){this['_concurrency']=_0x1f71d0;}['run'](){const _0x4520f2=this['_concurrency']-this['_running'];for(let _0x2f9413=0x0;_0x2f9413<_0x4520f2;_0x2f9413++){const _0x44b0a3=this['_pending']['shift']();if(!_0x44b0a3)return;const _0x457521=this['_resolvers']['get'](_0x44b0a3),_0x226b91=this['_rejectors']['get'](_0x44b0a3);if(!_0x457521||!_0x226b91)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x44b0a3()['finally'](()=>{this['_resolvers']['delete'](_0x44b0a3),this['_rejectors']['delete'](_0x44b0a3),this['_running']-=0x1,this['run']();})['then'](_0x1fe656=>_0x457521(_0x1fe656))['catch'](_0x1ab847=>_0x226b91(_0x1ab847));}}['add'](_0x1ff5a6,{autoRun:_0x5e183a}={'autoRun':!0x0}){return new Promise((_0x54a6cb,_0x32d725)=>{this['_resolvers']['set'](_0x1ff5a6,_0x54a6cb),this['_rejectors']['set'](_0x1ff5a6,_0x32d725),this['_pending']['push'](_0x1ff5a6),_0x5e183a&&this['run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0xdd13b8){this['_concurrency']=_0xdd13b8,this['run']();}get['concurrency'](){return this['_concurrency'];}}const _0x52e5ed={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x21e1fe(_0x2dd77c,_0x58617b){_0x58617b['tabIndex']=0x0,_0x58617b['focus'](),_0x2dd77c['tabIndex']=-0x1;}function findGroupNodeByEventTarget(_0x2b2e89){let _0x1354ee=_0x2b2e89['role']||_0x2b2e89['type']||_0x2b2e89['tagName'];if(!_0x1354ee)return null;let _0x56d9b8=_0x52e5ed[_0x1354ee['toLowerCase']()];if(!_0x56d9b8)return null;for(let _0x455718 of _0x56d9b8){let _0x26230b=_0x2b2e89['closest']('[role='+_0x455718+']');if(_0x26230b)return _0x26230b;}}function getItems(_0x281edd,_0x5e7d81){return'toolbar'===_0x5e7d81['role']?getToolbarItems(_0x5e7d81):_0x5e7d81['querySelectorAll']('[role='+_0x281edd['role']+']');}function getToolbarItems(_0x5ad6e2){return[..._0x5ad6e2['querySelectorAll']('*')]['filter'](_0x84eaa6=>'button'===_0x84eaa6['role']||'button'===_0x84eaa6['type']||'checkbox'===_0x84eaa6['role']||'checkbox'===_0x84eaa6['type']);}function isHorizontalOrientation(_0x3ce2a4){let _0x33f9f7=_0x3ce2a4['getAttribute']('aria-orientation');if('vertical'===_0x33f9f7)return!0x1;if('horizontal'===_0x33f9f7)return!0x0;let _0x4b0e80=_0x3ce2a4['role'];return'menubar'===_0x4b0e80||'tablist'===_0x4b0e80||'toolbar'===_0x4b0e80;}function _0x207ed1(_0x2956b2){return _0x5bfcee=>{let _0x54f913=!0x1,_0x1a1e82=0x0,_0x8cbe='';function _0x41427c(_0x558b8e){let _0x54203c=findGroupNodeByEventTarget(_0x558b8e['target']);if(!_0x54203c)return void _0x488c40();let _0x3ae215=getItems(_0x558b8e['target'],_0x54203c),_0x4a24f1=Array['from'](_0x3ae215)['indexOf'](_0x558b8e['target']),_0x1fe561='ArrowDown',_0x47a88a='ArrowUp';if(isHorizontalOrientation(_0x54203c)&&('rtl'===_0x5bfcee['document']['dir']?(_0x1fe561='ArrowLeft',_0x47a88a='ArrowRight'):(_0x1fe561='ArrowRight',_0x47a88a='ArrowLeft')),_0x558b8e['key']===_0x1fe561)_0x558b8e['preventDefault'](),_0x21e1fe(_0x558b8e['target'],_0x3ae215[_0x4a24f1+0x1]||_0x3ae215[0x0]);else{if(_0x558b8e['key']===_0x47a88a)_0x558b8e['preventDefault'](),_0x21e1fe(_0x558b8e['target'],_0x3ae215[_0x4a24f1-0x1]||_0x3ae215[_0x3ae215['length']-0x1]);else{if('Home'===_0x558b8e['key'])_0x558b8e['preventDefault'](),_0x21e1fe(_0x558b8e['target'],_0x3ae215[0x0]);else{if('End'===_0x558b8e['key'])_0x558b8e['preventDefault'](),_0x21e1fe(_0x558b8e['target'],_0x3ae215[_0x3ae215['length']-0x1]);else{if(0x1===_0x558b8e['key']['length']&&'tablist'!==_0x54203c['role']){let _0x206fe0=Date['now']();_0x206fe0-_0x1a1e82<=0x12c?_0x8cbe+=_0x558b8e['key']['toLowerCase']():_0x8cbe=_0x558b8e['key']['toLowerCase'](),_0x1a1e82=_0x206fe0;let _0x2381da=Array['from'](_0x3ae215)['find'](_0x568802=>_0x568802['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x8cbe));_0x2381da&&(_0x558b8e['preventDefault'](),_0x21e1fe(_0x558b8e['target'],_0x2381da));}}}}}}function _0x488c40(){_0x54f913=!0x1,_0x5bfcee['removeEventListener']('keydown',_0x41427c);}function _0x3a7354(_0x5266ee){let _0x4e25d7=findGroupNodeByEventTarget(_0x5266ee['target']);if(_0x4e25d7){_0x54f913||(_0x54f913=!0x0,_0x5bfcee['addEventListener']('keydown',_0x41427c));let _0x2d3c70=getItems(_0x5266ee['target'],_0x4e25d7);for(let _0x503e11 of _0x2d3c70)_0x503e11!==_0x5266ee['target']&&_0x503e11['setAttribute']('tabindex',-0x1);}else _0x54f913&&_0x488c40();}function _0x184e9f(_0x246934){_0x246934['relatedTarget']&&_0x246934['relatedTarget']!==_0x5bfcee['document']||_0x488c40();}function _0x270f2a(_0x34508d){let _0x2f7f76=findGroupNodeByEventTarget(_0x34508d['target']);if(_0x2f7f76){let _0x949737=getItems(_0x34508d['target'],_0x2f7f76);for(let _0x42cf4b of _0x949737)_0x42cf4b!==_0x34508d['target']&&_0x42cf4b['setAttribute']('tabindex',-0x1);_0x34508d['target']['setAttribute']('tabindex',0x0);}}return _0x5bfcee['addEventListener']('click',_0x270f2a),_0x5bfcee['addEventListener']('focusin',_0x3a7354),_0x5bfcee['addEventListener']('focusout',_0x184e9f),()=>{_0x488c40(),_0x5bfcee['removeEventListener']('click',_0x270f2a),_0x5bfcee['removeEventListener']('focusin',_0x3a7354),_0x5bfcee['removeEventListener']('focusout',_0x184e9f);};};}function _0x1a48d6(){return _0x5207dd=>{let _0x30a354,_0x390ef5;function _0xae6784(_0x5173d5){if('true'===_0x5173d5['target']['getAttribute']('aria-hidden')){_0x30a354=_0x5173d5['target'],_0x30a354['setAttribute']('aria-hidden','false'),_0x390ef5=_0x30a354['hidden'],_0x390ef5&&(_0x30a354['hidden']=!0x1);let _0x4a85bd=_0x5173d5['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x4a85bd&&(_0x4a85bd['tabIndex']=0x0);}}function _0x1372e7(_0x46635c){!_0x30a354||!_0x30a354['contains'](_0x46635c['target'])||_0x46635c['relatedTarget']&&_0x30a354['contains'](_0x46635c['relatedTarget'])||(_0x46635c['target']['tabIndex']=-0x1,_0x30a354['setAttribute']('aria-hidden','true'),_0x390ef5&&(_0x30a354['hidden']=!0x0),_0x30a354=null);}return _0x5207dd['addEventListener']('keyuxJump',_0xae6784),_0x5207dd['addEventListener']('focusout',_0x1372e7),()=>{_0x5207dd['removeEventListener']('keyuxJump',_0xae6784),_0x5207dd['removeEventListener']('focusout',_0x1372e7);};};}function _0x39784d(){return _0x4e5457=>{let _0x2d3bb2=[];function _0x4e1107(){let _0x2c74d9=_0x2d3bb2['pop']();if(!_0x2c74d9)return void _0x4e5457['document']['activeElement']['blur']();let _0x462ba3=_0x2c74d9['deref']();_0x462ba3&&_0x462ba3['isConnected']?_0x462ba3['focus']():_0x4e1107();}let _0x25bc3c,_0x2cc836=0x0;function _0x316dbb(_0x23ff0a){clearInterval(_0x25bc3c);let _0xd21027=_0x23ff0a['getAttribute']('aria-controls');_0x25bc3c=setInterval(()=>{if(_0x2cc836++>0x32)return void clearInterval(_0x25bc3c);let _0x4549ce=_0x4e5457['document']['getElementById'](_0xd21027);if(_0x4549ce){let _0x2cb6f1=_0x4549ce['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x2cb6f1&&(clearInterval(_0x25bc3c),_0x4549ce['dispatchEvent'](new _0x4e5457['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x5b836e){let _0x76c4a3=_0x4e5457['document']['activeElement'];_0x76c4a3&&_0x76c4a3!==_0x4e5457['document']['body']&&_0x2d3bb2['push'](new WeakRef(_0x76c4a3)),_0x5b836e['focus']({'focusVisible':!0x0});}(_0x2cb6f1));}},0x32);}function _0x12e870(_0x30aa6a){_0x30aa6a['target']['getAttribute']('aria-controls')&&'Enter'===_0x30aa6a['key']&&_0x316dbb(_0x30aa6a['target']),'Escape'===_0x30aa6a['key']&&_0x4e1107();}return _0x4e5457['addEventListener']('keydown',_0x12e870),()=>{_0x4e5457['removeEventListener']('keydown',_0x12e870);};};}function _0x2be03f(_0x8034e3){let _0x4f8a2f,_0x38eaae,_0x52ab76=_0x8034e3['split']('\x20');function _0x2a544f(_0x1d6c9b){'Enter'!==_0x1d6c9b['key']||'BUTTON'!==_0x1d6c9b['target']['tagName']&&'A'!==_0x1d6c9b['target']['tagName']||(_0x48c451(),_0x1d6c9b['target']['classList']['add'](..._0x52ab76),_0x4f8a2f=_0x1d6c9b['target'],_0x38eaae=_0x1d6c9b['target']);}function _0x48c451(){_0x4f8a2f&&_0x4f8a2f['classList']['remove'](..._0x52ab76),_0x38eaae=null;}function _0x1e6655(_0x3563c7){0x0===_0x3563c7['clientX']&&0x0===_0x3563c7['clientY']&&_0x38eaae!==_0x3563c7['target']&&(_0x48c451(),_0x3563c7['target']['classList']['add'](..._0x52ab76),_0x4f8a2f=_0x3563c7['target']);}return _0x35d118=>(_0x35d118['addEventListener']('click',_0x1e6655),_0x35d118['addEventListener']('keydown',_0x2a544f),_0x35d118['addEventListener']('keyup',_0x48c451),()=>{_0x35d118['removeEventListener']('click',_0x1e6655),_0x35d118['removeEventListener']('keydown',_0x2a544f),_0x35d118['removeEventListener']('keyup',_0x48c451);});}function startKeyUX(_0x1b82bf,_0x5cfaa2){let _0x533a74=_0x5cfaa2['map'](_0x261e40=>_0x261e40(_0x1b82bf));return()=>{_0x533a74['forEach'](_0x4349de=>_0x4349de());};}function _0x3c0158(_0x393a01){return _0x393a01['replace'](/[A-Z]/g,_0x5ec0e1=>'_'+_0x5ec0e1['toLowerCase']())['replace'](/__/g,'_');}function _0x860eff(_0xefa97d){return Array['isArray'](_0xefa97d)?_0xefa97d['map'](_0x510753=>'object'==typeof _0x510753&&null!==_0x510753?_0x860eff(_0x510753):_0x510753):'object'!=typeof _0xefa97d||null===_0xefa97d?_0xefa97d:Object['fromEntries'](Object['entries'](_0xefa97d)['map'](([_0x3f5ea5,_0x1d6068])=>{const t=_0x3c0158(_0x3f5ea5);return'object'==typeof _0x1d6068&&null!==_0x1d6068?[t,_0x860eff(_0x1d6068)]:[t,_0x1d6068];}));}function _0x39cd95(_0x127411){return{'ok':!0x0,'value':_0x127411};}function _0x6c29df(_0x550efb){return{'ok':!0x1,'error':_0x550efb};}const _0x25e5e6='https://tlm.uploadcare.com/api/';class _0xc3c473{constructor(_0x3e6ddc=_0x25e5e6){this['baseUrl']=_0x3e6ddc;}async['base'](_0x2e148f,_0x5729f2={}){const t=''+this['baseUrl']+_0x2e148f;try{const _0x1a5e7b=await fetch(t,_0x5729f2);if(!_0x1a5e7b['ok'])return _0x6c29df(new Error('Got\x20non-200\x20response\x20from\x20\x22'+t+'\x22.\x20Status:\x20'+_0x1a5e7b['status']['toString']()));try{return _0x39cd95(await _0x1a5e7b['json']());}catch(_0x5ccf58){return _0x6c29df(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x5ccf58));}}catch(_0x44becf){return _0x6c29df(new Error('Error\x20fetching\x20data\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x44becf));}}async['post'](_0xf25ee9,_0x34ae2d,t={}){return await this['base'](_0xf25ee9,{...t,'method':'POST','body':JSON['stringify'](_0x860eff(_0x34ae2d)),'headers':{'Content-Type':'application/json',...t['headers']||{}}});}async['get'](_0x186761,_0x15b8dc={}){return await this['base'](_0x186761,{'method':'GET',..._0x15b8dc});}}const _0x277c46=async(_0x4bacfb,_0x11265b)=>({'success':!0x0,'data':_0x11265b});class _0xac4db extends _0xc3c473{constructor(){super();}async['sendEvent'](_0x5c949e,_0x5cb722){const t=await _0x277c46(void 0x0,_0x5c949e);if(!t['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',t['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x5c949e,_0x5cb722);}}const _0x274d43=(_0x9cfe70,_0x4fa4f5)=>{const _0x552a93=new URL(_0x4fa4f5);return _0x552a93['hostname']=_0x9cfe70+'.'+_0x552a93['hostname'],_0x552a93['toString']()['replace'](/\/$/,'');},_0xc87597='0123456789abcdefghijklmnopqrstuvwxyz',_0x138797=_0x86599b=>{if(_0x86599b<=0x0n)return'0';let _0x2ceeb6='';for(;_0x86599b>0x0n;){_0x2ceeb6=_0xc87597[Number(_0x86599b%0x24n)]+_0x2ceeb6,_0x86599b/=0x24n;}return _0x2ceeb6;},_0x3aa8e8=(_0xdd2dac,_0x66f535)=>{try{const _0x5c7316=new URL(_0xdd2dac),t=new URL(_0x66f535);return _0x5c7316['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}},_0x313e0b=async _0x156df2=>{const _0x2a71a1=new TextEncoder()['encode'](_0x156df2),t=await window['crypto']['subtle']['digest']('SHA-256',_0x2a71a1),_0x51715a=Array['from'](new Uint8Array(t))['map'](_0x53710f=>_0x53710f['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x51715a);},_0x5829d0=0xa,_0x300444=async _0x4498dc=>{const _0x1f22ce=await _0x313e0b(_0x4498dc);return _0x138797(_0x1f22ce)['slice'](0x0,_0x5829d0);},_0x3860fc=async(_0x45dd58,_0x34e4d4)=>{const t=await _0x300444(_0x45dd58);return _0x274d43(t,_0x34e4d4);},_0x4bcd42=()=>{const _0x1c293e=[];return{'stack':_0x1c293e,'promiseReadJpegChunks':_0x1d6ca5=>new Promise((_0x29f965,_0x3257ed)=>{let _0x5dd78c=0x2;const _0xda2c3=(_0x5b2c15,_0x2e9279)=>{const _0x3e5bb4=new FileReader();_0x3e5bb4['addEventListener']('load',()=>{_0x2e9279(new DataView(_0x3e5bb4['result']));}),_0x3e5bb4['addEventListener']('error',_0x1eddf2=>{_0x3257ed('Reader\x20error:\x20'+_0x1eddf2);}),_0x3e5bb4['readAsArrayBuffer'](_0x5b2c15);},_0x405c2a=()=>_0xda2c3(_0x1d6ca5['slice'](_0x5dd78c,_0x5dd78c+0x80),_0x1b7427=>{let _0x32171e,_0x2de42d,_0x5b85d9;for(_0x32171e=_0x2de42d=0x0,_0x5b85d9=_0x1b7427['byteLength'];_0x5b85d9>=0x0?_0x2de42d<_0x5b85d9:_0x2de42d>_0x5b85d9;_0x32171e=_0x5b85d9>=0x0?++_0x2de42d:--_0x2de42d)if(0xff===_0x1b7427['getUint8'](_0x32171e)){_0x5dd78c+=_0x32171e;break;}_0x25fbfb();}),_0x25fbfb=()=>{const _0x2750f1=_0x5dd78c;return _0xda2c3(_0x1d6ca5['slice'](_0x5dd78c,_0x5dd78c+=0x4),_0x51d9ca=>{if(0x4!==_0x51d9ca['byteLength']||0xff!==_0x51d9ca['getUint8'](0x0))return void _0x3257ed('Corrupted');const _0x23ca39=_0x51d9ca['getUint8'](0x1);if(0xda===_0x23ca39)return void _0x29f965(!0x0);const _0x3f065b=_0x51d9ca['getUint16'](0x2)-0x2;return _0xda2c3(_0x1d6ca5['slice'](_0x5dd78c,_0x5dd78c+=_0x3f065b),_0x19200a=>{_0x19200a['byteLength']===_0x3f065b?(_0x1c293e['push']({'startPos':_0x2750f1,'length':_0x3f065b,'marker':_0x23ca39,'view':_0x19200a}),_0x405c2a()):_0x3257ed('Corrupted');});});};FileReader&&DataView||_0x3257ed('Not\x20Support'),_0xda2c3(_0x1d6ca5['slice'](0x0,0x2),_0x2814c2=>{0xffd8!==_0x2814c2['getUint16'](0x0)&&_0x3257ed('Not\x20jpeg'),_0x405c2a();});})};},getIccProfile=async _0x3ba357=>{const _0xb73078=[],{promiseReadJpegChunks:_0x323c3a,stack:_0x5ba0ff}=_0x4bcd42();return await _0x323c3a(_0x3ba357),_0x5ba0ff['forEach'](({marker:_0x1d8c35,view:_0x180ca0})=>{0xe2===_0x1d8c35&&0x4943435f===_0x180ca0['getUint32'](0x0)&&0x50524f46===_0x180ca0['getUint32'](0x4)&&0x494c4500===_0x180ca0['getUint32'](0x8)&&_0xb73078['push'](_0x180ca0);}),_0xb73078;},_0x466dbd=async(_0x8b373e,_0x58afe5,_0x108528)=>{{const _0x1a4aca=[],_0x5a4a0b=[],{promiseReadJpegChunks:_0xc4592e,stack:_0x1805f5}=_0x4bcd42();await _0xc4592e(_0x8b373e),_0x1805f5['forEach'](_0x16390a=>{if(_0x16390a['marker']===_0x58afe5)return _0x1a4aca['push'](_0x16390a['startPos']),_0x5a4a0b['push'](_0x16390a['length']);});const _0x270a5d=[_0x8b373e['slice'](0x0,0x2)];for(const _0x5ef1eb of _0x108528){const _0x407e44=new DataView(new ArrayBuffer(0x4));_0x407e44['setUint16'](0x0,0xff00+_0x58afe5),_0x407e44['setUint16'](0x2,_0x5ef1eb['byteLength']+0x2),_0x270a5d['push'](_0x407e44['buffer']),_0x270a5d['push'](_0x5ef1eb);}let _0x284f5b=0x2;for(let _0xd937a9=0x0;_0xd937a9<_0x1a4aca['length'];_0xd937a9++)_0x1a4aca[_0xd937a9]>_0x284f5b&&_0x270a5d['push'](_0x8b373e['slice'](_0x284f5b,_0x1a4aca[_0xd937a9])),_0x284f5b=_0x1a4aca[_0xd937a9]+_0x5a4a0b[_0xd937a9]+0x4;return _0x270a5d['push'](_0x8b373e['slice'](_0x284f5b,_0x8b373e['size'])),new Blob(_0x270a5d,{'type':_0x8b373e['type']});}},_0x409983=0xe2,_0x20bb3c=(_0x2a1805,_0x3dfe6c)=>_0x466dbd(_0x2a1805,_0x409983,_0x3dfe6c['map'](_0x9b7958=>_0x9b7958['buffer'])),stripIccProfile=async _0x113efe=>{try{return await _0x20bb3c(_0x113efe,[]);}catch(_0x3aaf05){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x3aaf05);}},_0x2d1119=(_0x58f6e7,_0x26a77d,_0x3921c2)=>new Promise((_0x255d75,_0x57e97d)=>{_0x58f6e7['toBlob'](_0x50dfbb=>{_0x50dfbb?_0x255d75(_0x50dfbb):_0x57e97d('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x26a77d,_0x3921c2),_0x58f6e7['width']=_0x58f6e7['height']=0x1;}),createCanvas=()=>{const _0x130cb7=document['createElement']('canvas'),_0x50cd5f=_0x130cb7['getContext']('2d');return{'canvas':_0x130cb7,'ctx':_0x50cd5f};},_0x41f11b=_0x2c1804=>{const {ctx:_0x1e98b4,canvas:_0x4caa6b}=createCanvas();_0x4caa6b['width']=_0x4caa6b['height']=0x32,_0x1e98b4['drawImage'](_0x2c1804,0x0,0x0,0x32,0x32);const _0x356432=_0x1e98b4['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x4caa6b['width']=_0x4caa6b['height']=0x1;for(let _0x15c907=0x3;_0x15c907<_0x356432['length'];_0x15c907+=0x4)if(_0x356432[_0x15c907]<0xfe)return!0x0;return!0x1;},getExif=async _0x125e6b=>{let _0x5e3596=null;const {promiseReadJpegChunks:_0x4d14e3,stack:_0x14864d}=_0x4bcd42();return await _0x4d14e3(_0x125e6b),_0x14864d['forEach'](({marker:_0xef4af7,view:_0x21b632})=>{!_0x5e3596&&0xe1===_0xef4af7&&_0x21b632['byteLength']>=0xe&&0x45786966===_0x21b632['getUint32'](0x0)&&0x0===_0x21b632['getUint16'](0x4)&&(_0x5e3596=_0x21b632);}),_0x5e3596;},_0x20189a='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';let _0x429e99;const isBrowserApplyExifOrientation=()=>new Promise(_0x29f0c2=>{if(void 0x0!==_0x429e99)_0x29f0c2(_0x429e99);else{const _0x388ab3=new Image();_0x388ab3['addEventListener']('load',()=>{_0x429e99=_0x388ab3['naturalWidth']<_0x388ab3['naturalHeight'],_0x388ab3['src']='//:0',_0x29f0c2(_0x429e99);}),_0x388ab3['src']=_0x20189a;}}),findExifOrientation=(_0x43eefd,_0x23fad3)=>{let _0x42c159,_0x1f8ad9,_0x480b9e,_0x31c405;if(!_0x43eefd||_0x43eefd['byteLength']<0xe||0x45786966!==_0x43eefd['getUint32'](0x0)||0x0!==_0x43eefd['getUint16'](0x4))return;if(0x4949===_0x43eefd['getUint16'](0x6))_0x1f8ad9=!0x0;else{if(0x4d4d!==_0x43eefd['getUint16'](0x6))return;_0x1f8ad9=!0x1;}if(0x2a!==_0x43eefd['getUint16'](0x8,_0x1f8ad9))return;_0x480b9e=0x8+_0x43eefd['getUint32'](0xa,_0x1f8ad9);for(_0x42c159=0x0,_0x31c405=_0x43eefd['getUint16'](_0x480b9e-0x2,_0x1f8ad9);_0x31c405>=0x0?_0x42c159<_0x31c405:_0x42c159>_0x31c405;_0x31c405>=0x0?++_0x42c159:--_0x42c159){if(_0x43eefd['byteLength']<_0x480b9e+0xa)return;0x112===_0x43eefd['getUint16'](_0x480b9e,_0x1f8ad9)&&_0x23fad3(_0x480b9e+0x8,_0x1f8ad9),_0x480b9e+=0xc;}},setExifOrientation=(_0x48d6a9,_0xb5f2be)=>{findExifOrientation(_0x48d6a9,(_0x114c78,_0x4a9c07)=>_0x48d6a9['setUint16'](_0x114c78,_0xb5f2be,_0x4a9c07));},_0xa45b51=async(_0x3dd4a9,_0x5bcbbd,_0x81b6b2)=>(_0x81b6b2&&setExifOrientation(_0x5bcbbd,0x1),_0x466dbd(_0x3dd4a9,0xe1,[_0x5bcbbd['buffer']])),_0x5415e2=(_0x1ba6d1,_0x4584ac)=>new Promise((_0x1f7bc8,_0xfb2fb)=>{_0x4584ac&&(_0x1ba6d1['src']=_0x4584ac),_0x1ba6d1['complete']?_0x1f7bc8(_0x1ba6d1):(_0x1ba6d1['addEventListener']('load',()=>{_0x1f7bc8(_0x1ba6d1);}),_0x1ba6d1['addEventListener']('error',()=>{_0xfb2fb(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}),_0x537f05=_0x224414=>_0x5415e2(new Image(),_0x224414),_0x59466c=[0x1,0x3],_0xa2b536=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x37f56e={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x571035=async _0x2268f3=>{let _0x19d383=!0x1;const {promiseReadJpegChunks:_0x3fd24c,stack:_0x2f34eb}=_0x4bcd42();return await _0x3fd24c(_0x2268f3)['then'](()=>(_0x2f34eb['forEach'](({marker:_0x5cb744,view:_0x45f11c})=>{if(!_0x19d383&&_0xa2b536['indexOf'](_0x5cb744)>=0x0){const _0x220536=_0x45f11c['getUint8'](0x5);_0x59466c['indexOf'](_0x220536)<0x0&&(_0x19d383=!0x0);}}),_0x19d383))['catch'](()=>_0x19d383);},_0x47e89f=(_0x5906c8,_0x31e40f)=>{const _0x2dff02={};return(..._0x1ee746)=>{const _0x1c4a64=_0x31e40f(_0x1ee746,_0x2dff02);return _0x1c4a64 in _0x2dff02?_0x2dff02[_0x1c4a64]:_0x2dff02[_0x1c4a64]=_0x5906c8(..._0x1ee746);};},_0x3b14ef=(_0xefceb7,_0x5ed00a)=>{const [_0x4773b3]=_0xefceb7,_0x1fb332=Object['keys'](_0x5ed00a)['map'](_0x55d9a5=>parseInt(_0x55d9a5,0xa))['sort']((_0x4a602d,_0x20b0f1)=>_0x4a602d-_0x20b0f1);for(let _0x21dc0d=0x0;_0x21dc0d<_0x1fb332['length'];_0x21dc0d++){const _0x45e375=_0x1fb332[_0x21dc0d],_0x1f68f2=!!_0x5ed00a[_0x45e375];if(_0x45e375>_0x4773b3&&_0x1f68f2)return _0x45e375;if(_0x45e375<_0x4773b3&&!_0x1f68f2)return _0x45e375;}return _0x4773b3;},TestPixel={'R':0x37,'G':0x6e,'B':0xa5,'A':0xff},_0x1d69d4='rgba('+TestPixel['R']+',\x20'+TestPixel['G']+',\x20'+TestPixel['B']+',\x20'+TestPixel['A']/0xff+')',canvasTest=(_0x375a17,_0x4a27a1)=>{try{const _0x6aad91=[_0x375a17-0x1,_0x4a27a1-0x1,0x1,0x1],{canvas:_0x1331ca,ctx:_0x2ec684}=createCanvas();_0x1331ca['width']=0x1,_0x1331ca['height']=0x1;const {canvas:_0x5acf71,ctx:_0x5c9114}=createCanvas();_0x5acf71['width']=_0x375a17,_0x5acf71['height']=_0x4a27a1,_0x5c9114&&(_0x5c9114['fillStyle']=_0x1d69d4,_0x5c9114['fillRect'](..._0x6aad91),_0x2ec684['drawImage'](_0x5acf71,_0x375a17-0x1,_0x4a27a1-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0x1b64aa=_0x2ec684&&_0x2ec684['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0x686602=!0x1;return _0x1b64aa&&(_0x686602=_0x1b64aa[0x0]===TestPixel['R']&&_0x1b64aa[0x1]===TestPixel['G']&&_0x1b64aa[0x2]===TestPixel['B']&&_0x1b64aa[0x3]===TestPixel['A']),_0x5acf71['width']=_0x5acf71['height']=0x1,_0x686602;}catch(_0x383c5b){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x375a17+'x'+_0x4a27a1+'.'),!0x1;}};function _0x56b5ba(_0x397e01){return(..._0x69f650)=>new Promise(_0x71cadb=>{setTimeout(()=>{const _0x370e04=_0x397e01(..._0x69f650);_0x71cadb(_0x370e04);},0x0);});}const squareTest=_0x56b5ba(_0x47e89f(canvasTest,_0x3b14ef)),dimensionTest=_0x56b5ba(_0x47e89f(canvasTest,_0x3b14ef)),testCanvasSize=async(_0x2cd8ad,_0x52b1b8)=>{const _0x493e48=_0x37f56e['squareSide']['find'](_0x5d71ec=>_0x5d71ec*_0x5d71ec>=_0x2cd8ad*_0x52b1b8),_0x3684ae=_0x37f56e['dimension']['find'](_0x3d3855=>_0x3d3855>=_0x2cd8ad&&_0x3d3855>=_0x52b1b8);if(!_0x493e48||!_0x3684ae)throw new Error('Not\x20supported');const [_0xdc1bf2,_0x4d5aaa]=await Promise['all']([squareTest(_0x493e48,_0x493e48),dimensionTest(_0x3684ae,0x1)]);if(_0xdc1bf2&&_0x4d5aaa)return!0x0;throw new Error('Not\x20supported');},_0x45c6e9=async(_0x34f675,_0x4cd921,_0x5af5ad)=>{try{const {ctx:_0x19f8c6,canvas:_0x31e786}=createCanvas();return _0x31e786['width']=_0x4cd921,_0x31e786['height']=_0x5af5ad,_0x19f8c6['imageSmoothingQuality']='high',_0x19f8c6['drawImage'](_0x34f675,0x0,0x0,_0x4cd921,_0x5af5ad),_0x34f675 instanceof HTMLImageElement&&(_0x34f675['src']='//:0'),_0x34f675 instanceof HTMLCanvasElement&&(_0x34f675['width']=_0x34f675['height']=0x1),_0x31e786;}catch(_0x34e5c0){throw new Error('Canvas\x20resize\x20error',{'cause':_0x34e5c0});}},native=({img:_0x5074ca,targetW:_0x36071f,targetH:_0x3e2071})=>_0x45c6e9(_0x5074ca,_0x36071f,_0x3e2071),calcShrinkSteps=function({sourceW:_0x26df2b,targetW:_0x44985a,targetH:_0x21210b,step:_0x3f4e92}){const _0x1f65da=[];let _0x261602=_0x44985a,_0x1fe635=_0x21210b;do{_0x1f65da['push']([_0x261602,_0x1fe635]),_0x261602=Math['round'](_0x261602/_0x3f4e92),_0x1fe635=Math['round'](_0x1fe635/_0x3f4e92);}while(_0x261602<_0x26df2b*_0x3f4e92);return _0x1f65da['reverse']();},_0x3ac64a=({img:_0x129759,sourceW:_0x1d6338,targetW:_0x34ff8b,targetH:_0x505ec7,step:_0x4b0752})=>{const _0x5caaa8=calcShrinkSteps({'sourceW':_0x1d6338,'targetW':_0x34ff8b,'targetH':_0x505ec7,'step':_0x4b0752});return _0x5caaa8['reduce']((_0x2f9991,[_0x503575,_0x29fea5],_0x5f1457)=>_0x2f9991['then'](_0x5cf0af=>testCanvasSize(_0x503575,_0x29fea5)['then'](()=>_0x45c6e9(_0x5cf0af,_0x503575,_0x29fea5))['catch'](()=>{if(_0x5f1457===_0x5caaa8['length']-0x1)throw new Error('Not\x20supported');return _0x5cf0af;})),Promise['resolve'](_0x129759));},_0x651cc5=()=>!!/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x24d7a1=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x218c58=0.71,_0x294be2=(_0x35076c,_0x4ff892)=>{if(_0x35076c['width']*_0x218c58*_0x35076c['height']*_0x218c58<_0x4ff892['size'])throw new Error('Not\x20required');const _0x4ba582=_0x35076c['width'],_0x458c51=_0x35076c['height'],_0x56c505=_0x4ba582/_0x458c51,_0xa6b370=Math['floor'](Math['sqrt'](_0x4ff892['size']*_0x56c505)),_0x2220a7=Math['floor'](_0x4ff892['size']/Math['sqrt'](_0x4ff892['size']*_0x56c505));return testCanvasSize(_0xa6b370,_0x2220a7)['then'](()=>{const {ctx:_0x4bf75f}=createCanvas();return'imageSmoothingQuality'in _0x4bf75f&&!_0x651cc5()&&!_0x24d7a1?native({'img':_0x35076c,'targetW':_0xa6b370,'targetH':_0x2220a7}):_0x3ac64a({'img':_0x35076c,'sourceW':_0x4ba582,'targetW':_0xa6b370,'targetH':_0x2220a7,'step':_0x218c58});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x53bb6a=async(_0x575da3,_0x244138)=>{try{if(await _0x571035(_0x575da3))throw new Error('Should\x20skipped');const _0x438084=await Promise['allSettled']([getExif(_0x575da3),isBrowserApplyExifOrientation(),getIccProfile(_0x575da3)]),_0x38bb01=!_0x438084['some'](_0x548dc2=>'rejected'===_0x548dc2['status']),[_0x1fc9f5,_0x338bd3,_0xfb7710]=_0x438084,_0x3e8c0d=await stripIccProfile(_0x575da3)['catch'](()=>_0x575da3),_0x5c83df=await _0x537f05(URL['createObjectURL'](_0x3e8c0d));URL['revokeObjectURL'](_0x5c83df['src']);const _0x4b2eec=await _0x294be2(_0x5c83df,_0x244138);let _0x53f983='image/jpeg',_0x2996fe=_0x244138?.['quality']||0.8;!_0x38bb01&&_0x41f11b(_0x4b2eec)&&(_0x53f983='image/png',_0x2996fe=void 0x0);let _0x3e1dd4=await _0x2d1119(_0x4b2eec,_0x53f983,_0x2996fe);if(_0x38bb01&&'fulfilled'===_0x1fc9f5['status']&&_0x1fc9f5['value']){const _0x1707a4=_0x1fc9f5['value'],_0x2ebd21='fulfilled'===_0x338bd3['status']&&_0x338bd3['value'];_0x3e1dd4=await _0xa45b51(_0x3e1dd4,_0x1707a4,_0x2ebd21);}return _0x38bb01&&'fulfilled'===_0xfb7710['status']&&_0xfb7710['value']['length']>0x0&&(_0x3e1dd4=await _0x20bb3c(_0x3e1dd4,_0xfb7710['value'])),_0x3e1dd4;}catch(_0x164c59){let _0x45c178;throw _0x164c59 instanceof Error&&(_0x45c178=_0x164c59['message']),'string'==typeof _0x164c59&&(_0x45c178=_0x164c59),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x45c178?'Message:\x20\x22'+_0x45c178+'\x22.':''),{'cause':_0x164c59});}};var _0x481a55=0x14,InternalEventType=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),EventType=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'}),EventEmitter=class{['_timeoutStore']=new Map();['_targets']=new Set();['_debugPrint']=null;constructor(_0x3fa9e2){this['_debugPrint']=_0x3fa9e2;}['bindTarget'](_0x305ac3){this['_targets']['add'](_0x305ac3);}['unbindTarget'](_0x3380e1){this['_targets']['delete'](_0x3380e1);}['_dispatch'](_0x24ff53,_0x217690){for(const _0x32c78 of this['_targets'])_0x32c78['dispatchEvent'](new CustomEvent(_0x24ff53,{'detail':_0x217690}));this['_debugPrint']?.(()=>{const _0x269b9b=_0x217690&&'object'==typeof _0x217690?{..._0x217690}:_0x217690;return['event\x20\x22'+_0x24ff53+'\x22',_0x269b9b];});}['emit'](_0x3ef01a,_0x4354dc,_0x4e5a16={}){const {debounce:_0x534bf7}=_0x4e5a16;if('number'!=typeof _0x534bf7&&!_0x534bf7)return void this['_dispatch'](_0x3ef01a,'function'==typeof _0x4354dc?_0x4354dc():_0x4354dc);this['_timeoutStore']['has'](_0x3ef01a)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x3ef01a));const _0x3d91d2='number'==typeof _0x534bf7?_0x534bf7:_0x481a55,_0x699634=window['setTimeout'](()=>{this['_dispatch'](_0x3ef01a,'function'==typeof _0x4354dc?_0x4354dc():_0x4354dc),this['_timeoutStore']['delete'](_0x3ef01a);},_0x3d91d2);this['_timeoutStore']['set'](_0x3ef01a,_0x699634);}};function _0x2a8397(_0x4ecbb3,_0x5b303c){let _0x348bdd;const _0xb26bbb=(..._0x1cbe7a)=>{_0x348bdd&&clearTimeout(_0x348bdd),_0x348bdd=setTimeout(()=>_0x4ecbb3(..._0x1cbe7a),_0x5b303c);};return _0xb26bbb['cancel']=()=>{_0x348bdd&&clearTimeout(_0x348bdd);},_0xb26bbb;}var _0x1c2c08=_0x8f0f8c=>_0x8f0f8c?_0x8f0f8c['split'](',')['map'](_0x21d58f=>_0x21d58f['trim']())['filter'](Boolean):[],_0x48a6ae=_0x1d4c18=>_0x1d4c18['join'](','),normalizeCdnOperation=_0x4ec392=>{if('string'!=typeof _0x4ec392||!_0x4ec392)return'';let _0x56ccc1=_0x4ec392['trim']();return _0x56ccc1['startsWith']('-/')?_0x56ccc1=_0x56ccc1['slice'](0x2):_0x56ccc1['startsWith']('/')&&(_0x56ccc1=_0x56ccc1['slice'](0x1)),_0x56ccc1['endsWith']('/')&&(_0x56ccc1=_0x56ccc1['slice'](0x0,_0x56ccc1['length']-0x1)),_0x56ccc1;},joinCdnOperations=(..._0x3d5b14)=>_0x3d5b14['filter'](_0x5d25e5=>'string'==typeof _0x5d25e5&&!!_0x5d25e5)['map'](_0x4c82b4=>normalizeCdnOperation(_0x4c82b4))['join']('/-/'),createCdnUrlModifiers=(..._0x125306)=>{const _0x2f6f76=joinCdnOperations(..._0x125306);return _0x2f6f76?'-/'+_0x2f6f76+'/':'';};function extractFilename(_0x37272e){const _0x1dc678=new URL(_0x37272e),_0x330c46=_0x1dc678['pathname']+_0x1dc678['search']+_0x1dc678['hash'],_0x3beef8=_0x330c46['lastIndexOf']('http'),_0x2f9995=_0x330c46['lastIndexOf']('/');let _0x4e1ff2='';return _0x3beef8>=0x0?_0x4e1ff2=_0x330c46['slice'](_0x3beef8):_0x2f9995>=0x0&&(_0x4e1ff2=_0x330c46['slice'](_0x2f9995+0x1)),_0x4e1ff2;}function extractUuid(_0x5f105a){const _0x35fb63=new URL(_0x5f105a),{pathname:_0x1725b7}=_0x35fb63,_0x47e479=_0x1725b7['indexOf']('/'),_0x4a39b1=_0x1725b7['indexOf']('/',_0x47e479+0x1);return _0x1725b7['substring'](_0x47e479+0x1,_0x4a39b1);}function extractCdnUrlModifiers(_0x2ea0e8){const _0x493785=trimFilename(_0x2ea0e8),_0x1b08f3=new URL(_0x493785),_0x58fc72=_0x1b08f3['pathname']['indexOf']('/-/');if(-0x1===_0x58fc72)return'';return _0x1b08f3['pathname']['substring'](_0x58fc72)['slice'](0x1);}function extractOperations(_0x3acf18){return extractCdnUrlModifiers(_0x3acf18)['split']('/-/')['filter'](Boolean)['map'](_0x48e8ba=>normalizeCdnOperation(_0x48e8ba));}function trimFilename(_0x428f5a){const _0x35a8de=new URL(_0x428f5a),_0x517c51=extractFilename(_0x428f5a),_0x4c75f4=_0x82bfae(_0x517c51)?splitFileUrl(_0x517c51)['pathname']:_0x517c51;return _0x35a8de['pathname']=_0x35a8de['pathname']['replace'](_0x4c75f4,''),_0x35a8de['search']='',_0x35a8de['hash']='',_0x35a8de['toString']();}function _0x82bfae(_0x501247){return _0x501247['startsWith']('http');}function splitFileUrl(_0x304422){const _0x45e8f3=new URL(_0x304422);return{'pathname':''+_0x45e8f3['origin']+(_0x45e8f3['pathname']??''),'search':_0x45e8f3['search']??'','hash':_0x45e8f3['hash']??''};}var createCdnUrl=(_0x1b81fb,_0x5342ae,_0x2de280)=>{const _0x14dca9=new URL(trimFilename(_0x1b81fb)),_0x1fcfee=_0x2de280??extractFilename(_0x1b81fb),_0x1fc066=_0x5342ae??'';if(_0x14dca9['pathname']['startsWith']('//')&&(_0x14dca9['pathname']=_0x14dca9['pathname']['replace']('//','/')),_0x1fcfee&&_0x82bfae(_0x1fcfee)){const _0x3bf964=splitFileUrl(_0x1fcfee);_0x14dca9['pathname']=''+_0x14dca9['pathname']+_0x1fc066+(_0x3bf964['pathname']||''),_0x14dca9['search']=_0x3bf964['search'],_0x14dca9['hash']=_0x3bf964['hash'];}else _0x14dca9['pathname']=''+_0x14dca9['pathname']+_0x1fc066+(_0x1fcfee||'');return _0x14dca9['toString']();},createOriginalUrl=(_0x3852fe,_0x20a034)=>{const _0x4ce9be=new URL(_0x3852fe);return _0x4ce9be['pathname']=_0x20a034+'/',_0x4ce9be['toString']();},stringToArray=(_0x3c6cad,_0x2e21e4=',')=>_0x3c6cad['trim']()['split'](_0x2e21e4)['map'](_0x9ca39a=>_0x9ca39a['trim']())['filter'](_0x3c439e=>_0x3c439e['length']>0x0),_0x2e3caf=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}),_0x18e4fb=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function transformationToStr(_0x5a7c9f,_0x4e4cb2){if('number'==typeof _0x4e4cb2){const _0x19fa2e=_0x4e4cb2;return _0x2e3caf[_0x5a7c9f]!==_0x19fa2e?_0x5a7c9f+'/'+_0x19fa2e:'';}if('boolean'==typeof _0x4e4cb2){const _0x21d1ef=_0x4e4cb2;return _0x2e3caf[_0x5a7c9f]!==_0x21d1ef?''+_0x5a7c9f:'';}if('filter'===_0x5a7c9f&&_0x4e4cb2){const {name:_0x569457,amount:_0x251dc5}=_0x4e4cb2;return _0x2e3caf['filter']===_0x251dc5?'':_0x5a7c9f+'/'+_0x569457+'/'+_0x251dc5;}if('crop'===_0x5a7c9f&&_0x4e4cb2){const {dimensions:_0x6cc8de,coords:_0x55b738}=_0x4e4cb2;return _0x5a7c9f+'/'+_0x6cc8de['join']('x')+'/'+_0x55b738['join'](',');}return'';}function transformationsToOperations(_0xbb3ef2){return joinCdnOperations(..._0x18e4fb['filter'](_0x318647=>void 0x0!==_0xbb3ef2[_0x318647]&&null!==_0xbb3ef2[_0x318647])['map'](_0x43aac9=>transformationToStr(_0x43aac9,_0xbb3ef2[_0x43aac9]))['filter'](_0x2910c6=>!!_0x2910c6));}var _0x43be7c=joinCdnOperations('format/auto','progressive/yes'),_0x56f13e=([_0xc7a726])=>void 0x0!==_0xc7a726?Number(_0xc7a726):void 0x0,_0x308fdd=()=>!0x0,asFilter=([_0x4c191c,_0x1c3a63])=>({'name':_0x4c191c,'amount':void 0x0!==_0x1c3a63?Number(_0x1c3a63):0x64}),_0x4fe304=([_0x1ff2db,_0xe55e74])=>{if(!/\d+x\d+/['test'](_0x1ff2db)||!/\d+,\d+/['test'](_0xe55e74))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':stringToArray(_0x1ff2db,'x')['map'](Number),'coords':stringToArray(_0xe55e74)['map'](Number)};},_0x37af11=Object['freeze']({'enhance':_0x56f13e,'brightness':_0x56f13e,'exposure':_0x56f13e,'gamma':_0x56f13e,'contrast':_0x56f13e,'saturation':_0x56f13e,'vibrance':_0x56f13e,'warmth':_0x56f13e,'filter':asFilter,'mirror':_0x308fdd,'flip':_0x308fdd,'rotate':_0x56f13e,'crop':_0x14b3c5=>{const [_0x374866,_0x9f232d]=_0x14b3c5,{dimensions:_0xa765f7,coords:_0x301c75}=_0x4fe304([_0x374866,_0x9f232d]);return{'dimensions':_0xa765f7,'coords':_0x301c75};}});function operationsToTransformations(_0x2d34bb){const _0x64fa00={};for(const _0x397e1d of _0x2d34bb){const [_0x2a560f,..._0x4efa8b]=_0x397e1d['split']('/');if(!_0x2a560f||!_0x18e4fb['includes'](_0x2a560f))continue;const _0x2cc4cd=_0x2a560f,_0xe3f96e=_0x37af11[_0x2cc4cd];try{const _0x2e4a03=_0xe3f96e(_0x4efa8b);_0x64fa00[_0x2cc4cd]=_0x2e4a03;}catch(_0x5bfbc2){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x397e1d+'\x22.\x20It\x20will\x20be\x20ignored.',_0x5bfbc2 instanceof Error?'Error\x20message:\x20\x22'+_0x5bfbc2['message']+'\x22':_0x5bfbc2,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x64fa00;}var _0x34f39e=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x547f3f=Object['freeze']([_0x34f39e['CROP'],_0x34f39e['TUNING'],_0x34f39e['FILTERS']]),_0x47f97a=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x270b1f=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']),_0x3fcf15=Object['freeze'](['rotate','mirror','flip']),_0x2b98a1=_0x2e3caf,_0xfbedd7=Object['freeze']({'brightness':{'zero':_0x2b98a1['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x2b98a1['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x2b98a1['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x2b98a1['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x2b98a1['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x2b98a1['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x2b98a1['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x2b98a1['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x2b98a1['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x2beac2='https://ucarecdn.com',_0x51df64='https://upload.uploadcare.com',_0x335827='https://social.uploadcare.com',_0x2845ff='https://ucarecd.net',_0xb825a3={'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':'','cloudImageEditorTabs':_0x48a6ae(_0x547f3f),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0x2beac2,'cdnCnamePrefixed':_0x2845ff,'baseUrl':_0x51df64,'socialBaseUrl':_0x335827,'secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0xa,'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,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0},initialConfig=Object['freeze'](_0xb825a3),getLocaleDirection=_0x21ac53=>{const _0x4c593a=new Intl['Locale'](_0x21ac53);let _0x4ff95f='ltr';const _0x1d280c=_0x4c593a['getTextInfo']?.()['direction'];return _0x1d280c?_0x4ff95f=_0x1d280c:_0x4c593a['textInfo']?.['direction']&&(_0x4ff95f=_0x4c593a['textInfo']['direction']),_0x4ff95f;},getPluralForm=(_0x4b2d05,_0x31b029)=>new Intl['PluralRules'](_0x4b2d05)['select'](_0x31b029),_0x218b95=_0x22b0aa=>_0x22b0aa,_0x22ea20='{{',_0x1d8552='}}',_0xe1a5b8='plural:';function applyTemplateData(_0xdc5c3d,_0x9ee486={},_0x245efa={}){const {openToken:_0x440dba=_0x22ea20,closeToken:_0x316c6f=_0x1d8552,transform:_0x689e20=_0x218b95}=_0x245efa;for(const _0x57a333 in _0x9ee486){const _0x255999=_0x9ee486[_0x57a333],_0x5e1a10=null!=_0x255999?_0x255999['toString']():void 0x0,_0x277413='string'==typeof _0x5e1a10?_0x689e20(_0x5e1a10):String(_0x5e1a10);_0xdc5c3d=_0xdc5c3d['replaceAll'](_0x440dba+_0x57a333+_0x316c6f,_0x277413);}return _0xdc5c3d;}function getPluralObjects(_0x1db8ca){const _0x170cdb=[];let _0x27fd98=_0x1db8ca['indexOf'](_0x22ea20);for(;-0x1!==_0x27fd98;){const _0x3978f5=_0x1db8ca['indexOf'](_0x1d8552,_0x27fd98);if(-0x1===_0x3978f5)break;const _0x173364=_0x1db8ca['substring'](_0x27fd98+0x2,_0x3978f5);if(_0x173364['startsWith'](_0xe1a5b8)){const _0x1736e0=_0x1db8ca['substring'](_0x27fd98+0x2,_0x3978f5)['replace'](_0xe1a5b8,''),_0x21186c=_0x1736e0['substring'](0x0,_0x1736e0['indexOf']('(')),_0xd58bad=_0x1736e0['substring'](_0x1736e0['indexOf']('(')+0x1,_0x1736e0['indexOf'](')'));_0x170cdb['push']({'variable':_0x173364,'pluralKey':_0x21186c,'countVariable':_0xd58bad});}_0x27fd98=_0x1db8ca['indexOf'](_0x22ea20,_0x3978f5);}return _0x170cdb;}var _0x339ba2='--uploadcare-blocks-window-height',WindowHeightTracker=class _0x312845{static ['clientsRegistry']=new Set();static ['flush']=_0x2a8397(()=>{document['documentElement']['style']['setProperty'](_0x339ba2,window['innerHeight']+'px');},0x64);static['registerClient'](_0x5a0283){0x0===_0x312845['clientsRegistry']['size']&&_0x312845['attachTracker'](),_0x312845['clientsRegistry']['add'](_0x5a0283);}static['unregisterClient'](_0x348991){_0x312845['clientsRegistry']['delete'](_0x348991),0x0===_0x312845['clientsRegistry']['size']&&_0x312845['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_0x312845['flush'],{'passive':!0x0,'capture':!0x0}),_0x312845['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_0x312845['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x339ba2);}},waitForAttribute=({element:_0x23c877,attribute:_0x266850,onSuccess:_0x4affa8,onTimeout:_0x508080,timeout:_0x209fcb=0x12c})=>{const _0x288d88=_0x23c877['getAttribute'](_0x266850);if(null!==_0x288d88)return void _0x4affa8(_0x288d88);const _0x5b8ab7=new MutationObserver(_0x593f1a=>{const _0x1f56c8=_0x593f1a[_0x593f1a['length']-0x1];_0x1f56c8&&_0x3f16bb(_0x1f56c8);});_0x5b8ab7['observe'](_0x23c877,{'attributes':!0x0,'attributeFilter':[_0x266850]});const _0x21e8e9=window['setTimeout'](()=>{_0x5b8ab7['disconnect'](),_0x508080();},_0x209fcb),_0x3f16bb=_0x491c17=>{const _0x2b658d=_0x23c877['getAttribute'](_0x266850);'attributes'===_0x491c17['type']&&_0x491c17['attributeName']===_0x266850&&null!==_0x2b658d&&(window['clearTimeout'](_0x21e8e9),_0x5b8ab7['disconnect'](),_0x4affa8(_0x2b658d));};},blockCtx=()=>({}),activityBlockCtx=_0x47c357=>({...blockCtx(),'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x47c357['modalManager']?.['close'](_0x47c357['$']['*currentActivity']),_0x47c357['set$']({'*currentActivity':null});}}),uploaderBlockCtx=_0x542d36=>({...activityBlockCtx(_0x542d36),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x101e7a(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null}),solutionBlockCtx=_0x259bf5=>({...uploaderBlockCtx(_0x259bf5),'*solution':null}),en_default={'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','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-draw':'Draw','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-draw':'Draw','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'},localeRegistry=new Map(),_0x112c76=new Map(),_0x22264a=(_0x170287,_0x113421)=>{localeRegistry['has'](_0x170287)&&console['log']('Locale\x20'+_0x170287+'\x20is\x20already\x20defined.\x20Overwriting...'),localeRegistry['set'](_0x170287,{...en_default,..._0x113421});},_0x52c94b=(_0x5535da,_0x2c87b3)=>{_0x112c76['set'](_0x5535da,_0x2c87b3);},_0x308e50=(_0x110ffb,_0x55f076)=>{'function'==typeof _0x55f076?_0x52c94b(_0x110ffb,_0x55f076):_0x22264a(_0x110ffb,_0x55f076);},resolveLocaleDefinition=async _0x1f5760=>{if(!localeRegistry['has'](_0x1f5760)){if(!_0x112c76['has'](_0x1f5760))throw new Error('Locale\x20'+_0x1f5760+'\x20is\x20not\x20defined');const _0xee4086=_0x112c76['get'](_0x1f5760),_0x2c0a58=await _0xee4086();_0x22264a(_0x1f5760,_0x2c0a58);}return localeRegistry['get'](_0x1f5760);};_0x308e50('en',en_default);var localeStateKey=_0x4adb34=>'*l10n/'+_0x4adb34,_0x5e526a='en',_0x33003d=class{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0x22fac1){this['_blockInstance']=_0x22fac1;for(const [_0x1be9fc,_0x14019d]of Object['entries'](en_default)){const _0x22fd07=!this['_blockInstance']['has'](localeStateKey(_0x1be9fc))||!this['_blockInstance']['$'][localeStateKey(_0x1be9fc)];this['_blockInstance']['add'](localeStateKey(_0x1be9fc),_0x14019d,_0x22fd07);}setTimeout(()=>{_0x22fac1['subConfigValue']('localeName',async _0x1f517e=>{if(!this['_blockInstance']||!_0x1f517e)return;this['_localeName']=_0x1f517e;const _0x240647=await resolveLocaleDefinition(_0x1f517e);if(_0x1f517e!==_0x5e526a&&this['_localeName']!==_0x1f517e)return;const _0x534637=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x1f517e];for(const [_0x3df3b0,_0x416a19]of Object['entries'](_0x240647)){const _0x4d2ce6=_0x534637?.[_0x3df3b0];this['_blockInstance']['add'](localeStateKey(_0x3df3b0),_0x4d2ce6??_0x416a19,!0x0);for(const _0x4da928 of this['_callbacks'])_0x4da928();}}),_0x22fac1['subConfigValue']('localeDefinitionOverride',_0x40ddac=>{if(!_0x40ddac)return;const _0x5bf504=_0x40ddac[this['_localeName']];if(_0x5bf504)for(const [_0x4a389f,_0xbcca0a]of Object['entries'](_0x5bf504)){this['_blockInstance']?.['add'](localeStateKey(_0x4a389f),_0xbcca0a,!0x0);for(const _0x3a3918 of this['_callbacks'])_0x3a3918();}});});}['onLocaleChange'](_0x41a621){const _0x59637d=_0x2a8397(_0x41a621,0x0);return this['_callbacks']['add'](_0x59637d),()=>{this['_callbacks']['delete'](_0x59637d);};}['bindL10n'](_0x51ea8f,_0x1232b9,_0x1eea61){_0x51ea8f['$'][_0x1232b9]=_0x1eea61(),this['_boundBlocks']['has'](_0x51ea8f)||this['_boundBlocks']['set'](_0x51ea8f,new Map()),this['_boundBlocks']['get'](_0x51ea8f)?.['get'](_0x1232b9)?.();const _0x189586=this['onLocaleChange'](()=>{_0x51ea8f['$'][_0x1232b9]=_0x1eea61();});this['_boundBlocks']['get'](_0x51ea8f)?.['set'](_0x1232b9,_0x189586);}['destroyL10nBindings'](_0x1eded6){const _0x1b1723=this['_boundBlocks']['get'](_0x1eded6);if(_0x1b1723){for(const _0x1aac8c of _0x1b1723['values']())_0x1aac8c();this['_boundBlocks']['delete'](_0x1eded6);}}['destroy'](){this['_callbacks']['clear']();}};function _0xcd888f(_0x39d75e,_0x38c125){[..._0x39d75e['querySelectorAll']('[l10n]')]['forEach'](_0x171c3c=>{const _0x2c2de4=_0x171c3c['getAttribute']('l10n');if(!_0x2c2de4)return;const _0x3adcee=_0x2c2de4['split'](';');for(const _0x11d31e of _0x3adcee)_0x11d31e&&_0x30ec65(_0x171c3c,_0x11d31e,_0x38c125);});}var _0x30ec65=(_0x5e1d3d,_0x401db0,_0x5f18d5)=>{let _0x1635cf='textContent',_0x30f037=!0x1;if(_0x401db0['includes'](':')){const _0x53251f=_0x401db0['split'](':');if(0x2!==_0x53251f['length'])return void console['warn']('l10n\x20attribute\x20value\x20should\x20be\x20in\x20format\x20\x22property:key\x22\x20or\x20\x22key\x22.\x20Found:\x20'+_0x401db0);const _0x2c76f2=_0x53251f;_0x1635cf=_0x2c76f2[0x0],_0x401db0=_0x2c76f2[0x1],_0x1635cf['startsWith']('@')&&(_0x1635cf=_0x1635cf['slice'](0x1),_0x30f037=!0x0);}const _0x506495=_0x401db0;_0x5f18d5['has'](_0x506495)&&_0x5f18d5['sub'](_0x506495,_0x1385e0=>{if(!_0x1385e0)return;_0x5f18d5['l10nProcessorSubs']['has'](_0x506495)||_0x5f18d5['l10nProcessorSubs']['set'](_0x506495,new Set());const _0x31cc8c=_0x5f18d5['l10nProcessorSubs']['get'](_0x506495);_0x31cc8c?.['forEach'](_0x2b8386=>{_0x2b8386['remove'](),_0x31cc8c['delete'](_0x2b8386),_0x5f18d5['allSubs']['delete'](_0x2b8386);});const _0xaf50a1=localeStateKey(_0x1385e0)['replace']('*','');_0x5f18d5['nodeCtx']['has'](_0xaf50a1)||_0x5f18d5['nodeCtx']['add'](_0xaf50a1,_0x1385e0);const _0x479ad2=_0x5f18d5['nodeCtx']['sub'](_0xaf50a1,()=>{_0x5e1d3d[_0x1635cf]=_0x5f18d5['l10n'](_0x1385e0);});_0x31cc8c?.['add'](_0x479ad2),_0x5f18d5['allSubs']['add'](_0x479ad2),_0x5e1d3d['removeAttribute']('l10n');});const _0x28eb57=localeStateKey(_0x401db0);_0x5f18d5['has'](_0x28eb57)||_0x5f18d5['add'](_0x28eb57,''),_0x5f18d5['sub'](_0x28eb57,()=>{_0x30f037?_0x5e1d3d['setAttribute'](_0x1635cf,_0x5f18d5['l10n'](_0x401db0)):_0x5e1d3d[_0x1635cf]=_0x5f18d5['l10n'](_0x401db0);}),_0x5e1d3d['removeAttribute']('l10n');},_0x109c4f=class{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x2ccb12,_0x1aca92){const _0x1562b3=_0x22a2f2=>{const _0x583c97=_0x22a2f2['target'];_0x583c97 instanceof Node&&this['_scope']['some'](_0x5b2ab2=>_0x5b2ab2===_0x583c97||_0x5b2ab2['contains'](_0x583c97))&&_0x1aca92(_0x22a2f2);};this['_listeners']['set'](_0x1aca92,_0x1562b3),window['addEventListener'](_0x2ccb12,_0x1562b3);}['removeEventListener'](_0x2a13b8,_0x8e5c6){const _0x1941dd=this['_listeners']['get'](_0x8e5c6);_0x1941dd&&window['removeEventListener'](_0x2a13b8,_0x1941dd),this['_listeners']['delete'](_0x8e5c6);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x29540f){this['_scope']['push'](_0x29540f);}['destroy'](){this['_scope']=[];for(const _0x4efd64 of this['_listeners']['values']())window['removeEventListener']('keydown',_0x4efd64),window['removeEventListener']('keyup',_0x4efd64);this['_listeners']['clear']();}},_0x367c94=class{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new _0x109c4f(),this['_destroyKeyUX']=startKeyUX(this['_scopedWindow'],[_0x207ed1(),_0x2be03f('is-pressed'),_0x39784d(),_0x1a48d6()]);}['registerBlock'](_0x19b471){this['_scopedWindow']['registerScope'](_0x19b471);}['destroy'](){this['_destroyKeyUX']?.(),this['_scopedWindow']['destroy']();}},ModalEvents=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x3a500a=class{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();['_block'];constructor(_0x4dabac){this['_block']=_0x4dabac;}['_debugPrint'](..._0x2f8ff8){this['_block']['debugPrint']('[modal-manager]',..._0x2f8ff8);}['registerModal'](_0x539370,_0x23cb8e){this['_modals']['set'](_0x539370,_0x23cb8e),this['_notify'](ModalEvents['ADD'],{'id':_0x539370,'modal':_0x23cb8e});}['deleteModal'](_0x5814cb){if(!this['_modals']['has'](_0x5814cb))return!0x1;const _0x53c3e4=this['_modals']['get'](_0x5814cb);return this['_modals']['delete'](_0x5814cb),this['_activeModals']['delete'](_0x5814cb),this['_notify'](ModalEvents['DELETE'],{'id':_0x5814cb,'modal':_0x53c3e4}),!0x0;}['open'](_0x355444){if(!this['_modals']['has'](_0x355444))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x355444+'\x22\x20not\x20found'),!0x1;const _0xcabf24=this['_modals']['get'](_0x355444);return this['_activeModals']['add'](_0x355444),this['_notify'](ModalEvents['OPEN'],{'modal':_0xcabf24,'id':_0x355444}),!0x0;}['close'](_0x3803a7){if(!this['_modals']['has'](_0x3803a7)||!this['_activeModals']['has'](_0x3803a7))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x3803a7+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0x56d237=this['_modals']['get'](_0x3803a7);return this['_activeModals']['delete'](_0x3803a7),this['_notify'](ModalEvents['CLOSE'],{'id':_0x3803a7,'modal':_0x56d237}),!0x0;}['toggle'](_0xa3936){return this['_modals']['has'](_0xa3936)?this['_activeModals']['has'](_0xa3936)?this['close'](_0xa3936):this['open'](_0xa3936):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0xa3936+'\x22\x20not\x20found'),!0x1);}get['hasActiveModals'](){return this['_activeModals']['size']>0x0;}['back'](){if(0x0===this['_activeModals']['size'])return this['_debugPrint']('No\x20active\x20modals\x20to\x20go\x20back\x20from'),!0x1;const _0x2c00f2=Array['from'](this['_activeModals'])['pop']();return!!_0x2c00f2&&this['close'](_0x2c00f2);}['closeAll'](){const _0x33f16f=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](ModalEvents['CLOSE_ALL'],{}),_0x33f16f;}['subscribe'](_0x3e776c,_0x1db11e){return this['_subscribers']['has'](_0x3e776c)||this['_subscribers']['set'](_0x3e776c,new Set()),this['_subscribers']['get'](_0x3e776c)?.['add'](_0x1db11e),()=>this['unsubscribe'](_0x3e776c,_0x1db11e);}['unsubscribe'](_0x567717,_0x4ad9e5){this['_subscribers']['has'](_0x567717)&&this['_subscribers']['get'](_0x567717)?.['delete'](_0x4ad9e5);}['_notify'](_0x3e68b3,_0x150b69){if(this['_subscribers']['has'](_0x3e68b3)){for(const _0x35d507 of this['_subscribers']['get'](_0x3e68b3)??new Set())try{_0x35d507(_0x150b69);}catch(_0x51e978){this['_block']['telemetryManager']['sendEventError'](_0x51e978,'modal\x20subscriber'),this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0x51e978);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](ModalEvents['DESTROY'],{});}},_0x3ab78c='1.24.5',_0x57729b='blocks',_0x1a5042=_0x3ab78c,TelemetryManager=class{['_sessionId']=crypto['randomUUID']();['_telemetryInstance'];['_block'];['_config']=structuredClone(initialConfig);['_initialized']=!0x1;['_lastPayload']=null;['_queue'];constructor(_0x1946ab){this['_block']=_0x1946ab,this['_telemetryInstance']=new _0xac4db(),this['_queue']=new _0x101e7a(0xa);for(const _0x33257b of Object['keys'](this['_config']))this['_block']['subConfigValue'](_0x33257b,_0x5019a4=>{this['_initialized']&&this['_config'][_0x33257b]!==_0x5019a4&&this['sendEvent']({'eventType':InternalEventType['CHANGE_CONFIG']}),this['_setConfig'](_0x33257b,_0x5019a4);});}['_init'](_0x26843c){_0x26843c!==InternalEventType['INIT_SOLUTION']||this['_initialized']||(this['_initialized']=!0x0);}['_setConfig'](_0x41647f,_0x15216b){this['_config'][_0x41647f]!==_0x15216b&&(this['_config'][_0x41647f]=_0x15216b);}['_formattingPayload'](_0x5f525d){const _0x5c36da=_0x5f525d['payload']?{..._0x5f525d['payload']}:{};_0x5c36da['activity']&&(_0x5c36da['activity']=void 0x0);const _0x3bcf5f={..._0x5f525d};return _0x5f525d['eventType']!==InternalEventType['INIT_SOLUTION']&&_0x5f525d['eventType']!==InternalEventType['CHANGE_CONFIG']||(_0x3bcf5f['config']=this['_config']),{..._0x3bcf5f,'appVersion':_0x1a5042,'appName':_0x57729b,'sessionId':this['_sessionId'],'component':this['_solution'],'activity':this['_activity'],'projectPubkey':this['_config']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x3bcf5f['eventType']??'','eventTimestamp':this['_timestamp'],'payload':{'location':this['_location'],..._0x5c36da}};}['_excludedEvents'](_0x134015){return!(!_0x134015||![EventType['CHANGE'],EventType['COMMON_UPLOAD_PROGRESS'],EventType['FILE_ADDED'],EventType['FILE_REMOVED'],EventType['FILE_UPLOAD_START'],EventType['FILE_UPLOAD_PROGRESS'],EventType['FILE_UPLOAD_SUCCESS'],EventType['FILE_UPLOAD_FAILED']]['includes'](_0x134015));}['sendEvent'](_0x2c0fe4){const _0x399a83=this['_formattingPayload']({'eventType':_0x2c0fe4['eventType'],'payload':_0x2c0fe4['payload'],'config':_0x2c0fe4['config']});this['_init'](_0x2c0fe4['eventType']);if(this['_excludedEvents'](_0x2c0fe4['eventType']))return;this['_lastPayload']&&this['_checkObj'](this['_lastPayload'],_0x399a83)||this['_queue']['add'](async()=>{this['_lastPayload']=_0x399a83,await this['_telemetryInstance']['sendEvent'](_0x399a83);});}['sendEventError'](_0x41f0c0,_0x4a0a59='unknown'){this['sendEvent']({'eventType':InternalEventType['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x4a0a59,'error':_0x41f0c0['message']}}});}['sendEventCloudImageEditor'](_0x5bc1e0,_0x55195e,_0x269da9={}){this['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x55195e,'node':_0x5bc1e0['currentTarget']?.['tagName'],'event':_0x5bc1e0['type'],..._0x269da9}}});}['_checkObj'](_0x3d2e8d,_0x1d90c6){if(JSON['stringify'](_0x3d2e8d)===JSON['stringify'](_0x1d90c6))return!0x0;if('object'!=typeof _0x3d2e8d||'object'!=typeof _0x1d90c6||null==_0x3d2e8d||null==_0x1d90c6)return!0x1;const _0x554fcc=Object['keys'](_0x3d2e8d),_0x3a04aa=Object['keys'](_0x1d90c6);if(_0x554fcc['length']!==_0x3a04aa['length'])return!0x1;for(const _0x45463d of _0x554fcc){if(!Object['hasOwn'](_0x1d90c6,_0x45463d))return!0x1;if(!this['_checkObj'](_0x3d2e8d[_0x45463d],_0x1d90c6[_0x45463d]))return!0x1;}return!0x0;}get['_timestamp'](){return Date['now']();}get['_solution'](){if(!this['_block']['has']('*solution'))return null;const _0x53d1f7=this['_block']['$']['*solution'];return _0x53d1f7?_0x53d1f7['toLowerCase']():null;}get['_activity'](){return this['_block']['has']('*currentActivity')?this['_block']['$']['*currentActivity']??null:null;}get['_location'](){return location['origin'];}},_0x4bef73=_0x59d0da=>'*cfg/'+_0x59d0da;function testModeProcessor(_0x4568ad,_0x8a1c11){const _0x33e5c0=_0x4568ad['querySelectorAll']('[data-testid]');if(0x0===_0x33e5c0['length'])return;const _0x480139=new WeakMap();for(const _0x185069 of _0x33e5c0){const _0x56662e=_0x185069['getAttribute']('data-testid');_0x56662e&&_0x480139['set'](_0x185069,_0x56662e);}_0x8a1c11['subConfigValue']('testMode',_0x13623c=>{if(!_0x13623c){for(const _0x1a2cae of _0x33e5c0)_0x1a2cae['removeAttribute']('data-testid');return;}const _0xf90c58=_0x8a1c11['testId'];for(const _0x24cc01 of _0x33e5c0){const _0x278de1=_0x480139['get'](_0x24cc01);_0x278de1&&_0x24cc01['setAttribute']('data-testid',_0xf90c58+'--'+_0x278de1);}});}var _0x1ac949='uc-',_0x263636=class extends BaseComponent{['__cfgProxy'];['l10nProcessorSubs']=new Map();static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']=blockCtx();['l10n'](_0x39db30,_0x5662cc={}){if(!_0x39db30)return'';const _0x7a6a01=this['$'][localeStateKey(_0x39db30)]||_0x39db30,_0x5bd6ce=getPluralObjects(_0x7a6a01);for(const _0x120f03 of _0x5bd6ce)_0x5662cc[_0x120f03['variable']]=this['pluralize'](_0x120f03['pluralKey'],Number(_0x5662cc[_0x120f03['countVariable']]));return applyTemplateData(_0x7a6a01,_0x5662cc);}['pluralize'](_0x4738a2,_0x2df641){const _0x56731e=this['l10n']('locale-id')||'en',_0x504baa=getPluralForm(_0x56731e,_0x2df641);return this['l10n'](_0x4738a2+'__'+_0x504baa);}['bindL10n'](_0x4f00b8,_0x1d94fb){this['localeManager']?.['bindL10n'](this,_0x4f00b8,_0x1d94fb);}constructor(){super(),this['addTemplateProcessor'](_0xcd888f),this['addTemplateProcessor'](testModeProcessor);}['emit'](_0x300529,_0x2c02d1,_0x468fb3){const _0x48d3cf=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;_0x48d3cf&&(_0x48d3cf['emit'](_0x300529,_0x2c02d1,_0x468fb3),this['telemetryManager']['sendEvent']({'eventType':_0x300529,'payload':'function'==typeof _0x2c02d1?_0x2c02d1():_0x2c02d1}));}['hasBlockInCtx'](_0x18adbc){for(const _0xf8ea29 of this['blocksRegistry'])if(_0x18adbc(_0xf8ea29))return!0x0;return!0x1;}['setOrAddState'](_0x5289d9,_0x55c33f){this['add$']({[_0x5289d9]:_0x55c33f},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x372de8=>{this['setAttribute'](_0x372de8,'');}),this['hasAttribute']('retpl')&&(this['constructor']['template']=null,this['processInnerHtml']=!0x0),this['requireCtxName']?waitForAttribute({'element':this,'attribute':'ctx-name','onSuccess':()=>{super['connectedCallback']();},'onTimeout':()=>{console['error']('Attribute\x20`ctx-name`\x20is\x20required\x20and\x20it\x20is\x20not\x20set.');}}):super['connectedCallback'](),WindowHeightTracker['registerClient'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),WindowHeightTracker['unregisterClient'](this);}['initCallback'](){this['has']('*blocksRegistry')||this['add']('*blocksRegistry',new Set()),(this['$']['*blocksRegistry']['add'](this),this['has']('*eventEmitter')||this['add']('*eventEmitter',new EventEmitter(this['debugPrint']['bind'](this))),this['has']('*localeManager')||this['add']('*localeManager',new _0x33003d(this)),this['cfg']['qualityInsights']&&!this['has']('*telemetryManager')&&this['add']('*telemetryManager',new TelemetryManager(this)),this['has']('*a11y')||this['add']('*a11y',new _0x367c94()),this['has']('*modalManager')||this['add']('*modalManager',new _0x3a500a(this)),this['sub'](localeStateKey('locale-id'),_0x2426ef=>{const _0x1b6cae=getLocaleDirection(_0x2426ef);this['style']['direction']='ltr'===_0x1b6cae?'':_0x1b6cae;}),this['subConfigValue']('testMode',_0x448b46=>{_0x448b46&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}));}get['testId'](){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['has']('*modalManager')?this['$']['*modalManager']:void 0x0;}get['telemetryManager'](){return this['cfg']['qualityInsights']?this['has']('*telemetryManager')&&this['$']['*telemetryManager']:{'sendEvent':()=>{},'sendEventCloudImageEditor':()=>{},'sendEventError':()=>{}};}get['localeManager'](){return this['has']('*localeManager')?this['$']['*localeManager']:null;}get['a11y'](){return this['has']('*a11y')?this['$']['*a11y']:null;}get['blocksRegistry'](){return this['$']['*blocksRegistry'];}['destroyCallback'](){super['destroyCallback']();const _0x3cc201=this['blocksRegistry'];_0x3cc201?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),Data['deleteCtx'](this),0x0===_0x3cc201?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){Data['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']?.['destroy']();}async['proxyUrl'](_0x25e904){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'](_0x25e904,{'uuid':extractUuid(_0x25e904),'cdnUrlModifiers':extractCdnUrlModifiers(_0x25e904),'fileName':extractFilename(_0x25e904)});}catch(_0x5cdeea){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x5cdeea),this['telemetryManager']['sendEventError'](_0x5cdeea,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),_0x25e904;}return this['cfg']['secureDeliveryProxy']?applyTemplateData(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x25e904},{'transform':_0x467cb0=>window['encodeURIComponent'](_0x467cb0)}):_0x25e904;}get['cfg'](){if(!this['__cfgProxy']){const _0x1eda58=Object['create'](null);this['__cfgProxy']=new Proxy(_0x1eda58,{'set':(_0x1d4a5f,_0x57c0e8,_0x276363)=>{if('string'!=typeof _0x57c0e8)return!0x1;const _0xd9a097=_0x4bef73(_0x57c0e8);return this['has'](_0xd9a097)||this['add'](_0xd9a097,initialConfig[_0x57c0e8]),this['$'][_0xd9a097]=_0x276363,!0x0;},'get':(_0x371d3a,_0x4e7572)=>{const _0x5888ee=_0x4bef73(_0x4e7572);return this['has'](_0x5888ee)||this['add'](_0x5888ee,initialConfig[_0x4e7572]),this['$'][_0x4bef73(_0x4e7572)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x302c3d,_0x707c33){const _0x37e6a8=_0x4bef73(_0x302c3d);this['has'](_0x37e6a8)||this['add'](_0x37e6a8,initialConfig[_0x302c3d]),this['sub'](_0x37e6a8,_0x707c33);}['debugPrint'](..._0x220483){if(!this['cfg']['debug'])return;let _0x41676c=_0x220483;'function'==typeof _0x220483?.[0x0]&&(_0x41676c=(0x0,_0x220483[0x0])()),console['log']('['+this['ctxName']+']',..._0x41676c);}static['reg'](_0x359b37){_0x359b37?_0x359b37['startsWith'](_0x1ac949)&&super['reg'](_0x359b37):super['reg']();}},_0x275e98='active',_0x49c032='___ACTIVITY_IS_ACTIVE___',ActivityBlock=class _0x310267 extends _0x263636{['historyTracked']=!0x1;[_0x49c032];['init$']=activityBlockCtx(this);['_debouncedHistoryFlush']=_0x2a8397(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){const _0x13a81b=_0x310267['_activityCallbacks']['get'](this);this[_0x49c032]=!0x1,this['removeAttribute'](_0x275e98),_0x13a81b?.['deactivateCallback']?.();}['_activate'](){const _0x391554=_0x310267['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x49c032]=!0x0,this['setAttribute'](_0x275e98,''),_0x391554?.['activateCallback']?.(),this['_debouncedHistoryFlush'](),this['emit'](EventType['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',_0x38b13d=>{try{this['activityType']!==_0x38b13d&&this[_0x49c032]?this['_deactivate']():this['activityType']!==_0x38b13d||this[_0x49c032]||this['_activate']();}catch(_0x298139){this['telemetryManager']['sendEventError'](_0x298139,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x298139),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x38b13d||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x303216=this['$']['*history'];_0x303216&&(_0x303216['length']>0xa&&(_0x303216=_0x303216['slice'](_0x303216['length']-0xb,_0x303216['length']-0x1)),this['historyTracked']&&_0x303216[_0x303216['length']-0x1]!==this['activityType']&&_0x303216['push'](this['activityType']),this['$']['*history']=_0x303216);}['_isActivityRegistered'](){return!!this['activityType']&&_0x310267['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();static ['activities'];get['isActivityActive'](){return!!this[_0x49c032];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x3cb9bf,_0x31b4f1={}){const {onActivate:_0x3c3ad3,onDeactivate:_0x336a21}=_0x31b4f1;_0x310267['_activityCallbacks']['set'](this,{'activateCallback':_0x3c3ad3,'deactivateCallback':_0x336a21});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),_0x310267['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0xd5cc8d=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x152191=>_0x152191 instanceof _0x310267&&_0x152191['activityType']===_0xd5cc8d)||(this['$']['*currentActivity']=null,this['modalManager']?.['closeAll']());}get['activityKey'](){return this['ctxName']+this['activityType'];}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity');}get['doneActivity'](){return this['getCssData']('--cfg-done-activity');}['historyBack'](){const _0x1f1a98=this['$']['*history'];if(_0x1f1a98){let _0x2eb615=_0x1f1a98['pop']();for(;_0x2eb615===this['activityType'];)_0x2eb615=_0x1f1a98['pop']();let _0x39bbea=!!_0x2eb615;if(_0x2eb615){const _0xc6a25c=[...this['blocksRegistry']]['find'](_0x1213ea=>_0x1213ea['activityType']===_0x2eb615);_0x39bbea=_0xc6a25c?.['couldOpenActivity']??!0x1;}_0x2eb615=_0x39bbea?_0x2eb615:void 0x0,_0x2eb615&&this['modalManager']?.['open'](_0x2eb615),this['$']['*currentActivity']=_0x2eb615,this['$']['*history']=_0x1f1a98,_0x2eb615||this['modalManager']?.['closeAll']();}}};function defineComponents(_0xcfc775){for(const _0x596977 in _0xcfc775){let _0xf01a92=[..._0x596977]['reduce']((_0x3ab752,_0x3a722f)=>(_0x3a722f['toUpperCase']()===_0x3a722f&&(_0x3a722f='-'+_0x3a722f['toLowerCase']()),_0x3ab752+=_0x3a722f),'');_0xf01a92['startsWith']('-')&&(_0xf01a92=_0xf01a92['replace']('-','')),_0xf01a92['startsWith']('uc-')||(_0xf01a92='uc-'+_0xf01a92),_0xcfc775[_0x596977]['reg']&&_0xcfc775[_0x596977]['reg'](_0xf01a92);}}ActivityBlock['activities']=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','DRAW':'draw','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'});var _0x1ee226='UC';function _0x367ed6(_0x4c9bfc,_0x3e325b=!0x1){return new Promise((_0x2ad41,_0x18959d)=>{if('object'!=typeof document)return void _0x2ad41(null);if('object'==typeof window&&window[_0x1ee226])return void _0x2ad41(window[_0x1ee226]);const _0x28a62a=document['createElement']('script');_0x28a62a['async']=!0x0,_0x28a62a['src']=_0x4c9bfc,_0x28a62a['onerror']=()=>{_0x18959d();},_0x28a62a['onload']=()=>{const _0x3b78a5=window[_0x1ee226];_0x3e325b&&defineComponents(_0x3b78a5),_0x2ad41(_0x3b78a5);},document['head']['appendChild'](_0x28a62a);});}var svg_sprite_default='<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>',SolutionBlock=class extends _0x263636{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=solutionBlockCtx(this);static ['_template']='';['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0xe225b0){this['_template']=svg_sprite_default+_0xe225b0+'<slot></slot>';}static get['template'](){return this['_template'];}},_0x49fa2a=0x14,_0x5d39a7=0x18,_0x2290d9=0x22,_0x392d31=0x3,_0x310c27=_0x392d31/0x2,_0x39ad0b=0x1,_0x465c54=0x64/0x3,_0x5d6339=0x1,_0x2e4d49=0x18,_0x5ee435=0x6;function setSvgNodeAttrs(_0x46df08,_0x3a6a3f){for(const [_0x25b3d7,_0x59ab8d]of Object['entries'](_0x3a6a3f))_0x46df08['setAttributeNS'](null,_0x25b3d7,_0x59ab8d['toString']());}function createSvgNode(_0x59ec9f,_0x414960={}){const _0x382301=document['createElementNS']('http://www.w3.org/2000/svg',_0x59ec9f);return setSvgNodeAttrs(_0x382301,_0x414960),_0x382301;}function cornerPath(_0x136bac,_0x2e5ccb,_0x52f659){const {x:_0x4bb084,y:_0x1ca97a,width:_0x444595,height:_0x69c00}=_0x136bac,_0x23f3bb=_0x2e5ccb['includes']('w')?0x0:0x1,_0x7940ca=_0x2e5ccb['includes']('n')?0x0:0x1,_0x4092c1=0x0===_0x23f3bb?-0x1:0x1,_0x92836e=0x0===_0x7940ca?-0x1:0x1,_0x4781d3=[_0x4bb084+_0x23f3bb*_0x444595+_0x310c27*_0x4092c1,_0x1ca97a+_0x7940ca*_0x69c00+_0x310c27*_0x92836e-_0x5d39a7*_0x52f659*_0x92836e],_0x411499=[_0x4bb084+_0x23f3bb*_0x444595+_0x310c27*_0x4092c1,_0x1ca97a+_0x7940ca*_0x69c00+_0x310c27*_0x92836e],_0x5dbee6=[_0x4bb084+_0x23f3bb*_0x444595-_0x5d39a7*_0x52f659*_0x4092c1+_0x310c27*_0x4092c1,_0x1ca97a+_0x7940ca*_0x69c00+_0x310c27*_0x92836e];return{'d':'M\x20'+_0x4781d3[0x0]+'\x20'+_0x4781d3[0x1]+'\x20L\x20'+_0x411499[0x0]+'\x20'+_0x411499[0x1]+'\x20L\x20'+_0x5dbee6[0x0]+'\x20'+_0x5dbee6[0x1],'center':[_0x411499[0x0],_0x411499[0x1]]};}function sidePath(_0x981d7b,_0x172c35,_0x447f71){const {x:_0x1288e0,y:_0x688f71,width:_0x93673e,height:_0x300b33}=_0x981d7b,_0x34a9b8='n'===_0x172c35||'s'===_0x172c35,_0xe54396=_0x34a9b8?0.5:'w'===_0x172c35?0x0:0x1,_0x2dc792='w'===_0x172c35||'e'===_0x172c35?0.5:'n'===_0x172c35?0x0:0x1,_0x43046e='w'===_0x172c35?-0x1:'e'===_0x172c35?0x1:0x0,_0x4fbad0='n'===_0x172c35?-0x1:'s'===_0x172c35?0x1:0x0;let _0x505298,_0x32d41c;return _0x34a9b8?(_0x505298=[_0x1288e0+_0xe54396*_0x93673e-_0x2290d9*_0x447f71/0x2,_0x688f71+_0x2dc792*_0x300b33+_0x310c27*_0x4fbad0],_0x32d41c=[_0x1288e0+_0xe54396*_0x93673e+_0x2290d9*_0x447f71/0x2,_0x688f71+_0x2dc792*_0x300b33+_0x310c27*_0x4fbad0]):(_0x505298=[_0x1288e0+_0xe54396*_0x93673e+_0x310c27*_0x43046e,_0x688f71+_0x2dc792*_0x300b33-_0x2290d9*_0x447f71/0x2],_0x32d41c=[_0x1288e0+_0xe54396*_0x93673e+_0x310c27*_0x43046e,_0x688f71+_0x2dc792*_0x300b33+_0x2290d9*_0x447f71/0x2]),{'d':'M\x20'+_0x505298[0x0]+'\x20'+_0x505298[0x1]+'\x20L\x20'+_0x32d41c[0x0]+'\x20'+_0x32d41c[0x1],'center':[(_0x505298[0x0]+_0x32d41c[0x0])/0x2,(_0x505298[0x1]+_0x32d41c[0x1])/0x2]};}function thumbCursor(_0x5c700e){return''===_0x5c700e?'move':['e','w']['includes'](_0x5c700e)?'ew-resize':['n','s']['includes'](_0x5c700e)?'ns-resize':['nw','se']['includes'](_0x5c700e)?'nwse-resize':'nesw-resize';}function moveRect({rect:_0x4a7f63,delta:[_0x24c777,_0x12026d],imageBox:_0x5cbb34}){return constraintRect({..._0x4a7f63,'x':_0x4a7f63['x']+_0x24c777,'y':_0x4a7f63['y']+_0x12026d},_0x5cbb34);}function constraintRect(_0x2452af,_0x56e489){let {x:_0x45eb91}=_0x2452af,{y:_0x5ea990}=_0x2452af;return _0x2452af['x']<_0x56e489['x']?_0x45eb91=_0x56e489['x']:_0x2452af['x']+_0x2452af['width']>_0x56e489['x']+_0x56e489['width']&&(_0x45eb91=_0x56e489['x']+_0x56e489['width']-_0x2452af['width']),_0x2452af['y']<_0x56e489['y']?_0x5ea990=_0x56e489['y']:_0x2452af['y']+_0x2452af['height']>_0x56e489['y']+_0x56e489['height']&&(_0x5ea990=_0x56e489['y']+_0x56e489['height']-_0x2452af['height']),{..._0x2452af,'x':_0x45eb91,'y':_0x5ea990};}function resizeNorth({rect:_0x2d4419,delta:_0x40f500,aspectRatio:_0x43ba74,imageBox:_0x301f98}){const [,_0x1527d0]=_0x40f500;let {y:_0x2e46cc,width:_0x5202e0,height:_0x17512c}=_0x2d4419;_0x2e46cc+=_0x1527d0,_0x17512c-=_0x1527d0,_0x43ba74&&(_0x5202e0=_0x17512c*_0x43ba74);let _0x4b769d=_0x2d4419['x']+_0x2d4419['width']/0x2-_0x5202e0/0x2;return _0x2e46cc<=_0x301f98['y']&&(_0x2e46cc=_0x301f98['y'],_0x17512c=_0x2d4419['y']+_0x2d4419['height']-_0x2e46cc,_0x43ba74&&(_0x5202e0=_0x17512c*_0x43ba74,_0x4b769d=_0x2d4419['x']+_0x2d4419['width']/0x2-_0x5202e0/0x2)),_0x4b769d<=_0x301f98['x']&&(_0x4b769d=_0x301f98['x'],_0x2e46cc=_0x2d4419['y']+_0x2d4419['height']-_0x17512c),_0x4b769d+_0x5202e0>=_0x301f98['x']+_0x301f98['width']&&(_0x4b769d=Math['max'](_0x301f98['x'],_0x301f98['x']+_0x301f98['width']-_0x5202e0),_0x5202e0=_0x301f98['x']+_0x301f98['width']-_0x4b769d,_0x43ba74&&(_0x17512c=_0x5202e0/_0x43ba74),_0x2e46cc=_0x2d4419['y']+_0x2d4419['height']-_0x17512c),_0x17512c<_0x5d6339&&(_0x17512c=_0x5d6339,_0x43ba74&&(_0x5202e0=_0x17512c*_0x43ba74,_0x4b769d=_0x2d4419['x']+_0x2d4419['width']/0x2-_0x5202e0/0x2),_0x2e46cc=_0x2d4419['y']+_0x2d4419['height']-_0x17512c),_0x5202e0<_0x5d6339&&(_0x5202e0=_0x5d6339,_0x43ba74&&(_0x17512c=_0x5202e0/_0x43ba74,_0x4b769d=_0x2d4419['x']+_0x2d4419['width']/0x2-_0x5202e0/0x2),_0x2e46cc=_0x2d4419['y']+_0x2d4419['height']-_0x17512c),{'x':_0x4b769d,'y':_0x2e46cc,'width':_0x5202e0,'height':_0x17512c};}function resizeWest({rect:_0x521727,delta:_0x2535d2,aspectRatio:_0x36b80e,imageBox:_0x1f702d}){const [_0x18f219]=_0x2535d2;let {x:_0x56938b,width:_0x57b80b,height:_0x261674}=_0x521727;_0x56938b+=_0x18f219,_0x57b80b-=_0x18f219,_0x36b80e&&(_0x261674=_0x57b80b/_0x36b80e);let _0x441785=_0x521727['y']+_0x521727['height']/0x2-_0x261674/0x2;return _0x56938b<=_0x1f702d['x']&&(_0x56938b=_0x1f702d['x'],_0x57b80b=_0x521727['x']+_0x521727['width']-_0x56938b,_0x36b80e&&(_0x261674=_0x57b80b/_0x36b80e,_0x441785=_0x521727['y']+_0x521727['height']/0x2-_0x261674/0x2)),_0x441785<=_0x1f702d['y']&&(_0x441785=_0x1f702d['y'],_0x56938b=_0x521727['x']+_0x521727['width']-_0x57b80b),_0x441785+_0x261674>=_0x1f702d['y']+_0x1f702d['height']&&(_0x441785=Math['max'](_0x1f702d['y'],_0x1f702d['y']+_0x1f702d['height']-_0x261674),_0x261674=_0x1f702d['y']+_0x1f702d['height']-_0x441785,_0x36b80e&&(_0x57b80b=_0x261674*_0x36b80e),_0x56938b=_0x521727['x']+_0x521727['width']-_0x57b80b),_0x261674<_0x5d6339&&(_0x261674=_0x5d6339,_0x36b80e&&(_0x57b80b=_0x261674*_0x36b80e),_0x441785=_0x521727['y']+_0x521727['height']/0x2-_0x261674/0x2,_0x56938b=_0x521727['x']+_0x521727['width']-_0x57b80b),_0x57b80b<_0x5d6339&&(_0x57b80b=_0x5d6339,_0x36b80e&&(_0x261674=_0x57b80b/_0x36b80e),_0x441785=_0x521727['y']+_0x521727['height']/0x2-_0x261674/0x2,_0x56938b=_0x521727['x']+_0x521727['width']-_0x57b80b),{'x':_0x56938b,'y':_0x441785,'width':_0x57b80b,'height':_0x261674};}function resizeSouth({rect:_0x1b8113,delta:_0x6e3d15,aspectRatio:_0x217486,imageBox:_0x3309ca}){const [,_0xee73b]=_0x6e3d15;let {y:_0x14af4f,width:_0xad9d3c,height:_0x28e9f5}=_0x1b8113;_0x28e9f5+=_0xee73b,_0x217486&&(_0xad9d3c=_0x28e9f5*_0x217486);let _0x50320b=_0x1b8113['x']+_0x1b8113['width']/0x2-_0xad9d3c/0x2;return _0x14af4f+_0x28e9f5>=_0x3309ca['y']+_0x3309ca['height']&&(_0x28e9f5=_0x3309ca['y']+_0x3309ca['height']-_0x14af4f,_0x217486&&(_0xad9d3c=_0x28e9f5*_0x217486),_0x50320b=_0x1b8113['x']+_0x1b8113['width']/0x2-_0xad9d3c/0x2),_0x50320b<=_0x3309ca['x']&&(_0x50320b=_0x3309ca['x'],_0x14af4f=_0x1b8113['y']),_0x50320b+_0xad9d3c>=_0x3309ca['x']+_0x3309ca['width']&&(_0x50320b=Math['max'](_0x3309ca['x'],_0x3309ca['x']+_0x3309ca['width']-_0xad9d3c),_0xad9d3c=_0x3309ca['x']+_0x3309ca['width']-_0x50320b,_0x217486&&(_0x28e9f5=_0xad9d3c/_0x217486),_0x14af4f=_0x1b8113['y']),_0x28e9f5<_0x5d6339&&(_0x28e9f5=_0x5d6339,_0x217486&&(_0xad9d3c=_0x28e9f5*_0x217486),_0x50320b=_0x1b8113['x']+_0x1b8113['width']/0x2-_0xad9d3c/0x2),_0xad9d3c<_0x5d6339&&(_0xad9d3c=_0x5d6339,_0x217486&&(_0x28e9f5=_0xad9d3c/_0x217486),_0x50320b=_0x1b8113['x']+_0x1b8113['width']/0x2-_0xad9d3c/0x2),{'x':_0x50320b,'y':_0x14af4f,'width':_0xad9d3c,'height':_0x28e9f5};}function resizeEast({rect:_0x593036,delta:_0x14bf12,aspectRatio:_0x3ff59d,imageBox:_0x30e788}){const [_0x2759da]=_0x14bf12;let {x:_0x39c1a7,width:_0x5c613d,height:_0x4e9679}=_0x593036;_0x5c613d+=_0x2759da,_0x3ff59d&&(_0x4e9679=_0x5c613d/_0x3ff59d);let _0x353e77=_0x593036['y']+_0x593036['height']/0x2-_0x4e9679/0x2;return _0x39c1a7+_0x5c613d>=_0x30e788['x']+_0x30e788['width']&&(_0x5c613d=_0x30e788['x']+_0x30e788['width']-_0x39c1a7,_0x3ff59d&&(_0x4e9679=_0x5c613d/_0x3ff59d),_0x353e77=_0x593036['y']+_0x593036['height']/0x2-_0x4e9679/0x2),_0x353e77<=_0x30e788['y']&&(_0x353e77=_0x30e788['y'],_0x39c1a7=_0x593036['x']),_0x353e77+_0x4e9679>=_0x30e788['y']+_0x30e788['height']&&(_0x353e77=Math['max'](_0x30e788['y'],_0x30e788['y']+_0x30e788['height']-_0x4e9679),_0x4e9679=_0x30e788['y']+_0x30e788['height']-_0x353e77,_0x3ff59d&&(_0x5c613d=_0x4e9679*_0x3ff59d),_0x39c1a7=_0x593036['x']),_0x4e9679<_0x5d6339&&(_0x4e9679=_0x5d6339,_0x3ff59d&&(_0x5c613d=_0x4e9679*_0x3ff59d),_0x353e77=_0x593036['y']+_0x593036['height']/0x2-_0x4e9679/0x2),_0x5c613d<_0x5d6339&&(_0x5c613d=_0x5d6339,_0x3ff59d&&(_0x4e9679=_0x5c613d/_0x3ff59d),_0x353e77=_0x593036['y']+_0x593036['height']/0x2-_0x4e9679/0x2),{'x':_0x39c1a7,'y':_0x353e77,'width':_0x5c613d,'height':_0x4e9679};}function resizeNorthWest({rect:_0x4687b9,delta:_0x57a43a,aspectRatio:_0x5d28f9,imageBox:_0x3e4e5b}){let [_0x2d7f62,_0x5714bf]=_0x57a43a,{x:_0x1334e6,y:_0x329a06,width:_0x494229,height:_0x1dce29}=_0x4687b9;return _0x1334e6+_0x2d7f62<_0x3e4e5b['x']&&(_0x2d7f62=_0x3e4e5b['x']-_0x1334e6),_0x329a06+_0x5714bf<_0x3e4e5b['y']&&(_0x5714bf=_0x3e4e5b['y']-_0x329a06),_0x1334e6+=_0x2d7f62,_0x494229-=_0x2d7f62,_0x329a06+=_0x5714bf,_0x1dce29-=_0x5714bf,_0x5d28f9&&Math['abs'](_0x494229/_0x1dce29)>_0x5d28f9?(_0x5714bf=_0x494229/_0x5d28f9-_0x1dce29,_0x1dce29+=_0x5714bf,_0x329a06-=_0x5714bf,_0x329a06<=_0x3e4e5b['y']&&(_0x1dce29-=_0x3e4e5b['y']-_0x329a06,_0x494229=_0x1dce29*_0x5d28f9,_0x1334e6=_0x4687b9['x']+_0x4687b9['width']-_0x494229,_0x329a06=_0x3e4e5b['y'])):_0x5d28f9&&(_0x2d7f62=_0x1dce29*_0x5d28f9-_0x494229,_0x494229+=_0x2d7f62,_0x1334e6-=_0x2d7f62,_0x1334e6<=_0x3e4e5b['x']&&(_0x494229-=_0x3e4e5b['x']-_0x1334e6,_0x1dce29=_0x494229/_0x5d28f9,_0x1334e6=_0x3e4e5b['x'],_0x329a06=_0x4687b9['y']+_0x4687b9['height']-_0x1dce29)),_0x1dce29<_0x5d6339&&(_0x1dce29=_0x5d6339,_0x5d28f9&&(_0x494229=_0x1dce29*_0x5d28f9),_0x1334e6=_0x4687b9['x']+_0x4687b9['width']-_0x494229,_0x329a06=_0x4687b9['y']+_0x4687b9['height']-_0x1dce29),_0x494229<_0x5d6339&&(_0x494229=_0x5d6339,_0x5d28f9&&(_0x1dce29=_0x494229/_0x5d28f9),_0x1334e6=_0x4687b9['x']+_0x4687b9['width']-_0x494229,_0x329a06=_0x4687b9['y']+_0x4687b9['height']-_0x1dce29),{'x':_0x1334e6,'y':_0x329a06,'width':_0x494229,'height':_0x1dce29};}function resizeNorthEast({rect:_0x1407fa,delta:_0x46c430,aspectRatio:_0x13ace9,imageBox:_0x41726b}){let [_0x243476,_0x56177c]=_0x46c430,{x:_0x3ddf8f,y:_0x293446,width:_0x22382b,height:_0x271b05}=_0x1407fa;return _0x3ddf8f+_0x22382b+_0x243476>_0x41726b['x']+_0x41726b['width']&&(_0x243476=_0x41726b['x']+_0x41726b['width']-_0x3ddf8f-_0x22382b),_0x293446+_0x56177c<_0x41726b['y']&&(_0x56177c=_0x41726b['y']-_0x293446),_0x22382b+=_0x243476,_0x293446+=_0x56177c,_0x271b05-=_0x56177c,_0x13ace9&&Math['abs'](_0x22382b/_0x271b05)>_0x13ace9?(_0x56177c=_0x22382b/_0x13ace9-_0x271b05,_0x271b05+=_0x56177c,_0x293446-=_0x56177c,_0x293446<=_0x41726b['y']&&(_0x271b05-=_0x41726b['y']-_0x293446,_0x22382b=_0x271b05*_0x13ace9,_0x3ddf8f=_0x1407fa['x'],_0x293446=_0x41726b['y'])):_0x13ace9&&(_0x243476=_0x271b05*_0x13ace9-_0x22382b,_0x22382b+=_0x243476,_0x3ddf8f+_0x22382b>=_0x41726b['x']+_0x41726b['width']&&(_0x22382b=_0x41726b['x']+_0x41726b['width']-_0x3ddf8f,_0x271b05=_0x22382b/_0x13ace9,_0x3ddf8f=_0x41726b['x']+_0x41726b['width']-_0x22382b,_0x293446=_0x1407fa['y']+_0x1407fa['height']-_0x271b05)),_0x271b05<_0x5d6339&&(_0x271b05=_0x5d6339,_0x13ace9&&(_0x22382b=_0x271b05*_0x13ace9),_0x293446=_0x1407fa['y']+_0x1407fa['height']-_0x271b05),_0x22382b<_0x5d6339&&(_0x22382b=_0x5d6339,_0x13ace9&&(_0x271b05=_0x22382b/_0x13ace9),_0x293446=_0x1407fa['y']+_0x1407fa['height']-_0x271b05),{'x':_0x3ddf8f,'y':_0x293446,'width':_0x22382b,'height':_0x271b05};}function resizeSouthWest({rect:_0x7e5797,delta:_0x4cb62d,aspectRatio:_0x210ec3,imageBox:_0x436383}){let [_0x1c553e,_0x5a8179]=_0x4cb62d,{x:_0x144952,y:_0x2b4bac,width:_0x1fe11a,height:_0x913cd7}=_0x7e5797;return _0x144952+_0x1c553e<_0x436383['x']&&(_0x1c553e=_0x436383['x']-_0x144952),_0x2b4bac+_0x913cd7+_0x5a8179>_0x436383['y']+_0x436383['height']&&(_0x5a8179=_0x436383['y']+_0x436383['height']-_0x2b4bac-_0x913cd7),_0x144952+=_0x1c553e,_0x1fe11a-=_0x1c553e,_0x913cd7+=_0x5a8179,_0x210ec3&&Math['abs'](_0x1fe11a/_0x913cd7)>_0x210ec3?(_0x5a8179=_0x1fe11a/_0x210ec3-_0x913cd7,_0x913cd7+=_0x5a8179,_0x2b4bac+_0x913cd7>=_0x436383['y']+_0x436383['height']&&(_0x913cd7=_0x436383['y']+_0x436383['height']-_0x2b4bac,_0x1fe11a=_0x913cd7*_0x210ec3,_0x144952=_0x7e5797['x']+_0x7e5797['width']-_0x1fe11a,_0x2b4bac=_0x436383['y']+_0x436383['height']-_0x913cd7)):_0x210ec3&&(_0x1c553e=_0x913cd7*_0x210ec3-_0x1fe11a,_0x1fe11a+=_0x1c553e,_0x144952-=_0x1c553e,_0x144952<=_0x436383['x']&&(_0x1fe11a-=_0x436383['x']-_0x144952,_0x913cd7=_0x1fe11a/_0x210ec3,_0x144952=_0x436383['x'],_0x2b4bac=_0x7e5797['y'])),_0x913cd7<_0x5d6339&&(_0x913cd7=_0x5d6339,_0x210ec3&&(_0x1fe11a=_0x913cd7*_0x210ec3),_0x144952=_0x7e5797['x']+_0x7e5797['width']-_0x1fe11a),_0x1fe11a<_0x5d6339&&(_0x1fe11a=_0x5d6339,_0x210ec3&&(_0x913cd7=_0x1fe11a/_0x210ec3),_0x144952=_0x7e5797['x']+_0x7e5797['width']-_0x1fe11a),{'x':_0x144952,'y':_0x2b4bac,'width':_0x1fe11a,'height':_0x913cd7};}function resizeSouthEast({rect:_0x25b245,delta:_0x2a7873,aspectRatio:_0x399bca,imageBox:_0x2c3395}){let [_0xcdc485,_0x966c3b]=_0x2a7873,{x:_0x56e5b0,y:_0x3bd2cf,width:_0x177149,height:_0x578d81}=_0x25b245;return _0x56e5b0+_0x177149+_0xcdc485>_0x2c3395['x']+_0x2c3395['width']&&(_0xcdc485=_0x2c3395['x']+_0x2c3395['width']-_0x56e5b0-_0x177149),_0x3bd2cf+_0x578d81+_0x966c3b>_0x2c3395['y']+_0x2c3395['height']&&(_0x966c3b=_0x2c3395['y']+_0x2c3395['height']-_0x3bd2cf-_0x578d81),_0x177149+=_0xcdc485,_0x578d81+=_0x966c3b,_0x399bca&&Math['abs'](_0x177149/_0x578d81)>_0x399bca?(_0x966c3b=_0x177149/_0x399bca-_0x578d81,_0x578d81+=_0x966c3b,_0x3bd2cf+_0x578d81>=_0x2c3395['y']+_0x2c3395['height']&&(_0x578d81=_0x2c3395['y']+_0x2c3395['height']-_0x3bd2cf,_0x177149=_0x578d81*_0x399bca,_0x56e5b0=_0x25b245['x'],_0x3bd2cf=_0x2c3395['y']+_0x2c3395['height']-_0x578d81)):_0x399bca&&(_0xcdc485=_0x578d81*_0x399bca-_0x177149,_0x177149+=_0xcdc485,_0x56e5b0+_0x177149>=_0x2c3395['x']+_0x2c3395['width']&&(_0x177149=_0x2c3395['x']+_0x2c3395['width']-_0x56e5b0,_0x578d81=_0x177149/_0x399bca,_0x56e5b0=_0x2c3395['x']+_0x2c3395['width']-_0x177149,_0x3bd2cf=_0x25b245['y'])),_0x578d81<_0x5d6339&&(_0x578d81=_0x5d6339,_0x399bca&&(_0x177149=_0x578d81*_0x399bca)),_0x177149<_0x5d6339&&(_0x177149=_0x5d6339,_0x399bca&&(_0x578d81=_0x177149/_0x399bca)),{'x':_0x56e5b0,'y':_0x3bd2cf,'width':_0x177149,'height':_0x578d81};}function resizeRect({direction:_0x4c2024,..._0x186280}){switch(_0x4c2024){case'n':return resizeNorth(_0x186280);case'w':return resizeWest(_0x186280);case's':return resizeSouth(_0x186280);case'e':return resizeEast(_0x186280);case'nw':return resizeNorthWest(_0x186280);case'ne':return resizeNorthEast(_0x186280);case'sw':return resizeSouthWest(_0x186280);case'se':return resizeSouthEast(_0x186280);default:return _0x186280['rect'];}}function rectContainsPoint(_0x4d164a,[_0x33bb38,_0x445a33]){return _0x4d164a['x']<=_0x33bb38&&_0x33bb38<=_0x4d164a['x']+_0x4d164a['width']&&_0x4d164a['y']<=_0x445a33&&_0x445a33<=_0x4d164a['y']+_0x4d164a['height'];}function isRectInsideRect(_0x5b6524,_0xa5eb7d){return _0x5b6524['x']>=_0xa5eb7d['x']&&_0x5b6524['y']>=_0xa5eb7d['y']&&_0x5b6524['x']+_0x5b6524['width']<=_0xa5eb7d['x']+_0xa5eb7d['width']&&_0x5b6524['y']+_0x5b6524['height']<=_0xa5eb7d['y']+_0xa5eb7d['height'];}function isRectMatchesAspectRatio(_0x5658b2,_0x436a2e){return Math['abs'](_0x5658b2['width']/_0x5658b2['height']-_0x436a2e)<0.1;}function rotateSize({width:_0x597140,height:_0x151ae3},_0x6fdb7c){const _0x2bda4e=_0x6fdb7c/0x5a%0x2!=0x0;return{'width':_0x2bda4e?_0x151ae3:_0x597140,'height':_0x2bda4e?_0x597140:_0x151ae3};}function calculateMaxCenteredCropFrame(_0x2eae33,_0xc83fe2,_0x222794){let _0x4d2d63,_0x1dddf3;_0x2eae33/_0xc83fe2>_0x222794?(_0x4d2d63=Math['round'](_0xc83fe2*_0x222794),_0x1dddf3=_0xc83fe2):(_0x4d2d63=_0x2eae33,_0x1dddf3=Math['round'](_0x2eae33/_0x222794));const _0x4749e2=Math['round']((_0x2eae33-_0x4d2d63)/0x2),_0x262353=Math['round']((_0xc83fe2-_0x1dddf3)/0x2);return _0x4749e2+_0x4d2d63>_0x2eae33&&(_0x4d2d63=_0x2eae33-_0x4749e2),_0x262353+_0x1dddf3>_0xc83fe2&&(_0x1dddf3=_0xc83fe2-_0x262353),{'x':_0x4749e2,'y':_0x262353,'width':_0x4d2d63,'height':_0x1dddf3};}function roundRect(_0x220389){return{'x':Math['round'](_0x220389['x']),'y':Math['round'](_0x220389['y']),'width':Math['round'](_0x220389['width']),'height':Math['round'](_0x220389['height'])};}function _0x1f4a1d(_0x1b3a3a,_0x17471c,_0x460139){return Math['min'](Math['max'](_0x1b3a3a,_0x17471c),_0x460139);}var _0x4f1eb1=['free'],parseCropPreset=_0x1d8a5f=>{const _0x49c814=stringToArray(_0x1d8a5f);if(!_0x49c814||0x0===_0x49c814['length'])return[];const _0x2ad4fb=[];for(const _0xd4e687 of _0x49c814){const _0xdf0856=_0xd4e687['trim']();if(!_0xdf0856)continue;const _0x20353a=_0xdf0856['indexOf'](':');if(-0x1===_0x20353a&&!_0x4f1eb1['includes'](_0xdf0856)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0xdf0856);continue;}const _0x2d9156=Number(_0xdf0856['slice'](0x0,_0x20353a)),_0x178712=Number(_0xdf0856['slice'](_0x20353a+0x1));!(!Number['isFinite'](_0x2d9156)||!Number['isFinite'](_0x178712)||_0x2d9156<=0x0||_0x178712<=0x0)||_0x4f1eb1['includes'](_0xdf0856)?_0x2ad4fb['push']({'id':_0x217502['generate'](),'type':'aspect-ratio','width':_0x4f1eb1['includes'](_0xdf0856)?0x0:_0x2d9156,'height':_0x4f1eb1['includes'](_0xdf0856)?0x0:_0x178712,'hasFreeform':_0x4f1eb1['includes'](_0xdf0856)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0xdf0856);}return _0x2ad4fb;},getClosestAspectRatio=(_0x174c28,_0x1f044d,_0x14c6d,_0x4f2925=0.1)=>{const _0xb28ac4=_0x174c28/_0x1f044d;let _0x556227=null,_0x5f41c7=0x1/0x0;for(const _0x4f07fc of _0x14c6d){const [_0xaa254c,_0x102ee2]=[_0x4f07fc['width'],_0x4f07fc['height']],_0x91e09e=_0xaa254c/_0x102ee2,_0x202174=Math['abs'](_0xb28ac4-_0x91e09e);_0x202174<_0x5f41c7&&(_0x5f41c7=_0x202174,_0x556227=_0x4f07fc);}if(_0x556227){const [_0x1d2b72,_0x212f68]=[_0x556227['width'],_0x556227['height']],_0x1cbbaa=_0x1d2b72/_0x212f68;if(Math['abs'](_0xb28ac4-_0x1cbbaa)/_0x1cbbaa>_0x4f2925)return null;}return _0x556227;},ExternalUploadSource=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x88fd0b=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x20f223=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',..._0x88fd0b,...ExternalUploadSource});function customUserAgent(_0x4302b3){return getUserAgent$1({..._0x4302b3,'libraryName':_0x57729b,'libraryVersion':_0x1a5042});}var msToUnixTimestamp=_0x2717f4=>'number'!=typeof _0x2717f4?0x0:Math['floor'](_0x2717f4/0x3e8),_0x3baf6e=(_0xc99a20,{threshold:_0x193a4f})=>{const {secureExpire:_0x130b5a}=_0xc99a20,_0x15dd47=msToUnixTimestamp(Date['now']()),_0x20a498=Number(_0x130b5a);return _0x15dd47+msToUnixTimestamp(_0x193a4f)>=_0x20a498;},_0x86b22e=class{['_block'];['_secureToken']=null;constructor(_0x31b2c3){this['_block']=_0x31b2c3;}['_debugPrint'](..._0x4ec550){this['_block']['debugPrint']('[secure-uploads]',..._0x4ec550);}async['getSecureToken'](){const {secureSignature:_0x4f1781,secureExpire:_0x37c51f,secureUploadsSignatureResolver:_0x19129e}=this['_block']['cfg'];if((_0x4f1781||_0x37c51f)&&_0x19129e&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x19129e){if(!this['_secureToken']||_0x3baf6e(this['_secureToken'],{'threshold':this['_block']['cfg']['secureUploadsExpireThreshold']})){this['_secureToken']?this['_debugPrint']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['_debugPrint']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{const _0x167c20=await _0x19129e();_0x167c20?_0x167c20['secureSignature']&&_0x167c20['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x167c20),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x167c20['secureExpire']))['toISOString']()),this['_secureToken']=_0x167c20):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x167c20):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x3527eb){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x3527eb),this['_block']['telemetryManager']['sendEventError'](_0x3527eb,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['_secureToken'];}return _0x4f1781&&_0x37c51f?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x4f1781,'secureExpire':_0x37c51f}),{'secureSignature':_0x4f1781,'secureExpire':_0x37c51f}):null;}},validateCollectionUploadError=(_0x104b7a,_0x2cce8c)=>{if(_0x104b7a['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x2cce8c['l10n']('some-files-were-not-uploaded')};},validateMultiple=(_0x564bc4,_0x42fc3f)=>{const _0x29b7c2=_0x564bc4['totalCount'],_0x57f3e4=_0x42fc3f['cfg']['multiple']?_0x42fc3f['cfg']['multipleMin']:0x0,_0x139554=_0x42fc3f['cfg']['multiple']?_0x42fc3f['cfg']['multipleMax']:0x1;if(_0x57f3e4&&_0x29b7c2<_0x57f3e4)return{'type':'TOO_FEW_FILES','message':_0x42fc3f['l10n']('files-count-limit-error-too-few',{'min':_0x57f3e4,'max':_0x139554,'total':_0x29b7c2}),'payload':{'total':_0x29b7c2,'min':_0x57f3e4,'max':_0x139554}};if(_0x139554&&_0x29b7c2>_0x139554)return{'type':'TOO_MANY_FILES','message':_0x42fc3f['l10n']('files-count-limit-error-too-many',{'min':_0x57f3e4,'max':_0x139554,'total':_0x29b7c2}),'payload':{'total':_0x29b7c2,'min':_0x57f3e4,'max':_0x139554}};},calcIsDesktopSafari=()=>{const _0x1f9a60=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x1f9a60)&&/Version\/[\d.]+.*Safari/['test'](_0x1f9a60)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x1f9a60);},calcHtmlMediaCaptureSupport=()=>'capture'in document['createElement']('input'),_0x52e7cd=()=>({'safariDesktop':calcIsDesktopSafari()}),calcBrowserFeatures=()=>({'htmlMediaCapture':calcHtmlMediaCaptureSupport()}),_0x439c79=_0x52e7cd(),browserFeatures=calcBrowserFeatures(),_0x59dd12='image/*',_0x118749='video/*',_0x263f40=['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs'],calcImageAcceptList=()=>_0x439c79['safariDesktop']?[_0x59dd12]:[_0x59dd12,..._0x263f40],_0x13a59a=calcImageAcceptList(),_0x569874=_0x2d3da2=>_0x2d3da2?_0x2d3da2['filter'](_0x3c524c=>'string'==typeof _0x3c524c)['flatMap'](_0x4a1e63=>stringToArray(_0x4a1e63)):[],matchMimeType=(_0x240728,_0x4a9e6d)=>_0x4a9e6d['some'](_0x3de155=>{if(_0x3de155['endsWith']('*')){const _0x28d2d4=_0x3de155['replace']('*','');return _0x240728['startsWith'](_0x28d2d4);}return _0x240728===_0x3de155;}),matchExtension=(_0x235bc7,_0x280ddb)=>_0x280ddb['some'](_0x3379bb=>!!_0x3379bb['startsWith']('.')&&_0x235bc7['toLowerCase']()['endsWith'](_0x3379bb['toLowerCase']())),_0x4ed5d8=_0x4c0d02=>{const _0x2bc4dc=_0x4c0d02?.['type'];return!!_0x2bc4dc&&matchMimeType(_0x2bc4dc,_0x13a59a);},validateFileType=(_0x281f7f,_0x2bb731)=>{const _0x326a53=_0x2bb731['cfg']['imgOnly'],_0x3119d3=_0x2bb731['cfg']['accept'],_0x6e55bb=_0x569874([..._0x326a53?_0x13a59a:[],_0x3119d3]);if(!_0x6e55bb['length'])return;const _0x4bea36=_0x281f7f['mimeType'],_0x1eff98=_0x281f7f['name'];if(!_0x4bea36||!_0x1eff98)return;const _0x5d3079=matchMimeType(_0x4bea36,_0x6e55bb),_0x59eede=matchExtension(_0x1eff98,_0x6e55bb);return _0x5d3079||_0x59eede?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x2bb731['l10n']('file-type-not-allowed'),'payload':{'entry':_0x281f7f}};},validateIsImage=(_0x4f64e0,_0x1b4161)=>{const _0xb1cca3=_0x1b4161['cfg']['imgOnly'],_0x35c2a9=_0x4f64e0['isImage'];if(_0xb1cca3&&!_0x35c2a9&&(_0x4f64e0['fileInfo']||!_0x4f64e0['externalUrl'])&&(_0x4f64e0['fileInfo']||_0x4f64e0['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x1b4161['l10n']('images-only-accepted'),'payload':{'entry':_0x4f64e0}};},_0x2743bf=0x3e8,ByteUnitEnum=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x3670d1=_0x54eedd=>Math['ceil'](0x64*_0x54eedd)/0x64,prettyBytes=(_0x122d38,_0x1ce222=ByteUnitEnum['AUTO'])=>{const _0x132179=_0x1ce222===ByteUnitEnum['AUTO'];if(_0x1ce222===ByteUnitEnum['BYTE']||_0x132179&&_0x122d38<_0x2743bf**0x1)return _0x122d38+'\x20'+('one'===getPluralForm('en-US',_0x122d38)?'byte':'bytes');return _0x1ce222===ByteUnitEnum['KB']||_0x132179&&_0x122d38<_0x2743bf**0x2?_0x3670d1(_0x122d38/_0x2743bf**0x1)+'\x20KB':_0x1ce222===ByteUnitEnum['MB']||_0x132179&&_0x122d38<_0x2743bf**0x3?_0x3670d1(_0x122d38/_0x2743bf**0x2)+'\x20MB':_0x1ce222===ByteUnitEnum['GB']||_0x132179&&_0x122d38<_0x2743bf**0x4?_0x3670d1(_0x122d38/_0x2743bf**0x3)+'\x20GB':_0x1ce222===ByteUnitEnum['TB']||_0x132179&&_0x122d38<_0x2743bf**0x5?_0x3670d1(_0x122d38/_0x2743bf**0x4)+'\x20TB':_0x3670d1(_0x122d38/_0x2743bf**0x5)+'\x20PB';},validateMaxSizeLimit=(_0x3f52f9,_0x3de8f4)=>{const _0x183235=_0x3de8f4['cfg']['maxLocalFileSizeBytes'],_0x296a76=_0x3f52f9['size'];if(_0x183235&&_0x296a76&&_0x296a76>_0x183235)return{'type':'FILE_SIZE_EXCEEDED','message':_0x3de8f4['l10n']('files-max-size-limit-error',{'maxFileSize':prettyBytes(_0x183235)}),'payload':{'entry':_0x3f52f9}};},validateUploadError=(_0xc4b77a,_0x507799)=>{const {internalId:_0x2ed673}=_0xc4b77a,_0x21e8da=_0x507799['_uploadCollection']['read'](_0x2ed673),_0x1da5e2=_0x21e8da?.['getValue']('uploadError');if(!_0x1da5e2)return;if(_0x1da5e2 instanceof _0x15cbda)return{'type':'UPLOAD_ERROR','message':_0x1da5e2['message'],'payload':{'entry':_0xc4b77a,'error':_0x1da5e2}};if(_0x1da5e2 instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0x1da5e2['message'],'payload':{'entry':_0xc4b77a,'error':_0x1da5e2}};const _0x6d22cc=_0x1da5e2 instanceof Error?_0x1da5e2:new Error('Unknown\x20error',{'cause':_0x1da5e2});return{'type':'UNKNOWN_ERROR','message':_0x6d22cc['message'],'payload':{'entry':_0xc4b77a,'error':_0x6d22cc}};},withResolvers=()=>{let _0x2fb87b=()=>{},_0x47088a=()=>{};return{'promise':new Promise((_0x5b629b,_0x28ec6e)=>{_0x2fb87b=_0x5b629b,_0x47088a=_0x28ec6e;}),'resolve':_0x2fb87b,'reject':_0x47088a};},_0x44a2eb={'FILE_VALIDATION_FAILED':'File\x20validator\x20execution\x20has\x20failed','FILE_VALIDATION_TIMEOUT':'File\x20validator\x20execution\x20has\x20timed\x20out','COLLECTION_VALIDATION_FAILED':'Collection\x20validator\x20execution\x20has\x20failed','MISSING_ERROR_MESSAGE':'Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.'},getValidatorDescriptor=_0xeee164=>'function'==typeof _0xeee164?{'runOn':'change','validator':_0xeee164}:_0xeee164,ValidationManager=class{['_blockInstance'];['_uploadCollection'];['_commonFileValidators']=[validateIsImage,validateFileType,validateMaxSizeLimit,validateUploadError];['_commonCollectionValidators']=[validateMultiple,validateCollectionUploadError];['_queue']=new _0x101e7a(0x14);['_runQueueDebounced']=_0x2a8397(()=>{this['_queue']['run']();},0x1f4);['_entryValidationState']=new Map();constructor(_0x4aaa52){this['_blockInstance']=_0x4aaa52,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x117d59=()=>{this['runFileValidators']('change'),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x117d59),this['_blockInstance']['subConfigValue']('multipleMin',_0x117d59),this['_blockInstance']['subConfigValue']('multipleMax',_0x117d59),this['_blockInstance']['subConfigValue']('multiple',_0x117d59),this['_blockInstance']['subConfigValue']('imgOnly',_0x117d59),this['_blockInstance']['subConfigValue']('accept',_0x117d59),this['_blockInstance']['subConfigValue']('validationConcurrency',_0x45df0d=>{this['_queue']['concurrency']=_0x45df0d;});}['runFileValidators'](_0x5bf4bc,_0x39195c){const _0x39dd69=_0x39195c??this['_uploadCollection']['items']();for(const _0x59cbc8 of _0x39dd69){const _0x4788e3=this['_uploadCollection']['read'](_0x59cbc8);_0x4788e3&&this['_runFileValidatorsForEntry'](_0x4788e3,_0x5bf4bc);}}['runCollectionValidators'](){const _0x295e2c=this['_blockInstance']['api']['getOutputCollectionState'](),_0x144d99=[];for(const _0x12c956 of[...this['_commonCollectionValidators'],...this['_blockInstance']['cfg']['collectionValidators']])try{const _0x50d735=_0x12c956(_0x295e2c,this['_blockInstance']['api']);if(!_0x50d735)continue;_0x50d735&&(_0x144d99['push'](this['_addCustomTypeToValidationError'](_0x50d735)),_0x50d735['message']||console['warn'](_0x44a2eb['MISSING_ERROR_MESSAGE']));}catch(_0x2e6dd1){console['warn'](_0x44a2eb['COLLECTION_VALIDATION_FAILED'],_0x2e6dd1);}this['_blockInstance']['$']['*collectionErrors']=_0x144d99,_0x144d99['length']>0x0&&this['_blockInstance']['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](_0x5c0b29){const _0x4e6794=this['_entryValidationState']['get'](_0x5c0b29['uid']);_0x4e6794&&(_0x4e6794['abortController']?.['abort'](),this['_entryValidationState']['delete'](_0x5c0b29['uid']));}async['_runFileValidatorsForEntry'](_0x40dccd,_0x359c8f){const _0x34371f=this['_getValidatorDescriptorsForEntry'](_0x40dccd,_0x359c8f);if(0x0===_0x34371f['length'])return;_0x40dccd['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});const _0x194c74=this['_blockInstance']['api']['getOutputItem'](_0x40dccd['uid']),_0x593dd2=this['_getEntryValidationState'](_0x40dccd);_0x593dd2['promise']&&await _0x593dd2['promise'];const {promise:_0x53e764,resolve:_0x35beb8}=withResolvers();_0x593dd2['promise']=_0x53e764;const _0x5280ea=new AbortController();_0x593dd2['abortController']=_0x5280ea;const _0x422dff=this['_blockInstance']['cfg']['validationTimeout'],_0x3c3144=this['_getValidatorDescriptors'](),_0x568d58=new Set(_0x34371f['map'](_0x4a17fa=>_0x4a17fa['validator'])),_0x7e1713=[];for(const _0x409230 of _0x3c3144)if(!_0x568d58['has'](_0x409230['validator'])){const _0xa026f=_0x593dd2['lastErrorThrownByValidator']['get'](_0x409230['validator']);_0xa026f&&_0x7e1713['push'](_0xa026f);}const _0x85dc1a=_0x34371f['map'](_0x19ea15=>async()=>{if(!this['_blockInstance']['isConnected'])return;const _0x1b3170=setTimeout(()=>{_0x593dd2['skippedValidators']['add'](_0x19ea15['validator']),_0x5280ea['abort'](),console['warn'](_0x44a2eb['FILE_VALIDATION_TIMEOUT']);},_0x422dff);try{const _0x31d17c=await _0x19ea15['validator'](_0x194c74,this['_blockInstance']['api'],{'signal':_0x5280ea['signal']});if(!_0x31d17c||_0x5280ea['signal']['aborted'])return void _0x593dd2['lastErrorThrownByValidator']['set'](_0x19ea15['validator'],void 0x0);const _0x41bb83=this['_addCustomTypeToValidationError'](_0x31d17c);_0x593dd2['lastErrorThrownByValidator']['set'](_0x19ea15['validator'],_0x41bb83),_0x7e1713['push'](_0x41bb83),_0x31d17c['message']||console['warn'](_0x44a2eb['MISSING_ERROR_MESSAGE']);}catch(_0x19f857){_0x5280ea['signal']['aborted']||(_0x593dd2['skippedValidators']['add'](_0x19ea15['validator']),console['warn'](_0x44a2eb['FILE_VALIDATION_FAILED'],_0x19f857),this['_blockInstance']['telemetryManager']['sendEventError'](_0x19f857,'file\x20validator.\x20'+_0x44a2eb['FILE_VALIDATION_FAILED']));}finally{clearTimeout(_0x1b3170),'change'!==_0x19ea15['runOn']&&_0x593dd2['skippedValidators']['add'](_0x19ea15['validator']);}});if(this['_runQueueDebounced'](),await this['_queue']['add'](async()=>{_0x40dccd['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x85dc1a['map'](_0x83e072=>_0x83e072()))['catch'](()=>{});},{'autoRun':!0x1}),_0x5280ea['signal']['aborted'])return _0x40dccd['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}),void _0x35beb8();_0x40dccd['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x7e1713}),_0x35beb8();}['_addCustomTypeToValidationError'](_0x469a7b){return{..._0x469a7b,'type':_0x469a7b['type']??'CUSTOM_ERROR'};}['_getEntryValidationState'](_0x16f120){const _0xccb8f3=this['_entryValidationState']['get'](_0x16f120['uid']);if(_0xccb8f3)return _0xccb8f3;const _0x1c92b2={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['_entryValidationState']['set'](_0x16f120['uid'],_0x1c92b2),_0x1c92b2;}['_getValidatorDescriptors'](){return[...this['_commonFileValidators'],...this['_blockInstance']['cfg']['fileValidators']]['map'](getValidatorDescriptor);}['_getValidatorDescriptorsForEntry'](_0x5f50ff,_0x52d0ff){const _0x384d3c=this['_getEntryValidationState'](_0x5f50ff);return this['_getValidatorDescriptors']()['filter'](_0x36915b=>!_0x384d3c['skippedValidators']['has'](_0x36915b['validator']))['filter'](_0x1166a9=>_0x1166a9['runOn']===_0x52d0ff);}},_0x46f14e='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x2e9d7d='[Typed\x20State]\x20Wrong\x20property\x20type:\x20',TypedData=class{['__typedSchema'];['__ctxId'];['__schema'];['__data'];constructor(_0x139734,_0x3b7296){this['__typedSchema']=_0x139734,this['__ctxId']=_0x3b7296||_0x217502['generate'](),this['__schema']=Object['keys'](_0x139734)['reduce']((_0x374be7,_0x46338d)=>(_0x139734[_0x46338d]&&(_0x374be7[_0x46338d]=_0x139734[_0x46338d]['value']),_0x374be7),{}),this['__data']=Data['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x349f43,_0x20f940){if(!Object['hasOwn'](this['__typedSchema'],_0x349f43)||!this['__typedSchema'][_0x349f43])return void console['warn'](_0x46f14e+_0x349f43);const _0x45d631=this['__typedSchema'][_0x349f43],_0x23e727=_0x20f940?.['constructor']===_0x45d631['type'],_0x3fd3b4=_0x20f940 instanceof _0x45d631['type'],_0x552863=_0x45d631['nullable']&&null===_0x20f940;_0x23e727||_0x3fd3b4||_0x552863?this['__data']['pub'](_0x349f43,_0x20f940):console['warn'](_0x2e9d7d+_0x349f43);}['setMultipleValues'](_0x1df795){for(const [_0x1afc9e,_0x3d8d0e]of Object['entries'](_0x1df795))this['setValue'](_0x1afc9e,_0x3d8d0e);}['getValue'](_0x20044e){return Object['hasOwn'](this['__typedSchema'],_0x20044e)||console['warn'](_0x46f14e+_0x20044e),this['__data']['read'](_0x20044e);}['subscribe'](_0xd3adf2,_0x507226){return this['__data']['sub'](_0xd3adf2,_0x507226);}['remove'](){Data['deleteCtx'](this['__ctxId']);}},TypedCollection=class{['__typedSchema'];['__ctxId'];['__data'];['__watchList'];['__subsMap']=Object['create'](null);['__propertyObservers']=new Set();['__collectionObservers']=new Set();['__items']=new Set();['__removed']=new Set();['__added']=new Set();['__observeTimeout'];['__notifyTimeout'];['__notifyObservers'];constructor(_0x5bfe58){this['__typedSchema']=_0x5bfe58['typedSchema'],this['__ctxId']=_0x5bfe58['ctxName']||_0x217502['generate'](),this['__data']=Data['registerCtx']({},this['__ctxId']),this['__watchList']=_0x5bfe58['watchList']||[];let _0x116464=Object['create'](null);this['__notifyObservers']=(_0x37c091,_0x46a737)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x116464[_0x37c091]||(_0x116464[_0x37c091]=new Set()),_0x116464[_0x37c091]['add'](_0x46a737),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x116464)['length']&&(this['__propertyObservers']['forEach'](_0x208931=>{_0x208931({..._0x116464});}),_0x116464=Object['create'](null));});},_0x5bfe58['handler']&&this['observeCollection'](_0x5bfe58['handler']);}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{const _0x4e275e=new Set(this['__added']),_0x1de820=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0x45db49 of this['__collectionObservers'])_0x45db49?.([...this['__items']],_0x4e275e,_0x1de820);});}['observeCollection'](_0x732719){return this['__collectionObservers']['add'](_0x732719),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x732719);};}['unobserveCollection'](_0x2fd44f){this['__collectionObservers']['delete'](_0x2fd44f);}['add'](_0x1d7dfc){const _0x233878=new TypedData(this['__typedSchema']);for(const [_0xe51980,_0x1c9456]of Object['entries'](_0x1d7dfc))void 0x0!==_0x1c9456&&_0x233878['setValue'](_0xe51980,_0x1c9456);return this['__items']['add'](_0x233878['uid']),this['notify'](),this['__data']['add'](_0x233878['uid'],_0x233878),this['__added']['add'](_0x233878),this['__watchList']['forEach'](_0x3f584e=>{this['__subsMap'][_0x233878['uid']]||(this['__subsMap'][_0x233878['uid']]=[]),this['__subsMap'][_0x233878['uid']]?.['push'](_0x233878['subscribe'](_0x3f584e,()=>{this['__notifyObservers'](_0x3f584e,_0x233878['uid']);}));}),_0x233878['uid'];}['read'](_0x5a58c9){return this['__data']['read'](_0x5a58c9);}['readProp'](_0x383867,_0x13069){const _0x28b31a=this['read'](_0x383867);return _0x28b31a?_0x28b31a['getValue'](_0x13069):(console['warn']('Item\x20with\x20id\x20'+_0x383867+'\x20not\x20found'),null);}['publishProp'](_0x1aa9b9,_0x510ba5,_0x56f6b2){const _0x1b60f1=this['read'](_0x1aa9b9);_0x1b60f1?_0x1b60f1['setValue'](_0x510ba5,_0x56f6b2):console['warn']('Item\x20with\x20id\x20'+_0x1aa9b9+'\x20not\x20found');}['remove'](_0x2b829f){const _0x44afa2=this['read'](_0x2b829f);_0x44afa2&&this['__removed']['add'](_0x44afa2),this['__items']['delete'](_0x2b829f),this['notify'](),this['__data']['pub'](_0x2b829f,null),delete this['__subsMap'][_0x2b829f];}['clearAll'](){this['__items']['forEach'](_0x564858=>{this['remove'](_0x564858);});}['observeProperties'](_0x3f9abc){return this['__propertyObservers']['add'](_0x3f9abc),()=>{this['unobserveProperties'](_0x3f9abc);};}['unobserveProperties'](_0x2964f8){this['__propertyObservers']['delete'](_0x2964f8);}['findItems'](_0x37dc3c){const _0xde90=[];return this['__items']['forEach'](_0x174353=>{const _0x19fa6f=this['read'](_0x174353);_0x19fa6f&&_0x37dc3c(_0x19fa6f)&&_0xde90['push'](_0x174353);}),_0xde90;}['items'](){return[...this['__items']];}get['size'](){return this['__items']['size'];}['destroy'](){Data['deleteCtx'](this['__ctxId']),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set();for(const _0x18ee0b in this['__subsMap'])this['__subsMap'][_0x18ee0b]?.['forEach'](_0x56a6a7=>{_0x56a6a7['remove']();}),delete this['__subsMap'][_0x18ee0b];}},_0x59769d=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),CameraSourceEvents=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x5c8cf0=_0x400910=>({'isVideoRecordingEnabled':_0x1c2c08(_0x400910['cameraModes'])['includes'](_0x59769d['VIDEO']),'isPhotoEnabled':_0x1c2c08(_0x400910['cameraModes'])['includes'](_0x59769d['PHOTO'])}),_0x426aea=/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i,_0x447994=new RegExp('^/?('+_0x426aea['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x2c09df=({url:_0x3fa69e,cdnBase:_0x101660})=>{const _0x12d480=new URL(_0x101660),_0xd1773f=new URL(_0x2beac2),_0x263587=new URL(_0x3fa69e);if(_0x12d480['host']!==_0x263587['host']&&_0xd1773f['host']!==_0x263587['host'])return null;const _0xe71b02=_0x447994['exec'](_0x263587['pathname']);if(!_0xe71b02)return null;const [,_0x8bd79f,_0x182dd9,_0x1cbdcb]=_0xe71b02;return _0x8bd79f?{'uuid':_0x8bd79f,'cdnUrlModifiers':_0x182dd9||'','filename':_0x1cbdcb||null}:null;};function _0x59951f(_0x51fade){const _0x515b37=new Map();return(..._0x4c3a9c)=>{const _0x3d8f47=JSON['stringify'](_0x4c3a9c);if(_0x515b37['has'](_0x3d8f47))return _0x515b37['get'](_0x3d8f47);const _0x553178=_0x51fade(..._0x4c3a9c);return _0x515b37['set'](_0x3d8f47,_0x553178),_0x553178;};}var _0x2f8f03=new Set();function _0x580821(_0x3e443c){_0x2f8f03['has'](_0x3e443c)||(_0x2f8f03['add'](_0x3e443c),console['warn'](_0x3e443c));}function createAsyncAssertWrapper(_0x14b09b){let _0x5454cd=!0x1;return setTimeout(()=>{_0x5454cd=!0x0;},0x0),_0x111bc9=>(..._0x586f79)=>(_0x5454cd&&_0x580821(_0x14b09b),_0x111bc9(..._0x586f79));}function buildOutputCollectionState(_0x384621){const _0x14f633={},_0x27db3f={'progress':()=>_0x384621['$']['*commonProgress'],'errors':()=>_0x384621['$']['*collectionErrors'],'group':()=>_0x384621['$']['*groupInfo'],'totalCount':()=>_0x384621['uploadCollection']['size'],'failedCount':()=>_0x14f633['failedEntries']['length'],'successCount':()=>_0x14f633['successEntries']['length'],'uploadingCount':()=>_0x14f633['uploadingEntries']['length'],'status':()=>_0x14f633['isFailed']?'failed':_0x14f633['isUploading']?'uploading':_0x14f633['isSuccess']?'success':'idle','isSuccess':()=>_0x14f633['allEntries']['length']>0x0&&0x0===_0x14f633['errors']['length']&&_0x14f633['successEntries']['length']===_0x14f633['allEntries']['length'],'isUploading':()=>_0x14f633['allEntries']['some'](_0x4b13c3=>'uploading'===_0x4b13c3['status']),'isFailed':()=>_0x14f633['errors']['length']>0x0||_0x14f633['failedEntries']['length']>0x0,'allEntries':()=>_0x384621['getOutputData'](),'successEntries':()=>_0x14f633['allEntries']['filter'](_0x418090=>'success'===_0x418090['status']),'failedEntries':()=>_0x14f633['allEntries']['filter'](_0x255b16=>'failed'===_0x255b16['status']),'uploadingEntries':()=>_0x14f633['allEntries']['filter'](_0x3c4947=>'uploading'===_0x3c4947['status']),'idleEntries':()=>_0x14f633['allEntries']['filter'](_0x403e01=>'idle'===_0x403e01['status'])},_0x2ddff3=createAsyncAssertWrapper('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(const [_0x3a2bf7,_0x2956d5]of Object['entries'](_0x27db3f)){const _0x5528c2=_0x3a2bf7,_0xaf27c0=_0x59951f(_0x2ddff3(_0x2956d5));Object['defineProperty'](_0x14f633,_0x5528c2,{'get':_0xaf27c0,'enumerable':!0x0});}return _0x14f633;}var _0x24a5f6=class{['_ctx'];constructor(_0x2d2f6e){this['_ctx']=_0x2d2f6e;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x5c36f3,{silent:_0x4b79ea,fileName:_0x16c86a,source:_0x3b1b48}={})=>{const _0x3f36ce=this['_uploadCollection']['add']({'externalUrl':_0x5c36f3,'fileName':_0x16c86a??null,'silent':_0x4b79ea??!0x1,'source':_0x3b1b48??_0x20f223['API']});return this['getOutputItem'](_0x3f36ce);};['addFileFromUuid']=(_0x46cdcb,{silent:_0xd41aa1,fileName:_0x24479,source:_0x516edc}={})=>{const _0x301520=this['_uploadCollection']['add']({'uuid':_0x46cdcb,'fileName':_0x24479??null,'silent':_0xd41aa1??!0x1,'source':_0x516edc??_0x20f223['API']});return this['getOutputItem'](_0x301520);};['addFileFromCdnUrl']=(_0xf33a28,{silent:_0xcaa059,fileName:_0x7cb85c,source:_0x28ab0f}={})=>{const _0x5ca8b8=_0x2c09df({'url':_0xf33a28,'cdnBase':this['cfg']['cdnCname']});if(!_0x5ca8b8)throw new Error('Invalid\x20CDN\x20URL');const _0x340c60=this['_uploadCollection']['add']({'uuid':_0x5ca8b8['uuid'],'cdnUrl':_0xf33a28,'cdnUrlModifiers':_0x5ca8b8['cdnUrlModifiers'],'fileName':_0x7cb85c??_0x5ca8b8['filename']??null,'silent':_0xcaa059??!0x1,'source':_0x28ab0f??_0x20f223['API']});return this['getOutputItem'](_0x340c60);};['addFileFromObject']=(_0x10a416,{silent:_0x588c3f,fileName:_0x5c12c3,source:_0x20cf4d,fullPath:_0x585850}={})=>{const _0x1842ad=this['_uploadCollection']['add']({'file':_0x10a416,'isImage':_0x4ed5d8(_0x10a416),'mimeType':_0x10a416['type'],'fileName':_0x5c12c3??_0x10a416['name'],'fileSize':_0x10a416['size'],'silent':_0x588c3f??!0x1,'source':_0x20cf4d??_0x20f223['API'],'fullPath':_0x585850??null});return this['getOutputItem'](_0x1842ad);};['removeFileByInternalId']=_0x49ab7f=>{if(!this['_uploadCollection']['read'](_0x49ab7f))throw new Error('File\x20with\x20internalId\x20'+_0x49ab7f+'\x20not\x20found');this['_uploadCollection']['remove'](_0x49ab7f);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x115a4a=this['_uploadCollection']['items']()['filter'](_0x4ff981=>{const _0x1ec126=this['_uploadCollection']['read'](_0x4ff981);return!!_0x1ec126&&!(_0x1ec126['getValue']('isRemoved')||_0x1ec126['getValue']('isUploading')||_0x1ec126['getValue']('fileInfo')||0x0!==_0x1ec126['getValue']('errors')['length']||_0x1ec126['getValue']('isValidationPending')||_0x1ec126['getValue']('isQueuedForValidation'));});0x0!==_0x115a4a['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x115a4a),this['_ctx']['emit'](EventType['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0x447732={})=>{const _0xa0f5b2=_0x48a6ae(_0x569874([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x13a59a:[]])),_0x5c9343='uploadcare-file-input',_0x25ab99=document['createElement']('input');if(_0x25ab99['setAttribute'](_0x5c9343,''),applyStyles(_0x25ab99,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x25ab99['type']='file',_0x25ab99['multiple']=this['cfg']['multiple'],_0x447732['captureCamera']){_0x25ab99['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x1c7cdb,isVideoRecordingEnabled:_0x4e073b}=_0x5c8cf0(this['cfg']);_0x447732['modeCamera']===_0x59769d['PHOTO']&&_0x1c7cdb?_0x25ab99['accept']=_0x59dd12:_0x447732['modeCamera']===_0x59769d['VIDEO']&&_0x4e073b?_0x25ab99['accept']=_0x118749:_0x25ab99['accept']=[_0x59dd12,_0x4e073b&&_0x118749]['filter'](Boolean)['join'](',');}else _0x25ab99['accept']=_0xa0f5b2;_0x25ab99['addEventListener']('change',()=>{_0x25ab99['files']&&([..._0x25ab99['files']]['forEach'](_0x1ad8ed=>{this['addFileFromObject'](_0x1ad8ed,{'source':_0x447732['captureCamera']?_0x20f223['CAMERA']:_0x20f223['LOCAL']});}),this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],_0x25ab99['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x5c9343+']')['forEach'](_0x8bd453=>{_0x8bd453['remove']();}),document['body']['appendChild'](_0x25ab99),_0x25ab99['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0x552654){const _0x28b7e9=Data['getCtx'](_0x552654)['store'],_0x4cdb09=_0x28b7e9['fileInfo'],_0x52de5c=_0x28b7e9['isRemoved']?'removed':_0x28b7e9['errors']['length']>0x0?'failed':_0x28b7e9['fileInfo']?'success':_0x28b7e9['isUploading']?'uploading':'idle';return{'uuid':_0x4cdb09?.['uuid']??_0x28b7e9['uuid']??null,'internalId':_0x552654,'name':_0x4cdb09?.['originalFilename']??_0x28b7e9['fileName'],'size':_0x4cdb09?.['size']??_0x28b7e9['fileSize'],'isImage':_0x4cdb09?.['isImage']??_0x28b7e9['isImage'],'mimeType':_0x4cdb09?.['mimeType']??_0x28b7e9['mimeType'],'file':_0x28b7e9['file'],'externalUrl':_0x28b7e9['externalUrl'],'cdnUrlModifiers':_0x28b7e9['cdnUrlModifiers'],'cdnUrl':_0x28b7e9['cdnUrl']??_0x4cdb09?.['cdnUrl']??null,'fullPath':_0x28b7e9['fullPath'],'uploadProgress':_0x28b7e9['uploadProgress'],'fileInfo':_0x4cdb09??null,'metadata':_0x28b7e9['metadata']??_0x4cdb09?.['metadata']??null,'isSuccess':'success'===_0x52de5c,'isUploading':'uploading'===_0x52de5c,'isFailed':'failed'===_0x52de5c,'isRemoved':'removed'===_0x52de5c,'isValidationPending':_0x28b7e9['isValidationPending'],'errors':_0x28b7e9['errors'],'status':_0x52de5c,'source':_0x28b7e9?.['source']};}['getOutputCollectionState'](){return buildOutputCollectionState(this['_ctx']);}['initFlow']=(_0x4d18b7=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0x4d18b7)this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x585109=this['_sourceList'][0x0];if('local'===_0x585109)return this['_ctx']['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x585109&&browserFeatures['htmlMediaCapture']){const {isPhotoEnabled:_0x21f96c,isVideoRecordingEnabled:_0x2cc56f}=_0x5c8cf0(this['cfg']);if(_0x21f96c&&_0x2cc56f)return void this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']});if(_0x21f96c||_0x2cc56f)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x21f96c?_0x59769d['PHOTO']:_0x59769d['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x59769d['PHOTO']});}const _0x4c7709=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x47c9f0=>'type'in _0x47c9f0&&_0x47c9f0['type']===_0x585109);_0x4c7709?.['activate'](),this['_ctx']['$']['*currentActivity']&&this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']);}else this['_ctx']['modalManager']?.['open'](ActivityBlock['activities']['START_FROM']),this['_ctx']['set$']({'*currentActivity':ActivityBlock['activities']['START_FROM']});}};['doneFlow']=()=>{this['_ctx']['set$']({'*currentActivity':this['_ctx']['doneActivity'],'*history':this['_ctx']['doneActivity']?[this['_ctx']['doneActivity']]:[]}),this['_ctx']['$']['*currentActivity']||this['_ctx']['modalManager']?.['closeAll']();};['setCurrentActivity']=(_0x542f78,..._0xa0ae83)=>{this['_ctx']['hasBlockInCtx'](_0x2e2ca0=>_0x2e2ca0['activityType']===_0x542f78)?this['_ctx']['set$']({'*currentActivityParams':_0xa0ae83??{},'*currentActivity':_0x542f78}):console['warn']('Activity\x20type\x20\x22'+_0x542f78+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x46eea1=>{!_0x46eea1||this['_ctx']['$']['*currentActivity']?_0x46eea1?this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']):(this['_ctx']['modalManager']?.['close'](this['_ctx']['$']['*currentActivity']),this['_ctx']['$']['*currentActivity']=null):console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');};get['_sourceList'](){let _0x36f7e9=[];return this['cfg']['sourceList']&&(_0x36f7e9=stringToArray(this['cfg']['sourceList'])),_0x36f7e9;}},uploadEntrySchema=Object['freeze']({'file':Object['freeze']({'type':File,'value':null,'nullable':!0x0}),'externalUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileName':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileSize':Object['freeze']({'type':Number,'value':null,'nullable':!0x0}),'lastModified':Object['freeze']({'type':Number,'value':Date['now']()}),'uploadProgress':Object['freeze']({'type':Number,'value':0x0}),'uuid':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'isImage':Object['freeze']({'type':Boolean,'value':!0x1}),'mimeType':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'ctxName':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'cdnUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'cdnUrlModifiers':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileInfo':Object['freeze']({'type':_0x4b697b,'value':null,'nullable':!0x0}),'isUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'abortController':Object['freeze']({'type':AbortController,'value':null,'nullable':!0x0}),'thumbUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'silent':Object['freeze']({'type':Boolean,'value':!0x1}),'source':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fullPath':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'metadata':Object['freeze']({'type':Object,'value':null,'nullable':!0x0}),'errors':Object['freeze']({'type':Array,'value':[]}),'uploadError':Object['freeze']({'type':Error,'value':null,'nullable':!0x0}),'isRemoved':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'isValidationPending':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForValidation':Object['freeze']({'type':Boolean,'value':!0x1})}),_0xf7dddd=class _0x35289e extends ActivityBlock{static ['extSrcList'];static ['sourceTypes'];['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['_unobserveCollection'];['_unobserveCollectionProperties'];['init$']=uploaderBlockCtx(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x29b48b=>_0x29b48b instanceof _0x35289e&&(_0x29b48b['isCtxOwner']&&_0x29b48b['isConnected']&&_0x29b48b!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){const _0x38fdce=new TypedCollection({'typedSchema':uploadEntrySchema,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']});this['add']('*uploadCollection',_0x38fdce);}this['has']('*publicApi')||this['add']('*publicApi',new _0x24a5f6(this)),this['has']('*validationManager')||this['add']('*validationManager',new ValidationManager(this)),!this['hasCtxOwner']&&this['couldBeCtxOwner']&&this['_initCtxOwner']();}get['validationManager'](){if(!this['has']('*validationManager'))throw new Error('Unexpected\x20error:\x20ValidationManager\x20is\x20not\x20initialized');return this['$']['*validationManager'];}get['api'](){if(!this['has']('*publicApi'))throw new Error('Unexpected\x20error:\x20UploaderPublicApi\x20is\x20not\x20initialized');return this['$']['*publicApi'];}['getAPI'](){return this['api'];}get['uploadCollection'](){if(!this['has']('*uploadCollection'))throw new Error('Unexpected\x20error:\x20TypedCollection\x20is\x20not\x20initialized');return this['$']['*uploadCollection'];}['destroyCtxCallback'](){this['uploadCollection']['destroy'](),this['$']['*uploadCollection']=null,super['destroyCtxCallback']();}['disconnectedCallback'](){super['disconnectedCallback'](),this['isCtxOwner']&&this['_unobserveUploadCollection']();}['connectedCallback'](){super['connectedCallback'](),this['isCtxOwner']&&this['_observeUploadCollection']();}['destroyCallback'](){super['destroyCallback'](),this['_flushOutputItems']['cancel']();}['_initCtxOwner'](){this['isCtxOwner']=!0x0,this['_observeUploadCollection'](),this['subConfigValue']('maxConcurrentRequests',_0x5ea333=>{this['$']['*uploadQueue']['concurrency']=Number(_0x5ea333)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new _0x86b22e(this));}['_observeUploadCollection'](){this['_unobserveUploadCollection'](),this['_unobserveCollection']=this['uploadCollection']['observeCollection'](this['_handleCollectionUpdate']),this['_unobserveCollectionProperties']=this['uploadCollection']['observeProperties'](this['_handleCollectionPropertiesUpdate']);}['_unobserveUploadCollection'](){this['_unobserveCollectionProperties']?.(),this['_unobserveCollection']?.(),this['_unobserveCollectionProperties']=void 0x0,this['_unobserveCollection']=void 0x0;}async['_createGroup'](_0x4ff2d3){const _0x11a8d9=await this['getUploadClientOptions'](),_0x1a7e4f=_0x4ff2d3['allEntries']['map'](_0x2d4726=>_0x2d4726['uuid']+(_0x2d4726['cdnUrlModifiers']?'/'+_0x2d4726['cdnUrlModifiers']:'')),_0x42018b=new AbortController(),_0x495b4a=await _0x53b10c(_0x1a7e4f,{..._0x11a8d9,'signal':_0x42018b['signal']});if(this['$']['*collectionState']!==_0x4ff2d3)return void _0x42018b['abort']();this['$']['*groupInfo']=_0x495b4a;const _0x4aa1a4=this['api']['getOutputCollectionState']();this['emit'](EventType['GROUP_CREATED'],_0x4aa1a4),this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x4aa1a4;}['_flushOutputItems']=_0x2a8397(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;const e=this['api']['getOutputCollectionState']();this['$']['*collectionState']=e,this['emit'](EventType['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&e['totalCount']>0x0&&'success'===e['status']&&this['_createGroup'](e);},0x12c);['_handleCollectionUpdate']=(_0x1c7e71,_0x2f3826,_0x355600)=>{(_0x2f3826['size']||_0x355600['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x2f3826]['map'](_0x199b18=>_0x199b18['uid']));for(const _0x17e874 of _0x2f3826)_0x17e874['getValue']('silent')||this['emit'](EventType['FILE_ADDED'],this['api']['getOutputItem'](_0x17e874['uid']));this['validationManager']['runCollectionValidators']();for(const _0x685f0f of _0x355600){this['$']['*uploadTrigger']['delete'](_0x685f0f['uid']),this['validationManager']['cleanupValidationForEntry'](_0x685f0f),_0x685f0f['getValue']('abortController')?.['abort'](),_0x685f0f['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0x30ab13=_0x685f0f?.['getValue']('thumbUrl');_0x30ab13&&URL['revokeObjectURL'](_0x30ab13),this['emit'](EventType['FILE_REMOVED'],this['api']['getOutputItem'](_0x685f0f['uid']));}this['$']['*uploadList']=_0x1c7e71['map'](_0x405200=>({'uid':_0x405200})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0x5d3049=>{this['_flushOutputItems']();const _0x4e84d8=this['uploadCollection'],_0x1d5b35=[...new Set(Object['entries'](_0x5d3049)['filter'](([_0xec552f])=>['uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0xec552f))['flatMap'](([,_0x2b5932])=>[..._0x2b5932]))];if(_0x1d5b35['length']>0x0&&setTimeout(()=>{const _0x49f71f=_0x1d5b35['filter'](_0x15a3ca=>_0x5d3049['fileInfo']?.['has'](_0x15a3ca)&&!!Data['getCtx'](_0x15a3ca)['store']['fileInfo']);_0x49f71f['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x49f71f),this['validationManager']['runFileValidators']('change',_0x1d5b35);}),_0x5d3049['uploadProgress']){for(const _0x53ee19 of _0x5d3049['uploadProgress']){const {isUploading:_0x355b69,silent:_0x51b92d}=Data['getCtx'](_0x53ee19)['store'];_0x355b69&&!_0x51b92d&&this['emit'](EventType['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x53ee19));}this['_flushCommonUploadProgress']();}if(_0x5d3049['isUploading'])for(const _0x58b0e0 of _0x5d3049['isUploading']){const {isUploading:_0x519fcf,silent:_0xb162c5}=Data['getCtx'](_0x58b0e0)['store'];_0x519fcf&&!_0xb162c5&&this['emit'](EventType['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x58b0e0));}if(_0x5d3049['fileInfo']){for(const _0x576f5f of _0x5d3049['fileInfo']){const {fileInfo:_0x26bcd8,silent:_0x84ceab}=Data['getCtx'](_0x576f5f)['store'];_0x26bcd8&&!_0x84ceab&&this['emit'](EventType['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x576f5f));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0x5d3049['errors']){this['validationManager']['runCollectionValidators']();for(const _0x48352d of _0x5d3049['errors']){const {errors:_0xcaef38}=Data['getCtx'](_0x48352d)['store'];_0xcaef38['length']>0x0&&(this['emit'](EventType['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x48352d)),this['emit'](EventType['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x2055d8=_0x4e84d8['findItems'](_0x268ed8=>!!_0x268ed8['getValue']('fileInfo')),_0x5d28d3=_0x4e84d8['findItems'](_0x5ed890=>_0x5ed890['getValue']('errors')['length']>0x0);_0x4e84d8['size']>0x0&&0x0===_0x5d28d3['length']&&_0x4e84d8['size']===_0x2055d8['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](EventType['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}_0x5d3049['cdnUrl']&&([..._0x5d3049['cdnUrl']]['filter'](_0x5b7163=>!!this['uploadCollection']['read'](_0x5b7163)?.['getValue']('cdnUrl'))['forEach'](_0x595f50=>{this['emit'](EventType['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x595f50));}),this['$']['*groupInfo']=null);};['_flushCommonUploadProgress']=()=>{let _0x9877e5=0x0;const _0x3962e4=[...this['$']['*uploadTrigger']]['filter'](_0x286014=>!!this['uploadCollection']['read'](_0x286014));_0x3962e4['forEach'](_0x8ac7c8=>{const _0x112d93=this['uploadCollection']['readProp'](_0x8ac7c8,'uploadProgress');'number'==typeof _0x112d93&&(_0x9877e5+=_0x112d93);});const _0x47b329=_0x3962e4['length']?Math['round'](_0x9877e5/_0x3962e4['length']):0x0;this['$']['*commonProgress']!==_0x47b329&&(this['$']['*commonProgress']=_0x47b329,this['emit'](EventType['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0x4d072b]=this['uploadCollection']['findItems'](_0x5165f5=>!!_0x5165f5['getValue']('fileInfo')&&_0x5165f5['getValue']('isImage'))['map'](_0xb4ca3d=>this['uploadCollection']['read'](_0xb4ca3d));_0x4d072b&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x3fd557=>_0x3fd557['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x4d072b['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x27f405=parseCropPreset(this['cfg']['cropPreset']);if(_0x27f405){const [_0x45147b]=_0x27f405,_0x325f69=this['uploadCollection']['findItems'](_0x53c0d6=>!!_0x53c0d6['getValue']('fileInfo')&&_0x53c0d6['getValue']('isImage')&&!_0x53c0d6['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x1f369d=>this['uploadCollection']['read'](_0x1f369d))['filter'](Boolean);for(const _0x47e354 of _0x325f69){const _0x12b947=_0x47e354['getValue']('fileInfo');if(!_0x12b947||!_0x12b947['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x47e354['uid']);continue;}const {width:_0x507b30,height:_0x57624c}=_0x12b947['imageInfo'],_0xef9a55=calculateMaxCenteredCropFrame(_0x507b30,_0x57624c,'number'==typeof _0x45147b?.['width']&&'number'==typeof _0x45147b?.['height']&&_0x45147b['width']>0x0&&_0x45147b['height']>0x0?_0x45147b['width']/_0x45147b['height']:0x1),_0x3395bb=createCdnUrlModifiers('crop/'+_0xef9a55['width']+'x'+_0xef9a55['height']+'/'+_0xef9a55['x']+','+_0xef9a55['y'],'preview'),_0x2cdb2d=_0x47e354['getValue']('cdnUrl');_0x2cdb2d?(_0x47e354['setMultipleValues']({'cdnUrlModifiers':_0x3395bb,'cdnUrl':createCdnUrl(_0x2cdb2d,_0x3395bb)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x245396=>_0x245396['activityType']===ActivityBlock['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x47e354['uid']},this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x47e354['uid']);}}}async['getMetadataFor'](_0x23a755){const _0x221e6f=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x221e6f){const _0x5294e5=this['api']['getOutputItem'](_0x23a755);return await _0x221e6f(_0x5294e5);}return _0x221e6f;}async['getUploadClientOptions'](){const _0x2b7f6a=this['$']['*secureUploadsManager'],_0x589c4f=await _0x2b7f6a['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':customUserAgent,'integration':this['cfg']['userAgentIntegration'],'secureSignature':_0x589c4f?.['secureSignature'],'secureExpire':_0x589c4f?.['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 this['uploadCollection']['items']()['map'](_0x5f3158=>this['api']['getOutputItem'](_0x5f3158));}};_0xf7dddd['extSrcList']=Object['freeze']({...ExternalUploadSource}),_0xf7dddd['sourceTypes']=Object['freeze']({..._0x20f223});var ActivityHeader=class extends ActivityBlock{},_0x3f9d6d=()=>void 0x0!==navigator['permissions'],_0x4e0d70={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x268205=['camera','microphone'];function formatTime(_0x2e14f0){return Math['floor'](_0x2e14f0/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x2e14f0%0x3c)['toString']()['padStart'](0x2,'0');}var _0x2d84ef='image/jpeg',_0x188a83='video/webm',_0x16b3cb=class extends _0xf7dddd{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CAMERA'];['_unsubPermissions']=null;['_capturing']=!0x1;['_chunks']=[];['_mediaRecorder']=null;['_stream']=null;['_selectedAudioId']=null;['_selectedCameraId']=null;['_activeTab']=null;['_options']={};['_canvas']=null;['_ctx']=null;['_cameraDevices']=[];['_audioDevices']=[];['_permissionResponses']={};constructor(){super(),this['init$']={...this['init$'],'video':null,'videoTransformCss':null,'videoHidden':!0x0,'messageHidden':!0x0,'requestBtnHidden':_0x3f9d6d(),'cameraSelectOptions':null,'cameraSelectHidden':!0x0,'l10nMessage':'','switcher':null,'panels':null,'timer':null,'timerHidden':!0x0,'cameraHidden':!0x0,'cameraActionsHidden':!0x0,'audioSelectOptions':null,'audioSelectHidden':!0x0,'audioSelectDisabled':!0x0,'audioToggleMicrophoneHidden':!0x0,'tabCameraHidden':!0x0,'tabVideoHidden':!0x0,'currentIcon':'camera-full','currentTimelineIcon':'play','toggleMicrophoneIcon':'microphone','_startTime':0x0,'_elapsedTime':0x0,'_animationFrameId':null,'mutableClassButton':'uc-shot-btn\x20uc-camera-action','onCameraSelectChange':_0xca0aad=>{const _0x3aa5cb=_0xca0aad['target'];_0x3aa5cb&&(this['_selectedCameraId']=_0x3aa5cb['value'],this['_capture']());},'onAudioSelectChange':_0x541cd0=>{const _0x9bc57f=_0x541cd0['target'];_0x9bc57f&&(this['_selectedAudioId']=_0x9bc57f['value'],this['_capture']());},'onCancel':()=>{this['historyBack']();},'onShot':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_shot']();},'onRequestPermissions':()=>this['_capture'](),'onStartCamera':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_chooseActionWithCamera']();},'onStartRecording':()=>this['_startRecording'](),'onStopRecording':()=>this['_stopRecording'](),'onToggleRecording':()=>this['_toggleRecording'](),'onToggleAudio':()=>this['_toggleEnableAudio'](),'onRetake':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_retake']();},'onAccept':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_accept']();},'onClickTab':_0x292567=>{const _0x5c87ec=_0x292567['currentTarget'],_0x177b66=_0x5c87ec?.['getAttribute']('data-id');_0x177b66&&this['_handleActiveTab'](_0x177b66);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===_0x59769d['PHOTO']&&this['_shot'](),this['_activeTab']===_0x59769d['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0xd48228=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x1474a9=this['cfg']['maxVideoRecordingDuration']-_0xd48228;if(_0x1474a9<=0x0){const _0x59f65c=this['ref']['timer'];return _0x59f65c&&(_0x59f65c['textContent']=formatTime(_0x1474a9)),void this['_stopRecording']();}const _0x20ef0f=this['ref']['timer'];_0x20ef0f&&(_0x20ef0f['textContent']=formatTime(_0x1474a9));}else{const _0x8a4c72=this['ref']['timer'];_0x8a4c72&&(_0x8a4c72['textContent']=formatTime(_0xd48228));}this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0xd5f795=this['ref']['video'];if(!_0xd5f795)return;const _0x390f1f=_0xd5f795['currentTime'],_0x26408d=_0xd5f795['duration']||0x1,_0x532918=this['ref']['line'];_0x532918&&(_0x532918['style']['transform']='scaleX('+_0x390f1f/_0x26408d+')');const _0x3a2bef=this['ref']['timer'];_0x3a2bef&&(_0x3a2bef['textContent']=formatTime(_0x390f1f)),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_animationFrameId']=null;['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x2499bf}=this['cfg']['mediaRecorderOptions']||{};_0x2499bf&&MediaRecorder['isTypeSupported'](_0x2499bf)?this['_options']['mimeType']=_0x2499bf:MediaRecorder['isTypeSupported'](_0x188a83)?this['_options']['mimeType']=_0x188a83:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x2f0a15=>{this['_chunks']['push'](_0x2f0a15['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](CameraSourceEvents['PLAY']));}catch(_0x1fc512){console['error']('Failed\x20to\x20start\x20recording',_0x1fc512),this['telemetryManager']['sendEventError'](_0x1fc512,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}};['_stopRecording']=()=>{this['_mediaRecorder']?.['addEventListener']('stop',()=>{this['_previewVideo'](),this['_stopTimer'](),this['_setCameraState'](CameraSourceEvents['STOP']);}),this['_mediaRecorder']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['_activeTab']}}});};['_toggleRecording']=()=>{'recording'!==this['_mediaRecorder']?.['state']&&(!this['ref']['video']['paused']&&!this['ref']['video']['ended']&&this['ref']['video']['readyState']>0x2?this['ref']['video']['pause']():this['ref']['video']['paused']&&this['ref']['video']['play']());};['_toggleEnableAudio']=()=>{this['_stream']?.['getAudioTracks']()['forEach'](_0x346b13=>{_0x346b13['enabled']=!_0x346b13['enabled'],this['$']['toggleMicrophoneIcon']=_0x346b13['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x346b13['enabled'];});};['_previewVideo']=()=>{try{const _0x4b7811=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x8c759a=URL['createObjectURL'](_0x4b7811),_0x3acde7=this['ref']['video'];if(!_0x3acde7)return;_0x3acde7['muted']=!0x1,_0x3acde7['volume']=0x1,this['$']['video']=null,_0x3acde7['src']=_0x8c759a,_0x3acde7['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),_0x3acde7['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0x31ca33){console['error']('Failed\x20to\x20preview\x20video',_0x31ca33),this['telemetryManager']['sendEventError'](_0x31ca33,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}};['_retake']=()=>{if(this['_setCameraState'](CameraSourceEvents['RETAKE']),this['_activeTab']===_0x59769d['VIDEO']){this['$']['video']=this['_stream'];const _0x37f5dc=this['ref']['video'];_0x37f5dc&&(_0x37f5dc['muted']=!0x0);}this['ref']['video']?.['play']?.();};['_accept']=()=>{if(this['_setCameraState'](CameraSourceEvents['ACCEPT']),this['_activeTab']===_0x59769d['PHOTO'])return void this['_canvas']?.['toBlob'](_0x332c9e=>{if(!_0x332c9e)return;const _0x5ca8bb=this['_createFile']('camera','jpeg',_0x2d84ef,_0x332c9e);this['_toSend'](_0x5ca8bb);},_0x2d84ef);const _0x2e46ba=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x2020d3=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x47393e=this['_createFile']('video',_0x2020d3,'video/'+_0x2020d3,_0x2e46ba);this['_toSend'](_0x47393e),this['_chunks']=[];};['_handlePhoto']=_0x4a20f3=>{_0x4a20f3===CameraSourceEvents['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x4a20f3!==CameraSourceEvents['RETAKE']&&_0x4a20f3!==CameraSourceEvents['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](_0x59769d['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x59769d['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x41ea3e=>{_0x41ea3e===CameraSourceEvents['PLAY']&&this['set$']({'timerHidden':!0x1,'tabCameraHidden':!0x0,'cameraSelectHidden':!0x0,'audioSelectHidden':!0x0,'currentTimelineIcon':'pause','currentIcon':'square','mutableClassButton':'uc-shot-btn\x20uc-camera-action\x20uc-stop-record'}),_0x41ea3e===CameraSourceEvents['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x41ea3e!==CameraSourceEvents['RETAKE']&&_0x41ea3e!==CameraSourceEvents['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](_0x59769d['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x59769d['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording'],'currentIcon':'video-camera-full','mutableClassButton':'uc-shot-btn\x20uc-camera-action','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_setCameraState']=_0x6792d1=>{this['_activeTab']!==_0x59769d['PHOTO']||'shot'!==_0x6792d1&&'retake'!==_0x6792d1&&'accept'!==_0x6792d1||this['_handlePhoto'](_0x6792d1),this['_activeTab']!==_0x59769d['VIDEO']||'play'!==_0x6792d1&&'stop'!==_0x6792d1&&'retake'!==_0x6792d1&&'accept'!==_0x6792d1&&'pause'!==_0x6792d1&&'resume'!==_0x6792d1||this['_handleVideo'](_0x6792d1);};['_shot'](){if(this['_setCameraState']('shot'),this['_canvas']=document['createElement']('canvas'),this['_ctx']=this['_canvas']['getContext']('2d'),!this['_ctx'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');this['_canvas']['height']=this['ref']['video']['videoHeight'],this['_canvas']['width']=this['ref']['video']['videoWidth'],this['cfg']['cameraMirror']&&(this['_ctx']['translate'](this['_canvas']['width'],0x0),this['_ctx']['scale'](-0x1,0x1)),this['_ctx']['drawImage'](this['ref']['video'],0x0,0x0),this['ref']['video']['pause']();}['_handleActiveTab']=_0xeb37dc=>{const _0x5a8b20=this['ref']['switcher'];_0x5a8b20?.['querySelectorAll']('button')['forEach'](_0x3d6ec7=>{_0x3d6ec7['classList']['toggle']('uc-active',_0x3d6ec7['getAttribute']('data-id')===_0xeb37dc);}),_0xeb37dc===_0x59769d['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0xeb37dc===_0x59769d['VIDEO']&&this['set$']({'currentTimelineIcon':'play','currentIcon':'video-camera-full','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording']}),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':_0xeb37dc}}}),this['_activeTab']=_0xeb37dc;};['_createFile']=(_0x1d7d03,_0x162d2b,_0x3be45f,_0x120a86)=>{const _0x2ace15=Date['now']();return new File([_0x120a86],_0x1d7d03+'-'+_0x2ace15+'.'+_0x162d2b,{'lastModified':_0x2ace15,'type':_0x3be45f});};['_guessExtensionByMime'](_0x521f69){const _0x3e20ec={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x521f69)return'webm';if(_0x521f69){const _0xc3a22f=_0x521f69['split']('/');if('video'===_0xc3a22f?.[0x0]){const _0x524f30=_0xc3a22f['slice'](0x1)['join']('/'),_0x3cabf1=_0x524f30?.['split'](';')[0x0];if(_0x3cabf1&&_0x3e20ec[_0x3cabf1])return _0x3e20ec[_0x3cabf1];}}return'avi';}['_toSend']=_0x1a4fb7=>{this['api']['addFileFromObject'](_0x1a4fb7,{'source':_0x20f223['CAMERA']}),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return stringToArray(this['cfg']['cameraModes'])['filter'](_0x2a6c67=>_0x2a6c67===_0x59769d['PHOTO']||_0x2a6c67===_0x59769d['VIDEO']);}['_setPermissionsState']=_0x2a8397(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===_0x59769d['VIDEO']&&this['cfg']['enableAudioRecording'],n=this['_activeTab']===_0x59769d['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0x59769d['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x59769d['VIDEO']),'messageHidden':!0x0,'timerHidden':!0x0,'currentIcon':n,'audioToggleMicrophoneHidden':!i,'audioSelectHidden':!i}):'prompt'===e?(this['$']['l10nMessage']='camera-permissions-prompt',this['set$']({'videoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'messageHidden':!0x1}),this['_stopCapture']()):(this['$']['l10nMessage']='camera-permissions-denied',this['set$']({'videoHidden':!0x0,'messageHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0x59769d['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x59769d['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x787be0=this['_stream']?.['getAudioTracks'](),_0x41fdab=this['_stream']?.['getVideoTracks']();return _0x787be0['forEach'](_0x2418b5=>{_0x2418b5['stop']();}),_0x41fdab['forEach'](_0x317780=>{_0x317780['stop']();}),!0x0;};['_stopCapture']=()=>{if(this['_capturing']){this['ref']['video']['volume']=0x0;const _0x5c5e56=this['$']['video']?.['getTracks']?.();_0x5c5e56?.[0x0]?.['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1;}};['_capture']=async()=>{const _0x2717bb={'video':{..._0x4e0d70},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x2717bb['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x2717bb['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']&&(this['ref']['video']['volume']=0x0);try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x2717bb),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x4a3a8a){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x4a3a8a),this['telemetryManager']['sendEventError'](_0x4a3a8a,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x166b27 of _0x268205){const _0x1c311a=await navigator['permissions']['query']({'name':_0x166b27});this['_permissionResponses'][_0x166b27]=_0x1c311a,_0x1c311a['addEventListener']('change',this['_handlePermissionsChange']);}}catch(_0x2ca95e){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x2ca95e),this['telemetryManager']['sendEventError'](_0x2ca95e,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['_capture']();}};['_getPermission']=()=>{};['_requestDeviceAccess']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['_getDevices'](),navigator['mediaDevices']['addEventListener']('devicechange',this['_getDevices']);}catch(_0x50d7db){this['telemetryManager']['sendEventError'](_0x50d7db,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x50d7db);}};['_getDevices']=async()=>{try{const _0x50f0d5=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0x50f0d5['filter'](_0x38f9c6=>'videoinput'===_0x38f9c6['kind'])['map']((_0x41874d,_0x56b46f)=>({'text':_0x41874d['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x56b46f+0x1),'value':_0x41874d['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']?_0x50f0d5['filter'](_0x5b3415=>'audioinput'===_0x5b3415['kind'])['map'](_0x2da1a1=>({'text':_0x2da1a1['label']['trim'](),'value':_0x2da1a1['deviceId']})):[],this['_cameraDevices']['length']>0x1&&this['set$']({'cameraSelectOptions':this['_cameraDevices'],'cameraSelectHidden':!0x1}),this['_selectedCameraId']=this['_cameraDevices'][0x0]?.['value']??null,this['_audioDevices']['length']>0x1&&this['set$']({'audioSelectOptions':this['_audioDevices'],'audioSelectHidden':!0x1}),this['_selectedAudioId']=this['_audioDevices'][0x0]?.['value']??null;}catch(_0x2d58cc){this['telemetryManager']['sendEventError'](_0x2d58cc,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x2d58cc);}};['_onActivate']=async()=>{await this['_permissionAccess'](),await this['_requestDeviceAccess'](),await this['_capture'](),this['_handleCameraModes'](this['_cameraModes']);};['_onDeactivate']=async()=>{this['_unsubPermissions']&&this['_unsubPermissions'](),(Boolean(window['chrome'])||this['_setPermissionsState']('denied'),this['_stopCapture']());};['_handleCameraModes']=_0x3c667b=>{this['$']['tabVideoHidden']=!_0x3c667b['includes'](_0x59769d['VIDEO']),this['$']['tabCameraHidden']=!_0x3c667b['includes'](_0x59769d['PHOTO']);const _0xba1510=_0x3c667b[0x0];!_0xba1510||this['_activeTab']&&_0x3c667b['includes'](this['_activeTab'])||this['_handleActiveTab'](_0xba1510);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0x5ea3b5=>{this['$']['videoTransformCss']=_0x5ea3b5?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x5d32a9=>{this['$']['audioToggleMicrophoneHidden']=!_0x5d32a9,this['$']['audioSelectDisabled']=!_0x5d32a9;}),this['subConfigValue']('cameraModes',_0x32e256=>{if(!this['isActivityActive'])return;const _0x212c38=_0x1c2c08(_0x32e256);this['_handleCameraModes'](_0x212c38['filter'](_0x230d70=>_0x230d70===_0x59769d['PHOTO']||_0x230d70===_0x59769d['VIDEO']));});}['_destroy'](){for(const _0x35a7fe of _0x268205)this['_permissionResponses'][_0x35a7fe]?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}};_0x16b3cb['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:back\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!cameraSelectHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-camera\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-select\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20cameraSelectOptions;\x20@hidden:\x20cameraSelectHidden;\x20onchange:\x20onCameraSelectChange\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<video\x0a\x20\x20\x20\x20\x20\x20muted\x0a\x20\x20\x20\x20\x20\x20autoplay\x0a\x20\x20\x20\x20\x20\x20playsinline\x0a\x20\x20\x20\x20\x20\x20set=\x22srcObject:\x20video;\x20style.transform:\x20videoTransformCss;\x20@hidden:\x20videoHidden\x22\x0a\x20\x20\x20\x20\x20\x20ref=\x22video\x22\x0a\x20\x20\x20\x20></video>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-message-box\x22\x20set=\x22@hidden:\x20messageHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22l10nMessage\x22></span>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRequestPermissions;\x20@hidden:\x20requestBtnHidden\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22camera-permissions-request\x22\x0a\x20\x20\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-controls\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22switcher\x22\x20class=\x22uc-switcher\x22\x20set=\x22@hidden:!timerHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22photo\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20\x20@hidden:\x20tabCameraHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22video\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20@hidden:\x20tabVideoHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22video-camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-secondary-btn\x20uc-recording-timer\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:timerHidden;\x20onclick:\x20onToggleRecording\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentTimelineIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22timer\x22>\x2000:00\x20</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22line\x22\x20class=\x22uc-line\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-actions\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20cameraActionsHidden\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20onRetake\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Retake\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAccept\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-testid=\x22accept\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Accept\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-shot-btn\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20data-testid=\x22shot\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onStartCamera;\x20@class:\x20mutableClassButton;\x20@hidden:\x20cameraHidden;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x20class=\x22uc-select\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-btn-microphone\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onToggleAudio;\x20@hidden:\x20audioToggleMicrophoneHidden;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:toggleMicrophoneIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-audio-select\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20audioSelectOptions;\x20onchange:\x20onAudioSelectChange;\x20@hidden:\x20audioSelectHidden;\x20@disabled:\x20audioSelectDisabled\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x2155d3='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x3108cb(..._0x186bb2){return _0x186bb2['reduce']((_0x49521c,_0x2ee398)=>{if('string'==typeof _0x2ee398)return _0x49521c[_0x2ee398]=!0x0,_0x49521c;for(const _0x2b9981 of Object['keys'](_0x2ee398))_0x49521c[_0x2b9981]=_0x2ee398[_0x2b9981];return _0x49521c;},{});}function _0x4b7ea0(..._0xdac33d){const _0x525bc3=_0x3108cb(..._0xdac33d);return Object['keys'](_0x525bc3)['reduce']((_0x8c176,_0x2cc9ac)=>(_0x525bc3[_0x2cc9ac]&&_0x8c176['push'](_0x2cc9ac),_0x8c176),[])['join']('\x20');}function _0x2f9cd6(_0x24fe5f,..._0x2adf6a){const _0x71a40d=_0x3108cb(..._0x2adf6a);for(const _0x1f1632 of Object['keys'](_0x71a40d))_0x24fe5f['classList']['toggle'](_0x1f1632,Boolean(_0x71a40d[_0x1f1632]));}var _0x3705c0=_0x1bc41c=>_0x547f3f['includes'](_0x1bc41c),_0x44c681=_0x2660c7=>{if(!_0x2660c7)return _0x547f3f;const _0x31e89f=_0x1c2c08(_0x2660c7)['filter'](_0x3705c0);return 0x0===_0x31e89f['length']?_0x547f3f:_0x31e89f;};function initState(_0x49bf72){return{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x547f3f,'*tabId':_0x34f39e['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':_0x2155d3,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':_0x48a6ae([..._0x547f3f]),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{const _0x44b49e=_0x49bf72['querySelectorAll']('img');for(const _0x50abde of _0x44b49e){const _0x54ea47=_0x50abde['src'];_0x50abde['src']=_0x2155d3,_0x50abde['src']=_0x54ea47;}_0x49bf72['$']['*networkProblems']=!0x1;},'*on.apply':_0x1b0adc=>{if(!_0x1b0adc)return;const _0x3cef33=_0x49bf72['$']['*originalUrl'],_0x55a87b=createCdnUrlModifiers(transformationsToOperations(_0x1b0adc),'preview'),_0x13a115={'originalUrl':_0x3cef33,'cdnUrlModifiers':_0x55a87b,'cdnUrl':createCdnUrl(_0x3cef33,_0x55a87b),'transformations':_0x1b0adc};_0x49bf72['dispatchEvent'](new CustomEvent('apply',{'detail':_0x13a115,'bubbles':!0x0,'composed':!0x0})),_0x49bf72['remove']();},'*on.cancel':()=>{_0x49bf72['remove'](),_0x49bf72['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var svg_sprite_default2='<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>',_0x11e2a7='\x0a\x20\x20'+svg_sprite_default2+'\x0a\x20\x20<div\x20class=\x22uc-wrapper\x20uc-wrapper_desktop\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x20class=\x22uc-network_problems_splash\x22\x20set=\x22visible:\x20presence.networkProblems;\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_icon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22sad\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_text\x22>Network\x20error</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_footer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20text=\x22Retry\x22\x20set=\x22onclick:\x20*on.retryNetwork\x22></uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-viewport\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type_outer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type\x22>{{fileType}}</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-image_container\x22\x20ref=\x22img-container-el\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22'+_0x2155d3+'\x22\x20class=\x22uc-image\x20uc-image_visible_from_editor\x22\x20ref=\x22img-el\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-cropper\x20ref=\x22cropper-el\x22></uc-editor-image-cropper>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-fader\x20ref=\x22fader-el\x22></uc-editor-image-fader>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-info_pan\x22>{{msg}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-toolbar_content\x20uc-toolbar_content__editor\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-toolbar></uc-editor-toolbar>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a',CloudImageEditorBlock=class extends _0x263636{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];['_debouncedShowLoader']=_0x2a8397(this['_showLoader']['bind'](this),0x12c);constructor(){super(),this['init$']={...this['init$'],...initState(this)};}['_showLoader'](_0x50ead2){this['$']['showLoader']=_0x50ead2;}['_waitForSize'](){return new Promise((_0x277794,_0x112008)=>{const _0x58f5bb=window['setTimeout'](()=>{_0x112008(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0x3c7fc8=new ResizeObserver(_0x344668=>{const [_0x21cdbc]=_0x344668;_0x21cdbc&&_0x21cdbc['contentRect']['width']>0x0&&_0x21cdbc['contentRect']['height']>0x0&&(window['clearTimeout'](_0x58f5bb),_0x3c7fc8['disconnect'](),window['setTimeout'](()=>_0x277794(),0x0));});_0x3c7fc8['observe'](this);});}['initCallback'](){super['initCallback'](),this['$']['*faderEl']=this['ref']['fader-el'],this['$']['*cropperEl']=this['ref']['cropper-el'],this['$']['*imgContainerEl']=this['ref']['img-container-el'],this['initEditor']();}async['updateImage'](){if(this['isConnected']){if(await this['_waitForSize'](),this['$']['cdnUrl']){const _0x40f3a8=this['$']['cdnUrl'],_0x197307=extractUuid(_0x40f3a8),_0x49011c=createOriginalUrl(_0x40f3a8,_0x197307);if(_0x49011c===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x49011c;const _0x1bc0d9=operationsToTransformations(extractOperations(_0x40f3a8));this['$']['*editorTransformations']=_0x1bc0d9;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x36c126=createOriginalUrl(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x36c126===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x36c126,this['$']['*editorTransformations']={};}}this['$']['*tabId']===_0x34f39e['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{const _0x30576e=this['$']['*originalUrl'],_0x318a80=await this['proxyUrl'](createCdnUrl(_0x30576e,createCdnUrlModifiers('json'))),_0x131655=await fetch(_0x318a80)['then'](_0x2e03fa=>_0x2e03fa['json']()),{width:_0x5db3db,height:_0x16f171}=_0x131655;this['$']['*imageSize']={'width':_0x5db3db,'height':_0x16f171},this['$']['*tabId']===_0x34f39e['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':_0x30576e});}catch(_0x920ae7){_0x920ae7&&(this['telemetryManager']['sendEventError'](_0x920ae7,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x920ae7));}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0x1fe224){return void(this['isConnected']&&console['error'](_0x1fe224['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_debouncedShowLoader'](!0x1),this['$']['src']!==_0x2155d3&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x4417b0=>{const _0xf13996=this['ref']['img-el'];_0xf13996['src']!==_0x4417b0&&(_0xf13996['src']=_0x4417b0||_0x2155d3);}),this['sub']('tabs',_0x1ffc01=>{this['$']['*tabList']=_0x44c681(_0x1ffc01);}),this['sub']('*tabId',_0x3fc897=>{this['ref']['img-el']['className']=_0x4b7ea0('uc-image',{'uc-image_hidden_to_cropper':_0x3fc897===_0x34f39e['CROP'],'uc-image_hidden_effects':_0x3fc897!==_0x34f39e['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x243c5e=>{this['$']['presence.networkProblems']=_0x243c5e,this['$']['presence.modalCaption']=!_0x243c5e;}),this['sub']('*editorTransformations',_0x64b34c=>{if(0x0===Object['keys'](_0x64b34c)['length'])return;const _0x4a3763=this['$']['*originalUrl'],_0x35117b=createCdnUrlModifiers(transformationsToOperations(_0x64b34c),'preview'),_0x12d761={'originalUrl':_0x4a3763,'cdnUrlModifiers':_0x35117b,'cdnUrl':createCdnUrl(_0x4a3763,_0x35117b),'transformations':_0x64b34c};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x12d761,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x256bc9=>_0x256bc9&&this['updateImage']()),this['sub']('cdnUrl',_0x3bed47=>_0x3bed47&&this['updateImage']()),this['sub']('cropPreset',_0x52b851=>{const _0x38f5bc=parseCropPreset(_0x52b851);let _0x11a204=null;if(this['$']['cdnUrl']){const _0x52bf08=operationsToTransformations(extractOperations(this['$']['cdnUrl']));if(Array['isArray'](_0x52bf08?.['crop']?.['dimensions'])){const [_0x2e9134,_0x342dd7]=_0x52bf08['crop']['dimensions'];_0x11a204=getClosestAspectRatio(_0x2e9134,_0x342dd7,_0x38f5bc,0.1);}}this['$']['*cropPresetList']=_0x38f5bc,this['$']['*currentAspectRatio']=_0x11a204??_0x38f5bc?.[0x0]??null;});}};CloudImageEditorBlock['template']=_0x11e2a7,CloudImageEditorBlock['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});var _0x4d18bb=class extends _0x263636{['_handlePointerUp'];['_handlePointerMove'];['_handleSvgPointerMove'];['_backdropMaskId']='backdrop-mask-'+_0x217502['generate']();['_backdropMask'];['_backdropMaskInner'];['_frameThumbs'];['_frameGuides'];['_draggingThumb'];['_hoverThumb'];['_dragStartPoint'];['_dragStartCrop'];['_frameImage'];['_guidesHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'dragging':!0x1},this['_handlePointerUp']=this['_handlePointerUp_']['bind'](this),this['_handlePointerMove']=this['_handlePointerMove_']['bind'](this),this['_handleSvgPointerMove']=this['_handleSvgPointerMove_']['bind'](this);}['_shouldThumbBeDisabled'](_0x14d8be){const _0x2dc2b4=this['$']['*imageBox'];if(!_0x2dc2b4)return!0x1;if(''===_0x14d8be&&_0x2dc2b4['height']<=_0x5d6339&&_0x2dc2b4['width']<=_0x5d6339)return!0x0;const _0x138ce9=_0x2dc2b4['height']<=_0x5d6339&&(_0x14d8be['includes']('n')||_0x14d8be['includes']('s')),_0x2703f8=_0x2dc2b4['width']<=_0x5d6339&&(_0x14d8be['includes']('e')||_0x14d8be['includes']('w'));return _0x138ce9||_0x2703f8;}['_createBackdrop'](){const _0x22d8b7=this['$']['*cropBox'];if(!_0x22d8b7)return;const {x:_0x15068c,y:_0x552678,width:_0x4f655f,height:_0x6d417a}=_0x22d8b7,_0x4b7d9c=this['ref']['svg-el'],_0xff73da=createSvgNode('mask',{'id':this['_backdropMaskId']}),_0x274b12=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x3a036a=createSvgNode('rect',{'x':_0x15068c,'y':_0x552678,'width':_0x4f655f,'height':_0x6d417a,'fill':'black'});_0xff73da['appendChild'](_0x274b12),_0xff73da['appendChild'](_0x3a036a);const _0xa4c87e=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['_backdropMaskId']+')'});_0x4b7d9c['appendChild'](_0xa4c87e),_0x4b7d9c['appendChild'](_0xff73da),this['_backdropMask']=_0xff73da,this['_backdropMaskInner']=_0x3a036a;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){const _0x352662=this['$']['*cropBox'];if(!_0x352662)return;const {x:_0x5075f3,y:_0x44735a,width:_0x616e12,height:_0x11c216}=_0x352662;this['_backdropMaskInner']&&setSvgNodeAttrs(this['_backdropMaskInner'],{'x':_0x5075f3,'y':_0x44735a,'width':_0x616e12,'height':_0x11c216});}['_updateFrame'](){const _0xcb0548=this['$']['*cropBox'];if(_0xcb0548&&this['_frameGuides']&&this['_frameThumbs']){for(const _0x332bcc of Object['values'](this['_frameThumbs'])){if(!_0x332bcc)continue;const {direction:_0x25f71b,pathNode:_0x3ab83b,interactionNode:_0x43b6bf,groupNode:_0x8c354f}=_0x332bcc,_0x526d71=''===_0x25f71b,_0x2cf482=0x2===_0x25f71b['length'],{x:_0x647c26,y:_0x572020,width:_0x52db3a,height:_0x8c3493}=_0xcb0548;if(_0x526d71)setSvgNodeAttrs(_0x43b6bf,{'x':_0x647c26,'y':_0x572020,'width':_0x52db3a,'height':_0x8c3493});else{const _0x160893=_0x1f4a1d(Math['min'](_0x52db3a,_0x8c3493)/(0x2*_0x5d39a7+_0x2290d9)/0x2,0x0,0x1),_0x3b3946=_0x2cf482?cornerPath(_0xcb0548,_0x25f71b,_0x160893):sidePath(_0xcb0548,_0x25f71b,_0x160893),_0x5812de=_0x3b3946['center'];if(!_0x5812de)continue;const _0x2664fa=Math['max'](_0x2e4d49*_0x1f4a1d(Math['min'](_0x52db3a,_0x8c3493)/_0x2e4d49/0x3,0x0,0x1),_0x5ee435);setSvgNodeAttrs(_0x43b6bf,{'x':_0x5812de[0x0]-_0x2664fa,'y':_0x5812de[0x1]-_0x2664fa,'width':0x2*_0x2664fa,'height':0x2*_0x2664fa}),setSvgNodeAttrs(_0x3ab83b,{'d':_0x3b3946['d']});}const _0x311fd2=this['_shouldThumbBeDisabled'](_0x25f71b);_0x8c354f['setAttribute']('class',_0x4b7ea0('uc-thumb',{'uc-thumb--hidden':_0x311fd2,'uc-thumb--visible':!_0x311fd2}));}setSvgNodeAttrs(this['_frameGuides'],{'x':_0xcb0548['x']-0.5*_0x39ad0b,'y':_0xcb0548['y']-0.5*_0x39ad0b,'width':_0xcb0548['width']+_0x39ad0b,'height':_0xcb0548['height']+_0x39ad0b});}}['_createThumb'](_0xf0c2ab,_0x408dc2){const _0x2cc775=createSvgNode('g');_0x2cc775['classList']['add']('uc-thumb'),_0x2cc775['setAttribute']('with-effects','');const _0x508259=createSvgNode('rect',{'fill':'transparent'}),_0x49bd5a=createSvgNode('path',{'stroke':'currentColor','fill':'none','stroke-width':_0x392d31});_0x2cc775['appendChild'](_0x49bd5a),_0x2cc775['appendChild'](_0x508259),_0xf0c2ab[_0x408dc2]={'direction':_0x408dc2,'pathNode':_0x49bd5a,'interactionNode':_0x508259,'groupNode':_0x2cc775},''===_0x408dc2&&(_0x2cc775['style']['cursor']='move'),_0x508259['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0x408dc2));}['_createThumbs'](){const _0x3fbd25={};for(let _0x2edc3f=0x0;_0x2edc3f<0x3;_0x2edc3f++)for(let _0x570fad=0x0;_0x570fad<0x3;_0x570fad++){const _0x2cec9a=''+['n','','s'][_0x2edc3f]+['w','','e'][_0x570fad];''!==_0x2cec9a&&this['_createThumb'](_0x3fbd25,_0x2cec9a);}return this['_createThumb'](_0x3fbd25,''),_0x3fbd25;}['_createGuides'](){const _0x268f4c=createSvgNode('svg'),_0x1dcd0a=createSvgNode('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':_0x39ad0b,'stroke-opacity':0.5});_0x268f4c['appendChild'](_0x1dcd0a);for(let _0x1fcfc9=0x1;_0x1fcfc9<=0x2;_0x1fcfc9++){const _0x12f182=createSvgNode('line',{'x1':_0x465c54*_0x1fcfc9+'%','y1':'0%','x2':_0x465c54*_0x1fcfc9+'%','y2':'100%','stroke':'currentColor','stroke-width':_0x39ad0b,'stroke-opacity':0.3});_0x268f4c['appendChild'](_0x12f182);}for(let _0x51138e=0x1;_0x51138e<=0x2;_0x51138e++){const _0x2d3bd8=createSvgNode('line',{'x1':'0%','y1':_0x465c54*_0x51138e+'%','x2':'100%','y2':_0x465c54*_0x51138e+'%','stroke':'currentColor','stroke-width':_0x39ad0b,'stroke-opacity':0.3});_0x268f4c['appendChild'](_0x2d3bd8);}return _0x268f4c['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x268f4c;}['_createFrame'](){const _0x2392a4=this['ref']['svg-el'],_0x2589cc=document['createDocumentFragment'](),_0x5cfcdd=this['_createGuides']();_0x2589cc['appendChild'](_0x5cfcdd);const _0x53b0dd=this['_createThumbs']();for(const {groupNode:_0x2f3a8e}of Object['values'](_0x53b0dd))_0x2589cc['appendChild'](_0x2f3a8e);_0x2392a4['appendChild'](_0x2589cc),this['_frameThumbs']=_0x53b0dd,this['_frameGuides']=_0x5cfcdd;}['_handlePointerDown'](_0x1b094f,_0x26ecb3){if(!this['_frameThumbs'])return;const _0x2cd7ac=this['_frameThumbs'][_0x1b094f];if(!_0x2cd7ac)return;if(this['_shouldThumbBeDisabled'](_0x1b094f))return;const _0x557509=this['$']['*cropBox'],_0x108dc5=this['ref']['svg-el'],{x:_0x38eef8,y:_0x148cc0}=_0x108dc5['getBoundingClientRect'](),_0x5dbd08=_0x26ecb3['x']-_0x38eef8,_0x29f870=_0x26ecb3['y']-_0x148cc0;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x2cd7ac,this['_dragStartPoint']=[_0x5dbd08,_0x29f870],this['_dragStartCrop']={..._0x557509};}['_handlePointerUp_'](_0x4d17bb){this['_updateCursor'](),this['$']['dragging']&&(_0x4d17bb['stopPropagation'](),_0x4d17bb['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x2c7e79){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x2c7e79['stopPropagation'](),_0x2c7e79['preventDefault']();const _0x4ad47d=this['ref']['svg-el'],{x:_0xb0f2a,y:_0x21183c}=_0x4ad47d['getBoundingClientRect'](),_0x493f14=_0x2c7e79['x']-_0xb0f2a,_0x386b2d=_0x2c7e79['y']-_0x21183c,_0x417798=_0x493f14-this['_dragStartPoint'][0x0],_0x2b939d=_0x386b2d-this['_dragStartPoint'][0x1],{direction:_0x1e93fb}=this['_draggingThumb'],_0x5d2874=this['_calcCropBox'](_0x1e93fb,[_0x417798,_0x2b939d]);_0x5d2874&&(this['$']['*cropBox']=_0x5d2874);}['_calcCropBox'](_0xea3b95,_0x51f9b9){const [_0x5aecf5,_0x3e76e0]=_0x51f9b9,_0x18f8f8=this['$']['*imageBox'];let _0x1f22bf=this['_dragStartCrop']??this['$']['*cropBox'];const _0x1d569a=this['$']['*currentAspectRatio'],_0x441d65=_0x1d569a?_0x1d569a['width']/_0x1d569a['height']:void 0x0;if(_0x1f22bf=''===_0xea3b95?moveRect({'rect':_0x1f22bf,'delta':[_0x5aecf5,_0x3e76e0],'imageBox':_0x18f8f8}):resizeRect({'rect':_0x1f22bf,'delta':[_0x5aecf5,_0x3e76e0],'direction':_0xea3b95,'aspectRatio':_0x441d65,'imageBox':_0x18f8f8}),Object['values'](_0x1f22bf)['every'](_0x4709de=>Number['isFinite'](_0x4709de)&&_0x4709de>=0x0))return constraintRect(roundRect(_0x1f22bf),_0x18f8f8);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x1f22bf});}['_handleSvgPointerMove_'](_0x270e72){if(!this['_frameThumbs'])return;const _0x714163=Object['values'](this['_frameThumbs'])['find'](_0xaf5971=>{if(!_0xaf5971)return!0x1;if(this['_shouldThumbBeDisabled'](_0xaf5971['direction']))return!0x1;const _0x30df3b=_0xaf5971['interactionNode']['getBoundingClientRect']();return rectContainsPoint({'x':_0x30df3b['x'],'y':_0x30df3b['y'],'width':_0x30df3b['width'],'height':_0x30df3b['height']},[_0x270e72['x'],_0x270e72['y']]);});this['_hoverThumb']=_0x714163,this['_updateCursor']();}['_updateCursor'](){const _0x293c7c=this['_hoverThumb'];this['ref']['svg-el']['style']['cursor']=_0x293c7c?thumbCursor(_0x293c7c['direction']):'initial';}['_createMask'](_0x3547fd){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x3547fd);const _0x58aaf0=this['ref']['svg-el'],_0x37b966=document['createDocumentFragment'](),_0x39e3e9=createSvgNode('image',{'href':_0x3547fd});_0x39e3e9['setAttribute']('class','uc-cloud-mask'),_0x37b966['appendChild'](_0x39e3e9),_0x58aaf0['appendChild'](_0x37b966),this['_frameImage']=_0x39e3e9;}['_updateMask'](){const _0x5a26f7=this['$']['*cropBox'];if(!_0x5a26f7||!this['_frameImage'])return;const {x:_0x58942d,y:_0x1b4fa7,width:_0x15b4ea,height:_0x13ac33}=_0x5a26f7;setSvgNodeAttrs(this['_frameImage'],{'x':_0x58942d,'y':_0x1b4fa7,'height':_0x13ac33,'width':_0x15b4ea});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x16ec0a){if(this['_frameThumbs'])for(const _0x3aef4 of Object['values'](this['_frameThumbs'])){if(!_0x3aef4)continue;const {groupNode:_0x4ff15e}=_0x3aef4;_0x4ff15e['setAttribute']('class',_0x4b7ea0('uc-thumb',{'uc-thumb--hidden':!_0x16ec0a,'uc-thumb--visible':_0x16ec0a}));}}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x5691ed=>{_0x5691ed&&(this['_guidesHidden']=_0x5691ed['height']<=_0x5d6339||_0x5691ed['width']<=_0x5d6339,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0x5bbce2=>{_0x5bbce2&&this['_createMask'](_0x5bbce2);}),this['sub']('dragging',_0x275d8a=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',_0x4b7ea0({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x275d8a,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x275d8a}));}),(this['ref']['svg-el']['addEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['addEventListener']('pointermove',this['_handlePointerMove'],!0x0),document['addEventListener']('pointerup',this['_handlePointerUp'],!0x0));}['destroyCallback'](){super['destroyCallback'](),(this['ref']['svg-el']['removeEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['removeEventListener']('pointermove',this['_handlePointerMove']),document['removeEventListener']('pointerup',this['_handlePointerUp']));}};_0x4d18bb['template']='\x20<svg\x20class=\x22uc-svg\x22\x20ref=\x22svg-el\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>\x20';var EditorButtonControl=class extends _0x263636{['_titleEl'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','on.click':null,'title-prop':''};}['initCallback'](){super['initCallback'](),this['_titleEl']=this['ref']['title-el'],this['sub']('title',_0x499cec=>{const _0x19636d=this['_titleEl'];_0x19636d&&(_0x19636d['style']['display']=_0x499cec?'block':'none');}),this['sub']('active',_0x4394eb=>{this['className']=_0x4b7ea0({'uc-active':_0x4394eb,'uc-not_active':!_0x4394eb});}),this['sub']('on.click',_0x4c5802=>{this['onclick']=_0x4c5802??null;});}};EditorButtonControl['template']='\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20</button>\x0a';var _0x389cce=0xc,_0x256969=0x10,getAdjustResolutions=_0x5e2b18=>{let _0x92f55b=0xc,_0x4e2f79=0xc;return _0x5e2b18['width']/_0x5e2b18['height']>=0x1?(_0x92f55b=_0x389cce,_0x4e2f79=Math['round'](_0x389cce*_0x5e2b18['height']/_0x5e2b18['width'])):(_0x4e2f79=_0x389cce,_0x92f55b=Math['round'](_0x389cce*_0x5e2b18['width']/_0x5e2b18['height'])),{'width':_0x92f55b,'height':_0x4e2f79};},EditorFreeformButtonControl=class extends EditorButtonControl{['initCallback'](){super['initCallback'](),this['$']['icon']='arrow-dropdown',this['$']['on.click']=this['handleClick']['bind'](this),this['sub']('*currentAspectRatio',_0x283d9b=>{this['$']['title']=_0x283d9b['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x283d9b['width']+':'+_0x283d9b['height']}),this['bindL10n']('title-prop',()=>this['$']['title']);});}['handleClick'](){this['$']['*showListAspectRatio']=!0x0;}};EditorFreeformButtonControl['template']='\x20\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20</button>\x20\x0a';var EditorAspectRatioButtonControl=class extends EditorButtonControl{constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'once':!0x1};}['initCallback'](){super['initCallback'](),this['defineAccessor']('aspectRatio',_0x5cbe56=>{if(!_0x5cbe56)return;const _0x118c7c=!!_0x5cbe56['hasFreeform'];this['$']['title']=_0x118c7c?this['l10n']('custom'):_0x5cbe56['width']+':'+_0x5cbe56['height'],_0x118c7c||this['_renderRectBasedOnAspectRatio'](_0x5cbe56),_0x118c7c&&this['setAttribute']('uc-aspect-ratio-freeform',''),this['_aspectRatio']=_0x5cbe56,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x118c7c?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':_0x5cbe56['width']+':'+_0x5cbe56['height']})['toLowerCase'](),'value':''}));}),this['sub']('*currentAspectRatio',_0x263b9e=>{this['$']['active']=_0x263b9e&&_0x263b9e['id']===this['_aspectRatio']?.['id']||_0x263b9e?.['width']===this['_aspectRatio']?.['width']&&_0x263b9e?.['height']===this['_aspectRatio']?.['height'];}),this['$']['on.click']=this['handleClick']['bind'](this);}['handleClick'](){const _0x530756=this['$']['*currentAspectRatio'];_0x530756?.['id']!==this['_aspectRatio']?.['id']&&(this['$']['*currentAspectRatio']=this['_aspectRatio']);}['_renderRectBasedOnAspectRatio'](_0x12661f){const {width:_0xf36f0c,height:_0x4f079a}=getAdjustResolutions(_0x12661f),_0x2809e9=createSvgNode('rect',{'stroke-linejoin':'round','fill':'none','stroke':'currentColor','stroke-width':1.2,'fill-rule':'evenodd','x':(_0x256969-_0xf36f0c)/0x2,'y':(_0x256969-_0x4f079a)/0x2,'rx':0x2,'width':_0xf36f0c,'height':_0x4f079a}),_0x384da6=this['ref']['icon-el']?.['ref']?.['svg'];_0x384da6&&(_0x384da6['innerHTML']='',_0x384da6['appendChild'](_0x2809e9));}['_aspectRatio'];};function nextAngle(_0x59e492){let _0x5b8cf9=_0x59e492+0x5a;return _0x5b8cf9=_0x5b8cf9>=0x168?0x0:_0x5b8cf9,_0x5b8cf9;}function nextValue(_0x3e2d9f,_0xa72d3c){if('rotate'===_0x3e2d9f)return nextAngle('number'==typeof _0xa72d3c?_0xa72d3c:0x0);if('mirror'===_0x3e2d9f||'flip'===_0x3e2d9f)return!_0xa72d3c;throw new Error('Unsupported\x20operation:\x20'+_0x3e2d9f);}var EditorCropButtonControl=class extends EditorButtonControl{['_operation']=void 0x0;['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x5f0304=>{_0x5f0304&&(this['_operation']=_0x5f0304,this['$']['icon']=_0x5f0304,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x5f0304)['toLowerCase']()})));}),this['$']['on.click']=_0x20fbd1=>{if(!this['_operation'])return;const _0x132216=this['$']['*cropperEl'],_0x496b32=_0x132216['getValue'](this['_operation']),_0x82a7be=nextValue(this['_operation'],_0x496b32);this['telemetryManager']['sendEventCloudImageEditor'](_0x20fbd1,this['$']['*tabId'],{'operation':this['_operation'],'next':_0x82a7be,'prev':_0x496b32}),_0x132216['setValue'](this['_operation'],_0x82a7be);};}};function _0x474cb4(_0x232f68){const _0x3b42b2=new Image();return{'promise':new Promise((_0x324c24,_0x4f1205)=>{_0x3b42b2['src']=_0x232f68,_0x3b42b2['onload']=()=>_0x324c24(),_0x3b42b2['onerror']=_0x129743=>_0x4f1205(_0x129743);}),'image':_0x3b42b2,'cancel':()=>{0x0===_0x3b42b2['naturalWidth']&&(_0x3b42b2['src']=_0x2155d3);}};}function batchPreloadImages(_0x113ea7){const _0x2c7b75=[];for(const _0x339855 of _0x113ea7){const _0x2307e0=_0x474cb4(_0x339855);_0x2c7b75['push'](_0x2307e0);}const _0x5ed19a=_0x2c7b75['map'](_0x2375ac=>_0x2375ac['image']);return{'promise':Promise['allSettled'](_0x2c7b75['map'](_0x24d4b5=>_0x24d4b5['promise'])),'images':_0x5ed19a,'cancel':()=>{_0x2c7b75['forEach'](_0x22cbe7=>{_0x22cbe7['cancel']();});}};}var _0x3c50fb='original',EditorSlider=class extends _0x263636{['_operation']='filter';['_filter'];['_originalUrl']='';constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':_0x25627e=>{const _0x23bb57=this['$']['*faderEl'];_0x23bb57?.['set'](_0x25627e),this['$']['value']=_0x25627e;}};}['setOperation'](_0x4cf18e,_0x155d78){this['_operation']=_0x4cf18e,this['_filter']=_0x155d78,this['_initializeValues']();const _0x119549=this['$']['*faderEl'],_0x27f7e2=this['_originalUrl']||this['$']['*originalUrl'];_0x119549&&_0x27f7e2&&_0x119549['activate']({'url':_0x27f7e2,'operation':this['_operation'],'value':this['_filter']===_0x3c50fb?void 0x0:this['$']['value'],'filter':this['_filter']===_0x3c50fb?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){const _0x54991a=this['_operation'],{range:_0x14127d,zero:_0x5b373d}=_0xfbedd7[_0x54991a],[_0x40c06c,_0x4a0437]=_0x14127d;this['$']['min']=_0x40c06c,this['$']['max']=_0x4a0437,this['$']['zero']=_0x5b373d;const _0x3f28c7=this['$']['*editorTransformations'][_0x54991a];if('filter'===_0x54991a){let _0x190f82=Number(_0x4a0437);const _0x2b2f3b=_0x3f28c7;if(_0x2b2f3b){const {name:_0x35e7ce,amount:_0x4bce6a}=_0x2b2f3b;_0x190f82=_0x35e7ce===this['_filter']?_0x4bce6a:_0x4a0437;}return this['$']['value']=_0x190f82,void(this['$']['defaultValue']=_0x190f82);}const _0xe8d2e9=void 0x0!==_0x3f28c7?_0x3f28c7:_0x5b373d;this['$']['value']=_0xe8d2e9,this['$']['defaultValue']=_0xe8d2e9;}['apply'](){const _0x3d4d9c={...this['$']['*editorTransformations']};'filter'===this['_operation']?this['_filter']&&this['_filter']!==_0x3c50fb?_0x3d4d9c['filter']={'name':this['_filter'],'amount':this['$']['value']}:delete _0x3d4d9c['filter']:_0x3d4d9c[this['_operation']]=this['$']['value'],this['$']['*editorTransformations']=_0x3d4d9c;}['cancel'](){const _0x2a27cf=this['$']['*faderEl'];_0x2a27cf?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x5ba297=>{this['_originalUrl']=_0x5ba297;}),this['sub']('value',_0x19147c=>{const _0x2826cd=(this['_filter']??this['_operation'])+'\x20'+_0x19147c;this['$']['*operationTooltip']=_0x2826cd;});}};function parseFilterValue(_0x32c944){const _0x3ec1f3=_0x32c944['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x3ec1f3)return null;const [,_0x3228c4,_0x4882b9]=_0x3ec1f3;return _0x3228c4&&void 0x0!==_0x4882b9?{'filter':_0x3228c4,'value':Number(_0x4882b9)}:null;}EditorSlider['template']='\x0a\x20\x20<uc-slider-ui\x0a\x20\x20\x20\x20ref=\x22slider-el\x22\x0a\x20\x20\x20\x20set=\x22disabled:\x20disabled;\x20min:\x20min;\x20max:\x20max;\x20defaultValue:\x20defaultValue;\x20zero:\x20zero;\x20onInput:\x20on.input;\x22\x0a\x20\x20></uc-slider-ui>\x0a';var EditorFilterControl=class extends EditorButtonControl{['_operation']='';['_filter']='';['_originalUrl']='';['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','isOriginal':!0x1,'iconSize':'20','on.click':null};}['_previewSrc'](){const _0x234cf1=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x1992e9=window['devicePixelRatio'],_0x8d196b=Math['ceil'](_0x1992e9*_0x234cf1),_0x4b7608=_0x1992e9>=0x2?'lightest':'normal',_0x53f798={...this['$']['*editorTransformations']};return _0x53f798[this['_operation']]=this['_filter']!==_0x3c50fb?{'name':this['_filter'],'amount':0x64}:void 0x0,createCdnUrl(this['_originalUrl'],createCdnUrlModifiers(_0x43be7c,transformationsToOperations(_0x53f798),'quality/'+_0x4b7608,'scale_crop/'+_0x8d196b+'x'+_0x8d196b+'/center'));}async['_observerCallback'](_0x12f7ca,_0x4dc59d){const _0x324ee1=_0x12f7ca[0x0];if(_0x324ee1?.['isIntersecting']){const _0x12e96d=await this['proxyUrl'](this['_previewSrc']()),_0x2659bd=this['ref']['preview-el'],{promise:_0x4a8fdc,cancel:_0x753d72}=_0x474cb4(_0x12e96d);this['_cancelPreload']=_0x753d72,_0x4a8fdc['catch'](_0x5071b4=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x5071b4});})['finally'](()=>{_0x2659bd['style']['backgroundImage']='url('+_0x12e96d+')',_0x2659bd['setAttribute']('loaded',''),_0x4dc59d['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x46170e=>{if(this['$']['active'])!this['$']['isOriginal']&&(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0);else{const _0x4e4da6=this['$']['*sliderEl'];_0x4e4da6['setOperation'](this['_operation'],this['_filter']),_0x4e4da6['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](_0x46170e,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x2bbee7=>{this['_operation']='filter',this['_filter']=_0x2bbee7,this['$']['isOriginal']=_0x2bbee7===_0x3c50fb,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x2bbee7['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});const _0x20a1fc=this['$']['*originalUrl'];if(this['_originalUrl']=_0x20a1fc,this['$']['isOriginal'])this['ref']['icon-el']['classList']['add']('uc-original-icon');else this['_observer']['observe'](this);this['sub']('*currentFilter',_0x38ce3a=>{this['$']['active']=_0x38ce3a&&_0x38ce3a===this['_filter'];}),this['sub']('isOriginal',_0x3f585d=>{this['$']['iconSize']=_0x3f585d?0x28:0x14;}),this['sub']('active',_0x1141fc=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x1141fc?'1':'0';const _0x31c5b2=this['ref']['preview-el'];_0x1141fc?_0x31c5b2['style']['opacity']='0':_0x31c5b2['style']['backgroundImage']&&(_0x31c5b2['style']['opacity']='1');}),this['sub']('*networkProblems',async _0x502ec8=>{if(!_0x502ec8){const _0x58613b=await this['proxyUrl'](this['_previewSrc']()),_0x3a272c=this['ref']['preview-el'];_0x3a272c['style']['backgroundImage']&&(_0x3a272c['style']['backgroundImage']='none',_0x3a272c['style']['backgroundImage']='url('+_0x58613b+')');}});}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect'](),this['_cancelPreload']?.();}};EditorFilterControl['template']='\x0a\x20\x20<button\x20type=\x22button\x22\x20role=\x22option\x22\x20l10n=\x22@title:title-prop;@aria-label:title-prop\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-preview\x22\x20ref=\x22preview-el\x22></div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x20@size:\x20iconSize;\x22></uc-icon>\x0a\x20\x20</button>\x0a';var throttle=(_0x40ac63,_0x57b7ea)=>{let _0x317bf4,_0x1bc41a=!0x1,_0xf56262=0x0;const _0x5977c3=(..._0x2b2da8)=>{_0x1bc41a?(_0x317bf4&&clearTimeout(_0x317bf4),_0x317bf4=setTimeout(()=>{Date['now']()-_0xf56262>=_0x57b7ea&&(_0x40ac63(..._0x2b2da8),_0xf56262=Date['now']());},Math['max'](_0x57b7ea-(Date['now']()-_0xf56262),0x0))):(_0x40ac63(..._0x2b2da8),_0xf56262=Date['now'](),_0x1bc41a=!0x0);};return Object['defineProperty'](_0x5977c3,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x317bf4&&clearTimeout(_0x317bf4);}}),_0x5977c3;};function _0x47a0cc(_0x3ae41f,_0x24b103){const _0x3f1293={};for(const _0x16d1ad of _0x24b103){const _0x54afe4=_0x3ae41f[_0x16d1ad];(Object['hasOwn'](_0x3ae41f,_0x16d1ad)||void 0x0!==_0x54afe4)&&(_0x3f1293[_0x16d1ad]=_0x54afe4);}return _0x3f1293;}function _0x12afb0(_0x365880,_0x2c19a5,_0x4dbae7){const _0x2ae951=window['devicePixelRatio'],_0x28828b=Math['min'](Math['ceil'](_0x2c19a5*_0x2ae951),0xbb8),_0x52944c=_0x2ae951>=0x2?'lightest':'normal';return createCdnUrl(_0x365880,createCdnUrlModifiers(_0x43be7c,transformationsToOperations(_0x4dbae7),'quality/'+_0x52944c,'stretch/off/-/resize/'+_0x28828b+'x','@clib/'+_0x57729b+'/'+_0x1a5042+'/uc-cloud-image-editor/'));}function validateCrop(_0x17c289){if(!_0x17c289)return!0x0;const _0x2fc55f=[({dimensions:_0x27ccee,coords:_0x4bd5c8})=>[..._0x27ccee,..._0x4bd5c8]['every'](_0x11529e=>Number['isInteger'](_0x11529e)&&Number['isFinite'](_0x11529e)),({dimensions:_0x197e4a,coords:_0x146ff3})=>_0x197e4a['every'](_0x4ba9f2=>_0x4ba9f2>0x0)&&_0x146ff3['every'](_0x1cc6e7=>_0x1cc6e7>=0x0)];return _0x2fc55f['every'](_0x5ceed5=>_0x5ceed5(_0x17c289));}var EditorImageCropper=class extends _0x263636{['ctxOwner']=!0x0;['_commitDebounced'];['_handleResizeThrottled'];['_imageSize']={'width':0x0,'height':0x0};['_canvas'];['_ctx']=null;['_isActive']=!0x1;['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'image':null,'*padding':_0x49fa2a,'*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['_commitDebounced']=_0x2a8397(this['_commit']['bind'](this),0x12c),this['_handleResizeThrottled']=throttle(this['_handleResize']['bind'](this),0x64);}['_handleResize'](){this['isConnected']&&this['_isActive']&&(this['_initCanvas'](),this['_syncTransformations'](),this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['_syncTransformations'](){const _0x4f3a34=_0x47a0cc(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x4ba5a={...this['$']['*operations'],..._0x4f3a34};this['$']['*operations']=_0x4ba5a;}['_initCanvas'](){const _0x196043=this['ref']['canvas-el'],_0x42cbd5=_0x196043['getContext']('2d'),_0x28ce12=this['offsetWidth'],_0x1ce079=this['offsetHeight'],_0x3de8a0=window['devicePixelRatio'];_0x196043['style']['width']=_0x28ce12+'px',_0x196043['style']['height']=_0x1ce079+'px',_0x196043['width']=_0x28ce12*_0x3de8a0,_0x196043['height']=_0x1ce079*_0x3de8a0,_0x42cbd5?.['scale'](_0x3de8a0,_0x3de8a0),this['_canvas']=_0x196043,this['_ctx']=_0x42cbd5;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;const _0x2340a5=this['$']['image'],_0x27053c=this['$']['*padding'],_0xf796ae=this['$']['*operations'],{rotate:_0x3b81a7}=_0xf796ae,_0x42e9f2=this['offsetWidth'],_0x3cee9f=this['offsetHeight'],_0x53f38b=rotateSize({'width':_0x2340a5['naturalWidth'],'height':_0x2340a5['naturalHeight']},_0x3b81a7);let _0x585722;if(_0x53f38b['width']>_0x42e9f2-0x2*_0x27053c||_0x53f38b['height']>_0x3cee9f-0x2*_0x27053c){const _0x1cbed2=_0x53f38b['width']/_0x53f38b['height'];if(_0x1cbed2>_0x42e9f2/_0x3cee9f){const _0x7966c8=_0x42e9f2-0x2*_0x27053c,_0x252c91=_0x7966c8/_0x1cbed2;_0x585722={'x':0x0+_0x27053c,'y':_0x27053c+(_0x3cee9f-0x2*_0x27053c)/0x2-_0x252c91/0x2,'width':_0x7966c8,'height':_0x252c91};}else{const _0x20226e=_0x3cee9f-0x2*_0x27053c,_0x24e595=_0x20226e*_0x1cbed2;_0x585722={'x':_0x27053c+(_0x42e9f2-0x2*_0x27053c)/0x2-_0x24e595/0x2,'y':0x0+_0x27053c,'width':_0x24e595,'height':_0x20226e};}}else{const {width:_0xccd065,height:_0x37d3a5}=_0x53f38b;_0x585722={'x':_0x27053c+(_0x42e9f2-0x2*_0x27053c)/0x2-_0xccd065/0x2,'y':_0x27053c+(_0x3cee9f-0x2*_0x27053c)/0x2-_0x37d3a5/0x2,'width':_0xccd065,'height':_0x37d3a5};}this['$']['*imageBox']=roundRect(_0x585722);}['_alignCrop'](){let _0xfc7ff7=this['$']['*cropBox'];const _0x7bc666=this['$']['*imageBox'],_0x3b8dba=this['$']['*operations'],{rotate:_0x46f967}=_0x3b8dba,_0xd5f769=this['$']['*editorTransformations']['crop'],{width:_0x363cbc,x:_0x2e9c24,y:_0x14c3dd}=_0x7bc666;if(_0xd5f769){const {dimensions:[_0x17ac9c,_0x4d73d5],coords:[_0xc8b92b,_0x52cd5b]}=_0xd5f769,{width:_0x22755d}=rotateSize(this['_imageSize'],_0x46f967),_0x1ca62e=_0x363cbc/_0x22755d;_0xfc7ff7=constraintRect(roundRect({'x':_0x2e9c24+_0xc8b92b*_0x1ca62e,'y':_0x14c3dd+_0x52cd5b*_0x1ca62e,'width':_0x17ac9c*_0x1ca62e,'height':_0x4d73d5*_0x1ca62e}),_0x7bc666);}const _0x4060fe=this['$']['*currentAspectRatio'],_0x17128c=_0x4060fe?_0x4060fe['width']/_0x4060fe['height']:void 0x0;if(!isRectInsideRect(_0xfc7ff7,_0x7bc666)||_0x17128c&&!isRectMatchesAspectRatio(_0xfc7ff7,_0x17128c)){const _0x3b29c0=_0x7bc666['width']/_0x7bc666['height'];let _0x519559=_0x7bc666['width'],_0x326a8f=_0x7bc666['height'];_0x17128c&&(_0x3b29c0>_0x17128c?_0x519559=Math['min'](_0x7bc666['height']*_0x17128c,_0x7bc666['width']):_0x326a8f=Math['min'](_0x7bc666['width']/_0x17128c,_0x7bc666['height'])),_0xfc7ff7={'x':_0x7bc666['x']+_0x7bc666['width']/0x2-_0x519559/0x2,'y':_0x7bc666['y']+_0x7bc666['height']/0x2-_0x326a8f/0x2,'width':_0x519559,'height':_0x326a8f};}this['$']['*cropBox']=constraintRect(roundRect(_0xfc7ff7),_0x7bc666);}['_drawImage'](){const _0x5c4011=this['_ctx'];if(!_0x5c4011)return;const _0xf3309c=this['$']['image'],_0x130aaa=this['$']['*imageBox'],_0xb4d6d5=this['$']['*operations'],{mirror:_0x771da9,flip:_0x3afff0,rotate:_0x26e241}=_0xb4d6d5,_0x53fc32=rotateSize({'width':_0x130aaa['width'],'height':_0x130aaa['height']},_0x26e241);_0x5c4011['save'](),_0x5c4011['translate'](_0x130aaa['x']+_0x130aaa['width']/0x2,_0x130aaa['y']+_0x130aaa['height']/0x2),_0x5c4011['rotate'](_0x26e241*Math['PI']*-0x1/0xb4),_0x5c4011['scale'](_0x771da9?-0x1:0x1,_0x3afff0?-0x1:0x1),_0x5c4011['drawImage'](_0xf3309c,-_0x53fc32['width']/0x2,-_0x53fc32['height']/0x2,_0x53fc32['width'],_0x53fc32['height']),_0x5c4011['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;const _0x493d57=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x493d57['width'],_0x493d57['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x468476}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=_0x4b7ea0({'uc-active_from_viewer':_0x468476,'uc-active_from_editor':!_0x468476,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){const _0x53a124=this['$']['*cropBox'],_0x39a577=this['$']['*imageBox'],_0x101733=this['$']['*operations'],{rotate:_0x127847}=_0x101733,{width:_0x23b26b,height:_0x17ad83}=_0x39a577,{width:_0x5769e1,height:_0x3661ce}=rotateSize(this['_imageSize'],_0x127847),{width:_0x4038ee,height:_0x594c3f}=_0x53a124,_0x457c97=_0x23b26b/_0x5769e1,_0x335405=_0x17ad83/_0x3661ce;return[_0x1f4a1d(Math['round'](_0x4038ee/_0x457c97),0x1,_0x5769e1),_0x1f4a1d(Math['round'](_0x594c3f/_0x335405),0x1,_0x3661ce)];}['_getCropTransformation'](){const _0x4b2214=this['$']['*cropBox'],_0x2a62b9=this['$']['*imageBox'],_0x4b7d57=this['$']['*operations'],{rotate:_0x4c6f6a}=_0x4b7d57,{width:_0x281d0c,height:_0x146290,x:_0x222f99,y:_0x58949a}=_0x2a62b9,{width:_0x116729,height:_0x67f8f5}=rotateSize(this['_imageSize'],_0x4c6f6a),{x:_0x49aea0,y:_0x279c69}=_0x4b2214,_0x334c75=_0x281d0c/_0x116729,_0x347e35=_0x146290/_0x67f8f5,_0x377e56=this['_getCropDimensions'](),_0x22517e={'dimensions':_0x377e56,'coords':[_0x1f4a1d(Math['round']((_0x49aea0-_0x222f99)/_0x334c75),0x0,_0x116729-_0x377e56[0x0]),_0x1f4a1d(Math['round']((_0x279c69-_0x58949a)/_0x347e35),0x0,_0x67f8f5-_0x377e56[0x1])]};if(validateCrop(_0x22517e)){if(_0x377e56[0x0]!==_0x116729||_0x377e56[0x1]!==_0x67f8f5)return _0x22517e;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x22517e});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;const _0x2e43b8=this['$']['*operations'],{rotate:_0x584c14,mirror:_0x3951ae,flip:_0x2553d4}=_0x2e43b8,_0x4846d8=this['_getCropTransformation'](),_0x38a26f={...this['$']['*editorTransformations'],'crop':_0x4846d8,'rotate':_0x584c14,'mirror':_0x3951ae,'flip':_0x2553d4};this['$']['*editorTransformations']=_0x38a26f;}['setValue'](_0x4372c4,_0x330cfa){this['$']['*operations']={...this['$']['*operations'],[_0x4372c4]:_0x330cfa},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0x3a3376){return this['$']['*operations'][_0x3a3376];}async['activate'](_0x322e36,{fromViewer:_0x4ca7ef}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x322e36,this['removeEventListener']('transitionend',this['_reset']);try{const _0xa41f59=this['$']['*originalUrl'],_0x2fac71=this['$']['*editorTransformations'];this['$']['image']=await this['_waitForImage'](_0xa41f59,_0x2fac71),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x4ca7ef});}catch(_0x4f4596){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x4f4596}),this['telemetryManager']['sendEventError'](_0x4f4596,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['_observer']=new ResizeObserver(_0x1246b4=>{const [_0x3e9465]=_0x1246b4;if(!_0x3e9465)return;_0x3e9465['contentRect']['width']>0x0&&_0x3e9465['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x376d01=!0x1}={}){this['_isActive']&&(!_0x376d01&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=_0x4b7ea0({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['ref']['frame-el']['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['_reset'],{'once':!0x0}),this['_observer']?.['disconnect']());}['_transitionToCrop'](){const _0x1d23a8=this['_getCropDimensions'](),_0x14ba3f=this['$']['*cropBox'],_0x5ff60b=Math['min'](this['offsetWidth'],_0x1d23a8[0x0])/_0x14ba3f['width'],_0x3427fd=Math['min'](this['offsetHeight'],_0x1d23a8[0x1])/_0x14ba3f['height'],_0xd188c1=Math['min'](_0x5ff60b,_0x3427fd),_0xc47e6b=_0x14ba3f['x']+_0x14ba3f['width']/0x2,_0x34d861=_0x14ba3f['y']+_0x14ba3f['height']/0x2;this['style']['transform']='scale('+_0xd188c1+')\x20translate('+(this['offsetWidth']/0x2-_0xc47e6b)/_0xd188c1+'px,\x20'+(this['offsetHeight']/0x2-_0x34d861)/_0xd188c1+'px)',this['style']['transformOrigin']=_0xc47e6b+'px\x20'+_0x34d861+'px';}['_transitionToImage'](){const _0x7db2df=this['$']['*cropBox'],_0x1bc773=_0x7db2df['x']+_0x7db2df['width']/0x2,_0x56d11e=_0x7db2df['y']+_0x7db2df['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x1bc773+'px\x20'+_0x56d11e+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x20164f,_0x113061){const _0x3cb3ad=this['offsetWidth'];_0x113061={..._0x113061,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};const _0x58a96a=await this['proxyUrl'](_0x12afb0(_0x20164f,_0x3cb3ad,_0x113061)),{promise:_0x2c642f,cancel:_0x5e2026,image:_0x1fbbf2}=_0x474cb4(_0x58a96a),_0x36cda2=this['_handleImageLoading'](_0x58a96a);return _0x1fbbf2['addEventListener']('load',_0x36cda2,{'once':!0x0}),_0x1fbbf2['addEventListener']('error',_0x36cda2,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x5e2026,_0x2c642f['then'](()=>_0x1fbbf2)['catch'](_0x228f6c=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x228f6c}),this['$']['*networkProblems']=!0x0,_0x1fbbf2));}['_handleImageLoading'](_0x33d673){const _0x3251d9='crop',_0x4de0ad=this['$']['*loadingOperations'];let _0x182402=_0x4de0ad['get'](_0x3251d9);return _0x182402||(_0x182402=new Map(),_0x4de0ad['set'](_0x3251d9,_0x182402)),_0x182402['get'](_0x33d673)||(_0x182402['set'](_0x33d673,!0x0),this['$']['*loadingOperations']=_0x4de0ad),()=>{const _0x90c16a=_0x4de0ad['get'](_0x3251d9);_0x90c16a?.['has'](_0x33d673)&&(_0x90c16a['delete'](_0x33d673),this['$']['*loadingOperations']=_0x4de0ad);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*currentAspectRatio',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x3865de=>{_0x3865de||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};function _0x15fa6f(_0x3750fa,_0x529bd5,_0x1569ff){const _0x5eee96=_0x1569ff-0x1,_0x59652e=new Array(_0x1569ff);for(let _0x14f7ae=_0x5eee96;_0x14f7ae>=0x0;_0x14f7ae-=0x1)_0x59652e[_0x14f7ae]=Math['ceil']((_0x14f7ae*_0x529bd5+(_0x5eee96-_0x14f7ae)*_0x3750fa)/_0x5eee96);return _0x59652e;}function isOperationKey(_0x253918){return'string'==typeof _0x253918&&_0x253918 in _0xfbedd7;}function splitBySections(_0x178092){const _0x3a80d4=[];for(let _0x1e2e18=0x0;_0x1e2e18<_0x178092['length']-0x1;_0x1e2e18+=0x1){const _0x3706e8=_0x178092[_0x1e2e18],_0x50cd86=_0x178092[_0x1e2e18+0x1];'number'==typeof _0x3706e8&&'number'==typeof _0x50cd86&&_0x3a80d4['push']([_0x3706e8,_0x50cd86]);}return _0x3a80d4;}function calculateOpacities(_0x415a5e,_0x20a8dc,_0x41009c){const _0x1330ae=splitBySections(_0x415a5e)['find'](([_0x35f03e,_0x14f248])=>_0x35f03e<=_0x20a8dc&&_0x20a8dc<=_0x14f248);if(!_0x1330ae)return _0x415a5e['map'](()=>0x0);const [_0x23cc70,_0xf6279b]=_0x1330ae;return _0x415a5e['map'](_0x22245e=>{const _0x5f4614=Math['abs'](_0x23cc70-_0xf6279b)||0x1,_0x64b08=Math['abs'](_0x20a8dc-_0x23cc70)/_0x5f4614;return _0x23cc70===_0x22245e?_0x20a8dc>_0x41009c?0x1:0x1-_0x64b08:_0xf6279b===_0x22245e?_0x20a8dc>=_0x41009c?_0x64b08:0x1:0x0;});}function calculateZIndices(_0x1f33fb,_0x53b1ad){return _0x1f33fb['map']((_0x9c7d7c,_0x9ad209)=>_0x9c7d7c<_0x53b1ad?_0x1f33fb['length']-_0x9ad209:_0x9ad209);}function keypointsRange(_0x4f4e72,_0x165225){const _0x3fd646=_0xfbedd7[_0x4f4e72]['keypointsNumber'],{range:_0x1bc72e,zero:_0x248e44}=_0xfbedd7[_0x4f4e72];return[...new Set([..._0x15fa6f(_0x1bc72e[0x0],_0x248e44,_0x3fd646+0x1),..._0x15fa6f(_0x248e44,_0x1bc72e[0x1],_0x3fd646+0x1),_0x248e44,_0x165225])]['sort']((_0x540626,_0x58f8eb)=>_0x540626-_0x58f8eb);}EditorImageCropper['template']='\x0a\x20\x20<canvas\x20class=\x22uc-canvas\x22\x20ref=\x22canvas-el\x22></canvas>\x0a\x20\x20<uc-crop-frame\x20ref=\x22frame-el\x22></uc-crop-frame>\x0a';var EditorImageFader=class extends _0x263636{['_isActive']=!0x1;['_hidden']=!0x0;['_operation']='initial';['_filter'];['_value'];['_transformations']={};['_keypoints']=[];['_container'];['_previewImage'];['_cancelLastImages'];['_cancelBatchPreload'];['_url'];['_fromViewer'];['_raf']=0x0;['_addKeypointDebounced']=_0x2a8397(this['_addKeypoint']['bind'](this),0x258);constructor(){super(),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x3c5000){const _0xa70272=this['_operation'],_0x3a8ba7=this['$']['*loadingOperations'];_0x3a8ba7['has'](_0xa70272)||_0x3a8ba7['set'](_0xa70272,new Map());const _0x4ff921=_0x3a8ba7['get'](_0xa70272);return _0x4ff921&&!_0x4ff921['get'](_0x3c5000)&&(_0x4ff921['set'](_0x3c5000,!0x0),this['$']['*loadingOperations']=_0x3a8ba7),()=>{const _0x3e99e4=_0x3a8ba7['get'](_0xa70272);_0x3e99e4?.['has'](_0x3c5000)&&(_0x3e99e4['delete'](_0x3c5000),this['$']['*loadingOperations']=_0x3a8ba7);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(const _0x56fbc2 of this['_keypoints']){const {image:_0x30ba68}=_0x56fbc2;_0x30ba68&&(_0x30ba68['style']['opacity']=_0x56fbc2['opacity']['toString'](),_0x30ba68['style']['zIndex']=_0x56fbc2['zIndex']['toString']());}});}['_imageSrc']({url:_0x30abdd=this['_url'],filter:_0x2e49f2=this['_filter']??void 0x0,operation:_0x410179,value:_0x37d27f}={}){if(!_0x30abdd)throw new Error('URL\x20is\x20not\x20defined');const _0x244efb={...this['_transformations']};_0x410179&&('filter'===_0x410179?_0x2e49f2&&'number'==typeof _0x37d27f&&(_0x244efb['filter']={'name':_0x2e49f2,'amount':_0x37d27f}):'number'==typeof _0x37d27f&&(_0x244efb[_0x410179]=_0x37d27f));const _0x28414b=this['offsetWidth'];return this['proxyUrl'](_0x12afb0(_0x30abdd,_0x28414b,_0x244efb));}async['_constructKeypoint'](_0x12549d,_0x4a94fc){return{'src':await this['_imageSrc']({'operation':_0x12549d,'value':_0x4a94fc}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x4a94fc};}['_isSame'](_0x447393,_0x3101b1){return this['_operation']===_0x447393&&this['_filter']===_0x3101b1;}async['_addKeypoint'](_0x2feba1,_0x5f4ba4,_0x364f09){const _0x1d4e98=()=>!this['_isSame'](_0x2feba1,_0x5f4ba4)||this['_value']!==_0x364f09||!!this['_keypoints']['find'](_0x167c49=>_0x167c49['value']===_0x364f09);if(_0x1d4e98())return;const _0x2ce063=await this['_constructKeypoint'](_0x2feba1,_0x364f09),_0x144617=new Image();_0x144617['src']=_0x2ce063['src'];const _0x4205bb=this['_handleImageLoading'](_0x2ce063['src']);_0x144617['addEventListener']('load',_0x4205bb,{'once':!0x0}),_0x144617['addEventListener']('error',_0x4205bb,{'once':!0x0}),_0x2ce063['image']=_0x144617,_0x144617['classList']['add']('uc-fader-image'),_0x144617['addEventListener']('load',()=>{if(_0x1d4e98())return;const _0x48cc01=this['_keypoints'];let _0x135fe8=_0x48cc01['findIndex'](_0xebcac5=>_0xebcac5['value']>_0x364f09);-0x1===_0x135fe8&&(_0x135fe8=_0x48cc01['length']);const _0x512404=_0x48cc01[_0x135fe8],_0x207231=_0x512404?.['image'],_0x6e3a74=this['_container'];!_0x6e3a74||_0x207231&&!_0x6e3a74['contains'](_0x207231)||(_0x48cc01['splice'](_0x135fe8,0x0,_0x2ce063),_0x207231&&_0x6e3a74['insertBefore'](_0x144617,_0x207231),this['_update'](_0x2feba1,_0x364f09));},{'once':!0x0}),_0x144617['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x52e8eb){const _0x184c92='string'==typeof _0x52e8eb?parseInt(_0x52e8eb,0xa):_0x52e8eb;isOperationKey(this['_operation'])&&Number['isFinite'](_0x184c92)&&(this['_update'](this['_operation'],_0x184c92),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x184c92));}['_update'](_0xab876c,_0x7e3237){this['_operation']=_0xab876c,this['_value']=_0x7e3237;const {zero:_0x129f3a}=_0xfbedd7[_0xab876c],_0x31aef7=this['_keypoints']['map'](_0x52996a=>_0x52996a['value']),_0x5d2030=calculateOpacities(_0x31aef7,_0x7e3237,_0x129f3a),_0x15b7c2=calculateZIndices(_0x31aef7,_0x129f3a);this['_keypoints']['forEach']((_0x4f1508,_0x499e45)=>{const _0x347faa=_0x5d2030[_0x499e45],_0x32d7e8=_0x15b7c2[_0x499e45];'number'==typeof _0x347faa&&(_0x4f1508['opacity']=_0x347faa),'number'==typeof _0x32d7e8&&(_0x4f1508['zIndex']=_0x32d7e8);}),this['_flush']();}['_createPreviewImage'](){const _0x214a3c=new Image();return _0x214a3c['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x214a3c['style']['opacity']='0',_0x214a3c;}async['_initNodes'](){const _0x13313d=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage']();const _0x5d24f3=this['_previewImage'];this['contains'](_0x5d24f3)||_0x13313d['appendChild'](_0x5d24f3);const _0x213d1d=document['createElement']('div');_0x13313d['appendChild'](_0x213d1d);const _0x4197ff=this['_keypoints']['map'](_0x458b22=>_0x458b22['src']),{images:_0x51e749,promise:_0x2ef52b,cancel:_0x4bcd9c}=batchPreloadImages(_0x4197ff);_0x51e749['forEach'](_0x498e3c=>{const _0x3b1fe1=this['_handleImageLoading'](_0x498e3c['src']);_0x498e3c['addEventListener']('load',_0x3b1fe1),_0x498e3c['addEventListener']('error',_0x3b1fe1);}),this['_cancelLastImages']=()=>{_0x4bcd9c(),this['_cancelLastImages']=void 0x0;};const _0x223ef8=this['_operation'],_0x36495e=this['_filter'];await _0x2ef52b,this['_isActive']&&this['_isSame'](_0x223ef8,_0x36495e)&&(this['_container']?.['remove'](),this['_container']=_0x213d1d,this['_keypoints']['forEach']((_0x44ea02,_0x1b0769)=>{const _0xde1d0d=_0x51e749[_0x1b0769];_0xde1d0d&&(_0xde1d0d['classList']['add']('uc-fader-image'),_0x44ea02['image']=_0xde1d0d,this['_container']?.['appendChild'](_0xde1d0d));}),this['appendChild'](_0x13313d),this['_flush']());}async['setTransformations'](_0x3990c7){if(this['_transformations']=_0x3990c7,this['_previewImage']){const _0x1a1d5f=await this['_imageSrc'](),_0x163aaf=this['_handleImageLoading'](_0x1a1d5f);this['_previewImage']['src']=_0x1a1d5f,this['_previewImage']['addEventListener']('load',_0x163aaf,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x163aaf,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x5e754e,filter:_0x4e31a5,operation:_0x4fe4e8,value:_0x23a014}){if(!_0x4fe4e8||'number'!=typeof _0x23a014)return;this['_cancelBatchPreload']?.();const _0x1f044a=keypointsRange(_0x4fe4e8,_0x23a014),_0x221df8=await Promise['all'](_0x1f044a['map'](_0x2cda9d=>this['_imageSrc']({'url':_0x5e754e,'filter':_0x4e31a5,'operation':_0x4fe4e8,'value':_0x2cda9d}))),{cancel:_0x3f1e6a}=batchPreloadImages(_0x221df8);this['_cancelBatchPreload']=_0x3f1e6a;}['_setOriginalSrc'](_0x54179e){const _0x12e1aa=this['_previewImage']||this['_createPreviewImage']();if(this['contains'](_0x12e1aa)||this['appendChild'](_0x12e1aa),this['_previewImage']=_0x12e1aa,_0x12e1aa['src']===_0x54179e)return _0x12e1aa['style']['opacity']='1',_0x12e1aa['style']['transform']='scale(1)',void(this['className']=_0x4b7ea0({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0x12e1aa['style']['opacity']='0';const _0x72f27c=this['_handleImageLoading'](_0x54179e);_0x12e1aa['addEventListener']('error',_0x72f27c,{'once':!0x0}),_0x12e1aa['src']=_0x54179e,_0x12e1aa['addEventListener']('load',()=>{_0x72f27c(),_0x12e1aa&&(_0x12e1aa['style']['opacity']='1',_0x12e1aa['style']['transform']='scale(1)',this['className']=_0x4b7ea0({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x12e1aa['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x3e2407,operation:_0xd148dd,value:_0x5c7434,filter:_0x1aa060,fromViewer:_0x18d51b}){this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x3e2407,this['_operation']=_0xd148dd??'initial',this['_value']=_0x5c7434,this['_filter']=_0x1aa060,this['_fromViewer']=_0x18d51b;if('number'!=typeof _0x5c7434&&!_0x1aa060){const _0x39a94e=await this['_imageSrc']({'operation':_0xd148dd,'value':_0x5c7434});return this['_setOriginalSrc'](_0x39a94e),void this['_container']?.['remove']();}_0xd148dd&&'number'==typeof _0x5c7434&&(this['_keypoints']=await Promise['all'](keypointsRange(_0xd148dd,_0x5c7434)['map'](_0x2a0d33=>this['_constructKeypoint'](_0xd148dd,_0x2a0d33))),this['_update'](_0xd148dd,_0x5c7434),this['_initNodes']());}['deactivate']({hide:_0x47f8dc=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']?.(),this['_cancelBatchPreload']?.(),_0x47f8dc&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=_0x4b7ea0({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['_container']?.['remove']();},{'once':!0x0})):this['_container']?.['remove']();}},EditorOperationControl=class extends EditorButtonControl{['_operation']='';['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x2c8ddb=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'],this['telemetryManager']['sendEventCloudImageEditor'](_0x2c8ddb,this['$']['*tabId'],{'operation':parseFilterValue(this['$']['*operationTooltip'])});},this['defineAccessor']('operation',_0xbff0f6=>{_0xbff0f6&&(this['_operation']=_0xbff0f6,this['$']['icon']=_0xbff0f6,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0xbff0f6)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0xbff0f6)));}),this['sub']('*editorTransformations',_0x1f4112=>{if(!this['_operation'])return;const {zero:_0xb3c4b9}=_0xfbedd7[this['_operation']],_0x270626=_0x1f4112[this['_operation']],_0x534366=void 0x0!==_0x270626&&_0x270626!==_0xb3c4b9;this['$']['active']=_0x534366;});}},_0x47a350=0x1,EditorScroller=class extends _0x263636{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x181234=>{_0x181234['preventDefault']();const {deltaY:_0x3c085f,deltaX:_0xb057ea}=_0x181234;Math['abs'](_0xb057ea)>_0x47a350?this['scrollLeft']+=_0xb057ea:this['scrollLeft']+=_0x3c085f;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}};function _0x47a3b3(_0xa8a905){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggle\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggle.'+_0xa8a905+';\x20styles:\x20presence.tabToggleStyles;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-btn-ui\x0a\x20\x20\x20\x20\x20\x20\x20\x20theme=\x22tab\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22tab-toggle-'+_0xa8a905+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0xa8a905+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0xa8a905+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0xa8a905+';\x20title-prop:\x20a11y-editor-tab-'+_0xa8a905+'\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';}function renderTabContent(_0x241fb4){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x241fb4+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x241fb4+';\x20styles:\x20presence.tabContentStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-editor-scroller\x20hidden-scrollbar>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-list_align\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22listbox\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-orientation=\x22horizontal\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-controls-list_inner\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22controls-list-'+_0x241fb4+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20</uc-editor-scroller>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';}EditorScroller['template']='\x20<slot></slot>\x20';var EditorToolbar=class extends _0x263636{['_debouncedShowLoader'];['_cancelPreload'];['_updateInfoTooltip'];constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*listAspectRatioEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*showListAspectRatio':!0x1,'hideSliderOrList':!0x1,'*currentFilter':_0x3c50fb,'*currentOperation':null,'showLoader':!0x1,'filters':_0x270b1f,'colorOperations':_0x47f97a,'cropOperations':_0x3fcf15,'*operationTooltip':null,'presence.mainToolbar':!0x0,'presence.subToolbar':!0x1,'presence.tabToggles':!0x0,'presence.tabContent.crop':!0x1,'presence.tabContent.tuning':!0x1,'presence.tabContent.filters':!0x1,'presence.tabToggle.crop':!0x0,'presence.tabToggle.tuning':!0x0,'presence.tabToggle.filters':!0x0,'presence.subTopToolbarStyles':{'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},'presence.subBottomToolbarStyles':{'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},'presence.tabContentStyles':{'hidden':'uc-tab-content--hidden','visible':'uc-tab-content--visible'},'presence.tabToggleStyles':{'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},'presence.tabTogglesStyles':{'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},'on.cancel':_0x20959e=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x20959e,this['$']['*tabId'],{'action':'cancel'}),this['_cancelPreload']?.(),(0x0,this['$']['*on.cancel'])();},'on.apply':_0x31eb29=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x31eb29,this['$']['*tabId'],{'action':'apply'}),(0x0,this['$']['*on.apply'])(this['$']['*editorTransformations']);},'on.applySlider':_0x3c5a01=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x3c5a01,this['$']['*tabId'],{'action':'apply-slider','operation':parseFilterValue(this['$']['*operationTooltip'])}),(this['ref']['slider-el']['apply'](),this['_onSliderClose']());},'on.cancelSlider':_0x58e76d=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x58e76d,this['$']['*tabId'],{'action':'cancel-slider'}),(this['ref']['slider-el']['cancel'](),this['_onSliderClose']());},'on.clickTab':_0x10cf76=>{const _0x384b42=_0x10cf76['currentTarget'],_0x23e597=_0x384b42?.['getAttribute']('data-id');_0x23e597&&(this['telemetryManager']['sendEventCloudImageEditor'](_0x10cf76,_0x23e597),this['_activateTab'](_0x23e597,{'fromViewer':!0x1}));},'tab_role':'tab',['tab_'+_0x34f39e['TUNING']]:'tab_'+_0x34f39e['TUNING'],['tab_'+_0x34f39e['CROP']]:'tab_'+_0x34f39e['CROP'],['tab_'+_0x34f39e['FILTERS']]:'tab_'+_0x34f39e['FILTERS'],'cancel':'cancel','apply':'apply','a11y-editor-tab-filters':'a11y-editor-tab-filters','a11y-editor-tab-tuning':'a11y-editor-tab-tuning','a11y-editor-tab-crop':'a11y-editor-tab-crop'},this['_debouncedShowLoader']=_0x2a8397(this['_showLoader']['bind'](this),0x1f4),this['_updateInfoTooltip']=_0x2a8397(this['_updateInfoTooltipHandler']['bind'](this),0x0);}['_onSliderClose'](){(this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x34f39e['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x34f39e['TUNING'])&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x11aed3){const _0x3950e3=new EditorOperationControl();return _0x3950e3['operation']=_0x11aed3,_0x3950e3;}['_createFilterControl'](_0x4d273b){const _0xaca58e=new EditorFilterControl();return _0xaca58e['filter']=_0x4d273b,_0xaca58e;}['_createToggleControl'](_0x333316){const _0x4bbe8d=new EditorCropButtonControl();return _0x4bbe8d['operation']=_0x333316,_0x4bbe8d;}['_createAspectRatioControl'](_0x49d330){const _0x59ba09=new EditorAspectRatioButtonControl();return _0x59ba09['aspectRatio']=_0x49d330,_0x59ba09;}['_createFreeformControl'](){return new EditorFreeformButtonControl();}['_clearListAspectRatio'](){const _0x5b7080=this['$']['*listAspectRatioEl'];_0x5b7080&&(_0x5b7080['innerHTML']='');}['_renderControlsList'](_0x47c5f5){const _0x2bdc01=this['ref']['controls-list-'+_0x47c5f5],_0x359e3d=document['createDocumentFragment']();if(this['_clearListAspectRatio'](),_0x47c5f5===_0x34f39e['CROP']){const _0x9ea37e=this['$']['*cropPresetList'],_0x1e3f14=_0x9ea37e['length']>=0x3;if(_0x1e3f14){const _0x156983=this['_createFreeformControl']();_0x359e3d['appendChild'](_0x156983);}for(const _0x27434a of _0x9ea37e){const _0x5b46d9=this['_createAspectRatioControl'](_0x27434a);if(_0x359e3d['appendChild'](_0x5b46d9),_0x1e3f14){const _0x4b14f0=this['$']['*listAspectRatioEl'];_0x4b14f0?.['appendChild'](_0x5b46d9);}}for(const _0x2e7c04 of this['$']['cropOperations']){const _0x497600=this['_createToggleControl'](_0x2e7c04);_0x359e3d['appendChild'](_0x497600);}}else{if(_0x47c5f5===_0x34f39e['FILTERS']){const _0x549a73=this['$']['filters'];[_0x3c50fb,..._0x549a73]['forEach'](_0x596a4d=>{const _0x3240d2=this['_createFilterControl'](_0x596a4d);_0x359e3d['appendChild'](_0x3240d2);});}else{if(_0x47c5f5===_0x34f39e['TUNING'])for(const _0x1683f6 of this['$']['colorOperations']){const _0x327fb2=this['_createOperationControl'](_0x1683f6);_0x359e3d['appendChild'](_0x327fb2);}}}[..._0x359e3d['children']]['forEach']((_0x109f4a,_0x307a6e)=>{_0x307a6e===_0x359e3d['childNodes']['length']-0x1&&_0x109f4a['classList']['add']('uc-controls-list_last-item');}),_0x2bdc01['innerHTML']='',_0x2bdc01['appendChild'](_0x359e3d);}['_activateTab'](_0x360a82,{fromViewer:_0x2556c4}={}){this['$']['*tabId']=_0x360a82;const _0xecd016=this['$']['*faderEl'],_0x77a7f3=this['$']['*cropperEl'];_0x360a82===_0x34f39e['CROP']?(_0xecd016?.['deactivate'](),_0x77a7f3?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x2556c4})):(_0xecd016?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x2556c4}),_0x77a7f3?.['deactivate']());for(const _0x192fdd of _0x547f3f){const _0x55ee57=_0x192fdd===_0x360a82;this['ref']['tab-toggle-'+_0x192fdd]['active']=_0x55ee57,_0x55ee57?(this['_renderControlsList'](_0x360a82),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x192fdd),this['$']['presence.tabContent.'+_0x192fdd]=_0x55ee57;}}['_unmountTabControls'](_0x4778e4){const _0x1de434=this['ref']['controls-list-'+_0x4778e4];_0x1de434&&(_0x1de434['innerHTML']='');}['_syncTabIndicator'](){const _0x1b0bdf=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x1b0bdf['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){const _0x3a7003=this['$']['*imgContainerEl']['offsetWidth'],_0xc7493b=await this['proxyUrl'](_0x12afb0(this['$']['*originalUrl'],_0x3a7003,this['$']['*editorTransformations']));this['_cancelPreload']?.();const {cancel:_0x5d54dc}=batchPreloadImages([_0xc7493b]);this['_cancelPreload']=()=>{_0x5d54dc(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x2f9bd5){this['$']['showLoader']=_0x2f9bd5;}['_updateInfoTooltipHandler'](){const _0x1bfa12=this['$']['*editorTransformations'],_0x13be24=this['$']['*currentOperation'];let _0xb41ea2='',_0x33034f=!0x1;if(this['$']['*tabId']===_0x34f39e['FILTERS']){if(_0x33034f=!0x0,this['$']['*currentFilter']&&_0x1bfa12?.['filter']?.['name']===this['$']['*currentFilter']){const _0xf2c353=_0x1bfa12?.['filter']?.['amount']||0x64;_0xb41ea2=this['$']['*currentFilter']+'\x20'+_0xf2c353;}else _0xb41ea2=this['l10n'](_0x3c50fb);}else{if(this['$']['*tabId']===_0x34f39e['TUNING']&&_0x13be24){_0x33034f=!0x0;const _0x1ee0b7=_0x1bfa12?.[_0x13be24]||_0xfbedd7[_0x13be24]['zero'];_0xb41ea2=this['l10n'](_0x13be24)+'\x20'+_0x1ee0b7;}}_0x33034f&&(this['$']['*operationTooltip']=_0xb41ea2),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',_0x33034f);}['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['$']['*listAspectRatioEl']=this['ref']['list-el'],this['sub']('*imageSize',_0x2b5853=>{_0x2b5853&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x114eba=>{const _0x401906=_0x114eba?.['filter']?.['name'];this['$']['*currentFilter']!==_0x401906&&(this['$']['*currentFilter']=_0x401906);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x2a9a08=>{this['_preloadEditedImage'](),this['$']['*faderEl']?.['setTransformations'](_0x2a9a08);}),this['sub']('*loadingOperations',_0x552350=>{let _0x142a4d=!0x1;for(const [,_0x46cad3]of _0x552350['entries']()){if(_0x142a4d)break;for(const [,_0x2b76b1]of _0x46cad3['entries']())if(_0x2b76b1){_0x142a4d=!0x0;break;}}this['_debouncedShowLoader'](_0x142a4d);}),this['sub']('*showSlider',_0x4d1412=>{this['$']['presence.subToolbar']=_0x4d1412,this['$']['presence.mainToolbar']=!_0x4d1412,this['$']['hideSliderOrList']=!0x0;}),this['sub']('*showListAspectRatio',_0x564733=>{this['$']['presence.subToolbar']=_0x564733,this['$']['presence.mainToolbar']=!_0x564733,this['$']['hideSliderOrList']=!0x1;}),this['sub']('*tabList',_0x3bc445=>{this['$']['presence.tabToggles']=_0x3bc445['length']>0x1;for(const _0x32f231 of _0x547f3f){this['$']['presence.tabToggle.'+_0x32f231]=_0x3bc445['includes'](_0x32f231),this['ref']['tab-toggle-'+_0x32f231]['style']['gridColumn']=''+(_0x3bc445['indexOf'](_0x32f231)+0x1);}if(!_0x3bc445['includes'](this['$']['*tabId'])&&_0x3bc445['length']>0x0){const [_0x2b666a]=_0x3bc445;_0x2b666a&&this['_activateTab'](_0x2b666a,{'fromViewer':!0x1});}}),this['_updateInfoTooltip']();}['destroyCallback'](){this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}};EditorToolbar['template']='\x0a\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20<div\x20class=\x22uc-info-tooltip_container\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-info-tooltip_wrapper\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tooltip-el\x22\x20class=\x22uc-info-tooltip\x20uc-info-tooltip_hidden\x22>{{*operationTooltip}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x20\x20<div\x20class=\x22uc-toolbar-container\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20role=\x22tablist\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.mainToolbar;\x20styles:\x20presence.subTopToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-tab-content-row\x22>'+_0x547f3f['map'](renderTabContent)['join']('')+'</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggles;\x20styles:\x20presence.tabTogglesStyles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tabs-indicator\x22\x20class=\x22uc-tab-toggles_indicator\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x547f3f['map'](_0x47a3b3)['join']('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20style=\x22order:\x20-1\x22\x20theme=\x22secondary-icon\x22\x20icon=\x22closeMax\x22\x20set=\x22onclick:\x20on.cancel;\x20title-prop:cancel\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary-icon\x22\x20icon=\x22done\x22\x20set=\x22onclick:\x20on.apply;\x20title-prop:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.subToolbar;\x20styles:\x20presence.subBottomToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-slider\x22\x20set=\x22@hidden:!hideSliderOrList\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-slider\x20ref=\x22slider-el\x22></uc-editor-slider>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:hideSliderOrList\x22\x20class=\x22uc-list-aspect-ratio-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-list-aspect-ratio\x22\x20ref=\x22list-el\x22></div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22secondary\x22\x20set=\x22onclick:\x20on.cancelSlider\x22\x20l10n=\x22@text:cancel\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20set=\x22onclick:\x20on.applySlider\x22\x20l10n=\x22@text:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20</div>\x0a';var BtnUi=class extends _0x263636{['_iconReversed']=!0x1;['_iconSingle']=!0x1;['_iconHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'text':'','icon':'','iconCss':this['_iconCss'](),'theme':null,'aria-role':'','aria-controls':'','title-prop':''},this['defineAccessor']('active',_0x170f5f=>{_0x170f5f?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return _0x4b7ea0('uc-icon',{'uc-icon_left':!this['_iconReversed'],'uc-icon_right':this['_iconReversed'],'uc-icon_hidden':this['_iconHidden'],'uc-icon_single':this['_iconSingle']});}['initCallback'](){super['initCallback'](),this['sub']('icon',_0x55d12f=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x55d12f,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x40cd2b=>{_0x40cd2b&&'custom'!==_0x40cd2b&&(this['className']='uc-'+_0x40cd2b);}),this['sub']('text',()=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x431ece=>{this['$']['aria-role']=_0x431ece||'';}),this['defineAccessor']('aria-controls',_0x4b57b9=>{this['$']['aria-controls']=_0x4b57b9||'';}),this['defineAccessor']('title-prop',_0x5e6a63=>{this['$']['title-prop']=_0x5e6a63||'';});}set['reverse'](_0x217e2b){this['hasAttribute']('reverse')?(this['style']['flexDirection']='row-reverse',this['_iconReversed']=!0x0):(this['_iconReversed']=!0x1,this['style']['flexDirection']='');}};BtnUi['bindAttributes']({'text':'text','icon':'icon','reverse':'reverse','theme':'theme'}),BtnUi['template']='\x0a\x20\x20<button\x0a\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20set=\x22@role:aria-role;\x20@aria-controls:\x20aria-controls;\x20@aria-label:title-prop\x22\x0a\x20\x20\x20\x20l10n=\x22@title:title-prop;\x22\x0a\x20\x20>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22className:\x20iconCss;\x20@name:\x20icon;\x20@hidden:\x20!icon\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-text\x22>{{text}}</div>\x0a\x20\x20</button>\x0a';var _0x7b9054=class extends _0x263636{['_active']=!0x1;['_handleTransitionEndRight']=()=>{const _0x450f02=this['ref']['line-el'];_0x450f02['style']['transition']='initial',_0x450f02['style']['opacity']='0',_0x450f02['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x270070=>{'boolean'==typeof _0x270070&&(_0x270070?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;const {width:_0x349480}=this['getBoundingClientRect'](),_0x309f4c=this['ref']['line-el'];_0x309f4c['style']['transition']='transform\x201s',_0x309f4c['style']['opacity']='1',_0x309f4c['style']['transform']='translateX('+_0x349480+'px)',_0x309f4c['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}};_0x7b9054['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-line\x22\x20ref=\x22line-el\x22></div>\x0a\x20\x20</div>\x0a';var _0x377663={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},_0x5cfdc0=class extends _0x263636{['_visible']=!0x1;['_visibleStyle']=_0x377663['visible'];['_hiddenStyle']=_0x377663['hidden'];['_externalTransitions']=!0x1;constructor(){super(),this['defineAccessor']('styles',_0x5875b9=>{_0x5875b9&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x5875b9['visible']??_0x377663['visible'],this['_hiddenStyle']=_0x5875b9['hidden']??_0x377663['hidden']);}),this['defineAccessor']('visible',_0x457fc1=>{'boolean'==typeof _0x457fc1&&(this['_visible']=_0x457fc1,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',_0x2f9cd6(this,{[_0x377663['transition']]:!this['_externalTransitions'],[this['_visibleStyle']]:this['_visible'],[this['_hiddenStyle']]:!this['_visible']}),this['setAttribute']('aria-hidden',this['_visible']?'false':'true');}['initCallback'](){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['_externalTransitions']||this['classList']['add'](_0x377663['transition']),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}};_0x5cfdc0['template']='<slot></slot>\x20';var _0x185da4=class extends _0x263636{['_observer'];['_thumbSize']=0x0;['_zero']=0x0;['_zeroDotEl'];['_stepsCount'];constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'onInput':null,'onChange':null,'defaultValue':0x0,'on.sliderInput':()=>{const _0x1ecc58=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x1ecc58),this['$']['onInput']?.(_0x1ecc58);},'on.sliderChange':()=>{const _0x133ef6=Number['parseInt'](this['_inputEl']()['value'],0xa);this['$']['onChange']?.(_0x133ef6);}},this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x3c9608=>{this['$']['disabled']=_0x3c9608;}),this['defineAccessor']('min',_0x543e5a=>{this['$']['min']=_0x543e5a;}),this['defineAccessor']('max',_0x367b6a=>{this['$']['max']=_0x367b6a;}),this['defineAccessor']('defaultValue',_0x408fff=>{this['$']['defaultValue']=_0x408fff,(this['_inputEl']()['value']=String(_0x408fff),this['_updateValue'](_0x408fff));}),this['defineAccessor']('zero',_0x563dfa=>{this['_zero']=_0x563dfa;}),this['defineAccessor']('onInput',_0xbee75=>{_0xbee75&&(this['$']['onInput']=_0xbee75);}),this['defineAccessor']('onChange',_0x2fd9c9=>{_0x2fd9c9&&(this['$']['onChange']=_0x2fd9c9);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();const _0x2721c0=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x2721c0);}),this['_observer']['observe'](this),this['_thumbSize']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{const _0x215e42=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x215e42);},0x0),this['sub']('disabled',_0x43503c=>{const _0x37718f=this['_inputEl']();_0x43503c?_0x37718f['setAttribute']('disabled','disabled'):_0x37718f['removeAttribute']('disabled');});const _0x164e2c=this['_inputEl']();_0x164e2c['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x164e2c['addEventListener']('blur',()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');});}['_inputEl'](){return this['ref']['input-el'];}['_thumbEl'](){return this['ref']['thumb-el'];}['_stepsEl'](){return this['ref']['steps-el'];}['_updateValue'](_0x4a1479){this['_updateZeroDot'](_0x4a1479);const {width:_0x21191e}=this['getBoundingClientRect'](),_0x17d58b=0x64/(this['$']['max']-this['$']['min'])*(_0x4a1479-this['$']['min'])*(_0x21191e-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_thumbEl']()['style']['transform']='translateX('+_0x17d58b+'px)';});}['_updateZeroDot'](_0x4dfb40){if(!this['_zeroDotEl'])return;this['_zeroDotEl']['style']['opacity']=_0x4dfb40===this['_zero']?'0':'1';const {width:_0x1f366f}=this['getBoundingClientRect'](),_0x40a859=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0x1f366f-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']&&(this['_zeroDotEl']['style']['transform']='translateX('+_0x40a859+'px)');});}['_updateSteps'](){const _0xadd216=this['_stepsEl'](),{width:_0x314b8a}=_0xadd216['getBoundingClientRect'](),_0x572f48=Math['ceil'](_0x314b8a/0x2),_0x241684=Math['ceil'](_0x572f48/0xf)-0x2;if(this['_stepsCount']===_0x241684)return;const _0x1e6d91=document['createDocumentFragment'](),_0x56202f=document['createElement']('div'),_0x20a875=document['createElement']('div');_0x56202f['className']='uc-minor-step',_0x20a875['className']='uc-border-step',_0x1e6d91['appendChild'](_0x20a875);for(let _0x29cecd=0x0;_0x29cecd<_0x241684;_0x29cecd+=0x1)_0x1e6d91['appendChild'](_0x56202f['cloneNode']());_0x1e6d91['appendChild'](_0x20a875['cloneNode']());for(let _0xc3d801=0x0;_0xc3d801<_0x241684;_0xc3d801+=0x1)_0x1e6d91['appendChild'](_0x56202f['cloneNode']());_0x1e6d91['appendChild'](_0x20a875['cloneNode']());const _0x54c35a=document['createElement']('div');_0x54c35a['className']='uc-zero-dot',_0x1e6d91['appendChild'](_0x54c35a),this['_zeroDotEl']=_0x54c35a,_0xadd216['innerHTML']='',_0xadd216['appendChild'](_0x1e6d91),this['_stepsCount']=_0x241684;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};_0x185da4['template']='\x0a\x20\x20<div\x20class=\x22uc-steps\x22\x20ref=\x22steps-el\x22></div>\x0a\x20\x20<div\x20ref=\x22thumb-el\x22\x20class=\x22uc-thumb\x22></div>\x0a\x20\x20<input\x0a\x20\x20\x20\x20class=\x22uc-input\x22\x0a\x20\x20\x20\x20type=\x22range\x22\x0a\x20\x20\x20\x20ref=\x22input-el\x22\x0a\x20\x20\x20\x20set=\x22oninput:\x20on.sliderInput;\x20onchange:\x20on.sliderChange;\x20@min:\x20min;\x20@max:\x20max;\x20@value:\x20defaultValue;\x22\x0a\x20\x20/>\x0a';var CloudImageEditorActivity=class extends _0xf7dddd{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0xeee1af=super['activityParams'];if('internalId'in _0xeee1af)return _0xeee1af;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>this['mountEditor'](),'onDeactivate':()=>this['unmountEditor']()}),this['subConfigValue']('cropPreset',_0x594d45=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0x594d45&&this['_instance']['setAttribute']('crop-preset',_0x594d45);}),this['subConfigValue']('cloudImageEditorTabs',_0x2b20ef=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x2b20ef&&this['_instance']['setAttribute']('tabs',_0x2b20ef);});}['handleApply'](_0x65265){if(!this['_entry'])return;const _0x1b184a=_0x65265['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x1b184a['cdnUrl'],'cdnUrlModifiers':_0x1b184a['cdnUrlModifiers']}),this['modalManager']?.['close'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleCancel'](){this['modalManager']?.['close'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['mountEditor'](){const {internalId:_0xe5821}=this['activityParams'],_0x9439aa=this['uploadCollection']['read'](_0xe5821);if(!_0x9439aa)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0xe5821+'\x22\x20not\x20found');this['_entry']=_0x9439aa;const _0x1e807f=this['_entry']['getValue']('cdnUrl');if(!_0x1e807f)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0xe5821+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0xa705f=new CloudImageEditorBlock(),_0x2233fe=this['cfg']['cropPreset'],_0xddc464=this['cfg']['cloudImageEditorTabs'];_0xa705f['setAttribute']('ctx-name',this['ctxName']),_0xa705f['setAttribute']('cdn-url',_0x1e807f),_0x2233fe&&_0xa705f['setAttribute']('crop-preset',_0x2233fe),_0xddc464&&_0xa705f['setAttribute']('tabs',_0xddc464),_0xa705f['addEventListener']('apply',_0x4426aa=>{const _0x21d15c=_0x4426aa;this['handleApply'](_0x21d15c),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0x21d15c['detail']);}),_0xa705f['addEventListener']('cancel',_0x42600c=>{const _0x341eda=_0x42600c;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x341eda['detail']);}),_0xa705f['addEventListener']('change',_0x3efce4=>{const _0x4e9a55=_0x3efce4;this['debugPrint']('editor\x20event\x20\x22change\x22',_0x4e9a55['detail']);}),this['innerHTML']='',this['appendChild'](_0xa705f),this['_instance']=_0xa705f;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}},toKebabCase=_0x971e0=>_0x971e0['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x4a59fc=>_0x4a59fc['toLowerCase']())['join']('-'),_0x10bd2b=[{'test':_0xc0d711=>!!_0xc0d711['accept']&&!!_0xc0d711['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':_0x5707b7=>null!==_0x5707b7['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':_0xf7627=>null!==_0xf7627['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],runAssertions=_0x2a8397(_0x3680aa=>{for(const {test:_0x3305d5,message:_0x1ecd7c}of _0x10bd2b)_0x3305d5(_0x3680aa)&&_0x580821(_0x1ecd7c);},0x0),_0x35d79f=_0x5619b3=>_0x5619b3 instanceof Promise||Boolean(_0x5619b3&&'object'==typeof _0x5619b3&&'then'in _0x5619b3&&'function'==typeof _0x5619b3['then']),defineComputedProperty=_0x351170=>_0x351170,_0x3d512a=[defineComputedProperty({'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x183175,enableVideoRecording:_0x4a0412})=>{if(null===_0x4a0412)return _0x183175;let _0x467f6e=_0x1c2c08(_0x183175);return _0x4a0412&&!_0x467f6e['includes']('video')?_0x467f6e=_0x467f6e['concat']('video'):_0x4a0412||(_0x467f6e=_0x467f6e['filter'](_0x179955=>'video'!==_0x179955)),_0x48a6ae(_0x467f6e);}}),defineComputedProperty({'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x40e64f,defaultCameraMode:_0x13ae63})=>{if(null===_0x13ae63)return _0x40e64f;let _0x2c68bb=_0x1c2c08(_0x40e64f);return _0x2c68bb=_0x2c68bb['sort']((_0x1bf40a,_0x2dd5b9)=>_0x1bf40a===_0x13ae63?-0x1:_0x2dd5b9===_0x13ae63?0x1:0x0),_0x48a6ae(_0x2c68bb);}}),defineComputedProperty({'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x4d10a8,cdnCname:_0x12f98b,cdnCnamePrefixed:_0x2005af})=>_0x4d10a8&&(_0x12f98b===_0x2beac2||_0x3aa8e8(_0x12f98b,_0x2005af))?_0x3860fc(_0x4d10a8,_0x2005af):_0x12f98b})],computeProperty=({key:_0x359ea7,setValue:_0x4538ae,getValue:_0x2d61ca,computationControllers:_0x5492d9})=>{for(const _0x2615a2 of _0x3d512a)if(_0x2615a2['deps']['includes'](_0x359ea7)){const _0x29ba5a={[_0x2615a2['key']]:_0x2d61ca(_0x2615a2['key'])};for(const _0x39f7e7 of _0x2615a2['deps'])_0x29ba5a[_0x39f7e7]=_0x2d61ca(_0x39f7e7);const _0x596a67=new AbortController();let _0x37ab41;_0x5492d9['get'](_0x2615a2['key'])?.['abort'](),_0x5492d9['set'](_0x2615a2['key'],_0x596a67);try{_0x37ab41=_0x2615a2['fn'](_0x29ba5a,{'signal':_0x596a67['signal']});}catch(_0x10dbdd){return _0x5492d9['get'](_0x2615a2['key'])===_0x596a67&&_0x5492d9['delete'](_0x2615a2['key']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x2615a2['key']+'\x22',_0x10dbdd);}_0x35d79f(_0x37ab41)?_0x37ab41['then'](_0x280f1c=>{_0x596a67['signal']['aborted']||_0x4538ae(_0x2615a2['key'],_0x280f1c);})['catch'](_0x3399ba=>{_0x596a67['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x2615a2['key']+'\x22',_0x3399ba);})['finally'](()=>{_0x5492d9['get'](_0x2615a2['key'])===_0x596a67&&_0x5492d9['delete'](_0x2615a2['key']);}):_0x4538ae(_0x2615a2['key'],_0x37ab41);}},asString=_0x5016c0=>String(_0x5016c0),_0x3a5bd9=_0x2016d5=>{const _0x518406=Number(_0x2016d5);if(Number['isNaN'](_0x518406))throw new Error('Invalid\x20number:\x20\x22'+_0x2016d5+'\x22');return _0x518406;},_0x5c179f=_0x14d566=>{if(null==_0x14d566)return!0x1;if('boolean'==typeof _0x14d566)return _0x14d566;if('true'===_0x14d566)return!0x0;if(''===_0x14d566)return!0x0;if('false'===_0x14d566)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x14d566+'\x22');},asStore=_0x55d3f5=>'auto'===_0x55d3f5?_0x55d3f5:_0x5c179f(_0x55d3f5),asCameraCapture=_0x2f7bec=>{const _0x447856=asString(_0x2f7bec);if('user'!==_0x447856&&'environment'!==_0x447856&&''!==_0x447856)throw new Error('Invalid\x20value:\x20\x22'+_0x447856+'\x22');return _0x447856;},_0x32811e=_0x560224=>{const _0x3095af=asString(_0x560224);if(!Object['values'](_0x59769d)['includes'](_0x3095af))throw new Error('Invalid\x20value:\x20\x22'+_0x3095af+'\x22');return _0x3095af;},_0x561b4f=_0x70b263=>{const _0x5853b1=asString(_0x70b263),_0x414217=_0x1c2c08(_0x5853b1);if(_0x414217['some'](_0x53f657=>!Object['values'](_0x59769d)['includes'](_0x53f657)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x414217)+'\x22');return _0x5853b1;},asMetadata=_0x13a251=>{if('object'==typeof _0x13a251&&!Array['isArray'](_0x13a251))return _0x13a251;if('function'==typeof _0x13a251)return _0x13a251;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},asObject=_0x550280=>{if('object'==typeof _0x550280)return _0x550280;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},asFunction=_0x507a8e=>{if('function'==typeof _0x507a8e)return _0x507a8e;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x4d8df8=_0x5c9a1d=>{if(Array['isArray'](_0x5c9a1d))return _0x5c9a1d;throw new Error('Must\x20be\x20an\x20array.');},_0x5bb07d=_0x52ffcb=>{const _0x4f847c=asString(_0x52ffcb);if(['grid','list']['includes'](_0x4f847c))return _0x4f847c;throw new Error('Invalid\x20value:\x20\x22'+_0x4f847c+'\x22');},_0xd86dd={'pubkey':asString,'multiple':_0x5c179f,'multipleMin':_0x3a5bd9,'multipleMax':_0x3a5bd9,'confirmUpload':_0x5c179f,'imgOnly':_0x5c179f,'accept':asString,'externalSourcesPreferredTypes':asString,'externalSourcesEmbedCss':asString,'store':asStore,'cameraMirror':_0x5c179f,'cameraCapture':asCameraCapture,'sourceList':asString,'topLevelOrigin':asString,'maxLocalFileSizeBytes':_0x3a5bd9,'thumbSize':_0x3a5bd9,'showEmptyList':_0x5c179f,'useLocalImageEditor':_0x5c179f,'useCloudImageEditor':_0x5c179f,'cloudImageEditorTabs':asString,'removeCopyright':_0x5c179f,'cropPreset':asString,'imageShrink':asString,'modalScrollLock':_0x5c179f,'modalBackdropStrokes':_0x5c179f,'sourceListWrap':_0x5c179f,'remoteTabSessionKey':asString,'cdnCname':asString,'cdnCnamePrefixed':asString,'baseUrl':asString,'socialBaseUrl':asString,'secureSignature':asString,'secureExpire':asString,'secureDeliveryProxy':asString,'retryThrottledRequestMaxTimes':_0x3a5bd9,'retryNetworkErrorMaxTimes':_0x3a5bd9,'multipartMinFileSize':_0x3a5bd9,'multipartChunkSize':_0x3a5bd9,'maxConcurrentRequests':_0x3a5bd9,'multipartMaxConcurrentRequests':_0x3a5bd9,'multipartMaxAttempts':_0x3a5bd9,'checkForUrlDuplicates':_0x5c179f,'saveUrlForRecurrentUploads':_0x5c179f,'groupOutput':_0x5c179f,'userAgentIntegration':asString,'debug':_0x5c179f,'localeName':asString,'metadata':asMetadata,'secureUploadsExpireThreshold':_0x3a5bd9,'localeDefinitionOverride':_0x30af2e=>asObject(_0x30af2e),'secureUploadsSignatureResolver':_0x5de32a=>asFunction(_0x5de32a),'secureDeliveryProxyUrlResolver':_0x4dd11a=>asFunction(_0x4dd11a),'iconHrefResolver':_0x5c79c7=>asFunction(_0x5c79c7),'fileValidators':_0x4d8df8,'collectionValidators':_0x4d8df8,'validationTimeout':_0x3a5bd9,'validationConcurrency':_0x3a5bd9,'cameraModes':_0x561b4f,'defaultCameraMode':_0x32811e,'enableAudioRecording':_0x5c179f,'enableVideoRecording':_0x5c179f,'mediaRecorderOptions':asObject,'maxVideoRecordingDuration':_0x3a5bd9,'filesViewMode':_0x5bb07d,'gridShowFileNames':_0x5c179f,'cloudImageEditorAutoOpen':_0x5c179f,'cloudImageEditorMaskHref':asString,'testMode':_0x5c179f,'qualityInsights':_0x5c179f},_0x445590=(_0x1fd4a0,_0x3ae9c3)=>{if(null!=_0x3ae9c3)try{return _0xd86dd[_0x1fd4a0](_0x3ae9c3);}catch(_0x3836ec){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x1fd4a0+'\x22.',_0x3836ec),initialConfig[_0x1fd4a0];}},_0x519272=[...new Set(['debug',...Object['keys'](initialConfig)])],_0x109187=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x259171=_0x4560f3=>_0x109187['includes'](_0x4560f3),_0x1131d6=_0x519272['filter'](_0x5f4358=>!_0x259171(_0x5f4358)),attrKeyMapping={...Object['fromEntries'](_0x1131d6['map'](_0x5f337d=>[toKebabCase(_0x5f337d),_0x5f337d])),...Object['fromEntries'](_0x1131d6['map'](_0x440352=>[_0x440352['toLowerCase'](),_0x440352]))},attrStateMapping={...Object['fromEntries'](_0x1131d6['map'](_0xa596df=>[toKebabCase(_0xa596df),_0x4bef73(_0xa596df)])),...Object['fromEntries'](_0x1131d6['map'](_0x522d5a=>[_0x522d5a['toLowerCase'](),_0x4bef73(_0x522d5a)]))},getLocalPropName=_0x17e26d=>'__'+_0x17e26d,_0x1f2966=class extends _0x263636{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](initialConfig)['map'](([_0x37b3f7,_0xaf944b])=>[_0x4bef73(_0x37b3f7),_0xaf944b])),'computationControllers':new Map()};}['_flushValueToAttribute'](_0x44af88,_0x7f32cf){if(!_0x259171(_0x44af88)){const _0x41da8c=[...new Set([toKebabCase(_0x44af88),_0x44af88['toLowerCase']()])];for(const _0x28c206 of _0x41da8c)null==_0x7f32cf?this['removeAttribute'](_0x28c206):this['getAttribute'](_0x28c206)!==_0x7f32cf['toString']()&&this['setAttribute'](_0x28c206,_0x7f32cf['toString']());}}['_flushValueToState'](_0x38b8b7,_0x5d4e56){this['$'][_0x4bef73(_0x38b8b7)]!==_0x5d4e56&&(this['$'][_0x4bef73(_0x38b8b7)]=null==_0x5d4e56?initialConfig[_0x38b8b7]:_0x5d4e56);}['_setValue'](_0x13e25e,_0x4de063){const _0x500859=this,_0x524311=_0x445590(_0x13e25e,_0x4de063),_0x389eef=getLocalPropName(_0x13e25e);_0x500859[_0x389eef]!==_0x524311&&(this['_assertSameValueDifferentReference'](_0x13e25e,_0x500859[_0x389eef],_0x524311),_0x500859[_0x389eef]=_0x524311,this['_flushValueToAttribute'](_0x13e25e,_0x524311),this['_flushValueToState'](_0x13e25e,_0x524311),this['debugPrint']('[uc-config]\x20\x22'+_0x13e25e+'\x22',_0x524311),runAssertions(this['cfg']));}['_getValue'](_0x17487d){return this[getLocalPropName(_0x17487d)]??this['$'][_0x4bef73(_0x17487d)];}['_assertSameValueDifferentReference'](_0x4f66b,_0x8a440d,_0x32c915){this['cfg']['debug']&&_0x32c915!==_0x8a440d&&'object'==typeof _0x32c915&&'object'==typeof _0x8a440d&&JSON['stringify'](_0x32c915)===JSON['stringify'](_0x8a440d)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x4f66b+'\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'+_0x4f66b+'\x22\x20previous\x20value:',_0x8a440d),console['warn']('[uc-config]\x20\x22'+_0x4f66b+'\x22\x20new\x20value:',_0x32c915));}['initCallback'](){super['initCallback']();const _0x14d78d=this;for(const _0x14df34 of _0x1131d6)this['sub'](_0x4bef73(_0x14df34),_0x4bb189=>{this['_setValue'](_0x14df34,_0x4bb189);},!0x1);for(const _0x2d0d15 of _0x519272){const _0x216540=_0x14d78d[_0x2d0d15]??this['$'][_0x4bef73(_0x2d0d15)];_0x216540!==initialConfig[_0x2d0d15]&&this['_setValue'](_0x2d0d15,_0x216540),Object['defineProperty'](this,_0x2d0d15,{'set':_0x2005a7=>{this['_setValue'](_0x2d0d15,_0x2005a7);},'get':()=>this['_getValue'](_0x2d0d15)});}for(const _0x13e8cf of _0x519272)this['sub'](_0x4bef73(_0x13e8cf),()=>{computeProperty({'key':_0x13e8cf,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this),'computationControllers':this['computationControllers']});});}['attributeChangedCallback'](_0x3a92b6,_0x4f16b2,_0x249bd9){if(_0x4f16b2===_0x249bd9)return;const _0x4b0d9d=this,_0x1cb875=attrKeyMapping[_0x3a92b6];_0x1cb875&&(_0x4b0d9d[_0x1cb875]=_0x249bd9);}get['computationControllers'](){return this['$']['computationControllers'];}};_0x1f2966['bindAttributes'](attrStateMapping);for(const _0x8c4d62 of _0x519272)_0x1f2966['prototype'][_0x8c4d62]=void 0x0;var Copyright=class extends _0x263636{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x2c3e1c=>{this['toggleAttribute']('hidden',!!_0x2c3e1c);});}static ['template']='\x0a\x20\x20\x20\x20<a\x0a\x20\x20\x20\x20\x20\x20href=\x22https://uploadcare.com/?utm_source=copyright&utm_medium=referral&utm_campaign=v4\x22\x0a\x20\x20\x20\x20\x20\x20target=\x22_blank\x20noopener\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-credits\x22\x0a\x20\x20\x20\x20\x20\x20>Powered\x20by\x20Uploadcare</a\x0a\x20\x20\x20\x20>\x0a\x20\x20';};function checkIsDirectory(_0x5e5a6d){return new Promise(_0x11a0de=>{'function'!=typeof window['FileReader']&&_0x11a0de(!0x1);try{const _0x586ba7=new FileReader();_0x586ba7['onerror']=()=>{_0x11a0de(!0x0);};const _0x102f7c=_0x39c866=>{'loadend'!==_0x39c866['type']&&_0x586ba7['abort'](),_0x11a0de(!0x1);};_0x586ba7['onloadend']=_0x102f7c,_0x586ba7['onprogress']=_0x102f7c,_0x586ba7['readAsDataURL'](_0x5e5a6d);}catch{_0x11a0de(!0x1);}});}function readEntryContentAsync(_0x12ad64,_0x1f3a88){return new Promise(_0x1bd462=>{let _0x5de340=0x0;const _0x18ac65=[],_0x3c8678=_0x2acd20=>{if(!_0x2acd20)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void _0x1bd462(null);_0x2acd20['isFile']?(_0x5de340++,_0x2acd20['file'](_0x9544f8=>{_0x5de340--;const _0x4e69f6=new File([_0x9544f8],_0x9544f8['name'],{'type':_0x9544f8['type']||_0x1f3a88});_0x18ac65['push']({'type':'file','file':_0x4e69f6,'fullPath':_0x2acd20['fullPath']}),0x0===_0x5de340&&_0x1bd462(_0x18ac65);})):_0x2acd20['isDirectory']&&_0x525f90(_0x2acd20['createReader']());},_0x525f90=_0x6ef6ff=>{_0x5de340++,_0x6ef6ff['readEntries'](_0xe56b6f=>{_0x5de340--;for(const _0x237e30 of _0xe56b6f)_0x3c8678(_0x237e30);0x0===_0x5de340&&_0x1bd462(_0x18ac65);});};_0x3c8678(_0x12ad64);});}function getDropItems(_0x26371d){const _0x48ebe3=[],_0x1c47b3=[];for(let _0x3bc5fe=0x0;_0x3bc5fe<_0x26371d['items']['length'];_0x3bc5fe++){const _0x5be8a8=_0x26371d['items'][_0x3bc5fe];if(_0x5be8a8){if('file'===_0x5be8a8['kind']){const _0x25bd12=_0x5be8a8['type'],_0x346e1c=_0x5be8a8;if('function'==typeof _0x346e1c['webkitGetAsEntry']||'function'==typeof _0x346e1c['getAsEntry']){const _0x862092='function'==typeof _0x346e1c['webkitGetAsEntry']?_0x346e1c['webkitGetAsEntry']():_0x346e1c['getAsEntry']?.();_0x862092&&_0x1c47b3['push'](readEntryContentAsync(_0x862092,_0x25bd12)['then'](_0x3ebaf7=>{_0x3ebaf7&&_0x48ebe3['push'](..._0x3ebaf7);}));continue;}const _0x5e5ee6=_0x5be8a8['getAsFile']();_0x5e5ee6&&_0x1c47b3['push'](checkIsDirectory(_0x5e5ee6)['then'](_0x4bcde7=>{_0x4bcde7||_0x48ebe3['push']({'type':'file','file':_0x5e5ee6});}));}else'string'===_0x5be8a8['kind']&&/^text\/uri-list/['test'](_0x5be8a8['type'])&&_0x1c47b3['push'](new Promise(_0x41eba0=>{_0x5be8a8['getAsString'](_0x374f92=>{_0x48ebe3['push']({'type':'url','url':_0x374f92}),_0x41eba0();});}));}}return Promise['all'](_0x1c47b3)['then'](()=>_0x48ebe3);}var DropzoneState=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x1c5a4a=['focus'],_0x4ede09=0x64,nearnessRegistry=new Map();function distance(_0x30c504,_0x440982){const _0x219e10=Math['max'](Math['min'](_0x30c504[0x0],_0x440982['x']+_0x440982['width']),_0x440982['x']),_0x19eed7=Math['max'](Math['min'](_0x30c504[0x1],_0x440982['y']+_0x440982['height']),_0x440982['y']);return Math['sqrt']((_0x30c504[0x0]-_0x219e10)*(_0x30c504[0x0]-_0x219e10)+(_0x30c504[0x1]-_0x19eed7)*(_0x30c504[0x1]-_0x19eed7));}function _0x21b5b2(_0x5d105b){let _0x16e4ba=0x0;const _0x11aeb1=document['body'],_0x9e0327=new Set();let _0x4fccd7=DropzoneState['INACTIVE'];const _0x2a11d7=_0x53883f=>{_0x5d105b['shouldIgnore']()&&_0x53883f!==DropzoneState['INACTIVE']||(_0x4fccd7!==_0x53883f&&_0x9e0327['forEach'](_0x75b8df=>{_0x75b8df(_0x53883f);}),_0x4fccd7=_0x53883f);},_0x17c594=()=>_0x16e4ba>0x0;var _0x17fce2;_0x17fce2=_0x378374=>_0x5d105b['onChange'](_0x378374),_0x9e0327['add'](_0x17fce2);const _0xcf4bf0=()=>{_0x16e4ba=0x0,_0x2a11d7(DropzoneState['INACTIVE']);},_0x4212f2=()=>{_0x16e4ba+=0x1,_0x4fccd7===DropzoneState['INACTIVE']&&_0x2a11d7(DropzoneState['ACTIVE']);},_0x3fd7ed=()=>{_0x16e4ba-=0x1,_0x17c594()||_0x2a11d7(DropzoneState['INACTIVE']);},_0x53802e=_0x189c18=>{_0x189c18['preventDefault'](),_0x16e4ba=0x0,_0x2a11d7(DropzoneState['INACTIVE']);},_0x11b852=_0x5de693=>{if(_0x5d105b['shouldIgnore']())return;_0x17c594()||(_0x16e4ba+=0x1);const _0x1fd81e=[_0x5de693['x'],_0x5de693['y']],_0x1f1230=_0x5d105b['element']['getBoundingClientRect'](),_0x500bff=Math['floor'](distance(_0x1fd81e,_0x1f1230)),_0x2fb349=_0x500bff<_0x4ede09,_0xf829f=_0x5de693['composedPath']()['includes'](_0x5d105b['element']);nearnessRegistry['set'](_0x5d105b['element'],_0x500bff);const _0xe68d4=Math['min'](...nearnessRegistry['values']())===_0x500bff;_0xf829f&&_0xe68d4?(_0x5de693['preventDefault'](),_0x2a11d7(DropzoneState['OVER'])):_0x2a11d7(_0x2fb349&&_0xe68d4?DropzoneState['NEAR']:DropzoneState['ACTIVE']);},_0x40101f=async _0x15f4a2=>{if(_0x5d105b['shouldIgnore']())return;_0x15f4a2['preventDefault']();const {dataTransfer:_0x3b517a}=_0x15f4a2;if(!_0x3b517a)return;const _0x11c7b7=await getDropItems(_0x3b517a);_0x5d105b['onItems'](_0x11c7b7),_0x2a11d7(DropzoneState['INACTIVE']);};return _0x11aeb1['addEventListener']('drop',_0x53802e),_0x11aeb1['addEventListener']('dragleave',_0x3fd7ed),_0x11aeb1['addEventListener']('dragenter',_0x4212f2),_0x11aeb1['addEventListener']('dragover',_0x11b852),_0x5d105b['element']['addEventListener']('drop',_0x40101f),_0x1c5a4a['forEach'](_0x5ee609=>{window['addEventListener'](_0x5ee609,_0xcf4bf0);}),()=>{nearnessRegistry['delete'](_0x5d105b['element']),_0x11aeb1['removeEventListener']('drop',_0x53802e),_0x11aeb1['removeEventListener']('dragleave',_0x3fd7ed),_0x11aeb1['removeEventListener']('dragenter',_0x4212f2),_0x11aeb1['removeEventListener']('dragover',_0x11b852),_0x5d105b['element']['removeEventListener']('drop',_0x40101f),_0x1c5a4a['forEach'](_0x93e931=>{window['removeEventListener'](_0x93e931,_0xcf4bf0);});};}var _0x36dc32='uc-drop-area',_0x48b8f9=_0x36dc32+'/registry',_0x24a983=class extends _0xf7dddd{static ['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];['_destroyDropzone']=null;['_destroyContentWrapperDropzone']=null;['_onAreaClicked']=null;constructor(){super(),this['init$']={...this['init$'],'state':DropzoneState['INACTIVE'],'withIcon':!0x1,'isClickable':!0x1,'isFullscreen':!0x1,'isEnabled':!0x0,'isVisible':!0x0,'isInitFlow':!0x1,'text':'',[_0x48b8f9]:new Set()};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0x48868f=this['getBoundingClientRect'](),_0x21d785=_0x48868f['width']>0x0&&_0x48868f['height']>0x0,_0x3514b0=_0x48868f['top']>=0x0&&_0x48868f['left']>=0x0&&_0x48868f['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0x48868f['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x43290=window['getComputedStyle'](this),_0x459bfd='hidden'!==_0x43290['visibility']&&'none'!==_0x43290['display'];return _0x21d785&&_0x459bfd&&_0x3514b0;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),(this['$'][_0x48b8f9]['add'](this),this['defineAccessor']('disabled',_0x567315=>{this['set$']({'isEnabled':!_0x5c179f(_0x567315)});}),this['defineAccessor']('clickable',_0x57a78e=>{this['set$']({'isClickable':_0x5c179f(_0x57a78e)});}),this['defineAccessor']('initflow',_0x45e4da=>{this['set$']({'isInitFlow':_0x5c179f(_0x45e4da)});}),this['defineAccessor']('with-icon',_0x172430=>{this['set$']({'withIcon':_0x5c179f(_0x172430)});}),this['defineAccessor']('fullscreen',_0x30b8b7=>{this['set$']({'isFullscreen':_0x5c179f(_0x30b8b7)});}),this['defineAccessor']('text',_0x320b54=>{'string'==typeof _0x320b54?this['bindL10n']('text',()=>this['l10n'](_0x320b54)||_0x320b54):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=_0x21b5b2({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x19ec91=>{this['$']['state']=_0x19ec91;},'onItems':_0x323331=>{_0x323331['length']&&(_0x323331['forEach'](_0x9cd887=>{'url'===_0x9cd887['type']?this['api']['addFileFromUrl'](_0x9cd887['url'],{'source':_0x20f223['DROP_AREA']}):'file'===_0x9cd887['type']&&this['api']['addFileFromObject'](_0x9cd887['file'],{'source':_0x20f223['DROP_AREA'],'fullPath':_0x9cd887['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':ActivityBlock['activities']['UPLOAD_LIST']})));}}));const _0x1e85dd=this['ref']['content-wrapper'];if(_0x1e85dd&&(this['_destroyContentWrapperDropzone']=_0x21b5b2({'element':_0x1e85dd,'onChange':_0x40ec96=>{const _0x56bf48=Object['entries'](DropzoneState)['find'](([,_0x317677])=>_0x317677===_0x40ec96)?.[0x0]['toLowerCase']();_0x56bf48&&_0x1e85dd['setAttribute']('drag-state',_0x56bf48);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0xe0ce8c=>{const _0x2b3c3c=Object['entries'](DropzoneState)['find'](([,_0x1b7323])=>_0x1b7323===_0xe0ce8c)?.[0x0]['toLowerCase']();_0x2b3c3c&&this['setAttribute']('drag-state',_0x2b3c3c);}),this['subConfigValue']('sourceList',_0x1254ac=>{const _0x449233=stringToArray(_0x1254ac);this['$']['isEnabled']=_0x449233['includes'](_0x20f223['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x1fb387=>{this['toggleAttribute']('hidden',!_0x1fb387);}),this['sub']('isClickable',_0x2e9622=>{this['toggleAttribute']('clickable',_0x2e9622);}),this['$']['isClickable']){const _0x40d8f7=_0x47b764=>{if(_0x47b764 instanceof KeyboardEvent){if('Space'===_0x47b764['code']||'Enter'===_0x47b764['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if(_0x47b764 instanceof MouseEvent){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}};this['_onAreaClicked']=_0x40d8f7,this['addEventListener']('keydown',_0x40d8f7),this['addEventListener']('click',_0x40d8f7);}}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;const _0x267d82=this['$'][_0x48b8f9];if(0x0===_0x267d82['size'])return!0x1;return[..._0x267d82]['filter'](_0x4bcf10=>_0x4bcf10!==this)['filter'](_0xd1f8d9=>_0xd1f8d9['isActive']())['length']>0x0;}['_couldHandleFiles'](){const _0xda4dd2=this['cfg']['multiple'],_0x59760b=this['cfg']['multipleMax'],_0x28dfd4=this['uploadCollection']['size'];return!(_0xda4dd2&&_0x59760b&&_0x28dfd4>=_0x59760b)&&!(!_0xda4dd2&&_0x28dfd4>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x1435c6=this['$'][_0x48b8f9];_0x1435c6['delete'](this),0x0===_0x1435c6['size']&&Data['deleteCtx'](_0x36dc32),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']),this['_onAreaClicked']=null);}};_0x24a983['template']='\x0a\x20\x20<slot>\x0a\x20\x20\x20\x20<div\x20data-default-slot\x20hidden></div>\x0a\x20\x20\x20\x20<div\x20ref=\x22content-wrapper\x22\x20class=\x22uc-content-wrapper\x22\x20set=\x22@hidden:\x20!isVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-icon-container\x22\x20set=\x22@hidden:\x20!withIcon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22default\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22arrow-down\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-text\x22>{{text}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</slot>\x0a',_0x24a983['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});var getTopLevelOrigin=()=>{const _0x3c82d5=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x3c82d5['location']['origin'];}catch(_0x4d5585){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x4d5585),globalThis['location']['origin'];}},_0x4462a9=_0x208682=>_0x208682['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x3a0ea6=(_0x5b1dfe,_0x548ff4='i')=>{const _0x2498f5=_0x5b1dfe['split']('*')['map'](_0x4462a9);return new RegExp('^'+_0x2498f5['join']('.+')+'$',_0x548ff4);},ucCustomProperties=['--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'],getCssValue=(_0x30744e,_0x5acd9c)=>window['getComputedStyle'](_0x30744e)['getPropertyValue'](_0x5acd9c)['trim'](),buildThemeDefinition=_0x10d6c3=>{const _0x3f2edb={};for(const _0x1699ee of ucCustomProperties){const _0x1cebd9=getCssValue(_0x10d6c3,_0x1699ee);_0x1cebd9&&(_0x3f2edb[_0x1699ee]=_0x1cebd9);}return _0x3f2edb;},_0x3a7e2d=['selected-files-change','toolbar-state-change'],isWhitelistedMessage=_0x3096e0=>{if(!_0x3096e0)return!0x1;if('object'!=typeof _0x3096e0)return!0x1;if(!('type'in _0x3096e0))return!0x1;const _0x4eafc8=_0x3096e0['type'];return'string'==typeof _0x4eafc8&&!!_0x3a7e2d['includes'](_0x4eafc8);},_0x4e6f70=class{['_handlerMap']=new Map();['_context'];['_getTargetOrigin'];constructor(_0x508b05,_0x3aa777){this['_context']=_0x508b05,this['_getTargetOrigin']=_0x3aa777,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x504eeb=>{if(_0x504eeb['source']!==this['_context'])return;const _0x153b58=_0x504eeb['data'];if(!isWhitelistedMessage(_0x153b58))return;const _0x147178=this['_handlerMap']['get'](_0x153b58['type']);if(_0x147178){for(const _0x4a6c1e of _0x147178)_0x4a6c1e(_0x153b58);}};['on'](_0x3a57c1,_0x16b991){const _0x3a87aa=this['_handlerMap']['get'](_0x3a57c1)??new Set();this['_handlerMap']['has'](_0x3a57c1)||this['_handlerMap']['set'](_0x3a57c1,_0x3a87aa),_0x3a87aa['add'](_0x16b991);}['send'](_0x4d06b2){const _0x484231=this['_getTargetOrigin']();this['_context']['postMessage'](_0x4d06b2,_0x484231);}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}};function queryString(_0x1185d4){const _0x4caf83=[];for(const [_0x5ac473,_0x25a45f]of Object['entries'](_0x1185d4))null==_0x25a45f||'string'==typeof _0x25a45f&&0x0===_0x25a45f['length']||_0x4caf83['push'](_0x5ac473+'='+encodeURIComponent(_0x25a45f));return _0x4caf83['join']('&');}var _0x49ff16={[ExternalUploadSource['GDRIVE']]:'ngdrive'},ExternalSource=class extends _0xf7dddd{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['EXTERNAL'];['_messageBridge'];constructor(){super(),this['init$']={...this['init$'],'activityIcon':'','activityCaption':'','selectedList':[],'total':0x0,'isSelectionReady':!0x1,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1,'counterText':'','doneBtnTextClass':'uc-hidden','toolbarVisible':!0x0,'onDone':()=>{for(const _0x3f45fd of this['$']['selectedList']){const _0x2435c3=this['extractUrlFromSelectedFile'](_0x3f45fd),{filename:_0x496157}=_0x3f45fd,{externalSourceType:_0x3e89c7}=this['activityParams'];this['api']['addFileFromUrl'](_0x2435c3,{'fileName':_0x496157,'source':_0x3e89c7});}this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']);},'onCancel':()=>{this['historyBack']();},'onSelectAll':()=>{this['_messageBridge']?.['send']({'type':'select-all'});},'onDeselectAll':()=>{this['_messageBridge']?.['send']({'type':'deselect-all'});}};}get['activityParams'](){const _0x534402=super['activityParams'];if('externalSourceType'in _0x534402)return _0x534402;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{const {externalSourceType:_0x31563e}=this['activityParams'];if(!_0x31563e)return this['modalManager']?.['close'](this['$']['*currentActivity']),this['$']['*currentActivity']=null,void console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20activity\x20\x22'+this['activityType']+'\x22');this['set$']({'activityCaption':''+_0x31563e[0x0]?.['toUpperCase']()+_0x31563e?.['slice'](0x1),'activityIcon':_0x31563e}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x1666a7=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x22247b=>{_0x22247b!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x2dedee=>{this['$']['showSelectionStatus']=_0x2dedee;}),this['subConfigValue']('localeName',_0x2168e4=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x393448=>{this['applyEmbedCss'](_0x393448);});}['extractUrlFromSelectedFile'](_0x4ed51d){if(_0x4ed51d['alternatives']){const _0x1678f5=stringToArray(this['cfg']['externalSourcesPreferredTypes']);for(const _0x279220 of _0x1678f5){const _0x24c6ad=_0x3a0ea6(_0x279220);for(const [_0x3b3309,_0x395cff]of Object['entries'](_0x4ed51d['alternatives']))if(_0x24c6ad['test'](_0x3b3309))return _0x395cff;}}return _0x4ed51d['url'];}['handleToolbarStateChange'](_0x3ba031){this['set$']({'toolbarVisible':_0x3ba031['isVisible']});}async['handleSelectedFilesChange'](_0x3d48ba){this['cfg']['multiple']===_0x3d48ba['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x3d48ba['selectedCount'],'total':_0x3d48ba['total']})),this['set$']({'doneBtnTextClass':_0x3d48ba['isReady']?'':'uc-hidden','isSelectionReady':_0x3d48ba['isReady'],'isDoneBtnEnabled':_0x3d48ba['isReady']&&_0x3d48ba['selectedFiles']['length']>0x0,'showSelectionStatus':_0x3d48ba['isMultipleMode']&&_0x3d48ba['total']>0x0,'couldSelectAll':_0x3d48ba['selectedCount']<_0x3d48ba['total'],'couldDeselectAll':_0x3d48ba['selectedCount']===_0x3d48ba['total'],'selectedList':_0x3d48ba['selectedFiles'],'showDoneBtn':_0x3d48ba['total']>0x0})):console['error']('Multiple\x20mode\x20mismatch');}['handleIframeLoad'](){this['applyEmbedCss'](this['cfg']['externalSourcesEmbedCss']),this['applyTheme'](),this['setupL10n']();}['applyTheme'](){this['_messageBridge']?.['send']({'type':'set-theme-definition','theme':buildThemeDefinition(this)});}['applyEmbedCss'](_0x8f1178){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x8f1178});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x35cb7f,remoteTabSessionKey:_0xa28066,socialBaseUrl:_0x298e29,multiple:_0x12581f}=this['cfg'],{externalSourceType:_0x234831}=this['activityParams'],_0x450bfb=_0x49ff16[_0x234831]??_0x234831,_0xa04c62={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x35cb7f,'images_only':(!0x1)['toString'](),'session_key':_0xa28066,'wait_for_theme':!0x0,'multiple':_0x12581f['toString'](),'origin':this['cfg']['topLevelOrigin']||getTopLevelOrigin(),'debug':this['cfg']['debug']},_0x200116=new URL('/window4/'+_0x450bfb,_0x298e29);return _0x200116['search']=queryString(_0xa04c62),_0x200116['toString']();}['mountIframe'](){const _0x390080=create({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x390080['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x390080),_0x390080['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new _0x4e6f70(_0x390080['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['_messageBridge']['on']('selected-files-change',this['handleSelectedFilesChange']['bind'](this)),this['_messageBridge']['on']('toolbar-state-change',this['handleToolbarStateChange']['bind'](this)),this['resetSelectionStatus']());}['unmountIframe'](){this['_messageBridge']?.['destroy'](),this['_messageBridge']=void 0x0,this['ref']['iframeWrapper']['innerHTML']='',this['resetSelectionStatus']();}['resetSelectionStatus'](){this['set$']({'selectedList':[],'total':0x0,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1});}};ExternalSource['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22iframeWrapper\x22\x20class=\x22uc-iframe-wrapper\x22></div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22\x20set=\x22@hidden:\x20!toolbarVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel\x22\x20l10n=\x22cancel\x22></button>\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!showSelectionStatus\x22\x20class=\x22uc-selection-status-box\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span>{{counterText}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onSelectAll;\x20@hidden:\x20!couldSelectAll\x22\x20l10n=\x22select-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onDeselectAll;\x20@hidden:\x20!couldDeselectAll\x22\x20l10n=\x22deselect-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onDone;\x20@disabled:\x20!isDoneBtnEnabled;\x20@hidden:\x20!showDoneBtn\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-spinner\x20set=\x22@hidden:\x20isSelectionReady\x22></uc-spinner>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22done\x22\x20set=\x22@class:\x20doneBtnTextClass\x22></span>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x5c98e8=0x4000,_0x396f22=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x1fb3fb=_0x54a620=>{if('string'!=typeof _0x54a620)return!0x1;const _0x338765=_0x396f22['exec'](_0x54a620['toLocaleLowerCase']())??[];if(0x0===_0x338765['length'])return!0x1;const _0x74af5d=Number(_0x338765[0x1])*Number(_0x338765[0x2]),_0x3cfc86=_0x5c98e8*_0x5c98e8;return _0x74af5d>_0x3cfc86?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](_0x3cfc86/0x3e8/0x3e8)+'MP.\x20You\x20have\x20set\x20'+_0x338765[0x1]+'x'+_0x338765[0x2]+'\x20('+Math['ceil'](_0x74af5d/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x338765[0x3]?Number(_0x338765[0x3])/0x64:void 0x0,'size':_0x74af5d};},FileItemConfig=class extends _0xf7dddd{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x140583){return(..._0x361da3)=>{const _0x573ce3=this['_entry'];if(_0x573ce3)return _0x140583(_0x573ce3,..._0x361da3);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x5f5115,_0x496f3f){this['_withEntry']((_0x45c6f7,_0x180b46,_0xaee2cb)=>{const _0x335cda=_0x45c6f7['subscribe'](_0x180b46,_0x140a1f=>{this['isConnected']&&_0xaee2cb(_0x140a1f);});this['_entrySubs']['add'](_0x335cda);})(_0x5f5115,_0x496f3f);}['_reset'](){for(const _0x1293e2 of this['_entrySubs'])_0x1293e2['remove']();this['_entrySubs']=new Set(),this['_entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set();}},FileItemState=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')}),FileItem=class _0x5914ce extends FileItemConfig{['couldBeCtxOwner']=!0x0;['pauseRender']=!0x0;['_renderedOnce']=!0x1;['_observer'];['_isIntersecting']=!0x1;['_thumbRect'];constructor(){super(),this['init$']={...this['init$'],'uid':'','itemName':'','errorText':'','hint':'','thumbUrl':'','progressValue':0x0,'progressVisible':!0x1,'badgeIcon':'','isFinished':!0x1,'isFailed':!0x1,'isUploading':!0x1,'isFocused':!0x1,'isEditable':!0x1,'showFileNames':!0x1,'state':FileItemState['IDLE'],'ariaLabelStatusFile':'','onEdit':this['_withEntry'](_0x207092=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'edit-file','node':this['tagName']}}}),this['$']['*currentActivityParams']={'internalId':_0x207092['uid']},this['modalManager']?.['open'](ActivityBlock['activities']['CLOUD_IMG_EDIT']),this['$']['*currentActivity']=ActivityBlock['activities']['CLOUD_IMG_EDIT'];}),'onRemove':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uploadCollection']['remove'](this['$']['uid']);},'onUpload':()=>{this['upload']();}};}['_calculateState']=this['_withEntry'](e=>{let i=FileItemState['IDLE'];e['getValue']('errors')['length']>0x0?i=FileItemState['FAILED']:e['getValue']('isQueuedForUploading')?i=FileItemState['QUEUED_UPLOADING']:e['getValue']('isQueuedForValidation')?i=FileItemState['QUEUED_VALIDATION']:e['getValue']('isValidationPending')?i=FileItemState['VALIDATION']:e['getValue']('isUploading')?i=FileItemState['UPLOADING']:e['getValue']('fileInfo')&&(i=FileItemState['FINISHED']),this['$']['state']=i;});['_debouncedCalculateState']=_0x2a8397(this['_calculateState']['bind'](this),0x64);['_updateHintAndProgress']=this['_withEntry'](throttle((e,i)=>{const n=e['getValue']('errors')?.[0x0]?.['message'],s=e['getValue']('source'),r=e['getValue']('externalUrl'),o=i===FileItemState['FINISHED'],a=i===FileItemState['UPLOADING'],c=i===FileItemState['QUEUED_UPLOADING'],l=i===FileItemState['QUEUED_VALIDATION'],u=i===FileItemState['VALIDATION'],h=e['getValue']('fileName');let d='';n?d='':!o&&r&&s&&Object['values'](ExternalUploadSource)['includes'](s)&&(d=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+s)})),this['set$']({'hint':d,'errorText':n,'progressVisible':a||c||l||u,'progressValue':l||u?0x0:e['getValue']('uploadProgress'),'ariaLabelStatusFile':h&&this['l10n']('a11y-file-item-status',{'fileName':h,'status':this['l10n'](i?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()})});},0x64));['_handleState']=this['_withEntry']((e,i)=>{i===FileItemState['FAILED']?this['$']['badgeIcon']='badge-error':i===FileItemState['FINISHED']&&(this['$']['badgeIcon']='badge-success'),i===FileItemState['UPLOADING']&&(this['$']['isFocused']=!0x1),this['set$']({'isFailed':i===FileItemState['FAILED'],'isUploading':i===FileItemState['UPLOADING'],'isFinished':i===FileItemState['FINISHED'],'isEditable':this['cfg']['useCloudImageEditor']&&e['getValue']('isImage')&&e['getValue']('cdnUrl')}),this['_updateHintAndProgress'](i);});['_reset'](){super['_reset'](),this['_debouncedCalculateState']['cancel']();}['_observerCallback'](_0x204cee){const [_0x15849b]=_0x204cee;_0x15849b&&(this['_isIntersecting']=_0x15849b['isIntersecting'],this['_thumbRect']=_0x15849b['boundingClientRect'],_0x15849b['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0));}['_handleEntryId'](_0x3c0bb4){this['_reset']();const _0x353ccb=this['uploadCollection']?.['read'](_0x3c0bb4);this['_entry']=_0x353ccb,_0x353ccb&&(this['_subEntry']('isQueuedForValidation',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isValidationPending',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('uploadProgress',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isQueuedForUploading',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('fileName',_0x19acce=>{this['$']['itemName']=_0x19acce||_0x353ccb['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x316dde=>{this['$']['itemName']=_0x353ccb['getValue']('fileName')||_0x316dde||this['l10n']('file-no-name');}),this['_subEntry']('fileInfo',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('errors',()=>this['_debouncedCalculateState']()),this['_subEntry']('isUploading',()=>this['_debouncedCalculateState']()),this['_subEntry']('fileSize',()=>this['_debouncedCalculateState']()),this['_subEntry']('mimeType',()=>this['_debouncedCalculateState']()),this['_subEntry']('isImage',()=>this['_debouncedCalculateState']()));}['_updateShowFileNames'](_0x47f42c){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0x47f42c;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x45b056=>{this['_handleEntryId'](_0x45b056);}),this['sub']('state',_0x35ca42=>{this['_handleState'](_0x35ca42);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0x4385f2=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x4385f2);}),this['subConfigValue']('gridShowFileNames',_0x29baba=>{this['_updateShowFileNames'](_0x29baba);}),this['onclick']=()=>{_0x5914ce['activeInstances']['forEach'](_0x5090de=>{_0x5090de===this?_0x5090de['setAttribute']('focused',''):_0x5090de['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x347b69=>{this['_entry']&&!_0x347b69['has'](this['_entry']['uid'])||setTimeout(()=>this['isConnected']&&this['upload']());}),_0x5914ce['activeInstances']['add'](this);}['destroyCallback'](){super['destroyCallback'](),_0x5914ce['activeInstances']['delete'](this),this['_reset']();}['connectedCallback'](){super['connectedCallback'](),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]}),this['_observer']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['_observer']?.['disconnect']();}['_settingsOfShrink'](){return _0x1fb3fb(this['cfg']['imageShrink']);}async['_processShrink'](_0x3cfdf4){const _0x3d97d6=this['_settingsOfShrink']();return _0x3d97d6?await _0x53bb6a(_0x3cfdf4,_0x3d97d6):(console['warn']('Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),_0x3cfdf4);}['upload']=this['_withEntry'](async e=>{if(!this['uploadCollection']['read'](e['uid']))return;if(e['getValue']('fileInfo')||e['getValue']('isUploading')||e['getValue']('errors')['length']>0x0||e['getValue']('isValidationPending'))return;const i=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(i&&this['uploadCollection']['size']>i)){e['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['_debouncedCalculateState']();try{const i=new AbortController();e['setValue']('abortController',i);const n=async()=>{e['setValue']('isQueuedForUploading',!0x1);let n=e['getValue']('file');if(n instanceof File&&this['cfg']['imageShrink'])try{n=await this['_processShrink'](n);}catch{}const s=n||e['getValue']('externalUrl')||e['getValue']('uuid');if(!s)throw new Error('No\x20file\x20input');const r={...await this['getUploadClientOptions'](),'fileName':e['getValue']('fileName')??void 0x0,'source':e['getValue']('source')??void 0x0,'onProgress':i=>{if(i['isComputable']){const n=0x64*i['value'];e['setValue']('uploadProgress',n);}},'signal':i['signal'],'metadata':await this['getMetadataFor'](e['uid'])};return this['debugPrint']('upload\x20options',s,r),_0xe476b9(s,r);},s=await this['$']['*uploadQueue']['add'](n);e['setMultipleValues']({'fileInfo':s,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':s['originalFilename'],'fileSize':s['size'],'isImage':s['isImage']??!0x1,'mimeType':s['contentInfo']?.['mime']?.['mime']??s['mimeType'],'uuid':s['uuid'],'cdnUrl':e['getValue']('cdnUrl')??s['cdnUrl'],'cdnUrlModifiers':e['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':e['getValue']('source')??null}),e===this['_entry']&&this['_debouncedCalculateState']();}catch(i){this['telemetryManager']['sendEventError'](i,'file\x20upload.\x20Failed\x20to\x20upload\x20file'),i instanceof _0x2168fd&&i['isCancel']?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):i instanceof _0x2ee175?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':i}):(console['error']('Unknown\x20upload\x20error',i),e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':i})})),e===this['_entry']&&this['_debouncedCalculateState']();}}});static ['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22\x20set=\x22@finished:\x20isFinished;\x20@uploading:\x20isUploading;\x20@failed:\x20isFailed;\x20@focused:\x20isFocused\x22>\x0a\x20\x20\x20\x20<uc-thumb\x20set=\x22uid:uid;badgeIcon:badgeIcon\x22></uc-thumb>\x0a\x0a\x20\x20\x20\x20<div\x20aria-atomic=\x22true\x22\x20aria-live=\x22polite\x22\x20class=\x22uc-file-name-wrapper\x22\x20set=\x22@aria-label:ariaLabelStatusFile;\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-name\x22\x20set=\x22@hidden:\x20!showFileNames\x22>{{itemName}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-error\x22\x20set=\x22@hidden:\x20!errorText;\x22>{{errorText}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-hint\x22\x20set=\x22@hidden:\x20!hint\x22>{{hint}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-file-actions\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-edit-button;@aria-label:file-item-edit-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-edit-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onEdit;\x20@hidden:\x20!isEditable\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22edit-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-remove-button;@aria-label:file-item-remove-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-remove-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRemove;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22remove-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-upload-btn\x20uc-mini-btn\x22\x20set=\x22onclick:\x20onUpload;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-progress-bar\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-progress-bar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22value:\x20progressValue;\x20visible:\x20progressVisible;\x20@hasFileName:\x20showFileNames;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-progress-bar>\x0a\x20\x20</div>\x0a';static ['activeInstances']=new Set();},FormInput=class extends _0xf7dddd{['requireCtxName']=!0x0;['_validationInputElement']=null;['_dynamicInputsContainer']=null;['_createValidationInput'](){const _0x402515=document['createElement']('input');return _0x402515['type']='text',_0x402515['name']=this['ctxName'],_0x402515['required']=this['cfg']['multipleMin']>0x0,_0x402515['tabIndex']=-0x1,applyStyles(_0x402515,{'opacity':0x0,'height':0x0,'width':0x0}),_0x402515;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0x4cffc9=>{{if(!this['_dynamicInputsContainer']){const _0x116998=document['createElement']('div');this['appendChild'](_0x116998),this['_dynamicInputsContainer']=_0x116998;}if(!this['_validationInputElement']){const _0x5d1c39=this['_createValidationInput']();this['appendChild'](_0x5d1c39),this['_validationInputElement']=_0x5d1c39;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0x4cffc9['status']||'idle'===_0x4cffc9['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0x4cffc9['status']){const _0x40e417=_0x4cffc9['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0x40e417??'');}const _0x33c366=_0x4cffc9['group']?_0x4cffc9['group']:null;if(_0x33c366)return this['_validationInputElement']['value']=_0x33c366['cdnUrl']??'',void this['_validationInputElement']['setCustomValidity']('');const _0x425ecf=_0x4cffc9['allEntries']['map'](_0x32365e=>_0x32365e['cdnUrl'])['filter'](_0xd2dcc9=>'string'==typeof _0xd2dcc9);if(!this['cfg']['multiple']&&0x1===_0x425ecf['length']&&_0x425ecf[0x0])return this['_validationInputElement']['value']=_0x425ecf[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x304803=new DocumentFragment();for(const _0x3d568e of _0x425ecf){const _0x2f60c4=document['createElement']('input');_0x2f60c4['type']='hidden',_0x2f60c4['name']=this['ctxName']+'[]',_0x2f60c4['value']=_0x3d568e,_0x304803['appendChild'](_0x2f60c4);}this['_dynamicInputsContainer']['replaceChildren'](_0x304803);}},!0x1);}},_0x2eca6a=class extends _0x263636{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x3d3c3d=>{if(!_0x3d3c3d)return;let _0x3d56c3='#uc-icon-'+_0x3d3c3d;this['subConfigValue']('iconHrefResolver',_0x531ed2=>{if(_0x531ed2){const _0x4bf450=_0x531ed2(_0x3d3c3d);_0x3d56c3=_0x4bf450??_0x3d56c3;}this['$']['href']=_0x3d56c3;});}),this['setAttribute']('aria-hidden','true');}};_0x2eca6a['template']='\x0a\x20\x20<svg\x20ref=\x22svg\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<use\x20set=\x22@href:\x20href;\x22></use>\x0a\x20\x20</svg>\x0a',_0x2eca6a['bindAttributes']({'name':'name'});var _0x2e15c1=_0x1584c3=>[...new Set(_0x1584c3)],_0xf7b762='--uc-img-',_0x87b64b='unresolved',_0x5afa2c=0x2,_0x6d4dc6=0x3,_0x2bf905=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x6308bf=0xbb8,_0x176080=0x1388,_0x45edff=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0x3af6dd='https://ucarecdn.com',_0x313806=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':_0x3af6dd},'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}}),_0x6a9a81=Object['create'](null);for(const _0x32d7fb in _0x313806)_0x6a9a81[_0xf7b762+_0x32d7fb]=_0x313806[_0x32d7fb]?.['default']||'';var _0x58a2f7=class extends BaseComponent{['cssInit$']=_0x6a9a81;['$$'](_0x1adbe0){return this['$'][_0xf7b762+_0x1adbe0];}['set$$'](_0x4ba0d0){for(const _0x376639 in _0x4ba0d0)this['$'][_0xf7b762+_0x376639]=_0x4ba0d0[_0x376639];}['sub$$'](_0x59ccaf,_0xf6abbc){this['sub'](_0xf7b762+_0x59ccaf,_0x121474=>{null!==_0x121474&&''!==_0x121474&&_0xf6abbc(_0x121474);});}['analyticsParams'](){return'-/@clib/'+_0x57729b+'/'+_0x1a5042+'/uc-img/';}['initAttributes'](_0x571fdd){[...this['attributes']]['forEach'](_0x5aa757=>{_0x313806[_0x5aa757['name']]||_0x571fdd['setAttribute'](_0x5aa757['name'],_0x5aa757['value']);});}['initIntersection'](_0x25c714,_0x2fbae4){this['_isnObserver']=new IntersectionObserver(_0xa9be50=>{_0xa9be50['forEach'](_0x22bd3b=>{_0x22bd3b['isIntersecting']&&(_0x2fbae4(),this['_isnObserver']['unobserve'](_0x25c714));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0x25c714),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0x25c714);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x5ba18e=>{this['_isnObserver']['unobserve'](_0x5ba18e);}),this['_isnObserver']=null),Data['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](_0x313806);}['attributeChangedCallback'](_0x276fd6,_0x1030c3,_0x324e6a){window['setTimeout'](()=>{this['$'][_0xf7b762+_0x276fd6]=_0x324e6a;});}},parseObjectToString=_0x4ad829=>Object['entries'](_0x4ad829)['filter'](([_0x5c435b,_0x5e56c6])=>void 0x0!==_0x5e56c6&&''!==_0x5e56c6)['map'](([_0x1586b3,_0x488b2c])=>'cdn-operations'===_0x1586b3||'analytics'===_0x1586b3?_0x488b2c:_0x1586b3+'/'+_0x488b2c),_0x4fe5a3=class extends _0x58a2f7{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0x2e5a7a){return!_0x2e5a7a['includes']('//')&&!_0x2bf905&&(_0x2e5a7a=new URL(_0x2e5a7a,document['baseURI'])['href']),_0x2e5a7a;}['_validateSize'](_0x496e9d){if(''!==_0x496e9d?.['trim']()){const _0x420f22=_0x496e9d['match'](/\d+/)[0x0],_0x1e4b0d=_0x496e9d['match'](/[a-zA-Z]+/)[0x0],_0x692834=parseInt(_0x420f22,0xa);if(Number(_0x692834)>_0x176080&&this['hasFormatJPG'])return _0x176080+_0x1e4b0d;if(Number(_0x692834)>_0x6308bf&&!this['hasFormatJPG'])return _0x6308bf+_0x1e4b0d;}return _0x496e9d;}['_getCdnModifiers'](_0xe8374c,_0x27f18e){const _0x46680e={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0xe8374c),'blur':_0x27f18e,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return createCdnUrlModifiers(...parseObjectToString(_0x46680e));}['_getUrlBase'](_0x1aa886='',_0x1b1c91=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(_0x2bf905&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));const _0x6ff85=this['_getCdnModifiers'](_0x1aa886,_0x1b1c91);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?createCdnUrl(this['$$']('src'),_0x6ff85):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](createCdnUrl(createOriginalUrl(this['$$']('cdn-cname'),this['$$']('uuid')),_0x6ff85)):this['$$']('proxy-cname')?this['_proxyUrl'](createCdnUrl(this['$$']('proxy-cname'),_0x6ff85,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](createCdnUrl('https://'+this['$$']('pubkey')+'.ucr.io/',_0x6ff85,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x1efecd){return this['$$']('secure-delivery-proxy')?applyTemplateData(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x1efecd},{'transform':_0x568c35=>window['encodeURIComponent'](_0x568c35)}):_0x1efecd;}['_getElSize'](_0x559a85,_0x85595f=0x1,_0x1386b6=!0x0){const _0x527f8b=_0x559a85['getBoundingClientRect'](),_0x56fe3a=_0x85595f*Math['round'](_0x527f8b['width']),_0x4d17ca=_0x1386b6?'':_0x85595f*Math['round'](_0x527f8b['height']);return _0x56fe3a||_0x4d17ca?(_0x56fe3a||'')+'x'+(_0x4d17ca||''):null;}['_setupEventProxy'](_0x3f64ed){const _0x3703c1=_0x539858=>{_0x539858['stopPropagation']();const _0x4e2cca=new Event(_0x539858['type'],_0x539858);this['dispatchEvent'](_0x4e2cca);},_0xfdbf4b=['load','error'];for(const _0x29fd14 of _0xfdbf4b)_0x3f64ed['addEventListener'](_0x29fd14,_0x3703c1);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':_0x45edff['PREVIEW'],'img':this['_imgPreview']}:{'type':_0x45edff['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x13a9af=stringToArray(this['$$']('breakpoints'));return _0x2e15c1(_0x13a9af['map'](_0x1650fd=>parseInt(_0x1650fd,0xa)));}return null;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x563f92){const _0xf3785f=new Set();_0xf3785f['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x563f92))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0xf3785f['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x563f92,_0x5afa2c))+'\x22)\x20'+_0x5afa2c+'x'),this['$$']('ultra-res-support')&&_0xf3785f['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x563f92,_0x6d4dc6))+'\x22)\x20'+_0x6d4dc6+'x');const _0x550ea5='image-set('+[..._0xf3785f]['join'](',\x20')+')';_0x563f92['style']['setProperty']('background-image',_0x550ea5),_0x563f92['style']['setProperty']('background-image','-webkit-'+_0x550ea5);}['getSrcset'](){const _0x21b985=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x59fa7f=>{_0x21b985['add'](this['_getUrlBase'](_0x59fa7f+'x')+('\x20'+this['_validateSize'](_0x59fa7f+'w'))),this['$$']('hi-res-support')&&_0x21b985['add'](this['_getUrlBase'](_0x59fa7f*_0x5afa2c+'x')+('\x20'+this['_validateSize'](_0x59fa7f*_0x5afa2c+'w'))),this['$$']('ultra-res-support')&&_0x21b985['add'](this['_getUrlBase'](_0x59fa7f*_0x6d4dc6+'x')+('\x20'+this['_validateSize'](_0x59fa7f*_0x6d4dc6+'w')));}):(_0x21b985['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x21b985['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x21b985['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x21b985]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x13d3b2=>{this['$$']('intersection')?this['initIntersection'](_0x13d3b2,()=>{this['renderBg'](_0x13d3b2);}):this['renderBg'](_0x13d3b2);});}['_appendURL']({elNode:_0x1a7ae5,src:_0x4258f3,srcset:_0x6af30b}){_0x4258f3&&(_0x1a7ae5['src']=_0x4258f3),_0x6af30b&&(_0x1a7ae5['srcset']=_0x6af30b);}['_setupConfigForImage']({elNode:_0x18e9e3}){this['_setupEventProxy'](_0x18e9e3),this['initAttributes'](_0x18e9e3);}['loaderImage']({src:_0x1d9db2,srcset:_0xf5e7db,elNode:_0xe74a3f}){return new Promise((_0xe4844f,_0x57086f)=>{this['_setupConfigForImage']({'elNode':_0xe74a3f}),_0xe74a3f['setAttribute'](_0x87b64b,''),_0xe74a3f['addEventListener']('load',()=>{_0xe74a3f['removeAttribute'](_0x87b64b),_0xe4844f(_0xe74a3f);}),_0xe74a3f['addEventListener']('error',()=>{_0x57086f(!0x1);}),this['_appendURL']({'elNode':_0xe74a3f,'src':_0x1d9db2,'srcset':_0xf5e7db});});}async['renderImage'](){if(this['$$']('intersection'))return this['hasPreviewImage']&&(this['_setupConfigForImage']({'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),void this['initIntersection'](this['currentImg']['img'],async()=>{this['hasPreviewImage']&&(this['_imgPreview']['src']=this['srcUrlPreview']);try{await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']['remove'](),this['appendChild'](this['_img']);}catch(_0x522342){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}});try{this['hasPreviewImage']&&(await this['loaderImage']({'src':this['srcUrlPreview'],'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}catch(_0x55dbc7){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}},_0x2b1329=class extends _0x4fe5a3{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x2c2a76=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x2c2a76?'lazy':'eager');});}},_0x17761f=null,_0x38ce73=class extends _0x263636{static ['styleAttrs']=[...super['styleAttrs'],'uc-modal'];static ['StateConsumerScope']='modal';['_mouseDownTarget'];['handleModalOpen'];['handleModalClose'];['handleModalCloseAll'];constructor(){super(),this['init$']={...this['init$'],'closeClicked':this['_handleDialogClose']};}['_handleBackdropClick']=()=>{this['_closeDialog']();};['_closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='');};['_handleDialogClose']=()=>{this['_closeDialog']();};['_handleDialogMouseDown']=_0x3e8885=>{this['_mouseDownTarget']=_0x3e8885['target'];};['_handleDialogMouseUp']=_0x410f46=>{const _0x5241ea=_0x410f46['target'];_0x5241ea===this['ref']['dialog']&&_0x5241ea===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){const _0x5c2e12=this['ref']['dialog'];'function'==typeof _0x5c2e12['showModal']?(this['setAttribute']('aria-modal','true'),_0x5c2e12['showModal']()):_0x5c2e12['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){const _0x406214=this['ref']['dialog'];'function'==typeof _0x406214['close']?(this['setAttribute']('aria-modal','false'),_0x406214['close']()):_0x406214['removeAttribute']('open');}['_handleModalOpen']({id:_0x53dcb2}){_0x53dcb2===this['id']?(_0x17761f=_0x53dcb2,this['show'](),this['emit'](EventType['MODAL_OPEN'],{'modalId':_0x53dcb2},{'debounce':!0x0})):this['hide']();}['_handleModalClose']({id:_0x5a2eca}){_0x5a2eca===this['id']&&(this['hide'](),this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x5a2eca,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));}['_handleModalCloseAll'](_0x2407d7){this['hide'](),_0x17761f===this['id']&&this['emit'](EventType['MODAL_CLOSE'],{'modalId':_0x17761f,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this);const _0x44b14c=this['ref']['dialog'];_0x44b14c['addEventListener']('close',this['_handleDialogClose']),_0x44b14c['addEventListener']('mousedown',this['_handleDialogMouseDown']),_0x44b14c['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x3006cf=>{_0x3006cf?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['handleModalOpen']=this['_handleModalOpen']['bind'](this),this['handleModalClose']=this['_handleModalClose']['bind'](this),this['handleModalCloseAll']=this['_handleModalCloseAll']['bind'](this),this['modalManager']?.['subscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](ModalEvents['CLOSE'],this['handleModalClose']),this['modalManager']?.['subscribe'](ModalEvents['CLOSE_ALL'],this['handleModalCloseAll']);}['destroyCallback'](){super['destroyCallback'](),document['body']['style']['overflow']='',this['_mouseDownTarget']=void 0x0;const _0x422504=this['ref']['dialog'];_0x422504['removeEventListener']('close',this['_handleDialogClose']),_0x422504['removeEventListener']('mousedown',this['_handleDialogMouseDown']),_0x422504['removeEventListener']('mouseup',this['_handleDialogMouseUp']),this['modalManager']?.['unsubscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](ModalEvents['CLOSE'],this['handleModalClose']),this['modalManager']?.['unsubscribe'](ModalEvents['CLOSE_ALL'],this['handleModalCloseAll']);}};_0x38ce73['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';var _0x1e330f=class extends _0x263636{['_value']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0x14c877=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0x14c877['classList']['add']('uc-fake-progress--hidden'):_0x14c877['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0x6dc898=>{null!=_0x6dc898&&(this['_value']=_0x6dc898,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0x4b5621=>{this['_visible']=_0x4b5621,this['classList']['toggle']('uc-progress-bar--hidden',!_0x4b5621);}));}};_0x1e330f['template']='\x0a\x20\x20<div\x20ref=\x22fakeProgressLine\x22\x20class=\x22uc-fake-progress\x22></div>\x0a\x20\x20<div\x20ref=\x22realProgressLine\x22\x20class=\x22uc-progress\x22></div>\x0a';var _0x43077d=class extends _0xf7dddd{['_unobserveCollectionCb'];constructor(){super(),this['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['_unobserveCollectionCb']=this['uploadCollection']['observeProperties'](()=>{const _0x277cce=this['uploadCollection']['items']()['some'](_0x2da129=>{const _0x440f0a=this['uploadCollection']['read'](_0x2da129);return _0x440f0a?.['getValue']('isUploading')??!0x1;});this['$']['visible']=_0x277cce;}),this['sub']('visible',_0x5d6656=>{_0x5d6656?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x2f8074=>{this['$']['value']=_0x2f8074;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollectionCb']?.(),this['_unobserveCollectionCb']=void 0x0;}};_0x43077d['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';var Select=class extends _0x263636{constructor(){super(),this['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':_0x259475=>{_0x259475['preventDefault'](),_0x259475['stopPropagation']();const _0x59bb49=this['ref']['select'];this['value']=_0x59bb49['value'],this['$']['currentText']=this['$']['options']['find'](_0x163c2=>_0x163c2['value']===this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};}['initCallback'](){super['initCallback'](),this['sub']('options',_0x4c9e54=>{this['$']['currentText']=_0x4c9e54?.[0x0]?.['text']||'';let _0x45ad5f='';_0x4c9e54?.['forEach'](_0x2ed25e=>{_0x45ad5f+='<option\x20value=\x22'+_0x2ed25e['value']+'\x22>'+_0x2ed25e['text']+'</option>';}),this['$']['selectHtml']=_0x45ad5f;});}};Select['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';var SimpleBtn=class extends _0xf7dddd{static ['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];['couldBeCtxOwner']=!0x0;constructor(){super(),this['init$']={...this['init$'],'withDropZone':!0x0,'onClick':()=>{this['api']['initFlow']();},'button-text':''};}['initCallback'](){super['initCallback'](),this['defineAccessor']('dropzone',_0x133745=>{void 0x0!==_0x133745&&(this['$']['withDropZone']=_0x5c179f(_0x133745));}),this['subConfigValue']('multiple',_0x35279c=>{this['$']['button-text']=_0x35279c?'upload-files':'upload-file';});}};SimpleBtn['template']='\x0a\x20\x20<uc-drop-area\x20set=\x22@disabled:\x20!withDropZone\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onClick\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22button-text\x22></span>\x0a\x20\x20\x20\x20\x20\x20<slot></slot>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-visual-drop-area\x22\x20l10n=\x22drop-files-here\x22></div>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-drop-area>\x0a',SimpleBtn['bindAttributes']({'dropzone':null});var _0x5444fe='src-type-',SourceBtn=class extends _0xf7dddd{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':_0x20f223['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':_0x20f223['URL'],'activity':ActivityBlock['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':_0x20f223['CAMERA'],'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x2c5d68=browserFeatures['htmlMediaCapture'];return _0x2c5d68&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x2c5d68;}}),this['registerType']({'type':'draw','activity':ActivityBlock['activities']['DRAW'],'icon':'edit-draw'});for(const _0x197302 of Object['values'](_0x88fd0b))this['registerType']({'type':_0x197302,'activity':ActivityBlock['activities']['CAMERA'],'activate':()=>{const _0x4686db=browserFeatures['htmlMediaCapture'];return _0x4686db&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0x197302?_0x59769d['PHOTO']:_0x59769d['VIDEO']}),!_0x4686db;}});for(const _0x270a7e of Object['values'](ExternalUploadSource))this['registerType']({'type':_0x270a7e,'activity':ActivityBlock['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0x270a7e}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x2f6e80=>{_0x2f6e80&&this['applyType'](_0x2f6e80);});}['registerType'](_0x241b31){this['_registeredTypes'][_0x241b31['type']]=_0x241b31;}['getType'](_0x53e6a8){return this['_registeredTypes'][_0x53e6a8];}['activate'](){if(!this['type'])return;const _0x426754=this['_registeredTypes'][this['type']];if(!_0x426754)return;const {activity:_0x28daff,activate:_0x6bd84a,activityParams:_0x4a622b={}}=_0x426754;(_0x6bd84a?_0x6bd84a():!!_0x28daff)&&_0x28daff&&(this['modalManager']?.['open'](_0x28daff),this['set$']({'*currentActivityParams':_0x4a622b,'*currentActivity':_0x28daff}));}['applyType'](_0x553993){const _0x5229d4=this['_registeredTypes'][_0x553993];if(!_0x5229d4)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x553993);const {textKey:_0x58c851=_0x553993,icon:_0x4b07f8=_0x553993}=_0x5229d4;this['$']['src-type']=''+_0x5444fe+_0x58c851,this['$']['iconName']=_0x4b07f8,this['onclick']=()=>{this['activate']();};}};SourceBtn['template']='\x0a\x20\x20<button\x20type=\x22button\x22>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20iconName\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-txt\x22\x20l10n=\x22src-type\x22></div>\x0a\x20\x20</button>\x0a',SourceBtn['bindAttributes']({'type':null});var SourceList=class extends _0x263636{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x175240=>{const _0x2c7b35=stringToArray(_0x175240);let _0x510d4f='';_0x2c7b35['forEach'](_0xd72092=>{'instagram'!==_0xd72092?'camera'===_0xd72092&&browserFeatures['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0x44e598=>{const _0x348afc=_0x1c2c08(_0x44e598);_0x348afc['forEach'](_0x22516c=>{_0x510d4f+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x22516c+'-camera\x22></uc-source-btn>';}),0x0===_0x348afc['length']&&(_0x510d4f+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0x510d4f+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0xd72092+'\x22></uc-source-btn>':console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US');}),this['cfg']['sourceListWrap']?this['innerHTML']=_0x510d4f:this['outerHTML']=_0x510d4f;});}},_0x507767=class extends BaseComponent{};_0x507767['template']='\x20<div\x20class=\x22uc-spinner\x22></div>\x20';var StartFrom=class extends ActivityBlock{['historyTracked']=!0x0;['activityType']=ActivityBlock['activities']['START_FROM'];['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}};function generateThumb(_0x1bc597,_0x4c2d30=0x28){if('image/svg+xml'===_0x1bc597['type'])return URL['createObjectURL'](_0x1bc597);const _0xb47ee3=document['createElement']('canvas'),_0x4c5079=_0xb47ee3['getContext']('2d');if(!_0x4c5079)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));const _0x15d941=new Image(),_0x10a74c=new Promise((_0xc7f29e,_0x38f9fe)=>{_0x15d941['onload']=()=>{const _0x2372e8=_0x15d941['height']/_0x15d941['width'];_0x2372e8>0x1?(_0xb47ee3['width']=_0x4c2d30,_0xb47ee3['height']=_0x4c2d30*_0x2372e8):(_0xb47ee3['height']=_0x4c2d30,_0xb47ee3['width']=_0x4c2d30/_0x2372e8),_0x4c5079['fillStyle']='rgb(240,\x20240,\x20240)',_0x4c5079['fillRect'](0x0,0x0,_0xb47ee3['width'],_0xb47ee3['height']),_0x4c5079['drawImage'](_0x15d941,0x0,0x0,_0xb47ee3['width'],_0xb47ee3['height']),_0xb47ee3['toBlob'](_0x42bc1b=>{if(!_0x42bc1b)return void _0x38f9fe();const _0x4d6071=URL['createObjectURL'](_0x42bc1b);_0xc7f29e(_0x4d6071);});},_0x15d941['onerror']=_0xe04183=>{_0x38f9fe(_0xe04183);};});return _0x15d941['src']=URL['createObjectURL'](_0x1bc597),_0x10a74c;}function createSvgBlobUrl(_0x549961){const _0x1eadc9=new Blob([_0x549961],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x1eadc9);}function _0x20b3bb(_0x413fbd='hsl(209,\x2021%,\x2065%)',_0x50e7c8=0x20,_0x20c6d3=0x20){return createSvgBlobUrl('\x0a\x20\x20<svg\x20width=\x22'+_0x50e7c8+'\x22\x20height=\x22'+_0x20c6d3+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x413fbd+'\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/>\x0a\x20\x20</svg>\x0a\x20\x20');}StartFrom['template']='\x20<div\x20class=\x22uc-content\x22><slot></slot></div>\x20';var _0x142db7=0xbb8,_0xfabec2=class extends FileItemConfig{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];['_observer'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x27ff0a=!0x1){_0x27ff0a&&(this['_thumbRect']=this['getBoundingClientRect']());let _0xc4f8f=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0),0xa),parseInt(String(this?.['_thumbRect']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0xc4f8f*=window['devicePixelRatio']),Math['min'](_0xc4f8f,_0x142db7);}['_generateThumbnail']=this['_withEntry'](async(e,i=!0x1)=>{const n=e['getValue']('fileInfo'),s=e['getValue']('isImage'),r=e['getValue']('uuid'),o=e['getValue']('thumbUrl'),a=this['_calculateThumbSize'](i);if(n&&s&&r){const i=await this['proxyUrl'](createCdnUrl(createOriginalUrl(this['cfg']['cdnCname'],r),createCdnUrlModifiers(e['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+a+'x'+a+'/center')));if(o===i)return;const {promise:n}=_0x474cb4(i);return void n['then'](()=>{e['setValue']('thumbUrl',i),o?.['startsWith']('blob:')&&URL['revokeObjectURL'](o);})['catch'](async()=>{if(!o?.['startsWith']('blob:'))try{const i=e['getValue']('file');if(!i)return;const n=await generateThumb(i,a);e['setValue']('thumbUrl',n);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const n=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x20b3bb(n));}});}if(e['getValue']('thumbUrl'))return;const c=e['getValue']('file');if(c?.['type']['includes']('image'))try{const i=await generateThumb(c,a);e['setValue']('thumbUrl',i);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const n=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x20b3bb(n));}else{const i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x20b3bb(i));}});['_debouncedGenerateThumb']=_0x2a8397(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x3be6b0){const [_0x4abd59]=_0x3be6b0;_0x4abd59&&(this['_isIntersecting']=_0x4abd59['isIntersecting'],_0x4abd59['isIntersecting']&&(this['_thumbRect']=_0x4abd59['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0x4abd59['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']());}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x2fec6c){this['_reset']();const _0x48324f=this['uploadCollection']?.['read'](_0x2fec6c);this['_entry']=_0x48324f,_0x48324f&&(this['_subEntry']('fileInfo',_0xf93579=>{_0xf93579?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x4e8fc2=>{this['$']['thumbUrl']=_0x4e8fc2?'url('+_0x4e8fc2+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x56c4c4=>{this['$']['badgeIcon']=_0x56c4c4;}),this['defineAccessor']('uid',_0x43050a=>{this['set$']({'uid':_0x43050a});}),this['sub']('uid',_0x3f2336=>{this['_handleEntryId'](_0x3f2336);}),this['subConfigValue']('filesViewMode',_0x472d95=>{'grid'!==_0x472d95||this['_renderedGridOnce']||('list'===this['_firstViewMode']&&this['_debouncedGenerateThumb'](!0x0),this['_renderedGridOnce']=!0x0);}),this['setAttribute']('role','img');}['connectedCallback'](){super['connectedCallback'](),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':0.1}),this['_observer']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set(),this['_debouncedGenerateThumb']['cancel'](),this['_observer']?.['disconnect']();}};_0xfabec2['template']='\x0a\x20\x20<div\x20class=\x22uc-thumb\x22\x20set=\x22style.backgroundImage:\x20thumbUrl\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-badge\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20badgeIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a',_0xfabec2['bindAttributes']({'badgeIcon':null,'uid':null});var UploadCtxProvider=class extends _0xf7dddd{static ['styleAttrs']=['uc-wgt-common'];static ['EventType']=EventType;['requireCtxName']=!0x0;['initCallback'](){super['initCallback'](),this['$']['*eventEmitter']['bindTarget'](this);}['destroyCallback'](){super['destroyCallback'](),this['$']['*eventEmitter']['unbindTarget'](this);}},UploadList=class extends _0xf7dddd{['couldBeCtxOwner']=!0x0;['historyTracked']=!0x0;['activityType']=ActivityBlock['activities']['UPLOAD_LIST'];constructor(){super(),this['init$']={...this['init$'],'doneBtnVisible':!0x1,'doneBtnEnabled':!0x1,'uploadBtnVisible':!0x1,'addMoreBtnVisible':!0x1,'addMoreBtnEnabled':!0x1,'headerText':'','commonErrorMessage':'','hasFiles':!0x1,'onAdd':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},'onUpload':()=>{this['emit'](EventType['UPLOAD_CLICK']),this['api']['uploadAll'](),this['_throttledHandleCollectionUpdate']();},'onDone':()=>{this['emit'](EventType['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},'onCancel':()=>{this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();}};}['_throttledHandleCollectionUpdate']=throttle(()=>{this['isConnected']&&(this['_updateUploadsState'](),this['couldOpenActivity']||this['$']['*currentActivity']!==this['activityType']||this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);['_updateUploadsState'](){const _0x3cf3d4=this['api']['getOutputCollectionState'](),_0x2c132f={'total':_0x3cf3d4['totalCount'],'succeed':_0x3cf3d4['successCount'],'uploading':_0x3cf3d4['uploadingCount'],'failed':_0x3cf3d4['failedCount'],'validatingBeforeUploading':_0x3cf3d4['idleEntries']['filter'](_0x5abc0e=>_0x5abc0e['isValidationPending'])['length']},_0x543c2b=!_0x3cf3d4['errors']['some'](_0x1153e2=>'TOO_MANY_FILES'===_0x1153e2['type']||'TOO_FEW_FILES'===_0x1153e2['type']),_0x4efa81=_0x3cf3d4['errors']['some'](_0x1acfb7=>'TOO_MANY_FILES'===_0x1acfb7['type']),_0x25f48b=_0x3cf3d4['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x13de47=_0x3cf3d4['allEntries']['some'](_0x3e5d59=>_0x3e5d59['isValidationPending']),_0x1ea8ef=0x0===_0x2c132f['failed']&&0x0===_0x3cf3d4['errors']['length']&&!_0x13de47;let _0x4f0e95=!0x1,_0x2fef87=!0x1,_0xefeb46=!0x1;if(_0x2c132f['total']-_0x2c132f['succeed']-_0x2c132f['uploading']-_0x2c132f['failed']>0x0&&_0x543c2b&&_0x1ea8ef)_0x4f0e95=!0x0;else{_0x2fef87=!0x0;const _0x5af623=!this['cfg']['groupOutput']||!!_0x3cf3d4['group'];_0xefeb46=_0x2c132f['total']===_0x2c132f['succeed']&&_0x543c2b&&_0x1ea8ef&&_0x5af623;}this['set$']({'doneBtnVisible':_0x2fef87,'doneBtnEnabled':_0xefeb46,'uploadBtnVisible':_0x4f0e95,'addMoreBtnEnabled':0x0===_0x2c132f['total']||!_0x4efa81&&!_0x25f48b,'addMoreBtnVisible':!_0x25f48b||this['cfg']['multiple'],'hasFiles':_0x2c132f['total']>0x0}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x2c132f));}['_getHeaderText'](_0xfe148a){const _0x2a0bfa=_0x3c089a=>{let _0x2ce175=_0xfe148a[_0x3c089a];return'uploading'===_0x3c089a&&(_0x2ce175+=_0xfe148a['validatingBeforeUploading']),this['l10n']('header-'+_0x3c089a,{'count':_0x2ce175});};return _0xfe148a['uploading']>0x0||_0xfe148a['validatingBeforeUploading']>0x0?_0x2a0bfa('uploading'):_0xfe148a['failed']>0x0?_0x2a0bfa('failed'):_0xfe148a['succeed']>0x0?_0x2a0bfa('succeed'):_0x2a0bfa('total');}get['couldOpenActivity'](){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMin',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMax',this['_throttledHandleCollectionUpdate']),this['sub']('*groupInfo',_0x925673=>{_0x925673&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x5542cb=>{this['setAttribute']('mode',_0x5542cb);}),this['sub']('*currentActivity',_0x4709a3=>{this['couldOpenActivity']||_0x4709a3!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['observeCollection'](this['_throttledHandleCollectionUpdate']),this['sub']('*collectionErrors',_0x5f3131=>{const _0xdfaa3c=_0x5f3131['filter'](_0x55fa86=>'SOME_FILES_HAS_ERRORS'!==_0x55fa86['type'])[0x0];_0xdfaa3c?this['set$']({'commonErrorMessage':_0xdfaa3c['message']}):this['set$']({'commonErrorMessage':null});});}['destroyCallback'](){super['destroyCallback'](),this['uploadCollection']['unobserveProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['unobserveCollection'](this['_throttledHandleCollectionUpdate']);}};UploadList['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<span\x20aria-live=\x22polite\x22\x20class=\x22uc-header-text\x22>{{headerText}}</span>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x0a\x20\x20<div\x20class=\x22uc-no-files\x22\x20set=\x22@hidden:\x20hasFiles\x22>\x0a\x20\x20\x20\x20<slot\x20name=\x22empty\x22><span\x20l10n=\x22no-files\x22></span></slot>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-files\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-files-wrapper\x22\x20repeat=\x22*uploadList\x22\x20repeat-item-tag=\x22uc-file-item\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-common-error\x22\x20set=\x22@hidden:\x20!commonErrorMessage;\x20textContent:\x20commonErrorMessage;\x22></div>\x0a\x0a\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel;\x22\x20l10n=\x22clear\x22></button>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar-spacer\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!uploadBtnVisible;\x20onclick:\x20onUpload;\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!doneBtnVisible;\x20onclick:\x20onDone;\x20\x20@disabled:\x20!doneBtnEnabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22done\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<uc-drop-area\x20ghost></uc-drop-area>\x0a';var _0x15c059=class extends _0xf7dddd{['couldBeCtxOwner']=!0x0;['activityType']=ActivityBlock['activities']['URL'];constructor(){super(),this['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':_0x14cf8a=>{_0x14cf8a['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});const _0x485786=this['ref']['input']['value'];this['api']['addFileFromUrl'](_0x485786,{'source':_0x20f223['URL']}),this['modalManager']?.['open'](ActivityBlock['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':_0x33cf84=>{const _0x1c5997=_0x33cf84['target']?.['value']??'';this['set$']({'importDisabled':!_0x1c5997});}};}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'',{'onActivate':()=>{const _0xfe74=this['ref']['input'];_0xfe74['value']='',_0xfe74['focus']();}});}};_0x15c059['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-mini-btn\x22\x20set=\x22onclick:\x20*historyBack\x22\x20l10n=\x22@title:back;@aria-label:back\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22url\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-from-url\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<form\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<label>\x0a\x20\x20\x20\x20\x20\x20<input\x20placeholder=\x22https://\x22\x20class=\x22uc-url-input\x22\x20type=\x22text\x22\x20ref=\x22input\x22\x20set=\x22oninput:\x20onInput\x22\x20/>\x0a\x20\x20\x20\x20</label>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22submit\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-url-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onUpload;\x20@disabled:\x20importDisabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload-url\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</form>\x0a';var CloudImageEditor=class extends CloudImageEditorBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0x486490=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];constructor(){super(),this['init$']={...this['init$'],'couldCancel':!0x1,'*solution':this['tagName'],'cancel':()=>{if(this['couldHistoryBack']){const _0x573f15=this['$']['*historyBack'];return void _0x573f15?.();}this['couldShowList']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x586520=this['$']['*history'];return!(!_0x586520||_0x586520['length']<=0x1)&&_0x586520[_0x586520['length']-0x1]!==ActivityBlock['activities']['START_FROM'];}get['couldShowList'](){const _0x349bb6=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](_0x349bb6)&&_0x349bb6['length']>0x0;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x5ceadb=this['ref']['uBlock'];_0x5ceadb&&(this['sub']('*currentActivity',_0x243f23=>{_0x243f23||(this['$']['*currentActivity']=_0x5ceadb['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x900d15=>{Array['isArray'](_0x900d15)&&_0x900d15['length']>0x0&&this['$']['*currentActivity']===(_0x5ceadb['initActivity']||ActivityBlock['activities']['START_FROM'])&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];}));}};_0x486490['template']='\x0a\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22start-from-cancel\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20cancel;\x20@hidden:\x20!couldCancel\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a';var _0x403d0e='active',_0xffe1ee='',_0x4937b2=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];['handleModalOpen'];['handleModalClose'];constructor(){super(),this['init$']={...this['init$'],'singleUpload':!0x1,'isHiddenStartFrom':!0x1,'classUploadList':_0xffe1ee,'classStartFrom':_0xffe1ee,'*solution':this['tagName']};}['_handleModalOpen'](_0x5db72d){_0x5db72d['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':_0x403d0e}),this['$']['*currentActivity']===ActivityBlock['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':_0x403d0e,'isHiddenStartFrom':!0x0});const _0x55db2d=this['$']['*uploadList'];(!_0x55db2d||_0x55db2d['length']<=0x0)&&this['set$']({'classStartFrom':_0x403d0e});}['_handleModalClose'](_0x18415c){_0x18415c['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0x18415c['id']===ActivityBlock['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']});const _0x20f271=this['ref']['uBlock'];_0x20f271&&(this['sub']('*currentActivity',_0x23dbfa=>{_0x23dbfa===ActivityBlock['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x23dbfa||(this['$']['*currentActivity']=_0x20f271['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['sub']('*uploadList',_0x4d33ff=>{Array['isArray'](_0x4d33ff)&&_0x4d33ff['length']>0x0?(this['$']['*currentActivity']=ActivityBlock['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':_0xffe1ee})):(this['set$']({'classUploadList':_0xffe1ee,'isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x20f271['initActivity']||ActivityBlock['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x7502c0=>{!0x1!==_0x7502c0&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x23dd92=>{this['setAttribute']('mode',_0x23dd92),this['subConfigValue']('multiple',_0x2fec1a=>{'grid'===_0x23dd92?(_0x2fec1a?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0x2fec1a):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=_0x42ef10=>{this['_handleModalOpen'](_0x42ef10);},this['handleModalClose']=_0x4305a4=>{this['_handleModalClose'](_0x4305a4);},this['modalManager']?.['subscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](ModalEvents['CLOSE'],this['handleModalClose']));}['destroyCallback'](){super['destroyCallback'](),this['modalManager']?.['unsubscribe'](ModalEvents['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](ModalEvents['CLOSE'],this['handleModalClose']);}};_0x4937b2['template']='\x0a\x20\x20<uc-start-from\x20set=\x22@hidden:\x20isHiddenStartFrom;\x20@class:classStartFrom\x22>\x0a\x20\x20\x20\x20<uc-drop-area\x20set=\x22@single:singleUpload;\x22\x20initflow\x20clickable\x20tabindex=\x220\x22\x20l10n=\x22choose-file\x22></uc-drop-area>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20set=\x22@class:classUploadList\x22\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x0a\x20\x20<uc-modal\x20id=\x22start-from\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22camera\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22url\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22external\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22cloud-image-edit\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a';var _0x20388b=class extends SolutionBlock{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super();const _0x3ac92e={...this['init$'],'isHidden':!0x1,'*solution':this['tagName']};this['init$']=_0x3ac92e;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':InternalEventType['INIT_SOLUTION']}),this['defineAccessor']('headless',_0x59f34e=>{this['set$']({'isHidden':_0x5c179f(_0x59f34e)});});}};_0x20388b['template']='\x0a\x20\x20<uc-simple-btn\x20set=\x22@hidden:\x20isHidden\x22></uc-simple-btn>\x0a\x0a\x20\x20<uc-modal\x20id=\x22start-from\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22upload-list\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-upload-list></uc-upload-list>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22camera\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22url\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22external\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22cloud-image-edit\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a',_0x20388b['bindAttributes']({'headless':null});var _0x2fbe7f=Object['freeze']({'__proto__':null,'ActivityBlock':ActivityBlock,'ActivityHeader':ActivityHeader,'BaseComponent':BaseComponent,'Block':_0x263636,'BtnUi':BtnUi,'CameraSource':_0x16b3cb,'CloudImageEditor':CloudImageEditor,'CloudImageEditorActivity':CloudImageEditorActivity,'CloudImageEditorBlock':CloudImageEditorBlock,'Config':_0x1f2966,'Copyright':Copyright,'CropFrame':_0x4d18bb,'Data':Data,'DropArea':_0x24a983,'EditorAspectRatioButtonControl':EditorAspectRatioButtonControl,'EditorCropButtonControl':EditorCropButtonControl,'EditorFilterControl':EditorFilterControl,'EditorFreeformButtonControl':EditorFreeformButtonControl,'EditorImageCropper':EditorImageCropper,'EditorImageFader':EditorImageFader,'EditorOperationControl':EditorOperationControl,'EditorScroller':EditorScroller,'EditorSlider':EditorSlider,'EditorToolbar':EditorToolbar,'ExternalSource':ExternalSource,'ExternalUploadSource':ExternalUploadSource,'FileItem':FileItem,'FileUploaderInline':_0x486490,'FileUploaderMinimal':_0x4937b2,'FileUploaderRegular':_0x20388b,'FormInput':FormInput,'Icon':_0x2eca6a,'Img':_0x2b1329,'LineLoaderUi':_0x7b9054,'Modal':_0x38ce73,'ModalEvents':ModalEvents,'PACKAGE_NAME':_0x57729b,'PACKAGE_VERSION':_0x1a5042,'PresenceToggle':_0x5cfdc0,'ProgressBar':_0x1e330f,'ProgressBarCommon':_0x43077d,'Select':Select,'SimpleBtn':SimpleBtn,'SliderUi':_0x185da4,'SolutionBlock':SolutionBlock,'SourceBtn':SourceBtn,'SourceList':SourceList,'Spinner':_0x507767,'StartFrom':StartFrom,'Thumb':_0xfabec2,'UID':_0x217502,'UploadCtxProvider':UploadCtxProvider,'UploadList':UploadList,'UploadSource':_0x20f223,'UploaderBlock':_0xf7dddd,'UrlSource':_0x15c059,'defineComponents':defineComponents,'defineLocale':_0x308e50,'loadFileUploaderFrom':_0x367ed6,'toKebabCase':toKebabCase});class _0x5d0dd7 extends ckeditor5['Plugin']{static get['requires'](){return[UploadcareEditing,_0x466ba3];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e8a86){super(_0x4e8a86),_0x4e8a86['config']['define']('uploadcare.uploader.sourceList',[_0x11c6cd['Local'],_0x11c6cd['URL']]),defineComponents(_0x2fbe7f),this['_defineLocale']();}['_defineLocale'](){const _0x3746f5=this['editor']['config']['get']('uploadcare.locale'),_0x13e3af=this['editor']['locale']['contentLanguage'];_0x3746f5&&_0x308e50(_0x13e3af,_0x3746f5);}}class UploadcareImageEditFormLoadingView extends ckeditor5['View']{constructor(_0x345ba7){super(_0x345ba7);const t=_0x345ba7['t'],_0x2978a8=this['bindTemplate'],_0x53c8e1=new ckeditor5['SpinnerView']();_0x53c8e1['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':[_0x53c8e1,{'text':_0x2978a8['to']('imageUploadProgress',_0x28d6f9=>t('Loading\x20image...')+'\x20('+(_0x28d6f9||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'}]}]}]});}}class UploadcareImageEditFormErrorView extends ckeditor5['View']{constructor(_0x508ab6){super(_0x508ab6);const t=_0x508ab6['t'];this['set']('errorType',null);const _0x1864d8=new ckeditor5['ButtonView'](_0x508ab6);_0x1864d8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1864d8['withText']=!0x0,_0x1864d8['class']='ck-button-action',_0x1864d8['on']('execute',()=>{this['fire']('retry');}),_0x1864d8['bind']('isVisible')['to'](this,'errorType',_0x9c4685=>'NotFound'!==_0x9c4685);const _0x2f355d=new ckeditor5['IconView']();_0x2f355d['content']=ckeditor5['IconError'],_0x2f355d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x8ed61b=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':[_0x2f355d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x8ed61b['to']('errorType',_0x369df5=>t('NotFound'!==_0x369df5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1864d8]},{'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'}]}]}]});}}class UploadcareImageEditFormEditingView extends ckeditor5['View']{constructor(_0x23d7b2,_0x4a15a3){super(_0x23d7b2);const _0x357f83=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4a15a3,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x357f83['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x2616cf{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1cef55,_0x140831,_0x247c5e){super(_0x1cef55),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x1cef55),this['_errorView']=new UploadcareImageEditFormErrorView(_0x1cef55),this['_editingView']=new UploadcareImageEditFormEditingView(_0x1cef55,_0x247c5e),this['_focusableView']=new ckeditor5['View'](_0x1cef55),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x140831),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'],_0x4d7995=>{this['_addUploadcareImageEditorListeners'](_0x4d7995);});}),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'](_0x3dfebc,_0x3b0a13){const _0x19683a='uc-cloud-image-editor',_0xf7edf8=_0x3dfebc['querySelector'](_0x19683a);if(_0xf7edf8)return _0x3b0a13(_0xf7edf8);const _0x1c41ca=new MutationObserver(_0x5c3391=>{const _0x2c1c07=_0x5c3391['filter'](_0x108dd9=>_0x108dd9['target']===_0x3dfebc&&_0x108dd9['addedNodes']['length']>0x0&&_0x108dd9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x19683a);_0x2c1c07['length']&&(_0x1c41ca['disconnect'](),_0x3b0a13(_0x2c1c07[0x0]['addedNodes'][0x0]));});_0x1c41ca['observe'](_0x3dfebc,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x41004f){_0x41004f['addEventListener']('apply',_0x224d2c=>{this['fire']('apply',{'imageSrc':_0x224d2c['detail']['cdnUrl']});}),_0x41004f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
ckeditor5['ObservableMixin'](){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2adeef,_0x318255,_0x292e43){super(),this['_editor']=_0x2adeef,this['_dialog']=_0x318255,this['_imageElement']=_0x292e43,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 _0x3f0885=this['_imageElement'],_0xfa0475=_0x3f0885['getAttribute']('uploadcareImageId'),_0x48a6d4=_0x3f0885['getAttribute']('src');if(_0xfa0475)await this['_loadImageInfo'](_0xfa0475,_0x48a6d4);else{if(this['_imageCache']['has'](_0x48a6d4)){const _0x257055=this['_imageCache']['get'](_0x48a6d4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x257055['url'],this['imageDimension']=_0x257055['dimension'],this['imageId']=_0x257055['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3fee06}=this['_editor'],t=_0x3fee06['t'],_0x272edf=new UploadcareImageEditFormView(_0x3fee06,this['imageStatus'],this['_attributes']);_0x272edf['bind']('status')['to'](this,'imageStatus'),_0x272edf['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x272edf['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x272edf['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x272edf,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':ckeditor5['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x272edf,'position':ckeditor5['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x272edf['focus']();},'onHide':()=>{_0x272edf['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x401f08=>!isAncestor(_0x401f08,_0x272edf['element'])}});}['_loadImageInfo'](_0x4b179f,_0x320ad7){return UploadUtils['getInfo'](_0x4b179f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3b82d6=>{const {width:_0x421b18,height:_0x5a2a9d}=_0x3b82d6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x320ad7,this['imageDimension']={'width':_0x421b18,'height':_0x5a2a9d},this['imageId']=_0x4b179f;})['catch'](_0x12b220=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x12b220['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x38a1cd,_0xaae031){return this['_getImageAsFile'](_0x38a1cd)['then'](_0x3e0aa7=>UploadUtils['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':_0xaae031['signal'],'file':_0x3e0aa7,'onProgress':_0x137a49=>{_0x137a49&&_0x137a49['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x137a49['value']));}}))['then'](_0x7d4bcc=>{const {width:_0x1cecc3,height:_0x21794b}=_0x7d4bcc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x7d4bcc['cdnUrl'],this['imageDimension']={'width':_0x1cecc3,'height':_0x21794b},this['imageId']=_0x7d4bcc['uuid'],this['imageUploadProgress']=null;const _0x478610=_0x38a1cd['getAttribute']('src');this['_imageCache']['set'](_0x478610,{'id':_0x7d4bcc['uuid'],'url':_0x7d4bcc['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x126603=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x126603['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2da712,_0x4496e8){_0x2da712['on']('apply',(_0x2a0ba8,_0x3431c3)=>{this['_replaceImage'](_0x4496e8,_0x3431c3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2da712['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2da712['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x445418,_0x5c771b,_0x2c0be9){const _0x43b85a=this['_editor'],{width:_0x39940,height:_0x198b43}=getImageDimension(_0x5c771b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1b5848,imageSources:_0x9dd50b}=getImageUrls(_0x5c771b,_0x39940);_0x43b85a['model']['change'](_0x593ce9=>{if('$graveyard'===_0x445418['root']['rootName']){_0x43b85a['execute']('insertImage',{'imageType':_0x445418['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x445418['getAttributes']()),'uploadcareImageId':_0x2c0be9,'src':_0x1b5848,'sources':_0x9dd50b,'width':_0x39940,'height':_0x198b43}});const _0xe20135=_0x445418['getChildren']();_0x445418=_0x43b85a['model']['document']['selection']['getSelectedElement']();for(const _0x336a03 of _0xe20135)_0x593ce9['append'](_0x593ce9['cloneElement'](_0x336a03),_0x445418);}else _0x593ce9['setSelection'](_0x445418,'on'),_0x43b85a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x445418['getAttributes']()),'uploadcareImageId':_0x2c0be9,'src':_0x1b5848,'sources':_0x9dd50b,'width':_0x39940,'height':_0x198b43},_0x445418);_0x593ce9['setSelection'](_0x445418,'on');});}async['_getImageAsFile'](_0x4ca1a2){const _0x215d51=ckeditor5['global']['window'],_0x3e293a=ckeditor5['global']['document']['location']['href'],_0x2f851c=new _0x215d51['URL'](_0x4ca1a2['getAttribute']('src'),_0x3e293a);if('data:'===_0x2f851c['protocol']){const _0x202eda=_0x2f851c['href']['split'](','),_0x31ec24=_0x202eda[0x0]['match'](/:(.*?);/)[0x1],_0x11507a=_0x31ec24['split']('/')[0x1],_0x50cac0=_0x215d51['atob'](_0x202eda[_0x202eda['length']-0x1]);let _0x53087b=_0x50cac0['length'];const _0x48901b=new _0x215d51['Uint8Array'](_0x53087b);for(;_0x53087b--;)_0x48901b[_0x53087b]=_0x50cac0['charCodeAt'](_0x53087b);return new _0x215d51['File']([_0x48901b],'image.'+_0x11507a,{'type':_0x31ec24});}const _0xbd4819=_0x2f851c['href']['split']('/'),_0x42797b=_0xbd4819[_0xbd4819['length']-0x1],_0x4766d6=_0x42797b['split']('.')[0x1];return _0x215d51['fetch'](_0x2f851c['href'])['then'](_0x359761=>_0x359761['clone']()['blob']())['then'](_0x11d5e8=>new _0x215d51['File']([_0x11d5e8],_0x42797b,{'type':'image/'+_0x4766d6}));}}class UploadcareImageEditCommand extends ckeditor5['Command']{['imageEditController'];static get['requires'](){return[ckeditor5['Dialog']];}['_isEditable'];constructor(_0x45e187){super(_0x45e187),this['imageEditController']=void 0x0,this['_isEditable']=createEditabilityChecker(_0x45e187['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2746ff=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2746ff);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x281921=this['editor']['model']['document']['selection']['getSelectedElement']();_0x281921&&(_0x281921['is']('element','imageBlock')||_0x281921['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](ckeditor5['Dialog']),_0x281921),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x1f5841 extends ckeditor5['Command']{['refresh'](){const _0x49c699=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x49c699&&(_0x49c699['is']('element','imageBlock')||_0x49c699['is']('element','imageInline')));}['execute'](_0x45a2fe){const _0x2cfdd2=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x347c51=>{_0x347c51['setAttributes'](_0x45a2fe,_0x2cfdd2),_0x347c51['removeAttribute']('srcset',_0x2cfdd2),_0x347c51['removeAttribute']('sizes',_0x2cfdd2);});}}class UploadcareImageEditEditing extends ckeditor5['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,ckeditor5['Notification'],'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x349c59}=this;_0x349c59['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x349c59)),_0x349c59['commands']['add']('uploadcareImageReplace',new _0x1f5841(_0x349c59));}}class UploadcareImageEditUI extends ckeditor5['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 _0x357264=this['editor'];_0x357264['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3c0943=>{const _0x4f4948=_0x357264['commands']['get']('uploadcareImageEdit'),_0x312b64=new ckeditor5['ButtonView'](_0x3c0943),t=_0x3c0943['t'];return _0x312b64['set']({'icon':ckeditor5['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x312b64['bind']('isEnabled')['to'](_0x4f4948),_0x312b64['bind']('isOn')['to'](_0x4f4948,'isActive'),this['listenTo'](_0x312b64,'execute',()=>{_0x357264['execute']('uploadcareImageEdit'),_0x357264['editing']['view']['focus']();}),_0x312b64;}),this['_initConfig']();}['_initConfig'](){const _0x4231ce=ckeditor5['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4231ce),this['listenTo'](this['editor'],'destroy',()=>{_0x4231ce['remove']();});}}class UploadcareImageEdit extends ckeditor5['Plugin']{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class EventStreamSerde{['marshaller'];['serializer'];['deserializer'];['serdeContext'];['defaultContentType'];constructor({marshaller:_0x424982,serializer:_0x48fa0d,deserializer:_0x17b23d,serdeContext:_0x207415,defaultContentType:_0x556050}){this['marshaller']=_0x424982,this['serializer']=_0x48fa0d,this['deserializer']=_0x17b23d,this['serdeContext']=_0x207415,this['defaultContentType']=_0x556050;}async['serializeEventStream']({eventStream:_0x223274,requestSchema:_0x1bd05c,initialRequest:_0xecebc8}){const _0x42117a=this['marshaller'],_0x25c3a8=_0x1bd05c['getEventStreamMember'](),_0x289058=_0x1bd05c['getMemberSchema'](_0x25c3a8),_0x5ae6ba=this['serializer'],_0x1fc565=this['defaultContentType'],_0x3bfad5=Symbol('initialRequestMarker'),_0x22bd96={async*[Symbol['asyncIterator']](){if(_0xecebc8){const _0x445b31={':event-type':{'type':'string','value':'initial-request'},':message-type':{'type':'string','value':'event'},':content-type':{'type':'string','value':_0x1fc565}};_0x5ae6ba['write'](_0x1bd05c,_0xecebc8);const _0x59f931=_0x5ae6ba['flush']();yield{[_0x3bfad5]:!0x0,'headers':_0x445b31,'body':_0x59f931};}for await(const _0x48efd9 of _0x223274)yield _0x48efd9;}};return _0x42117a['serialize'](_0x22bd96,_0x2ffd51=>{if(_0x2ffd51[_0x3bfad5])return{'headers':_0x2ffd51['headers'],'body':_0x2ffd51['body']};const _0x142afc=Object['keys'](_0x2ffd51)['find'](_0x5238e5=>'__type'!==_0x5238e5)??'',{additionalHeaders:_0x4a6d68,body:_0x4d6000,eventType:_0x10903d,explicitPayloadContentType:_0x4d10af}=this['writeEventBody'](_0x142afc,_0x289058,_0x2ffd51);return{'headers':{':event-type':{'type':'string','value':_0x10903d},':message-type':{'type':'string','value':'event'},':content-type':{'type':'string','value':_0x4d10af??_0x1fc565},..._0x4a6d68},'body':_0x4d6000};});}async['deserializeEventStream']({response:_0xd84a1c,responseSchema:_0x2e038d,initialResponseContainer:_0x2c5081}){const _0x798dfd=this['marshaller'],_0x199431=_0x2e038d['getEventStreamMember'](),_0x38ed71=_0x2e038d['getMemberSchema'](_0x199431)['getMemberSchemas'](),_0x2f6f78=Symbol('initialResponseMarker'),_0x519f99=_0x798dfd['deserialize'](_0xd84a1c['body'],async _0xc85d62=>{const _0x1881b3=Object['keys'](_0xc85d62)['find'](_0x11ad00=>'__type'!==_0x11ad00)??'',_0x2983e5=_0xc85d62[_0x1881b3]['body'];if('initial-response'===_0x1881b3){const _0x21c0fc=await this['deserializer']['read'](_0x2e038d,_0x2983e5);return delete _0x21c0fc[_0x199431],{[_0x2f6f78]:!0x0,..._0x21c0fc};}if(_0x1881b3 in _0x38ed71){const _0x4eec78=_0x38ed71[_0x1881b3];if(_0x4eec78['isStructSchema']()){const _0x1a162b={};let _0x488926=!0x1;for(const [_0x4a1567,_0x4f1bd4]of _0x4eec78['structIterator']()){const {eventHeader:_0x1a1b13,eventPayload:_0x1d2907}=_0x4f1bd4['getMergedTraits']();if(_0x488926=_0x488926||Boolean(_0x1a1b13||_0x1d2907),_0x1d2907)_0x4f1bd4['isBlobSchema']()?_0x1a162b[_0x4a1567]=_0x2983e5:_0x4f1bd4['isStringSchema']()?_0x1a162b[_0x4a1567]=(this['serdeContext']?.['utf8Encoder']??toUtf8)(_0x2983e5):_0x4f1bd4['isStructSchema']()&&(_0x1a162b[_0x4a1567]=await this['deserializer']['read'](_0x4f1bd4,_0x2983e5));else{if(_0x1a1b13){const _0x58f06d=_0xc85d62[_0x1881b3]['headers'][_0x4a1567]?.['value'];null!=_0x58f06d&&(_0x4f1bd4['isNumericSchema']()?_0x1a162b[_0x4a1567]=_0x58f06d&&'object'==typeof _0x58f06d&&'bytes'in _0x58f06d?BigInt(_0x58f06d['toString']()):Number(_0x58f06d):_0x1a162b[_0x4a1567]=_0x58f06d);}}}if(_0x488926)return{[_0x1881b3]:_0x1a162b};if(0x0===_0x2983e5['byteLength'])return{[_0x1881b3]:{}};}return{[_0x1881b3]:await this['deserializer']['read'](_0x4eec78,_0x2983e5)};}return{'$unknown':_0xc85d62};}),_0x5b7bdb=_0x519f99[Symbol['asyncIterator']](),_0x567115=await _0x5b7bdb['next']();if(_0x567115['done'])return _0x519f99;if(_0x567115['value']?.[_0x2f6f78]){if(!_0x2e038d)throw new Error('@smithy::core/protocols\x20-\x20initial-response\x20event\x20encountered\x20in\x20event\x20stream\x20but\x20no\x20response\x20schema\x20given.');for(const [_0x52c5f6,_0x287ed2]of Object['entries'](_0x567115['value']))_0x2c5081[_0x52c5f6]=_0x287ed2;}return{async*[Symbol['asyncIterator']](){for(_0x567115?.['value']?.[_0x2f6f78]||(yield _0x567115['value']);;){const {done:_0x3e49b7,value:_0x31cee3}=await _0x5b7bdb['next']();if(_0x3e49b7)break;yield _0x31cee3;}}};}['writeEventBody'](_0x13bea6,_0x390c96,_0x4d2ee2){const _0x136f74=this['serializer'];let _0x359fea,_0x4c78d5=_0x13bea6,_0x54a893=null;const _0x275fa2={};if(_0x390c96['getSchema']()[0x4]['includes'](_0x13bea6)){const _0x29f418=_0x390c96['getMemberSchema'](_0x13bea6);if(_0x29f418['isStructSchema']()){for(const [_0x3ad79f,_0x16554b]of _0x29f418['structIterator']()){const {eventHeader:_0x421b4c,eventPayload:_0x392170}=_0x16554b['getMergedTraits']();if(_0x392170)_0x54a893=_0x3ad79f;else{if(_0x421b4c){const _0x5849cd=_0x4d2ee2[_0x13bea6][_0x3ad79f];let _0x3bcab='binary';_0x16554b['isNumericSchema']()?_0x3bcab=(-0x2)**0x1f<=_0x5849cd&&_0x5849cd<=0x2**0x1f-0x1?'integer':'long':_0x16554b['isTimestampSchema']()?_0x3bcab='timestamp':_0x16554b['isStringSchema']()?_0x3bcab='string':_0x16554b['isBooleanSchema']()&&(_0x3bcab='boolean'),null!=_0x5849cd&&(_0x275fa2[_0x3ad79f]={'type':_0x3bcab,'value':_0x5849cd},delete _0x4d2ee2[_0x13bea6][_0x3ad79f]);}}}if(null!==_0x54a893){const _0x2f05d4=_0x29f418['getMemberSchema'](_0x54a893);_0x2f05d4['isBlobSchema']()?_0x359fea='application/octet-stream':_0x2f05d4['isStringSchema']()&&(_0x359fea='text/plain'),_0x136f74['write'](_0x2f05d4,_0x4d2ee2[_0x13bea6][_0x54a893]);}else _0x136f74['write'](_0x29f418,_0x4d2ee2[_0x13bea6]);}else{if(!_0x29f418['isUnitSchema']())throw new Error('@smithy/core/event-streams\x20-\x20non-struct\x20member\x20not\x20supported\x20in\x20event\x20stream\x20union.');_0x136f74['write'](_0x29f418,{});}}else{const [_0x5e6bda,_0x488e38]=_0x4d2ee2[_0x13bea6];_0x4c78d5=_0x5e6bda,_0x136f74['write'](0xf,_0x488e38);}const _0x349915=_0x136f74['flush']();return{'body':'string'==typeof _0x349915?(this['serdeContext']?.['utf8Decoder']??fromUtf8$2)(_0x349915):_0x349915,'eventType':_0x4c78d5,'explicitPayloadContentType':_0x359fea,'additionalHeaders':_0x275fa2};}}var _0x76cbda=Object['freeze']({'__proto__':null,'EventStreamSerde':EventStreamSerde});exports['AIActions']=AIActions,exports['AIAdapter']=AIAdapter,exports['AIAssistant']=AIAssistant,exports['AIAssistantUI']=AIAssistantUI,exports['AIBalloon']=_0xe03e5f,exports['AIChat']=AIChat,exports['AIChatController']=AIChatController,exports['AIChatHistory']=AIChatHistory,exports['AIChatHistoryController']=AIChatHistoryController,exports['AIChatHistoryUI']=AIChatHistoryUI,exports['AIChatShortcuts']=AIChatShortcuts,exports['AIChatUI']=AIChatUI,exports['AIConnector']=AIConnector,exports['AIEditing']=AIEditing,exports['AIEditorIntegration']=AIEditorIntegration,exports['AIQuickActionType']=AIQuickActionType,exports['AIQuickActions']=AIQuickActions,exports['AIQuickActionsUI']=AIQuickActionsUI,exports['AIRequestError']=AIRequestError,exports['AIReviewCheck']=_0x4ec2a7,exports['AIReviewCheckResult']=AIReviewCheckResult,exports['AIReviewCheckRun']=_0x131713,exports['AIReviewMode']=_0x1142f4,exports['AIReviewModeController']=AIReviewCoreController,exports['AIReviewModeEditing']=AIReviewCoreEditing,exports['AIReviewModeUI']=_0x1d6add,exports['AITabs']=_0x415310,exports['AITextAdapter']=AITextAdapter,exports['AIToggleButtonUI']=AIToggleButtonUI,exports['AITranslate']=AITranslate,exports['AITranslateController']=AITranslateController,exports['AITranslateUI']=AITranslateUI,exports['AWSTextAdapter']=AWSTextAdapter,exports['AcceptSuggestionCommand']=AcceptSuggestionCommand,exports['AddCommentThreadCommand']=AddCommentThreadCommand,exports['Annotation']=Annotation$1,exports['AnnotationCollection']=AnnotationCollection,exports['AnnotationCounterButtonView']=AnnotationCounterButtonView,exports['AnnotationView']=AnnotationView,exports['Annotations']=Annotations,exports['AnnotationsSidebarItemView']=AnnotationsSidebarItemView,exports['AnnotationsSidebarView']=AnnotationsSidebarView,exports['AnnotationsUIs']=AnnotationsUIs,exports['AriaDescriptionView']=AriaDescriptionView,exports['BaseCommentThreadView']=BaseCommentThreadView,exports['BaseCommentView']=BaseCommentView,exports['BaseSuggestionThreadView']=BaseSuggestionThreadView,exports['CaseChange']=_0x25860a,exports['CaseChangeCommand']=_0x3e644a,exports['CaseChangeEditing']=CaseChangeEditing,exports['CaseChangeUI']=_0x84f2a7,exports['CloudServicesCommentsAdapter']=CloudServicesCommentsAdapter,exports['CloudServicesRevisionHistoryAdapter']=CloudServicesRevisionHistoryAdapter,exports['CloudServicesTrackChangesAdapter']=CloudServicesTrackChangesAdapter,exports['Comment']=Comment,exports['CommentThread']=CommentThread,exports['CommentThreadController']=CommentThreadController,exports['CommentThreadInputView']=CommentThreadInputView,exports['CommentThreadView']=CommentThreadView,exports['CommentView']=CommentView,exports['Comments']=Comments,exports['CommentsArchive']=CommentsArchive,exports['CommentsArchiveUI']=CommentsArchiveUI,exports['CommentsEditing']=CommentsEditing,exports['CommentsListView']=CommentsListView,exports['CommentsOnly']=CommentsOnly,exports['CommentsRepository']=CommentsRepository,exports['CommentsUI']=CommentsUI,exports['ConfirmMixin']=_0x3ef023,exports['CopyFormatCommand']=CopyFormatCommand,exports['DATA_ID_MODEL_ATTRIBUTE']=_0x2f946d,exports['DATA_ID_VIEW_ATTRIBUTE']=_0x5438d7,exports['DiscardSuggestionCommand']=DiscardSuggestionCommand,exports['DocumentCompare']=DocumentCompare,exports['DocumentOutline']=DocumentOutline,exports['DocumentOutlineUI']=DocumentOutlineUI,exports['DocumentOutlineUtils']=DocumentOutlineUtils,exports['EditSourceCommand']=EditSourceCommand,exports['EditorAnnotations']=EditorAnnotations,exports['EmailConfigurationHelper']=EmailConfigurationHelper,exports['EmailConfigurationLogger']=EmailConfigurationLogger,exports['EmptyBlockEmailIntegration']=EmptyBlockEmailIntegration,exports['ExecuteOnAllSuggestionsCommand']=ExecuteOnAllSuggestionsCommand,exports['ExecuteOnSelectedSuggestionsCommand']=ExecuteOnSelectedSuggestionsCommand,exports['ExportInlineStyles']=ExportInlineStyles,exports['ExportInlineStylesCommand']=ExportInlineStylesCommand,exports['ExportInlineStylesEditing']=ExportInlineStylesEditing,exports['ExportInlineStylesEmailIntegration']=ExportInlineStylesEmailIntegration,exports['ExportPdf']=ExportPdf,exports['ExportPdfCommand']=ExportPdfCommand,exports['ExportWord']=ExportWord,exports['ExportWordCommand']=ExportWordCommand,exports['FOCUS_ANNOTATION_KEYSTROKE']=_0x1b716d,exports['FontEmailIntegration']=FontEmailIntegration,exports['Footnotes']=Footnotes,exports['FootnotesClipboard']=FootnotesClipboard,exports['FootnotesEditing']=FootnotesEditing,exports['FootnotesProperties']=FootnotesProperties,exports['FootnotesPropertiesEditing']=FootnotesPropertiesEditing,exports['FootnotesPropertiesUI']=FootnotesPropertiesUI,exports['FootnotesStartCommand']=FootnotesStartCommand,exports['FootnotesStyleCommand']=FootnotesStyleCommand,exports['FootnotesTracker']=FootnotesTracker,exports['FootnotesUI']=FootnotesUI,exports['FormatPainter']=FormatPainter,exports['FormatPainterEditing']=FormatPainterEditing,exports['FormatPainterUI']=FormatPainterUI,exports['GeneralHtmlIntegrationSupport']=GeneralHtmlIntegrationSupport,exports['HeadingId']=_0x3b6d4c,exports['HighlightEmailIntegration']=HighlightEmailIntegration,exports['ImageEmailIntegration']=ImageEmailIntegration,exports['ImportWord']=ImportWord,exports['ImportWordCommand']=ImportWordCommand,exports['ImportWordEditing']=ImportWordEditing,exports['ImportWordUI']=ImportWordUI,exports['InlineAnnotations']=InlineAnnotations,exports['InsertFootnoteCommand']=InsertFootnoteCommand,exports['InsertMergeFieldBlockCommand']=InsertMergeFieldBlockCommand,exports['InsertMergeFieldCommand']=InsertMergeFieldCommand,exports['InsertMergeFieldImageCommand']=InsertMergeFieldImageCommand,exports['LateFocusButtonView']=LateFocusButtonView,exports['LateFocusDropdownButtonView']=LateFocusDropdownButtonView,exports['LineHeight']=LineHeight,exports['LineHeightCommand']=LineHeightCommand,exports['LineHeightEditing']=LineHeightEditing,exports['LineHeightTodoListIntegration']=LineHeightTodoListIntegration,exports['LineHeightUI']=LineHeightUI,exports['LinkEmailIntegration']=LinkEmailIntegration,exports['ListEmailIntegration']=ListEmailIntegration,exports['MarkdownEmailIntegration']=MarkdownEmailIntegration,exports['MathTypeEmailIntegration']=MathTypeEmailIntegration,exports['MediaEmbedEmailIntegration']=MediaEmbedEmailIntegration,exports['MergeFields']=_0x5751b9,exports['MergeFieldsEditing']=MergeFieldsEditing,exports['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,exports['MergeFieldsUI']=_0x374117,exports['MultiLevelList']=MultiLevelList,exports['MultiLevelListCommand']=MultiLevelListCommand,exports['MultiLevelListEditing']=MultiLevelListEditing,exports['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,exports['MultiLevelListUI']=MultiLevelListUI,exports['NarrowSidebar']=_0x56ef59,exports['OpenAITextAdapter']=OpenAITextAdapter,exports['Pagination']=Pagination,exports['PaginationRenderer']=PaginationRenderer,exports['PasteFormatCommand']=PasteFormatCommand,exports['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,exports['Permissions']=_0x459925,exports['PresenceList']=PresenceList,exports['PresenceListUI']=PresenceListUI,exports['PreviewFinalContentCommand']=PreviewFinalContentCommand,exports['PreviewMergeFieldsCommand']=_0x4fb9a2,exports['RealTimeCollaborationClient']=RealTimeCollaborationClient,exports['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,exports['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,exports['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,exports['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,exports['ReplaceSourceCommand']=_0x4853eb,exports['RestoreRevisionCommand']=RestoreRevisionCommand,exports['Revision']=_0x50c412,exports['RevisionHistory']=RevisionHistory,exports['RevisionHistoryUI']=RevisionHistoryUI,exports['RevisionHistoryUtils']=RevisionHistoryUtils,exports['RevisionTracker']=_0x5076f4,exports['RevisionViewer']=_0x17aa26,exports['RevisionViewerEditor']=RevisionViewerEditor,exports['RevisionViewerIntegration']=RevisionViewerIntegration,exports['RevisionViewerLoadingOverlay']=_0x279a42,exports['RevisionViewerUI']=_0x1d8d26,exports['RevisionsRepository']=RevisionsRepository,exports['RevisionsSidebar']=_0x18b412,exports['Sessions']=_0x494d0f,exports['ShowAIAssistantCommand']=ShowAIAssistantCommand,exports['ShowChangeCommand']=_0x17d0b8,exports['Sidebar']=_0x34f298,exports['SlashCommand']=_0x252528,exports['SlashCommandConfig']=_0x124c66,exports['SlashCommandEditing']=SlashCommandEditing,exports['SlashCommandUI']=_0x348056,exports['SourceEditingEmailIntegration']=SourceEditingEmailIntegration,exports['SourceEditingEnhanced']=SourceEditingEnhanced,exports['Suggestion']=Suggestion,exports['SuggestionDescriptionFactory']=SuggestionDescriptionFactory,exports['SuggestionThreadView']=SuggestionThreadView,exports['SuggestionView']=SuggestionView,exports['SuggestionsConversion']=SuggestionsConversion,exports['TableEmailIntegration']=TableEmailIntegration,exports['TableOfContents']=TableOfContents,exports['TableOfContentsCommand']=TableOfContentsCommand,exports['TableOfContentsEditing']=TableOfContentsEditing,exports['TableOfContentsUI']=TableOfContentsUI,exports['Template']=Template,exports['TemplateCommand']=TemplateCommand,exports['TemplateEditing']=TemplateEditing,exports['TemplateEmailIntegration']=TemplateEmailIntegration,exports['TemplateUI']=TemplateUI,exports['TodoListEmailIntegration']=TodoListEmailIntegration,exports['ToggleAICommand']=_0x336397,exports['TrackChanges']=_0xa95984,exports['TrackChangesCommand']=_0x36123e,exports['TrackChangesData']=TrackChangesData,exports['TrackChangesDataGetter']=TrackChangesDataGetter,exports['TrackChangesEditing']=TrackChangesEditing,exports['TrackChangesPreview']=_0x5990e0,exports['TrackChangesUI']=_0x2473da,exports['UploadEmailIntegration']=UploadEmailIntegration,exports['Uploadcare']=_0x5d0dd7,exports['UploadcareCommand']=_0x23737a,exports['UploadcareEditing']=UploadcareEditing,exports['UploadcareImageEdit']=UploadcareImageEdit,exports['UploadcareImageEditCommand']=UploadcareImageEditCommand,exports['UploadcareImageEditEditing']=UploadcareImageEditEditing,exports['UploadcareImageEditUI']=UploadcareImageEditUI,exports['UploadcareUI']=_0x466ba3,exports['UploadcareUploadAdapter']=UploadcareUploadAdapter,exports['UserView']=_0x515305,exports['Users']=_0x59867e,exports['WebSocketGateway']=WebSocketGateway,exports['WideSidebar']=_0x262b02,exports['bindAnnotationCollections']=bindAnnotationCollections,exports['createResizeButton']=createResizeButton,exports['dropImportantStyleSuffix']=dropImportantStyleSuffix,exports['fixElementSuggestionRange']=fixElementSuggestionRange,exports['getAllMarkersDomElementsSorted']=getAllMarkersDomElementsSorted,exports['getDateTimeFormatter']=getDateTimeFormatter,exports['getDefaultAICommands']=getDefaultAICommands,exports['getEmailInlineStylesTransformations']=getEmailInlineStylesTransformations,exports['getMarkerDomElement']=getMarkerDomElement,exports['hashObject']=hashObject,exports['isUnsupportedEmailColorFormat']=isUnsupportedEmailColorFormat,exports['isUnsupportedEmailColorValue']=isUnsupportedEmailColorValue,exports['sanitizeEditorConfig']=sanitizeEditorConfig,exports['setupThreadKeyboardNavigation']=setupThreadKeyboardNavigation,exports['splitSuggestionMarkerName']=splitSuggestionMarkerName,exports['surroundingMarkersDetector']=surroundingMarkersDetector,exports['transformEmailFigcaptionToDiv']=transformEmailFigcaptionToDiv,exports['transformEmailFigureToTable']=transformEmailFigureToTable,exports['transformEmailFloatToAlign']=transformEmailFloatToAlign,exports['transformEmailImageWidthAttributes']=transformEmailImageWidthAttributes,exports['transformEmailMarginToAlign']=transformEmailMarginToAlign,exports['trimHtml']=trimHtml;});